CN111665929B - Touch response method, device, terminal and storage medium - Google Patents

Touch response method, device, terminal and storage medium Download PDF

Info

Publication number
CN111665929B
CN111665929B CN202010479290.8A CN202010479290A CN111665929B CN 111665929 B CN111665929 B CN 111665929B CN 202010479290 A CN202010479290 A CN 202010479290A CN 111665929 B CN111665929 B CN 111665929B
Authority
CN
China
Prior art keywords
touch
data
terminal
pressure
use scene
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
CN202010479290.8A
Other languages
Chinese (zh)
Other versions
CN111665929A (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.)
Xi'an Xinhai Microelectronics Technology Co ltd
Original Assignee
Xi'an Xinhai Microelectronics 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 Xi'an Xinhai Microelectronics Technology Co ltd filed Critical Xi'an Xinhai Microelectronics Technology Co ltd
Priority to CN202010479290.8A priority Critical patent/CN111665929B/en
Publication of CN111665929A publication Critical patent/CN111665929A/en
Application granted granted Critical
Publication of CN111665929B publication Critical patent/CN111665929B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device
    • G06F1/3265Power saving in display device
    • 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/0414Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using force sensing means to determine a position
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

The application relates to a touch response method, a touch response device, a terminal and a storage medium. The method comprises the following steps: determining a use scene of a terminal; acquiring touch data output by a touch area of a terminal, wherein the touch data is obtained by performing touch scanning action on the touch area; inquiring a touch response condition corresponding to the use scene, wherein the touch response condition is obtained according to historical touch data corresponding to the use scene; and when the touch data does not meet the touch response condition, controlling the touch area to stop the touch scanning action. By adopting the method, the power consumption of touch scanning can be reduced.

Description

Touch response method, device, terminal and storage medium
Technical Field
The present application relates to the field of terminal technologies, and in particular, to a touch response method, an apparatus, a terminal, and a storage medium.
Background
With the development of terminal technology, various electronic products, such as smart phone terminals, tablet computers, notebook computers, etc., are widely used in people's work and life entertainment. At present, more and more electronic products implement human-computer interaction through a touch screen, for example, a user implements various operations on the electronic products through touching the touch screen. The touch screen performs touch scanning on a screen of the terminal to detect the operation of a user on the terminal.
However, the interaction between the user and the terminal is frequent, and in order to ensure that the touch operation of the user on the terminal can be responded in time, the scanning frequency of the touch screen of the terminal is high, which results in high power consumption for touch scanning of the screen.
Disclosure of Invention
In view of the above, it is necessary to provide a touch response method, an apparatus, a terminal and a storage medium capable of reducing power consumption of touch scanning.
A touch response method, the method comprising:
determining a use scene of a terminal;
acquiring touch data output by a touch area of a terminal, wherein the touch data is obtained by performing touch scanning action on the touch area;
inquiring a touch response condition corresponding to the use scene, wherein the touch response condition is obtained according to historical touch data corresponding to the use scene;
and when the touch data does not meet the touch response condition, controlling the touch area to stop the touch scanning action.
In one embodiment, determining the usage scenario of the terminal includes:
receiving authentication data input by a user;
matching the authentication data with at least one group of pre-stored reference data;
and when the authentication data is matched with any one group of reference data, determining the use scene of the terminal as the use scene corresponding to the reference data matched with the authentication data.
In one embodiment, the usage scenario of the terminal is associated with a user identity of the terminal; the authentication data comprises at least one of voice data, fingerprint data and face image data; the reference data comprises user identification information and at least one of sound reference data, fingerprint reference data and face image reference data which are associated with the user identification information; when the authentication data is matched with any one group of reference data, determining the use scene of the terminal as the use scene corresponding to the reference data matched with the authentication data comprises the following steps:
and when the authentication data is matched with any group of reference data, determining the current user identity of the terminal according to the user identification information corresponding to the reference data matched with the authentication data, and determining the use scene associated with the current user identity as the use scene of the terminal.
In one embodiment, the usage scenario of the terminal is associated with a user identity of the terminal; the authentication data comprises pressure data obtained by performing touch scanning action on the touch area in the authentication process of the user; the reference data comprises pressure characteristic reference information; matching the authentication data with at least one set of pre-stored reference data, comprising:
performing characteristic analysis on the pressure data to obtain pressure characteristic information of the pressure data;
matching the pressure characteristic information with at least one group of pressure characteristic reference information;
when the authentication data is matched with any one group of reference data, determining the use scene of the terminal as the use scene corresponding to the reference data matched with the authentication data comprises the following steps:
and when the pressure characteristic information is matched with any group of pressure characteristic reference information, determining the current user identity of the terminal according to the user identification information corresponding to the pressure characteristic reference information matched with the pressure characteristic information, and determining the use scene associated with the current user identity as the use scene of the terminal.
In one embodiment, the pressure data is obtained by pressing the touch area at least once and performing a touch scanning action in the authentication process of the user; performing characteristic analysis on the pressure data, wherein the pressure characteristic information of the pressure data comprises the following steps:
determining a peak pressure value of each compression, the duration of each compression, the time interval of every two adjacent compressions and a curve slope characteristic of a pressure curve of the pressure data based on time according to the pressure data;
and obtaining pressure characteristic information of the pressure data according to at least one of the peak value of the pressure of each compression, the duration of each compression, the time interval of every two adjacent compressions and the slope characteristic of the curve.
In one embodiment, the method further comprises:
when the authentication data is not matched with any group of reference data, establishing a new use scene;
obtaining new reference data according to the authentication data;
and storing the mapping relation between the new use scene and the new reference data.
In one embodiment, the usage scenario of the terminal includes a current touch scenario of the terminal; determining a usage scenario of the terminal, including:
acquiring program running information of a terminal;
and determining the current touch scene of the terminal from a plurality of preset touch scenes according to the program running information, wherein the plurality of preset touch scenes correspond to different touch frequencies.
In one embodiment, before querying the touch response condition corresponding to the usage scenario, the method further includes:
acquiring historical touch data acquired by a touch area when the touch area is pressed in a use scene;
analyzing the historical touch data, and obtaining each touch response condition corresponding to the use scene according to the analysis result;
and storing each touch response condition.
In one embodiment, the method further comprises:
when the touch data meet the touch response condition, determining touch scanning parameters corresponding to the use scene;
and controlling the touch area to perform touch scanning action according to the touch scanning parameters.
A touch responsive device, the device comprising:
the usage scene determining module is used for determining the usage scene of the terminal;
the touch data acquisition module is used for acquiring touch data output by a touch area of the terminal, and the touch data is obtained by performing touch scanning action on the touch area;
the response condition query module is used for querying a touch response condition corresponding to the use scene, and the touch response condition is obtained according to historical touch data corresponding to the use scene;
and the touch response processing module is used for controlling the touch area to stop the touch scanning action when the touch data does not meet the touch response condition.
A terminal comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
determining a use scene of a terminal;
acquiring touch data output by a touch area of a terminal, wherein the touch data is obtained by performing touch scanning action on the touch area;
inquiring a touch response condition corresponding to the use scene, wherein the touch response condition is obtained according to historical touch data corresponding to the use scene;
and when the touch data do not meet the touch response condition, controlling the touch area to stop the touch scanning action.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
determining a use scene of a terminal;
acquiring touch data output by a touch area of a terminal, wherein the touch data is obtained by performing touch scanning action on the touch area;
inquiring a touch response condition corresponding to the use scene, wherein the touch response condition is obtained according to historical touch data corresponding to the use scene;
and when the touch data does not meet the touch response condition, controlling the touch area to stop the touch scanning action.
According to the touch response method, the touch response device, the terminal and the storage medium, the touch response condition corresponding to the use scene of the terminal and obtained according to the historical touch data corresponding to the use scene is obtained, the touch data obtained by the touch area of the terminal through the touch scanning action is obtained, the touch area is controlled to stop the touch scanning action when the touch data does not meet the touch response condition, and the touch area is controlled to stop the touch scanning action when the touch data output by the touch area of the terminal does not meet the touch response condition obtained according to the historical touch data corresponding to the terminal in each use scene, so that the touch scanning action of the touch area can correspond to the use scene of the terminal, invalid touch scanning action of the touch area is avoided, and the power consumption of touch scanning is effectively reduced.
Drawings
FIG. 1 is a diagram of an application environment of a touch response method in one embodiment;
FIG. 2 is a flow chart illustrating a touch response method according to an embodiment;
FIG. 3 is a schematic illustration of a pressure curve in one embodiment;
FIG. 4 is a flowchart illustrating pre-storing touch response conditions in one embodiment;
FIG. 5 is a flowchart illustrating a touch response method according to another embodiment;
FIG. 6 is a block diagram of an embodiment of a touch-responsive device;
fig. 7 is an internal structural view of a terminal in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The touch response method provided by the application can be applied to the application environment shown in fig. 1. The user may touch or press the touch area of the electronic device 102, specifically, the user may control the electronic device 102 by touching or pressing a touch screen or a touch key of the electronic device 102, such as unlocking a screen, opening an application program in the electronic device 102, and adjusting the volume of the electronic device 102. The electronic device 102 determines a corresponding usage scenario, queries a touch response condition corresponding to the usage scenario and obtained according to historical touch data corresponding to the usage scenario, obtains touch data obtained by performing a touch scanning action on a touch area of the electronic device 102, and controls the touch area of the electronic device 102 to stop the touch scanning action when the touch data does not meet the touch response condition. The electronic device 102 may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices. The touch area may be a screen of the terminal 102, or may be at least a partial area of a side frame or a rear cover of the terminal 102.
In an embodiment, as shown in fig. 2, a touch response method is provided, which is described by taking the method as an example applied to the electronic device in fig. 1, and includes the following steps:
step S202, determining the use scene of the terminal.
The electronic device is a terminal, and may be, but is not limited to, various personal computers, notebook computers, smart phones, and the like. The terminal may operate in a variety of usage scenarios, such as under the control of a number of different users, or in different touch scenarios. Various use scenes of the terminal can be set according to the actual application requirements of the terminal.
As an embodiment, the usage scenario may be a usage scenario associated with a user identity of the terminal, for example, different users have different operation habits, and the frequency, the degree, the duration, and the like of the touch on the terminal may be different, so that the usage scenario associated with the user identity and the touch parameters in each usage scenario may be preset according to the operation habits of different users of the terminal.
As another embodiment, the usage scenario may be a usage scenario associated with an operation condition of the terminal, and the touch scenario may be divided into a frequent touch scenario, a no-touch scenario, a few-touch scenario, and the like according to a touched frequency of the terminal under different operation conditions. For example, when the terminal is in a touch scene for playing a video, the user generally performs less touch operation on the terminal, and the terminal can be considered to be in the less touch scene; when the terminal is in a touch scene of real-time game fighting, the user can frequently perform touch operation on the terminal, and the terminal is considered to be in the frequent touch scene at the moment; if the terminal is in a black screen standby state, the user does not use the terminal, and the terminal can be considered to be in a non-touch scene. Therefore, the use scenes associated with the operation situations and the touch parameters under the use scenes can be preset according to the common operation situations of the terminal.
Touch control is a technology that is operated by touching a terminal device with a finger or a stylus rather than a physical key, and the touch control technology can be divided into four types, namely, a resistive type, a capacitive type, a sonic type and an optical type, according to an induction principle.
In this embodiment, a usage scenario of the terminal is determined, and specifically, user authentication may be performed according to the received authentication data to determine a user corresponding to the terminal, and a corresponding touch scenario, such as a frequent touch scenario, a no-touch scenario, a few-touch scenario, may also be determined according to the current program running information of the terminal.
Step S204, acquiring touch data output by a touch area of the terminal, where the touch data is obtained by performing a touch scanning operation in the touch area.
The touch area may be an area that is set on the terminal and can be used for touch control, for example, the touch area may be a partial or whole area on a screen, a side frame, or a rear cover of the terminal, and a user may contact the touch area of the terminal through a finger or a stylus pen to implement an operation on the terminal. The touch data is obtained by performing a touch scanning action on the touch area, that is, the touch area scans the touch operation of the user through the touch scanning action, so as to acquire data generated by performing the touch operation on the touch area of the terminal by the user, specifically, pressure data when the user touches the touch area. In addition, if the user does not operate the touch area of the terminal, the touch scanning action performed by the touch area cannot obtain the touch data of the user, and the touch scanning action is regarded as invalid scanning, and if the invalid scanning of the touch area of the terminal is too much, the invalid power consumption of the touch scanning action is increased.
Step S206, touch response conditions corresponding to the use scene are inquired, and the touch response conditions are obtained according to historical touch data corresponding to the use scene.
The touch response conditions correspond to usage scenes of the terminal, different touch response conditions can be set correspondingly in different usage scenes, and the touch response conditions are obtained according to historical touch data corresponding to the usage scenes. Specifically, historical touch data obtained by the terminal in different usage scenarios may be acquired, and based on the historical touch data, the terminal may perform analysis to determine the touch response condition in the corresponding usage scenario. The touch response condition reflects a trigger condition that the terminal needs to control the touch area to interrupt or end the touch scanning action in different use scenarios, and may specifically include one or more pressure data value conditions, such as pressure peak values, duration, pressing time intervals, and other value conditions.
In this embodiment, if the touch data output by the touch area meets the touch response condition, the touch area of the terminal is considered to need to maintain the touch scanning action, and the touch scanning action of the touch area is not ended, so that the touch area continuously performs touch data acquisition; otherwise, if the touch area does not need to perform the touch scanning action in the current use scene, the touch area is controlled to stop the touch scanning action so as to reduce invalid scanning and reduce the power consumption of touch scanning.
In step S208, when the touch data does not satisfy the touch response condition, the touch area is controlled to stop the touch scanning operation.
And after touch data output by the touch area and the touch response condition corresponding to the use scene are obtained, comparing the touch data with the touch response condition, if the touch data does not meet the touch response condition, indicating that the touch area does not need to keep a touch scanning action at the moment, and controlling the touch area to stop the touch scanning action, so that invalid scanning of the touch area is reduced, and the power consumption of the touch scanning is reduced.
In the touch response method, the touch response condition corresponding to the use scene of the terminal is obtained, the touch data obtained by performing the touch scanning action on the touch area of the terminal is obtained, when the touch data does not meet the touch response condition, the touch area is controlled to stop the touch scanning action, and when the touch data output by the touch area of the terminal does not meet the touch response condition obtained by the historical touch data corresponding to the terminal in each use scene, the touch area is controlled to stop the touch scanning action, so that the touch scanning action of the touch area can correspond to the use scene of the terminal, the touch area is prevented from performing invalid touch scanning action, and the power consumption of touch scanning is effectively reduced.
In one embodiment, determining the usage scenario of the terminal comprises: receiving authentication data input by a user; matching the authentication data with at least one group of pre-stored reference data; and when the authentication data is matched with any one group of reference data, determining the use scene of the terminal as the use scene corresponding to the reference data matched with the authentication data.
In this embodiment, the usage scenario of the terminal is associated with the user identity, and the usage scenario of the terminal can be determined according to the user identity, so that the identity of the user needs to be verified in the process of determining the usage scenario of the terminal. Specifically, when the usage scenario of the terminal is determined, authentication data input by a user is received, where the authentication data is data used for verifying the identity of the user, and may specifically include, but is not limited to, voice data, fingerprint data, face image data, and the like. The authentication data may be obtained by the user when waking up the terminal, for example, for fingerprint data, the authentication data may be detected by a fingerprint identification module of the terminal when the user touches the terminal.
And matching the obtained authentication data with at least one group of prestored reference data, wherein the reference data is identity data which is prestored in the terminal and corresponds to the identity of each user, and can be voice data, fingerprint data or face image data and the like of each user prestored in the terminal. The reference data pre-stored in the terminal may be a group or a plurality of groups, for example, the terminal may pre-store fingerprint data of different fingers of the user. And matching the authentication data with the reference data so as to determine the current user identity of the terminal according to the authentication data and the reference data.
And when the authentication data is matched with any group of reference data, the terminal is indicated to be prestored with the identity data of the current user of the terminal, namely the user uses the terminal, and the use scene of the terminal is determined to be the use scene corresponding to the reference data matched with the authentication data. That is, when there is reference data matching the authentication data, the identity of the current user may be determined, and the usage scenario of the terminal may be determined to be a usage scenario associated with the identity of the current user. On the other hand, if the authentication data is not matched with any group of reference data, it is indicated that the terminal does not pre-store the identity information of the current user of the terminal, that is, the current user is a new user using the terminal, the usage scenario of the terminal corresponding to the user can be established, and the usage scenario of the terminal can be expanded and updated in time, so that the user can conveniently match the usage scenario next time.
In this embodiment, the current user identity of the terminal is determined according to the matching result of the authentication data input by the user and at least one set of reference data pre-stored in the terminal, so that the usage scenario associated with the current user identity can be determined.
In one embodiment, the authentication data includes at least one of voice data, fingerprint data, face image data; the reference data comprises user identification information and at least one of sound reference data, fingerprint reference data and face image reference data which are associated with the user identification information; further, when the authentication data matches any one of the sets of reference data, determining that the usage scenario of the terminal is a usage scenario corresponding to the reference data matching the authentication data includes: and when the authentication data is matched with any group of reference data, determining the current user identity of the terminal according to the user identification information corresponding to the reference data matched with the authentication data, and determining the use scene associated with the current user identity as the use scene of the terminal.
In this embodiment, the usage scenario of the terminal is associated with the user identity of the terminal, that is, when the terminal is used by different users, the terminal is considered to be in different usage scenarios, the authentication data and the reference data are used to identify the current user identity of the terminal, and after the current user identity of the terminal is determined, the usage scenario associated with the current user identity is determined as the usage scenario of the terminal.
Generally, different users have different habits of using the terminal, such as different touch pressure degrees for a touch area of the terminal, different touch pressure durations, different touch pressure time intervals during multiple touch pressures, and the like, and for example, the terminal controls the touch area to perform touch scanning according to corresponding touch response conditions according to the current user identity of the user using the terminal, so that invalid scanning of the touch area can be effectively reduced, and invalid power consumption of the touch area can be reduced.
The authentication data may specifically be determined according to an authentication mode supported by the terminal or an authentication mode adopted when the user wakes up the terminal. For example, when a user touches a fingerprint identification module of the terminal, the authentication data obtained by the terminal is fingerprint data; and if the user wakes up the terminal in a face recognition mode, the corresponding authentication data is face image data. Correspondingly, the reference data comprises user identification information and at least one of sound reference data, fingerprint reference data and face image reference data which are associated with the user identification information, and the type of the reference data corresponds to that of the authentication data so as to accurately identify the current user identity of the terminal according to the matching result.
Further, when the use scene of the terminal is determined according to the authentication data and the reference data, the reference data prestored in the authentication data are matched one by one, when the authentication data are matched with any group of reference data, matching is finished, the current user identity of the terminal is determined according to the user identification information corresponding to the reference data matched with the authentication data, and the use scene associated with the current user identity is determined as the use scene of the terminal. The user identification information is used to identify a user corresponding to the current user Identity, and may specifically include, but is not limited to, information that can distinguish different users, such as a name, a user ID (Identity document), a mobile phone number, and an Identity card number.
Further, querying a touch response condition corresponding to the usage scenario includes: and inquiring the touch response condition corresponding to the current user identity.
When the usage scenario of the terminal is determined to be the current user identity corresponding to the terminal, the touch response condition corresponding to the usage scenario may be the touch response condition corresponding to the current user identity. Specifically, when a touch response condition corresponding to a usage scenario is queried, the touch response condition corresponding to the current user identity is queried.
In this embodiment, the usage scenario of the terminal is distinguished by the current user identity, so as to control the touch area to perform the operation of the touch scanning action according to the touch response condition corresponding to the current user identity, so that the touch scanning action of the touch area of the terminal can correspond to the current user of the terminal, thereby effectively reducing the invalid scanning of the touch area and reducing the invalid power consumption of the touch area.
In one embodiment, the usage scenario of the terminal is associated with a user identity of the terminal; the authentication data comprises pressure data obtained by performing touch scanning action on the touch area in the authentication process of the user; the reference data comprises pressure characteristic reference information; matching the authentication data with at least one set of pre-stored reference data, comprising: performing characteristic analysis on the pressure data to obtain pressure characteristic information of the pressure data; the pressure characteristic information is matched with at least one set of pressure characteristic reference information.
In this embodiment, the usage scenario of the terminal is associated with the user identity of the terminal, that is, when the terminal is used by different users, the terminal is considered to be in different usage scenarios, the authentication data and the reference data are used to identify the current user identity of the terminal, the authentication data specifically includes pressure data obtained by performing a touch scanning action on a touch area in the authentication process of the user, that is, the current user identity of the terminal is determined according to the pressure data obtained by the touch area, and the usage scenario associated with the current user identity is determined as the usage scenario of the terminal.
Generally, different users have different habits of using the terminal, such as different touch pressure degrees applied to a touch area of the terminal during touch pressure, different touch pressure duration, different touch pressure time intervals during multiple touch pressures, and the like. Based on this, the current user identity of the terminal can be identified according to the touch data obtained in the touch area of the terminal, specifically, the pressure data, so as to determine the use scene of the terminal, so that the terminal can control the touch area to perform the operation of touch scanning action according to the current user identity of the user using the terminal and the corresponding touch response condition, thereby effectively reducing the invalid scanning of the touch area and reducing the invalid power consumption of the touch area.
In this embodiment, if the user performs a touch operation on the touch area during the authentication process, the pressure data during the authentication process can be obtained by performing a touch scanning operation on the touch area, and the pressure data can be used as the authentication data. Correspondingly, the reference data includes pressure characteristic reference information, and the pressure characteristic reference information can be obtained by analyzing historical pressure data of different users obtained through touch scanning actions in the touch area of the terminal so as to reflect touch habits of the different users in the touch area of the terminal. For example, the pressure characteristic reference information may include, but is not limited to, a reference value including a peak pressure value, a reference value including a duration of a single compression, a reference value including a time interval between two adjacent compressions, a curve slope characteristic of a pressure data time-based pressure curve, and the like.
Further, when the usage scenario of the terminal is determined according to the authentication data and the reference data, the reference data pre-stored in the authentication data are matched one by one, specifically, the pressure characteristic information of the pressure data and the pressure characteristic reference information can be matched to determine the current user identity of the terminal, and the usage scenario associated with the current user identity is determined as the usage scenario of the terminal, so that the usage scenario of the terminal is obtained. Specifically, the pressure data is subjected to characteristic analysis to obtain pressure characteristic information of the pressure data, such as a pressure peak value in the pressure data, a duration of each pressing, and a time interval between two adjacent pressing. And the characteristic type of the pressure data subjected to characteristic analysis corresponds to the characteristic type of the pressure characteristic reference information so as to determine the corresponding current user identity according to the matching result. And after the pressure characteristic information of the pressure data is obtained, matching the pressure characteristic information with each pressure characteristic reference information one by one, so as to determine the current user identity of the terminal according to the matching result, and determining the use scene associated with the current user identity as the use scene of the terminal.
Further, when the authentication data matches any one of the sets of reference data, the step of determining that the usage scenario of the terminal is a usage scenario corresponding to the reference data matching the authentication data includes: and when the pressure characteristic information is matched with any group of pressure characteristic reference information, determining the current user identity of the terminal according to the user identification information corresponding to the pressure characteristic reference information matched with the pressure characteristic information, and determining the use scene associated with the current user identity as the use scene of the terminal.
Specifically, when determining a usage scenario of the terminal according to a matching result of the pressure characteristic information and the pressure characteristic reference information, determining whether the pressure characteristic information matches any group of pressure characteristic reference information, and if so, determining user identification information corresponding to the pressure characteristic reference information matching the pressure characteristic information, where the user identification information is used to identify a user corresponding to a current user identity, and specifically, the user identification information may include, but is not limited to, information that can distinguish different users, such as a name, a user ID, a mobile phone number, and an identity card number. And obtaining the current user identity of the terminal according to the determined user identification information, and further taking the touch response condition corresponding to the current user identity as the touch response condition corresponding to the use scene of the terminal.
In this embodiment, the current user identity of the terminal is determined by the matching result of the pressure characteristic information of the pressure data obtained by performing the touch scanning action on the touch area in the authentication process of the user and at least one set of prestored pressure characteristic reference information, and the usage scenario associated with the current user identity is determined as the usage scenario of the terminal, so as to control the touch area to perform the operation of the touch scanning action according to the touch response condition associated with the current user identity, so that the touch scanning action of the touch area of the terminal can correspond to the current user of the terminal, thereby effectively reducing the invalid scanning of the touch area and reducing the invalid power consumption of the touch area.
In one embodiment, the pressure data is obtained by pressing the touch area at least once and performing a touch scanning action during the authentication process of the user; performing characteristic analysis on the pressure data, wherein the pressure characteristic information of the pressure data comprises: determining a pressure peak value of each time of pressing, duration of each time of pressing, time interval of every two adjacent times of pressing and curve slope characteristics of a pressure curve of the pressure data based on time according to the pressure data; and obtaining pressure characteristic information of the pressure data according to at least one of the peak value of the pressure of each compression, the duration of each compression, the time interval of every two adjacent compressions and the slope characteristic of the curve.
In this embodiment, the pressure characteristic information of the pressure data specifically includes at least one of a peak pressure value of each compression, a duration of each compression, a time interval of each two adjacent compressions, and a curve slope characteristic of a pressure curve of the pressure data based on time. The pressure peak value is a maximum pressure value obtained through a touch scanning action in the process that the touch area is pressed once; the duration is the duration of pressure data obtained through a touch scanning action in the process that the touch area is pressed once, and corresponds to the duration of one-time touch action on the touch area by a user; the time interval of every two adjacent pressed times is the time interval of every two adjacent pressed times obtained through the touch scanning action in the process that the touch area is pressed for multiple times; the curve slope characteristics of the pressure curve of the pressure data based on time are curve slope characteristics of the pressure curve between the pressure value in the pressure data and the time, and specifically include a climbing curve slope and a descending curve slope of the pressure curve, the climbing curve slope is a curve slope reflecting the gradual increase process of the pressure value in the pressure curve, and the descending curve slope is a curve slope reflecting the gradual decrease process of the pressure value in the pressure curve.
In one specific application, as shown in fig. 3, the peak pressure value in the pressure curve corresponding to one pressing process of the user is Tmax, and the duration is T12, specifically, the peak pressure value is obtained according to the duration between T1 and T2 corresponding to 0.1Tmax in the pressure curve. When the user does not touch, the pressure state is nearly zero, and no meaningful input is generated when touch scanning is performed in the corresponding time, so that the scanning power which does not meet the period of the working state can be reduced or closed, and the purposes of reducing power consumption and not influencing the use of the user are achieved.
Specifically, the pressure data is obtained by pressing the touch area at least once and performing a touch scanning action in the authentication process of the user, and when performing feature analysis on the pressure data, a pressure peak value of each pressing, a duration of each pressing, a time interval of each two adjacent pressing and a curve slope feature of a pressure curve of the pressure data based on time are determined according to the pressure data. In a specific application, the characteristic type of the pressure data can be analyzed according to actual requirements, for example, a pressure peak value of each time that the pressure data is pressed, a duration of each time that the pressure data is pressed, a time interval of every two adjacent times that the pressure data is pressed, and the like can be obtained through analysis. And obtaining pressure characteristic information of the pressure data according to at least one of the obtained pressure peak value of each time of pressing, the duration of each time of pressing, the time interval of every two adjacent times of pressing and the curve slope characteristic, wherein the pressure characteristic information can reflect the touch operation habits of different users on the terminal touch area.
In this embodiment, by performing feature analysis on the pressure value of the pressure data and the time information of the pressure data, pressure feature information that can reflect touch operation habits of different users on the terminal touch area is obtained, so that the touch area of the terminal can be controlled to perform corresponding touch scanning operation according to the current user identity of the terminal, thereby avoiding performing excessive invalid scanning on the touch area and reducing invalid power consumption of the touch area.
In one embodiment, the touch response method further includes: when the authentication data is not matched with any group of reference data, establishing a new use scene; obtaining new reference data according to the authentication data; and storing the mapping relation between the new use scene and the new reference data.
In this embodiment, when the authentication data does not match any of the groups of reference data, indicating that the terminal does not prestore the current usage scenario, a new usage scenario is established and stored. Specifically, when the use scene of the terminal is determined by matching authentication data input by a user with at least one group of prestored reference data, if the authentication data is not matched with any group of reference data, that is, all the prestored reference data is not matched with the authentication data, and the terminal does not prestore the use scene, a new use scene is established, new reference data is obtained according to the authentication data, and a mapping relation between the new use scene and the new reference data is stored at the same time.
In one embodiment, the usage scenario of the terminal includes a current touch scenario of the terminal; determining a usage scenario of the terminal, including: acquiring program running information of a terminal; determining a current touch scene of the terminal from a plurality of preset touch scenes according to the program running information, wherein the plurality of preset touch scenes correspond to different touch frequencies.
In this embodiment, the usage scenario of the terminal includes a current touch scenario of the terminal, and the touch scenario may include scenarios with different touch frequencies, such as a frequent touch scenario, a no-touch scenario, a few-touch scenario, and the like.
Specifically, when determining a usage scenario of the terminal, program operation information of the terminal is obtained, where the program operation information may include information of an application program that is executed by the terminal, such as a type and a name of the application program. According to the program running information, the current touch scene of the terminal can be determined from a plurality of preset touch scenes, and the plurality of preset touch scenes correspond to different touch frequencies. Generally, when a terminal runs different application programs, the interaction frequency between a user and the terminal is different, and the current touch scene of the terminal can be determined according to the program running information of the terminal. In this embodiment, the current touch scene of the terminal is determined according to the program running information of the terminal, and the use scene of the terminal can be obtained according to the application program run by the terminal.
In an embodiment, as shown in fig. 4, before querying the touch response condition corresponding to the usage scenario, the touch response method further includes a process of pre-storing the touch response condition, specifically including:
step S402, acquiring historical touch data acquired by the touch area when the touch area is pressed in a use scene.
In this embodiment, the historical touch data acquired by the control area may be analyzed in advance to obtain touch response conditions corresponding to each use scenario, and each touch response condition may be stored. Specifically, when a touch response condition is set, historical touch data acquired when a touch area is pressed in various usage scenarios is acquired. The historical touch data is touch data obtained by a touch scanning action of a touch area when the touch area of a terminal is pressed in each use scene in the past.
Step S404, analyzing the historical touch data, and obtaining each touch response condition corresponding to the usage scenario according to the analysis result.
And after obtaining the historical touch data corresponding to each use scene, analyzing the historical touch data, and obtaining each touch response condition corresponding to the use scene according to the analysis result. The touch response condition reflects a trigger condition that the touch area needs to be controlled to interrupt or end the touch scanning action under different use scenes of the terminal. For example, if the historical touch data includes historical pressure data, pressure characteristic analysis may be performed on the historical pressure data to obtain historical pressure characteristic information corresponding to the historical pressure data, and a touch response condition corresponding to a usage scenario may be determined based on the historical pressure characteristic information, for example, a pressure peak value, a duration, and a pressing time interval of each pressing may be used as the touch response condition, and if the obtained touch data satisfies the touch response condition, that is, the pressure peak value, the duration, and the pressing time interval of each pressing in the touch data correspond to the touch response condition, it is considered that a touch scanning action may be maintained by the touch area at this time; otherwise, the touch area is controlled to stop the touch scanning action so as to avoid invalid scanning of the touch area.
In step S406, each touch response condition is stored.
After the touch response conditions corresponding to the usage scenes are obtained, the touch response conditions are stored, for example, the touch response conditions can be stored in a preset touch response condition library, and the touch response condition library can also store mapping relations between the touch response conditions and the corresponding usage scenes, so that the corresponding touch response conditions can be obtained by querying from the touch response condition library according to the usage scenes.
In this embodiment, the touch response conditions corresponding to the usage scenarios are analyzed and stored according to the historical touch data acquired by the touch area, so as to set the corresponding touch response conditions for the usage scenarios, thereby enabling the touch area to perform the operation of the touch scanning action according to the touch response conditions, avoiding invalid scanning, and reducing the power consumption of the touch scanning action.
In one embodiment, the touch response method further includes: when the touch data meet the touch response condition, determining touch scanning parameters corresponding to the use scene; and controlling the touch area to perform touch scanning action according to the touch scanning parameters.
In this embodiment, when the touch data meets the touch response condition, the corresponding touch scanning parameters may be further determined according to the usage scenario of the terminal, so as to control the touch area to perform the touch scanning action. Specifically, if the touch data meets the touch response condition, it indicates that the touch area of the terminal needs to keep performing the touch scanning action in the current usage scenario, so as to continuously obtain the touch data of the user, and determine the touch scanning parameter corresponding to the usage scenario. The touch scan parameter may include a frequency of a touch scan operation of the touch area. For a use scene with high touch frequency, for example, when the terminal is used by a user with frequent touch or a touch scene with frequent touch, the frequency of touch scanning actions in the touch area can be correspondingly increased, so that the sensitivity of response of the touch area is increased; for the use scene with low touch frequency, the frequency of the touch scanning action in the touch area can be correspondingly reduced, so that the invalid touch scanning action performed in the touch area is reduced, and the reduction of the power consumption of the touch scanning action is facilitated. The touch scanning parameters are determined, and the touch area is controlled to perform the touch scanning action based on the touch scanning parameters, so that the touch scanning action of the touch area corresponds to the use scene of the terminal, the touch response sensitivity is provided, meanwhile, the invalid touch scanning action is avoided, and the power consumption of the touch scanning action is reduced.
In one embodiment, as shown in fig. 5, a touch response method is provided, which includes the following steps:
step S502 is to receive authentication data input by a user, where the authentication data includes pressure data obtained by performing a touch scanning operation on a touch area during an authentication process of the user.
In step S504, a peak value of the pressure of each compression, a duration of each compression, a time interval of each two adjacent compressions, and a curve slope characteristic of a pressure curve of the pressure data based on time are determined according to the pressure data.
And S506, obtaining pressure characteristic information of the pressure data according to at least one of the peak value of the pressure of each pressing, the duration of each pressing, the time interval of each two adjacent pressing and the slope characteristic of the curve.
Step S508, matching the pressure characteristic information with at least one group of pressure characteristic reference information; if the matching is not successful, go to step S510; if the matching is successful, step S516 is executed.
Step S510, when the matching is unsuccessful, that is, when the authentication data does not match any set of reference data, a new usage scenario is established.
And step S512, obtaining new reference data according to the authentication data.
Step S514, storing the mapping relationship between the new usage scenario and the new reference data.
Step S516, the matching is successful, that is, when the pressure characteristic information matches any group of pressure characteristic reference information, the current user identity of the terminal is determined according to the user identification information corresponding to the pressure characteristic reference information matching with the pressure characteristic information, and the usage scenario associated with the current user identity is determined as the usage scenario of the terminal.
In step S518, touch data output by the touch area of the terminal is obtained, and the touch data is obtained by performing a touch scanning operation on the touch area.
Step S520, inquiring a touch response condition corresponding to the use scene of the terminal; the touch response condition is obtained according to historical touch data corresponding to the use scene. Determining whether the touch data meets a touch response condition, if not, executing step S522; if yes, go to step S524;
step S522, controlling the touch area to stop the touch scanning operation;
step S524, determining a touch scan parameter corresponding to the usage scenario;
in step S526, the touch area is controlled to perform a touch scanning operation according to the touch scanning parameters.
In this embodiment, the usage scenario of the terminal is associated with the user identity of the terminal; the authentication data comprises pressure data obtained by performing touch scanning action on the touch area in the authentication process of the user; the pressure data is obtained by pressing the touch area at least once and performing a touch scanning action during the authentication process of the user.
In addition, the authentication data in the present embodiment includes at least one of sound data, fingerprint data, and face image data; the reference data comprises user identification information and at least one of sound reference data, fingerprint reference data and face image reference data which are associated with the user identification information; when the authentication data is matched with any one group of reference data, determining the use scene of the terminal as the use scene corresponding to the reference data matched with the authentication data comprises the following steps: and when the authentication data is matched with any group of reference data, determining the current user identity of the terminal according to the user identification information corresponding to the reference data matched with the authentication data, and determining the use scene associated with the current user identity as the use scene of the terminal.
Further, the use scene of the terminal comprises the current touch scene of the terminal; determining a usage scenario of the terminal, including: acquiring program running information of a terminal; and determining the current touch scene of the terminal from a plurality of preset touch scenes according to the program running information, wherein the plurality of preset touch scenes correspond to different touch frequencies.
In this embodiment, when the touch data does not satisfy the touch response condition, the touch area is controlled to stop the touch scanning action, and when the touch data output by the touch area of the terminal does not satisfy the touch response condition obtained from the historical touch data corresponding to the terminal in each usage scenario, the touch area is controlled to stop the touch scanning action, so that the touch scanning action of the touch area can correspond to the usage scenario of the terminal, thereby avoiding the touch area from performing an invalid touch scanning action, and effectively reducing the power consumption of touch scanning.
In a specific embodiment, the touch response method provided by the application is applied to terminal devices such as smart phones and home tablets. Specifically, the pressure value conditions based on different users and different touch scenes in a period of time are recorded through the user use condition detected every time, the lower limit of the pressure value is learned as a standard, and the working pressure threshold in the system is dynamically adjusted. When a user starts or wakes up the terminal equipment, the identity of the current user is authenticated through an authentication mode set by the user, such as a voice authentication mode, a fingerprint authentication mode, a pressure data authentication mode and the like. After the authentication is finished, the recorded data is regarded as the relevant data of the user in a single device use. When a user touches, the pressure sensing module collects pressure information, and the information is stored in an information storage space of the user under the control of the control unit in the authentication module; on the one hand, the pressure information is subjected to threshold judgment with the data standard of the user in the storage module. The pressure sensing module mainly comprises a pressure sensor and a data transmission bus, the pressure sensor converts the pressure condition of each touch of a user into an electric signal and binary data, and the data transmission bus stores the data into the data storage module corresponding to the user account.
After a period of learning period, the user uses and the equipment collects information, the calculation and analysis module carries out statistical calculation on the pressure use habit of the user, and the judgment threshold standard of whether the user uses the equipment or not is obtained through analysis and is used as the scanned pressure judgment standard or not and stored in the data storage library of the user, and the calculation and analysis is a long-term learning process. The pressure information and the user pressure standard are subjected to threshold judgment, when the pressure condition does not meet the standard during single use, the user is determined not to be in the touch equipment, and touch identification scanning is not carried out, so that unnecessary energy use is eliminated, and the purpose of reducing power consumption is achieved. Specifically, in a single use, when the pressure condition is higher than the working parameter standard generated by the calculation and analysis module, the scanning execution module of the terminal touch area performs normal scanning work; when the pressure condition is not satisfied and the terminal is judged to be not working, the scanning execution module does not perform touch scanning, so that a high-power-consumption scene that a user does not use a touch area and the touch area still works in a normal mode is avoided, the power consumption of the terminal is reduced, and the use experience of the user is ensured.
When a new user starts the device and the user passing the authentication terminal is the new user, an account and a storage space of the new user are created, the same process is continuously executed, and touch data of the terminal used by the new user are recorded, wherein the touch data specifically include a maximum value of each press, a slope of a curve that a press value rises and falls, a press time, a time interval between two adjacent presses, fingerprint data, user sound data collected by the device, and the like.
In addition, different software or specific scenes can be subdivided into a single user for using, and specific learning of specific scenes of the specific user can be carried out according to the method in each scene, so that a low-power-consumption scheme which is in line with the use of the user and aims at the specific scenes of the specific user is further realized, and the application scene of the touch response method is improved.
It should be understood that although the various steps in the flowcharts of fig. 2, 4-5 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not limited to being performed in the exact order illustrated and, unless explicitly stated herein, may be performed in other orders. Moreover, at least some of the steps in fig. 2, 4-5 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 6, there is provided a touch response device, including: a usage scenario determination module 602, a touch data acquisition module 604, a response condition query module 606, and a touch response processing module 608, wherein:
a usage scenario determining module 602, configured to determine a usage scenario of the terminal;
a touch data obtaining module 604, configured to obtain touch data output by a touch area of the terminal, where the touch data is obtained by performing a touch scanning operation on the touch area;
a response condition query module 606, configured to query a touch response condition corresponding to the usage scenario, where the touch response condition is obtained according to historical touch data corresponding to the usage scenario;
the touch response processing module 608 is configured to control the touch area to stop the touch scanning action when the touch data does not satisfy the touch response condition.
In one embodiment, the usage scenario determination module 602 includes an authentication data acquisition module, an authentication matching module, and a matching result processing module; wherein: the authentication data acquisition module is used for receiving authentication data input by a user; the authentication matching module is used for matching the authentication data with at least one group of prestored reference data; and the matching result processing module is used for determining the use scene of the terminal as the use scene corresponding to the reference data matched with the authentication data when the authentication data is matched with any group of reference data.
In one embodiment, the usage scenario of the terminal is associated with a user identity of the terminal; the authentication data comprises at least one of voice data, fingerprint data and face image data; the reference data comprises user identification information and at least one of sound reference data, fingerprint reference data and face image reference data which are associated with the user identification information; and the matching result processing module is also used for determining the current user identity of the terminal according to the user identification information corresponding to the reference data matched with the authentication data when the authentication data is matched with any group of reference data, and determining the use scene associated with the current user identity as the use scene of the terminal.
In one embodiment, the usage scenario of the terminal is associated with a user identity of the terminal; the authentication data comprises pressure data obtained by performing touch scanning action on the touch area in the authentication process of the user; the reference data comprises pressure characteristic reference information; the authentication matching module comprises a pressure characteristic analysis module and a pressure characteristic matching module; wherein: the pressure characteristic analysis module is used for carrying out characteristic analysis on the pressure data to obtain pressure characteristic information of the pressure data; the pressure characteristic matching module is used for matching the pressure characteristic information with at least one group of pressure characteristic reference information; and the matching result processing module is further used for determining the current user identity of the terminal according to the user identification information corresponding to the pressure characteristic reference information matched with the pressure characteristic information when the pressure characteristic information is matched with any group of pressure characteristic reference information, and determining the use scene associated with the current user identity as the use scene of the terminal.
In one embodiment, the pressure data is obtained by pressing the touch area at least once and performing a touch scanning action during the authentication process of the user; the pressure characteristic analysis module comprises a pressure data analysis module and a pressure characteristic obtaining module; wherein: the pressure data analysis module is used for determining a pressure peak value of each compression, the duration of each compression, the time interval of every two adjacent compressions and a curve slope characteristic of a pressure curve of the pressure data based on time according to the pressure data; and the pressure characteristic obtaining module is used for obtaining pressure characteristic information of the pressure data according to at least one of a pressure peak value of each time of pressing, a duration of each time of pressing, a time interval of every two adjacent times of pressing and a curve slope characteristic.
In one embodiment, the method further comprises a scene creation module, a reference data creation module and a mapping key storage module; wherein: the service scene newly-establishing module is used for establishing a new service scene when the authentication data is not matched with any group of reference data; the reference data creating module is used for obtaining new reference data according to the authentication data; and the mapping key storage module is used for storing the mapping relation between the new use scene and the new reference data.
In one embodiment, the usage scenario of the terminal includes a current touch scenario of the terminal; the usage scenario determination module 602 further includes a program information acquisition module and a touch scenario determination module; wherein: the program information acquisition module is used for acquiring program running information of the terminal; the terminal comprises a touch scene determining module and a processing module, wherein the touch scene determining module is used for determining a current touch scene of the terminal from a plurality of preset touch scenes according to program running information, and the preset touch scenes correspond to different touch frequencies.
In one embodiment, the system further comprises a historical data acquisition module, a historical data analysis module and a response condition storage module; wherein: the historical data acquisition module is used for acquiring historical touch data acquired by the touch area when the touch area is pressed in a use scene; the historical data analysis module is used for analyzing the historical touch data and obtaining each touch response condition corresponding to the use scene according to the analysis result; and the response condition storage module is used for storing each touch response condition.
In one embodiment, the device further comprises a scanning parameter determination module and a scanning action control module; wherein: the scanning parameter determining module is used for determining a touch scanning parameter corresponding to the use scene when the touch data meets the touch response condition; and the scanning action control module is used for controlling the touch area to carry out touch scanning action according to the touch scanning parameters.
For specific limitations of the touch response device, reference may be made to the above limitations of the touch response method, which is not described herein again. All or part of each module in the touch response device can be realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent of a processor in the terminal, and can also be stored in a memory in the terminal in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a terminal is provided, an internal structure of which may be as shown in fig. 7. The terminal comprises a processor, a memory, a network interface, a display screen and an input device which are connected through a system bus. Wherein the processor of the terminal is configured to provide computing and control capabilities. The memory of the terminal comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operating system and the computer program to run on the non-volatile storage medium. The network interface of the terminal is used for connecting and communicating with an external terminal through a network. The computer program is executed by a processor to implement a touch response method. The display screen of the terminal can be a liquid crystal display screen or an electronic ink display screen, and the input device of the terminal can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on a shell of the terminal, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the configuration shown in fig. 7 is a block diagram of only a portion of the configuration associated with the present application and does not constitute a limitation on the terminal to which the present application is applied, and that a particular terminal may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a terminal is provided, comprising a memory storing a computer program and a processor that when executing the computer program performs the steps of:
determining a use scene of a terminal;
acquiring touch data output by a touch area of a terminal, wherein the touch data is obtained by performing touch scanning action on the touch area;
inquiring a touch response condition corresponding to the use scene, wherein the touch response condition is obtained according to historical touch data corresponding to the use scene;
and when the touch data does not meet the touch response condition, controlling the touch area to stop the touch scanning action.
In one embodiment, the processor, when executing the computer program, further performs the steps of: receiving authentication data input by a user; matching the authentication data with at least one group of pre-stored reference data; and when the authentication data is matched with any one group of reference data, determining the use scene of the terminal as the use scene corresponding to the reference data matched with the authentication data.
In one embodiment, the usage scenario of the terminal is associated with a user identity of the terminal; the authentication data comprises at least one of sound data, fingerprint data and face image data; the reference data comprises user identification information and at least one of sound reference data, fingerprint reference data and face image reference data which are associated with the user identification information; the processor when executing the computer program further realizes the following steps: and when the authentication data is matched with any group of reference data, determining the current user identity of the terminal according to the user identification information corresponding to the reference data matched with the authentication data, and determining the use scene associated with the current user identity as the use scene of the terminal.
In one embodiment, the usage scenario of the terminal is associated with a user identity of the terminal; the authentication data comprises pressure data obtained by performing touch scanning action on the touch area in the authentication process of the user; the reference data comprises pressure characteristic reference information; the processor, when executing the computer program, further performs the steps of: performing characteristic analysis on the pressure data to obtain pressure characteristic information of the pressure data; matching the pressure characteristic information with at least one group of pressure characteristic reference information; and when the pressure characteristic information is matched with any group of pressure characteristic reference information, determining the current user identity of the terminal according to the user identification information corresponding to the pressure characteristic reference information matched with the pressure characteristic information, and determining the use scene associated with the current user identity as the use scene of the terminal.
In one embodiment, the pressure data is obtained by pressing the touch area at least once and performing a touch scanning action during the authentication process of the user; the processor, when executing the computer program, further performs the steps of: determining a peak pressure value of each compression, the duration of each compression, the time interval of every two adjacent compressions and a curve slope characteristic of a pressure curve of the pressure data based on time according to the pressure data; and obtaining pressure characteristic information of the pressure data according to at least one of the peak value of the pressure of each compression, the duration of each compression, the time interval of every two adjacent compressions and the slope characteristic of the curve.
In one embodiment, the processor, when executing the computer program, further performs the steps of: when the authentication data is not matched with any group of reference data, establishing a new use scene; obtaining new reference data according to the authentication data; and storing the mapping relation between the new use scene and the new reference data.
In one embodiment, the usage scenario of the terminal includes a current touch scenario of the terminal; the processor, when executing the computer program, further performs the steps of: acquiring program running information of a terminal; and determining the current touch scene of the terminal from a plurality of preset touch scenes according to the program running information, wherein the plurality of preset touch scenes correspond to different touch frequencies.
In one embodiment, the processor, when executing the computer program, further performs the steps of: acquiring historical touch data acquired by a touch area when the touch area is pressed in a use scene; analyzing the historical touch data, and obtaining each touch response condition corresponding to the use scene according to the analysis result; and storing each touch response condition.
In one embodiment, the processor when executing the computer program further performs the steps of: when the touch data meet the touch response condition, determining touch scanning parameters corresponding to the use scene; and controlling the touch area to perform touch scanning action according to the touch scanning parameters.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
determining a use scene of a terminal;
acquiring touch data output by a touch area of a terminal, wherein the touch data is obtained by performing touch scanning action on the touch area;
inquiring a touch response condition corresponding to the use scene, wherein the touch response condition is obtained according to historical touch data corresponding to the use scene;
and when the touch data does not meet the touch response condition, controlling the touch area to stop the touch scanning action.
In one embodiment, the computer program when executed by the processor further performs the steps of: receiving authentication data input by a user; matching the authentication data with at least one group of pre-stored reference data; and when the authentication data is matched with any one group of reference data, determining the use scene of the terminal as the use scene corresponding to the reference data matched with the authentication data.
In one embodiment, the usage scenario of the terminal is associated with a user identity of the terminal; the authentication data comprises at least one of voice data, fingerprint data and face image data; the reference data comprises user identification information and at least one of sound reference data, fingerprint reference data and face image reference data which are associated with the user identification information; the computer program when executed by the processor further realizes the steps of: and when the authentication data is matched with any group of reference data, determining the current user identity of the terminal according to the user identification information corresponding to the reference data matched with the authentication data, and determining the use scene associated with the current user identity as the use scene of the terminal.
In one embodiment, the usage scenario of the terminal is associated with a user identity of the terminal; the authentication data comprises pressure data obtained by performing touch scanning action on the touch area in the authentication process of the user; the reference data comprises pressure characteristic reference information; the computer program when executed by the processor further realizes the steps of: performing characteristic analysis on the pressure data to obtain pressure characteristic information of the pressure data; matching the pressure characteristic information with at least one group of pressure characteristic reference information; and when the pressure characteristic information is matched with any group of pressure characteristic reference information, determining the current user identity of the terminal according to the user identification information corresponding to the pressure characteristic reference information matched with the pressure characteristic information, and determining the use scene associated with the current user identity as the use scene of the terminal.
In one embodiment, the pressure data is obtained by pressing the touch area at least once and performing a touch scanning action during the authentication process of the user; the computer program when executed by the processor further realizes the steps of: determining a peak pressure value of each compression, the duration of each compression, the time interval of every two adjacent compressions and a curve slope characteristic of a pressure curve of the pressure data based on time according to the pressure data; and obtaining pressure characteristic information of the pressure data according to at least one of the peak value of the pressure of each compression, the duration of each compression, the time interval of every two adjacent compressions and the slope characteristic of the curve.
In one embodiment, the computer program when executed by the processor further performs the steps of: when the authentication data are not matched with any group of reference data, establishing a new use scene; obtaining new reference data according to the authentication data; and storing the mapping relation between the new use scene and the new reference data.
In one embodiment, the usage scenario of the terminal includes a current touch scenario of the terminal; the computer program when executed by the processor further realizes the steps of: acquiring program running information of a terminal; and determining the current touch scene of the terminal from a plurality of preset touch scenes according to the program running information, wherein the plurality of preset touch scenes correspond to different touch frequencies.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring historical touch data acquired by a touch area when the touch area is pressed in a use scene; analyzing the historical touch data, and obtaining each touch response condition corresponding to the use scene according to the analysis result; and storing each touch response condition.
In one embodiment, the computer program when executed by the processor further performs the steps of: when the touch data meet the touch response condition, determining touch scanning parameters corresponding to the use scene; and controlling the touch area to perform touch scanning action according to the touch scanning parameters.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is specific and detailed, but not to be understood as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (12)

1. A touch response method, the method comprising:
determining a use scene of the terminal according to authentication data input into the terminal;
acquiring touch data output by a touch area of the terminal, wherein the touch data is acquired by the touch area in a pressure acquisition mode;
inquiring a touch response condition corresponding to the use scene, wherein the touch response condition is obtained according to historical touch data corresponding to the use scene; the touch response condition comprises a numerical value condition;
when the touch data meet the touch response condition, controlling the touch area to perform a touch scanning action so as to scan the touch operation of a user aiming at the touch area; and when the touch data does not meet the touch response condition, controlling the touch area to stop the touch scanning action.
2. The method according to claim 1, wherein the determining the usage scenario of the terminal according to the authentication data input to the terminal comprises:
receiving authentication data input by a user into a terminal;
matching the authentication data with at least one group of pre-stored reference data;
and when the authentication data is matched with any group of the reference data, determining that the use scene of the terminal is the use scene corresponding to the reference data matched with the authentication data.
3. The method according to claim 2, wherein the usage scenario of the terminal is associated with a user identity of the terminal; the authentication data comprises at least one of sound data, fingerprint data, face image data and pressure data; the reference data comprises user identification information and at least one of sound reference data, fingerprint reference data and face image reference data which are associated with the user identification information;
when the authentication data is matched with any one group of the reference data, determining that the usage scenario of the terminal is the usage scenario corresponding to the reference data matched with the authentication data comprises:
when the authentication data is matched with any group of reference data, determining the current user identity of the terminal according to the user identification information corresponding to the reference data matched with the authentication data;
determining the usage scenario associated with the current user identity as the usage scenario of the terminal.
4. The method according to claim 2, wherein the usage scenario of the terminal is associated with a user identity of the terminal; the authentication data comprises pressure data obtained by performing touch scanning action on the touch area in the authentication process of the user; the reference data comprises pressure characteristic reference information; the matching the authentication data with at least one set of pre-stored reference data comprises:
performing characteristic analysis on the pressure data to obtain pressure characteristic information of the pressure data;
matching the pressure characteristic information with the at least one set of pressure characteristic reference information;
when the authentication data is matched with any one group of the reference data, determining that the usage scenario of the terminal is the usage scenario corresponding to the reference data matched with the authentication data comprises:
when the pressure characteristic information is matched with any group of pressure characteristic reference information, determining the current user identity of the terminal according to user identification information corresponding to the pressure characteristic reference information matched with the pressure characteristic information;
determining the usage scenario associated with the current user identity as the usage scenario of the terminal.
5. The method of claim 4, wherein the pressure data is obtained by pressing the touch area at least once and performing a touch scan action during the authentication process of the user; the performing feature analysis on the pressure data to obtain pressure feature information of the pressure data includes:
determining a peak pressure value of each compression, the duration of each compression, the time interval of every two adjacent compressions and a curve slope characteristic of a pressure curve of the pressure data based on time according to the pressure data;
obtaining pressure characteristic information of the pressure data according to at least one of the peak pressure value of each compression, the duration of each compression, the time interval of each two adjacent compressions and the curve slope characteristic.
6. The method of claim 2, further comprising:
when the authentication data is not matched with any group of reference data, establishing a new use scene;
obtaining new reference data according to the authentication data;
storing a mapping relationship between the new usage scenario and the new reference data.
7. The method according to claim 1, wherein the usage scenario of the terminal comprises a current touch scenario of the terminal; the method further comprises the following steps:
acquiring program running information of the terminal;
and determining the current touch scene of the terminal from a plurality of preset touch scenes according to the program running information, wherein the preset touch scenes correspond to different touch frequencies.
8. The method of claim 1, wherein prior to querying the touch response condition corresponding to the usage scenario, the method further comprises:
acquiring historical touch data acquired by the touch area when the touch area is pressed in the use scene;
analyzing the historical touch data, and obtaining each touch response condition corresponding to the use scene according to an analysis result;
and storing each touch response condition.
9. The method according to any one of claims 1-8, wherein after the controlling the touch area to stop the touch scan action, the method further comprises:
when the touch data meet the touch response condition, determining a touch scanning parameter corresponding to the use scene;
and controlling the touch area to perform touch scanning action according to the touch scanning parameters.
10. A touch-responsive device, the device comprising:
the terminal comprises a use scene determining module, a service scene determining module and a service scene determining module, wherein the use scene determining module is used for determining a use scene of the terminal according to authentication data input into the terminal;
the terminal comprises a touch data acquisition module, a pressure acquisition module and a data processing module, wherein the touch data acquisition module is used for acquiring touch data output by a touch area of the terminal, and the touch data is acquired by the touch area in a pressure acquisition mode;
the response condition query module is used for querying a touch response condition corresponding to the use scene, and the touch response condition is obtained according to historical touch data corresponding to the use scene; the touch response condition comprises a numerical value condition;
the touch response processing module is used for controlling the touch area to perform a touch scanning action when the touch data meets the touch response condition so as to scan the touch operation of a user aiming at the touch area; and when the touch data does not meet the touch response condition, controlling the touch area to stop the touch scanning action.
11. A terminal comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method according to any of claims 1 to 9.
12. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 9.
CN202010479290.8A 2020-05-29 2020-05-29 Touch response method, device, terminal and storage medium Active CN111665929B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010479290.8A CN111665929B (en) 2020-05-29 2020-05-29 Touch response method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010479290.8A CN111665929B (en) 2020-05-29 2020-05-29 Touch response method, device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN111665929A CN111665929A (en) 2020-09-15
CN111665929B true CN111665929B (en) 2022-09-16

Family

ID=72385346

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010479290.8A Active CN111665929B (en) 2020-05-29 2020-05-29 Touch response method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN111665929B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112540701A (en) * 2020-12-11 2021-03-23 联想(北京)有限公司 Data processing method, electronic device and storage medium
CN114661147A (en) * 2020-12-23 2022-06-24 神基投资控股股份有限公司 Touch feedback control method of electronic device, touch kit and electronic device
CN118092775B (en) * 2024-04-23 2024-08-06 广州市森锐科技股份有限公司 Touch read-write method, device and equipment for business desktop tablet and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106951114A (en) * 2016-01-07 2017-07-14 北京小米移动软件有限公司 Scan control method and device, electronic equipment
CN107562277A (en) * 2017-09-08 2018-01-09 信利光电股份有限公司 A kind of touch-screen and electronic equipment with pressure detecting function

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9080872B2 (en) * 2009-04-22 2015-07-14 Gps Tuner Kit GPS tuner
CN103235664A (en) * 2013-04-27 2013-08-07 深圳市金立通信设备有限公司 Terminal and control method of touch screen
US9823703B2 (en) * 2014-03-27 2017-11-21 Google Inc. Modules and connections for modules to couple to a computing device
CN104980579A (en) * 2015-06-15 2015-10-14 努比亚技术有限公司 Method and device for setting operation information in mobile terminal
CN107819651B (en) * 2017-09-30 2020-09-22 深圳市艾特智能科技有限公司 Intelligent household equipment control method and device, storage medium and computer equipment
CN109144224B (en) * 2018-09-26 2020-08-07 Oppo广东移动通信有限公司 Power consumption optimization method and device for touch screen
CN109992315B (en) * 2019-04-09 2022-03-25 Oppo广东移动通信有限公司 Touch screen control method and device, terminal and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106951114A (en) * 2016-01-07 2017-07-14 北京小米移动软件有限公司 Scan control method and device, electronic equipment
CN107562277A (en) * 2017-09-08 2018-01-09 信利光电股份有限公司 A kind of touch-screen and electronic equipment with pressure detecting function

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
电容式柔性触控系统的研究与实现;张立;《中国优秀博硕士学位论文全文数据库(硕士)信息科技辑》;20151015;I137-23 *

Also Published As

Publication number Publication date
CN111665929A (en) 2020-09-15

Similar Documents

Publication Publication Date Title
CN111665929B (en) Touch response method, device, terminal and storage medium
CN106598335B (en) A kind of touch screen control method, device and mobile terminal of mobile terminal
CN107765774B (en) Terminal login method and system based on fingerprint identification in standby state
TWI557649B (en) Electronic device and control method for fingerprint recognition apparatus
CN109583356B (en) Fingerprint identification method and related product
JP5389185B2 (en) Illustrated method for selecting and activating an application
CN101782953B (en) Portable electronic device having fingerprint identification function
CN105302373A (en) Method and system for achieving operation of mobile terminal according to touch signals and mobile terminal
CN110869929A (en) Earphone with fingerprint authentication
WO2018165942A1 (en) Terminal device and fingerprint recognition method
CN110515533B (en) Electronic equipment shortcut operation method and device, electronic equipment and storage medium
CN107294522A (en) Response method, device, storage medium and electronic equipment based on touch key-press
CN104951686B (en) Mobile terminal and method for controlling mobile terminal
CN106775087A (en) A kind of touch-screen control method of mobile terminal, device and mobile terminal
CN108292336B (en) Fingerprint acquisition method and terminal
CN111194444A (en) Device wake-up based on fingerprint sensor
US10951754B2 (en) Method for responding to incoming call by means of fingerprint recognition, storage medium, and mobile terminal
CN105892927A (en) Mobile terminal control method and device
CN112099666A (en) Touch control method, system, terminal and storage medium applied to capacitive screen
CN105867786A (en) Terminal control method and device
CN111665985A (en) Touch sampling control method, device, terminal and storage medium
US11175821B2 (en) Pressure touch method and terminal
CN105678199B (en) Input device and information input method
WO2024041452A1 (en) Fingerprint recognition method and apparatus, electronic device and readable storage medium
CN105183320A (en) Terminal device and button operation method thereof

Legal Events

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