CN112650405B - Interaction method of electronic equipment and electronic equipment - Google Patents

Interaction method of electronic equipment and electronic equipment Download PDF

Info

Publication number
CN112650405B
CN112650405B CN201910960039.0A CN201910960039A CN112650405B CN 112650405 B CN112650405 B CN 112650405B CN 201910960039 A CN201910960039 A CN 201910960039A CN 112650405 B CN112650405 B CN 112650405B
Authority
CN
China
Prior art keywords
touch
preset area
pressure sensor
sensor
electronic device
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
CN201910960039.0A
Other languages
Chinese (zh)
Other versions
CN112650405A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201910960039.0A priority Critical patent/CN112650405B/en
Priority to PCT/CN2020/107092 priority patent/WO2021068627A1/en
Publication of CN112650405A publication Critical patent/CN112650405A/en
Application granted granted Critical
Publication of CN112650405B publication Critical patent/CN112650405B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/0418Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Abstract

The embodiment of the application provides an interaction method of electronic equipment and the electronic equipment, relates to the technical field of touch control and the technical field of error touch prevention, and can realize effective blind touch on a touch key so as to improve the interaction performance of the electronic equipment. The specific scheme comprises the following steps: the electronic device detects touch operation through a touch sensor; responding to the first touch operation detected by the touch sensor, triggering a preset device by the electronic equipment to send out first prompt information, and starting the pressure sensor; the first touch operation is a sliding operation to a preset area, wherein the preset area is an area where the pressure sensor is located; the first prompt message is used for prompting a user to input touch operation in a preset area so as to control the electronic equipment; the electronic equipment acquires the pressing pressure of a second touch operation through the pressure sensor, wherein the second touch operation is any one of a single click operation, a double click operation or a long press operation; and if the pressing pressure is greater than the pressure threshold, the electronic equipment executes the functions corresponding to the first touch operation and the second touch operation.

Description

Interaction method of electronic equipment and electronic equipment
Technical Field
The embodiment of the application relates to the technical field of touch control, in particular to an interaction method of electronic equipment and the electronic equipment.
Background
With the development of mobile device technology, integration will become a trend, which has great advantages in terms of waterproof and user experience. In order to realize integration of the mobile terminal, the electronic device may set a touch sensor and a pressure sensor in an area where physical keys (also referred to as physical keys) are required to be set, and detect a pressing operation input by a user by using a touch effect of the touch sensor and a piezoelectric effect of the pressure sensor, thereby realizing related functions of returning, adjusting volume and the like of the physical keys. Among them, such keys that realize a key function using a touch effect of a touch sensor and a piezoelectric effect of a pressure sensor may be referred to as a touch key. Alternatively, such keys may be referred to as virtual keys (virtual keys) or the like.
However, pressing a key also has many problems to be solved. For example, it is difficult for a user to accurately locate the effective touch position of a touch key compared to a physical key, and thus it is difficult to achieve effective blind touch of the touch key. This results in a relatively poor user experience, limiting the development of touch key technology on electronic devices such as smartphones, tablet computers, etc.
In the use process of the electronic device including the touch key, how to achieve effective blind touch of the touch key is a problem to be solved.
Disclosure of Invention
The embodiment of the application provides an interaction method of electronic equipment and the electronic equipment, and the electronic equipment can realize effective blind touch of a touch key, so that the interaction performance of the electronic equipment can be improved.
In a first aspect, an embodiment of the present application provides an interaction method of an electronic device, where a touch sensor and a pressure sensor are disposed on the electronic device. The method may include: the electronic device detects touch operation through a touch sensor; responding to the first touch operation detected by the touch sensor, triggering a preset device by the electronic equipment to send out first prompt information, and starting the pressure sensor; the first touch operation is a sliding operation to a preset area, and the preset area is an area where the pressure sensor is located; the first prompt message is used for prompting a user to input touch operation in a preset area so as to control the electronic equipment; the electronic equipment acquires the pressing pressure of a second touch operation through the pressure sensor, wherein the second touch operation is any one of a single click operation, a double click operation or a long press operation; and if the pressing pressure is greater than the pressure threshold, the electronic equipment executes the functions corresponding to the first touch operation and the second touch operation.
In the embodiment of the application, in response to the sliding operation on the preset area where the pressure sensor is located, the electronic device may send out the first prompting information (such as vibration prompting) to prompt the user to input the touch operation (such as pressing operation) at the corresponding position of the sliding operation. By the scheme, even if a user cannot perceive the position of the touch key on the electronic equipment; the electronic device may also indicate, to the user, a position of the touch key according to a sliding operation of the user to the first preset area. Therefore, effective blind touch on the touch key is facilitated, and interaction performance of the electronic equipment can be improved.
In addition, in the embodiment of the application, the pressure sensor is not always in a working state; but is activated by the processor in response to the first touch operation to collect the pressing pressure of the touch operation input by the user. Therefore, the power consumption of the electronic equipment can be reduced, and the electric quantity of the electronic equipment can be saved.
With reference to the first aspect, in one possible design, the sliding direction of the first touch operation and the operation type of the second touch operation may determine functions corresponding to the first touch operation and the second touch operation. For example, the first touch operation is a sliding operation in the first direction toward the preset area or a sliding operation in the second direction toward the preset area. Wherein the first direction is opposite to the second direction.
On the other hand, on the premise that the operation type of the second touch operation is unchanged, the sliding direction of the first touch operation is different, and the functions corresponding to the first touch operation and the second touch operation are different. On the other hand, on the premise that the sliding direction of the first touch operation is unchanged, the operation type of the second touch operation is different, and the functions corresponding to the first touch operation and the second touch operation are different.
The method for executing the functions corresponding to the first touch operation and the second touch operation by the electronic device may include: if the first touch operation is a sliding operation along the first direction to a preset area, the second touch operation is a clicking operation or a long-press operation, and the electronic equipment heightens a first parameter of the electronic equipment; if the first touch operation is a sliding operation along the second direction to the preset area, the second touch operation is a single click operation or a long press operation, and the electronic device lowers the first parameter. The first parameter may be a volume or a screen brightness of the electronic device.
The method for the electronic device to execute the functions corresponding to the first touch operation and the second touch operation may further include: if the first touch operation is a sliding operation along a first direction to a preset area, the second touch operation is a double-click operation, and the electronic equipment executes a first function; if the first touch operation is a sliding operation in the second direction to the preset area, the second touch operation is a double-click operation, and the electronic device executes a second function. Wherein the first function is one of the following functions: lock screen, screen capture, screen recording, camera opening and voice assistant opening. The second function is one of the following functions: lock screen, screen capture, screen recording, camera opening and voice assistant opening. The second function is different from the first function.
In a second aspect, an embodiment of the present application provides an interaction method of an electronic device, where a touch sensor and a pressure sensor are disposed on the electronic device. The method may include: the electronic device detects touch operation through a touch sensor; responding to the first touch operation detected by the touch sensor, triggering a preset device by the electronic equipment to send out first prompt information, and starting the pressure sensor; the first touch operation is a sliding operation to a preset area, wherein the preset area is an area where the pressure sensor is located; the first prompt message is used for prompting a user to input touch operation in a preset area so as to control the electronic equipment; the electronic equipment collects the pressing pressure of the second touch operation through the pressure sensor; if the pressing pressure is greater than the pressure threshold, the second touch operation is a sliding operation along the first direction, and the electronic device increases a first parameter of the electronic device; if the pressing pressure is greater than the pressure threshold, the second touch operation is a sliding operation in a second direction, and the electronic device adjusts the first parameter down. Wherein the first parameter is the volume or screen brightness of the electronic device.
It should be noted that, unlike the method described in the first aspect above, the method is: the sliding direction of the first touch operation in the second aspect does not affect the function executed by the electronic device, and the first touch operation is only used for triggering the preset device to send out the first prompt information and triggering the electronic device to start the pressure sensor.
The second touch operation described in the second aspect is different from the second touch operation described in the first aspect. The second touch operation described in the second aspect is a sliding operation in the first direction or a sliding operation in the second direction starting from a preset area. Wherein the first direction is opposite to the second direction. The sliding direction of the second touch operation described in the second aspect determines a function to be executed by the electronic device. The advantages achieved by the method according to the second aspect may be referred to as those of the first aspect, and the disclosure is not repeated here.
With reference to the first aspect or the second aspect, in one possible design, in order to reduce power consumption of the electronic device and save power, the method may further include: starting from the start of the pressure sensor, if the touch sensor or the pressure sensor does not detect the second touch operation within a preset time period, the electronic device turns off the pressure sensor.
With reference to the first aspect or the second aspect, in another possible design, if the pressing pressure collected by the pressure sensor is greater than the pressure threshold, the electronic device triggers the preset device to send out the second prompting message. The second prompt information is used for prompting the user that the second touch operation is a valid touch operation. The second prompt information may be different from the first prompt information.
In combination with the first aspect, in another possible design, if the pressing pressure collected by the pressure sensor is less than or equal to the pressure threshold, the electronic device triggers the preset device to send out the third prompting message. The third prompt information is used for prompting the user to input touch operation again. Wherein, the third prompt information may be different from the first prompt information and the second prompt information.
With reference to the first aspect or the second aspect, in another possible design, the first pressure sensor and the second pressure sensor may be piezoelectric pressure sensors.
With reference to the first aspect or the second aspect, in another possible design, the piezoelectric pressure sensor piezoelectric ceramic sensor is described above. Among other things, the sensitivity of the pressure ceramic sensor is higher than other pressure sensors.
In a third aspect, an embodiment of the present application provides an interaction method of an electronic device, where a touch sensor, a first pressure sensor, and a second pressure sensor are disposed on the electronic device. The first pressure sensor is arranged in a first preset area, and the second pressure sensor is arranged in a second preset area. Wherein the electronic device may detect a touch operation through the touch sensor. The touch sensor may detect a sliding operation in a first direction toward a first predetermined area (referred to as a first sliding operation) or a sliding operation in a second direction toward a second predetermined area (referred to as a second sliding operation). The first direction is the direction from the second preset area to the first preset area, and the second direction is the direction from the first preset area to the second preset area.
And in response to the touch sensor detecting the first sliding operation, the electronic equipment can trigger the preset device to send out first prompt information and start the first pressure sensor. The first prompt message is used for prompting a user to input touch operation in a first preset area so as to control the electronic equipment. The electronic device may collect a pressing pressure of a first pressing operation, which may be any one of a single click operation, a double click operation, or a long press operation, through the first pressure sensor. If the pressing pressure acquired by the first pressure sensor is greater than the pressure threshold, the electronic device may execute a function corresponding to the first pressing operation.
And in response to the touch sensor detecting the second sliding operation, the electronic equipment can trigger the preset device to send out first prompt information and start the second pressure sensor. The electronic device may collect the pressing pressure of the second pressing operation, which is any one of a single click operation, a double click operation, or a long press operation, through the second pressure sensor. And if the pressing pressure acquired by the second pressure sensor is greater than the pressure threshold, the electronic equipment executes a function corresponding to the second pressing operation.
Note that, in the sliding operation described in the first aspect,: the first sliding operation and the second sliding operation of the third aspect may trigger the electronic device to activate different pressure sensors. The first pressing operation and the second pressing operation described in the third aspect are different from the second touching operation described in the second aspect. The first pressing operation and the second pressing operation may be a single click operation, a double click operation, or a long press operation. And the second touch operation described in the second aspect is a sliding operation. The advantages achieved by the method according to the second aspect may be referred to as those of the first aspect, and the disclosure is not repeated here.
With reference to the third aspect, in one possible design, the method may further include: in order to reduce power consumption of the electronic device and save power, the method may further include: starting from the first pressure sensor, if the touch sensor or the first pressure sensor does not detect the first pressing operation within a preset time period, the electronic device turns off the first pressure sensor.
With reference to the third aspect, in another possible design, the method may further include: in order to reduce power consumption of the electronic device and save power, the method may further include: starting from the start of the second pressure sensor, if the touch sensor or the second pressure sensor does not detect the second pressing operation within a preset time period, the electronic device turns off the second pressure sensor.
With reference to the third aspect, in another possible design, the electronic device performing a function corresponding to the first pressing operation may include: if the first pressing operation is a single click operation or a long press operation, the electronic device increases a first parameter of the electronic device. The electronic device executing the function corresponding to the second pressing operation may include: if the second pressing operation is a single click operation or a long press operation, the electronic device adjusts the first parameter down. Wherein the first parameter is the volume or screen brightness of the electronic device.
With reference to the third aspect, in another possible design, the electronic device may further include: if the first press operation is a double-click operation, the electronic device performs a first function. The electronic device executing the function corresponding to the second pressing operation may include: if the second pressing operation is a double-click operation, the electronic device performs a second function. The detailed descriptions of the first and second functions may refer to the relevant content in the above embodiments, and the embodiments of the present application are not repeated here.
In a fourth aspect, an embodiment of the present application provides an electronic device, including: memory and a processor. The electronic device is also provided with a touch sensor and a pressure sensor. The memory, touch sensor, pressure sensor, and processor are coupled. The memory is for storing computer program code comprising computer instructions that, when executed by the processor, cause the electronic device to: detecting a touch operation by a touch sensor; responding to the first touch operation detected by the touch sensor, triggering a preset device to send out first prompt information, and starting the pressure sensor; collecting pressing pressure of a second touch operation through a pressure sensor; and if the pressing pressure is greater than the pressure threshold, executing the functions corresponding to the first touch operation and the second touch operation.
The detailed description of the first touch operation, the second touch operation, the first prompt information and the preset area in the fourth aspect may refer to the related description in the first aspect, and the embodiments of the present application are not repeated here.
With reference to the fourth aspect, in one possible design, the first touch operation is a sliding operation in the first direction toward the preset area or a sliding operation in the second direction toward the preset area. Wherein the first direction is opposite to the second direction. The computer instructions, when executed by the processor, cause the electronic device to further: if the first touch operation is a sliding operation along a first direction to a preset area, the second touch operation is a clicking operation or a long-press operation, and the first parameter of the electronic equipment is adjusted to be high; wherein the first parameter is the volume or screen brightness of the electronic device; if the first touch operation is a sliding operation along a second direction to a preset area, the second touch operation is a single click operation or a long press operation, and the first parameter is regulated down; if the first touch operation is a sliding operation along a first direction to a preset area, the second touch operation is a double-click operation, and a first function is executed; if the first touch operation is a sliding operation in the second direction toward the preset area, the second touch operation is a double-click operation, and the second function is performed. The detailed descriptions of the first and second functions may refer to the relevant content in the above embodiments, and the embodiments of the present application are not repeated here.
In a fifth aspect, an embodiment of the present application provides an electronic device, including: memory and a processor. The electronic device is also provided with a touch sensor and a pressure sensor. The memory, touch sensor, pressure sensor, and processor are coupled. The memory is for storing computer program code comprising computer instructions that, when executed by the processor, cause the electronic device to: detecting a touch operation by a touch sensor; responding to the first touch operation detected by the touch sensor, triggering a preset device to send out first prompt information, and starting the pressure sensor; collecting pressing pressure of a second touch operation through a pressure sensor; wherein the first direction is opposite to the second direction; if the pressing pressure is greater than the pressure threshold, the second touch operation is a sliding operation along the first direction, and the first parameter of the electronic equipment is adjusted to be high; the first parameter is the volume or screen brightness of the electronic device, and if the pressing pressure is greater than the pressure threshold, the second touch operation is a sliding operation along the second direction, and the first parameter is turned down.
The detailed description of the first touch operation, the second touch operation, the first prompt information and the preset area in the fifth aspect may refer to the related description in the second aspect, and the embodiments of the present application are not repeated here.
With reference to the fourth or fifth aspect, in one possible design, the computer instructions, when executed by the processor, cause the electronic device to further: starting from the start of the pressure sensor, if the touch sensor or the pressure sensor does not detect the second touch operation within a preset period of time, the pressure sensor is turned off.
With reference to the fourth or fifth aspect, in one possible design, the computer instructions, when executed by the processor, cause the electronic device to further: and if the pressing pressure is larger than the pressure threshold, triggering the preset device to send out second prompt information, wherein the second prompt information is used for prompting a user that the second touch operation is effective touch operation.
With reference to the fourth or fifth aspect, in one possible design, the computer instructions, when executed by the processor, cause the electronic device to further: and if the pressing pressure is smaller than or equal to the pressure threshold, triggering the preset device to send out third prompt information, wherein the third prompt information is used for prompting the user to input touch operation again.
In a sixth aspect, an embodiment of the present application provides an electronic device, including: memory and a processor. The electronic equipment is further provided with a touch sensor, a first pressure sensor and a second pressure sensor. The memory, touch sensor, first pressure sensor, second pressure sensor, and processor are coupled. The memory is for storing computer program code comprising computer instructions that, when executed by the processor, cause the electronic device to: detecting a touch operation by a touch sensor; in response to the touch sensor detecting a sliding operation along a first direction to a first preset area, triggering a preset device to send out first prompt information, and starting a first pressure sensor; collecting pressing pressure of a first pressing operation through a first pressure sensor; and if the pressing pressure acquired by the first pressure sensor is greater than the pressure threshold, executing a function corresponding to the first pressing operation. In response to the touch sensor detecting a sliding operation along the second direction to a second preset area, triggering a preset device to send out first prompt information, and starting a second pressure sensor; and acquiring the pressing pressure of the second pressing operation through the second pressure sensor, and executing the function corresponding to the second pressing operation if the pressing pressure acquired by the second pressure sensor is greater than the pressure threshold.
The detailed description of the first direction, the second direction, the first preset area, the second preset area, the first pressing operation and the second pressing operation in the sixth aspect may refer to the related description in the third aspect, and the embodiments of the present application are not repeated here.
With reference to the sixth aspect, in one possible design, the computer instructions, when executed by the processor, cause the electronic device to further: starting from the first pressure sensor, if the touch sensor or the first pressure sensor does not detect the first pressing operation within a preset time period, the first pressure sensor is turned off.
With reference to the sixth aspect, in another possible design, the computer instructions, when executed by the processor, cause the electronic device to further: starting from the start of the second pressure sensor, if the touch sensor or the second pressure sensor does not detect the second pressing operation within a preset period of time, the second pressure sensor is turned off.
With reference to the sixth aspect, in another possible design, the computer instructions, when executed by the processor, cause the electronic device to further: if the first pressing operation is a single click operation or a long press operation, the first parameter of the electronic equipment is adjusted to be high; if the second pressing operation is a single click operation or a long press operation, the first parameter is adjusted down. Wherein the first parameter is the volume or screen brightness of the electronic device.
With reference to the sixth aspect, in another possible design, the computer instructions, when executed by the processor, cause the electronic device to further: if the first pressing operation is a double-click operation, executing a first function; if the second pressing operation is a double click operation, the second function is performed. The detailed descriptions of the first and second functions may refer to the relevant content in the above embodiments, and the embodiments of the present application are not repeated here.
In a seventh aspect, an embodiment of the present application provides a chip system applied to an electronic device provided with a touch sensor and a first pressure sensor. The system-on-chip includes an interface circuit and a processor. The interface circuit and the processor are interconnected by a wire. The interface circuit is for receiving a signal from a memory of the electronic device and transmitting the signal to the processor, the signal including computer instructions stored in the memory. When the processor executes the computer instructions, the electronic device performs the method as described in the first aspect and any one of its possible designs.
In an eighth aspect, embodiments of the present application provide a computer storage medium comprising computer instructions which, when run on an electronic device, cause the electronic device to perform a method as described in the first aspect and any one of its possible designs.
In a ninth aspect, embodiments of the present application provide a computer program product which, when run on a computer, causes the computer to perform the method according to the first aspect and any one of its possible designs.
It may be appreciated that the electronic device according to the fourth aspect, the fifth aspect and the sixth aspect and any one of the possible designs thereof, the chip system according to the seventh aspect, the computer storage medium according to the eighth aspect and the computer program product according to the ninth aspect may refer to the advantages as in the first aspect, the second aspect and any one of the possible designs thereof, and are not repeated herein.
Drawings
Fig. 1 is a schematic diagram of a configuration of a preset area setting touch key of a mobile phone 10 according to an embodiment of the present application;
fig. 2A is a schematic diagram of another embodiment of a method for setting a touch key in a preset area of a mobile phone 20 according to the present application;
fig. 2B is a right side view of another handset 20 according to an embodiment of the application;
fig. 3 is a schematic hardware structure of an electronic device according to an embodiment of the present application;
fig. 4 is a flowchart of an interaction method of an electronic device according to an embodiment of the present application;
FIG. 5 is a schematic diagram illustrating an example of a first touch operation according to an embodiment of the present application;
FIG. 6 is a schematic diagram illustrating another example of a first touch operation according to an embodiment of the present application;
fig. 7 is a schematic diagram of a man-machine interaction process of a mobile phone 20 according to an embodiment of the present application;
fig. 8A is a schematic diagram illustrating a state machine switching of a mobile phone 20 according to an embodiment of the present application;
fig. 8B is a state machine switching diagram of another mobile phone 20 according to an embodiment of the present application;
FIG. 8C is a flowchart of another method for interaction of an electronic device according to an embodiment of the present application;
FIG. 8D is a schematic diagram illustrating another example of a first touch operation according to an embodiment of the present application;
FIG. 9 is a flowchart of an interaction method of an electronic device according to an embodiment of the present application;
FIG. 10 is a schematic diagram showing an example of a first sliding operation and a second sliding operation according to an embodiment of the present application;
fig. 11 is a schematic diagram of a man-machine interaction process of the mobile phone 10 according to an embodiment of the present application;
fig. 12A is a schematic diagram of state machine switching of the mobile phone 10 according to an embodiment of the present application;
fig. 12B is a state machine switching schematic diagram of another mobile phone 10 according to an embodiment of the present application;
fig. 13 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
Fig. 14 is a schematic structural diagram of a chip system according to an embodiment of the present application.
Detailed Description
The terms "first" and "second" are used below for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. For example, a first pressure sensor and a second pressure sensor are used to represent two pressure sensors. In the description of the present embodiment, unless otherwise specified, the meaning of "plurality" is two or more.
The embodiment of the application provides an interaction method of electronic equipment. The method can be applied to an electronic device provided with a touch key. For example, the touch key may be disposed on a surface of the electronic device, and the position of the touch key is different from that of the display screen of the electronic device. For example, the touch key may be disposed on a side frame (e.g., a left side frame or a right side frame) of the electronic device.
The electronic equipment is provided with a touch key, which specifically means that: the electronic device is provided with a touch sensor and a pressure sensor. For example, touch sensors and pressure sensors may be located on an electronic device where keys are to be located. The electronic device can detect the pressing operation input by the user by utilizing the touch effect of the touch sensor and the piezoelectric effect of the pressure sensor, so that the related functions of locking a screen, adjusting volume and other physical keys are realized. Therefore, the physical keys arranged on the surface of the electronic equipment can be reduced, and the appearance of the electronic equipment is more attractive. In other embodiments, such keys may also be referred to as virtual keys (virtual keys) and the like, as embodiments of the present application are not limited in this respect.
For example, taking the example that the electronic device is a mobile phone, the touch key may be disposed on a side frame (such as a left side frame or a right side frame) of the mobile phone. One or more touch sensors and one or more pressure sensors can be arranged on the side frame of the mobile phone.
For example, the touch key is provided on the right side frame of the mobile phone 10 shown in fig. 1 (a). Fig. 1 (b) shows the distribution of touch sensors and pressure sensors for realizing the touch keys in the right side frame of the cellular phone 10 shown in fig. 1 (a). As shown in (b) of fig. 1, a preset area 101 of the right side frame of the mobile phone 10 is provided with a touch sensor and a pressure sensor 110, a preset area 103 is provided with a touch sensor, and a preset area 102 is provided with a touch sensor and a pressure sensor 120. Wherein the pressure sensor 110 is disposed at a lower layer of the touch sensor of the preset area 101, and the pressure sensor 120 is disposed at a lower layer of the touch sensor of the preset area 102.
Illustratively, the positions of the pressure sensors 110 and 120 on the right side frame of the handset 10 may be set at the position of the handset side frame with reference to physical keys (e.g., the "volume +" key and the "volume-" key). For example, the pressure sensor 110 may be disposed at a position of the "volume+" key at the side frame of the mobile phone, and the pressure sensor 120 may be disposed at a position of the "volume-" key at the side frame of the mobile phone. The preset area 101 is an area where the pressure sensor 110 is located, the preset area 102 is an area where the pressure sensor 120 is located, and the preset area 103 is between the preset area 101 and the preset area 102. The preset area 101, the preset area 102, and the size of the preset area 102 are preset in the mobile phone 10.
In some embodiments, the touch sensors disposed on the preset area 101, the preset area 102, and the preset area 103 may be the same touch sensor. That is, the right side frame of the mobile phone 10 may be provided with one touch sensor (referred to as a touch sensor X) disposed at least in the preset area 101, the preset area 102, and the preset area 103 of the right side frame. Of course, the touch sensor X may also be disposed on the entire right frame of the mobile phone 10, which is not limited in the embodiment of the present application.
Wherein, if the handset 10 is a curved screen handset, the touch sensor X is integral with the touch sensor in the touch screen of the handset 10, i.e., the touch sensor X is a touch sensor in the touch screen of the handset 10. If the touch screen of the handset 10 is a flat screen handset, then the touch sensor X is a touch sensor that is independent of the touch screen of the handset 10, i.e., the touch sensor X is different from the touch sensor in the touch screen of the handset 10.
In other embodiments, the touch sensors disposed on the preset area 101, the preset area 102, and the preset area 103 may be at least two touch sensors. For example, the mobile phone 10 is a flat screen mobile phone, and the preset area 101, the preset area 102, and the preset area 103 of the right side frame of the mobile phone 10 may be provided with one touch sensor, respectively.
In the embodiment of the present application, the method of the embodiment of the present application is described by taking the touch sensors disposed in the preset area 101, the preset area 102, and the preset area 103 as an example of the same touch sensor (e.g., the touch sensor X).
For another example, the touch key is provided on the right side frame of the cellular phone 20 shown in fig. 2A (a). Fig. 2A (b) shows the distribution of touch sensors and pressure sensors for realizing the touch keys in the right side frame of the cellular phone 20 shown in fig. 2A (a). As shown in (b) of fig. 2A, a preset area 201 of the right side frame of the cellular phone 20 is provided with a touch sensor, a preset area 203 is provided with a touch sensor and a pressure sensor 210, and a preset area 202 is provided with a touch sensor. Wherein the pressure sensor 210 is disposed at a lower layer of the touch sensor of the preset area 203.
Illustratively, the location of pressure sensor 210 at the right side frame of handset 20 may be set at the location of the handset side frame with reference to physical keys (e.g., a "volume +" key and a "volume-" key). For example, the pressure sensor 210 may be positioned intermediate the location of the "volume+" key at the side frame of the handset and the location of the "volume-" key at the side frame of the handset. The preset area 203 is the area where the pressure sensor 210 is located. Preset area 201 is located above preset area 201 on the right side frame of handset 20. Preset area 202 is located below preset area 201 on the right side border of handset 20. The sizes of preset area 201, preset area 202 and preset area 203 are preset in mobile phone 20.
In some embodiments, the touch sensors disposed on the preset area 201, the preset area 202, and the preset area 203 may be the same touch sensor (referred to as a touch sensor Y). The manner in which the touch sensor Y is disposed on the right side frame of the mobile phone 20, and the specific form of the touch sensor Y can refer to the detailed description of the touch sensor X in the above examples, which is not repeated herein in the embodiments of the present application.
In other embodiments, the touch sensors disposed on the preset area 201, the preset area 202, and the preset area 203 may be at least two touch sensors. For example, mobile phone 20 is a flat screen mobile phone, and preset area 201, preset area 202, and preset area 203 of the right side frame of mobile phone 20 may be provided with one touch sensor, respectively.
Illustratively, the pressure sensors (e.g., pressure sensor 110, pressure sensor 120, and pressure sensor 210) in embodiments of the present application may be piezoelectric pressure sensors. The piezoelectric pressure sensor may be a piezoelectric ceramic sensor. The sensitivity of the piezo-ceramic sensor is higher than other pressure sensors.
Of course, the touch keys can be arranged on two side frames (such as a left side frame and a right side frame) of the mobile phone. That is, one or more pressure sensors and one or more touch sensors (not shown in the drawing) may be disposed on both the left side frame and the right side frame of the mobile phone, so as to implement a function of pressing the key.
In general, unlike physical keys, a touch key disposed on an electronic device is not visible to a user. For example, please refer to fig. 2B, which shows a right side view of the handset 20 shown in fig. 2A (a). As shown in fig. 2B (a), pressing the key is not visible to the user. Moreover, when the right side frame of the mobile phone 20 is touched by the finger of the user, the existence of the touch key cannot be felt through the touch, so that the position of the touch key is difficult to accurately position through the blind touch, and the touch control of the mobile phone cannot be completed through the blind touch.
In the embodiment of the application, the user touching the mobile phone through the blind touch means that: the user does not rely on vision to look over the button position, but only perceives the position of the physical button on the mobile phone through the sense of touch, and presses at the perceived position to touch the mobile phone, so that various functions are realized.
Of course, for convenience of use, there are some identifiers for setting the touch keys on the mobile phone to be visible to the user. For example, as shown in fig. 2B (B), the right frame of handset 20 includes a marker 220, where the marker 220 is used to identify where the touch key is located. However, the user still cannot feel the existence of the touch key through touch, so that it is difficult to accurately position the effective touch position of the touch key through blind touch, and touch of the mobile phone cannot be completed through blind touch.
The embodiment of the application provides an interaction method of electronic equipment, which responds to sliding operation of a preset area where a pressure sensor is located, and the electronic equipment can send prompt information (such as vibration prompt) to prompt a user to input pressing operation to the electronic equipment at a corresponding position of the sliding operation (namely, the preset area where the pressure sensor is located).
By the scheme, even if a user cannot perceive the position of the touch key on the electronic equipment; the electronic device may also indicate a position of the touch key to the user according to a sliding operation of the user to a preset area (e.g., the first preset area). Therefore, the method and the device are beneficial to the user to realize effective blind touch on the touch key, so that the interaction performance of the electronic equipment can be improved.
The electronic device in the embodiment of the present application may be a mobile phone, a tablet computer, a desktop, a laptop, a handheld computer, a notebook, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook, a cellular phone, a personal digital assistant (personal digital assistant, PDA), an augmented reality (augmented reality, AR) \virtual reality (VR) device, or a device provided with a touch key, which is not particularly limited in specific form.
The following describes in detail the implementation of the embodiment of the present application with reference to the drawings.
In the embodiment of the present application, the electronic device is a mobile phone, and a schematic structural diagram of the electronic device 300 is shown. As shown in fig. 3, the electronic device 300 may include: a System On Chip (SOC) unit 310, a storage unit 320, a power supply unit 330, a display touch unit 340, a sensor unit 350, an audio input/output unit 360, an image pickup unit 370, and a wireless communication unit 380.
Wherein, the sensor unit 350 may include: a micro processing unit (Microcontroller Unit, MCU) 350E, a motor 350F, and sensors such as a pressure sensor 350A, a touch sensor 350B, a proximity sensor 350C, an acceleration sensor 350D, and a gyro sensor. Wherein the sensors in the sensor unit 350 include, but are not limited to, the sensors described above. For example, the sensor unit 350 may further include: air pressure sensor, magnetic sensor, distance sensor, fingerprint sensor, temperature sensor, ambient light sensor, bone conduction sensor, etc.
It is to be understood that the structure illustrated in this embodiment does not constitute a specific limitation on the electronic device 300. In other embodiments, electronic device 300 may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The SOC unit 310 includes a processor of an electronic device, which may include one or more processing units. For example: the processor may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a memory, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc.
The controller may be a neural hub and command center of the electronic device 300. The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor for storing instructions and data. In some embodiments, the memory in the processor is a cache memory. The memory may hold instructions or data that the processor has just used or recycled. If the processor needs to reuse the instruction or data, it can be called directly from the memory. Repeated access is avoided, and the waiting time of the processor is reduced, so that the efficiency of the system is improved.
The power supply unit 330 may include: battery, charge management module and power management module. Wherein the charge management module is configured to receive a charge input from a charger. The charger may be a wireless charger or a wired charger. The charging management module can also supply power to the electronic equipment through the power management module while charging the battery. The power management module is used to connect the battery, the charge management module and the SOC unit 310. The power management module receives input from the battery and/or charge management module and provides power to the SOC unit 310, the mcu 350e, the storage unit (i.e., memory) 320, the display touch unit 340, the camera unit 370, the wireless communication unit 380, etc.
The electronic device 300 implements a display function through the GPU, the display touch unit 340, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display touch unit 340 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor may include one or more GPUs that execute program instructions to generate or change display information.
The display touch unit 340 may include a display screen for displaying images, videos, and the like. The display screen may include a display panel. The display touch unit 340 may also be provided with a touch sensor 350B, also referred to as a "touch panel". That is, the display touch unit 340 may be a touch screen composed of the touch sensor 350B and a display screen, which is also called a "touch screen". The touch sensor 350B described above is used to detect a touch operation acting on or near it. The touch sensor may communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with a touch operation may be provided through a display screen.
In the embodiment of the present application, the touch sensor 350B may also be disposed on the surface of the electronic device 300, which is different from the location of the display screen. For example, as shown in fig. 1 (a) or fig. 2A (a), a touch sensor is disposed on the right side frame of the mobile phone. In some embodiments, touch sensors (not shown in the drawings) for implementing the function of pressing the keys may be disposed on both the left side frame and the right side frame of the mobile phone.
That is, the electronic device 300 may include one or more touch sensors 350B. For example, electronic device 300 may include touch sensor 350B-1 and touch sensor 350B-2. Touch sensor 350B-1 may be disposed on a display screen and touch sensor 350B-2 may be disposed on a side frame of electronic device 300.
In other embodiments, the touch sensor 350B-1 and the touch sensor 350B-2 may be one touch sensor. For example, when electronic device 300 is a curved screen cell phone, touch sensor 350B-1 and touch sensor 350B-2 are one touch sensor.
The electronic device 300 is provided with one or more pressure sensors 350A. The pressure sensor 350A is configured to sense a pressure signal and convert the pressure signal into an electrical signal. In the embodiment of the present application, the display screen may be provided with a pressure sensor 350A. The pressure sensor 350A may also be disposed on a surface of the electronic device 300 at a location different from that of the display screen. For example, as shown in (b) of fig. 1, the right side frame of the cellular phone 10 is provided with a pressure sensor 110 and a pressure sensor 120. As shown in (b) of fig. 2A, the right side frame of the cellular phone 20 is provided with a pressure sensor 210.
Among them, the pressure sensor 350A is of various kinds. Such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. The pressure sensor 350A in the embodiment of the present application may also be a piezoelectric pressure sensor. The piezoelectric pressure sensor may be a piezoelectric ceramic sensor. The sensitivity of the piezoceramic sensor is higher than other pressure sensors.
In the embodiment of the application, the touch sensor and the pressure sensor can work cooperatively to be used as a touch key to replace a physical key (such as a solid volume key or a solid screen locking key, etc.), so as to provide various functions (such as volume adjustment or screen locking, etc.) of the control mobile phone for a user.
The MCU 350E in the sensor unit 350 connects the various devices in the sensor unit 350 (e.g., pressure sensor 350A, touch sensor 350B, proximity sensor 350C, acceleration sensor 305D, motor 350F, gyro sensor, etc.). MCU 350E is also coupled to SOC unit 310.MCU 350E may receive the parameters collected by the various sensors described above, process the received parameters, and then send signals to SOC unit 310 to cause SOC unit 310 to trigger the various devices of electronic device 100 to perform the corresponding functions.
For example, when a touch operation (e.g., a sliding operation) is applied to the display screen or a touch key of the electronic device 300, the touch sensor 350B may collect operation information of the sliding operation, such as position information of the sliding operation, or the like. The MCU 350E may determine, according to the operation information collected by the touch sensor 350B, whether the sliding operation is a sliding operation to a preset area where the pressure sensor for realizing the function of pressing the key is located; if the sliding operation is a sliding operation to the preset area, the MCU 350E may trigger the motor 350F to send a vibration alert to alert the user to input a pressing operation to the electronic device at a position corresponding to the sliding operation. Also, the MCU 350E may also activate the pressure sensor 350A to collect the pressing pressure of the pressing operation input by the user.
Thus, MCU 350E may receive the compression pressure collected by pressure sensor 350A; then, whether the pressing pressure is greater than the pressure threshold of the pressure sensor 350A is judged; if the pressing pressure is greater than the pressure threshold, it may be determined that the pressing operation is a valid pressing operation. At this time, the MCU 350E may trigger the SOC unit 310 to perform a corresponding function in response to the valid pressing operation.
In some embodiments, MCU 350E may also dynamically adjust the pressure threshold of pressure sensor 350A. For example, the MCU 350E may dynamically adjust the pressure threshold of the pressure sensor 350A according to the physical scene and application scene of the electronic device 300, the operation type of the pressing operation, and the like. The operation type of the pressing operation is any one of long press, single click, double click, sliding, and the like. The specific method for adjusting the pressure threshold of the pressure sensor 350A by the electronic device may refer to the following detailed description in the embodiments, which are not described herein.
In the embodiment of the application, the unit of the pressing pressure and the pressure threshold can be newtons, abbreviated as cattle, and the unit symbol is N. In physics, the gravity of an object is found with the formula g=mg. Wherein G is gravity, m is mass, G is constant, and G is about 9.8N/kg. I.e. the weight is proportional to the mass, the unit of mass m may also be used as a unit of pressing pressure and pressure threshold in this embodiment. Wherein the unit of the mass m is kilogram (unit symbol is kg) or gram (unit symbol is g). For example, in this embodiment, the pressing force and the pressing force threshold may be in grams and the unit symbol is g.
The acceleration sensor 350D may detect the magnitude of acceleration of the electronic device 300 in various directions (typically three axes). The magnitude and direction of gravity may be detected when the electronic device 300 is stationary. The electronic device can also be used for recognizing the gesture of the electronic device, and is applied to applications such as horizontal and vertical screen switching, pedometers and the like. In the embodiment of the present application, the acceleration sensor 350D may be used to collect motion parameters of the electronic device 300, so as to determine a physical scene of the electronic device 300. For example, as shown in fig. 1 (a) or fig. 2A (a), an acceleration sensor is provided in the mobile phone.
The proximity light sensor 350C may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 300 emits infrared light outward through the light emitting diode. The electronic device 300 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it may be determined that an object is in the vicinity of the electronic device 300. In the embodiment of the present application, the light parameters collected by the proximity light sensor 350C are used to determine the physical scene of the electronic device 300. For example, as shown in fig. 1 (a) or fig. 2A (a), a proximity light sensor is provided in the mobile phone. The ambient light sensor is used for sensing ambient light brightness. The electronic device 300 may adaptively adjust the display screen brightness based on the perceived ambient light level. The ambient light sensor may also cooperate with the proximity light sensor 350C to detect whether the electronic device 300 is in a pocket (i.e., determine the physical context of the electronic device 300) to prevent false touches.
The gyroscopic sensor may be used to determine a motion pose of the electronic device 300. The air pressure sensor is used for measuring air pressure. The magnetic sensor includes a hall sensor. And a distance sensor for measuring the distance. The electronic device 300 may measure the distance by infrared or laser.
The motor 350F may generate a vibration alert. The motor 350F may be used for incoming call vibration alerting as well as touch/press vibration feedback. For example, touch/press operations acting on different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 350F may also correspond to different vibration feedback effects for touch/press operations on different areas of the display screen. Different application scenarios (such as time reminding, receiving information, alarm clock, game, etc.) can also correspond to different vibration feedback effects. The touch/press vibration feedback effect may also support customization.
In the embodiment of the present application, the touch operations applied to different preset areas shown in fig. 1 (a) or fig. 2A (a) may correspond to different vibration feedback effects. Alternatively, touch operations of different operation types, which act on the same preset area as shown in fig. 1 (a) or fig. 2A (a), may also correspond to different vibration feedback effects.
The electronic device 300 may also include a mobile communication unit. The wireless communication function of the electronic device 300 may be implemented by an antenna, a mobile communication unit, a wireless communication unit 380, a modem processor, a baseband processor, and the like.
The mobile communication unit may provide a solution for wireless communication including 2G/3G/4G/5G etc. applied on the electronic device 300. The wireless communication unit 380 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (wireless fidelity, wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field wireless communication technology (near field communication, NFC), infrared technology (IR), etc., applied on the electronic device 300.
The electronic device 300 may implement photographing functions through an ISP, a camera unit 390, a video codec, a GPU, a display touch unit 340, an application processor, and the like.
The ISP is used to process the data fed back by the camera unit 390. For example, when photographing, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electric signal, and the camera photosensitive element transmits the electric signal to the ISP for processing and is converted into an image visible to naked eyes. The ISP can also perform algorithm optimization on noise, brightness and skin color of the image, and optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, an ISP may be provided in the camera unit 390.
One or more cameras, such as front and rear cameras, may be included in the camera unit 390. Cameras are used to capture still images or video. The object generates an optical image through the lens and projects the optical image onto the photosensitive element. The photosensitive element converts the optical signal into an electrical signal, which is then transferred to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV, or the like format.
The storage unit 320 (i.e., memory) may be used to store computer executable program code comprising instructions. The memory unit 320 may be integrated in the SOC unit 310. Alternatively, as shown in fig. 3, the memory unit 320 may be a device independent of the SOC unit 310. The processor in the SOC unit 310 executes various functional applications of the electronic device 300 and data processing by executing instructions stored in the storage unit 320. For example, in an embodiment of the present application, the processor may include a storage program area and a storage data area by executing instructions stored in the storage unit 320.
The storage program area may store an application program (such as a sound playing function, an image playing function, etc.) required for at least one function of the operating system, etc. The storage data area may store data created during use of the electronic device 300 (e.g., audio data, phonebook, etc.), and so on. In addition, the storage unit 320 may include a high-speed random access memory, and may further include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and the like.
The electronic device 300 may implement audio functions through an audio input/output unit 360, an application processor, and the like. Such as music playing, recording, etc. For example, the audio input/output unit 360 may include: audio module, speaker, receiver, microphone and earphone interface, etc. The audio module is used for converting digital audio information into analog audio signals for output and also used for converting analog audio input into digital audio signals. Speakers, also known as "horns," are used to convert audio electrical signals into sound signals. A receiver, also called an "earpiece", is used to convert the audio electrical signal into a sound signal. Microphones, also known as "microphones" and "microphones", are used to convert sound signals into electrical signals. The earphone interface is used for connecting a wired earphone.
Of course, the devices in the electronic device 300 include, but are not limited to, the devices described above. For example, the electronic device 300 may also include an indicator (e.g., an indicator light), a subscriber identity module (subscriber identification module, SIM) card interface, and the like. Wherein the indicator is used for indicating the charging state, notifying or not coming call, etc. Detailed descriptions of other devices of the electronic device 300 are omitted here.
The methods in the following embodiments may be implemented in the electronic device 300 having the above-described hardware structure. In the following embodiments, the method according to the embodiments of the present application will be described by taking the electronic device 300 as an example of a mobile phone.
The embodiment of the application provides an interaction method of electronic equipment, which can be applied to the electronic equipment provided with a touch sensor and a first pressure sensor. The touch sensor and the first pressure sensor may be disposed on a surface of the electronic device. For example, the touch sensor and pressure sensor may be disposed on a side of the electronic device (e.g., left side bezel or right side bezel). The electronic device can detect the pressing operation input by the user by utilizing the touch effect of the touch sensor and the piezoelectric effect of the first pressure sensor, so that the related functions of locking a screen, adjusting volume and other physical keys are realized.
The method according to the embodiment of the present application will be described herein by taking the example that the electronic device is the mobile phone 20 shown in fig. 2A (a). As shown in fig. 2A (a) or fig. 2A (b), a preset area 201 of the cellular phone 20 is provided with a touch sensor, a preset area 203 is provided with a touch sensor and a pressure sensor 210, and a preset area 202 is provided with a touch sensor. The preset area where the pressure sensor 210 is located is the preset area 203.
In the embodiment of the present application, the method of the embodiment of the present application is described by taking the case that the touch sensors disposed in the preset area 201, the preset area 202, and the preset area 203 are the same touch sensor (referred to as a touch sensor Y). As shown in fig. 4, the interaction method of the electronic device provided by the embodiment of the present application may include S401 to S406.
S401, handset 20 detects a touch operation by touch sensor Y.
The touch sensor Y may collect operation information of a touch operation. The operation information of the touch operation may indicate an operation type and an operation position of the touch operation. For example, the touch operation may be any one of a slide operation, a single click operation, a double click operation, or a long press operation.
S402, in response to the touch sensor Y detecting the first touch operation, the MCU triggers a preset device in the mobile phone 20 to send out first prompt information.
Wherein the first touch operation is a sliding operation to the preset area 203. Specifically, the operation information of the first touch operation indicates that the first touch operation is a sliding operation to the preset area 203. The operation information of the first touch operation indicates an operation type and an operation position of the first touch operation. The operation type of the first touch operation is a sliding operation. The operation position of the first touch operation includes a slide trajectory to the preset area 203.
The preset device may be, for example, a motor of the mobile phone 20. For example, when handset 20 is electronic device 300 shown in fig. 3, the preset device may be motor 350F shown in fig. 3. When the preset device is a motor of the mobile phone 20, the first prompt message may be a vibration prompt. Alternatively, the preset device may be a speaker of the mobile phone 20, and the first prompt information may be a voice prompt. The first prompting message is used for prompting the user to input a touch operation in the preset area 203 to control the mobile phone 20.
It can be understood that if the touch sensor Y detects a sliding operation to the preset area 203 where the pressure sensor 210 is located, it means that the user's finger is placed in the preset area 203 where the pressure sensor 210 is located, that is, the user's finger is placed in the position where the touch key is pressed. At this time, the mobile phone 20 may issue a first prompt message to prompt the user to input a touch operation (e.g., a pressing operation) to control the mobile phone 20.
Wherein, the touch sensor Y may transmit operation information of the first touch operation to the MCU. The MCU may determine that the touch sensor Y detects the first touch operation according to the operation information of the first touch operation. At this time, the MCU may trigger the preset device to issue a first prompt to prompt the user to input a touch operation to control the mobile phone 20.
It should be noted that, when the user inputs the first touch operation to the right frame of the mobile phone 20, the finger of the user will contact the right frame of the mobile phone 20; also, the user's finger may contact any location on the right side frame of the handset 20. That is, the user may input a sliding operation to the preset area 203 from any position on the right side frame of the mobile phone 20. Therefore, the first touch operation may be a sliding operation from any position on the right side frame of the mobile phone 20 to the preset area 203.
The first touch operation may be a sliding operation performed on the right frame of the mobile phone 20 along the first direction toward the preset area 203. Alternatively, the first touch operation may be a sliding operation on the right side frame of the cellular phone 20 toward the preset area 203 in the second direction. The first direction is opposite to the second direction. For example, the first direction may be a sliding operation from a position below the preset area 203 to the preset area 203 on the right side frame of the cellular phone 20, that is, a sliding operation of sliding upward. The second direction is a sliding operation from a position above the preset area 203 to the preset area 203 on the right side frame of the mobile phone 20, that is, a sliding operation of sliding downward.
For example, the first touch operation may be a sliding operation from the preset area 202 to the preset area 203. As shown in fig. 5 (a), the point a is located in the preset area 202, and the point B is located in the preset area 203. The first touch operation may be a sliding operation from point a to point B shown in (a) of fig. 5.
For another example, the first touch operation may be a sliding operation from the preset area 201 to the preset area 203. As shown in (b) of fig. 5, the point C is located in the preset area 201, and the point D is located in the preset area 203. The first touch operation may be a sliding operation from point C to point D shown in (b) of fig. 5.
For another example, the first touch operation may be a sliding operation from an area below the preset area 202 on the right side frame of the mobile phone 20 to the preset area 203. As shown in fig. 6 (a), point a is located in an area below preset area 202 on the right side frame of mobile phone 20, and point b is located in preset area 203. The first touch operation may be a sliding operation from a point a to a point b shown in (a) of fig. 6.
For another example, the first touch operation may be a sliding operation from an area above the preset area 201 to the preset area 203 on the right side frame of the mobile phone 20. As shown in fig. 6 (b), point c is located in an area above preset area 201 on the right side frame of handset 20, and point d is located in preset area 203. The first touch operation may be a sliding operation from a point c to a point d shown in (b) of fig. 6.
In the embodiment of the present application, for the first touch operation with different sliding directions, the MCU may trigger the preset devices in the mobile phone 20 to send different first prompt information, such as vibration prompts with different vibration frequencies and/or vibration times.
For example, assuming that the preset device is the motor of the phone 20, the first alert message is a vibration alert. For the first touch operation shown in (a) of fig. 6, the vibration prompt sent by the MCU trigger motor may be a primary vibration prompt; for the first touch operation shown in fig. 6 (b), the vibration prompt sent by the MCU trigger motor may be two vibration prompts in succession.
S403, in response to the touch sensor Y detecting the first touch operation, the MCU activates the pressure sensor 210.
If the touch sensor Y detects the first touch operation, it indicates that the finger of the user is placed at the position where the touch key is pressed. After the preset device sends the first prompt information, the user may input a touch operation (such as a pressing operation) at the position. At this time, the MCU may activate the pressure sensor 210 to collect the pressing pressure of the touch operation (e.g., pressing operation) input by the user.
S404, the pressure sensor 210 collects the pressing pressure of the second touch operation.
The pressure sensor 210 in an embodiment of the present application may be a piezoelectric ceramic sensor. The sensitivity of the piezoelectric ceramic sensor is higher than other pressure sensors; therefore, even if the pressing pressure of the second touch operation (e.g., pressing operation) is small, the pressure sensor 210 can acquire the pressing pressure.
S405, the MCU judges whether the pressing pressure acquired by the pressure sensor 210 is greater than a pressure threshold.
The pressure threshold may be preconfigured in the handset 20. For example, the pressure threshold may be pre-stored in the memory of handset 20. Alternatively, the MCU of handset 20 may dynamically adjust the pressure threshold of pressure sensor 210. For example, the MCU of handset 20 may dynamically adjust the pressure threshold of pressure sensor 210 based on the context information of handset 20. The method for dynamically adjusting the pressure threshold of the pressure sensor 210 by the MCU according to the scene information of the handset 20 can be referred to the following description in the following embodiments, which are not repeated here.
Specifically, if the pressing pressure (e.g., 43 g) acquired by the pressure sensor 210 is greater than the pressure threshold (e.g., 40 g), the MCU may perform S406. If the pressing pressure (e.g., 36 g) collected by the pressure sensor 210 is less than or equal to the pressure threshold (e.g., 40 g), the MCU may determine that the second touch operation is a false touch operation, and the MCU may ignore the second touch operation and the handset 20 may not respond to the second touch operation.
It should be noted that, the pressure sensor 210 may periodically (or in real time) collect the compression pressure and transmit the collected compression pressure to a processor (e.g., MCU) of the handset 20. For example, when the first pressing operation is a clicking operation, the pressure sensor 210 may transmit a pressing pressure to the MCU once; if the pressing force is greater than the pressing force threshold, handset 20 may perform the corresponding function. For another example, when the first pressing operation is a double click operation, the pressure sensor 210 may transmit the pressing pressure to the MCU twice; if the compression pressure of any one transmission is greater than the compression threshold, handset 20 may perform the corresponding function. That is, regardless of whether the first pressing operation is a single click operation, a double click operation or a long press operation, the MCU of the mobile phone 20 may trigger the mobile phone 20 to perform a corresponding function as long as the MCU determines that the pressing pressure collected by the pressure sensor 210 is greater than the pressure threshold.
S406, handset 20 executes functions corresponding to the first touch operation and the second touch operation.
Wherein the sliding direction of the first touch operation (i.e., the sliding operation) and the operation type of the second touch operation may be used to determine the functions corresponding to the first touch operation and the second touch operation. The sliding direction of the first touch operation (i.e., the sliding operation) is determined according to the operation position (including the sliding trajectory to the preset area 203) indicated by the operation information of the first touch operation.
The operation information of the second touch operation may indicate an operation type of the second operation. For example, the operation type includes any one of a single click operation, a double click operation, a long press operation, or a slide operation. The operation information of the second touch operation is acquired by the touch sensor Y. Specifically, the MCU may determine functions corresponding to the first touch operation and the second touch operation according to operation information of the first touch operation and operation information of the second touch operation, and then execute the functions corresponding to the first touch operation and the second touch operation.
Illustratively, S406 may include: if the first touch operation is a sliding operation in a first direction (as shown in fig. 6 (a), from point a to point b) to the preset area 203, the second touch operation is a click operation or a long press operation, and the handset 20 can adjust the first parameter of the handset 20 high; if the first touch operation is a sliding operation in a second direction (from point c to point d as shown in fig. 6 (b)) toward the preset area 203, the second touch operation is a click operation or a long press operation, and the handset 20 can adjust the first parameter down. Wherein the first parameter is the volume or screen brightness of handset 20.
S406 may further include: if the first touch operation is a sliding operation in a first direction (as shown in (a) of fig. 6, from point a to point b) to a preset area, the second touch operation is a double-click operation, and handset 20 performs the first function; if the first touch operation is a sliding operation in a second direction (as shown in (b) of fig. 6, from point c to point d) to a preset area, the second touch operation is a double-click operation, and handset 20 performs the second function. Wherein the first function and the second function are one of the following functions: lock screen, screen capture, screen recording, camera opening and voice assistant opening. The second function is different from the first function.
In the embodiment of the application, on the premise that the operation type of the second touch operation is unchanged, the sliding directions of the first touch operation are different, and the functions corresponding to the first touch operation and the second touch operation are different. On the premise that the sliding direction of the first touch operation is unchanged, the operation type indicated by the operation information of the second touch operation is different, and functions corresponding to the first touch operation and the second touch operation are different.
For example, the memory of the mobile phone 20 may store the correspondence table between the first touch operation and the second touch operation and the functions. For example, please refer to table 1, which illustrates a configuration information table provided in an embodiment of the present application. The configuration information table includes a correspondence relationship among a sliding direction of the first touch operation, an operation type of the second touch operation, and a function.
TABLE 1
For example, when the first touch operation is a sliding operation from point a to point B shown in (a) of fig. 5 or a sliding operation from point a to point B shown in (a) of fig. 6 (i.e., an upward sliding operation shown in table 1), and the second touch operation is a click operation or a long press operation, the functions corresponding to the first touch operation and the second touch operation are volume up shown in table 1.
When the first touch operation is a sliding operation from point C to point D shown in (b) of fig. 5 or a sliding operation from point C to point D shown in (b) of fig. 6 (i.e., a downward sliding operation shown in table 1), and the second touch operation is a click operation or a long press operation, the functions corresponding to the first touch operation and the second touch operation are volume down shown in table 1.
When the first touch operation is a sliding operation from point a to point B shown in (a) of fig. 5 or a sliding operation from point a to point B shown in (a) of fig. 6 (i.e., a sliding-up operation shown in table 1) and the second touch operation is a double-click operation, the functions corresponding to the first touch operation and the second touch operation are screen shots shown in table 1.
When the first touch operation is a sliding operation from point C to point D shown in (b) of fig. 5 or a sliding operation from point C to point D shown in (b) of fig. 6 (i.e., a down-sliding operation shown in table 1) and the second touch operation is a double-click operation, the functions corresponding to the first touch operation and the second touch operation are the start-up voice assistants shown in table 1.
In one case, the functions executed by the mobile phone 20 may be triggered by the first touch operation in different sliding directions and the second touch operation in different operation types, and may be preconfigured in the mobile phone 20 before the mobile phone is shipped.
In another case, the first touch operation of the different sliding direction and the second touch operation of the different operation type trigger the function performed by the mobile phone 20, and may also be set in the mobile phone by the user. The specific method for determining that the first touch operation in different sliding directions and the second touch operation in different operation types trigger the function executed by the mobile phone 20 by receiving the setting of the user by the mobile phone may refer to a related setting method in a conventional technology, and the embodiments of the present application are not described herein.
Exemplary, the embodiment of the present application herein describes a specific method for the MCU (such as the MCU 350E shown in fig. 3) to trigger the mobile phone to execute the functions corresponding to the first touch operation and the second touch operation, in conjunction with the hardware architecture of the mobile phone shown in fig. 3.
In one implementation manner, the method for triggering the mobile phone to execute the functions corresponding to the first touch operation and the second touch operation by using the MCU 350E may include: MCU 350E shown in FIG. 3 determines a function corresponding to the first touch operation and the second touch operation; MCU 350E sends a request or instruction to SOC unit 310 to instruct the handset to perform the function, requesting or instructing SOC unit 310 to trigger one or more devices of the handset to perform the function.
In another implementation manner, the method for triggering the mobile phone to execute the functions corresponding to the first touch operation and the second touch operation by using the MCU 350E may include: the MCU 350E shown in fig. 3 transmits operation information of the first touch operation and operation information of the second touch operation described above to the SOC unit 310; the SOC unit 310 determines a function indicated by the received operation information; the SOC unit 310 triggers one or more devices of the handset to perform this function.
In the interaction method of the electronic device provided by the embodiment of the application, in response to the first touch operation (that is, the sliding operation to the preset area 203 where the pressure sensor 210 is located) of the user, the mobile phone 20 may send out the first prompting information to prompt the user to input the touch operation in the preset area 230. Thus, even if a user cannot accurately position the position of the touch key through blind touch; handset 20 may indicate to the user the position of the touch key upon receiving the first touch operation. Therefore, effective blind touch on the touch key can be realized, and the interaction performance of the electronic equipment can be improved.
In some embodiments, after S405, if the pressing pressure (e.g. 43 g) acquired by the pressure sensor 210 is greater than the pressure threshold (e.g. 40 g), the method according to the embodiment of the present application may further include: the MCU triggers a preset device in the handset 20 to send out a second prompt message. The second prompt information is used for prompting the user that the second touch operation is effective touch operation.
It should be noted that the second prompt information may be different from the first prompt information. For example, when the preset device is a motor, the first prompt information and the second prompt information are both vibration prompts. However, the vibration frequency and/or the number of vibrations of the second hint information may be different from those of the first hint information. Of course, in some embodiments, the first prompt information and the second prompt information may be the same, which is not limited in the embodiments of the present application.
In other embodiments, after S405, if the pressing pressure (e.g. 43 g) acquired by the pressure sensor 210 is less than the pressure threshold (e.g. 40 g), the method according to the embodiment of the present application may further include: the MCU triggers a preset device in the handset 20 to send out a third prompt. The third prompt information is used for prompting the user to input touch operation again.
It should be noted that the third hint information may be different from the first hint information and the second hint information. For example, when the preset device is a motor, the first prompt message, the second prompt message and the third prompt message are all vibration prompts. However, the vibration frequency and/or the number of vibrations of the third hint information and the second hint information and the first hint information may be different.
In other embodiments, after S405, whether the pressing pressure collected by the pressure sensor 210 is less than the pressure threshold, the MCU may trigger a preset device in the mobile phone 20 to send a fourth prompting message in response to the touch sensor Y detecting a lifting operation of the user (such as an operation that the finger of the user leaves the right side frame of the mobile phone 20).
It should be noted that the fourth hint information may be different from the third hint information, the first hint information, and the second hint information. For example, when the preset device is a motor, the fourth prompt message, the first prompt message, the second prompt message and the third prompt message are all vibration prompts. However, the vibration frequency and/or the number of vibrations of the fourth hint information may be different from those of other hint information (e.g., the first hint information, the second hint information, and the third hint information).
In some embodiments, to reduce power consumption of handset 20 and save power, the method of embodiments of the present application may further include: from the start of the MCU performing S403 (i.e., the MCU activating the pressure sensor 210), if the touch sensor Y or the pressure sensor 210 does not detect a touch operation (e.g., a second touch operation) for a preset period of time, the MCU may turn off the pressure sensor 210. For example, the preset time period may be 1 minute, 2 minutes, 3 minutes, 5 minutes, or the like. The preset time period may be preconfigured in handset 20. Alternatively, the preset time period may be set by the user in handset 20.
It will be appreciated that if the MCU activates the pressure sensor 210, but the touch sensor Y or the pressure sensor 210 does not detect a touch operation within a preset time period, it means that the first touch operation may be a false touch of the preset area 200 by the user. In this case, the MCU may turn off the pressure sensor 210 in order to save power.
In some cases, the touch sensor Y may detect the first touch operation described above due to the user's false touch, i.e., the first touch operation is a false touch operation by the user (i.e., an unintentional operation by the user). Starting from the MCU activation of the pressure sensor 210, if the touch sensor Y or the pressure sensor 210 detects a touch operation within a preset time period; the first touch operation described above is less likely to be a false touch operation. Starting from the MCU to start the pressure sensor 210, if the touch sensor Y or the pressure sensor 210 detects a touch operation within a preset time period; the first touch operation described above is highly likely to be a false touch operation.
Whether or not the first touch operation detected by the first touch operation is a false touch operation by the user, the MCU activates the pressure sensor 210 in response to the first touch operation. After pressure sensor 210 is activated, handset 20 may perform a function in response to a second touch operation by the user.
If the pressure sensor 210 is in an operating state after being started on the premise that the first touch operation is a false touch operation, the mobile phone 20 can execute a corresponding function in response to the false touch operation of the user. In this way, the possibility of false touch of the touch key of the cellular phone 20 increases.
Therefore, from the start of the pressure sensor 210 by the MCU, if the touch sensor Y or the pressure sensor 210 does not detect the pressing operation within the preset time, the MCU turns off the pressure sensor 210, so that not only the power consumption of the mobile phone 20 can be reduced, but also the electric quantity can be saved, and the anti-false touch performance of the mobile phone 20 can be improved.
For easy understanding, the method of the embodiment of the present application will be described by taking the first touch operation shown in fig. 6 (a) and fig. 6 (b) as an example, and combining the schematic diagram of the man-machine interaction process of the mobile phone 20 shown in fig. 7 and the schematic diagram of the state machine switching of the mobile phone 20 shown in fig. 8A.
When the touch sensor Y does not detect the touch operation of the user's finger on the preset area 201, the preset area 202, and the preset area 203, that is, the user's finger does not contact the preset area 201, the preset area 202, and the preset area 203 (700 shown in fig. 7), the mobile phone 20 is in the state 1 (i.e., idle state) shown in fig. 8A.
In case 1, the user's finger may contact an area below the preset area 202 on the right side frame of the handset 20. At this time, the touch sensor Y may detect that the finger of the user touches the preset area 202 shown in fig. 6 (a) (i.e., 710 shown in fig. 7) due to the upward sliding of the finger (action 1 shown in fig. 8A), so that the mobile phone 20 enters the state 2 shown in fig. 8A (i.e., upward sliding detection state).
As the user's finger continues to slide up from the preset area 202 shown in fig. 6 (a) (action 2 shown in fig. 8A), the touch sensor Y may detect that the user's finger contacts the preset area 203 shown in fig. 6 (a) (i.e., 711 shown in fig. 7). At this point, the MCU of handset 20 may execute 712 (including (1) activating pressure sensor 210, (2) triggering a motor vibration alert) as shown in FIG. 7, causing handset 20 to enter state 4 (i.e., function 1 enabled state) as shown in FIG. 8A. The motor vibration cues at 712 shown in fig. 7 may be: in S402, a first prompt message sent by the device is preset.
In summary, when the touch sensor Y detects the above-mentioned "sliding operation to the preset area 203 (i.e., the first touch operation)", the MCU of the mobile phone 20 may activate the pressure sensor 210 to collect the pressing pressure. Also, handset 20 may trigger motor vibration to prompt the user to input a touch operation.
Wherein, according to the prompt of the motor vibration, the user may input a second touch operation (i.e., action 3 shown in fig. 8A) in the preset area 203. In response to this action 3, handset 20 switches from state 4 to state 7 (i.e., function 1 pressed state) shown in fig. 8A. The pressure sensor 210 may collect the pressing pressure of the second touch operation, and the touch sensor Y may collect the operation information of the second touch operation. The MCU of the handset 20 may calculate the compression signal characteristics of the pressure sensor 210 (i.e., perform 713 shown in fig. 7). Wherein the press signal feature may be a press pressure of the second touch operation.
If the pressing pressure of the second touch operation satisfies the pressing characteristic (e.g., is greater than the pressure threshold of pressure sensor 210), the MCU of handset 20 may execute 714 shown in FIG. 7. 714 shown in fig. 7 may include: (1) reporting a press event of function 1; (2) motor vibration indicates that a compression event has occurred. Wherein the press event of the reporting function 1 in 714 shown in fig. 7 is used to execute S406 in the above-described embodiment. The motor vibration cues in 714 shown in fig. 7 may be: and presetting second prompt information sent by the device. Wherein the function 1 is determined according to the operation information of the first touch operation and the operation information of the second touch operation.
After the second touch operation is detected, when the touch sensor Y detects a user's lift-up operation (i.e., action 4 shown in fig. 8A), it indicates that the second touch operation satisfies the lift-up feature. The MCU of handset 20 may perform 715 shown in fig. 7. 715 shown in fig. 7 may include: (1) reporting a lift-off event; (2) motor vibration indicates that a lift event has occurred. The motor vibration alert in 715 of fig. 7 may be a fourth alert message sent by a preset device in handset 20. In response to the above-described action 4, the mobile phone 20 switches from the state 7 shown in fig. 8A to the state 4.
After detecting the above-described "sliding operation to preset area 203", if touch sensor Y detects the "sliding operation from preset area 203 to preset area 202" (i.e., action 11 shown in fig. 8A), cellular phone 20 may switch from state 4 shown in fig. 8A to state 2.
Of course, after the user's finger is slid into the preset area 202 shown in fig. 6 (a), if the touch sensor Y detects the user's lifting operation (i.e., action 5 shown in fig. 8A), the mobile phone 20 may be switched from state 2 to state 1 (i.e., idle state) shown in fig. 8A.
After detecting the above-described "slide operation (up operation) to the preset area 203", if the touch sensor Y detects a user's lift operation (i.e., action 5 shown in fig. 8A), the cellular phone 20 may be switched from state 4 shown in fig. 8A to state 1 (i.e., idle state).
In the case 2 described above, the finger of the user may contact an area above the preset area 201 on the right side frame of the mobile phone 20. At this time, the touch sensor Y may detect that the finger of the user touches the preset area 201 shown in (b) of fig. 6 (i.e., 720 shown in fig. 7) due to the downward sliding of the finger (action 6 shown in fig. 8A), so that the mobile phone 20 enters the state 3 shown in fig. 8A (i.e., downward sliding detection state).
As the user's finger continues to slide down from the preset area 201 shown in fig. 6 (a) (action 7 shown in fig. 8A), the touch sensor Y may detect that the user's finger contacts the preset area 203 shown in fig. 6 (a) (i.e., 721 shown in fig. 7). At this point, the MCU of handset 20 may execute 722 shown in FIG. 7 (including (a) activating pressure sensor 210, (b) triggering a motor vibration alert) causing handset 20 to enter state 5 shown in FIG. 8A (i.e., function 2 enabled state). The motor vibration cues in 722 shown in fig. 7 may be: the method comprises the steps of presetting first prompt information sent by a device.
In summary, when the touch sensor Y detects the above-mentioned "sliding operation to the preset area 203 (i.e., the first touch operation)", the MCU of the mobile phone 20 may activate the pressure sensor 210 to collect the pressing pressure. Also, handset 20 may trigger motor vibration to prompt the user to input a touch operation.
Wherein, according to the prompt of the motor vibration, the user may input a second touch operation (i.e., action 8 shown in fig. 8A) in the preset area 203. In response to this action 8, handset 20 enters state 6 (i.e., function 2 pressed) from state 5 shown in fig. 8A. The pressure sensor 210 may collect the pressing pressure of the second touch operation, and the touch sensor Y may collect the operation information of the second touch operation. The MCU of the cell phone 20 can calculate the compression signal characteristics of the pressure sensor 210 (i.e., perform 723 shown in fig. 7). Wherein the compression signal feature may be a compression pressure of the compression operation.
If the pressing pressure of the second touch operation satisfies the pressing characteristic (e.g., is greater than the pressure threshold of pressure sensor 210), the MCU of handset 20 may perform 724 shown in FIG. 7. 724 shown in fig. 7 may include: (1) reporting a press event of function 2; (2) motor vibration indicates that a compression event has occurred. The pressing event of the reporting function 2 in 724 shown in fig. 7 is used to execute S406 in the above embodiment. The motor vibration cues in 724 shown in fig. 7 may be: and presetting second prompt information sent by the device. Wherein the function 2 is determined according to the operation information of the first touch operation and the operation information of the second touch operation.
After the second touch operation is detected, when the touch sensor Y detects a user's lift-up operation (i.e., action 9 shown in fig. 8A), it indicates that the second touch operation satisfies the lift-up feature. The MCU of handset 20 may execute 725 shown in fig. 7. 725 shown in fig. 7 may include: (1) reporting a lift-off event; (2) motor vibration indicates that a lift event has occurred. The motor vibration alert at 725 shown in fig. 7 may be a fourth alert message sent by a preset device in the handset 20. In response to action 9, handset 20 switches from state 6 to state 5 (i.e., function 2 enabled state) shown in fig. 8A.
After detecting the above-described "sliding operation from to preset area 203", if touch sensor Y detects the "sliding operation from preset area 203 to preset area 201" (i.e., action 10 shown in fig. 8A), cellular phone 20 may switch from state 5 shown in fig. 8A to state 3.
Of course, after the user's finger is slid into the preset area 201 shown in fig. 6 (a), if the touch sensor Y detects the user's lifting operation (i.e., action 5 shown in fig. 8A), the mobile phone 20 may be switched from state 3 shown in fig. 8A to state 1 (i.e., idle state).
After detecting the above-described "sliding operation to the preset area 203", if the touch sensor Y detects the user's lifting operation (i.e., action 5 shown in fig. 8A), the cellular phone 20 may be switched from state 5 shown in fig. 8A to state 1 (i.e., idle state).
After detecting the above-described "sliding operation to preset area 203", if touch sensor Y detects the "sliding operation from preset area 203 to preset area 202" (i.e., action 13 shown in fig. 8A), cellular phone 20 may switch from state 5 shown in fig. 8A to state 2.
From the above embodiments, it can be seen that: in order to reduce the false touch of the touch key of the mobile phone 20, after detecting the above-mentioned "sliding operation to the preset area 203", if the touch sensor Y does not detect the second touch operation (e.g., pressing operation) for a preset period of time, the MCU may turn off the pressure sensor 210. Accordingly, the state machine switching diagram of handset 20 shown in fig. 8A may be replaced with the state machine switching diagram shown in fig. 8B. For example, as shown in fig. 8B, when handset 20 is in state 4, it may be determined in response to act 5 that touch sensor Y has not detected a pressing operation for a preset period of time (i.e., whether it has timed out). Handset 20 may switch from state 4 to state 7 if a touch operation is detected within a preset time period (i.e., without timeout). Handset 20 may switch from state 4 to state 1 if no touch operation is detected (i.e., timeout) within a preset period of time.
It should be noted that, the state machine switching diagrams shown in fig. 8A and fig. 8B are only given as examples of the state switching when the mobile phone 20 executes the present scheme, and do not limit the protection scope of the present application. State machine switching when handset 20 performs the methods of examples of the application includes, but is not limited to, state machine switching shown in fig. 8A or 8B.
The method according to the embodiment of the present application will be described herein by taking the example that the electronic device is the mobile phone 20 shown in fig. 2A (a). As shown in fig. 2A (a) or fig. 2A (b), a preset area 201 of the cellular phone 20 is provided with a touch sensor, a preset area 203 is provided with a touch sensor and a pressure sensor 210, and a preset area 202 is provided with a touch sensor. The preset area where the pressure sensor 210 is located is the preset area 203.
In the embodiment of the present application, the method of the embodiment of the present application is described by taking the case that the touch sensors disposed in the preset area 201, the preset area 202, and the preset area 203 are the same touch sensor (referred to as a touch sensor Y). As shown in fig. 8C, the interaction method of the electronic device provided by the embodiment of the present application may include S801-S807.
S801, mobile phone 20 detects a touch operation by touch sensor Y.
The detailed description of S801 may refer to the description of S401 in the above embodiment, and the description of the embodiment of the present application is omitted here.
S802, in response to the touch sensor Y detecting the first touch operation, the MCU triggers a preset device in the mobile phone 20 to send out first prompt information.
Wherein the first touch operation is a sliding operation to the preset area 203 where the pressure sensor 210 is located. For example, the first touch operation may be any one of a sliding operation from point a to point B shown in (a) of fig. 5, a sliding operation from point C to point D shown in (B) of fig. 5, a sliding operation from point a to point B shown in (a) of fig. 6, or a sliding operation from point C to point D shown in (B) of fig. 6.
It should be noted that, the detailed description of the first prompting information and the preset device may refer to the description of S402 in the foregoing embodiment, and the embodiment of the present application is not repeated here.
S803, in response to the touch sensor Y detecting the first touch operation, the cellular phone 20 activates the pressure sensor 210.
S804, handset 20 collects the pressing pressure of the second touch operation by pressure sensor 210. The second touch operation is a sliding operation in the first direction or a sliding operation in the second direction started by the preset area 203.
Wherein the first direction is opposite to the second direction. Taking the example that the first direction is the direction from bottom to top on the side frame of the mobile phone 20 and the second direction is the direction from top to bottom on the side frame of the mobile phone 20. For example, as shown in (a) of fig. 8D, the point E is located in the preset area 203, the point F is located in the preset area 201, and the point G is located in an area above the preset area 201. The second touch operation may be a sliding operation from the point E to the point F shown in fig. 8D, or a sliding operation from the point E to the point G shown in fig. 8D. As shown in (b) of fig. 8D, the point e is located in the preset area 203, the point f is located in the area below the preset area 202, and the point g is located in the area below the preset area 202. The second touch operation may be a sliding operation from the point e to the point f shown in fig. 8D (b), or a sliding operation from the point e to the point g shown in fig. 8D (b).
S805, the MCU judges whether the pressing pressure acquired by the pressure sensor 210 is greater than a pressure threshold.
Specifically, if the pressing force is greater than the pressing force threshold, handset 20 may perform S806 or S807. If the pressing pressure is less than or equal to the pressure threshold, the MCU may determine that the second touch operation is a false touch operation, and the MCU may not respond to the second touch operation.
S806, if the second touch operation is a sliding operation along the first direction, the MCU triggers the handset 20 to turn up the first parameter. Wherein the first parameter is the volume or screen brightness of handset 20.
S807, if the second touch operation is a sliding operation in the second direction, the MCU triggers handset 20 to turn down the first parameter.
It should be noted that, unlike the schemes described in S401 to S406, in the schemes described in S801 to S807, the sliding direction of the first touch operation does not affect the function executed by the mobile phone 20, and the first touch operation is only used to trigger the preset device to send the first prompt message and trigger the MCU to activate the pressure sensor 210. And the sliding direction of the second touch determines the functions that handset 20 needs to perform. Referring to the position distribution of the "volume+" key and the "volume-" key on the side frame of the mobile phone, for example, the "volume+" key is above the "volume-" key, in order to conform to the usage habit of the user, the first direction may be an upward sliding direction, and the second direction is a downward sliding direction.
In some embodiments, the second touch operation and the first touch operation described in S401-S406 and S801-S807 may be touch operations in which the user' S finger does not leave the right bezel of handset 20. That is, the first touch operation and the second touch operation described above are continuous touch operations.
In order to reduce power consumption of the mobile phone 20 and save power, the method of the embodiment of the present application may further include: from the start of the MCU performing S803 (i.e., the MCU starts the pressure sensor 210), if the touch sensor Y or the pressure sensor 210 does not detect a touch operation (e.g., a second touch operation) for a preset period of time, the MCU may turn off the pressure sensor 210.
The embodiment of the application provides an interaction method of electronic equipment, which can be applied to the electronic equipment provided with a touch sensor, a first pressure sensor and a second pressure sensor. The touch sensor, the first pressure sensor, and the second pressure sensor may be disposed on a surface of the electronic device. For example, the touch sensor, the first pressure sensor, and the second pressure sensor may be disposed on a side of the electronic device (e.g., a left side bezel or a right side bezel). The electronic device can detect the pressing operation input by the user by utilizing the touch effect of the touch sensor and the piezoelectric effect of the first pressure sensor and the second pressure sensor, so that the related functions of locking a screen, adjusting volume and other physical keys are realized.
The method according to the embodiment of the present application will be described herein by taking the mobile phone 10 shown in fig. 1 (a) as an example. As shown in fig. 1 (a) or fig. 1 (b), the preset area 101 (i.e., a first preset area) of the mobile phone 10 is provided with a touch sensor and a pressure sensor 110 (i.e., a first pressure sensor), the preset area 103 is provided with a touch sensor, and the preset area 102 (i.e., a second preset area) is provided with a touch sensor and a pressure sensor 120 (i.e., a second pressure sensor).
In the embodiment of the present application, the method of the embodiment of the present application is described by taking the case that the touch sensors disposed on the preset area 101, the preset area 102, and the preset area 103 are the same touch sensor (referred to as a touch sensor X). As shown in fig. 9, the interaction method of the electronic device provided by the embodiment of the application may include S900, S901-S905 and S1001-S1005.
S900, the mobile phone 10 detects a touch operation by the touch sensor X.
The method for detecting the touch operation by the touch sensor X may refer to a specific method for detecting the touch operation by the touch sensor in the conventional technology, which is not described herein.
S901, in response to the touch sensor X detecting a sliding operation (referred to as a first sliding operation) along a first direction to the preset area 101, the MCU triggers the preset device to send out a first prompt message.
The first direction is a direction from the preset area 102 to the preset area 101. For example, as shown in (a) of fig. 10, the point 1 is located in an area below the preset area 103, the point 2 is located in the preset area 102, the point 3 is located in the preset area, and the point 4 is located in the preset area 102. The first sliding operation may be a sliding operation from point 1 to point 4 shown in (a) of fig. 10, a sliding operation from point 2 to point 4, or a sliding operation from point 3 to point 4.
The sliding direction of the sliding operation is determined by the operation information of the sliding operation. The operation information of the sliding operation is collected by the touch sensor Y. The detailed description of the first prompting message and the preset device may refer to the description of S402 in the foregoing embodiment, and the details of this embodiment of the present application are not repeated here.
S902, in response to the touch sensor X detecting the first sliding operation, the MCU activates the pressure sensor 110.
If the touch sensor X detects the first sliding operation, it indicates that the finger of the user is placed at the position where the touch key is pressed. After the preset device sends the first prompt information, the user may input a touch operation (such as a pressing operation) at the position. At this time, the MCU may activate the pressure sensor 110 to collect the pressing pressure of the touch operation (e.g., pressing operation) input by the user.
S903, the mobile phone 10 collects the pressing pressure of the first pressing operation by the pressure sensor 110.
The pressure sensor 110 in an embodiment of the present application may be a piezoelectric ceramic sensor. The sensitivity of the piezoelectric ceramic sensor is higher than other pressure sensors; therefore, even if the pressing pressure of the first pressing operation is small, the pressure sensor 110 can acquire the pressing pressure.
S904, the MCU judges whether the pressing pressure acquired by the pressure sensor 110 is greater than a pressure threshold.
The pressure threshold may be preconfigured in the mobile phone 10. For example, the pressure threshold may be pre-stored in the memory of the handset 10. Alternatively, the MCU of the handset 10 may dynamically adjust the pressure threshold of the pressure sensor 110. For example, the MCU of the handset 10 may dynamically adjust the pressure threshold of the pressure sensor 110 based on the context information of the handset 10. The method for dynamically adjusting the pressure threshold of the pressure sensor 110 by the MCU according to the scene information of the mobile phone 10 may refer to the following description in the following embodiments, which are not repeated here.
Specifically, if the pressing pressure (e.g., 43 g) collected by the pressure sensor 110 is greater than the above-mentioned pressure threshold (e.g., 40 g), the MCU may perform S906. If the pressing pressure (e.g., 36 g) collected by the pressure sensor 110 is less than or equal to the pressure threshold (e.g., 40 g), the MCU may determine that the first pressing operation is a false touch operation, and the MCU may ignore the first pressing operation and may not respond to the first pressing operation.
S905, the mobile phone 10 executes a function corresponding to the first pressing operation.
For example, S905 may include: if the first press operation is a single click operation or a long press operation, the handset 10 adjusts the first parameter high. The first parameter is the volume or screen brightness of the handset 10. S905 may further include: if the first press operation is a double click operation, the handset 10 performs a first function. Wherein the first function is one of the following functions: lock screen, screen capture, screen recording, camera opening and voice assistant opening.
For example, the memory of the mobile phone 10 may store the correspondence table between the first sliding operation, the first pressing operation and the function. For example, please refer to table 2, which illustrates a configuration information table provided in an embodiment of the present application. The configuration information table includes a correspondence relationship between the first sliding operation (i.e., the sliding operation to the preset area 101), the operation type of the first pressing operation, and the function.
TABLE 2
For example, when the operation type of the first pressing operation is a single click operation or a long press operation, the function corresponding to the first sliding operation and the first pressing operation is to turn up the volume as shown in table 2. When the operation type of the first pressing operation is a double click operation, the function corresponding to the first sliding operation and the first pressing operation is a screen shot shown in table 2.
In one case, the first sliding operation and the first pressing operation with different operation types trigger the functions executed by the mobile phone 10, and may be preconfigured in the mobile phone 10 before the mobile phone is shipped.
In another case, the first sliding operation and the first pressing operation of the different operation type trigger functions performed by the mobile phone 10, and may also be set in the mobile phone by the user. The specific method for determining that the first sliding operation and the first pressing operation of different operation types trigger the function executed by the mobile phone 10 may refer to a related setting method in the conventional technology, and the embodiments of the present application are not described herein.
S1001, in response to the touch sensor X detecting a sliding operation along the second direction to the preset area 102 (referred to as a second sliding operation), the MCU triggers the preset device to send out the first prompt information.
The second direction is a direction from the preset area 101 to the preset area 102. For example, as shown in (b) of fig. 10, the point 8 is located in the preset area 102, the point 7 is located in the preset area 103, the point 6 is located in the preset area 101, and the point 5 is located in the area above the preset area 101. The second sliding operation may be a sliding operation from point 5 to point 8, a sliding operation from point 6 to point 8, or a sliding operation from point 7 to point 8 shown in (b) of fig. 10.
The sliding direction of the sliding operation is determined by the operation information of the sliding operation. The operation information of the sliding operation is collected by the touch sensor Y. The detailed description of the first prompting message and the preset device may refer to the description of S402 in the foregoing embodiment, and the description of the embodiment of the present application is omitted here.
In the embodiment of the present application, in response to the first sliding operation in S902, the MCU triggers the preset device to send out the first prompt information, which may be different from in response to the second sliding operation in S1002. For example, vibration cues with different vibration frequencies and/or vibration times.
For example, assuming that the preset device is the motor of the handset 10, the first alert message is a vibration alert. The MCU triggers the motor to send out a vibration prompt which can be a primary vibration prompt in response to the first sliding operation; in response to the second sliding operation, the vibration prompt sent by the MCU triggering motor can be a continuous vibration prompt.
S1002, in response to the touch sensor X detecting the second sliding operation, the MCU activates the pressure sensor 120.
Wherein, if the touch sensor X detects the second sliding operation, it indicates that the finger of the user is placed at the position where the touch key is located. After the preset device sends the first prompt information, the user may input a touch operation (such as a pressing operation) at the position. At this time, the MCU may activate the pressure sensor 120 to collect the pressing pressure of the touch operation (e.g., pressing operation) input by the user.
S1003, the mobile phone 10 collects the pressing pressure of the second pressing operation by the pressure sensor 120.
The pressure sensor 120 in an embodiment of the present application may be a piezoelectric ceramic sensor. The sensitivity of the piezoelectric ceramic sensor is higher than other pressure sensors; therefore, even if the pressing pressure of the second pressing operation is small, the pressure sensor 120 can acquire the pressing pressure.
S1004, the MCU judges whether the pressing pressure acquired by the pressure sensor 120 is greater than a pressure threshold.
Specifically, if the pressing pressure (e.g., 43 g) collected by the pressure sensor 120 is greater than the above-mentioned pressure threshold (e.g., 40 g), the MCU may perform S906. If the pressing pressure (e.g., 36 g) collected by the pressure sensor 120 is less than or equal to the above-mentioned pressure threshold (e.g., 40 g), the MCU may determine that the second pressing operation is a false touch operation, and the MCU may ignore the second pressing operation and may not respond to the second pressing operation.
S1005, the mobile phone 10 executes a function corresponding to the second pressing operation.
For example, S1005 may include: if the second press operation is a single click operation or a long press operation, the handset 10 adjusts the first parameter down. The first parameter is the volume or screen brightness of the handset 10. S1005 may further include: if the second press operation is a double click operation, the handset 10 performs a second function. Wherein the second function is one of the following functions: lock screen, screen capture, screen recording, camera opening and voice assistant opening. The second function is different from the first function described above.
For example, the memory of the mobile phone 10 may store the correspondence table between the second sliding operation and the second pressing operation and the function. For example, please refer to table 3, which illustrates a configuration information table provided in an embodiment of the present application. The configuration information table includes the correspondence between the second sliding operation (i.e., the sliding operation toward the preset area 102), the operation type of the second pressing operation, and the function.
TABLE 3 Table 3
For example, when the operation type of the second pressing operation is a single click operation or a long press operation, the function corresponding to the second sliding operation and the second pressing operation is to turn down the volume as shown in table 3. When the operation type of the second pressing operation is a double click operation, the function corresponding to the second sliding operation and the second pressing operation is to turn on the voice assistant shown in table 3.
It should be noted that, the method for the MCU to execute the functions corresponding to the second sliding operation and the second pressing operation may refer to the detailed description of S406 in the above embodiment, which is not repeated herein in the embodiments of the present application.
The embodiment of the application provides an interaction method of electronic equipment, responding to a first sliding operation or a second pressing operation of a user, the mobile phone 10 can send out first prompt information to prompt the user to input touch operation in the preset area 101 or the preset area 102. That is, the cellular phone 20 may indicate the position of the touch key to the user when the first sliding operation or the second sliding operation is detected. Therefore, effective blind touch on the touch key can be realized, and the interaction performance of the electronic equipment can be improved.
In some embodiments, if the pressing force (e.g., 43 g) is greater than the pressing force threshold (e.g., 40 g), the method of embodiments of the present application may further comprise: the MCU triggers a preset device in the handset 10 to send out a second prompt message. The second prompt information is used for prompting the user that the first pressing operation or the second pressing operation is effective touch operation.
In other embodiments, if the pressing force (e.g., 43 g) is less than the pressing force threshold (e.g., 40 g), the method of embodiments of the present application may further comprise: the MCU triggers a preset device in the handset 10 to send out a third prompt message. The third prompt information is used for prompting the user to input touch operation again.
In other embodiments, whether the pressing force (e.g., 43 g) is less than the pressing force threshold (e.g., 40 g), the MCU may trigger a preset device in the mobile phone 10 to send a fourth prompt in response to the touch sensor X detecting a user lifting operation (e.g., a user finger is away from the right side frame of the mobile phone 10).
The detailed description of the second prompt information, the third prompt information and the fourth prompt information may refer to the description of the second prompt information and the third prompt information in the above embodiment, and the embodiments of the present application are not repeated here.
In some embodiments, in order to reduce the power consumption of the mobile phone 10 and save power, the method according to the embodiment of the present application may further include: from the start of the MCU performing S902 (i.e., the MCU activating the pressure sensor 110), if the touch sensor X or the pressure sensor 110 does not detect a touch operation for a preset period of time, the MCU may turn off the pressure sensor 110. From the start of the MCU performing S1002 (i.e., the MCU starts the pressure sensor 120), if the touch sensor X or the pressure sensor 120 does not detect a touch operation for a preset period of time, the MCU may turn off the pressure sensor 120.
The MCU of the mobile phone 10 turns off the pressure sensor, which not only reduces the power consumption of the mobile phone 10 and saves the electric quantity, but also improves the anti-false touch performance of the mobile phone 10. The principle that the MCU of the mobile phone 10 turns off the pressure sensor to improve the anti-false touch performance of the mobile phone 10 can be referred to the principle that the MCU of the mobile phone 20 turns off the pressure sensor 210 to improve the anti-false touch performance of the mobile phone 20, which is not repeated here in the embodiments of the present application.
For easy understanding, the method according to the embodiment of the present application will be described with reference to the schematic diagram of the man-machine interaction process of the mobile phone 10 shown in fig. 11 and the schematic diagram of the state machine switching of the mobile phone 10 shown in fig. 12A, by taking the first sliding operation shown in (a) of fig. 10 and the second sliding operation shown in (b) of fig. 10 as examples.
When the touch sensor X does not detect the touch operation of the finger of the user on the preset area 101, the preset area 102, and the preset area 103, that is, the finger of the user does not contact the preset area 101, the preset area 102, and the preset area 103 (1100 shown in fig. 11), the mobile phone 10 is in the state i (i.e., the idle state) shown in fig. 12A.
The touch sensor X may detect a touch operation of the user's finger on the preset area 103 shown in fig. 10 (a) or fig. 10 (b) (i.e., action i shown in fig. 12A), that is, the user's finger contacts the preset area 102 (i.e., 1101 shown in fig. 11). In response to this action i, handset 20 switches from state i to state ii shown in fig. 12A.
In one case, after the touch sensor X detects that the user's finger touches the preset area 103, the user's finger may be detected to touch the preset area 101 (i.e., 1111 (fig. 11)) shown in fig. 10 (a) due to the upward sliding of the user's finger (action ii (fig. 12A)). At this point, the MCU of the handset 10 may execute 1112 shown in FIG. 11 (including (1) activating the pressure sensor 110, (2) triggering the motor vibration alert) causing the handset 10 to enter state iii shown in FIG. 12A (i.e., function a enabled state). The motor vibration cues in 1112 shown in fig. 11 may be: the method comprises the steps of presetting first prompt information sent by a device.
In summary, when the touch sensor X detects the "sliding operation from the preset area 103 to the preset area 101 (i.e., the first sliding operation)", the MCU of the mobile phone 10 may activate the pressure sensor 110 to collect the pressing pressure. And, the MCU of the mobile phone 10 may trigger the motor to vibrate so as to prompt the user to input a touch operation at the position of the preset area 101.
In this case, according to the motor vibration, the user may input a first pressing operation (i.e., action v shown in fig. 12A) in the preset area 101. In response to this action v, the handset 10 enters a state v from state iii shown in fig. 12A (i.e., function a pressed state). The pressure sensor 110 may collect the pressing pressure of the first pressing operation, and the touch sensor X may collect the operation information of the first pressing operation. The MCU of the handset 10 can calculate the compression signal characteristics of the pressure sensor 110 (i.e., perform 1113 shown in fig. 11). Wherein the compression signal feature may be a compression pressure of the first compression operation.
If the pressing pressure of the first pressing operation satisfies the pressing characteristic (e.g., is greater than the pressure threshold of the pressure sensor 110), the MCU of the handset 10 may execute 1114 shown in FIG. 11. 1114 shown in fig. 11 may include: (1) reporting a press event of function a; (2) motor vibration indicates that a compression event has occurred. Wherein the pressing event of the reporting function a in 1114 shown in fig. 11 is used to perform S906 in the above-described embodiment. The motor vibration cues in 1114 shown in fig. 11 may be: in S907, a second prompt message sent by the device is preset. Wherein the function a is determined based on the operation information of the first sliding operation and the operation information of the first pressing operation.
After the touch sensor X detects the first pressing operation described above, if the touch sensor X detects a lifting operation by the user (i.e., action iv shown in fig. 12A), it indicates that the first pressing operation satisfies the lifting feature. The MCU of the handset 10 may execute 1115 shown in fig. 11. 1115 shown in fig. 11 may include: (1) reporting a lift-off event; (2) motor vibration indicates that a lift event has occurred. The motor vibration alert in 1115 shown in fig. 11 may be a fourth alert message sent by a preset device in the mobile phone 10. In response to the above action vi, the mobile phone 10 switches from the state v shown in fig. 12A to the state iii (i.e., the function a enabled state).
After the touch sensor X detects the above-described "sliding operation from the preset area 103 to the preset area 101", if the touch sensor X detects the "sliding operation from the preset area 101 to the preset area 103" (i.e., action vii shown in fig. 12A), the mobile phone 10 may switch from state iii shown in fig. 12A to state ii.
After detecting the above-described "sliding operation from the preset area 103 to the preset area 101", if the touch sensor X detects a user's lifting operation (i.e., action iv shown in fig. 12A), the mobile phone 10 may switch from state iii shown in fig. 12A to state i (i.e., idle state).
In another case, after the touch sensor X detects that the user's finger touches the preset area 103, the user's finger may be detected to touch the preset area 102 shown in (a) of fig. 10 (1121 shown in fig. 11) due to the sliding down of the user's finger (action iii shown in fig. 12A). At this time, the MCU of the handset 10 may execute 1122 shown in fig. 11 (including (a) activating the pressure sensor 120, (b) triggering the motor vibration alert) so that the handset 10 enters state iv shown in fig. 12A (i.e., the function b enabled state). The motor vibration prompt in 1122 shown in fig. 11 may be: the method comprises the steps of presetting first prompt information sent by a device.
In summary, when the touch sensor X detects the "sliding operation from the preset area 103 to the preset area 102 (i.e., the second sliding operation)", the MCU of the mobile phone 10 may activate the pressure sensor 120 to collect the pressing pressure. Also, the handset 10 may trigger the motor to vibrate to prompt the user to input a touch operation at the location of the preset area 102.
In this case, the user may input a second pressing operation (i.e., action v shown in fig. 12A) in the preset area 100 according to the indication of the motor vibration. In response to this action v, the handset 10 enters a state vi (i.e. function b pressed state) from state iv shown in fig. 12A. The pressure sensor 120 may collect the pressing pressure of the second pressing operation, and the touch sensor X may collect the operation information of the second pressing operation. The MCU of the handset 10 may calculate the compression signal characteristics of the pressure sensor 120 (i.e., perform 1123 shown in fig. 11). Wherein the compression signal feature may be a compression pressure of the second compression operation.
If the pressing pressure of the second pressing operation satisfies the pressing characteristic (e.g., is greater than the pressure threshold of the pressure sensor 120), the MCU of the handset 10 may execute 1124 shown in FIG. 11. 1124 shown in fig. 11 may include: (1) reporting a press event of function b; (2) motor vibration indicates that a compression event has occurred. The pressing event of the reporting function b in 1124 shown in fig. 11 is used to execute S906 in the above embodiment. The motor vibration cues in 1124 shown in fig. 11 may be: in S907, a second prompt message sent by the device is preset. Wherein the function b is determined based on the operation information of the second sliding operation and the operation information of the second pressing operation.
After the touch sensor X detects the above-described second pressing operation, if the touch sensor X detects a lifting operation by the user (i.e., action iv shown in fig. 12A), it indicates that the second pressing operation satisfies the lifting feature. The MCU of the handset 10 may perform 1125 shown in fig. 11. 1125 shown in fig. 11 may include: (1) reporting a lift-off event; (2) motor vibration indicates that a lift event has occurred. The motor vibration prompt in 1125 shown in fig. 11 may be a fourth prompt message sent by a preset device in the mobile phone 10. In response to the above action vi, the mobile phone 10 switches from the state vi shown in fig. 12A to the state iv (i.e. the function b enabled state).
After the touch sensor X detects the above-described "sliding operation from the preset area 103 to the preset area 102", if the touch sensor X detects the "sliding operation from the preset area 102 to the preset area 103" (i.e., action viii shown in fig. 12A), the mobile phone 10 may switch from state iv to state ii shown in fig. 12A.
After detecting the above-described "sliding operation from the preset area 103 to the preset area 102", if the touch sensor X detects a user's lifting operation (i.e., action iv shown in fig. 12A), the mobile phone 10 may switch from state iv shown in fig. 12A to state i (i.e., idle state).
Of course, after detecting that the finger of the user touches the preset area 103 shown in (a) of fig. 10, if the touch sensor X detects the user's lifting operation (i.e., action iv shown in fig. 12A), the mobile phone 10 may be switched from state ii shown in fig. 12A to state i (i.e., idle state).
From the above embodiments, it can be seen that: in order to reduce the false touch of the touch key of the mobile phone 10, after detecting the above-mentioned "sliding operation from the preset area 103 to the preset area 101 or the preset area 102", if the touch sensor X does not detect the second pressing operation (e.g., pressing operation) for a preset period of time, the MCU may turn off the pressure sensor 110 or the pressure sensor 120. Accordingly, the state machine switching diagram of the mobile phone 10 shown in fig. 12A may be replaced by the state machine switching diagram shown in fig. 12B. For example, as shown in fig. 12B, when the mobile phone 10 is in state iii, it may be determined in response to the action iv that the touch sensor X does not detect the second pressing operation for a preset period of time (i.e., determines whether or not it times out). If a touch operation is detected within a preset time period (i.e., without timeout), the handset 10 may switch from state iii to state v. If no touch operation is detected (i.e., timeout) within a preset period of time, the handset 10 may switch from state iii to state i.
It should be noted that the state machine switching diagrams shown in fig. 12A and fig. 12B are only given as examples of the state switching when the mobile phone 10 executes the present scheme, and do not limit the protection scope of the present application. State machine switching when the handset 10 performs the method of the example of the application includes, but is not limited to, state machine switching shown in fig. 12A or 12B.
The embodiment of the application is described herein as a method for manually adjusting the pressure threshold of a pressure sensor.
In order to reduce the false touch of the touch key of the mobile phone, the mobile phone can dynamically adjust the pressure threshold of the pressure sensor according to the current scene (including an application scene and/or a physical scene) of the mobile phone in response to the first touch operation or the third touch operation. Specifically, the MCU may acquire the scene information of the mobile phone through the third touch operation or the first touch operation. The scene information is used for indicating a scene where the mobile phone is located, and the scene where the mobile phone is located comprises an application scene and/or a physical scene. The MCU may then query the memory for the pressure threshold of the pressure sensor under the scene indicated by the scene information.
The MCU can determine the application scene of the mobile phone according to the application of the mobile phone running in the foreground. For example, if the touch sensor detects the third touch operation or the first touch operation, the mobile phone runs the video application in the foreground; then, the application scene where the mobile phone is located is a video scene. For another example, it is assumed that the mobile phone runs a game application in the foreground when the touch sensor detects the third touch operation or the first touch operation; then, the application scene where the mobile phone is located is a game scene. For another example, it is assumed that the mobile phone runs a phone application in the foreground when the touch sensor detects the third touch operation or the first touch operation; then, the application scene where the mobile phone is located is a phone scene.
The MCU can determine the current physical scene of the mobile phone according to data acquired by one or more devices such as a camera, an approaching light sensor, an acceleration sensor, an ambient light sensor and the like of the mobile phone. For example, the physical scene may include one or more of a driving scene, a running scene, a stationary scene, a pocket scene, or the like.
The MCU may start one or more devices such as the camera, the proximity light sensor, the acceleration sensor, and the ambient light sensor in response to the third touch operation or the first touch operation, so as to collect data for determining a physical scene of the mobile phone. Or the proximity light sensor, the acceleration sensor and the ambient light sensor can be started to collect corresponding data when the mobile phone is started; in response to the third touch operation or the first touch operation, the MCU may determine a physical scene in which the mobile phone is currently located according to data currently collected by the proximity light sensor, the acceleration sensor, and the ambient light sensor. And the camera is started by the MCU in response to the third touch operation or the first touch operation.
For example, the MCU may detect whether the mobile phone is in a pocket or not, and whether the mobile phone is in a pocket scene, according to the proximity light sensor and the data collected by the proximity light sensor. The MCU can determine that the mobile phone is in a driving scene or a running scene and the like according to the motion acceleration of the mobile phone acquired by the acceleration sensor. When the mobile phone is in a driving scene and a running scene, the movement acceleration of the mobile phone is different.
It can be appreciated that when the mobile phone is in different scenarios (including application scenarios and/or physical scenarios), the possibility that the touch key of the mobile phone is touched by mistake is different. In the embodiment of the application, the mobile phone can set different pressure thresholds for the pressure sensor according to different scenes. For example, please refer to table 4, which illustrates a table of correspondence between a scene and a pressure threshold provided in an embodiment of the present application.
TABLE 4 Table 4
Illustratively, in embodiments of the present application, the pressure threshold may be divided into a plurality of levels, such as the four levels shown in Table 2. The pressure threshold for each level corresponds to a different pressure value. Wherein, the four-level pressure threshold shown in Table 2 is greater than the three-level pressure threshold, which is greater than the two-level pressure threshold, which is greater than the first-level pressure threshold. For example, the primary pressure threshold shown in Table 2 may be 35g, the secondary pressure threshold may be 40g, the tertiary pressure threshold may be 50g, and the quaternary pressure threshold may be 60g. Of course, in the embodiment of the present application, the pressure threshold includes, but is not limited to, the four-stage pressure threshold, and the value of the four-stage pressure threshold includes, but is not limited to, the pressure value in the above example.
For example, as shown in table 2, when the application scene of the mobile phone is a screen locking scene and the physical scene is a static scene, the pressure threshold of the pressure sensor is a first-level pressure threshold; when the application scene of the mobile phone is a video scene and the physical scene is a static scene, the pressure threshold of the pressure sensor is a first-level pressure threshold; when the application scene of the mobile phone is an audio scene and the physical scene is a running scene, the pressure threshold of the pressure sensor is a secondary pressure threshold; when the application scene of the mobile phone is a game scene, the pressure threshold of the pressure sensor is a three-level pressure threshold; when the application scene of the mobile phone is a screen locking scene and the physical scene is a pocket scene, the pressure threshold of the pressure sensor is a four-level pressure threshold.
It should be noted that, the correspondence between the application scenario and/or the physical scenario and the pressure threshold may be determined by counting the pressing pressure of the user on the mobile phone when a large number of mobile phones are in different scenarios (application scenario and/or physical scenario) in the daily use process. Under the scene that the pressing pressure of the user is large, the possibility that the pressing key of the mobile phone is touched by mistake is high; thus, a larger pressure threshold may be set for these scenarios. In the scene of smaller pressing pressure of the user, the possibility that the pressing key of the mobile phone is touched by mistake is lower; thus, a smaller pressure threshold may be set for these scenarios. Of course, the corresponding relationship between the application scenario and/or the physical scenario and the pressure threshold may also be set in the mobile phone by the user. The method for receiving the pressure threshold corresponding to each scene set by the mobile phone may refer to related description in the conventional technology, and the embodiment of the present application is not described herein.
The memory of the mobile phone stores a plurality of scene information and the pressure threshold of the pressure sensor under the scene indicated by each scene information. For example, the memory of the handset may store the correspondence between the scene and the pressure threshold shown in table 2. The first pressure threshold is a pressure threshold of the pressure sensor under the scene indicated by the current scene information.
For example, assume that the current scene information of the mobile phone indicates that an application scene of the mobile phone is an audio scene and a physical scene is a running scene. Then, the MCU may find the first pressure threshold as the first level pressure threshold from table 2 stored in the memory.
In the embodiment of the application, when the mobile phone is in different scenes (including an application scene and/or a physical scene), the mobile phone judges whether the pressing pressure of the first pressing operation is larger than the pressure threshold or not, and the pressure threshold adopted when the pressing pressure of the first pressing operation is larger than the pressure threshold is different. That is, the mobile phone can dynamically adjust the pressure threshold of the pressure sensor according to the scene of the mobile phone.
It will be appreciated that the electronic device (e.g., a mobile phone) may include hardware structures and/or software modules for performing the functions described above. Those of skill in the art will readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the embodiments of the present application.
The embodiment of the application can divide the functional modules of the electronic equipment (such as a mobile phone) according to the method example, for example, each functional module can be divided corresponding to each function, and two or more functions can be integrated in one processing module. The integrated modules may be implemented in hardware or in software functional modules. It should be noted that, in the embodiment of the present application, the division of the modules is schematic, which is merely a logic function division, and other division manners may be implemented in actual implementation.
In the case of an integrated unit, fig. 13 shows a schematic diagram of one possible structure of the electronic device (e.g., mobile phone) involved in the above embodiment. As shown in fig. 13, an electronic device 1300 may include: a first motion detection module 1301, a second motion detection module 1302, and a trigger module 1303.
The first action detection module 1301 is configured to support the electronic device 1300 to perform: the first touch operation, the first slide operation, and the second slide operation in the above-described embodiments are detected. For example, the first action detection module 1301 is to support the electronic device 1300 to perform S401, S900, S901, S1001 in the examples described above, and/or other processes for the techniques described herein. The functions of the first motion detection module 1301 may be implemented by one or more devices such as the MCU and the touch sensor of the mobile phone.
The second motion detection module 1302 is configured to support the electronic device 1300 to perform: the second touch operation, the first pressing operation, and the second pressing operation in the above-described embodiments are detected. For example, the second action detection module 1302 is to support the electronic device 1300 to perform S403, S404, S903, S904, S1003, and S1004 in the above-described embodiments, and/or other processes for the techniques described herein. Illustratively, the functionality of the second motion detection module 1302 may be implemented by one or more of the devices described above, such as the MCU, pressure sensor, and touch sensor, among others.
The triggering module 1303 is configured to support the electronic device 1300 to execute: and starting the pressure sensor, triggering a preset device (such as a motor) to send out prompt information, and triggering the mobile phone to execute the function indicated by the operation information of the second touch operation. For example, the triggering module 1303 is configured to support the electronic device 1300 to perform S402, S403, S406, S902, S905, S1002, S1005, and/or other processes for the techniques described herein, in the method embodiments described above. The function of the triggering module 1305 may be implemented by the MCU and the SOC unit of the mobile phone.
Other embodiments of the present application provide an electronic device (e.g., electronic device 300 shown in FIG. 3) that may include: pressure sensor, touch sensor, memory, motor and processor. The pressure sensor, touch sensor, memory, motor, and processor are coupled. The electronic device may further include a camera, a proximity light sensor, an acceleration sensor, and the like. The pressure sensor may be a piezoelectric pressure sensor. The piezoelectric pressure sensor includes a piezoelectric ceramic sensor. The processor may include the MCU and SOC units shown in fig. 3.
The memory is for storing computer program code comprising computer instructions. When the processor executes the computer instructions, the electronic device may perform the functions or steps performed by the mobile phone in the above-described method embodiments. The structure of the electronic device may refer to the structure of the electronic device 300 shown in fig. 3.
Embodiments of the present application also provide a chip system including at least one processor 1401 and at least one interface circuit 1402, as shown in fig. 14. The processor 1401 and the interface circuit 1402 may be interconnected by wires. For example, interface circuit 1402 may be used to receive signals from other devices (e.g., a memory of an electronic apparatus). For another example, interface circuit 1402 may be used to send signals to other devices (e.g., processor 1401). Illustratively, the interface circuit 1402 may read instructions stored in the memory and send the instructions to the processor 1401. The instructions, when executed by processor 1401, may cause an electronic device (such as electronic device 300 shown in fig. 3) to perform the various steps of the embodiments described above. Of course, the system-on-chip may also include other discrete devices, which are not particularly limited in accordance with embodiments of the present application.
The embodiment of the present application also provides a computer storage medium, where the computer storage medium includes computer instructions, where the computer instructions, when executed on an electronic device (e.g., the electronic device 300 shown in fig. 3), cause the electronic device to perform the functions or steps performed by the mobile phone in the foregoing method embodiment.
The embodiment of the application also provides a computer program product which, when run on a computer, causes the computer to execute the functions or steps executed by the mobile phone in the above method embodiment.
It will be apparent to those skilled in the art from this description that, for convenience and brevity of description, only the above-described division of the functional modules is illustrated, and in practical application, the above-described functional allocation may be performed by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to perform all or part of the functions described above.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the modules or units is merely a logical functional division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another apparatus, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and the parts displayed as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a readable storage medium. Based on such understanding, the technical solution of the embodiments of the present application may be essentially or a part contributing to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, including several instructions for causing a device (may be a single-chip microcomputer, a chip or the like) or a processor (processor) to perform all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read Only Memory (ROM), a random access memory (random access memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely illustrative of specific embodiments of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present application should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (20)

1. An interaction method of electronic equipment is characterized in that a touch sensor and a pressure sensor are arranged on a preset area of a side frame of the electronic equipment; the preset area sequentially comprises a first preset area, a third preset area and a second preset area; the first preset area is provided with a touch sensor, the third preset area is provided with a touch sensor and a pressure sensor, and the second preset area is provided with a touch sensor; or the first preset area is provided with a touch sensor and a pressure sensor, the third preset area is provided with a touch sensor, and the second preset area is provided with a touch sensor and a pressure sensor; the method comprises the following steps:
the electronic device detects touch operation through the touch sensor;
responding to the touch sensor to detect a first touch operation, triggering a preset device by the electronic equipment to send out first prompt information, and starting the pressure sensor; the first touch operation is a sliding operation to a preset area where the pressure sensor is located; the first prompt message is used for prompting a user to input touch operation in the preset area;
The electronic equipment acquires the pressing pressure of a second touch operation through the pressure sensor, wherein the second touch operation is any one of a single click operation, a double click operation or a long press operation;
if the pressing pressure is greater than a pressure threshold, the electronic device executes functions corresponding to the first touch operation and the second touch operation;
starting the pressure sensor, and if the touch sensor or the pressure sensor does not detect the second touch operation within a preset time period, closing the pressure sensor by the electronic equipment.
2. The method according to claim 1, wherein the first touch operation is a sliding operation in a first direction toward the preset area or a sliding operation in a second direction toward the preset area; wherein the first direction is opposite to the second direction;
the electronic device executing the functions corresponding to the first touch operation and the second touch operation includes:
if the first touch operation is a sliding operation along the first direction to the preset area, the second touch operation is a single click operation or a long press operation, and the electronic equipment increases a first parameter of the electronic equipment; wherein the first parameter is the volume or screen brightness of the electronic device;
If the first touch operation is a sliding operation along the second direction to the preset area, the second touch operation is a single click operation or a long press operation, and the electronic equipment reduces the first parameter;
if the first touch operation is a sliding operation along the first direction to the preset area, the second touch operation is a double-click operation, and the electronic equipment executes a first function; wherein the first function is one of the following functions: screen locking, screen capturing, screen recording, camera starting and voice assistant starting;
if the first touch operation is a sliding operation along the second direction to the preset area, the second touch operation is a double-click operation, and the electronic equipment executes a second function; wherein the second function is one of the following functions: screen locking, screen capturing, screen recording, camera starting and voice assistant starting; the second function is different from the first function.
3. The method according to any one of claims 1-2, wherein the method further comprises:
and if the pressing pressure is larger than the pressure threshold, the electronic equipment triggers the preset device to send out second prompt information, wherein the second prompt information is used for prompting a user that the second touch operation is effective.
4. The method according to any one of claims 1-2, wherein the method further comprises:
and if the pressing pressure is smaller than or equal to the pressure threshold, the electronic equipment triggers the preset device to send out third prompt information, wherein the third prompt information is used for prompting a user to input touch operation again.
5. A method according to claim 3, characterized in that the method further comprises:
and if the pressing pressure is smaller than or equal to the pressure threshold, the electronic equipment triggers the preset device to send out third prompt information, wherein the third prompt information is used for prompting a user to input touch operation again.
6. An interaction method of electronic equipment is characterized in that a touch sensor and a pressure sensor are arranged on a preset area of a side frame of the electronic equipment; the preset area sequentially comprises a first preset area, a third preset area and a second preset area; the first preset area is provided with a touch sensor, the third preset area is provided with a touch sensor and a pressure sensor, and the second preset area is provided with a touch sensor; or the first preset area is provided with a touch sensor and a pressure sensor, the third preset area is provided with a touch sensor, and the second preset area is provided with a touch sensor and a pressure sensor; the method comprises the following steps:
The electronic device detects touch operation through the touch sensor;
responding to the touch sensor to detect a first touch operation, triggering a preset device by the electronic equipment to send out first prompt information, and starting the pressure sensor; the first touch operation is a sliding operation to a preset area where the pressure sensor is located; the first prompt message is used for prompting a user to input touch operation in the preset area;
the electronic equipment collects pressing pressure of second touch operation through the pressure sensor, wherein the second touch operation is a sliding operation along a first direction or a sliding operation along a second direction started by the preset area; wherein the first direction is opposite to the second direction;
if the pressing pressure is greater than a pressure threshold, the second touch operation is a sliding operation along the first direction, and the electronic device increases a first parameter of the electronic device; wherein the first parameter is the volume or screen brightness of the electronic device;
if the pressing pressure is greater than a pressure threshold, the second touch operation is a sliding operation along the second direction, and the electronic device lowers the first parameter;
Starting the pressure sensor, and if the touch sensor or the pressure sensor does not detect the second touch operation within a preset time period, closing the pressure sensor by the electronic equipment.
7. The interaction method of the electronic equipment is characterized in that a touch sensor, a first pressure sensor and a second pressure sensor are arranged on a preset area of a side frame of the electronic equipment; the preset area sequentially comprises a first preset area, a third preset area and a second preset area; the first preset area is provided with a touch sensor and a first pressure sensor, the third preset area is provided with a touch sensor, and the second preset area is provided with a touch sensor and a second pressure sensor; the method comprises the following steps:
the electronic device detects touch operation through the touch sensor;
in response to the touch sensor detecting a sliding operation along a first direction to the first preset area, the electronic equipment triggers a preset device to send out first prompt information and starts the first pressure sensor; the first prompt message is used for prompting a user to input touch operation in the first preset area; the first direction is the direction from the second preset area to the first preset area;
The electronic equipment collects the pressing pressure of a first pressing operation through the first pressure sensor, wherein the first pressing operation is any one of a single click operation, a double click operation or a long press operation;
if the pressing pressure acquired by the first pressure sensor is greater than a pressure threshold, the electronic equipment executes a function corresponding to the first pressing operation;
or alternatively, the process may be performed,
in response to the touch sensor detecting a sliding operation along a second direction to the second preset area, the electronic equipment triggers a preset device to send out the first prompt information and starts the second pressure sensor; the second direction is the direction from the first preset area to the second preset area;
the electronic equipment collects the pressing pressure of a second pressing operation through the second pressure sensor, wherein the second pressing operation is any one of a single click operation, a double click operation or a long press operation;
if the pressing pressure acquired by the second pressure sensor is greater than a pressure threshold, the electronic equipment executes a function corresponding to the second pressing operation;
starting the first pressure sensor, and if the touch sensor or the first pressure sensor does not detect the first pressing operation within a preset time period, closing the first pressure sensor by the electronic equipment;
Starting to start the second pressure sensor, if the touch sensor or the second pressure sensor does not detect the second pressing operation within the preset time period, the electronic device turns off the second pressure sensor.
8. The method of claim 7, wherein the step of determining the position of the probe is performed,
the electronic device executing a function corresponding to the first pressing operation includes:
if the first pressing operation is a single click operation or a long press operation, the electronic device increases a first parameter of the electronic device;
the electronic device executing the function corresponding to the second pressing operation includes:
if the second pressing operation is a single click operation or a long press operation, the electronic device adjusts down the first parameter;
wherein the first parameter is the volume or screen brightness of the electronic device.
9. The method according to any one of claims 7 to 8, wherein,
the electronic device executing a function corresponding to the first pressing operation includes:
if the first pressing operation is a double-click operation, the electronic device executes a first function; wherein the first function is one of the following functions: screen locking, screen capturing, screen recording, camera starting and voice assistant starting;
The electronic device executing the function corresponding to the second pressing operation includes:
if the second pressing operation is a double-click operation, the electronic device executes a second function; wherein the second function is one of the following functions: screen locking, screen capturing, screen recording, camera starting and voice assistant starting; the second function is different from the first function.
10. An electronic device, the electronic device comprising: a memory and a processor; the electronic equipment is also provided with a touch sensor and a pressure sensor; the memory, the touch sensor, the pressure sensor, and the processor are coupled; the memory is for storing computer program code comprising computer instructions that, when executed by the processor, cause the electronic device to:
detecting a touch operation by the touch sensor;
responding to the first touch operation detected by the touch sensor, triggering a preset device to send out first prompt information, and starting the pressure sensor; the first touch operation is a sliding operation to a preset area, wherein the preset area is an area where the pressure sensor is located; the first prompt message is used for prompting a user to input touch operation in the preset area;
Collecting pressing pressure of a second touch operation through the pressure sensor, wherein the second touch operation is any one of a single click operation, a double click operation or a long press operation;
if the pressing pressure is larger than a pressure threshold, executing functions corresponding to the first touch operation and the second touch operation;
the computer instructions, when executed by the processor, cause the electronic device to further:
and starting the pressure sensor, and closing the pressure sensor if the touch sensor or the pressure sensor does not detect the second touch operation within a preset time period.
11. The electronic device according to claim 10, wherein the first touch operation is a sliding operation in a first direction toward the preset area or a sliding operation in a second direction toward the preset area; wherein the first direction is opposite to the second direction;
the computer instructions, when executed by the processor, cause the electronic device to further:
if the first touch operation is a sliding operation along the first direction to the preset area, the second touch operation is a single click operation or a long press operation, and the first parameter of the electronic equipment is adjusted to be high; wherein the first parameter is the volume or screen brightness of the electronic device;
If the first touch operation is a sliding operation along the second direction to the preset area, the second touch operation is a single click operation or a long press operation, and the first parameter is adjusted down;
if the first touch operation is a sliding operation along the first direction to the preset area, the second touch operation is a double-click operation, and a first function is executed; wherein the first function is one of the following functions: screen locking, screen capturing, screen recording, camera starting and voice assistant starting;
if the first touch operation is a sliding operation along the second direction to the preset area, the second touch operation is a double-click operation, and a second function is executed; wherein the second function is one of the following functions: screen locking, screen capturing, screen recording, camera starting and voice assistant starting; the second function is different from the first function.
12. The electronic device of any of claims 10-11, wherein the computer instructions, when executed by the processor, cause the electronic device to:
and if the pressing pressure is larger than the pressure threshold, triggering the preset device to send out second prompt information, wherein the second prompt information is used for prompting a user that the second touch operation is effective touch operation.
13. The electronic device of any of claims 10-11, wherein the computer instructions, when executed by the processor, cause the electronic device to:
and if the pressing pressure is smaller than or equal to the pressure threshold, triggering the preset device to send out third prompt information, wherein the third prompt information is used for prompting a user to input touch operation again.
14. The electronic device of claim 12, wherein the computer instructions, when executed by the processor, cause the electronic device to:
and if the pressing pressure is smaller than or equal to the pressure threshold, triggering the preset device to send out third prompt information, wherein the third prompt information is used for prompting a user to input touch operation again.
15. An electronic device, the electronic device comprising: a memory and a processor; the electronic equipment is also provided with a touch sensor and a pressure sensor; the memory, the touch sensor, the pressure sensor, and the processor are coupled; the memory is for storing computer program code comprising computer instructions that, when executed by the processor, cause the electronic device to:
Detecting a touch operation by the touch sensor;
responding to the first touch operation detected by the touch sensor, triggering a preset device to send out first prompt information, and starting the pressure sensor; the first touch operation is performed to a preset area, wherein the preset area is an area where the pressure sensor is located; the first prompt message is used for prompting a user to input touch operation in the preset area;
collecting pressing pressure of a second touch operation by the pressure sensor, wherein the second touch operation is a sliding operation along a first direction or a sliding operation along a second direction started by the preset area; wherein the first direction is opposite to the second direction;
if the pressing pressure is greater than a pressure threshold, the second touch operation is a sliding operation along the first direction, and the first parameter of the electronic equipment is adjusted to be high; wherein the first parameter is the volume or screen brightness of the electronic device
If the pressing pressure is greater than a pressure threshold, the second touch operation is a sliding operation along the second direction, and the first parameter is reduced;
the computer instructions, when executed by the processor, cause the electronic device to further:
And starting the pressure sensor, and closing the pressure sensor if the touch sensor or the pressure sensor does not detect the second touch operation within a preset time period.
16. An electronic device, the electronic device comprising: a memory and a processor; the electronic equipment is also provided with a touch sensor, a first pressure sensor and a second pressure sensor; the first pressure sensor is arranged in a first preset area, and the second pressure sensor is arranged in a second preset area; the memory, the touch sensor, the first pressure sensor, the second pressure sensor, and the processor are coupled, the memory is for storing computer program code comprising computer instructions that, when executed by the processor, cause the electronic device to:
detecting a touch operation by the touch sensor;
in response to the touch sensor detecting a sliding operation along a first direction to the first preset area, triggering a preset device to send out first prompt information, and starting the first pressure sensor; the first prompt message is used for prompting a user to input touch operation in the first preset area; the first direction is the direction from the second preset area to the first preset area;
Collecting pressing pressure of a first pressing operation by the first pressure sensor, wherein the first pressing operation is any one of a single click operation, a double click operation or a long press operation;
if the pressing pressure acquired by the first pressure sensor is greater than a pressure threshold, executing a function corresponding to the first pressing operation;
or alternatively, the process may be performed,
in response to the touch sensor detecting a sliding operation along a second direction to the second preset area, triggering a preset device to send out the first prompt information and starting the second pressure sensor; the second direction is the direction from the first preset area to the second preset area;
collecting pressing pressure of a second pressing operation by the second pressure sensor, wherein the second pressing operation is any one of a single click operation, a double click operation or a long press operation;
if the pressing pressure acquired by the second pressure sensor is greater than a pressure threshold, executing a function corresponding to the second pressing operation;
the computer instructions, when executed by the processor, cause the electronic device to further:
starting the first pressure sensor, and closing the first pressure sensor if the touch sensor or the first pressure sensor does not detect the first pressing operation within a preset time period;
And starting to start the second pressure sensor, and closing the second pressure sensor if the touch sensor or the second pressure sensor does not detect the second pressing operation within the preset time.
17. The electronic device of claim 16, wherein the computer instructions, when executed by the processor, cause the electronic device to further:
if the first pressing operation is a single click operation or a long press operation, the first parameter of the electronic equipment is adjusted to be high;
if the second pressing operation is a single click operation or a long press operation, the first parameter is adjusted down;
wherein the first parameter is the volume or screen brightness of the electronic device.
18. The electronic device of any of claims 16-17, wherein the computer instructions, when executed by the processor, cause the electronic device to further:
if the first pressing operation is a double-click operation, executing a first function; wherein the first function is one of the following functions: screen locking, screen capturing, screen recording, camera starting and voice assistant starting;
If the second pressing operation is a double-click operation, executing a second function; wherein the second function is one of the following functions: screen locking, screen capturing, screen recording, camera starting and voice assistant starting; the second function is different from the first function.
19. A chip system, characterized in that the chip system is applied to an electronic device provided with a touch sensor and a pressure sensor; the chip system comprises an interface circuit and a processor; the interface circuit and the processor are interconnected through a circuit; the interface circuit is configured to receive a signal from a memory of the electronic device and to send the signal to the processor, the signal including computer instructions stored in the memory; when the processor executes the computer instructions, the electronic device performs the method of any one of claims 1-5, or the electronic device performs the method of claim 6, or the electronic device performs the method of any one of claims 7-9.
20. A computer storage medium comprising computer instructions which, when run on an electronic device, cause the electronic device to perform the method of any one of claims 1-5, or the electronic device to perform the method of claim 6, or the electronic device to perform the method of any one of claims 7-9.
CN201910960039.0A 2019-10-10 2019-10-10 Interaction method of electronic equipment and electronic equipment Active CN112650405B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910960039.0A CN112650405B (en) 2019-10-10 2019-10-10 Interaction method of electronic equipment and electronic equipment
PCT/CN2020/107092 WO2021068627A1 (en) 2019-10-10 2020-08-05 Interaction method for electronic device and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910960039.0A CN112650405B (en) 2019-10-10 2019-10-10 Interaction method of electronic equipment and electronic equipment

Publications (2)

Publication Number Publication Date
CN112650405A CN112650405A (en) 2021-04-13
CN112650405B true CN112650405B (en) 2023-11-03

Family

ID=75343075

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910960039.0A Active CN112650405B (en) 2019-10-10 2019-10-10 Interaction method of electronic equipment and electronic equipment

Country Status (2)

Country Link
CN (1) CN112650405B (en)
WO (1) WO2021068627A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113094147A (en) * 2021-06-08 2021-07-09 深圳掌酷软件有限公司 Method, device and equipment for triggering playing window of lock screen interface and storage medium
CN113919390A (en) * 2021-09-29 2022-01-11 华为技术有限公司 Method for identifying touch operation and electronic equipment
CN114415546B (en) * 2022-01-19 2024-03-26 环荣电子(惠州)有限公司 Electronic equipment power supply operation method and electronic equipment
CN115134461B (en) * 2022-06-27 2024-02-20 维沃移动通信有限公司 Electronic apparatus and control method thereof
CN115694464B (en) * 2022-11-03 2023-09-12 东莞市力博得电子科技有限公司 Pressure-sensitive switch control method, pressure-sensitive switch control device, electronic equipment and readable storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015087996A (en) * 2013-10-31 2015-05-07 京セラドキュメントソリューションズ株式会社 Display control device and electronic equipment
CN104685445A (en) * 2012-09-28 2015-06-03 Lg电子株式会社 Portable device and control method thereof
CN105824557A (en) * 2016-02-19 2016-08-03 维沃移动通信有限公司 Method for playing voice information and mobile terminal
CN107632764A (en) * 2017-09-13 2018-01-26 百度在线网络技术(北京)有限公司 Method for information display and device
JP2018060367A (en) * 2016-10-05 2018-04-12 株式会社デンソー Touch based input device
CN108632427A (en) * 2018-04-04 2018-10-09 Oppo广东移动通信有限公司 Electronic equipment and storage medium
WO2019006589A1 (en) * 2017-07-03 2019-01-10 深圳市汇顶科技股份有限公司 Computer storage medium, control terminal, and electronic pressure touchscreen control method and device
CN109782944A (en) * 2018-12-11 2019-05-21 华为技术有限公司 A kind of response method and electronic equipment of touch screen

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5658518B2 (en) * 2010-09-24 2015-01-28 京セラ株式会社 Tactile sensation presentation apparatus and control method for tactile sensation presentation apparatus
US9400601B2 (en) * 2013-06-21 2016-07-26 Nook Digital, Llc Techniques for paging through digital content on touch screen devices
CN104615375A (en) * 2015-02-04 2015-05-13 华为技术有限公司 Method and device for image scaling and broadcast content switching of handheld electronic equipment
US10547776B2 (en) * 2016-09-23 2020-01-28 Apple Inc. Devices, methods, and graphical user interfaces for capturing and recording media in multiple modes
TWI652614B (en) * 2017-05-16 2019-03-01 緯創資通股份有限公司 Portable electronic device and operating method thereof

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104685445A (en) * 2012-09-28 2015-06-03 Lg电子株式会社 Portable device and control method thereof
JP2015087996A (en) * 2013-10-31 2015-05-07 京セラドキュメントソリューションズ株式会社 Display control device and electronic equipment
CN105824557A (en) * 2016-02-19 2016-08-03 维沃移动通信有限公司 Method for playing voice information and mobile terminal
JP2018060367A (en) * 2016-10-05 2018-04-12 株式会社デンソー Touch based input device
WO2019006589A1 (en) * 2017-07-03 2019-01-10 深圳市汇顶科技股份有限公司 Computer storage medium, control terminal, and electronic pressure touchscreen control method and device
CN107632764A (en) * 2017-09-13 2018-01-26 百度在线网络技术(北京)有限公司 Method for information display and device
CN108632427A (en) * 2018-04-04 2018-10-09 Oppo广东移动通信有限公司 Electronic equipment and storage medium
CN109782944A (en) * 2018-12-11 2019-05-21 华为技术有限公司 A kind of response method and electronic equipment of touch screen

Also Published As

Publication number Publication date
CN112650405A (en) 2021-04-13
WO2021068627A1 (en) 2021-04-15

Similar Documents

Publication Publication Date Title
CN112650405B (en) Interaction method of electronic equipment and electronic equipment
JP7391102B2 (en) Gesture processing methods and devices
US10739854B2 (en) Terminal and touch response method and device
CN109828669B (en) Touch signal processing method and electronic equipment
JP6196398B2 (en) Apparatus, method, terminal device, program, and recording medium for realizing touch button and fingerprint authentication
EP4027628A1 (en) Control method for electronic device, and electronic device
CN115866121A (en) Application interface interaction method, electronic device and computer-readable storage medium
CN112751954B (en) Operation prompting method and electronic equipment
CN112600961A (en) Volume adjusting method and electronic equipment
CN112740152B (en) Handwriting pen detection method, handwriting pen detection system and related device
KR20160098030A (en) Apparatus for implementing functions of touch screen and fingerprint identification, and terminal device
CN113805487B (en) Control instruction generation method and device, terminal equipment and readable storage medium
CN111988493B (en) Interaction processing method, device, equipment and storage medium
CN112860428A (en) High-energy-efficiency display processing method and equipment
CN113010076A (en) Display element display method and electronic equipment
CN111984347A (en) Interaction processing method, device, equipment and storage medium
CN114201738B (en) Unlocking method and electronic equipment
CN113391775A (en) Man-machine interaction method and equipment
EP3862853A1 (en) Touch operation locking method and electronic device
CN114690985A (en) Display method and electronic equipment
CN113821129A (en) Display window control method and electronic equipment
CN112749583A (en) Face image grouping method and device, computer equipment and storage medium
CN112068721A (en) Touch signal response method and device and storage medium
CN112738332A (en) Electronic equipment interaction method and electronic equipment
CN115079822B (en) Alternate gesture interaction method and device, electronic chip and electronic equipment

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