CN112650405A - Electronic equipment interaction method and electronic equipment - Google Patents

Electronic equipment interaction method and electronic equipment Download PDF

Info

Publication number
CN112650405A
CN112650405A CN201910960039.0A CN201910960039A CN112650405A CN 112650405 A CN112650405 A CN 112650405A CN 201910960039 A CN201910960039 A CN 201910960039A CN 112650405 A CN112650405 A CN 112650405A
Authority
CN
China
Prior art keywords
touch
pressure sensor
sensor
pressure
pressing
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.)
Granted
Application number
CN201910960039.0A
Other languages
Chinese (zh)
Other versions
CN112650405B (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

Images

Classifications

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

Landscapes

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

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 mistaken touch prevention, and can realize effective blind touch on a touch key, so that the interaction performance of the electronic equipment can be improved. The specific scheme comprises the following steps: the electronic equipment detects touch operation through a touch sensor; in response to the touch sensor detecting a first touch operation, the electronic equipment triggers a preset device to send out first prompt information and starts 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 information 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 single-click operation, double-click operation or 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

Electronic equipment interaction method 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 waterproof and user experience. In order to realize integration of the mobile terminal, the electronic device may be provided with a touch sensor and a pressure sensor in an area where a physical key (also referred to as an entity key) needs to be arranged, 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 the physical key such as returning and adjusting volume. Such a key, which uses the touch effect of the touch sensor and the piezoelectric effect of the pressure sensor to implement the key function, may be referred to as a touch key. Alternatively, such a key may be called a virtual key (virtual key) or the like.
However, pressing a key also presents a number of problems to be solved. For example, compared to a physical key, it is difficult for a user to accurately locate an effective touch position of a pressed key, so that it is difficult to realize effective blind touch on the pressed key. Thus, a relatively poor user experience is brought, and the development of the key pressing technology on electronic devices such as smart phones and tablet computers is limited.
In the use process of the electronic device including the touch key, how to realize effective blind touch on the touch key is a problem to be solved urgently.
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 on 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 for an electronic device, where the electronic device is provided with a touch sensor and a pressure sensor. The method can comprise the following steps: the electronic equipment detects touch operation through a touch sensor; in response to the touch sensor detecting a first touch operation, the electronic equipment triggers a preset device to send out first prompt information and starts 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 information 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 single-click operation, double-click operation or 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 a sliding operation to a preset area where the pressure sensor is located, the electronic device may send first prompt information (e.g., a vibration prompt) to prompt a user to input a touch operation (e.g., a pressing operation) at a corresponding position of the sliding operation. By the scheme, even if the user cannot sense the position of the touch key on the electronic equipment; the electronic equipment can also indicate the position of the touch key to the user according to the sliding operation of the user to the first preset area. Therefore, effective blind touch on the touch key is facilitated, and the 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 initiated by the processor in response to the first touch operation to capture 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 a 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 slide operation in a first direction to a preset area, or a slide operation in a second direction to a preset area. Wherein the first direction is opposite to the second direction.
On the one hand, on the premise that the operation type of the second touch operation is not changed, 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 not changed, the operation types of the second touch operation are different, and the functions corresponding to the first touch operation and the second touch operation are different.
The method for the electronic device to execute the functions corresponding to the first touch operation and the second touch operation may include: if the first touch operation is a sliding operation towards a preset area along a first direction, 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; if the first touch operation is a sliding operation towards the preset area along the second direction, and the second touch operation is a single-click operation or a long-press operation, the electronic equipment reduces the first parameter. Wherein, 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 towards a preset area along a first direction, and the second touch operation is a double-click operation, the electronic equipment executes a first function; and if the first touch operation is a sliding operation towards the preset area along the second direction and the second touch operation is a double-click operation, the electronic equipment executes a second function. Wherein the first function is one of the following functions: locking the screen, capturing the screen, recording the screen, opening the camera and opening the voice assistant. The second function is one of the following functions: locking the screen, capturing the screen, recording the screen, opening the camera and opening the voice assistant. The second function is different from the first function.
In a second aspect, an embodiment of the present application provides an interaction method for an electronic device, where the electronic device is provided with a touch sensor and a pressure sensor. The method can comprise the following steps: the electronic equipment detects touch operation through a touch sensor; in response to the touch sensor detecting a first touch operation, the electronic equipment triggers a preset device to send out first prompt information and starts the pressure sensor; sliding operation from the first touch operation to a preset area, wherein the preset area is an area where the pressure sensor is located; the first prompt information 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 the second touch operation through the pressure sensor; if the pressing pressure is larger than the pressure threshold, the second touch operation is sliding operation along the first direction, and the electronic equipment increases the first parameter of the electronic equipment; if the pressing pressure is larger than the pressure threshold, the second touch operation is a sliding operation along the second direction, and the electronic equipment reduces the first parameter. Wherein the first parameter is the volume or screen brightness of the electronic device.
It is 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 to trigger the preset device to send the first prompt message and trigger 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 slide operation in the first direction or a slide operation in the second direction started by 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 that the electronic device needs to perform. For example, the beneficial effects achieved by the method of the second aspect can be referred to as the beneficial effects of the first aspect, which are not repeated herein.
With reference to the first aspect or the second aspect, in one possible design, to reduce power consumption of an electronic device and save power, the method may further include: starting from the pressure sensor, if the touch sensor or the pressure sensor does not detect the second touch operation within the preset time period, the electronic equipment closes 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 a second prompt message. The second prompt information is used for prompting the user that the second touch operation is effective touch operation. Wherein the second prompt message may be different from the first prompt message.
With reference to 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 a third prompt message. The third prompt message is used for prompting the user to re-input the touch operation. Wherein the third prompting message may be different from the first prompting message and the second prompting message.
In another possible design in combination with the first aspect or the second aspect, the first pressure sensor and the second pressure sensor may be piezoelectric pressure sensors.
In another possible design in combination with the first or second aspect, the piezoelectric pressure sensor is a piezo ceramic sensor. Among these, the sensitivity of the pressure ceramic sensor is higher than that of other pressure sensors.
In a third aspect, an embodiment of the present application provides an interaction method for an electronic device, where the electronic device is 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. Wherein, the electronic device can detect a touch operation through the touch sensor. The touch sensor may detect a sliding operation in a first direction to a first preset area (referred to as a first sliding operation) and may detect a sliding operation in a second direction to a second preset area (referred to as a second sliding operation). The first direction is a direction from the second preset area to the first preset area, and the second direction is a direction from the first preset area to the second preset area.
In response to the touch sensor detecting the first sliding operation, the electronic device may 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 apparatus may acquire the pressing pressure of the 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 collected by the first pressure sensor is greater than the pressure threshold, the electronic device can execute a function corresponding to the first pressing operation.
In response to the touch sensor detecting the second sliding operation, the electronic device may trigger the preset device to send out the first prompt message, and start the second pressure sensor. The electronic apparatus may acquire 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, the sliding operation described in the first aspect above is: 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 slide operation. For example, the beneficial effects achieved by the method of the second aspect can be referred to as the beneficial effects of the first aspect, which are not repeated herein.
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: from the start of 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: 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 executes a function corresponding to the second pressing operation, and may include: if the second pressing operation is a single-click operation or a long-press operation, the electronic device turns down the first parameter. 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 performs a function corresponding to the first pressing operation, and may further include: if the first pressing operation is a double-click operation, the electronic device performs a first function. The electronic device executes a function corresponding to the second pressing operation, and may include: if the second pressing operation is a double-click operation, the electronic device performs a second function. For the detailed description of the first function and the second function, reference may be made to relevant contents in the foregoing embodiments, and details are not repeated herein in the embodiments of the present application.
In a fourth aspect, an embodiment of the present application provides an electronic device, including: a memory and a processor. The electronic equipment is also provided with a touch sensor and a pressure sensor. The memory, touch sensor, pressure sensor and processor are coupled. The memory for storing computer program code, the 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 first touch operation, triggering a preset device to send out first prompt information, and starting a pressure sensor; acquiring the pressing pressure of the 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.
For detailed descriptions of the first touch operation, the second touch operation, the first prompt information, and the preset area in the fourth aspect, reference may be made to related descriptions in the first aspect, and details of 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 a first direction to a preset area, or a sliding operation in a second direction to a 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 perform the following: if the first touch operation is a sliding operation towards a preset area along a first direction, and the second touch operation is a single-click operation or a long-press operation, increasing a first parameter of the electronic equipment; the first parameter is the volume or the screen brightness of the electronic equipment; if the first touch operation is a sliding operation towards the preset area along the second direction, and the second touch operation is a single-click operation or a long-time pressing operation, the first parameter is reduced; if the first touch operation is a sliding operation towards a preset area along a first direction, and the second touch operation is a double-click operation, executing a first function; and if the first touch operation is a sliding operation towards the preset area along the second direction and the second touch operation is a double-click operation, executing a second function. For the detailed description of the first function and the second function, reference may be made to relevant contents in the foregoing embodiments, and details are not repeated herein in the embodiments of the present application.
In a fifth aspect, an embodiment of the present application provides an electronic device, including: a memory and a processor. The electronic equipment is also provided with a touch sensor and a pressure sensor. The memory, touch sensor, pressure sensor and processor are coupled. The memory for storing computer program code, the 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 first touch operation, triggering a preset device to send out first prompt information, and starting a pressure sensor; acquiring the pressing pressure of the second touch operation through a pressure sensor; wherein the first direction is opposite to the second direction; if the pressing pressure is larger than the pressure threshold, the second touch operation is sliding operation along the first direction, and the first parameter of the electronic equipment is increased; and if the first parameter is the volume of the electronic equipment or the screen brightness is larger than the pressure threshold, the second touch operation is the sliding operation along the second direction, and the first parameter is reduced.
For detailed descriptions of the first touch operation, the second touch operation, the first prompt information, and the preset area in the fifth aspect, reference may be made to related descriptions in the second aspect, and details of embodiments of the present application are not repeated here.
With reference to the fourth aspect or the fifth aspect, in one possible design, the computer instructions, when executed by the processor, cause the electronic device to further perform the following operations: 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 pressure sensor is closed.
With reference to the fourth aspect or the fifth aspect, in one possible design, the computer instructions, when executed by the processor, cause the electronic device to further perform the following operations: and if the pressing pressure is greater than the pressure threshold, triggering the preset device to send out second prompt information, wherein the second prompt information is used for prompting the user that the second touch operation is effective touch operation.
With reference to the fourth aspect or the fifth aspect, in one possible design, the computer instructions, when executed by the processor, cause the electronic device to further perform the following operations: and if the pressing pressure is less 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: 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 memory, the touch sensor, the first pressure sensor, the second pressure sensor, and the processor are coupled. The memory for storing computer program code, the 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 the sliding operation to the first preset area along the first direction, triggering a preset device to send out first prompt information, and starting a first pressure sensor; collecting a 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 the sliding operation to the second preset area along the second direction, triggering the preset device to send out first prompt information, and starting the second pressure sensor; and acquiring the pressing pressure of the second pressing operation through the second pressure sensor, and executing a function corresponding to the second pressing operation if the pressing pressure acquired by the second pressure sensor is greater than a pressure threshold.
For a detailed description of the first direction, the second direction, the first preset region, the second preset region, the first pressing operation, and the second pressing operation in the sixth aspect, reference may be made to related descriptions in the third aspect, and details of embodiments of the present application are not repeated here.
In combination with the sixth aspect, in one possible design, the computer instructions, when executed by the processor, cause the electronic device to further perform the following: starting from the start of 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.
In combination with the sixth aspect, in another possible design, the computer instructions, when executed by the processor, cause the electronic device to further perform the following: 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 second pressure sensor is turned off.
In combination with the sixth aspect, in another possible design, the computer instructions, when executed by the processor, cause the electronic device to further perform the following: if the first pressing operation is a single-click operation or a long-time pressing operation, increasing a first parameter of the electronic equipment; if the second pressing operation is a single-click operation or a long-press operation, the first parameter is turned down. Wherein the first parameter is the volume or screen brightness of the electronic device.
In combination with the sixth aspect, in another possible design, the computer instructions, when executed by the processor, cause the electronic device to further perform the following: executing a first function if the first pressing operation is a double-click operation; if the second pressing operation is a double-click operation, the second function is executed. For the detailed description of the first function and the second function, reference may be made to relevant contents in the foregoing embodiments, and details are not repeated herein in the embodiments of the present application.
In a seventh aspect, an embodiment of the present application provides a chip system, where the chip system is 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 line. The interface circuit is configured to receive a signal from a memory of the electronic device and to transmit the signal to the processor, the signal including computer instructions stored in the memory. When executed by a processor, the computer instructions cause an electronic device to perform the method as set forth 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 including computer instructions, which, when run on an electronic device, cause the electronic device to perform the method according to 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 is to be understood that the advantageous effects achieved by the electronic device according to the fourth, fifth and sixth aspects and any possible design 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 can be referred to as the advantageous effects in the first, second and third aspects and any possible design thereof, and are not described herein in detail.
Drawings
Fig. 1 is a schematic view of a preset area of a mobile phone 10 provided in the present embodiment of the application, showing a touch button;
fig. 2A is a schematic view of another form of a preset area of a mobile phone 20 provided in the present embodiment of the application, where a touch button is arranged;
fig. 2B is a right side view of another handset 20 according to an embodiment of the present application;
fig. 3 is a schematic hardware structure diagram of an electronic device according to an embodiment of the present disclosure;
fig. 4 is a flowchart of an interaction method of an electronic device according to an embodiment of the present disclosure;
fig. 5 is a schematic diagram illustrating an example of a first touch operation according to an embodiment of the present disclosure;
fig. 6 is a schematic diagram illustrating an example of another first touch operation provided in the embodiment of the present application;
fig. 7 is a schematic diagram of a human-computer interaction process of a mobile phone 20 according to an embodiment of the present application;
fig. 8A is a schematic diagram illustrating state machine switching of the mobile phone 20 according to an embodiment of the present disclosure;
fig. 8B is a schematic diagram of switching state machines of another handset 20 according to the embodiment of the present application;
fig. 8C is a flowchart of an interaction method of an electronic device according to an embodiment of the present application;
fig. 8D is a schematic diagram illustrating an example of another first touch operation according to an embodiment of the present disclosure;
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 illustrating an example of a first sliding operation and a second sliding operation provided by an embodiment of the present application;
fig. 11 is a schematic diagram of a human-computer interaction process of the mobile phone 10 according to an embodiment of the present application;
fig. 12A is a schematic diagram illustrating state machine switching of the mobile phone 10 according to an embodiment of the present disclosure;
fig. 12B is a schematic diagram of switching state machines 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 disclosure.
Detailed Description
In the following, the terms "first", "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that 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, "a plurality" means two or more unless otherwise specified.
The embodiment of the application provides an interaction method of electronic equipment. The method may be applied to an electronic device provided with a touch key. For example, the touch keys may be disposed on a surface of the electronic device, which is different from a position of a 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.
Wherein, be provided with on the electronic equipment and touch the button, specifically mean: the electronic device is provided with a touch sensor and a pressure sensor. For example, the touch sensor and the pressure sensor may be disposed at positions on the electronic device where the keys need to be disposed. The electronic equipment can detect the pressing operation input by a user by utilizing the touch effect of the touch sensor and the piezoelectric effect of the pressure sensor, so that the related functions of a screen locking, volume adjustment and other physical keys are realized. Therefore, 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 a key may also be referred to as a virtual key (virtual key), which is not limited in this embodiment of the present application.
For example, in the case that the electronic device is a mobile phone, the touch keys may be disposed on a side frame (e.g., 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 keys are provided on the right side frame of the mobile phone 10 shown in fig. 1 (a). Fig. 1 (b) shows the distribution of the touch sensors and pressure sensors for implementing the touch-down keys on the right side frame of the cellular phone 10 shown in fig. 1 (a). As shown in fig. 1 (b), a preset area 101 of a 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. Among them, 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.
For example, the positions of the pressure sensors 110 and 120 on the right side frame of the mobile phone 10 may be set with reference to the positions of physical keys (such as "volume +" key and "volume-" key) on the side frame of the mobile phone. For example, the pressure sensor 110 may be disposed at the position of the "volume +" key on the side frame of the mobile phone, and the pressure sensor 120 may be disposed at the position of the "volume-" key on 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 sizes of the preset area 101, the preset area 102 and the preset area 102 are configured in the mobile phone 10 in advance.
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) which is provided 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 side frame of the mobile phone 10, which is not limited in this embodiment.
Here, if the mobile phone 10 is a curved-screen mobile phone, the touch sensor X is integrated with a touch sensor in a touch screen of the mobile phone 10, that is, the touch sensor X is a touch sensor in the touch screen of the mobile phone 10. If the touch screen of the handset 10 is a flat screen handset, 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 areas 101, 102, and 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 respectively provided with a touch sensor.
It should be noted that, in the embodiment of the present application, taking an example that the touch sensors arranged in the preset area 101, the preset area 102, and the preset area 103 are the same touch sensor (for example, the touch sensor X), a method of the embodiment of the present application is described.
For another example, the touch keys are provided on the right side frame of the cellular phone 20 shown in fig. 2A (a). Fig. 2A (b) shows the distribution of the touch sensors and pressure sensors for realizing the touch-down keys on the right side frame of the cellular phone 20 shown in fig. 2A (a). As shown in fig. 2A (b), a preset area 201 of the right side frame of the mobile 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 under the touch sensor of the preset area 203.
For example, the position of the pressure sensor 210 on the right side frame of the mobile phone 20 may be set with reference to the position of physical keys (such as "volume +" key and "volume-" key) on the side frame of the mobile phone. For example, the pressure sensor 210 may be disposed in the middle of the position of the "volume +" key on the handset side frame and the position of the "volume-" key on the handset side frame. The predetermined area 203 is an area where the pressure sensor 210 is located. The preset area 201 is located on the right side frame of the mobile phone 20 and above the preset area 201. The preset area 202 is located on the right side frame of the mobile phone 20 and below the preset area 201. The sizes of the preset area 201, the preset area 202 and the preset area 203 are configured in the mobile phone 20 in advance.
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 touch sensor Y). The setting manner of the touch sensor Y on the right side frame of the mobile phone 20 and the specific form of the touch sensor Y may refer to the detailed description of the touch sensor X in the above example, which is not repeated herein.
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, the mobile phone 20 is a flat screen mobile phone, and the preset area 201, the preset area 202 and the preset area 203 of the right side frame of the mobile phone 20 may be respectively provided with one touch sensor.
For example, the pressure sensors (e.g., pressure sensor 110, pressure sensor 120, and pressure sensor 210) in the embodiments of the present application may be piezoelectric pressure sensors. The piezoelectric pressure sensor may be a piezoelectric ceramic sensor. Compared with other pressure sensors, the piezoelectric ceramic sensor has higher sensitivity.
Of course, the two side frames (such as the left side frame and the right side frame) of the mobile phone can be provided with touch keys. Namely, one or more pressure sensors and one or more touch sensors (not shown in the drawings) can be arranged on the left side frame and the right side frame of the mobile phone, so as to realize the function of pressing the keys.
In general, unlike physical keys, touch keys provided on an electronic device are not visible to a user. For example, please refer to fig. 2B, which shows a right side view of the handset 20 shown in (a) of fig. 2A. As shown in fig. 2B (a), the touch key is not visible to the user. Moreover, when the finger of the user touches the right side frame of the mobile phone 20, the user cannot feel the existence of the touch key through touch sense, so that it is difficult to accurately position the touch key through blind touch, and therefore, touch control of the mobile phone cannot be completed through blind touch.
In the embodiment of the present application, the user touching the mobile phone by blind means: the user does not depend on the vision to check the key position, but only senses the position of the physical key on the mobile phone through the touch sense, and presses the physical key on the mobile phone at the sensed position to touch the mobile phone, so that various functions are realized.
Of course, for the convenience of the user, there are some marks for setting the touch keys on the mobile phone to be visible to the user. For example, as shown in (B) of fig. 2B, the right side frame of the mobile phone 20 includes a mark 220, and the mark 220 is used for identifying the position where the pressed key is located. However, the user still cannot feel the existence of the touch key through touch, so that it is difficult to accurately locate the effective touch position of the touch key through blind touch, and therefore touch on the mobile phone cannot be completed through blind touch.
The embodiment of the application provides an interaction method of electronic equipment, wherein in response to a sliding operation to a preset area where a pressure sensor is located, the electronic equipment can send prompt information (such as a vibration prompt) to prompt a user to input a 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 the user cannot sense the position of the touch key on the electronic equipment; the electronic device may also indicate the position of the pressed key to the user according to a sliding operation of the user to a preset area (e.g., the first preset area). Therefore, the effective blind touch of the touch key is facilitated for the user, and the interaction performance of the electronic equipment can be improved.
For example, the electronic device in the embodiment of the present application may be a mobile phone, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a Personal Digital Assistant (PDA), an Augmented Reality (AR) \ Virtual Reality (VR) device, and the like, which are provided with a touch button, and the embodiment of the present application does not particularly limit the specific form of the electronic device.
Embodiments of the present application will be described in detail below with reference to the accompanying drawings.
In the embodiment of the present application, the electronic device is a mobile phone as an example, 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, a camera unit 370, and a wireless communication unit 380.
The sensor unit 350 may include: a Micro Controller 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. The sensors in the sensor unit 350 include, but are not limited to, the above-mentioned sensors. For example, the sensor unit 350 may further include: the sensor comprises sensors such as an air pressure sensor, a magnetic sensor, a distance sensor, a fingerprint sensor, a temperature sensor, an ambient light sensor and a bone conduction sensor.
It is to be understood that the illustrated structure of the present embodiment does not constitute a specific limitation to the electronic device 300. In other embodiments, electronic device 300 may include more or fewer components than shown, or combine certain components, or split certain components, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The SOC unit 310 is integrated with a processor of an electronic device, and the processor may include one or more processing units. For example: the processor may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a memory, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc.
The controller may be a neural center and a command center of the electronic device 300. The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
The processor may also have a memory 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 have just been used or recycled by the processor. If the processor needs to reuse the instruction or data, it can be called directly from the memory. Avoiding repeated accesses and reducing the latency of the processor, thereby increasing the efficiency of the system.
The power supply unit 330 may include: the device comprises a battery, a charging management module and a power supply management module. The charging management module is used for receiving charging input from the charger. The charger can be a wireless charger or a wired charger. The charging management module can charge the battery and supply power to the electronic equipment through the power management module. The power management module is used to connect the battery, the charging management module and the SOC unit 310. The power management module receives input from the battery and/or the charge management module, and supplies 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, and the like.
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 alter 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 formed by the touch sensor 350B and the display screen, and is also referred to as a "touch screen". The touch sensor 350B is used to detect a touch operation applied thereto or thereabout. The touch sensor can communicate the detected touch operation to the application processor to determine the touch event type. Visual output related to the touch operation may be provided through the 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, at a position different from the position of the display screen. For example, as shown in fig. 1 (a) or fig. 2A (a), a touch sensor is provided on the right side bezel of the cellular phone. In some embodiments, touch sensors (not shown) 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 bezel of electronic device 300.
In other embodiments, the touch sensor 350B-1 and the touch sensor 350B-2 may be a single 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 used for sensing a pressure signal, and converting the pressure signal into an electrical signal. In this embodiment, 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 the display screen. For example, as shown in fig. 1 (b), the right side frame of the cellular phone 10 is provided with a pressure sensor 110 and a pressure sensor 120. As shown in fig. 2A (b), the right side frame of the cellular phone 20 is provided with a pressure sensor 210.
Among them, the pressure sensor 350A is of many 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. Compared with other pressure sensors, the sensitivity of the piezoceramic sensor is higher.
In the embodiment of the application, the touch sensor and the pressure sensor can work cooperatively to replace a physical key (such as a real volume key or a real screen locking key) as a touch key, so that various functions (such as volume up or screen locking) of the mobile phone are provided for a user.
The MCU 350E in the sensor unit 350 connects the respective devices (such as the pressure sensor 350A, the touch sensor 350B, the proximity light sensor 350C, the acceleration sensor 305D, the motor 350F, and the gyro sensor, etc.) in the sensor unit 350. MCU 350E is also connected to SOC unit 310. The MCU 350E may receive the parameters collected by the sensors, process the received parameters, and send a signal to the SOC unit 310, so that the SOC unit 310 triggers the devices of the electronic device 100 to perform corresponding functions.
For example, when a touch operation (e.g., a sliding operation) is applied to the display screen or a pressed 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. The MCU 350E may determine, according to the operation information acquired by the touch sensor 350B, whether the sliding operation is a sliding operation to a preset area where a pressure sensor for implementing a function of touching and pressing a key is located; if the sliding operation is a sliding operation to the preset area, the MCU 350E may trigger the motor 350F to emit a vibration prompt to prompt 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, the MCU 350E can receive the pressing pressure collected by the 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, MCU 350E may dynamically adjust the pressure threshold of pressure sensor 350A according to the physical and application scenarios of 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 pressing, single clicking, double clicking, sliding and the like. For a specific method for the electronic device to adjust the pressure threshold of the pressure sensor 350A, reference may be made to the detailed description in the following embodiments, which are not repeated herein.
In the embodiment of the present application, the unit of the pressing pressure and the pressure threshold may be newtons, which is abbreviated as cattle, and the unit symbol is N. In physics, the gravity of an object is determined by using the formula G as mg. Wherein G is gravity, m is mass, G is constant, and G is about 9.8N/kg. I.e., gravity is proportional to mass, the unit of mass m can also be used as the unit of the pressing pressure and the pressure threshold in this embodiment. The unit of mass m is kg (unit symbol is kg) or g (unit symbol is g). For example, in the present embodiment, the unit of the pressing pressure and the pressure threshold may be gram, 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 can be detected when the electronic device 300 is stationary. The method can also be used for recognizing the posture of the electronic equipment, and is applied to horizontal and vertical screen switching, pedometers and other applications. In the embodiment of the present application, the acceleration sensor 350D may be used to acquire a motion parameter 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 a 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 to the outside through the light emitting diode. The electronic device 300 detects infrared reflected light from nearby objects using a photodiode. When sufficient reflected light is detected, it can be determined that there is an object near 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), an access beam sensor is provided in a cellular phone. The ambient light sensor is used for sensing the 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., to determine the physical context of the electronic device 300) to prevent inadvertent contact.
The gyro sensor may be used to determine the motion pose of the electronic device 300. The air pressure sensor is used for measuring air pressure. The magnetic sensor includes a hall sensor. A distance sensor for measuring a distance. The electronic device 300 may measure the distance by infrared or laser.
Motor 350F may generate a vibration cue. Motor 350F may be used for both an incoming call vibration prompt and touch/press vibration feedback. For example, touch/press operations applied to different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 350F may also respond to different vibration feedback effects for touch/press operations applied to different areas of the display screen. Different application scenes (such as time reminding, receiving information, alarm clock, game and the like) can also correspond to different vibration feedback effects. Touch/press vibration feedback effects may also support customization.
In the embodiment of the present application, the touch operations applied to different preset areas shown in (a) in fig. 1 or (a) in fig. 2A may correspond to different vibration feedback effects. Alternatively, touch operations of different operation types applied to the same preset area shown in fig. 1 (a) or fig. 2A (a) may also correspond to different vibration feedback effects.
The electronic device 300 may also comprise 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 applications on the electronic device 300 including wireless communication of 2G/3G/4G/5G, etc. The wireless communication unit 380 may provide solutions for wireless communication applied to the electronic device 300, including Wireless Local Area Networks (WLANs), such as wireless fidelity (Wi-Fi) networks, Bluetooth (BT), Global Navigation Satellite Systems (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like.
The electronic device 300 may implement a shooting function through the ISP, the camera unit 390, the video codec, the GPU, the display touch unit 340, the application processor, and the like.
The ISP is used to process the data fed back by the camera unit 390. For example, when a photo is taken, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converting into an image visible to naked eyes. The ISP can also perform algorithm optimization on the noise point, 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, the ISP may be provided in the camera unit 390.
One or more cameras, such as a front camera and a rear camera, may be included in the camera unit 390. The camera is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The light sensing element converts the optical signal into an electrical signal, which is then passed to the ISP where it is converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into image signal in standard RGB, YUV and other formats.
The storage unit 320 (i.e., memory) may be used to store computer-executable program code, which includes instructions. The memory unit 320 may be integrated in the SOC unit 310. Alternatively, as shown in fig. 3, the memory cell 320 may be a separate device from the SOC cell 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 the embodiment of the present application, the processor may execute instructions stored in the storage unit 320, and the storage unit 320 may include a program storage area and a data storage area.
The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. The data storage area may store data (e.g., audio data, phone book, etc.) created during use of the electronic device 300, and the like. In addition, the storage unit 320 may include a high speed random access memory, and may further include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like.
The electronic apparatus 300 may implement an audio function through the audio input/output unit 360 and the application processor, etc. 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 to be output and converting the analog audio input into digital audio signals. Loudspeakers, also known as "horns," are used to convert electrical audio signals into sound signals. Receivers, also called "earpieces", are used to convert electrical audio signals into acoustic signals. Microphones, also known as "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 further include an indicator (e.g., a light), a Subscriber Identification Module (SIM) card interface, and the like. The indicator is used for indicating a charging state, a notification or a non-incoming call and the like. The detailed description of other components of the electronic device 300 is omitted here for the embodiments of the present application.
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 of the embodiments of the present application is described by taking the electronic device 300 as a mobile phone as an example.
The embodiment of the application provides an interaction method of an electronic device, which can be applied to the electronic device 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 the pressure sensor may be disposed on a side of the electronic device (e.g., a left bezel or a right bezel). The electronic equipment 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 the physical keys such as screen locking, volume adjustment and the like are realized.
For example, in the embodiment of the present application, a method of the embodiment of the present application is described here by taking the electronic device as the mobile phone 20 shown in (a) in fig. 2A as an example. As shown in fig. 2A (a) or fig. 2A (b), the preset area 201 of the cellular phone 20 is provided with a touch sensor, the preset area 203 is provided with a touch sensor and a pressure sensor 210, and the preset area 202 is provided with a touch sensor. The preset region where the pressure sensor 210 is located is the preset region 203.
In the embodiment of the present application, a method of the embodiment of the present application is described by taking an example in which touch sensors arranged 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-S406.
S401, the mobile phone 20 detects a touch operation by the 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, and a long-press operation.
S402, responding to the first touch operation detected by the touch sensor Y, 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 slide operation. The operation position of the first touch operation includes a slide trajectory to the preset area 203.
Illustratively, the predetermined device may be a motor of the handpiece 20. For example, when the cellular phone 20 is the electronic device 300 shown in fig. 3, the preset device may be the 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 message may be a voice prompt. The first prompt message is used to prompt the user to input a touch operation in the preset area 203 to control the mobile phone 20.
It is understood that if the touch sensor Y detects a sliding operation to the preset area 203 where the pressure sensor 210 is located, it indicates that the user's finger is placed in the preset area 203 where the pressure sensor 210 is located, i.e., the user's finger is placed at the position where the pressed key is located. 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 send a first prompt message to prompt the user to input a touch operation to control the mobile phone 20.
When the user inputs the first touch operation on the right side frame of the mobile phone 20, the finger of the user may contact the right side frame of the mobile phone 20; also, the user's finger may touch any location on the right side frame of handset 20. That is, the user may input a slide operation to the preset area 203 from any position on the right side frame of the cellular 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 on the right side frame of the mobile phone 20 to the preset area 203 along the first direction. Alternatively, the first touch operation may be a sliding operation on the right side frame of the mobile phone 20 to 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 cellular phone 20, that is, a sliding operation of sliding downward.
For example, the first touch operation may be a slide operation from the preset area 202 to the preset area 203. As shown in fig. 5 (a), a point a is located in the preset region 202, and a point B is located in the preset region 203. The first touch operation may be a slide operation from point a to point B shown in (a) in fig. 5.
For another example, the first touch operation may be a slide operation from the preset region 201 to the preset region 203. As shown in (b) of fig. 5, the point C is located in the preset region 201, and the point D is located in the preset region 203. The first touch operation may be a slide operation from point C to point D shown in (b) in 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 the preset area 202 on the right side frame of the cellular phone 20, and point b is located in the preset area 203. The first touch operation may be a slide operation from a point a to a point b shown in (a) in fig. 6.
For another example, the first touch operation may be a sliding operation from an area above the preset area 201 on the right side frame of the mobile phone 20 to the preset area 203. As shown in fig. 6 (b), the point c is located in an area above the preset area 201 on the right side frame of the cellular phone 20, and the point d is located in the preset area 203. The first touch operation may be a slide operation from a point c to a point d shown in (b) in fig. 6.
In the embodiment of the present application, for the first touch operations in different sliding directions, the MCU may trigger a preset device in the mobile phone 20 to send out different first prompt information, such as a vibration prompt with different vibration frequencies and/or vibration times.
For example, assuming that the preset device is a motor of the cellular phone 20, the first prompt information is a vibration prompt. For the first touch operation shown in (a) in fig. 6, the vibration prompt issued by the MCU triggering the motor may be a single vibration prompt; for the first touch operation shown in (b) of fig. 6, the vibration prompt issued by the MCU triggering the motor may be two vibration prompts in succession.
S403, in response to the touch sensor Y detecting the first touch operation, the MCU starts 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 key is touched and pressed. After the preset device sends the first prompt message, the user may input a touch operation (e.g., 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 a pressing pressure of the second touch operation.
The pressure sensor 210 in the embodiment of the present application may be a piezo ceramic sensor. The sensitivity of the piezoelectric ceramic sensor is higher compared with other pressure sensors; therefore, even if the pressing pressure of the second touch operation (e.g., pressing operation) is small, the pressing pressure can be acquired by the pressure sensor 210.
S405, the MCU judges whether the pressing pressure collected by the pressure sensor 210 is greater than a pressure threshold.
The above-mentioned pressure threshold may be pre-configured in the handset 20. For example, the force threshold may be pre-stored in 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 the handset 20 may dynamically adjust the pressure threshold of the pressure sensor 210 according to the scene information of the handset 20. The method for the MCU to dynamically adjust the pressure threshold of the pressure sensor 210 according to the scene information of the mobile phone 20 may refer to the related description in the following embodiments, which is not repeated herein.
Specifically, if the compression pressure (e.g., 43g) collected by the pressure sensor 210 is greater than the pressure threshold (e.g., 40g), the MCU may execute S406. If the pressing pressure (e.g., 36g) collected by the pressure sensor 210 is less than or equal to the pressure threshold (e.g., 40g), 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 mobile phone 20 will 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 mobile phone 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 pressure is greater than the pressure threshold, the mobile phone 20 can 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 pressing pressure transmitted at any time is greater than the pressure threshold, the mobile phone 20 can execute the corresponding function. That is, no matter the first pressing operation is a single-click operation, a double-click operation or a long-time pressing operation, as long as the MCU determines that the pressing pressure collected by the pressure sensor 210 is greater than the pressure threshold, the MCU of the mobile phone 20 may trigger the mobile phone 20 to execute the corresponding function.
S406, the mobile phone 20 executes the function corresponding to the first touch operation and the second touch operation.
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 function 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 collected by the touch sensor Y. Specifically, the MCU may determine the functions corresponding to the first touch operation and the second touch operation according to the operation information of the first touch operation and the 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 to the preset region 203 along a first direction (from a point a to a point b as shown in fig. 6 (a)), and the second touch operation is a single-click operation or a long-press operation, the mobile phone 20 may increase the first parameter of the mobile phone 20; if the first touch operation is a sliding operation in a second direction (from a point c to a point d as shown in fig. 6 (b)) to the preset area 203, and the second touch operation is a single-click operation or a long-press operation, the cellular phone 20 may turn down the first parameter. Wherein the first parameter is the volume or screen brightness of the handset 20.
S406 may further include: if the first touch operation is a slide operation in a first direction (from a point a to a point b as shown in fig. 6 (a)) to a preset area, and the second touch operation is a double-click operation, the cellular phone 20 executes a first function; if the first touch operation is a slide operation in a second direction (from point c to point d as shown in fig. 6 (b)) to a preset area and the second touch operation is a double-click operation, the cellular phone 20 executes a second function. Wherein the first function and the second function are one of the following functions: locking the screen, capturing the screen, recording the screen, opening the camera and opening the voice assistant. 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 not changed, 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 premise that the sliding direction of the first touch operation is not changed, the operation types indicated by the operation information of the second touch operation are different, and the 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, the second touch operation, and the function. For example, please refer to table 1, which shows a configuration information table provided in an embodiment of the present application. The configuration information table includes a corresponding relationship between a sliding direction of the first touch operation, an operation type of the second touch operation, and a function.
TABLE 1
Figure BDA0002228613980000151
For example, when the first touch operation is a slide operation from the point a to the point B shown in (a) in fig. 5 or a slide operation from the point a to the point B shown in (a) in fig. 6 (i.e., an upward slide operation shown in table 1), and the second touch operation is a single-click operation or a long-press operation, the function corresponding to the first touch operation and the second touch operation is an increase in volume shown in table 1.
When the first touch operation is a slide operation from the point C to the point D shown in (b) in fig. 5 or a slide operation from the point C to the point D shown in (b) in fig. 6 (i.e., a downward slide operation shown in table 1), and the second touch operation is a single-click operation or a long-press operation, the function corresponding to the first touch operation and the second touch operation is volume-down shown in table 1.
When the first touch operation is a slide operation from point a to point B shown in (a) in fig. 5 or a slide operation from point a to point B shown in (a) in fig. 6 (i.e., a slide-up operation shown in table 1), and the second touch operation is a double-click operation, the function corresponding to the first touch operation and the second touch operation is a screen shot shown in table 1.
When the first touch operation is a slide operation from the point C to the point D shown in (b) in fig. 5 or a slide operation from the point C to the point D shown in (b) in fig. 6 (i.e., a slide-down operation shown in table 1), and the second touch operation is a double-click operation, the function corresponding to the first touch operation and the second touch operation is the start-up voice assistant shown in table 1.
In one case, 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, and the function may be configured in the mobile phone before the mobile phone 20 is shipped.
In another case, the first touch operation in different sliding directions and the second touch operation in different operation types trigger functions performed by the mobile phone 20, and can also be set in the mobile phone by the user. The specific method for the mobile phone to receive the setting of the user and determine the function executed by the mobile phone 20 triggered by the first touch operation in different sliding directions and the second touch operation in different operation types may refer to a related setting method in the conventional technology, and is not described herein again in this embodiment of the present application.
For example, in the embodiment of the present application, a specific method for triggering a mobile phone to execute a function corresponding to a first touch operation and a second touch operation by an MCU (e.g., the MCU 350E shown in fig. 3) is described herein with reference to a 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 the MCU 350E may include: the MCU 350E shown in fig. 3 determines functions corresponding to the first touch operation and the second touch operation; MCU 350E sends a request or instruction to SOC unit 310 instructing the handset to perform the function to request or instruct 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 the MCU 350E may include: the MCU 350E shown in fig. 3 transmits the operation information of the first touch operation and the operation information of the second touch operation to the SOC unit 310; the SOC unit 310 determines the function indicated by the received operation information; SOC unit 310 triggers one or more devices of the handset to perform this function.
In response to a first touch operation of a user (i.e., a sliding operation to the preset area 203 where the pressure sensor 210 is located), the mobile phone 20 may send a first prompt message to prompt the user to input a touch operation in the preset area 230. Therefore, even if the user can not accurately position the position of the touch key through blind touch; the mobile phone 20 may indicate the position of the pressed key to the user when receiving the first touch operation. Therefore, effective blind touch of the touch key can be realized, and the interaction performance of the electronic equipment can be improved.
In some embodiments, after S405, if the compression pressure (e.g., 43g) collected by the pressure sensor 210 is greater than the pressure threshold (e.g., 40g), the method of the embodiment of the present application may further include: the MCU triggers a preset device in the mobile phone 20 to send 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 message may be different from the first prompt message. For example, when the preset device is a motor, the first prompt message and the second prompt message are both vibration prompts. However, the second prompt message may have a different frequency and/or number of vibrations than the first prompt message. Of course, in some embodiments, the first prompt message and the second prompt message may also be the same, and this is not limited in this application embodiment.
In other embodiments, after S405, if the compression pressure (e.g., 43g) collected by the pressure sensor 210 is less than the pressure threshold (e.g., 40g), the method of the embodiment of the present application may further include: the MCU triggers a preset device in the mobile phone 20 to send a third prompt message. The third prompt message is used for prompting the user to re-input the touch operation.
It should be noted that the third prompting message may be different from the first prompting message and the second prompting message. 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 third prompting message may be different in vibration frequency and/or vibration frequency from the second prompting message and the first prompting message.
In other embodiments, after S405, whether the pressing pressure collected by the pressure sensor 210 is less than the pressure threshold, in response to the touch sensor Y detecting the lifting operation of the user (e.g., the operation of the finger of the user moving away from the right side frame of the mobile phone 20), the MCU may trigger the preset device in the mobile phone 20 to issue the fourth prompt message.
It should be noted that the fourth prompting message may be different from the third prompting message, the first prompting message and the second prompting message. 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 fourth prompting message may have a different frequency and/or number of vibrations than other prompting messages (e.g., the first prompting message, the second prompting message, and the third prompting message).
In some embodiments, in order to reduce the power consumption of the mobile phone 20 and save power, the method of the embodiment of the present application may further include: from the time the MCU performs S403 (i.e., the MCU activates the pressure sensor 210), the MCU may turn off 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 time period. For example, the preset time period may be 1 minute, 2 minutes, 3 minutes, or 5 minutes, etc. The preset time period may be pre-configured in the handset 20. Alternatively, the preset duration may be set by the user in handset 20.
It is understood 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 indicates that the first touch operation may be a false touch of the user on the preset area 200. In this case, the MCU may then turn off the pressure sensor 210 in order to conserve power.
In some cases, the touch sensor Y may detect the first touch operation due to a user's false touch, that is, the first touch operation is a user's false touch operation (i.e., an operation unintended by the user). Starting from the MCU starting the pressure sensor 210, if the touch sensor Y or the pressure sensor 210 detects a touch operation within a preset time length; the first touch operation is less likely to be a false touch operation. Starting from the MCU starting the pressure sensor 210, if the touch sensor Y or the pressure sensor 210 detects touch operation within a preset time length; the first touch operation is highly likely to be a false touch operation.
No matter whether the first touch operation detected by the first touch operation is a false touch operation of the user, the MCU will activate the pressure sensor 210 in response to the first touch operation. After the pressure sensor 210 is activated, the cellular phone 20 may perform a function in response to a second touch operation of the user.
On the premise that the first touch operation is a false touch operation, if the pressure sensor 210 is in a working state after being started, the mobile phone 20 may respond to the false touch operation of the user to execute a corresponding function. This increases the possibility of erroneous touch of the touch button of the cellular phone 20.
Therefore, starting from the MCU starting the pressure sensor 210, if the touch sensor Y or the pressure sensor 210 does not detect the pressing operation within the preset time, the MCU closing the pressure sensor 210 can not only reduce the power consumption of the mobile phone 20 and save the electric quantity, but also improve the false touch prevention performance of the mobile phone 20.
For convenience of understanding, in the embodiment of the present application, the method in the embodiment of the present application is described with reference to a schematic diagram of a human-computer interaction process of the mobile phone 20 shown in fig. 7 and a schematic diagram of state machine switching of the mobile phone 20 shown in fig. 8A, by taking the first touch operation shown in (a) in fig. 6 and (b) in fig. 6 as an example.
When the touch sensor Y does not detect the touch operation of the finger of the user on the preset area 201, the preset area 202, and the preset area 203, that is, the finger of the user does not touch 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., an idle state) shown in fig. 8A.
In case 1, the user's finger may touch the 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 contacts the preset area 202 (i.e., 710 shown in fig. 7) shown in fig. 6 (a) due to the upward sliding of the finger (action 1 shown in fig. 8A), so that the mobile phone 20 enters the state 2 (i.e., the upward sliding detection state) shown in fig. 8A.
As the user's finger continues to slide up from the preset area 202 shown in (a) of fig. 6 (action 2 shown in fig. 8A), the touch sensor Y may detect that the user's finger contacts the preset area 203 shown in (a) of fig. 6 (i.e., 711 shown in fig. 7). At this point, the MCU of the handset 20 may execute 712 (including (1) activating the pressure sensor 210, (2) triggering the motor vibration prompt) shown in FIG. 7, causing the handset 20 to enter state 4 (i.e., the function 1 enabled state) shown in FIG. 8A. The motor vibration indication in 712 shown in fig. 7 may be: and S402, presetting first prompt information sent by the 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, the cellular phone 20 may trigger motor vibration to prompt the user to input a touch operation.
In this case, the user may input a second touch operation in the preset area 203 according to the prompt of the motor vibration (i.e., action 3 shown in fig. 8A). In response to this action 3, the cellular phone 20 switches from state 4 to state 7 (i.e., function 1 pressed state) shown in fig. 8A. The pressure sensor 210 may collect a pressing pressure of the second touch operation, and the touch sensor Y may collect operation information of the second touch operation. The MCU of the handset 20 can calculate the press signal characteristic of the pressure sensor 210 (i.e., execute 713 shown in fig. 7). Wherein the pressing signal characteristic may be a pressing 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 can execute 714 shown in fig. 7. 714 shown in FIG. 7 may include: (1) reporting a pressing event of the function 1; (2) the motor vibrates to indicate the occurrence of a compression event. The pressing event of the reporting function 1 in 714 shown in fig. 7 is used to execute S406 in the above embodiment. The motor vibration cues in 714 shown in FIG. 7 may be: and presetting second prompt information sent by the device. The function 1 is determined based on the operation information of the first touch operation and the operation information of the second touch operation.
After detecting the second touch operation, when the touch sensor Y detects a lift-off operation by the user (i.e., action 4 shown in fig. 8A), it indicates that the second touch operation satisfies the lift-off feature. The MCU of handset 20 may execute 715 as shown in fig. 7. 715 shown in fig. 7 may include: (1) reporting a lifting event; (2) the motor vibrates to indicate the lift event. The motor vibration prompt in 715 shown in fig. 7 may be a fourth prompt message sent by a preset device in the mobile phone 20. In response to the above-described action 4, the cellular phone 20 is switched from the state 7 to the state 4 shown in fig. 8A.
After detecting the above-described "sliding operation to the preset region 203", if the touch sensor Y detects "sliding operation from the preset region 203 to the preset region 202" (i.e., action 11 shown in fig. 8A), the cellular phone 20 may be switched from state 4 to state 2 shown in fig. 8A.
Of course, after the user's finger is slid into the preset area 202 shown in (a) of fig. 6, 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 shown in fig. 8A to state 1 (i.e., idle state).
After detecting the above-described "sliding operation (up-sliding operation) to the preset area 203", if the touch sensor Y detects a lifting operation by the user (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 of the above 2, the user's finger may touch an area above the preset area 201 on the right side frame of the cellular phone 20. At this time, the touch sensor Y may detect that the finger of the user touches the preset area 201 (i.e., 720 shown in fig. 7) shown in (b) of fig. 6 due to the downward sliding of the finger (action 6 shown in fig. 8A), so that the mobile phone 20 enters the state 3 (i.e., the downward sliding detection state) shown in fig. 8A.
As the user's finger continues to slide down from the preset region 201 shown in (a) of fig. 6 (action 7 shown in fig. 8A), the touch sensor Y may detect that the user's finger contacts the preset region 203 shown in (a) of fig. 6 (i.e., 721 shown in fig. 7). At this point, the MCU of the handset 20 may execute 722 (including (a) activating the pressure sensor 210 and (b) triggering the motor vibration prompt) shown in FIG. 7, causing the handset 20 to enter state 5 (i.e., the function 2 enabled state) shown in FIG. 8A. The motor vibration indication in 722 shown in fig. 7 may be: and presetting first prompt information sent by the 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, the cellular phone 20 may trigger motor vibration to prompt the user to input a touch operation.
In this case, the user may input a second touch operation (i.e., action 8 shown in fig. 8A) in the preset area 203 according to the prompt of the motor vibration. In response to this action 8, handset 20 enters state 6 (i.e., function 2 pressed state) from state 5 shown in fig. 8A. The pressure sensor 210 may collect a pressing pressure of the second touch operation, and the touch sensor Y may collect operation information of the second touch operation. The MCU of the cellular phone 20 may calculate the pressing signal characteristic of the pressure sensor 210 (i.e., execute 723 shown in fig. 7). Wherein the pressing signal characteristic may be a pressing pressure of the pressing operation.
If the pressing pressure of the second touch operation satisfies the pressing characteristic (e.g., is greater than the pressure threshold of the pressure sensor 210), the MCU of the cellular phone 20 may execute 724 shown in fig. 7. 724 shown in fig. 7 may include: (1) reporting the pressing event of the function 2; (2) the motor vibrates to indicate the occurrence of a compression event. 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 cue in 724 shown in FIG. 7 may be: and presetting second prompt information sent by the device. 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 detecting the second touch operation, when the touch sensor Y detects a lift-off operation by the user (i.e., action 9 shown in fig. 8A), it indicates that the second touch operation satisfies the lift-off feature. The MCU of handset 20 may execute 725 shown in fig. 7. 725 shown in fig. 7 may include: (1) reporting a lifting event; (2) the motor vibrates to indicate the lift event. The motor vibration prompt in 725 shown in fig. 7 may be a fourth prompt message sent by a preset device in the mobile phone 20. In response to action 9, handset 20 switches from state 6 to state 5 (i.e., function 2 enabled state) as shown in fig. 8A.
After detecting the above-described "slide operation to the preset area 203", if the touch sensor Y detects "slide operation to the preset area 201 from the preset area 203" (i.e., action 10 shown in fig. 8A), the cellular phone 20 may be switched from state 5 to state 3 shown in fig. 8A.
Of course, after the user's finger slides 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 "sliding operation to the preset area 203" described above, if the touch sensor Y detects a lifting operation by the user (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., an idle state).
After detecting the above-described "sliding operation to the preset region 203", if the touch sensor Y detects "sliding operation from the preset region 203 to the preset region 202" (i.e., action 13 shown in fig. 8A), the cellular phone 20 may be switched from state 5 to state 2 shown in fig. 8A.
From the above embodiment, it can be seen that: in order to reduce the erroneous touch on the touch key of the mobile phone 20, after the "sliding operation to the preset region 203" is detected, if the touch sensor Y does not detect the second touch operation (e.g., pressing operation) within the preset time period, the MCU may turn off the pressure sensor 210. Accordingly, the state machine switching diagram of the 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 the mobile phone 20 is in the state 4, it may be determined that the touch sensor Y does not detect the pressing operation within the preset time period (i.e., it is determined whether time-out occurs) in response to the action 5. If a touch operation is detected within a preset time period (i.e., not timed out), handset 20 may switch from state 4 to state 7. If no touch operation is detected within a preset time period (i.e., timeout), the handset 20 may switch from state 4 to state 1.
It should be noted that the schematic diagrams of state machine switching shown in fig. 8A and 8B are only an example of state machine switching when the mobile phone 20 executes the present solution, and the protection scope of the present application is not limited. State machine switching while handset 20 is executing the methods of the present examples include, but are not limited to, the state machine switching shown in fig. 8A or fig. 8B.
For example, in the embodiment of the present application, a method of the embodiment of the present application is described here by taking the electronic device as the mobile phone 20 shown in (a) in fig. 2A as an example. As shown in fig. 2A (a) or fig. 2A (b), the preset area 201 of the cellular phone 20 is provided with a touch sensor, the preset area 203 is provided with a touch sensor and a pressure sensor 210, and the preset area 202 is provided with a touch sensor. The preset region where the pressure sensor 210 is located is the preset region 203.
In the embodiment of the present application, a method of the embodiment of the present application is described by taking an example in which touch sensors arranged 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, the mobile phone 20 detects a touch operation by the touch sensor Y.
For a detailed description of S801, reference may be made to the introduction of S401 in the foregoing embodiment, which is not repeated herein.
S802, in response to the first touch operation detected by the touch sensor Y, the MCU triggers a preset device in the mobile phone 20 to send out a first prompt message.
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 the point a to the point B shown in (a) in fig. 5, a sliding operation from the point C to the point D shown in (B) in fig. 5, a sliding operation from the point a to the point B shown in (a) in fig. 6, or a sliding operation from the point C to the point D shown in (B) in fig. 6.
It should be noted that, for detailed description of the first prompt message and the preset device, reference may be made to the description of S402 in the foregoing embodiment, and details are not repeated here.
S803, in response to the touch sensor Y detecting the first touch operation, the cell phone 20 activates the pressure sensor 210.
S804, the cell phone 20 collects the pressing pressure of the second touch operation through the pressure sensor 210. The second touch operation is a slide operation in the first direction or a slide operation in the second direction started by the preset region 203.
Wherein the first direction is opposite to the second direction. Take the first direction from bottom to top on the side frame of the mobile phone 20 and the second direction from top to bottom on the side frame of the mobile phone 20 as an example. For example, as shown in (a) of fig. 8D, a point E is located in the preset region 203, a point F is located in the preset region 201, and a point G is located in a region above the preset region 201. The second touch operation may be a sliding operation from the point E to the point F shown in (a) in fig. 8D, or may be a sliding operation from the point E to the point G shown in (a) in fig. 8D. As shown in (b) of fig. 8D, the point e is located in the preset region 203, the point f is located in the region below the preset region 202, and the point g is located in the region below the preset region 202. The second touch operation may be a sliding operation from the point e to the point f shown in fig. 8D (b), or may be a sliding operation from the point e to the point g shown in fig. 8D (b).
S805, the MCU judges whether the pressing pressure collected by the pressure sensor 210 is greater than a pressure threshold.
Specifically, if the pressing pressure is greater than the pressure threshold, handset 20 may execute S806 or S807. If the pressing pressure is less than or equal to the pressure threshold, the MCU can determine that the second touch operation is a false touch operation, and the MCU does not respond to the second touch operation.
And S806, if the second touch operation is a sliding operation along the first direction, the MCU triggers the mobile phone 20 to increase the first parameter. Wherein the first parameter is the volume or screen brightness of the handset 20.
And S807, if the second touch operation is a sliding operation along the second direction, the MCU triggers the mobile phone 20 to lower the first parameter.
It should be noted that, unlike the solutions described in S401-S406, in the solutions described in S801-S807, the sliding direction of the first touch operation does not affect the function performed by the mobile phone 20, and the first touch operation is only to trigger the preset device to issue the first prompt message and trigger the MCU to activate the pressure sensor 210. And the sliding direction of the second touch operation determines the function that the handset 20 needs to perform. Referring to the distribution of the "volume +" key and the "volume-" key at the side frame of the mobile phone, if the "volume +" key is above the "volume-" key, in order to meet the usage habit of the user, the first direction may be an upward sliding direction, and the second direction may be 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 side frame of the cellular phone 20. That is, the first touch operation and the second touch operation described above are continuous touch operations.
In order to reduce the power consumption of the mobile phone 20 and save power, the method of the embodiment of the present application may further include: from the point that the MCU performs S803 (i.e., the MCU activates 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) within a preset time period, the MCU may turn off the pressure sensor 210.
The embodiment of the application provides an interaction method of an electronic device, which can be applied to the electronic device 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 bezel or a right bezel). The electronic equipment 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 the physical keys such as screen locking, volume adjustment and the like are realized.
For example, in the embodiment of the present application, a method in the embodiment of the present application is described herein by taking the above-mentioned electronic device as the mobile phone 10 shown in (a) of fig. 1 as an example. As shown in fig. 1 (a) or 1 (b), a 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), a preset area 103 is provided with a touch sensor, and a 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, a method of the embodiment of the present application is described by taking an example in which touch sensors arranged in 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 in the embodiment of the present application may include S900, S901 to S905, and S1001 to S1005.
S900, the mobile phone 10 detects a touch operation by the touch sensor X.
For the method for detecting the touch operation by the touch sensor X, reference may be made to a specific method for detecting the touch operation by the touch sensor in the conventional technology, which is not described herein again in the embodiments of the present application.
S901, in response to the touch sensor X detecting a sliding operation (referred to as a first sliding operation) to the preset region 101 along the first direction, the MCU triggers the preset device to send 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, point 1 is located in a region below the preset region 103, point 2 is located in the preset region 102, point 3 is located in the preset region, and point 4 is located in the preset region 102. The first sliding operation may be a sliding operation from point 1 to point 4, a sliding operation from point 2 to point 4, or a sliding operation from point 3 to point 4 as shown in (a) in fig. 10.
The sliding direction of the sliding operation is determined by the operation information of the sliding operation. The operation information of the slide operation is collected by the touch sensor Y. For detailed description of the first prompt message and the preset device, reference may be made to the description of S402 in the foregoing embodiment, which is not described herein again.
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 key is touched and pressed. After the preset device sends the first prompt message, the user may input a touch operation (e.g., 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 through the pressure sensor 110.
The pressure sensor 110 in the embodiment of the present application may be a piezo ceramic sensor. The sensitivity of the piezoelectric ceramic sensor is higher compared with other pressure sensors; therefore, even if the pressing pressure of the first pressing operation is small, the pressing pressure can be collected by the pressure sensor 110.
S904, the MCU judges whether the pressing pressure collected by the pressure sensor 110 is greater than a pressure threshold.
The pressure threshold may be pre-configured in the mobile phone 10. For example, the force 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 according to the scene information of the handset 10. The method for the MCU to dynamically adjust the pressure threshold of the pressure sensor 110 according to the scene information of the mobile phone 10 may refer to the related description in the following embodiments, which is not repeated herein.
Specifically, if the compression pressure (e.g., 43g) collected by the pressure sensor 110 is greater than the pressure threshold (e.g., 40g), the MCU may perform S906. If the pressing pressure (e.g., 36g) collected by the pressure sensor 110 is less than or equal to the pressure threshold (e.g., 40g), the MCU may determine that the first pressing operation is a false touch operation, and the MCU may ignore the first pressing operation and not respond to the first pressing operation.
S905, the mobile phone 10 executes a function corresponding to the first pressing operation.
Illustratively, S905 may include: if the first pressing operation is a single-click operation or a long-press operation, the mobile phone 10 increases the first parameter. The first parameter is the volume or screen brightness of the handset 10. S905 may further include: if the first pressing operation is a double-click operation, the cellular phone 10 performs the first function. Wherein the first function is one of the following functions: locking the screen, capturing the screen, recording the screen, opening the camera and opening the voice assistant.
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 shows a configuration information table provided in an embodiment of the present application. The configuration information table includes a correspondence relationship between a first sliding operation (i.e., a sliding operation to the preset region 101), an operation type of the first pressing operation, and a function.
TABLE 2
Figure BDA0002228613980000221
For example, when the operation type of the first pressing operation is the single-click operation or the long-press operation, the function corresponding to the first slide 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 the double-click operation, the function corresponding to the first sliding operation and the first pressing operation is the screen capture shown in table 2.
In one case, the first sliding operation and the first pressing operation of different operation types may trigger the function executed by the mobile phone 10, and may be configured in advance in the mobile phone before the mobile phone 10 is shipped.
In another case, the first sliding operation and the first pressing operation of a different operation type trigger a function performed by the mobile phone 10, which can also be set in the mobile phone by the user. The specific method for the mobile phone to receive the setting of the user and determine the function executed by the mobile phone 10 triggered by the first sliding operation and the first pressing operation of different operation types may refer to a related setting method in the conventional technology, which is not described herein again in this embodiment of the present application.
And S1001, in response to the touch sensor X detecting the sliding operation (called as a second sliding operation) to the preset area 102 along the second direction, the MCU triggers the preset device to send out 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 region 102, the point 7 is located in the preset region 103, the point 6 is located in the preset region 101, and the point 5 is located in a region above the preset region 101. The second sliding operation may be a sliding operation from the point 5 to the point 8, a sliding operation from the point 6 to the point 8, or a sliding operation from the point 7 to the point 8 shown in (b) in fig. 10.
The sliding direction of the sliding operation is determined by the operation information of the sliding operation. The operation information of the slide operation is collected by the touch sensor Y. For detailed description of the first prompt information and the preset device, reference may be made to the description of S402 in the foregoing embodiment, which is not described herein again in this embodiment.
In this embodiment of the application, in response to the first sliding operation in S902, the MCU triggers the first prompt message sent by the preset device, and in response to the second sliding operation in S1002, the MCU triggers the first prompt message sent by the preset device may be different. For example, vibration cues that differ in frequency and/or number of vibrations.
For example, assuming that the preset device is a motor of the mobile phone 10, the first prompt message is a vibration prompt. Wherein, in response to the first sliding operation, the vibration prompt sent by the MCU trigger motor can be a vibration prompt; in response to the second sliding operation, the vibration prompt issued by the MCU triggering the motor may be two consecutive vibration prompts.
S1002, in response to the touch sensor X detecting the second sliding operation, the MCU activates the pressure sensor 120.
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 key is touched and pressed. After the preset device sends the first prompt message, the user may input a touch operation (e.g., 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 acquires the pressing pressure of the second pressing operation through the pressure sensor 120.
The pressure sensor 120 in the embodiment of the present application may be a piezo ceramic sensor. The sensitivity of the piezoelectric ceramic sensor is higher compared with other pressure sensors; therefore, even if the pressing pressure of the second pressing operation is small, the pressing pressure can be collected by the pressure sensor 120.
S1004, the MCU judges whether the pressing pressure collected by the pressure sensor 120 is greater than a pressure threshold.
Specifically, if the compression pressure (e.g., 43g) collected by the pressure sensor 120 is greater than the pressure threshold (e.g., 40g), the MCU may perform S906. If the pressing pressure (e.g., 36g) collected by the pressure sensor 120 is less than or equal to the pressure threshold (e.g., 40g), the MCU may determine that the second pressing operation is a false touch operation, and the MCU may ignore the second pressing operation and not respond to the second pressing operation.
S1005, the mobile phone 10 executes the function corresponding to the second pressing operation.
Illustratively, S1005 may include: if the second pressing operation is a single-click operation or a long-press operation, the mobile phone 10 turns down the first parameter. The first parameter is the volume or screen brightness of the handset 10. S1005 may further include: if the second pressing operation is a double-click operation, the cellular phone 10 performs the second function. Wherein the second function is one of the following functions: locking the screen, capturing the screen, recording the screen, opening the camera and opening the voice assistant. The second function is different from the first function.
For example, the memory of the mobile phone 10 may store the correspondence table between the second sliding operation, the second pressing operation and the function. For example, please refer to table 3, which shows a configuration information table provided in an embodiment of the present application. The configuration information table includes a correspondence relationship between the operation type of the second sliding operation (i.e., the sliding operation to the preset region 102) and the second pressing operation and the function.
TABLE 3
Figure BDA0002228613980000231
For example, when the operation type of the second pressing operation is the single-click operation or the long-press operation, the function corresponding to the second slide operation and the second pressing operation is turning down the volume shown in table 3. When the operation type of the second pressing operation is the double-click operation, the function corresponding to the second sliding operation and the second pressing operation is the turn-on voice assistant shown in table 3.
It should be noted that, for the method for the MCU to execute the functions corresponding to the second sliding operation and the second pressing operation, reference may be made to the detailed description of S406 in the foregoing embodiment, which is not repeated herein.
The embodiment of the application provides an interaction method of an electronic device, and in response to a first sliding operation or a second pressing operation of a user, a mobile phone 10 may send a first prompt message to prompt the user to input a touch operation in a preset area 101 or a preset area 102. That is, the mobile phone 20 may indicate the position of the pressed key to the user when the first sliding operation or the second sliding operation is detected. Therefore, effective blind touch of the touch key can be realized, and the interaction performance of the electronic equipment can be improved.
In some embodiments, if the compression pressure (e.g., 43g) is greater than the pressure threshold (e.g., 40g), the method of embodiments of the present application may further include: the MCU triggers a preset device in the mobile phone 10 to send 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 compression pressure (e.g., 43g) is less than the pressure threshold (e.g., 40g), the method of embodiments of the present application may further include: the MCU triggers a preset device in the mobile phone 10 to send a third prompt message. The third prompt message is used for prompting the user to re-input the touch operation.
In other embodiments, whether the pressing pressure (e.g., 43g) is less than the pressure threshold (e.g., 40g), the MCU may trigger the preset device in the mobile phone 10 to issue the fourth prompt message in response to the touch sensor X detecting the lifting operation of the user (e.g., the operation of the finger of the user moving away from the right side frame of the mobile phone 10).
It should be noted that, for the detailed description of the second prompt information, the third prompt information, and the fourth prompt information, reference may be made to the descriptions of the second prompt information and the third prompt information in the foregoing embodiments, and details are not described herein in this embodiment of the application.
In some embodiments, in order to reduce the power consumption of the mobile phone 10 and save power, the method of the embodiment of the present application may further include: starting from the MCU executing S902 (i.e., the MCU activates the pressure sensor 110), the MCU may turn off the pressure sensor 110 if the touch sensor X or the pressure sensor 110 does not detect a touch operation for a preset time period. From the time the MCU performs S1002 (i.e., the MCU activates the pressure sensor 120), the MCU may turn off the pressure sensor 120 if the touch sensor X or the pressure sensor 120 does not detect a touch operation for a preset time period.
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 power, but also improves the anti-accidental-touch performance of the mobile phone 10. The principle that the MCU of the mobile phone 10 closes the pressure sensor to improve the anti-false-touch performance of the mobile phone 10 can refer to the principle that the MCU of the mobile phone 20 closes the pressure sensor 210 to improve the anti-false-touch performance of the mobile phone 20, and the embodiment of the present application is not described herein again.
For convenience of understanding, in the embodiment of the present application, a method of the embodiment of the present application is described with reference to a schematic diagram of a human-computer interaction process of the mobile phone 10 shown in fig. 11 and a schematic diagram of a state machine switching of the mobile phone 10 shown in fig. 12A, by taking a first sliding operation shown in (a) of fig. 10 and a second sliding operation shown in (b) of fig. 10 as examples.
When the touch sensor X does not detect a touch operation of the user's finger on the preset area 101, the preset area 102, and the preset area 103, that is, the user's finger does not touch the preset area 101, the preset area 102, and the preset area 103 (1100 shown in fig. 11), the mobile phone 10 is in a state i (i.e., an idle state) shown in fig. 12A.
Among them, the touch sensor X may detect a touch operation of the user's finger on the preset area 103 shown in (a) in fig. 10 or (b) in fig. 10 (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, the cellular phone 20 switches from the state i shown in fig. 12A to the state ii.
In one case, after the touch sensor X detects that the finger of the user contacts the preset area 103, the finger of the user may contact the preset area 101 (i.e., 1111 shown in fig. 11) shown in fig. 10 (a) due to the upward sliding of the finger of the user (action ii shown in 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 prompt) to cause the handset 10 to enter state iii (i.e., the function a enable state) shown in FIG. 12A. The motor vibration indication in 1112 shown in fig. 11 may be: and presetting first prompt information sent by the device.
In summary, when the touch sensor X detects "a sliding operation from the preset area 103 to the preset area 101 (i.e. a 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 also trigger the motor to vibrate to prompt the user to input a touch operation at the position of the preset area 101.
In which, according to the prompt of the motor vibration, the user may input the first pressing operation (i.e., the action v shown in fig. 12A) in the preset area 101. In response to this action v, the mobile phone 10 enters the state v (i.e., function a pressed state) from the state iii shown in fig. 12A. The pressure sensor 110 may collect a pressing pressure of the first pressing operation, and the touch sensor X may collect operation information of the first pressing operation. The MCU of the cellular phone 10 may calculate the pressing signal characteristic of the pressure sensor 110 (i.e., execute 1113 shown in fig. 11). Wherein the pressing signal characteristic may be a pressing pressure of the first pressing 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 can execute 1114 shown in fig. 11. 1114 shown in FIG. 11 may include: (1) reporting a pressing event of the function a; (2) the motor vibrates to indicate the occurrence of a compression event. The pressing event of the reporting function a in 1114 shown in fig. 11 is used to execute S906 in the foregoing embodiment. The motor vibration cue in 1114 shown in FIG. 11 may be: and the second prompt message sent by the device is preset in the step S907. 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 of 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 can execute 1115 of fig. 11. 1115 shown in fig. 11 may include: (1) reporting a lifting event; (2) the motor vibrates to indicate the lift event. The motor vibration prompt in 1115 shown in fig. 11 may be a fourth prompt message sent by a preset device in the mobile phone 10. In response to the 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-mentioned "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 be switched from the state iii shown in fig. 12A to the state ii.
After detecting the "sliding operation from the preset region 103 to the preset region 101" described above, if the touch sensor X detects a lifting operation by the user (i.e., action iv shown in fig. 12A), the mobile phone 10 may be switched from the state iii shown in fig. 12A to the state i (i.e., an idle state).
In another case, after the touch sensor X detects that the user's finger contacts the preset region 103, it may detect that the user's finger contacts the preset region 102 (1121 shown in fig. 11) shown in (a) of fig. 10 because of the downward sliding of the user's finger (action iii shown in fig. 12A). At this point, the MCU of the handset 10 may execute 1122 (including (a) activating the pressure sensor 120, (b) triggering the motor vibration indication) shown in FIG. 11, causing the handset 10 to enter state iv (i.e., the function b enabled state) shown in FIG. 12A. The motor vibration indication in 1122 shown in fig. 11 may be: and presetting first prompt information sent by the device.
In summary, when the touch sensor X detects "a sliding operation from the preset area 103 to the preset area 102 (i.e. a second sliding operation)", the MCU of the mobile phone 10 may activate the pressure sensor 120 to collect the pressing pressure. Also, the mobile phone 10 may trigger the motor to vibrate to prompt the user to input a touch operation at the position of the preset area 102.
In which the user may input a second pressing operation (i.e., action v shown in fig. 12A) in the preset area 100 according to the prompt of the motor vibration. In response to this action v, the handset 10 enters the state vi (i.e., the function b pressed state) from the state iv shown in fig. 12A. The pressure sensor 120 may acquire a pressing pressure of the second pressing operation, and the touch sensor X may acquire operation information of the second pressing operation. The MCU of the handset 10 can calculate the press signal characteristic of the pressure sensor 120 (i.e., execute 1123 shown in fig. 11). Wherein the pressing signal characteristic may be a pressing pressure of the second pressing 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 can execute 1124 shown in fig. 11. 1124 shown in FIG. 11 may include: (1) reporting the pressing event of the function b; (2) the motor vibrates to indicate the occurrence of a compression event. 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: and the second prompt message sent by the device is preset in the step S907. 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 second pressing operation described above, if the touch sensor X detects a lifting operation of 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 can execute 1125 as shown in fig. 11. 1125 shown in FIG. 11 may include: (1) reporting a lifting event; (2) the motor vibrates to indicate the lift event. 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 action vi, the mobile phone 10 switches from the state vi to the state iv (i.e., the function b enabled state) shown in fig. 12A.
After the touch sensor X detects the above-mentioned "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 cellular phone 10 may be switched from the state iv shown in fig. 12A to the state ii.
After detecting the "sliding operation from the preset region 103 to the preset region 102" described above, if the touch sensor X detects a lifting operation by the user (i.e., action iv shown in fig. 12A), the mobile phone 10 may be switched from the state iv shown in fig. 12A to the state i (i.e., an idle state).
Of course, after detecting that the finger of the user contacts the preset area 103 shown in (a) in fig. 10, if the touch sensor X detects the lifting operation of the user (i.e., action iv shown in fig. 12A), the cellular phone 10 may be switched from state ii shown in fig. 12A to state i (i.e., an idle state).
From the above embodiment, it can be seen that: in order to reduce the erroneous touch of the touch key of the mobile phone 10, after detecting the "sliding operation from the preset region 103 to the preset region 101 or the preset region 102", if the touch sensor X does not detect the second pressing operation (e.g., pressing operation) within the preset time period, 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 with the state machine switching diagram shown in fig. 12B. For example, as shown in fig. 12B, when the mobile phone 10 is in the state iii, it may be determined that the second pressing operation is not detected by the touch sensor X within the preset time period (i.e., it is determined whether time-out is exceeded) in response to the action iv. If a touch operation is detected within a preset time period (i.e. not timed out), the mobile phone 10 may switch from state iii to state v. If no touch operation is detected within a preset time period (i.e. timeout), the mobile phone 10 may switch from the state iii to the state i.
It should be noted that the schematic diagrams of state machine switching shown in fig. 12A and 12B are only an example of state machine switching when the mobile phone 10 executes the present solution, and the protection scope of the present application is not limited. The state machine switching when the handset 10 performs the method of the present example includes, but is not limited to, the state machine switching shown in fig. 12A or fig. 12B.
The embodiment of the present application describes a method for dynamically adjusting a pressure threshold of a pressure sensor by a hand.
In order to reduce the false touch of the touch key of the mobile phone, in response to the first touch operation or the third touch operation, the mobile phone may dynamically adjust the pressure threshold of the pressure sensor according to a current scene (including an application scene and/or a physical scene) where the mobile phone is located. Specifically, in the third touch operation or the first touch operation, the MCU may acquire scene information of the mobile phone. The scene information is used for indicating the scene of the mobile phone, and the scene of the mobile phone includes 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.
For example, the MCU may determine the application scenario where the mobile phone is located 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 a video application in the foreground; then, the application scene where the mobile phone is located is a video scene. For another example, if the touch sensor detects the third touch operation or the first touch operation, the mobile phone runs a game application in the foreground; then, the application scene where the mobile phone is located is a game scene. For another example, assume that when the touch sensor detects the third touch operation or the first touch operation, the mobile phone runs a phone application in the foreground; then, the application scenario in which the handset is located is a phone scenario.
The MCU can determine the current physical scene of the mobile phone according to data collected by one or more devices such as a camera, a proximity light sensor, an acceleration sensor and an ambient light sensor of the mobile phone. For example, the physical scene may include one or more of a driving scene, a running scene, a still scene, or a pocket scene.
The MCU may respond to the third touch operation or the first touch operation to start one or more devices such as the camera, the proximity light sensor, the acceleration sensor, and the ambient light sensor to collect data for determining a physical scene of the mobile phone. Or, the proximity optical sensor, the acceleration sensor and the ambient optical sensor can be started to acquire corresponding data when the mobile phone is started; in response to the third touch operation or the first touch operation, the MCU may determine the physical scene where the mobile phone is currently located according to the 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 in a pocket scene according to the data collected by the proximity light sensor and 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 motion acceleration of the mobile phone is different.
It can be understood that when the mobile phone is in different scenes (including an application scene and/or a physical scene), 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 shows a corresponding relationship table between a scenario and a pressure threshold provided in an embodiment of the present application.
TABLE 4
Figure BDA0002228613980000271
For example, in the embodiment of the present application, the pressure threshold may be divided into a plurality of levels, such as four levels shown in table 2. The pressure threshold of each level corresponds to a different pressure value. The four-level pressure threshold shown in table 2 is greater than the three-level pressure threshold, the three-level pressure threshold is greater than the two-level pressure threshold, and the two-level pressure threshold is greater than the one-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 60 g. Of course, in the embodiment of the present application, the pressure threshold includes, but is not limited to, the four-level pressure threshold, and the value of the four-level 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 user presses the keys with larger pressure, the possibility that the touch keys of the mobile phone are touched by mistake is higher; therefore, a larger pressure threshold may be set for these scenarios. Under the scene that the user presses the keys with low pressure, the possibility that the touch keys of the mobile phone are touched by mistake is low; therefore, a smaller stress threshold may be set for these scenarios. Of course, the correspondence between the application scenario and/or the physical scenario and the pressure threshold may also be set by the user in the mobile phone. The method for receiving the pressure threshold corresponding to each scene set by the user by the mobile phone may refer to related descriptions in the conventional technology, and details are not repeated herein in the embodiments of the present application.
The mobile phone has a memory storing a plurality of scene information and a pressure threshold of the pressure sensor under the scene indicated by each scene information. For example, the memory of the mobile phone may store the correspondence between the scenario 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 the application scene of the mobile phone is an audio scene, and the physical scene is a running scene. Then the MCU may look up the first stress threshold as the primary stress threshold from table 2 stored in 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 determines whether the pressing pressure of the first pressing operation is greater than the pressure threshold, and the pressure thresholds are different. That is, the mobile phone may dynamically adjust the pressure threshold of the pressure sensor according to the scene where the mobile phone is located.
It is understood that the electronic device (such as a mobile phone) includes a hardware structure and/or a software module for performing the functions, in order to implement the functions. 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 performed as hardware or computer software drives 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.
In the embodiment of the present application, the electronic device (e.g., a mobile phone) may be divided into functional modules according to the method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. It should be noted that, in the embodiment of the present application, the division of the module is schematic, and is only one logic function division, and there may be another division manner in actual implementation.
In the case of an integrated unit, fig. 13 shows a schematic diagram of a possible structure of an electronic device (such as a mobile phone) involved in the above-described embodiment. As shown in fig. 13, electronic device 1300 may include: a first action detection module 1301, a second action detection module 1302 and a trigger module 1303.
The first action detection module 1301 is used 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 embodiment are detected. For example, the first action detection module 1301 is used to enable the electronic device 1300 to perform S401, S900, S901, S1001 in the above examples, and/or other processes for the techniques described herein. For example, the function of the first motion detection module 1301 may be implemented by one or more devices such as an MCU and a touch sensor of the mobile phone.
The second motion detection module 1302 is configured to enable the electronic device 1300 to perform: the second touch operation, the first pressing operation, and the second pressing operation in the above-described embodiment are detected. For example, the second action detection module 1302 is used to support the electronic device 1300 in performing S403, S404, S903, S904, S1003, and S1004 in the embodiments described above, and/or other processes for the techniques described herein. For example, the functions of the second motion detection module 1302 may be implemented by one or more devices such as the MCU, the pressure sensor, and the touch sensor.
The trigger module 1303 is configured to support the electronic device 1300 to perform: and starting the pressure sensor, triggering a preset device (such as a motor) to send 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 used 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 above-described method embodiments. For example, 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: a pressure sensor, a touch sensor, a memory, a motor, and a processor. The pressure sensor, touch sensor, memory, motor and processor are coupled. The electronic equipment can also comprise a camera, a proximity light sensor, an acceleration sensor and other devices. 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 the SOC unit shown in fig. 3.
The memory described above is used to store computer program code comprising computer instructions. When the processor executes the computer instructions, the electronic device may perform various 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 further provide a chip system, as shown in fig. 14, where the chip system includes at least one processor 1401 and at least one interface circuit 1402. The processor 1401 and the interface circuit 1402 may be interconnected by lines. For example, the interface circuit 1402 may be used to receive signals from other devices (e.g., a memory of an electronic device). Also for example, the interface circuit 1402 may be used to send signals to other devices, such as the processor 1401. Illustratively, the interface circuit 1402 may read instructions stored in memory and send the instructions to the processor 1401. The instructions, when executed by the processor 1401, may cause an electronic device, such as the electronic device 300 shown in fig. 3, to perform the various steps in the embodiments described above. Of course, the chip system may further include other discrete devices, which is not specifically limited in this embodiment of the present application.
An embodiment of the present application further provides a computer storage medium, where the computer storage medium includes computer instructions, and when the computer instructions are run on the electronic device (e.g., the electronic device 300 shown in fig. 3), the electronic device is caused to perform various functions or steps performed by the mobile phone in the foregoing method embodiment.
The embodiment of the present application further provides a computer program product, which when running on a computer, causes the computer to execute each function or step executed by the mobile phone in the above method embodiments.
Through the description of the above embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical functional division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another device, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may be one physical unit or a plurality of physical units, that is, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partially contributed to by the prior art, or all or part of the technical solutions may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only an embodiment 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 disclosure 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 (25)

1. An interaction method of electronic equipment is characterized in that a touch sensor and a pressure sensor are arranged on the electronic equipment; the method comprises the following steps:
the electronic equipment detects touch operation through the touch sensor;
in response to the fact that the touch sensor detects a first touch operation, the electronic equipment triggers a preset device to send out first prompt information and starts 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 information 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 single-click operation, double-click operation or long-press operation;
and if the pressing pressure is greater than a pressure threshold, the electronic equipment executes the function corresponding to the first touch operation and the second touch operation.
2. The method of claim 1, further comprising:
starting from the starting 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 equipment closes the pressure sensor.
3. The method according to claim 1 or 2, wherein the first touch operation is a sliding operation in a first direction to the preset area or a sliding operation in a second direction to the preset area; wherein the first direction is opposite to the second direction;
the electronic equipment executes the functions corresponding to the first touch operation and the second touch operation, and the functions include:
if the first touch operation is a sliding operation along the first direction to the preset area, and the second touch operation is a single-click operation or a long-press operation, the electronic equipment increases a first parameter of the electronic equipment; wherein the first parameter is a volume or a screen brightness of the electronic device;
if the first touch operation is a sliding operation towards the preset area along the second direction, 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: locking a screen, capturing the screen, recording the screen, starting a camera and starting a voice assistant;
if the first touch operation is a sliding operation towards the preset area along the second direction, 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: locking a screen, capturing the screen, recording the screen, starting a camera and starting a voice assistant; the second function is different from the first function.
4. The method according to any one of claims 1-3, further comprising:
and if the pressing pressure is greater than the pressure threshold, the electronic equipment triggers the preset device to send out second prompt information, and the second prompt information is used for prompting a user that the second touch operation is effective touch operation.
5. The method according to any one of claims 1-4, further comprising:
and if the pressing pressure is smaller than or equal to the pressure threshold, the electronic equipment triggers the preset device to send third prompt information, and the third prompt information is used for prompting the 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 the electronic equipment; the method comprises the following steps:
the electronic equipment detects touch operation through the touch sensor;
in response to the fact that the touch sensor detects a first touch operation, the electronic equipment triggers a preset device to send out first prompt information and starts the pressure sensor; sliding operation of the first touch operation to a preset area, wherein the preset area is an area where the pressure sensor is located; the first prompt information 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 the sliding operation along the first direction or the sliding operation along the second direction from the preset area; wherein the first direction is opposite to the second direction;
if the pressing pressure is larger than a pressure threshold, the second touch operation is a sliding operation along the first direction, and the electronic equipment increases a first parameter of the electronic equipment; wherein the first parameter is a volume or a screen brightness of the electronic device;
if the pressing pressure is larger than the pressure threshold, the second touch operation is a sliding operation along the second direction, and the electronic equipment reduces the first parameter.
7. The method of claim 6, further comprising:
starting from the starting 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 equipment closes the pressure sensor.
8. An interaction method of electronic equipment is characterized in that a touch sensor, a first pressure sensor and a second pressure sensor are arranged on the electronic equipment; the first pressure sensor is arranged in a first preset area, the second pressure sensor is arranged in a second preset area, and the method comprises the following steps:
the electronic equipment detects touch operation through the touch sensor;
in response to the touch sensor detecting the sliding operation to the first preset area along the first direction, the electronic equipment triggers a preset device to send out first prompt information and starts the first pressure sensor; the first prompt information is used for prompting a user to input touch operation in the first preset area; the first direction is a direction from the second preset area to the first preset area;
the electronic equipment acquires the pressing pressure of a first pressing operation through the first pressure sensor, wherein the first pressing operation is any one of single-click operation, double-click operation or 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,
in response to the touch sensor detecting a sliding operation to the second preset area along a second direction, the electronic device triggers a preset device to send the first prompt message and starts the second pressure sensor; the second direction is a direction from the first preset area to the second preset area;
the electronic equipment acquires the pressing pressure of a second pressing operation through the second pressure sensor, wherein the second pressing operation is any one of single-click operation, double-click operation or long-press operation;
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.
9. The method of claim 8, further comprising:
starting from starting the first pressure sensor, if the touch sensor or the first pressure sensor does not detect the first pressing operation within a preset time length, the electronic equipment closes the first pressure sensor;
starting from the starting of the second pressure sensor, if the touch sensor or the second pressure sensor does not detect the second pressing operation within the preset time length, the electronic equipment closes the second pressure sensor.
10. The method according to claim 8 or 9,
the electronic equipment executes the function corresponding to the first pressing operation, and the function comprises the following steps:
if the first pressing operation is a single-click operation or a long-press operation, the electronic equipment increases a first parameter of the electronic equipment;
the electronic equipment executes the function corresponding to the second pressing operation, and the function comprises the following steps:
if the second pressing operation is a single-click operation or a long-press operation, the electronic equipment reduces the first parameter;
wherein the first parameter is a volume or a screen brightness of the electronic device.
11. The method according to any one of claims 8 to 10,
the electronic equipment executes the function corresponding to the first pressing operation, and the function comprises the following steps:
if the first pressing operation is a double-click operation, the electronic equipment executes a first function; wherein the first function is one of the following functions: locking a screen, capturing the screen, recording the screen, starting a camera and starting a voice assistant;
the electronic equipment executes the function corresponding to the second pressing operation, and the function comprises the following steps:
if the second pressing operation is a double-click operation, the electronic equipment executes a second function; wherein the second function is one of the following functions: locking a screen, capturing the screen, recording the screen, starting a camera and starting a voice assistant; the second function is different from the first function.
12. An electronic device, characterized in that the electronic device comprises: 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 for storing computer program code, the 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, and the preset area is an area where the pressure sensor is located; the first prompt information is used for prompting a user to input touch operation in the preset area;
acquiring pressing pressure of a second touch operation through the pressure sensor, wherein the second touch operation is any one of single-click operation, double-click operation or long-press operation;
and if the pressing pressure is greater than a pressure threshold, executing functions corresponding to the first touch operation and the second touch operation.
13. The electronic device of claim 12, wherein the computer instructions, when executed by the processor, cause the electronic device to further perform the following:
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 pressure sensor is closed.
14. The electronic device according to claim 12 or 13, wherein the first touch operation is a sliding operation in a first direction to the preset region or a sliding operation in a second direction to the preset region; wherein the first direction is opposite to the second direction;
the computer instructions, when executed by the processor, cause the electronic device to further perform the following:
if the first touch operation is a sliding operation along the first direction to the preset area, and the second touch operation is a single-click operation or a long-press operation, increasing a first parameter of the electronic equipment; wherein the first parameter is a volume or a screen brightness of the electronic device;
if the first touch operation is a sliding operation towards the preset area along the second direction, and the second touch operation is a single-click operation or a long-press operation, the first parameter is reduced;
if the first touch operation is a sliding operation along the first direction to the preset area, and the second touch operation is a double-click operation, executing a first function; wherein the first function is one of the following functions: locking a screen, capturing the screen, recording the screen, starting a camera and starting a voice assistant;
if the first touch operation is a sliding operation towards the preset area along the second direction, and the second touch operation is a double-click operation, executing a second function; wherein the second function is one of the following functions: locking a screen, capturing the screen, recording the screen, starting a camera and starting a voice assistant; the second function is different from the first function.
15. The electronic device of any of claims 12-14, wherein the computer instructions, when executed by the processor, cause the electronic device to:
and if the pressing pressure is greater 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.
16. The electronic device of any of claims 12-15, 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 the user to input touch operation again.
17. An electronic device, characterized in that the electronic device comprises: 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 for storing computer program code, the 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; sliding operation of the first touch operation to a preset area, wherein the preset area is an area where the pressure sensor is located; the first prompt information is used for prompting a user to input touch operation in the preset area;
acquiring a pressing pressure of a second touch operation through the pressure sensor, wherein the second touch operation is a sliding operation in a first direction or a sliding operation in a second direction from the preset area; wherein the first direction is opposite to the second direction;
if the pressing pressure is larger than a pressure threshold, the second touch operation is a sliding operation along the first direction, and a first parameter of the electronic equipment is increased; wherein the first parameter is the volume or screen brightness of the electronic device
And if the pressing pressure is larger than the pressure threshold, the second touch operation is a sliding operation along the second direction, and the first parameter is reduced.
18. The electronic device of claim 17, wherein the computer instructions, when executed by the processor, cause the electronic device to further perform the following:
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 pressure sensor is closed.
19. An electronic device, characterized in that the electronic device comprises: 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 for storing computer program code, the 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 the sliding operation to the first preset area along the first direction, triggering a preset device to send out first prompt information, and starting the first pressure sensor; the first prompt information is used for prompting a user to input touch operation in the first preset area; the first direction is a direction from the second preset area to the first preset area;
acquiring a 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, executing a function corresponding to the first pressing operation;
or,
in response to the touch sensor detecting the sliding operation to the second preset area along the second direction, triggering a preset device to send out the first prompt message, and starting the second pressure sensor; the second direction is a direction from the first preset area to the second preset area;
acquiring a pressing pressure of a second pressing operation through the second pressure sensor, wherein the second pressing operation is any one of single-click operation, double-click operation or long-press operation;
and if the pressing pressure acquired by the second pressure sensor is greater than the pressure threshold, executing a function corresponding to the second pressing operation.
20. The electronic device of claim 19, wherein the computer instructions, when executed by the processor, cause the electronic device to further perform the following:
starting from starting the first pressure sensor, if the first pressing operation is not detected by the touch sensor or the first pressure sensor within a preset time length, closing the first pressure sensor;
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 the preset time period, the second pressure sensor is turned off.
21. The electronic device of claim 19 or 20, wherein the computer instructions, when executed by the processor, cause the electronic device to further perform the following:
if the first pressing operation is a single-click operation or a long-time pressing operation, increasing a first parameter of the electronic equipment;
if the second pressing operation is a single-click operation or a long-press operation, the first parameter is reduced;
wherein the first parameter is a volume or a screen brightness of the electronic device.
22. The electronic device of any of claims 19-21, wherein the computer instructions, when executed by the processor, cause the electronic device to further perform:
executing a first function if the first pressing operation is a double-click operation; wherein the first function is one of the following functions: locking a screen, capturing the screen, recording the screen, starting a camera and starting a voice assistant;
executing a second function if the second pressing operation is a double-click operation; wherein the second function is one of the following functions: locking a screen, capturing the screen, recording the screen, starting a camera and starting a voice assistant; the second function is different from the first function.
23. A 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 line; the interface circuit is to receive a signal from a memory of the electronic device and to send the signal to the processor, the signal comprising computer instructions stored in the memory; the electronic device performs the method of any of claims 1-11 when the processor executes the computer instructions.
24. A computer storage medium comprising computer instructions that, when executed on an electronic device, cause the electronic device to perform the method of any of claims 1-11.
25. A computer program product, characterized in that, when the computer program product is run on a computer, it causes the computer to perform the method according to any of claims 1-11.
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 true CN112650405A (en) 2021-04-13
CN112650405B 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)

Cited By (3)

* 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
CN115694464A (en) * 2022-11-03 2023-02-03 东莞市力博得电子科技有限公司 Pressure sensing switch control method and device, electronic equipment and readable storage medium
WO2023051411A1 (en) * 2021-09-29 2023-04-06 华为技术有限公司 Method for recognizing touch operation, and electronic device

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Citations (10)

* 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
US20180091728A1 (en) * 2016-09-23 2018-03-29 Apple Inc. Devices, Methods, and Graphical User Interfaces for Capturing and Recording Media in Multiple Modes
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
US20180335995A1 (en) * 2017-05-16 2018-11-22 Wistron Corporation Portable electronic device and operation method thereof
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 (3)

* 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

Patent Citations (10)

* 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
US20180091728A1 (en) * 2016-09-23 2018-03-29 Apple Inc. Devices, Methods, and Graphical User Interfaces for Capturing and Recording Media in Multiple Modes
JP2018060367A (en) * 2016-10-05 2018-04-12 株式会社デンソー Touch based input device
US20180335995A1 (en) * 2017-05-16 2018-11-22 Wistron Corporation Portable electronic device and operation method thereof
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

Cited By (4)

* 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
WO2023051411A1 (en) * 2021-09-29 2023-04-06 华为技术有限公司 Method for recognizing touch operation, and electronic device
CN115694464A (en) * 2022-11-03 2023-02-03 东莞市力博得电子科技有限公司 Pressure sensing switch control method and device, electronic equipment and readable storage medium
CN115694464B (en) * 2022-11-03 2023-09-12 东莞市力博得电子科技有限公司 Pressure-sensitive switch control method, pressure-sensitive switch control device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
WO2021068627A1 (en) 2021-04-15
CN112650405B (en) 2023-11-03

Similar Documents

Publication Publication Date Title
CN110045819B (en) Gesture processing method and device
US11314286B2 (en) Electronic device, method and apparatus for controlling flexible panel
CN112650405B (en) Interaction method of electronic equipment and electronic equipment
WO2018027501A1 (en) Terminal, touch response method, and device
KR101835364B1 (en) Apparatus and method for implementing functions of touch button and fingerprint identification, and terminal device, program and recording medium
CN109828669B (en) Touch signal processing method and electronic equipment
CN112600961A (en) Volume adjusting method and electronic equipment
CN112751954B (en) Operation prompting method and electronic equipment
CN112740152B (en) Handwriting pen detection method, handwriting pen detection system and related device
CN104618580A (en) Photographing implementing method and terminal
KR20160098030A (en) Apparatus for implementing functions of touch screen and fingerprint identification, and terminal device
CN109324739B (en) Virtual object control method, device, terminal and storage medium
WO2021204101A1 (en) Display method and electronic device
KR20170132833A (en) Pressure detection method, apparatus, program, and recording medium
CN113010076A (en) Display element display method and electronic equipment
US20220021763A1 (en) Touch Operation Locking Method and Electronic Device
CN115589051A (en) Charging method and terminal equipment
WO2021197085A1 (en) Mistouch prompting method and apparatus for terminal device having under-display camera
CN115035187A (en) Sound source direction determining method, device, terminal, storage medium and product
CN112738332A (en) Electronic equipment interaction method and electronic equipment
CN111813486A (en) Page display method and device, electronic equipment and storage medium
CN111290667A (en) Electronic device, control method thereof, and computer-readable storage medium
CN112068721A (en) Touch signal response method and device and storage medium
CN112749583A (en) Face image grouping method and device, computer equipment and storage medium
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