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

Electronic equipment interaction method and electronic equipment Download PDF

Info

Publication number
CN112738332A
CN112738332A CN201910960454.6A CN201910960454A CN112738332A CN 112738332 A CN112738332 A CN 112738332A CN 201910960454 A CN201910960454 A CN 201910960454A CN 112738332 A CN112738332 A CN 112738332A
Authority
CN
China
Prior art keywords
pressing
electronic equipment
pressure
scene
electronic device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910960454.6A
Other languages
Chinese (zh)
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 CN201910960454.6A priority Critical patent/CN112738332A/en
Priority to PCT/CN2020/107146 priority patent/WO2021068630A1/en
Publication of CN112738332A publication Critical patent/CN112738332A/en
Pending legal-status Critical Current

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/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72466User interfaces specially adapted for cordless or mobile telephones with selection means, e.g. keys, having functions defined by the mode or the status of the device
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/22Details of telephonic subscriber devices including a touch pad, a touch sensor or a touch detector

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Environmental & Geological Engineering (AREA)
  • User Interface Of Digital Computer (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 false touch prevention, and can improve the false touch prevention performance of the electronic equipment. The electronic equipment is provided with a touch sensor and one or more pressure sensors; the method comprises the following steps: the electronic equipment acquires pressing information of a first pressing operation through a touch sensor, wherein the pressing information indicates an operation type and an operation position of the first pressing operation; the electronic equipment acquires the pressing pressure of the first pressing operation through one or more pressure sensors; in response to the first pressing operation, a processor of the electronic equipment acquires first scene information of the electronic equipment, wherein the first scene information indicates an application scene and/or a physical scene where the electronic equipment is located; the processor determines a pressure threshold according to the first scene information; and if the pressing pressure acquired by the first pressure sensor in the one or more pressure sensors is greater than the pressure threshold, the processor executes the function corresponding to the pressing information.

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, touching a key is susceptible to false triggering by a user. Such false triggering can result in a poor user experience, thereby limiting the development of key press technology in electronic devices such as smart phones, tablet computers, and the like.
In the use process of the electronic device including the touch key, how to prevent the user from mistakenly touching the touch key is an urgent problem to be solved.
Disclosure of Invention
The embodiment of the application provides an interaction method of electronic equipment and the electronic equipment, which can reduce the mistaken touch of a touch key of the electronic equipment and improve the mistaken touch prevention performance of the electronic equipment.
In a first aspect, an embodiment of the present application provides an interaction method for an electronic device, where the method may be applied to the electronic device. The electronic device is provided with a touch sensor and one or more pressure sensors. The method can comprise the following steps: the electronic equipment acquires pressing information of a first pressing operation through a touch sensor, wherein the pressing information indicates an operation type and an operation position of the first pressing operation; the electronic equipment acquires the pressing pressure of the first pressing operation through the one or more pressure sensors; in response to the first pressing operation, the electronic equipment acquires scene information of the electronic equipment, wherein the scene information indicates an application scene and/or a physical scene where the electronic equipment is located; the application scene corresponds to an application of the electronic equipment running in a foreground, and the physical scene corresponds to the motion state of the electronic equipment; the electronic equipment determines a pressure threshold according to the scene information; the scene information and the pressure threshold have a corresponding relation; if the pressing pressure collected by the first pressure sensor in the one or more pressure sensors is greater than the first pressure threshold, the electronic equipment can execute the function corresponding to the pressing information. For example, the operation type is any one of a single-click operation, a double-click operation, a long-press operation, or a slide operation.
In the embodiment of the application, when the electronic device is in different scenes (including an application scene and/or a physical scene), the electronic device 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 electronic device may dynamically adjust the pressure threshold according to a scene in which the electronic device is located. For example, the pressure threshold is greater in a scene where false touches are likely to occur than in a scene where false touches are not likely to occur.
It can be understood that, when the pressing pressure of the first pressing operation is greater than the pressure threshold, the electronic device will respond to the first pressing operation to execute the corresponding function; therefore, under the scene that the false touch is easy to occur, the possibility of the false touch can be reduced by adopting a larger pressure threshold, so that the false touch prevention performance of the electronic equipment can be improved. In addition, under the scene that the false touch is not easy to occur, the sensitivity of the electronic equipment for responding to the pressing operation of the user on the preset area can be improved by adopting a smaller pressure threshold.
In one case, one pressure sensor, i.e., the first pressure sensor described above, is provided in the electronic apparatus. In the embodiment of the present application, the "one pressure sensor is disposed in the electronic device" specifically means: the electronic equipment is provided with a pressure sensor for realizing the touch and press of the key. Of course, the electronic device may also be provided with a pressure sensor for implementing other functions, for example, the pressure sensor may be arranged below the display screen of the electronic device.
In another case, a plurality of pressure sensors (e.g., two pressure sensors) are provided in the electronic device. The first pressure sensor is any one of the two pressure sensors. The "a plurality of pressure sensors are disposed in the electronic device" described in the embodiment of the present application specifically means: the electronic equipment is provided with a plurality of pressure sensors for realizing the touch and press of the keys.
With reference to the first aspect, in one possible design, before the electronic device performs the function corresponding to the pressing information, it may be determined that the operation position is within a preset area where the first pressure sensor is located. That is, only when the first pressing operation acts on the preset area, the processor will respond to the first pressing operation to execute the corresponding function.
In this embodiment of the application, the electronic device may determine whether the first pressing operation is an effective pressing operation according to a dual determination condition of "whether the pressing pressure of the first pressing operation is greater than a pressure threshold corresponding to the scene information" and "whether the first pressing operation is within a preset area". Like this, the effectual operation of pressing and the mistake operation of touching that can more accurate discernment can effectively reduce the mistake of pressing the button to electronic equipment and touch, promotes electronic equipment's the mistake of preventing and touches the performance.
With reference to the first aspect, in another possible design, the electronic device further includes a memory. The corresponding relation between the scene information of the electronic equipment and the pressure threshold is stored in the memory. That is, the memory stores a plurality of scene information and a pressure threshold corresponding to each scene information. Wherein the scene information of the electronic device is one of the plurality of scene information.
With reference to the first aspect, in another possible design, the pressing information is used to determine that the first pressing operation triggers a function performed by the electronic device. Specifically, the operation type and the operation position indicated by the pressing information are used for determining that the first pressing operation triggers the function executed by the electronic equipment. In one case, the correspondence between the operation type and the operation position and the function may be preset and configured in the electronic device.
In another case, the correspondence relationship between the operation type and the operation position and the function may be set by a user in the electronic device. Specifically, the electronic device may provide a service for setting a function of pressing a key for a User through a User Interface (UI). The electronic equipment further comprises a display screen. The above method may further comprise: the method comprises the steps that the electronic equipment displays a first interface on a display screen, wherein the first interface comprises a plurality of first options; each first option corresponds to an operation position and a pressing operation of one operation type; responding to the selection operation of the user on a second option in the plurality of first options, and displaying a second interface on the display screen by the electronic equipment; the second interface comprises a plurality of third options, and each third option corresponds to a function triggered by the pressing operation; in response to the selection operation of the user on a fourth option in the plurality of third options, the electronic device configures the pressing operation corresponding to the second option for triggering a function corresponding to the fourth option.
With reference to the first aspect, in another possible design, the above-mentioned functions include at least any one of the following functions: turning up the volume, turning down the volume, turning up the screen brightness, turning down the screen brightness, locking the screen, capturing the screen and starting a voice assistant.
With reference to the first aspect, in another possible design, the pressure sensors (e.g., the first pressure sensor and the second pressure sensor) are piezoelectric pressure sensors. This possible design provides one possible product form of the pressure sensor.
With reference to the first aspect, in another possible design, the piezoelectric pressure sensor includes a piezoelectric ceramic sensor. This possible design provides one possible product form for a piezoelectric pressure sensor.
In a second aspect, an embodiment of the present application provides an interaction method for an electronic device, where the method may be applied to the electronic device. The electronic device is provided with a touch sensor and one or more pressure sensors. The method can comprise the following steps: the electronic equipment acquires pressing information of a first pressing operation through the touch sensor; the pressing information indicates an operation type and an operation position of the first pressing operation, the operation type being a single-click operation or a long-press operation; the electronic equipment acquires the pressing pressure of the first pressing operation through one or more pressure sensors; in response to the first pressing operation, the electronic equipment acquires first scene information of the electronic equipment, wherein the first scene information indicates an application scene and/or a physical scene where the electronic equipment is located; the electronic equipment determines a pressure threshold according to scene information of the electronic equipment; the scene information of the electronic equipment has a corresponding relation with the pressure threshold; and if the pressing pressure acquired by the first pressure sensor in the one or more pressure sensors is greater than the pressure threshold, the electronic equipment executes the function triggered by the single-click operation or the long-press operation according to the operation position. The function triggered by the single-click operation or the long-press operation is as follows: adjusting the volume or adjusting the screen brightness.
In the embodiment of the application, the electronic device may adjust the volume or adjust the screen brightness in response to a click operation (or a long-time press operation) in which the pressing pressure is greater than the pressure threshold corresponding to the scene information.
And when the electronic device is in different scenes (including an application scene and/or a physical scene), the electronic device determines whether the pressing pressure of the single-click operation (or the long-time pressing operation) is greater than a pressure threshold adopted by the pressure threshold. That is, the electronic device may dynamically adjust the pressure threshold according to a scene in which the electronic device is located. For example, the pressure threshold is greater in a scene where false touches are likely to occur than in a scene where false touches are not likely to occur. Therefore, under the scene that the false touch is easy to occur, the possibility of the false touch can be reduced by adopting a larger pressure threshold, so that the false touch prevention performance of the electronic equipment can be improved. In addition, under the scene that the false touch is not easy to occur, the sensitivity of the electronic equipment for responding to the pressing operation of the user on the preset area can be improved by adopting a smaller pressure threshold.
In a third aspect, an embodiment of the present application provides an interaction method for an electronic device, where the method may be applied to the electronic device. The electronic device is provided with a touch sensor and one or more pressure sensors. The method can comprise the following steps: the electronic equipment acquires pressing information of the first pressing operation through the touch sensor, wherein the pressing information indicates an operation type (such as double-click operation) and an operation position of the first pressing operation; the electronic equipment acquires the pressing pressure of the first pressing operation through one or more pressure sensors; in response to the first pressing operation, the electronic equipment acquires scene information of the electronic equipment, wherein the scene information indicates an application scene and/or a physical scene where the electronic equipment is located; the electronic equipment determines a pressure threshold according to scene information of the electronic equipment; and if the pressing pressure acquired by the first pressure sensor in the one or more pressure sensors is greater than the pressure threshold, the electronic equipment executes the function triggered by the double-click operation according to the operation position.
Wherein the function triggered by the double-click operation at least comprises any one of the following functions: locking the screen, capturing the screen, starting a voice assistant, recording the screen and starting a camera. The recording screen is used for recording the content displayed on the display screen of the electronic equipment.
In this embodiment of the application, in response to a double-click operation in which the pressing pressure is greater than a pressure threshold corresponding to the scene information, the electronic device may perform any one of the following functions: locking the screen, capturing the screen, starting a voice assistant, recording the screen and starting a camera.
And when the electronic device is in different scenes (including an application scene and/or a physical scene), the electronic device determines whether the pressing pressure of the double-click operation is greater than the pressure threshold or not, and the adopted pressure thresholds are different. That is, the electronic device may dynamically adjust the pressure threshold according to a scene in which the electronic device is located. For example, the pressure threshold is greater in a scene where false touches are likely to occur than in a scene where false touches are not likely to occur. Therefore, under the scene that the false touch is easy to occur, the possibility of the false touch can be reduced by adopting a larger pressure threshold, so that the false touch prevention performance of the electronic equipment can be improved. In addition, under the scene that the false touch is not easy to occur, the sensitivity of the electronic equipment for responding to the pressing operation of the user on the preset area can be improved by adopting a smaller pressure threshold.
In a fourth aspect, an embodiment of the present application provides an electronic device, including: a memory and a processor. The electronic device is also provided with a touch sensor and one or more pressure sensors. The memory, the touch sensor, the first 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:
the touch sensor acquires pressing information of the first pressing operation, wherein the pressing information indicates an operation type and an operation position of the first pressing operation, and the operation type is any one of single-click operation, double-click operation, long-press operation or sliding operation; one or more pressure sensors acquire a pressing pressure of the first pressing operation; responding to the first pressing operation, acquiring scene information of the electronic equipment, wherein the scene information indicates an application scene and/or a physical scene where the electronic equipment is located; the application scene corresponds to an application of the electronic equipment running in the foreground, and the physical scene corresponds to the motion state of the electronic equipment; determining a pressure threshold according to scene information of the electronic equipment; the scene information of the electronic equipment has a corresponding relation with the pressure threshold; and if the pressing pressure collected by the first pressure sensor in the one or more pressure sensors is greater than the pressure threshold, executing the function corresponding to the pressing information.
In combination with the fourth aspect, in another possible design, the computer instructions, when executed by the processor, cause the electronic device to perform operations comprising: and before executing the function corresponding to the pressing information, determining that the operation position is in a preset area where the first pressure sensor is located.
With reference to the fourth aspect, in another possible design, the electronic device further includes a memory; the memory stores the scene information of the electronic device and the pressure threshold. That is, the memory stores a plurality of scene information and a pressure threshold corresponding to each scene information. The scene information of the electronic equipment is one of the scene information.
With reference to the fourth aspect, in another possible design, the electronic device further includes a display screen; the computer instructions, when executed by the processor, cause the electronic device to: the display screen displays a first interface, and the first interface comprises a plurality of first options; each first option corresponds to an operation position and a pressing operation of one operation type; responding to the selection operation of the user on a second option in the plurality of first options, and displaying a second interface on the display screen; the second interface comprises a plurality of third options, and each third option corresponds to a function triggered by the pressing operation; and responding to the selection operation of the user on a fourth option in the plurality of third options, and configuring the pressing operation corresponding to the second option for triggering the function corresponding to the fourth option.
In a fifth aspect, an embodiment of the present application provides an electronic device, including: a memory and a processor. The electronic device is also provided with a touch sensor and one or more pressure sensors. The memory, the touch sensor, the first 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:
the touch sensor acquires pressing information of the first pressing operation, the pressing information indicates an operation type and an operation position of the first pressing operation, and the operation type is single-click operation or long-press operation; one or more pressure sensors acquire a pressing pressure of the first pressing operation; responding to the first pressing operation, acquiring first scene information of the electronic equipment, wherein the first scene information indicates an application scene and/or a physical scene where the electronic equipment is located; the application scene corresponds to an application of the electronic equipment running in the foreground, and the physical scene corresponds to the motion state of the electronic equipment; determining a pressure threshold according to scene information of the electronic equipment; the scene information of the electronic equipment has a corresponding relation with the pressure threshold; if the pressing pressure acquired by a first pressure sensor in the one or more pressure sensors is greater than the pressure threshold, executing a function triggered by single-click operation or long-press operation according to the operation position; the function triggered by the single-click operation or the long-press operation is as follows: adjusting the volume or adjusting the screen brightness.
In a sixth aspect, an embodiment of the present application provides an electronic device, including: a memory and a processor. The electronic device is also provided with a touch sensor and one or more pressure sensors. The memory, the touch sensor, the first 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:
the touch sensor acquires pressing information of the first pressing operation, the pressing information indicates an operation type and an operation position of the first pressing operation, and the operation type is double-click operation; acquiring a pressing pressure of the first pressing operation through one or more pressure sensors; responding to the first pressing operation, acquiring scene information of the electronic equipment, wherein the scene information of the electronic equipment indicates an application scene and/or a physical scene where the electronic equipment is located; the application scene corresponds to an application of the electronic equipment running in the foreground, and the physical scene corresponds to the motion state of the electronic equipment; determining a pressure threshold according to scene information of the electronic equipment; the scene information of the electronic equipment has a corresponding relation with the pressure threshold; if the pressing pressure collected by a first pressure sensor in the one or more pressure sensors is greater than the pressure threshold, executing a double-click operation triggering function according to the operation position; wherein the function triggered by the double-click operation at least comprises any one of the following functions: locking a screen, capturing the screen, starting a voice assistant, recording the screen and starting a camera; the recording screen is used for recording the content displayed on the display screen of the electronic equipment.
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 should 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 may refer to the advantageous effects of the first aspect and any possible design thereof, and are not described herein again.
Drawings
Fig. 1 is a schematic view illustrating a configuration of a preset region of a mobile phone provided in an embodiment of the present application with a touch button;
fig. 2A is a schematic view of a configuration of a touch button arranged in a preset area of another mobile phone according to an embodiment of the present disclosure;
FIG. 2B is a right side view of the handset shown in FIG. 2A;
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 flowchart of an interaction method of an electronic device according to an embodiment of the present application;
fig. 6 is a flowchart of an interaction method of an electronic device according to an embodiment of the present application;
fig. 7A is a schematic view of a display interface of a mobile phone according to an embodiment of the present application;
fig. 7B is a schematic view of a display interface of another mobile phone according to an embodiment of the present application;
fig. 7C is a schematic view of a display interface of another mobile phone according to the embodiment of the present application;
fig. 7D is a schematic diagram of a display interface of another mobile phone according to an embodiment of the present application;
fig. 8 is a flowchart of an interaction method of an electronic device according to an embodiment of the present application;
fig. 9 is a flowchart of an interaction method of an electronic device according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 11 is a schematic block diagram of an interaction method based on the electronic device shown in fig. 9 according to an embodiment of the present application;
fig. 12 is a schematic structural component 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 can be applied to the electronic equipment provided with the touch press key. The touch button is arranged on the surface of the electronic equipment and is different from the position of a display screen of the electronic equipment. 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 locations on the electronic device where physical 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 cellular phone 10 is provided with a touch sensor and pressure sensor 110, and a preset area 102 is provided with a touch sensor and 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 predetermined area 101 is an area where the pressure sensor 110 is located, and the predetermined area 102 is an area where the pressure sensor 120 is located. The sizes of the preset area 101 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 and the preset area 102 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 and the preset area 102 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 area 101 and the preset area 102 may be at least two touch sensors. For example, the mobile phone 10 is a flat screen mobile phone, and the preset area 101 and the preset area 102 of the right side frame of the mobile phone 10 may be respectively provided with a touch sensor.
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 202 is provided with a touch sensor, and a pressure sensor 210 is provided at a boundary between the preset area 201 and the preset area 202. Among them, the pressure sensor 210 is disposed under the touch sensors of the preset area 201 and the preset area 202.
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 preset area 201 is located on the right side frame of the mobile phone 20 and above the position of the pressure sensor 210. The default area 202 is on the right side of the handset 20, below the location of the pressure sensor 210. The sizes of the preset area 201 and the preset area 202 are configured in the mobile phone 20 in advance.
In some embodiments, the touch sensors disposed on the preset area 201 and the preset area 202 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 and the preset area 202 may be at least two touch sensors. For example, the mobile phone 20 is a flat screen mobile phone, and the preset area 201 and the preset area 202 of the right side frame of the mobile phone 20 may be respectively provided with a 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. For example, 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.
Generally, unlike physical keys, touch keys provided on an electronic device are located inside the electronic device and 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. Of course, for the convenience of the user, the identifier which is visible to the user by pressing the key on the mobile phone is set. 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.
It is to be appreciated that the electronic device can be in different scenarios (including application scenarios and/or physical scenarios). The application scene refers to a scene that the electronic equipment runs different applications in the foreground. That is, the application scenario corresponds to an application that the electronic device runs in the foreground. For example, the application scene may be any scene such as a video scene, a game scene, a lock screen scene, or a telephone scene. The physical scene corresponds to a motion state of the electronic device. For example, the physical scene may include one or more scenes such as a driving scene, a running scene, a still scene, or a pocket scene. When the electronic equipment is in different scenes (including an application scene and/or a physical scene), the touch and press keys of the electronic equipment have different possibilities of being touched by mistake.
For example, when the electronic device is placed in a pocket and is in a pocket scene, the electronic device is easily impacted by external force, and the possibility that the touch key is touched by mistake is high. For another example, when the electronic device runs a game application on the foreground and is in a game scene, the side frame of the electronic device is easily squeezed by the user's finger, and the possibility that the touch key is touched by mistake is high. For another example, the electronic device displays a screen locking interface, is placed on a desktop, and is in a static scene, the possibility that the touch key is touched by mistake is low.
In the embodiment of the application, the electronic device may dynamically adjust the pressure threshold of the pressure sensor according to a scene (including an application scene and/or a physical scene) in which the electronic device is located. For example, the electronic device may increase the pressure threshold of the pressure sensor in a scenario in which a false touch is likely to occur (i.e., a scenario in which the possibility that the touch key is touched by mistake is high). When the pressing pressure of the pressing operation is greater than the pressure threshold, the electronic equipment responds to the pressing operation to execute the corresponding function; therefore, under the scene that the false touch is easy to occur, the pressure threshold of the pressure sensor is increased, the probability of the false touch can be reduced, and the false touch prevention performance of the electronic equipment can be improved.
In addition, the electronic device can also lower the pressure threshold of the pressure sensor in a scene where the mistaken touch is not easy to occur (i.e., a scene where the mistaken touch possibility of the touch key is low). Thus, the sensitivity of the electronic device in response to the pressing operation of the touch key by the user can be improved.
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 value may be gram, and the unit symbol is g.
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 pressing operation (or other external force) is applied to a preset region of the display screen or the electronic device (e.g., a region of the right side frame shown in fig. 1 (a)), the pressure sensor 350A may acquire a pressing pressure (or referred to as a pressing force degree) of the pressing operation. The MCU 350E may receive the pressing information collected by the touch sensor 350B and 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 execute the function corresponding to the pressing information in response to the valid pressing operation. The pressing information may indicate an operation type and an operation position of the pressing operation.
In an embodiment of the present application, MCU 350E may 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.
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 brightness of the display screen 194 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, in different scenarios (e.g., application scenarios and/or physical scenarios), the pressing operation applied to the preset region shown in (b) in fig. 1 or (b) in fig. 2A may correspond to different vibration feedback effects. Under the same scene (such as an application scene and/or a physical scene), the pressing operations of different operation types acting on the preset area can 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 one or more pressure sensors.
Wherein the touch sensor and the one or more pressure sensors may be disposed on a surface of the electronic device. For example, the touch sensor and the one or more pressure sensors can be disposed on a side of the electronic device (e.g., a left bezel or a right bezel). The electronic device can detect the pressing operation input by the user by utilizing the touch effect of the touch sensor and the piezoelectric effect of the one or more pressure sensors, 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 and the preset area 202 of the mobile phone 20 are provided with touch sensors, and a pressure sensor 210 is provided at a boundary between the preset area 201 and the preset area 202. The preset region in which the pressure sensor 210 is located may include a preset region 201 and a preset region 202.
In the embodiment of the present application, a method of the embodiment of the present application is described by taking an example in which the touch sensors disposed in the preset area 201 and the preset area 202 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 collects the pressing information of the first pressing operation through the touch sensor Y. The pressing information indicates an operation type and an operation position of the first pressing operation.
For example, the operation type may be any one of a single-click operation, a double-click operation, a long-press operation, or a slide operation. The above-described operation position is a position where the first pressing operation is applied to the cellular phone 20.
S402, the mobile phone 20 collects the pressing pressure of the first pressing operation through the pressure sensor 210.
It is understood that when the first pressing operation is applied to the mobile phone 20 (e.g., the preset area 201 or the preset area 202 of the mobile phone 20), the touch sensor Y may acquire pressing information of the first pressing operation, and the pressure sensor 210 may acquire pressing pressure of the first pressing operation. For example, the pressing pressure of the first pressing operation may be 43 g.
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 first pressing operation is small, the pressing pressure can be collected by the pressure sensor 210. Thus, the user is likely to touch the touch button by mistake.
In order to reduce the false touch of the touch keys of the mobile phone 20, the false touch prevention performance of the mobile phone 20 is improved. In response to the pressing operation, handset 20 may dynamically adjust the pressure threshold of pressure sensor 210 according to the scene in which handset 20 is located (including the application scene and/or the physical scene). Specifically, after S401 and S402, the method of the embodiment of the present application may include S403 to S406.
And S403, responding to the first pressing operation, and acquiring the scene information of the mobile phone 20 by the MCU. The context information is used to indicate an application context and/or a physical context in which the handset 20 is located.
In this embodiment, the MCU may respond to the touch sensor Y detecting the first pressing operation, and/or the pressure sensor 210 detecting the first pressing operation, and acquire the scene information of the mobile phone 20.
For example, the MCU may determine the application scenario in which the mobile phone 20 is located according to the application of the mobile phone 20 running in the foreground. For example, assume that when the pressure sensor 210 detects the first pressing operation, the cell phone 20 runs a video application in the foreground; then the application scene in which the handset 20 is located is a video scene. For another example, if the pressure sensor 210 detects the first pressing operation, the mobile phone 20 runs a game application in the foreground; then, the application scene in which the handset 20 is located is a game scene. For another example, assume that when the pressure sensor 210 detects the first pressing operation, the mobile phone 20 runs a phone application in the foreground; then the application scenario in which handset 20 is located is a telephony scenario.
The MCU may determine the physical scene of the mobile phone 20 according to data collected by one or more devices of the camera, the proximity light sensor, the acceleration sensor, the ambient light sensor, and the like of the mobile phone 20. For example, the physical scene may include one or more of a driving scene, a running scene, a still scene, or a pocket scene.
It will be appreciated that the MCU may activate one or more of the aforementioned cameras, proximity light sensors, acceleration sensors, and ambient light sensors in response to the aforementioned first pressing operation to collect data for determining the physical context of the handset 20. Or, the proximity optical sensor, the acceleration sensor and the ambient optical sensor may be activated to collect corresponding data when the mobile phone 20 is turned on; in response to the first pressing operation, the MCU may determine the physical scene in which the cell phone 20 is located according to the data 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 first pressing operation.
For example, the MCU may detect whether the mobile phone 20 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 may determine that the mobile phone 20 is in a driving scene or a running scene according to the motion acceleration of the mobile phone 20 acquired by the acceleration sensor. When the mobile phone 20 is in a driving scene and a running scene, the motion acceleration of the mobile phone 20 is different.
S404, the MCU determines a pressure threshold according to the scene information of the mobile phone 20.
It will be appreciated that the touch keys of the handset 20 may be mistouched when the handset 20 is in different scenarios (including application scenarios and/or physical scenarios). In the embodiment of the present application, the mobile phone 20 may set different pressure thresholds for the pressure sensor 210 according to different scenarios. For example, please refer to table 1, which shows a corresponding relationship table between a scenario and a pressure threshold provided in an embodiment of the present application.
TABLE 1
Figure BDA0002228739730000121
Figure BDA0002228739730000131
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 1. The pressure threshold of each level corresponds to a different pressure value. The four-level pressure threshold shown in table 1 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 1 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 1, when the application scene of the mobile phone 20 is a screen lock scene and the physical scene is a static scene, the first pressure threshold is a first-level pressure threshold; when the application scene of the mobile phone 20 is a video scene and the physical scene is a static scene, the first pressure threshold is a first-level pressure threshold; when the application scene of the mobile phone 20 is an audio scene and the physical scene is a running scene, the first pressure threshold is a secondary pressure threshold; when the application scene of the mobile phone 20 is a game scene, the pressure threshold of the pressure sensor 210 is a three-level pressure threshold; when the application scene of the mobile phone 20 is a screen locking scene and the physical scene is a pocket scene, the first pressure threshold 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 a large number of pressing pressures of the mobile phone 20 by the user when the mobile phone 20 is in different scenarios (application scenario and/or physical scenario) in the daily use process. In some scenes, the possibility that the touch key of the mobile phone 20 is touched by mistake is high; therefore, a larger pressure threshold may be set for these scenarios. In other scenes, the possibility that the preset area 200 of the mobile phone 20 is 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 20. The method for receiving the pressure threshold corresponding to each scene set by the user by the mobile phone 20 may refer to related descriptions in the conventional technology, and details are not repeated here in the embodiments of the present application.
Illustratively, the memory of the handset 20 stores a plurality of pieces of scene information, and a pressure threshold corresponding to each piece of scene information. For example, the memory of the handset 20 may store the correspondence between the scene shown in table 1 (i.e., the scene indicated by the scene information) and the pressure threshold. The pressure threshold is a pressure threshold of the pressure sensor 210 under a scene indicated by the scene information of the electronic device. For example, assume that the scene information of the cell phone 20 indicates that the application scene of the cell phone 20 is an audio scene and the physical scene is a running scene. Then the MCU may look up the stress threshold as the primary stress threshold from table 1 stored in memory.
S405, the MCU of the mobile phone 20 judges whether the pressing pressure collected by the pressure sensor 210 is greater than a pressure threshold.
Specifically, if the compression pressure collected by the pressure sensor 210 is greater than the pressure threshold, the MCU may execute S406. For example, if the compression pressure (e.g., 43g) collected by the pressure sensor 210 is greater than the pressure threshold (e.g., 40 g); handset 20 may then perform S406. If the pressing pressure collected by the pressure sensor 210 is less than or equal to the pressure threshold, 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.
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 pressing information.
The pressing information may be used to determine that the first pressing operation triggers the function performed by the mobile phone 20. For example, the function may be any one of turning up the volume, turning down the volume, turning up the screen brightness, turning down the screen brightness, locking the screen with a power key, taking a picture, or calling out a smart key.
Specifically, the operation type and the operation position indicated by the pressing information are used to determine the function that the first pressing operation triggers the mobile phone 20 to execute.
It will be appreciated that the same type of operation, but at different operating positions, of the pressing operation is used to trigger handset 20 to perform different functions. The same pressing operation, but of a different type, is used to trigger handset 20 to perform a different function. The operation position and operation type of the first pressing operation determine the function that the first pressing operation triggers the mobile phone 20 to execute.
In one case, the functions executed by the mobile phone 20 may be triggered by pressing operations of different operation types or by pressing operations of different operation types and operation positions, and may be configured in advance in the mobile phone 20 before the mobile phone 20 is shipped.
In another case, a pressing operation of a different operation type triggers a function performed by the cellular phone 20, or a pressing operation of a different operation type and operation position triggers a function performed by the cellular phone 20, which can also be set in the cellular phone 20 by the user. For a specific method for receiving the setting of the user and determining that the pressing operation of different operation types (or the pressing operation of different operation types and operation positions) triggers the function executed by the mobile phone 20, reference may be made to the detailed description in the following embodiments, which are not described herein again in this embodiment of the present application.
Here, the above-described implementation (2) is taken as an example. The MCU can determine the operation type and the operation position of the first pressing operation according to the pressing information of the first touch operation; handset 20 may then perform the function corresponding to the operation type and operation location.
Illustratively, the memory of the handset 20 may store the correspondence between the operation types and operation positions and functions. 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 the correspondence between the operation type, the operation position, and the function.
TABLE 2
Figure BDA0002228739730000141
For example, the position 1 may be a preset region 201, and the position 2 may be a preset region 202. Assume that the MCU determines that the operation type of the first pressing operation is a single-click operation, and the operation position is position 1. The MCU may then look up table 2 to determine that this first press operation is used to trigger handset 20 to turn up the volume. In response to the first pressing operation, the MCU may trigger the handset 20 to turn up the volume.
For example, the embodiment of the present application describes a specific method for triggering the mobile phone 20 to execute the function indicated by the pressing information by an MCU (e.g., MCU 350E shown in fig. 3) in combination with the hardware architecture of the mobile phone 20 shown in fig. 3.
In one implementation, the method for triggering the mobile phone 20 to execute the function corresponding to the pressing information by the MCU 350E may include: the MCU 350E shown in fig. 3 determines a function corresponding to the pressing information; MCU 350E sends a request or instruction to SOC unit 310 instructing handset 20 to perform the function to request or instruct SOC unit 310 to trigger one or more devices of handset 20 to perform the function.
In another implementation manner, the method for triggering the cell phone 20 to execute the function corresponding to the pressing information by the MCU 350E may include: the MCU 350E shown in fig. 3 transmits the above-described pressing information to the SOC unit 310; the SOC unit 310 determines a function corresponding to the pressing information; SOC unit 310 triggers one or more devices of handset 20 to perform this function.
In this embodiment, when the mobile phone 20 is in different scenes (including an application scene and/or a physical scene), the mobile phone 20 determines whether the pressing pressure of the first pressing operation is greater than the pressure threshold, and the pressure thresholds are different. That is, handset 20 may dynamically adjust the pressure threshold of pressure sensor 210 according to the scene in which handset 20 is located. For example, the pressure threshold of the pressure sensor 210 in a scene where a false touch is likely to occur is greater than the pressure threshold of the pressure sensor 210 in a scene where a false touch is not likely to occur.
It can be understood that, when the pressing pressure of the first pressing operation is greater than the pressure threshold, the mobile phone 20 will respond to the first pressing operation to execute the corresponding function; therefore, in a scene where the false touch is likely to occur, a larger pressure threshold is used, so that the probability of the false touch can be reduced, and the false touch prevention performance of the mobile phone 20 can be improved. In addition, in a scene where the false touch is not likely to occur, a smaller pressure threshold is adopted, so that the sensitivity of the mobile phone 20 in response to the pressing operation of the user on the preset area can be improved.
In order to further improve the anti-false touch performance of the mobile phone 20, the mobile phone 20 only executes the function triggered by the pressing operation in response to the pressing operation of the user in the preset area 201 or the preset area 202. If the position of the pressing operation received by the cellular phone 20 is not within the preset area 201 and the preset area 202, the cellular phone 20 does not respond to the pressing operation.
Specifically, as shown in fig. 5, after S405 shown in fig. 4, if the compression pressure collected by pressure sensor 210 is greater than the pressure threshold, handset 20 may execute S501. As shown in fig. 5, S406 described above and shown in fig. 4 may include S502-S504.
S501, the MCU judges whether the operation position indicated by the pressing information is in the preset area 201 or the preset area 202.
Specifically, if the operation position of the first pressing operation is within the first preset region (i.e., the operation position of the first pressing operation is within the preset region 201 or the preset region 202), the MCU may perform S502. If the position of the first pressing operation is not in the preset region 201 and not in the preset region 202, the MCU may determine that the first pressing operation is a false touch operation, and the MCU may not respond to the first pressing operation and may not trigger the mobile phone 20 to execute a corresponding function.
It is understood that if the operation position of the first pressing operation is within the preset region 201 or the preset region 202; then, the first pressing operation may be applied to the preset area 201 and may also be applied to the preset area 202. However, a pressing operation on the preset area 201 and a pressing operation on the preset area 202 may trigger the cellular phone 20 to perform different functions. For example, assuming that the above-described first pressing operation is a single-click operation, position 1 shown in table 2 is a preset region 201 shown in (b) in fig. 2A, and position 2 is a preset region 202. A single click in the preset area 201 may trigger the cell phone 20 to turn up the volume, while a single click in the preset area 202 may trigger the cell phone 20 to turn down the volume.
Therefore, after S501, if the position of the first pressing operation is within the preset region 201 or the preset region 202, the MCU may determine that the first pressing operation is within the preset region 201 or the preset region 202.
S502, the MCU judges whether the operation position indicated by the pressing information is in the preset area 201 or the preset area 202.
Specifically, if the operation position of the first pressing operation is within the preset region 201, the MCU may execute S503; if the operation position of the first pressing operation is within the preset region 202, the MCU may perform S504.
S503, the mobile phone 20 executes the function triggered by the pressing operation of the operation type indicated by the pressing information acting on the preset area 201.
S504, the mobile phone 20 executes the function triggered by the pressing operation of the operation type indicated by the pressing information acting on the preset area 202.
For example, the preset area 201 may be position 1 in table 2, and the preset area 202 may be position 2 in table 2. For example, the configuration information table of the operation type, the operation position, and the function shown in table 2 may be replaced with table 3.
TABLE 3
Figure BDA0002228739730000161
For example, assume that the MCU determines that the first pressing operation is a single-click operation. Then, after S502, if the MCU determines that the operation position of the first pressing operation is within the preset region 201; as can be seen from Table 3: the MCU may execute S503 to trigger the handset 20 to turn up the volume. After S502, if the MCU determines that the operation position of the first pressing operation is in the preset area 202; as can be seen from Table 3: the MCU may execute S504 to trigger the handset 20 to turn down the volume.
In this embodiment, the mobile phone 20 may determine whether the pressing operation is an effective pressing operation according to a dual determination condition of "whether the pressing pressure of the pressing operation is greater than a pressure threshold corresponding to a scene of the mobile phone 20" and "whether the pressing operation is within a first preset area". Therefore, effective pressing operation and mistaken touch operation can be identified more accurately, mistaken touch of the touch key of the mobile phone 20 can be effectively reduced, and mistaken touch prevention performance of the mobile phone 20 is improved.
The embodiment of the present application describes a method for receiving the settings of the user and configuring the function of pressing the key by the mobile phone 20. The mobile phone 20 may provide a user with a service of setting a function of pressing a key through the UI. Specifically, before the above S401 to S406, the method of the embodiment of the present application may further include S601 to S603. For example, as shown in fig. 6, before S406 shown in fig. 4, the method of the embodiment of the present application may further include S601-S603.
S601, the mobile phone 20 displays a first interface on the display screen. The first interface includes a plurality of first options. Each first option corresponds to an operation position and a pressing operation of one operation type.
The mobile phone 20 may respond to a user operation to display the first interface. For example, the user operation may be a click operation (e.g., a single click operation) by the user on an option for triggering the handset 20 to display the first interface.
For example, the settings interface of handset 20 may include an option for triggering handset 20 to display the first interface described above. For example, as shown in fig. 7A (a), the setting interface 701 of the cellular phone 20 includes a "virtual key" option 702 (which may also be referred to as a "touch key" option). The cellular phone 20 may display the first interface 703 shown in (b) of fig. 7A in response to a click operation (e.g., a single click operation) of the user on the "virtual key" option 702 in the setting interface 701 of the cellular phone 20. The first interface 703 includes a plurality of first options, such as a "virtual key base function" option 704, an "up virtual key double-click function" option 705, and a "down virtual key double-click function" option 706. The operation positions of the option 704 corresponding to the "virtual key basic function" are the preset region 201 and the preset region 202, and the operation type is a pressing operation of a single-click operation. The "double-click function on upper virtual key" option 705 corresponds to a pressing operation in which the operation position is the preset area 201 and the operation type is a double-click operation. The "double-click function of virtual key down" option 706 corresponds to the operation position being the preset area 202, and the operation type is a pressing operation of double-click operation.
Each first option is used for setting a function triggered by the pressing operation of the operation position and the operation type corresponding to the first option. For example, in the first interface 703 shown in (b) in fig. 7A, a "virtual key basic function" option 704 is used to set a function triggered by a single-click operation on the preset region 201 and the preset region 202, an "upper virtual key double-click function" option 705 is used to set a function triggered by a double-click operation on the preset region 201, and a "lower virtual key double-click function" option 706 is used to set a function triggered by a double-click operation on the preset region 202.
For another example, when the display of the handset 20 displays any interface, the handset 20 may display a pull-down menu (alternatively referred to as a notification bar) in response to a user input of a slide operation down the top of the display. The drop-down menu includes the above-mentioned options for triggering the handset 20 to display the first interface. For example, as shown in (a) in fig. 7B, the cellular phone 20 displays a Home Screen (Home Screen). The cellular phone 20 may display a pull-down menu 709 shown in (B) in fig. 7B in response to a slide operation 708 shown in (a) in fig. 7B. Drop down menu 709 includes "virtual key" option 710 (which may also be referred to as a "touch key" option), "WLAN" option, "Bluetooth" option, and "move data" option, among others. The "virtual key" option 710 is used to trigger the handset 20 to display the first interface. The cellular phone 20 may display the first interface 703 shown in (b) of fig. 7A in response to a click operation (e.g., a single click operation) of the "virtual key" option 710 by the user.
It should be noted that, for the functions of the "WLAN" option, the "bluetooth" option, and the "mobile data" option, reference may be made to related descriptions in the conventional technology, and details of the embodiments of the present application are not repeated herein. The names of the options for triggering the mobile phone 20 to display the first interface include, but are not limited to, a "virtual key" option, for example, the option may also be referred to as a "key function" option, and the like, which is not limited in this embodiment of the application.
S602, in response to the user selecting a second option from the plurality of first options, the mobile phone 20 displays a second interface on the display screen. The second interface includes a plurality of third options. Each third option corresponds to a function triggered by a pressing operation.
Wherein the second option is a first option selected by a user among the plurality of first options. For example, the user's selection operation on the second option may be any one of a single-click operation, a double-click operation, and a long-press operation.
S603, in response to a selection operation of the user on a fourth option in the multiple third options, the cell phone 20 configures a pressing operation corresponding to the second option for triggering a function corresponding to the fourth option.
Wherein the fourth option is a third option selected by a user among the plurality of third options. For example, the selection operation of the user on the fourth option may be any one of a single-click operation, a double-click operation, a long-press operation, and the like.
For example, in response to a user's selection operation of the "upper virtual key double-click function" option 705 (i.e., the second option) in the first interface 703 shown in (b) of fig. 7A, the display screen of the cell phone 20 may display a second interface 711 shown in fig. 7C. The second interface 711 includes a "voice assistant" option, a "snapshot" option, a "screen shot" option, and a "screen recording" option.
Take as an example that the "double-click function on upper virtual key" option 705 is used to set a function that triggers a double-click operation on the preset area 201. In response to a user selecting the "voice assistant" option (i.e., the fourth option) shown in fig. 7C, the processor of the handset 20 may be configured to perform a double-click operation on the preset area 201 to trigger the handset 20 to turn on the voice assistant. For another example, in response to a user selecting the "snapshot" option (i.e., the fourth option) shown in fig. 7C, the processor of the cell phone 20 may be configured to perform a double-click operation on the preset area 201 to trigger the cell phone 20 to turn on the camera to capture an image. For another example, in response to a user selecting the "record screen" option (i.e., the fourth option) shown in fig. 7C, the processor of the mobile phone 20 may be configured to perform a double-click operation on the preset area 201 to trigger the mobile phone 20 to start recording the display content of the display screen.
Take as an example that the "virtual key basic function" option 704 is used to set a function triggered by a one-click operation applied to the preset region 201 and the preset region 202. In response to a user's selection operation of the "virtual key basic function" option 704 (i.e., the second option) in the first interface 703 shown in fig. 7A (b), the display screen of the cell phone 20 may display a second interface 712 shown in fig. 7D. The second interface 712 includes a "volume adjustment" option and a "brightness adjustment" option. In response to a user's selection operation of the "volume adjustment" option (i.e., the fourth option) in the second interface 712 shown in fig. 7D, the processor of the cell phone 20 may be configured to trigger the cell phone 20 to adjust the volume by a single click operation on the preset area 201 and the preset area 202.
It can be understood that, based on the operation habit of the user when using the mobile phone 20 with the physical keys, and the positions of the preset area 201 and the preset area 202 in the mobile phone 20; in response to a user's selection operation of the "volume adjustment" option (i.e., the fourth option) shown in fig. 7C, the processor of the cellular phone 20 may automatically configure a single-click operation on the preset area 201 for turning up the volume and configure a single-click operation on the preset area 202 for turning down the volume.
Similarly, in response to the user selecting the "brightness adjustment" option (i.e., the fourth option) shown in fig. 7C, the processor of the mobile phone 20 may automatically configure the single-click operation on the preset region 201 to increase the brightness of the display screen and the single-click operation on the preset region 202 to decrease the brightness of the display screen.
Note that the cellular phone 20 may execute S601-S603 to configure functions triggered by pressing operations of different operation positions and operation types. Then, the processor of the handset 20 may store the configuration information table shown in table 2 or table 3 in the memory, so that when the MCU of the handset 20 executes S406, the processor may look up the function indicated by the pressing information from the configuration information table and trigger the handset 20 to execute the function.
For example, in the embodiment of the present application, a method according to 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 (referred to as a first preset area) of the cellular phone 10 is provided with a touch sensor and a pressure sensor 110, and a preset area 102 (referred to as a second preset area) is provided with a touch sensor and a pressure sensor 120.
In the embodiment of the present application, a method of the embodiment of the present application is described by taking an example in which the touch sensors disposed in the preset region 101 and the preset region 102 are the same touch sensor (referred to as a touch sensor X). As shown in fig. 8, the interaction method of the electronic device provided by the embodiment of the present application may include S801-S807.
S801, the mobile phone 10 acquires the pressing information of the first pressing operation through the touch sensor X. The pressing information indicates an operation type and an operation position of the first pressing operation.
For a method for acquiring the pressing information of the first pressing operation by the touch sensor X and a detailed description of the pressing information, reference may be made to the description of S401 in the foregoing embodiment, which is not repeated herein.
S802, the mobile phone 10 collects the pressing pressure of the first pressing operation through the pressure sensor 110.
S803, the mobile phone 10 acquires the pressing pressure of the first pressing operation through the pressure sensor 120.
It is understood that when a first pressing operation is applied to the mobile phone 10 (e.g., the preset area 101 or the preset area 102 of the mobile phone 10), the touch sensor X may acquire pressing information of the first pressing operation, and the pressure sensor 110 and the pressure sensor 120 may both acquire pressing pressure of the first pressing operation. However, the magnitude of the compression pressure collected by the pressure sensor 110 and the pressure sensor 120 may be different.
Specifically, as shown in fig. 1 (b), the pressure sensor 110 is disposed in the preset region 101, and the pressure sensor 120 is disposed in the preset region 102. The operation position of the first pressing operation may be closer to the position where the pressure sensor 110 is located, and may also be closer to the position where the pressure sensor 120 is located. For example, the operation position of the first pressing operation may be within the preset region 101 and may also be within the preset region 102. Therefore, the magnitude of the compression pressure collected by the pressure sensor 110 and the pressure sensor 120 may be different.
It should be noted that, for the detailed description of S802 and S803, reference may be made to the description of S402 in the foregoing embodiment, and details are not repeated here.
S804, responding to the first pressing operation, the MCU acquires scene information of the mobile phone 10. The context information is used to indicate an application context and/or a physical context in which the handset 10 is located.
S805, the MCU determines the pressure threshold according to the scene information (i.e. the first scene information) of the mobile phone 10.
For a detailed description of S804, reference may be made to the description of S403 in the foregoing embodiment; for a detailed description of S805, reference may be made to the introduction of S404 in the foregoing embodiments, which is not described herein again.
S806, the MCU judges whether the pressing pressure collected by the pressure sensor 110 and the pressing pressure collected by the pressure sensor 120 are larger than a pressure threshold.
Specifically, if the compression pressure collected by any one of the pressure sensor 110 and the pressure sensor 120 is greater than the pressure threshold, the MCU may execute S807. For example, if the compression pressure (e.g., 43g) collected by pressure sensor 110 is greater than the pressure threshold (e.g., 40g), the compression pressure (e.g., 39g) collected by pressure sensor 120 is less than the pressure threshold (e.g., 40 g); the handset 10 may perform S807. Alternatively, if the compression pressure (e.g., 43g) collected by the pressure sensor 110 is greater than the pressure threshold (e.g., 40g), the compression pressure (e.g., 42g) collected by the pressure sensor 120 is also greater than the pressure threshold (e.g., 40 g); the handset 10 may perform S807.
If the pressing pressures collected by the pressure sensor 110 and the pressure sensor 120 are both less than or equal to the pressure threshold, the MCU may determine that the first pressing operation is a false touch operation, and the MCU may ignore the first pressing operation and may not respond to the first pressing operation.
S807, the mobile phone 10 executes the function corresponding to the pressing information.
For a detailed description of S807, reference may be made to the description of S406 in the foregoing embodiment, which is not repeated herein.
In the embodiment of the present application, when the pressing pressure of the first pressing operation is greater than the pressure threshold, the mobile phone 10 will respond to the first pressing operation to execute the corresponding function; therefore, in a scene where the false touch is likely to occur, a larger pressure threshold is used, so that the probability of the false touch can be reduced, and the false touch prevention performance of the mobile phone 10 can be improved. In addition, in a scene where the false touch is not likely to occur, a smaller pressure threshold is adopted, so that the sensitivity of the mobile phone 10 in response to the pressing operation of the user on the preset area can be improved.
In order to further improve the anti-false touch performance of the mobile phone 10, the mobile phone 10 responds to the pressing operation of the user in the preset area 101 or the preset area 102 to execute the function triggered by the pressing operation. If the position of the pressing operation received by the cellular phone 10 is not within the preset region 101 and the preset region 102, the cellular phone 10 does not respond to the pressing operation.
Specifically, as shown in fig. 9, after S807 shown in fig. 8, if the compression pressure acquired by any one of the pressure sensor 110 and the pressure sensor 120 is greater than the pressure threshold, the mobile phone 10 may execute S901. As shown in fig. 9, the above-described S807 shown in fig. 8 may include S902-S904.
S901, the MCU judges whether the operation position indicated by the pressing information is in the preset area 101 or the preset area 102.
For a detailed description of S901, reference may be made to the description of S501 in the foregoing embodiments, and details are not repeated here in this application example.
Specifically, if the operation position of the first pressing operation is within the preset region 101 or the preset region 102, the MCU may perform S902. If the operation position of the first pressing operation is not in the preset region 101 and not in the preset region 102, the MCU may determine that the first pressing operation is a false touch operation, and the MCU may not respond to the first pressing operation and may not trigger the mobile phone 10 to execute a corresponding function.
And S902, judging that the operation position indicated by the pressing information is in the preset area 101 or the preset area 102 by the MCU.
Optionally, the above S902 may also be replaced by: the MCU determines that the operation position of the first pressing operation is within the preset region 101 or within the preset region 102 according to the magnitudes of the pressing pressures collected by the pressure sensor 110 and the pressure sensor 120.
As shown in fig. 1 (b), the pressure sensor 110 is disposed in the preset region 101; and the pressure sensor 120 is disposed within the preset region 102. Therefore, if the first pressing operation acts on the preset region 101, the pressing pressure collected by the pressure sensor 110 is larger than the pressing pressure collected by the pressure sensor 120; if the first pressing operation is applied to the preset region 102, the pressing pressure collected by the pressure sensor 120 is greater than the pressing pressure collected by the pressure sensor 110. Therefore, if the pressing pressure collected by the pressure sensor 110 is greater than the pressing pressure collected by the pressure sensor 120, the MCU may determine that the operation position of the first pressing operation is within the preset region 101; if the pressing pressure collected by the pressure sensor 120 is greater than the pressing pressure collected by the pressure sensor 110, the MCU may determine that the operation position of the first pressing operation is within the preset region 102.
Specifically, if the operation position of the first pressing operation is in the preset area 101, the mobile phone 10 may execute S903; if the operation position of the first pressing operation is in the preset region 102, the cellular phone 10 may perform S904.
S903, the mobile phone 10 executes a function triggered by the pressing operation of the operation type indicated by the pressing information acting on the preset area 101.
S904, the mobile phone 10 executes the function triggered by the pressing operation of the operation type indicated by the pressing information acting on the preset area 102.
For a detailed description of S903, reference may be made to the description of S503 in the foregoing embodiment; for a detailed description of S904, reference may be made to the description of S504 in the foregoing embodiment, which is not repeated herein.
In this embodiment, the mobile phone 10 may determine whether the pressing operation is an effective pressing operation according to a dual determination condition of "whether the pressing pressure of the pressing operation is greater than a pressure threshold corresponding to a scene of the mobile phone 10" and "whether the pressing operation is within a preset area". Therefore, effective pressing operation and mistaken touch operation can be identified more accurately, mistaken touch of the touch press key of the mobile phone 10 can be effectively reduced, and mistaken touch prevention performance of the mobile phone 10 is improved.
It can be understood that, under the premise that the pressing pressure of the pressing operation is not changed, the distance between the operation position of the pressing operation and the position of the pressure sensor 210 will affect the magnitude of the pressing pressure collected by the pressure sensor 210. Specifically, on the premise that the pressing pressure of the pressing operation is not changed, the smaller the distance between the operation position of the pressing operation and the position of the pressure sensor 210 is, the larger the pressing pressure collected by the pressure sensor 210 is; the greater the distance from the operating position of the pressing operation to the position where the pressure sensor 210 is located, the smaller the pressing pressure collected by the pressure sensor 210. In consideration of the influence of the operation position of the pressing operation on the magnitude of the pressing pressure collected by the pressure sensor 210, in the embodiment of the application, the mobile phone may further set different pressure thresholds for different operation positions. Specifically, in the same scene (for example, an application scene and/or a physical scene), when the operation positions of the first pressing operations are different, the pressure thresholds used when the mobile phone determines the pressing pressure of the first pressing operation may be different. For example, the larger the distance between the operation position of the first pressing operation and the position of the pressure sensor is, the smaller the pressure threshold used by the mobile phone for judging the pressing pressure of the first pressing operation is; the smaller the distance between the operation position of the first pressing operation and the position of the pressure sensor is, the larger the pressure threshold is adopted when the mobile phone judges the pressing pressure of the first pressing operation.
In some cases, even in the same scene (e.g., an application scene and/or a physical scene), the pressing pressures used by the user may be different when the user inputs pressing operations of different operation types at the same position of the mobile phone. Based on this situation, the above memory stores a plurality of pieces of scene information, and the pressure threshold of the pressure sensor in the scene indicated by each piece of scene information may specifically be: the memory stores a plurality of scene information, and the pressure threshold of the pressure sensor for different operation types of pressing operation under the scene indicated by each scene information. Accordingly, the above S404 and S805 may include: and the MCU inquires a pressure threshold corresponding to the operation type indicated by the pressing information under the scene indicated by the scene information from the memory.
In this embodiment, even in the same application scenario, the pressure thresholds of the pressure sensors of the mobile phone may be different for different operation types of pressing operations. That is to say, in the embodiment of the present application, when the mobile phone dynamically adjusts the pressure threshold of the pressure sensor, not only the scene where the mobile phone is located may be referred to, but also the operation type of the pressing operation may be referred to. The pressure threshold of the pressure sensor is dynamically adjusted by the mobile phone according to the scene where the mobile phone is located and the operation type of the pressing operation, so that the sensitivity of the mobile phone responding to the pressing operation can be improved, and the operation experience which is more in line with the operation habit of the user is provided for the user.
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. 10 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. 10, the electronic device 1000 may include: a scene recognition module 1001, a threshold parameter decision module 1002, a user configuration module 1003, a press recognition module 1004, and a trigger module 1005.
The scene recognition module 1001 is configured to support the electronic device 1000 to perform: a context (e.g., an application context and/or a physical context) of the electronic device 1000 is identified. For example, the scene recognition module 1001 is used to enable the electronic device 1000 to perform S403, S804 in the above-described method embodiments, and/or other processes for the techniques described herein. For example, the functions of the scene recognition module 1001 may be implemented by the MCU of the mobile phone, one or more devices such as a camera, a proximity light sensor, an acceleration sensor, and an ambient light sensor.
The user configuration module 1003 is used to support the electronic device 1000 to perform: configuring the functions (namely the corresponding relation between the operation types and the functions) executed by the mobile phone triggered by the pressing operation of different operation types acting on the preset area; the pressing operation configured to act on different positions of the preset area triggers the functions (i.e. the corresponding relation between the positions and the functions) executed by the mobile phone. Optionally, the user configuration module 1003 is configured to support the electronic device 1000 to perform: configuring pressure thresholds of the pressure sensors under a plurality of scenes; wherein, under different scenes, the pressure threshold of the pressure sensor can be different. For example, user configuration module 1003 is used to enable electronic device 1000 to perform S601-S603 of the above-described method embodiments, and/or other processes for the techniques described herein. Illustratively, the functions of the user configuration module 1003 can be implemented by the MCU and the display screen of the mobile phone.
The threshold parameter decision module 1002 is configured to enable the electronic device 1000 to perform: the pressure thresholds of the pressure sensors under the scene are determined according to the scene identified by the scene identification module 1001 and the pressure thresholds of the pressure sensors under the scene configured by the user configuration module 1003. For example, the threshold parameter decision module 1002 is configured to enable the electronic device 1000 to perform S404, S805 in the above-described method embodiments, and/or other processes for the techniques described herein. Illustratively, the function of the threshold parameter decision module 1002 may be implemented by the MCU of the mobile phone.
The press recognition module 1004 is configured to enable the electronic device 1000 to perform: collecting pressing information of pressing operation (such as the position of the pressing operation on a preset area and the operation type of the pressing operation); collecting the pressing pressure of the pressing operation; judging whether the pressing pressure is greater than the pressure threshold decided by the threshold parameter decision module 1002; and judging whether the pressing operation acts on the preset area of the preset area. For example, the press identification module 1004 is configured to enable the electronic device 1000 to perform S401, S402, S405, S501, S801, S802, S803, S806, S901 of the above-described method embodiments, and/or other processes for the techniques described herein. For example, the function of the press recognition module 1004 may be implemented by the MCU of the mobile phone, a pressure sensor and a touch sensor in a preset area, and the like.
The triggering module 1005 is used to support the electronic device 1000 to perform: and triggering the mobile phone to execute the function triggered by the pressing operation according to the judgment result of the pressing identification module 1004. For example, the triggering module 1005 is used to enable the electronic device 1000 to perform S406, S502, S503, S504, S807, S902, S903, S904, and/or other processes for the techniques described herein in the above-described method embodiments. For example, the function of the trigger module 1005 may be implemented by the MCU and the SOC unit of the mobile phone.
Referring to fig. 11, a schematic block diagram of an interaction method of an electronic device according to an embodiment of the present application is shown in conjunction with the structural diagram of the electronic device shown in fig. 10.
The user configuration module 1003 may configure, through a UI interface displayed on the mobile phone, a function (i.e., a corresponding relationship between an operation type and a function) that is executed by the mobile phone and is triggered by pressing operations of different operation types applied to a preset area. The user configuration module 1003 may further configure, through a UI interface displayed on the mobile phone, functions (i.e., corresponding relationships between positions and functions) that are executed by the mobile phone as a result of pressing operations applied to different positions of the preset area. The above correspondence configured by the user configuration module 1003 may be stored in the function configuration table 1130 shown in fig. 11.
It is understood that when the first pressing operation acts on the preset region of the electronic device, the pressing recognition module 1004 may execute 1140 shown in fig. 11 to obtain the pressing pressure of the first pressing operation; of course, the press recognition module 1004 may also perform 1141 to obtain the press information of the first press operation.
In response to the detection of the first pressing operation by the pressing recognition module 1004, as shown in fig. 11, the scene recognition module 1001 may determine, according to an application running in the foreground of the electronic device (i.e., a type of the foreground application), an application scene where the electronic device is located (i.e., execute 1110 shown in fig. 11); the physical scene in which the electronic device is located can also be determined according to data collected by devices such as a proximity light sensor and an acceleration sensor (i.e. 1111 shown in fig. 11 is executed). The context identification module 1001 may then indicate to the threshold parameter decision module 1002 the application context and the physical context in which the electronic device is located.
The application scenarios in the embodiment of the present application may be divided into: an application scenario with an audio stream and an application scenario without an audio stream. For example, as shown in FIG. 11, the determination of the application scenario 1110 depends not only on the type of foreground application being run by the electronic device, but also on whether there is currently an audio stream on the electronic device. Different pressure thresholds may be set for application scenarios with and without audio streams.
The threshold parameter decision module 1002 may execute 1120 shown in fig. 11 according to the application scenario and the physical scenario indicated by the scenario identification module 1001 to determine the pressure threshold under the scenario (e.g., the application scenario and the physical scenario). Wherein, under different scenes, the pressure threshold of the pressure sensor can be different.
Optionally, in some embodiments, the user configuration module 1003 may also configure the pressure thresholds of the pressure sensors under multiple scenarios. For example, the functional configuration table 1130 shown in fig. 11 may further include a plurality of scene-to-pressure threshold correspondences. In this embodiment, the threshold parameter decision module 1002 may query the pressure threshold of the pressure sensor in the above scenario from the user configuration module 1003.
The press identification module 1004 may perform 1142 of fig. 11 to determine whether the press pressure (i.e., the press pressure of the first press operation) is greater than a pressure threshold (i.e., the pressure threshold determined by the threshold parameter decision module 1002). If the press pressure is greater than the pressure threshold, the trigger module 1005 may perform the function indicated by the press information.
Alternatively, as shown in fig. 11, if the pressing pressure is greater than the pressure threshold, the pressing identification module 1004 may execute 1143 to determine whether the first pressing operation is applied to the preset region. And if the first pressing operation acts on the preset area, the first pressing operation is a valid pressing operation. The triggering module 1005 may respond to the first pressing operation, the function indicated by the pressing information.
Specifically, the triggering module 1005 may execute 1151 to query the function configuration table 1130 stored in the user configuration module 1003, and determine the function indicated by the pressing information. The triggering module 1005 may then execute 1152, triggering the queried function.
It should be noted that the preset area of the electronic device may include one or more preset areas. In the case where the preset region may include a plurality of preset regions (e.g., preset region 1 and preset region 2 shown in fig. 11), the functions triggered by the first pressing operation applied to different preset regions may be different. For example, the preset region 1 shown in fig. 11 may be the preset region 101 shown in fig. 1, and the preset region 2 shown in fig. 11 may be the preset region 102 shown in (b) of fig. 1. Alternatively, the preset region 1 shown in fig. 11 may be a preset region 201 shown in (b) of fig. 2A, and the preset region 2 shown in fig. 11 may be a preset region 202 shown in (b) of fig. 2A.
For example, assume that a first pressing operation on preset area 1 is used to trigger the electronic device to perform function 1; the first pressing operation on the preset area 2 is used for triggering the electronic equipment to execute the function. In this case, if the press recognition module 1004 performs 1143, it is determined that the first press operation is applied to the preset region 1; then the trigger module 1005 executes 1151 and function 1 may be looked up from the function configuration table; the triggering module 1005 executes 1152, which may trigger the electronic device to perform function 1. If the pressing recognition module 1004 performs 1143, determining that the first pressing operation is applied to the preset area 2; then the trigger module 1005 executes 1151 and function 2 may be looked up from the function configuration table; the triggering module 1005 executes 1152, which may trigger the electronic device to perform function 2.
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, and a processor. The pressure sensor, touch sensor, memory 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.
An embodiment of the present application further provides a chip system, as shown in fig. 12, where the chip system includes at least one processor 1201 and at least one interface circuit 1202. The processor 1201 and the interface circuit 1202 may be interconnected by wires. For example, the interface circuit 1202 may be used to receive signals from other devices (e.g., a memory of an electronic device). Also for example, the interface circuit 1202 may be used to send signals to other devices, such as the processor 1201. Illustratively, the interface circuit 1202 may read instructions stored in a memory and send the instructions to the processor 1201. The instructions, when executed by the processor 1201, 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 (15)

1. An interaction method of an electronic device is characterized in that a touch sensor and one or more pressure sensors are arranged on the electronic device;
the electronic equipment acquires pressing information of a first pressing operation through the touch sensor, wherein the pressing information indicates an operation type and an operation position of the first pressing operation, and the operation type is any one of single-click operation, double-click operation, long-press operation or sliding operation;
the electronic equipment acquires the pressing pressure of the first pressing operation through the one or more pressure sensors;
in response to the first pressing operation, the electronic equipment acquires scene information of the electronic equipment, wherein the scene information indicates an application scene and/or a physical scene where the electronic equipment is located; the application scene corresponds to an application which is run by the electronic equipment in a foreground, and the physical scene corresponds to a motion state of the electronic equipment;
the electronic equipment determines a pressure threshold according to the scene information of the electronic equipment; the scene information of the electronic equipment has a corresponding relation with the pressure threshold;
and if the pressing pressure acquired by a first pressure sensor in the one or more pressure sensors is greater than the pressure threshold, the electronic equipment executes a function corresponding to the pressing information.
2. The method according to claim 1, wherein before the electronic device executes the function corresponding to the pressing information, the method further comprises:
the electronic device determines that the operating position is within a preset area where the first pressure sensor is located.
3. The method of claim 1 or 2, wherein the electronic device further comprises a memory; and the corresponding relation between the scene information of the electronic equipment and the pressure threshold is stored in the memory.
4. The method of any of claims 1-3, wherein the electronic device further comprises a display screen; the method further comprises the following steps:
the electronic equipment displays a first interface on the display screen, wherein the first interface comprises a plurality of first options; each first option corresponds to an operation position and a pressing operation of one operation type;
responding to the selection operation of a user on a second option in the plurality of first options, and displaying a second interface on the display screen by the electronic equipment; the second interface comprises a plurality of third options, and each third option corresponds to a function triggered by the pressing operation;
in response to the selection operation of the user on a fourth option in the plurality of third options, the electronic equipment configures the pressing operation corresponding to the second option for triggering a function corresponding to the fourth option.
5. An interaction method of an electronic device is characterized in that a touch sensor and one or more pressure sensors are arranged on the electronic device;
the electronic equipment acquires pressing information of a first pressing operation through the touch sensor, wherein the pressing information indicates an operation type and an operation position of the first pressing operation, and the operation type is a single-click operation or a long-press operation;
the electronic equipment acquires the pressing pressure of the first pressing operation through the one or more pressure sensors;
in response to the first pressing operation, the electronic equipment acquires first scene information of the electronic equipment, wherein the first scene information indicates an application scene and/or a physical scene where the electronic equipment is located; the application scene corresponds to an application which is run by the electronic equipment in a foreground, and the physical scene corresponds to a motion state of the electronic equipment;
the electronic equipment determines a pressure threshold according to the scene information of the electronic equipment; the scene information of the electronic equipment has a corresponding relation with the pressure threshold;
if the pressing pressure acquired by a first pressure sensor in the one or more pressure sensors is greater than the pressure threshold, the electronic equipment executes the function triggered by the single-click operation or the long-press operation according to the operation position; the function triggered by the single click operation or the long press operation is as follows: adjusting the volume or adjusting the screen brightness.
6. An interaction method of an electronic device is characterized in that a touch sensor and one or more pressure sensors are arranged on the electronic device;
the electronic equipment acquires pressing information of a first pressing operation through the touch sensor, wherein the pressing information indicates an operation type and an operation position of the first pressing operation, and the operation type is a double-click operation;
the electronic equipment acquires the pressing pressure of the first pressing operation through the one or more pressure sensors;
in response to the first pressing operation, the electronic equipment acquires scene information of the electronic equipment, wherein the scene information of the electronic equipment indicates an application scene and/or a physical scene where the electronic equipment is located; the application scene corresponds to an application which is run by the electronic equipment in a foreground, and the physical scene corresponds to a motion state of the electronic equipment;
the electronic equipment determines a pressure threshold according to the scene information of the electronic equipment; the scene information of the electronic equipment has a corresponding relation with the pressure threshold;
if the pressing pressure collected by a first pressure sensor in the one or more pressure sensors is larger than the pressure threshold, the electronic equipment executes the function triggered by the double-click operation according to the operation position; wherein the function triggered by the double-click operation at least comprises any one of the following functions: locking a screen, capturing the screen, starting a voice assistant, recording the screen and starting a camera; the screen recording refers to recording the content displayed by the display screen of the electronic equipment.
7. An electronic device, comprising a memory and a processor; also disposed on the electronic device are a touch sensor and one or more pressure sensors, the memory, the touch sensor, the one or more pressure sensors and the processor being 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:
the touch sensor acquires pressing information of a first pressing operation, wherein the pressing information indicates an operation type and an operation position of the first pressing operation, and the operation type is any one of single-click operation, double-click operation, long-press operation or sliding operation;
the one or more pressure sensors acquire a pressing pressure of the first pressing operation;
in response to the first pressing operation, scene information of the electronic equipment is acquired, wherein the scene information indicates an application scene and/or a physical scene where the electronic equipment is located; the application scene corresponds to an application which is run by the electronic equipment in a foreground, and the physical scene corresponds to a motion state of the electronic equipment;
determining a pressure threshold according to the scene information of the electronic equipment; the scene information of the electronic equipment has a corresponding relation with the pressure threshold;
and if the pressing pressure collected by the first pressure sensor in the one or more pressure sensors is greater than the pressure threshold, executing a function corresponding to the pressing information.
8. The electronic device of claim 7, wherein the computer instructions, when executed by the processor, cause the electronic device to:
and before executing the function corresponding to the pressing information, determining that the operation position is in a preset area where the first pressure sensor is located.
9. The electronic device of claim 7 or 8, further comprising a memory; and the corresponding relation between the scene information of the electronic equipment and the pressure threshold is stored in the memory.
10. The electronic device of any of claims 7-9, further comprising a display screen; the computer instructions, when executed by the processor, cause the electronic device to:
the display screen displays a first interface, the first interface including a plurality of first options; each first option corresponds to an operation position and a pressing operation of one operation type;
responding to the selection operation of a user on a second option in the plurality of first options, and displaying a second interface by the display screen; the second interface comprises a plurality of third options, and each third option corresponds to a function triggered by the pressing operation;
and responding to the selection operation of the user on a fourth option in the plurality of third options, and configuring the pressing operation corresponding to the second option for triggering the function corresponding to the fourth option.
11. An electronic device, comprising a memory and a processor; also disposed on the electronic device are a touch sensor and one or more pressure sensors, the memory, the touch sensor, the one or more pressure sensors and the processor being 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:
the touch sensor acquires pressing information of a first pressing operation, wherein the pressing information indicates an operation type and an operation position of the first pressing operation, and the operation type is a single-click operation or a long-press operation;
the one or more pressure sensors acquire a pressing pressure of the first pressing operation;
acquiring first scene information of the electronic equipment in response to the first pressing operation, wherein the first scene information indicates an application scene and/or a physical scene where the electronic equipment is located; the application scene corresponds to an application which is run by the electronic equipment in a foreground, and the physical scene corresponds to a motion state of the electronic equipment;
determining a pressure threshold according to the scene information of the electronic equipment; the scene information of the electronic equipment has a corresponding relation with the pressure threshold;
if the pressing pressure collected by a first pressure sensor in the one or more pressure sensors is larger than the pressure threshold, executing the function triggered by the single-click operation or the long-press operation according to the operation position; the function triggered by the single click operation or the long press operation is as follows: adjusting the volume or adjusting the screen brightness.
12. An electronic device, comprising a memory and a processor; also disposed on the electronic device are a touch sensor and one or more pressure sensors, the memory, the touch sensor, the one or more pressure sensors and the processor being 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:
the touch sensor acquires pressing information of a first pressing operation, wherein the pressing information indicates an operation type and an operation position of the first pressing operation, and the operation type is a double-click operation;
acquiring, by the one or more pressure sensors, a pressing pressure of the first pressing operation;
acquiring scene information of the electronic equipment in response to the first pressing operation, wherein the scene information of the electronic equipment indicates an application scene and/or a physical scene where the electronic equipment is located; the application scene corresponds to an application which is run by the electronic equipment in a foreground, and the physical scene corresponds to a motion state of the electronic equipment;
determining a pressure threshold according to the scene information of the electronic equipment; the scene information of the electronic equipment has a corresponding relation with the pressure threshold;
if the pressing pressure collected by a first pressure sensor in the one or more pressure sensors is larger than the pressure threshold, executing the function triggered by the double-click operation according to the operation position; wherein the function triggered by the double-click operation at least comprises any one of the following functions: locking a screen, capturing the screen, starting a voice assistant, recording the screen and starting a camera; the screen recording refers to recording the content displayed by the display screen of the electronic equipment.
13. A chip system, wherein the chip system is applied to an electronic device provided with a touch sensor and one or more pressure sensors; 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-6 when the processor executes the computer instructions.
14. 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-6.
15. 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-6.
CN201910960454.6A 2019-10-10 2019-10-10 Electronic equipment interaction method and electronic equipment Pending CN112738332A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910960454.6A CN112738332A (en) 2019-10-10 2019-10-10 Electronic equipment interaction method and electronic equipment
PCT/CN2020/107146 WO2021068630A1 (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
CN201910960454.6A CN112738332A (en) 2019-10-10 2019-10-10 Electronic equipment interaction method and electronic equipment

Publications (1)

Publication Number Publication Date
CN112738332A true CN112738332A (en) 2021-04-30

Family

ID=75436944

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910960454.6A Pending CN112738332A (en) 2019-10-10 2019-10-10 Electronic equipment interaction method and electronic equipment

Country Status (2)

Country Link
CN (1) CN112738332A (en)
WO (1) WO2021068630A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200945145A (en) * 2008-03-06 2009-11-01 Nec Infrontia Corp Improvement of input precision
CN104685445A (en) * 2012-09-28 2015-06-03 Lg电子株式会社 Portable device and control method thereof
CN104991700A (en) * 2015-06-29 2015-10-21 陆俊 Mobile terminal application switching method and mobile terminal
CN105653099A (en) * 2016-03-01 2016-06-08 宇龙计算机通信科技(深圳)有限公司 Method and device for feeding back pressing intensity of touch screen
US10191609B1 (en) * 2010-03-26 2019-01-29 Open Invention Network Llc Method and apparatus of providing a customized user interface
CN109782944A (en) * 2018-12-11 2019-05-21 华为技术有限公司 A kind of response method and electronic equipment of touch screen

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103019490A (en) * 2012-12-18 2013-04-03 广东欧珀移动通信有限公司 Method and system for operating optimized capacitive touch screen
CN105302373A (en) * 2015-11-09 2016-02-03 深圳市汇顶科技股份有限公司 Method and system for achieving operation of mobile terminal according to touch signals and mobile terminal
CN105446646B (en) * 2015-12-11 2019-01-11 小米科技有限责任公司 Content input method, device and touch control device based on dummy keyboard
CN109144391A (en) * 2018-08-22 2019-01-04 三星电子(中国)研发中心 The control method and electronic equipment of electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200945145A (en) * 2008-03-06 2009-11-01 Nec Infrontia Corp Improvement of input precision
US10191609B1 (en) * 2010-03-26 2019-01-29 Open Invention Network Llc Method and apparatus of providing a customized user interface
CN104685445A (en) * 2012-09-28 2015-06-03 Lg电子株式会社 Portable device and control method thereof
CN104991700A (en) * 2015-06-29 2015-10-21 陆俊 Mobile terminal application switching method and mobile terminal
CN105653099A (en) * 2016-03-01 2016-06-08 宇龙计算机通信科技(深圳)有限公司 Method and device for feeding back pressing intensity of touch screen
CN109782944A (en) * 2018-12-11 2019-05-21 华为技术有限公司 A kind of response method and electronic equipment of touch screen

Also Published As

Publication number Publication date
WO2021068630A1 (en) 2021-04-15

Similar Documents

Publication Publication Date Title
CN110045819B (en) Gesture processing method and device
US9154692B2 (en) Apparatus and method for continuously taking a picture
WO2018027501A1 (en) Terminal, touch response method, and device
CN112650405B (en) Interaction method of electronic equipment and electronic equipment
KR101835364B1 (en) Apparatus and method for implementing functions of touch button and fingerprint identification, and terminal device, program and recording medium
CN114467297A (en) Video call display method applied to electronic equipment and related device
US20230276014A1 (en) Photographing method and electronic device
CN109324739B (en) Virtual object control method, device, terminal and storage medium
CN115866121A (en) Application interface interaction method, electronic device and computer-readable storage medium
US20220150403A1 (en) Input Method and Electronic Device
CN112751954B (en) Operation prompting method and electronic equipment
CN110839128B (en) Photographing behavior detection method and device and storage medium
KR20160098030A (en) Apparatus for implementing functions of touch screen and fingerprint identification, and terminal device
CN111027490B (en) Face attribute identification method and device and storage medium
CN110559645B (en) Application operation method and electronic equipment
KR20170132833A (en) Pressure detection method, apparatus, program, and recording medium
CN112084811A (en) Identity information determining method and device and storage medium
CN110955373A (en) Display element display method and electronic equipment
CN111510482B (en) Method and device for determining failed network request and computer storage medium
CN112749590B (en) Object detection method, device, computer equipment and computer readable storage medium
CN113688019B (en) Response time duration detection method and device
CN113391775A (en) Man-machine interaction method and equipment
CN113706807B (en) Method, device, equipment and storage medium for sending alarm information
CN112738332A (en) Electronic equipment interaction method and electronic equipment
WO2018232645A1 (en) Mobile terminal with photographing function and related product

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210430

RJ01 Rejection of invention patent application after publication