CN106325724B - Touch response method and device - Google Patents

Touch response method and device Download PDF

Info

Publication number
CN106325724B
CN106325724B CN201510354045.3A CN201510354045A CN106325724B CN 106325724 B CN106325724 B CN 106325724B CN 201510354045 A CN201510354045 A CN 201510354045A CN 106325724 B CN106325724 B CN 106325724B
Authority
CN
China
Prior art keywords
touch
signal
instruction
response
generation
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
CN201510354045.3A
Other languages
Chinese (zh)
Other versions
CN106325724A (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.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510354045.3A priority Critical patent/CN106325724B/en
Publication of CN106325724A publication Critical patent/CN106325724A/en
Application granted granted Critical
Publication of CN106325724B publication Critical patent/CN106325724B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure relates to a touch response method and device, and belongs to the technical field of touch. The method is used for a mobile terminal comprising at least one touch key and at least one detection unit, wherein the detection area of each detection unit and the response area of each touch key are not overlapped with each other, and the distance between each detection area and at least one response area is smaller than a preset distance threshold, and the method comprises the following steps: when the touch operation of the operation body acting on the touch key and the detection unit is induced, acquiring a first signal generated by the touch key under the action of the touch operation and a second signal generated by the detection unit under the action of the touch operation to obtain a touch signal set; determining a response instruction corresponding to the touch signal set according to the touch signal set; the response instruction is executed. The method and the device can solve the problem that the power consumption is high due to the fact that the touch operation is obtained through the touch screen and the mobile terminal is controlled according to the touch operation, and achieve the effect of reducing resource consumption.

Description

Touch response method and device
Technical Field
The present disclosure relates to the field of touch technologies, and in particular, to a touch response method and device.
Background
Most mobile terminals are provided with touch screens, and the mobile terminals can respond to touch operations of users acting on the touch screens. In the related art, a mobile terminal scans a touch screen line by line to acquire a touch operation, and then responds to the touch operation. For example, when the user wants to view the next picture, a sliding operation may be performed on an album interface displayed on the touch screen, and the mobile terminal determines that the sliding operation is received by scanning the touch screen line by line, and switches the current picture to the next picture.
Disclosure of Invention
To solve the problems in the related art, the present disclosure provides a touch response method and apparatus.
According to a first aspect of the embodiments of the present disclosure, a touch response method is provided, which is used in a mobile terminal including at least one touch key and at least one detection unit, a detection area of each detection unit and a response area of each touch key are not overlapped with each other, and a distance between each detection area and at least one response area is smaller than a predetermined distance threshold, where the method includes:
when a touch operation of an operation body acting on the touch key and the detection unit is induced, acquiring a first signal generated by the touch key under the action of the touch operation and a second signal generated by the detection unit under the action of the touch operation to obtain a touch signal set;
determining a response instruction corresponding to the touch signal set according to the touch signal set;
and executing the response instruction.
Optionally, the touch signal set includes generation parameters of the first signal and the second signal, and the generation parameters include at least one of generation time and generation position.
Optionally, the determining, according to the touch signal set, a response instruction corresponding to the touch signal set includes:
determining a touch instruction corresponding to the touch operation according to the generation parameters of the first signal and the second signal;
and determining the response instruction corresponding to the touch instruction according to the touch instruction.
Optionally, the determining, according to the generation parameters of the first signal and the second signal, a touch instruction corresponding to the touch operation includes:
when the generation parameters comprise the generation time and the generation position, sequencing the corresponding generation positions according to the generation time of the first signal and the generation time of the second signal to obtain an operation path of the touch operation;
and acquiring a touch instruction corresponding to the operation path.
Optionally, the obtaining of the touch instruction corresponding to the operation path includes:
determining an operation direction in the operation path, and acquiring a touch instruction corresponding to the operation direction according to a first corresponding relation, wherein the first corresponding relation is used for storing the relation between different operation directions and different touch instructions; or the like, or, alternatively,
and extracting a preset path included in the operation path, and acquiring a touch instruction corresponding to the preset path according to a second corresponding relation, wherein the second corresponding relation is used for storing the relation between different preset paths and different touch instructions.
Optionally, the method further includes:
adding the number of the first signals and the number of the second signals in the touch signal set to obtain the total number;
detecting whether the total number exceeds a predetermined number threshold;
when the total number exceeds the predetermined number threshold, determining that a touch instruction corresponding to the touch operation exists.
Optionally, the determining, according to the generation parameters of the first signal and the second signal, a touch instruction corresponding to the touch operation includes:
when the generation parameter includes the generation time or the generation position, adding the number of the first signals and the number of the second signals in the touch signal set to obtain a total number;
and acquiring the touch instructions corresponding to the total number according to a third corresponding relation, wherein the third corresponding relation is used for storing the relations between different total numbers and different touch instructions.
According to a second aspect of the embodiments of the present disclosure, there is provided a touch response device, for use in a mobile terminal including at least one touch key and at least one detecting unit, where a detecting area of each detecting unit and a response area of each touch key are not overlapped with each other, and a distance between each detecting area and at least one response area is smaller than a predetermined distance threshold, the device including:
the signal acquisition module is configured to acquire a first signal generated by the touch key under the action of the touch operation and a second signal generated by the detection unit under the action of the touch operation when the touch operation of an operation body acting on the touch key and the detection unit is induced, so as to obtain a touch signal set;
the instruction acquisition module is configured to determine a response instruction corresponding to the touch signal set according to the touch signal set obtained by the signal acquisition module;
and the instruction execution module is configured to execute the response instruction obtained by the instruction acquisition module.
Optionally, the touch signal set includes generation parameters of the first signal and the second signal, and the generation parameters include at least one of generation time and generation position.
Optionally, the instruction obtaining module includes:
the first obtaining sub-module is configured to determine a touch instruction corresponding to the touch operation according to the generation parameters of the first signal and the second signal;
the second obtaining submodule is configured to determine the response instruction corresponding to the touch instruction according to the touch instruction obtained by the first obtaining submodule.
Optionally, the first obtaining sub-module includes:
the path obtaining sub-module is configured to, when the generation parameters include the generation time and the generation position, sort the corresponding generation positions according to the generation time of the first signal and the generation time of the second signal to obtain an operation path of the touch operation;
and the instruction acquisition sub-module is configured to acquire the touch instruction corresponding to the operation path acquired by the path acquisition sub-module.
Optionally, the instruction obtaining sub-module includes:
the third obtaining sub-module is configured to determine an operation direction in the operation path, and obtain a touch instruction corresponding to the operation direction according to a first corresponding relationship, where the first corresponding relationship is used to store a relationship between different operation directions and different touch instructions; or the like, or, alternatively,
and the fourth obtaining sub-module is configured to extract a predetermined path included in the operation path, and obtain a touch instruction corresponding to the predetermined path according to a second corresponding relationship, where the second corresponding relationship is used to store a relationship between different predetermined paths and different touch instructions.
Optionally, the instruction obtaining module further includes:
a first calculation submodule configured to add the number of the first signals and the number of the second signals in the touch signal set to obtain a total number;
a number detection submodule configured to detect whether the total number obtained by the first calculation submodule exceeds a predetermined number threshold;
an instruction determination submodule configured to determine that there is a touch instruction corresponding to the touch operation when the number detection submodule detects that the total number exceeds the predetermined number threshold.
Optionally, the first obtaining sub-module includes:
a second calculation submodule configured to, when the generation parameter includes the generation time or the generation position, add the number of the first signals and the number of the second signals in the touch signal set to obtain a total number;
and the fifth obtaining submodule is configured to obtain the touch instructions corresponding to the total number obtained by the second calculating submodule according to a third corresponding relation, and the third corresponding relation is used for storing the relations between different total numbers and different touch instructions.
According to a third aspect of the embodiments of the present disclosure, there is provided a touch response device, the device comprising:
the touch key comprises at least one touch key and at least one detection unit, wherein a detection area of each detection unit and a response area of each touch key are not overlapped with each other, and the distance between each detection area and at least one response area is smaller than a preset distance threshold value;
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
when a touch operation of an operation body acting on the touch key and the detection unit is induced, acquiring a first signal generated by the touch key under the action of the touch operation and a second signal generated by the detection unit under the action of the touch operation to obtain a touch signal set;
determining a response instruction corresponding to the touch signal set according to the touch signal set;
and executing the response instruction.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
by arranging the touch key and the detection unit in the mobile terminal, when the touch operation of an operation body acting on the touch key and the detection unit is sensed, a first signal generated by the touch key under the action of the touch operation and a second signal generated by the detection unit under the action of the touch operation are obtained, and a touch signal set is obtained; according to the touch signal set, a response instruction corresponding to the touch signal set is determined, the response instruction is executed, the mobile terminal can be controlled through touch operation acting on the touch keys and the detection unit, and the problem that power consumption is high due to the fact that the touch operation is obtained by scanning a large-area touch screen line by line and the mobile terminal is controlled according to the touch operation is solved because the area of an area formed by the touch keys and the detection unit is far smaller than that of the area of the touch screen is solved, and the effect of reducing resource consumption is achieved; in addition, the touch key and the detection unit do not need to respond to touch operation in a bright screen state, the problem of high power consumption caused by the fact that the touch screen can only control the mobile terminal in the bright screen state is solved, and the effect of reducing resource consumption is achieved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1A is a block diagram illustrating a mobile terminal according to an example embodiment.
Fig. 1B is a diagram illustrating a first type of mobile terminal according to an example embodiment.
Fig. 1C is a diagram illustrating a second type of mobile terminal according to an example embodiment.
Fig. 1D is a diagram illustrating a third type of mobile terminal according to an example embodiment.
FIG. 2 is a flow chart illustrating a touch response method according to an exemplary embodiment.
Fig. 3A is a flowchart illustrating a touch response method according to another exemplary embodiment.
FIG. 3B is a schematic diagram illustrating an operational path according to an exemplary embodiment.
FIG. 3C is a schematic diagram illustrating a predetermined path according to an example embodiment.
FIG. 4 is a block diagram illustrating a touch responsive device according to an exemplary embodiment.
FIG. 5 is a block diagram illustrating a touch responsive device according to an exemplary embodiment.
FIG. 6 is a block diagram illustrating an apparatus for touch response in accordance with an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1A is a block diagram illustrating a mobile terminal 100 according to an exemplary embodiment, the mobile terminal 100, as shown in fig. 1A, comprising: the touch key comprises at least one touch key 110, at least one detection unit 120 and a processing unit 130 which is electrically connected with each touch key 110 and each detection unit 120 respectively, wherein the detection area of each detection unit 120 is not overlapped with the response area of each touch key 110, and the distance between each detection area and at least one response area is smaller than a preset distance threshold value.
The touch key 110 is configured to transmit a first signal to the processing unit 130 when a touch operation is received in the response area.
The touch key 110 is used for detecting a touch operation triggered by a user. Each touch key 110 corresponds to a response area, and when there is a touch operation applied to the response area, the touch key 110 generates a capacitance signal and transmits the capacitance signal as a first signal to the processing unit 130. The technology for implementing the touch key 110 in the related art is already mature, and is not described herein.
The detecting unit 120 is configured to send a second signal to the processing unit 130 when the touch operation is received in the detection area.
The detecting unit 120 is used for detecting a touch operation triggered by a user. Each detection unit 120 corresponds to a detection area, and when there is a touch operation applied to the detection area, the detection unit 120 generates a capacitance signal and sends the capacitance signal as a second signal to the processing unit 130. The implementation principle of the detecting unit 120 may be the same as that of the touch key 110, or the same as that of the touch screen, and the implementation technology of the touch screen in the related art is already mature, and is not described herein again.
The touch key 110 and the detecting unit 120 may be electrically connected to the same processing unit 130, or the touch key 110 and the detecting unit 120 may be electrically connected to different processing units 130, respectively, and the number of the processing units 130 is not limited in this embodiment.
In this embodiment, each of the response regions does not overlap with each of the detection regions, and a distance between each of the detection regions and at least one of the response regions is smaller than a predetermined distance threshold. In other words, each detection region is located around at least one response region. Since there are many implementations of the detecting unit 120 around the touch key 110, several implementations are described below:
in a first implementation, at least one of the detection regions is located at the periphery of the corresponding response region.
The detection area may be a closed area such as a "mouth" or an open area such as a "U", and the type of the detection area is not limited in this embodiment. One detection region may correspond to one response region or a plurality of response regions, which is not limited in this embodiment.
Referring to the schematic diagram of the first mobile terminal shown in fig. 1B, it is illustrated that the mobile terminal 100 includes 3 touch keys 110, and the detection area of the detection unit 120 is a "U" shaped opening area, so that each detection area is "U" shaped and surrounds the periphery of a response area, that is, a "U" shaped detection area is sleeved outside each response area.
In a second implementation, there is at least one of the detection regions located between the corresponding two response regions.
The two response regions corresponding to the detection region may be two adjacent response regions or two non-adjacent response regions, which is not limited in this embodiment.
Optionally, a detection area may be disposed between the two response areas, please refer to the schematic diagram of the second mobile terminal shown in fig. 1C, in which the mobile terminal 100 in fig. 1C includes 3 touch keys 110, and a detection unit 120 is spaced between every two adjacent touch keys 110.
Optionally, a plurality of detection areas may be disposed between the two response areas, please refer to the schematic diagram of the third mobile terminal shown in fig. 1D, in which the mobile terminal 100 in fig. 1D includes 3 touch keys 110, and two detection units 120 are spaced between every two adjacent touch keys 110.
In a third implementation, there is at least one of the detection regions located on the lower side of the corresponding response region.
The detecting region may correspond to a response region, and the detecting region may be located right below the response region, please refer to fig. 1D, where the detecting region in fig. 1D is located right below the response region; the detecting region may also correspond to a plurality of response regions, and the detecting region may be located at the lower side of two response regions at the same time, please refer to fig. 1C, where the detecting region in fig. 1C is located at the lower side of two response regions at the same time.
Optionally, at least one of the detection regions is located above the corresponding response region. The detection region may correspond to a response region, and the detection region may be located right above the response region; the detecting region may also correspond to a plurality of response regions, and the detecting region may be located on the upper side of two response regions at the same time.
It should be noted that the above three implementation manners may also be combined, for example, a detecting unit 120 is disposed on the upper side of the touch key 110 in fig. 1B, or a detecting unit 120 is disposed on the upper side of the touch key 110 in fig. 1C, and the like, and the combination manner is not limited in this embodiment.
It should be noted that, when the touch keys 110 in the mobile terminal 100 are arranged in sequence, at least one detection area may be disposed on the left side of the first touch key 110 in the arrangement direction, and at least one detection area may be disposed on the right side of the last touch key 110 in the arrangement direction.
Optionally, the mobile terminal 100 further includes a display screen component 140, and a distance between at least one of the response regions and the display screen component 140 is smaller than a predetermined interval threshold.
When the distance between the response area and the display screen assembly 140 is smaller than the predetermined interval threshold, the touch operation triggered by the user is applied to the display screen assembly 140, and at this time, the display screen assembly 140 displays content according to the touch operation, and the user can know that the touch operation is triggered by the user according to the display content, and does not need to detect the touch operation by arranging the detection unit 120 between the response area and the display screen assembly 140, so that the number of the detection units 120 can be reduced, and the cost is saved. Therefore, when the distance between the response area and the display screen component 140 is less than the predetermined spacing threshold, no detection area exists between the response area and the display screen component 140.
Fig. 2 is a flowchart illustrating a touch response method according to an exemplary embodiment, where the touch response method is applied to the mobile terminal shown in fig. 1A to 1D, and as shown in fig. 2, the touch response method includes the following steps.
In step 201, when a touch operation performed by the operation body on the touch key and the detection unit is sensed, a first signal generated by the touch key under the touch operation and a second signal generated by the detection unit under the touch operation are obtained, so as to obtain a touch signal set.
In step 202, a response command corresponding to the touch signal set is determined according to the touch signal set.
In step 203, the response instruction is executed.
In summary, in the touch response method provided by the present disclosure, by providing the touch key and the detection unit in the mobile terminal, when a touch operation performed by the operation body on the touch key and the detection unit is sensed, a first signal generated by the touch key under the action of the touch operation and a second signal generated by the detection unit under the action of the touch operation are obtained, so as to obtain a touch signal set; according to the touch signal set, a response instruction corresponding to the touch signal set is determined, the response instruction is executed, the mobile terminal can be controlled through touch operation acting on the touch keys and the detection unit, and the problem that power consumption is high due to the fact that the touch operation is obtained by scanning a large-area touch screen line by line and the mobile terminal is controlled according to the touch operation is solved because the area of an area formed by the touch keys and the detection unit is far smaller than that of the area of the touch screen is solved, and the effect of reducing resource consumption is achieved; in addition, the touch key and the detection unit do not need to respond to touch operation in a bright screen state, the problem of high power consumption caused by the fact that the touch screen can only control the mobile terminal in the bright screen state is solved, and the effect of reducing resource consumption is achieved.
Fig. 3A is a flowchart illustrating a touch response method according to another exemplary embodiment, where the touch response method is applied to the mobile terminal shown in fig. 1A to 1D, and as shown in fig. 3A, the touch response method includes the following steps.
In step 301, when a touch operation performed by an operation body on the touch key and the detection unit is sensed, a first signal generated by the touch key under the touch operation and a second signal generated by the detection unit under the touch operation are obtained, so as to obtain a touch signal set.
In this embodiment, the operation body may be a finger of the user or the like. The touch operation sensed by the mobile terminal acts on both the touch key and the detection unit.
The touch operation and the contact point of the mobile terminal are called as a contact point, when the contact point is positioned in the response area of the touch key, the touch key generates a first signal, and when the contact point is positioned in the detection area of the detection unit, the detection unit generates a second signal. In this embodiment, the touch points of the touch operation act on the at least one response area and the at least one detection area, so that the mobile terminal can acquire the at least one first signal and the at least one second signal and store the first signal and the second signal into the touch signal set.
Optionally, the mobile terminal may further record the generation time of each first signal and each second signal, and store the generation time as a generation parameter in the touch signal set; or the mobile terminal can record the generation position of each first signal and each second signal, and store the generation position as a generation parameter into the touch signal set; or, the mobile terminal may further record the generation time and the generation position of each first signal and the generation time and the generation position of each second signal, and store the generation time and the generation position as the generation parameters in the touch signal set. That is, the touch signal set includes generation parameters of the first signal and the second signal, and the generation parameters include at least one of generation time and generation position. The generation position of the first signal may be a position of a touch key generating the first signal, and the generation position of the second signal may be a position of a detection unit generating the second signal.
In step 302, the number of the first signals and the number of the second signals in the touch signal set are added to obtain a total number; detecting whether the total number exceeds a predetermined number threshold; and when the total number exceeds a preset number threshold value, determining that a touch instruction corresponding to the touch operation exists.
The touch instruction refers to an instruction obtained after the mobile terminal identifies the touch operation. For example, when the touch operation is a sliding operation, the touch instruction is a sliding instruction; when the touch operation is a click operation, the touch instruction is a click instruction or the like. The following description will be given taking the case where the touch operation is a slide operation.
When the touch operation is a sliding operation, if the sliding distance of the sliding operation is too short, the mobile terminal may not recognize the sliding operation, and thus cannot acquire the touch instruction corresponding to the sliding operation. Wherein the sliding distance of the sliding operation may be represented by the number of the first signal and the second signal.
The mobile terminal may preset a predetermined number threshold, add the number of the first signals and the number of the second signals in the touch signal set to obtain a total number, screen out touch operations whose total number exceeds the predetermined number threshold, and determine that a touch instruction corresponding to the touch operation exists. The mobile terminal can determine whether a touch instruction exists according to the total number of the first signal and the second signal, and then obtains the touch instruction when the touch instruction exists, so that the problem of resource waste caused by obtaining the touch instruction when the touch instruction does not exist is solved, and the effect of reducing resource consumption is achieved.
When the total number of the first signals and the second signals in the touch signal set is calculated, it is assumed that the number of the first signals included in the touch signal set obtained according to the touch operation is 3, the number of the second signals is 5, and the total number is 8.
After determining that the touch instruction corresponding to the touch operation exists, the mobile terminal may determine an acquisition mode of the touch instruction according to the content of the generated parameter. When the generation parameters include the generation time and the generation position, executing steps 303 and 304 to obtain a touch instruction; when the generation parameter includes the generation time or the generation position, step 305 is executed to acquire the touch instruction.
In step 303, when the generation parameters include generation time and generation positions, sorting the corresponding generation positions according to the generation time of the first signal and the generation time of the second signal to obtain an operation path of the touch operation.
Since each first signal corresponds to one generation time and one generation position, and each second signal corresponds to one generation time and one generation position, the mobile terminal may arrange the corresponding generation positions according to the generation times of the respective first and second signals, and determine the arranged path as the operation path. For example, the touch signal set includes a second signal, a first signal, a second signal, and a first signal arranged from early to late according to the generation time, where the generation position of the first second signal is the position of the detection unit on the right side of the home key, the generation position of the second first signal is the position of the home key, the generation position of the third second signal is the position of the detection unit on the left side of the home key, the generation position of the fourth second signal is the position of the detection unit on the right side of the menu key, and the generation position of the fifth first signal is the position of the menu key, then the operation path is: the home page key comprises a detection unit on the right side of the home page key, a detection unit on the left side of the home page key, a detection unit on the right side of the menu key and the menu key. Or the like, or, alternatively,
the mobile terminal can determine each touch key for generating each first signal from the at least one touch key, determine each detection unit for generating each second signal from the at least one detection unit, and determine an arrangement sequence between each touch key and each detection unit according to the generation time of the first signal and the second signal to obtain an operation path. For example, the touch signal set includes second signals, first signals, second signals, and first signals arranged from early to late according to the generation time, where the first second signal is generated by the detection unit on the right side of the home key, the second first signal is generated by the home key, the third second signal is generated by the detection unit on the left side of the home key, the fourth second signal is generated by the detection unit on the right side of the menu key, and the fifth first signal is generated by the menu key, then the operation path is: the home page key comprises a detection unit on the right side of the home page key, a detection unit on the left side of the home page key, a detection unit on the right side of the menu key and the menu key.
Referring to the schematic diagram of the operation path shown in fig. 3B, fig. 3B illustrates an example in which the touch operation is a sliding operation and the sliding operation is performed in the mobile terminal shown in fig. 1D. In fig. 3B, the sliding operation in the operation direction from left to right corresponds to the first operation path, the sliding operation in the operation direction from right to left corresponds to the second operation path, the sliding operation in the operation direction from left to right and then from right to left corresponds to the third operation path, and the sliding operation in the operation direction from top to bottom corresponds to the fourth operation path.
In step 304, a touch instruction corresponding to the operation path is obtained, and step 306 is executed.
The present embodiment provides two methods for determining a touch instruction according to an operation path, and the two determination methods are described below.
In the first determination method, an operation direction in an operation path is determined, and a touch instruction corresponding to the operation direction is obtained according to a first corresponding relationship, where the first corresponding relationship is used to store a relationship between different operation directions and different touch instructions.
The mobile terminal presets a first corresponding relation, and after the operation direction is determined according to the operation path, a touch instruction corresponding to the operation direction is searched in the first corresponding relation. For example, the first corresponding relationship is that the operation direction corresponds to a leftward sliding instruction, the operation direction corresponds to a rightward sliding instruction, and the operation direction of the current touch operation is leftward, it is determined that the touch instruction is a leftward sliding instruction.
In the second determination method, a predetermined path included in the operation path is extracted, and the touch instruction corresponding to the predetermined path is obtained according to a second corresponding relationship, where the second corresponding relationship is used to store a relationship between different predetermined paths and different touch instructions.
The predetermined path is a path having a definite starting point, an end point and an operation direction, wherein the touch key can be used as the starting point or the end point, and the detection unit can be used as the starting point or the end point. For example, the first predetermined path is a path with the home key as a starting point, the detecting unit on the right side of the return key as an end point, and the operation direction is toward the right, or the second predetermined path is a path with the home key as a starting point, the detecting unit on the left side of the menu key as an end point, and the operation direction is toward the left, and so on, please refer to the schematic diagram of the predetermined path shown in fig. 3C.
The operation path includes the predetermined path means that the start point and the end point of the predetermined path are both located in the operation path, and the direction of the predetermined path is the same as the operation direction of the operation path. Still taking the second operation path and the predetermined path as an example, since the starting point of the predetermined path is the detecting unit on the right side of the home key, the starting point is located in the second operation path, the ending point of the predetermined path is the detecting unit on the left side of the home key, and the ending point is located in the second operation path, and the operation direction of the predetermined path and the operation direction of the second operation path are both to the left, it can be determined that the second operation path includes the predetermined path.
The mobile terminal presets a second corresponding relation, and after the preset path is extracted, a touch instruction corresponding to the preset path is searched in the second corresponding relation. For example, if the first predetermined path corresponds to a rightward sliding command, the second predetermined path corresponds to a leftward sliding command, and the first predetermined path is extracted from the current operation path, it is determined that the touch command is the rightward sliding command.
In step 305, when the generation parameter includes a generation time or a generation position, adding the number of the first signals and the number of the second signals in the touch signal set to obtain a total number; and acquiring the touch instructions corresponding to the total number according to a third corresponding relation, wherein the third corresponding relation is used for storing the relations between different total numbers and different touch instructions.
The process of calculating the total number of the first signal and the second signal is described in step 302, and is not described herein again.
When a touch instruction is stored in the mobile terminal, the mobile terminal can preset a threshold, and when the total number of the first signal and the second signal in the touch signal set exceeds the threshold, the mobile terminal acquires the touch instruction; when the mobile terminal stores a plurality of touch instructions, the mobile terminal may preset a third corresponding relationship, and when the total number of the first signal and the total number of the second signal are obtained, the touch instructions corresponding to the total number are searched in the third corresponding relationship. For example, if the total number is 5 and 8, respectively, and the total number of the first signal and the second signal in the touch signal set is 8, it is determined that the touch command is a right slide command.
In step 306, a response command corresponding to the touch command is determined according to the touch command.
The mobile terminal can obtain the response instructions according to the determined touch instructions, and one touch instruction corresponds to one response instruction. When the touch operation is applied in different scenes, different response instructions may be set for the touch instruction, and this embodiment is illustrated by using several application scenes, and does not limit the application scenes. The response instruction in this embodiment includes at least one of:
1) rejecting a response of the running application program to a touch operation, and allowing the running application program to respond to the touch operation, wherein the touch operation is an operation acting on a touch key and/or a detection unit;
2) increasing the adjusting parameters and reducing the adjusting parameters;
3) switching the current content to the next content and switching the current content to the previous content;
4) and switching the horizontal screen display state into the vertical screen display state and switching the vertical screen display state into the horizontal screen display state.
In a first application scenario, the mobile terminal may control the response of the application program to the touch operation through the touch operation.
When the mobile terminal is running an application program which does not need to be controlled by the user in the running process, if the user holds the mobile terminal and may touch the touch key and/or the detection unit, the mobile terminal responds to the touch operation at the moment, so that the application program is controlled according to the touch operation. Or, when the mobile terminal is running an application program that needs user control during running, the mobile terminal may set the response instruction to allow the running application program to respond to the touch operation.
For example, when the user holds the mobile terminal to watch a video, the mobile terminal may set the response instruction to reject the response of the player to the touch operation; when the user browses the webpage by holding the mobile terminal, the mobile terminal can set the response instruction as a response allowing the browser to respond to the touch operation.
In a second application scenario, the mobile terminal may adjust an adjustment parameter in the mobile terminal through a touch operation.
The adjusting parameter may be an adjustable parameter in the mobile terminal, such as volume, brightness, system time, and the like, and the adjusting parameter is not limited in this embodiment.
In a third application scenario, the mobile terminal may switch the content through a touch operation.
The content may be a picture, a reading interface, a desktop page, and the like, and the content is not limited in this embodiment.
In a fourth application scenario, the mobile terminal may switch the display state of the screen through touch operation.
For example, when playing a video, the mobile terminal may switch the vertical screen display state to the horizontal screen display state, and when finishing playing the video, the mobile terminal may switch the horizontal screen display state to the vertical screen display state.
When the response instruction is obtained according to the touch instruction, the mobile terminal presets a fourth corresponding relation, and searches the response instruction corresponding to the touch instruction in the fourth corresponding relation. For example, the fourth corresponding relationship is that the leftward sliding instruction corresponds to an increase adjustment parameter, the rightward sliding instruction corresponds to a decrease adjustment parameter, and the touch instruction obtained by the mobile terminal according to the current touch operation is the leftward sliding instruction, and it is determined that the response instruction is the increase adjustment parameter. For another example, the fourth correspondence is that the leftward sliding instruction corresponds to a response to the touch operation of the application program that is rejected to be running, the rightward sliding instruction corresponds to a response to the touch operation of the application program that is allowed to be running, and the touch instruction obtained by the mobile terminal according to the current touch operation is the rightward sliding instruction, it is determined that the response instruction is a response to the touch operation of the application program that is allowed to be running.
In step 307, the response instruction is executed.
In summary, in the touch response method provided by the present disclosure, by providing the touch key and the detection unit in the mobile terminal, when a touch operation performed by the operation body on the touch key and the detection unit is sensed, a first signal generated by the touch key under the action of the touch operation and a second signal generated by the detection unit under the action of the touch operation are obtained, so as to obtain a touch signal set; according to the touch signal set, a response instruction corresponding to the touch signal set is determined, the response instruction is executed, the mobile terminal can be controlled through touch operation acting on the touch keys and the detection unit, and the problem that power consumption is high due to the fact that the touch operation is obtained by scanning a large-area touch screen line by line and the mobile terminal is controlled according to the touch operation is solved because the area of an area formed by the touch keys and the detection unit is far smaller than that of the area of the touch screen is solved, and the effect of reducing resource consumption is achieved; in addition, the touch key and the detection unit do not need to respond to touch operation in a bright screen state, the problem of high power consumption caused by the fact that the touch screen can only control the mobile terminal in the bright screen state is solved, and the effect of reducing resource consumption is achieved.
In addition, the total number is obtained by adding the number of the first signals and the number of the second signals in the touch signal set; detecting whether the total number exceeds a predetermined number threshold; when the total number exceeds the predetermined number threshold, it is determined that a touch instruction corresponding to the touch operation exists, whether the touch instruction exists can be determined according to the total number of the first signal and the second signal, and the touch instruction is obtained through calculation when the touch instruction exists, so that the problem of resource waste caused by obtaining a response instruction by calculating an operation path when the touch instruction does not exist is solved, and the effect of reducing resource consumption is achieved.
Fig. 4 is a block diagram illustrating a touch response device according to an exemplary embodiment, where the touch response device is applied to the mobile terminal shown in fig. 1A to 1D, and as shown in fig. 4, the touch response device includes: a signal acquisition module 410, an instruction acquisition module 420, and an instruction execution module 430.
The signal obtaining module 410 is configured to, when a touch operation performed by the operation body on the touch key and the detecting unit is sensed, obtain a first signal generated by the touch key under the touch operation and a second signal generated by the detecting unit under the touch operation, so as to obtain a touch signal set;
the instruction obtaining module 420 is configured to determine a response instruction corresponding to the touch signal set according to the touch signal set obtained by the signal obtaining module 410;
the instruction execution module 430 is configured to execute the response instruction obtained by the instruction obtaining module 420.
In summary, in the touch response device provided by the present disclosure, the touch key and the detection unit are arranged in the mobile terminal, and when a touch operation performed by the operation body on the touch key and the detection unit is sensed, a first signal generated by the touch key under the action of the touch operation and a second signal generated by the detection unit under the action of the touch operation are obtained, so as to obtain a touch signal set; according to the touch signal set, a response instruction corresponding to the touch signal set is determined, the response instruction is executed, the mobile terminal can be controlled through touch operation acting on the touch keys and the detection unit, and the problem that power consumption is high due to the fact that the touch operation is obtained by scanning a large-area touch screen line by line and the mobile terminal is controlled according to the touch operation is solved because the area of an area formed by the touch keys and the detection unit is far smaller than that of the area of the touch screen is solved, and the effect of reducing resource consumption is achieved; in addition, the touch key and the detection unit do not need to respond to touch operation in a bright screen state, the problem of high power consumption caused by the fact that the touch screen can only control the mobile terminal in the bright screen state is solved, and the effect of reducing resource consumption is achieved.
Fig. 5 is a block diagram illustrating a touch response device according to an exemplary embodiment, where the touch response device is applied to the mobile terminal shown in fig. 1A to 1D, and as shown in fig. 5, the touch response device includes: a signal acquisition module 510, an instruction acquisition module 520, and an instruction execution module 530.
The signal obtaining module 510 is configured to, when a touch operation performed by the operation body on the touch key and the detecting unit is sensed, obtain a first signal generated by the touch key under the touch operation and a second signal generated by the detecting unit under the touch operation, so as to obtain a touch signal set;
the instruction obtaining module 520 is configured to determine a response instruction corresponding to the touch signal set according to the touch signal set obtained by the signal obtaining module 510;
the instruction execution module 530 is configured to execute the response instruction obtained by the instruction obtaining module 520.
Optionally, the touch signal set includes generation parameters of the first signal and the second signal, and the generation parameters include at least one of generation time and generation position.
Optionally, the instruction obtaining module 520 includes: a first acquisition submodule 521 and a second acquisition submodule 522;
the first obtaining submodule 521 is configured to determine a touch instruction corresponding to a touch operation according to the generation parameters of the first signal and the second signal;
the second obtaining submodule 522 is configured to determine a response instruction corresponding to the touch instruction according to the touch instruction obtained by the first obtaining submodule 521.
Optionally, the first obtaining sub-module 521 includes: a path acquisition submodule 5211 and an instruction acquisition submodule 5212;
the path obtaining submodule 5211 is configured to, when the generation parameter includes a generation time and a generation position, sort the corresponding generation positions according to the generation times of the first signal and the second signal, and obtain an operation path of the touch operation;
the instruction obtaining submodule 5212 is configured to obtain a touch instruction corresponding to the operation path obtained by the path obtaining submodule 5211.
Optionally, the instruction obtaining submodule 5212 includes: a third acquisition submodule 52121 or a fourth acquisition submodule 52122;
the third obtaining submodule 52121 is configured to determine an operation direction in the operation path, and obtain a touch instruction corresponding to the operation direction according to a first corresponding relationship, where the first corresponding relationship is used to store a relationship between different operation directions and different touch instructions; or the like, or, alternatively,
the fourth obtaining sub-module 52122 is configured to extract a predetermined path included in the operation path, and obtain a touch instruction corresponding to the predetermined path according to a second corresponding relationship, where the second corresponding relationship is used to store a relationship between different predetermined paths and different touch instructions.
Optionally, the instruction obtaining module 520 further includes: a first calculation submodule 523, a number detection submodule 524 and an instruction determination submodule 525;
the first calculating submodule 523 configured to add the number of the first signals and the number of the second signals in the touch signal set to obtain a total number;
the number detection submodule 524 configured to detect whether the total number obtained by the first calculation submodule 523 exceeds a predetermined number threshold;
the instruction determining submodule 525 is configured to determine that there is a touch instruction corresponding to the touch operation when the number detecting submodule 524 detects that the total number exceeds a predetermined number threshold.
Optionally, the first obtaining sub-module 521 includes: a second calculation submodule 5213 and a fifth acquisition submodule 5214;
the second calculating submodule 5213 is configured to, when the generation parameter includes the generation time or the generation position, add the number of the first signals and the number of the second signals in the touch signal set to obtain the total number;
the fifth obtaining sub-module 5214 is configured to obtain the touch instructions corresponding to the total number obtained by the second calculating sub-module 5213 according to a third corresponding relationship, where the third corresponding relationship is used to store the relationship between different total numbers and different touch instructions.
In summary, in the touch response device provided by the present disclosure, the touch key and the detection unit are arranged in the mobile terminal, and when a touch operation performed by the operation body on the touch key and the detection unit is sensed, a first signal generated by the touch key under the action of the touch operation and a second signal generated by the detection unit under the action of the touch operation are obtained, so as to obtain a touch signal set; according to the touch signal set, a response instruction corresponding to the touch signal set is determined, the response instruction is executed, the mobile terminal can be controlled through touch operation acting on the touch keys and the detection unit, and the problem that power consumption is high due to the fact that the touch operation is obtained by scanning a large-area touch screen line by line and the mobile terminal is controlled according to the touch operation is solved because the area of an area formed by the touch keys and the detection unit is far smaller than that of the area of the touch screen is solved, and the effect of reducing resource consumption is achieved; in addition, the touch key and the detection unit do not need to respond to touch operation in a bright screen state, the problem of high power consumption caused by the fact that the touch screen can only control the mobile terminal in the bright screen state is solved, and the effect of reducing resource consumption is achieved.
In addition, the total number is obtained by adding the number of the first signals and the number of the second signals in the touch signal set; detecting whether the total number exceeds a predetermined number threshold; when the total number exceeds the predetermined number threshold, it is determined that a touch instruction corresponding to the touch operation exists, whether the touch instruction exists can be determined according to the total number of the first signal and the second signal, and the touch instruction is obtained through calculation when the touch instruction exists, so that the problem of resource waste caused by obtaining the touch instruction by calculating an operation path when the touch instruction does not exist is solved, and the effect of reducing resource consumption is achieved.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
An exemplary embodiment of the present disclosure provides a touch response device, which can implement the touch response method provided by the present disclosure, and the touch response device includes: the touch key comprises at least one touch key and at least one detection unit, wherein the detection area of each detection unit is not overlapped with the response area of each touch key, and the distance between each detection area and at least one response area is smaller than a preset distance threshold value; a processor, a memory for storing processor-executable instructions;
wherein the processor is configured to:
when the touch operation of the operation body acting on the touch key and the detection unit is induced, acquiring a first signal generated by the touch key under the action of the touch operation and a second signal generated by the detection unit under the action of the touch operation to obtain a touch signal set;
determining a response instruction corresponding to the touch signal set according to the touch signal set;
the response instruction is executed.
FIG. 6 is a block diagram illustrating an apparatus 600 for touch response according to an example embodiment. For example, the apparatus 600 may be a mobile phone, a computer, a digital broadcast mobile terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 6, apparatus 600 may include one or more of the following components: processing component 602, memory 604, power component 606, multimedia component 608, audio component 610, input/output (I/O) interface 612, sensor component 614, and communication component 616.
The processing component 602 generally controls overall operation of the device 600, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 602 may include one or more processors 620 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 602 can include one or more modules that facilitate interaction between the processing component 602 and other components. For example, the processing component 602 can include a multimedia module to facilitate interaction between the multimedia component 608 and the processing component 602.
The memory 604 is configured to store various types of data to support operations at the apparatus 600. Examples of such data include instructions for any application or method operating on device 600, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 604 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power supply component 606 provides power to the various components of device 600. The power components 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 600.
The multimedia component 608 includes a screen that provides an output interface between the device 600 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 608 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 600 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 610 is configured to output and/or input audio signals. For example, audio component 610 includes a Microphone (MIC) configured to receive external audio signals when apparatus 600 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 604 or transmitted via the communication component 616. In some embodiments, audio component 610 further includes a speaker for outputting audio signals.
The I/O interface 612 provides an interface between the processing component 602 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 614 includes one or more sensors for providing status assessment of various aspects of the apparatus 600. For example, the sensor component 614 may detect an open/closed state of the device 600, the relative positioning of components, such as a display and keypad of the device 600, the sensor component 614 may also detect a change in position of the device 600 or a component of the device 600, the presence or absence of user contact with the device 600, orientation or acceleration/deceleration of the device 600, and a change in temperature of the device 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 614 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 614 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 616 is configured to facilitate communications between the apparatus 600 and other devices in a wired or wireless manner. The apparatus 600 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 616 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 616 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 600 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 604 comprising instructions, executable by the processor 620 of the apparatus 600 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (7)

1. A touch response method is used in a mobile terminal comprising at least one touch key and at least one detection unit, wherein a detection area of each detection unit and a response area of each touch key are not overlapped with each other, and the distance between each detection area and at least one response area is less than a preset distance threshold, and the method comprises the following steps:
when a touch operation of an operation body acting on the touch key and the detection unit is sensed, acquiring a first signal generated by the touch key under the action of the touch operation and a second signal generated by the detection unit under the action of the touch operation to obtain a touch signal set, wherein the touch signal set comprises generation parameters of the first signal and the second signal, and the generation parameters comprise at least one of generation time and generation position;
determining a touch instruction corresponding to the touch operation according to the generation parameters of the first signal and the second signal;
adding the number of the first signals and the number of the second signals in the touch signal set to obtain the total number; detecting whether the total number exceeds a predetermined number threshold; when the total number exceeds the preset number threshold value, determining that a touch instruction corresponding to the touch operation exists;
determining the response instruction corresponding to the touch instruction according to the touch instruction;
executing the response instruction;
the determining, according to the generation parameters of the first signal and the second signal, a touch instruction corresponding to the touch operation includes:
when the generation parameters comprise the generation time and the generation position, sequencing the corresponding generation positions according to the generation time of the first signal and the generation time of the second signal to obtain an operation path of the touch operation, wherein the operation path comprises a predetermined path with a definite starting point, an end point and an operation direction;
acquiring a touch instruction corresponding to the operation path;
the detection area comprises at least one detection area positioned between two corresponding response areas, and/or the detection area comprises at least one detection area positioned at the periphery of the corresponding response area, and/or the detection area comprises at least one detection area positioned at the lower side of the corresponding response area.
2. The method of claim 1, wherein the obtaining the touch instruction corresponding to the operation path comprises:
determining an operation direction in the operation path, and acquiring a touch instruction corresponding to the operation direction according to a first corresponding relation, wherein the first corresponding relation is used for storing the relation between different operation directions and different touch instructions; or the like, or, alternatively,
and extracting the preset path included in the operation path, and acquiring the touch instruction corresponding to the preset path according to a second corresponding relation, wherein the second corresponding relation is used for storing the relation between different preset paths and different touch instructions.
3. The method according to claim 1, wherein determining a touch instruction corresponding to the touch operation according to the generation parameters of the first signal and the second signal further comprises:
when the generation parameter includes the generation time or the generation position, adding the number of the first signals and the number of the second signals in the touch signal set to obtain a total number;
and acquiring the touch instructions corresponding to the total number according to a third corresponding relation, wherein the third corresponding relation is used for storing the relations between different total numbers and different touch instructions.
4. A touch response device is used in a mobile terminal comprising at least one touch key and at least one detection unit, wherein a detection area of each detection unit and a response area of each touch key are not overlapped with each other, and a distance between each detection area and at least one response area is less than a predetermined distance threshold, the device comprising:
the signal acquisition module is configured to acquire a first signal generated by the touch key under the action of the touch operation and a second signal generated by the detection unit under the action of the touch operation when the touch operation of an operation body acting on the touch key and the detection unit is sensed, so as to obtain a touch signal set, wherein the touch signal set comprises generation parameters of the first signal and the second signal, and the generation parameters comprise at least one of generation time and generation position;
an instruction acquisition module comprising:
the first obtaining sub-module is configured to determine a touch instruction corresponding to the touch operation according to the generation parameters of the first signal and the second signal;
a first calculation submodule configured to add the number of the first signals and the number of the second signals in the touch signal set to obtain a total number;
a number detection submodule configured to detect whether the total number obtained by the first calculation submodule exceeds a predetermined number threshold;
an instruction determination submodule configured to determine that there is a touch instruction corresponding to the touch operation when the number detection submodule detects that the total number exceeds the predetermined number threshold;
the second obtaining submodule is configured to determine the response instruction corresponding to the touch instruction according to the touch instruction obtained by the first obtaining submodule;
the instruction execution module is configured to execute the response instruction obtained by the instruction acquisition module;
the first obtaining sub-module includes:
a path obtaining sub-module configured to, when the generation parameter includes the generation time and the generation position, sort the corresponding generation positions according to the generation time of the first signal and the generation time of the second signal to obtain an operation path of the touch operation, where the operation path includes a predetermined path including a clear start point, an end point, and an operation direction;
the instruction acquisition sub-module is configured to acquire a touch instruction corresponding to the operation path acquired by the path acquisition sub-module;
the detection area comprises at least one detection area positioned between two corresponding response areas, and/or the detection area comprises at least one detection area positioned at the periphery of the corresponding response area, and/or the detection area comprises at least one detection area positioned at the lower side of the corresponding response area.
5. The apparatus of claim 4, wherein the instruction fetch submodule comprises:
the third obtaining sub-module is configured to determine an operation direction in the operation path, and obtain a touch instruction corresponding to the operation direction according to a first corresponding relationship, where the first corresponding relationship is used to store a relationship between different operation directions and different touch instructions; or the like, or, alternatively,
and the fourth obtaining sub-module is configured to extract the predetermined path included in the operation path, and obtain the touch instruction corresponding to the predetermined path according to a second corresponding relationship, where the second corresponding relationship is used to store a relationship between different predetermined paths and different touch instructions.
6. The apparatus of claim 4, wherein the first obtaining sub-module further comprises:
a second calculation submodule configured to, when the generation parameter includes the generation time or the generation position, add the number of the first signals and the number of the second signals in the touch signal set to obtain a total number;
and the fifth obtaining submodule is configured to obtain the touch instructions corresponding to the total number obtained by the second calculating submodule according to a third corresponding relation, and the third corresponding relation is used for storing the relations between different total numbers and different touch instructions.
7. A touch-responsive device, the device comprising:
the touch key comprises at least one touch key and at least one detection unit, wherein a detection area of each detection unit and a response area of each touch key are not overlapped with each other, and the distance between each detection area and at least one response area is smaller than a preset distance threshold value;
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
when a touch operation of an operation body acting on the touch key and the detection unit is sensed, acquiring a first signal generated by the touch key under the action of the touch operation and a second signal generated by the detection unit under the action of the touch operation to obtain a touch signal set, wherein the touch signal set comprises generation parameters of the first signal and the second signal, and the generation parameters comprise at least one of generation time and generation position;
determining a touch instruction corresponding to the touch operation according to the generation parameters of the first signal and the second signal;
adding the number of the first signals and the number of the second signals in the touch signal set to obtain the total number; detecting whether the total number exceeds a predetermined number threshold; when the total number exceeds the preset number threshold value, determining that a touch instruction corresponding to the touch operation exists;
determining the response instruction corresponding to the touch instruction according to the touch instruction;
executing the response instruction;
the determining, according to the generation parameters of the first signal and the second signal, a touch instruction corresponding to the touch operation includes:
when the generation parameters comprise the generation time and the generation position, sequencing the corresponding generation positions according to the generation time of the first signal and the generation time of the second signal to obtain an operation path of the touch operation, wherein the operation path comprises a predetermined path with a definite starting point, an end point and an operation direction;
acquiring a touch instruction corresponding to the operation path;
the detection area comprises at least one detection area positioned between two corresponding response areas, and/or the detection area comprises at least one detection area positioned at the periphery of the corresponding response area, and/or the detection area comprises at least one detection area positioned at the lower side of the corresponding response area.
CN201510354045.3A 2015-06-24 2015-06-24 Touch response method and device Active CN106325724B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510354045.3A CN106325724B (en) 2015-06-24 2015-06-24 Touch response method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510354045.3A CN106325724B (en) 2015-06-24 2015-06-24 Touch response method and device

Publications (2)

Publication Number Publication Date
CN106325724A CN106325724A (en) 2017-01-11
CN106325724B true CN106325724B (en) 2020-02-07

Family

ID=57729434

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510354045.3A Active CN106325724B (en) 2015-06-24 2015-06-24 Touch response method and device

Country Status (1)

Country Link
CN (1) CN106325724B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109683802B (en) * 2018-12-24 2021-04-20 维沃移动通信有限公司 Icon moving method and terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102073403A (en) * 2009-11-24 2011-05-25 联发科技股份有限公司 Touch sensitive apparatus and method for providing side touch panel
CN102662463A (en) * 2012-03-22 2012-09-12 上海华勤通讯技术有限公司 Mobile terminal and identification method
CN103616988A (en) * 2013-12-10 2014-03-05 深圳市中兴移动通信有限公司 Information processing method and mobile terminal
CN104571709A (en) * 2015-01-07 2015-04-29 小米科技有限责任公司 Mobile terminal and processing method of virtual keys

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090256809A1 (en) * 2008-04-14 2009-10-15 Sony Ericsson Mobile Communications Ab Three-dimensional touch interface

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102073403A (en) * 2009-11-24 2011-05-25 联发科技股份有限公司 Touch sensitive apparatus and method for providing side touch panel
CN102662463A (en) * 2012-03-22 2012-09-12 上海华勤通讯技术有限公司 Mobile terminal and identification method
CN103616988A (en) * 2013-12-10 2014-03-05 深圳市中兴移动通信有限公司 Information processing method and mobile terminal
CN104571709A (en) * 2015-01-07 2015-04-29 小米科技有限责任公司 Mobile terminal and processing method of virtual keys

Also Published As

Publication number Publication date
CN106325724A (en) 2017-01-11

Similar Documents

Publication Publication Date Title
US10102361B2 (en) Method and apparatus for implementing touch key and fingerprint identification, and terminal device
CN106951884B (en) Fingerprint acquisition method and device and electronic equipment
RU2633187C1 (en) Management method, device and equipment for adjustment of shooting function
US11334225B2 (en) Application icon moving method and apparatus, terminal and storage medium
US20170344192A1 (en) Method and device for playing live videos
US10025393B2 (en) Button operation processing method in single-hand mode
CN107102772B (en) Touch control method and device
US10628649B2 (en) Fingerprint recognition proccess
CN106357934B (en) Screen locking control method and device
EP3242204A1 (en) Method and device for multi-task management
US20190235745A1 (en) Method and device for displaying descriptive information
US11243660B2 (en) Method and device for displaying application, and storage medium
EP3232301B1 (en) Mobile terminal and virtual key processing method
CN106354504B (en) Message display method and device
US11284161B2 (en) Method and device for loading electronic program guide, and non-transitory storage medium
CN110262692B (en) Touch screen scanning method, device and medium
EP3136206A1 (en) Method and apparatus for setting threshold
US11222223B2 (en) Collecting fingerprints
CN105511777B (en) Session display method and device on touch display screen
CN111522498A (en) Touch response method and device and storage medium
CN114185444A (en) Method and device for preventing mistaken touch of touch screen and storage medium
CN106919302B (en) Operation control method and device of mobile terminal
CN107179866B (en) Application control method, device and storage medium
CN106325724B (en) Touch response method and device
CN105278753A (en) Touch control response method and touch control response device

Legal Events

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