WO2021068627A1 - 一种电子设备的交互方法及电子设备 - Google Patents

一种电子设备的交互方法及电子设备 Download PDF

Info

Publication number
WO2021068627A1
WO2021068627A1 PCT/CN2020/107092 CN2020107092W WO2021068627A1 WO 2021068627 A1 WO2021068627 A1 WO 2021068627A1 CN 2020107092 W CN2020107092 W CN 2020107092W WO 2021068627 A1 WO2021068627 A1 WO 2021068627A1
Authority
WO
WIPO (PCT)
Prior art keywords
touch
electronic device
pressure sensor
sensor
pressure
Prior art date
Application number
PCT/CN2020/107092
Other languages
English (en)
French (fr)
Inventor
廖宗勐
徐新余
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2021068627A1 publication Critical patent/WO2021068627A1/zh

Links

Images

Classifications

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

Definitions

  • the embodiments of the present application relate to the field of touch technology, and in particular, to an interaction method of an electronic device and an electronic device.
  • electronic devices can be equipped with touch sensors and pressure sensors in areas where physical buttons (also called physical buttons) need to be set, and use the touch effect of the touch sensor and the piezoelectric effect of the pressure sensor to detect user input Press operation to realize the related functions of returning, adjusting the volume and other physical buttons.
  • touch-press keys such keys that utilize the touch effect of the touch sensor and the piezoelectric effect of the pressure sensor to realize the key function
  • keys can also be called virtual keys and other names.
  • touch button there are many problems to be solved in the touch button. For example, compared with physical buttons, it is difficult for users to accurately locate the effective touch position of the touch-press button, and thus it is difficult to achieve effective blind touch on the touch-press button. In this way, it will bring a worse user experience, thereby limiting the development of touch-and-press button technology on electronic devices such as smart phones and tablet computers.
  • the embodiments of the present application provide an electronic device interaction method and an electronic device.
  • the electronic device can realize effective blind touch to a touch-and-press button, thereby improving the interaction performance of the electronic device.
  • an embodiment of the present application provides an interaction method for an electronic device, and the electronic device is provided with a touch sensor and a pressure sensor.
  • the method may include: the electronic device detects a touch operation through a touch sensor; in response to the touch sensor detecting the first touch operation, the electronic device triggers a preset device to send out first prompt information and activates the pressure sensor; wherein the first touch operation is to For the sliding operation of the preset area, the preset area is the area where the pressure sensor is located; the first prompt information is used to prompt the user to input a touch operation in the preset area to control the electronic device; the electronic device collects the pressing of the second touch operation through the pressure sensor Pressure, the second touch operation is any one of a single-click operation, a double-tap operation, or a long-press operation; if the pressing pressure is greater than the pressure threshold, the electronic device performs the functions corresponding to the first touch operation and the second touch operation.
  • the electronic device in response to a sliding operation to the preset area where the pressure sensor is located, the electronic device may issue a first prompt message (such as a vibration prompt) to prompt the user to input a touch operation (such as a pressing operation) at the corresponding position of the sliding operation. ).
  • a first prompt message such as a vibration prompt
  • the electronic device can also indicate the position of the touch button to the user according to the user's sliding operation to the first preset area. In this way, it is helpful to realize an effective blind touch to the touch-press button, thereby improving the interactive performance of the electronic device.
  • the pressure sensor is not always in the working state; instead, it is activated by the processor in response to the first touch operation to collect the pressing pressure of the touch operation input by the user. In this way, the power consumption of the electronic device can be reduced, and the power of the electronic device can be saved.
  • the sliding direction of the first touch operation and the operation type of the second touch operation can determine the functions corresponding to the first touch operation and the second touch operation.
  • the first touch operation is a sliding operation to the preset area in the first direction, or a sliding operation to the preset area in the second direction.
  • the first direction is opposite to the second direction.
  • the sliding direction of the first touch operation is different, and the functions corresponding to the first touch operation and the second touch operation are different.
  • the operation type of the second touch operation is different, and the functions corresponding to the first touch operation and the second touch operation are different.
  • the method for the electronic device to perform the functions corresponding to the first touch operation and the second touch operation may include: if the first touch operation is a sliding operation to the preset area in a first direction, the second touch operation is a single click operation or a long touch operation. Press the operation, the electronic device adjusts the first parameter of the electronic device; if the first touch operation is a sliding operation to the preset area in the second direction, and the second touch operation is a single-click operation or a long-press operation, the electronic device lowers the first parameter.
  • the first parameter may be the volume of the electronic device or the brightness of the screen.
  • the method for the electronic device to perform the functions corresponding to the first touch operation and the second touch operation may further include: if the first touch operation is a sliding operation to the preset area in the first direction, and the second touch operation is a double-tap operation, the electronic device executes The first function; if the first touch operation is a sliding operation to the preset area in the second direction, and the second touch operation is a double-tap operation, the electronic device performs the second function.
  • the first function is one of the following functions: lock screen, screenshot, record screen, turn on camera, and turn on voice assistant.
  • the second function is one of the following functions: lock screen, screenshot, record screen, turn on camera, and turn on voice assistant.
  • the second function is different from the first function.
  • an embodiment of the present application provides an interaction method for an electronic device, and the electronic device is provided with a touch sensor and a pressure sensor.
  • the method may include: the electronic device detects the touch operation through the touch sensor; in response to the touch sensor detecting the first touch operation, the electronic device triggers the preset device to send the first prompt information and activates the pressure sensor; wherein the first touch operation is directed to the preset Suppose the sliding operation of the area, the preset area is the area where the pressure sensor is located; the first prompt information is used to prompt the user to input a touch operation in the preset area to control the electronic device; the electronic device collects the pressing pressure of the second touch operation through the pressure sensor; if If the pressing pressure is greater than the pressure threshold, the second touch operation is a sliding operation in the first direction, and the electronic device adjusts the first parameter of the electronic device; if the pressing pressure is greater than the pressure threshold, the second touch operation is a sliding operation in the second direction. The electronic device lowers the first parameter. Among them, the first parameter is the
  • the sliding direction of the first touch operation described in the second aspect does not affect the functions performed by the electronic device, and the first touch operation is only for triggering the preset device. Send out the first prompt message and trigger the electronic device to activate the pressure sensor.
  • the second touch operation described in the second aspect is different from the second touch operation described in the first aspect.
  • the second touch operation described in the second aspect is a sliding operation in the first direction or a sliding operation in the second direction starting from the preset area. Wherein, the first direction is opposite to the second direction.
  • the sliding direction of the second touch operation described in the second aspect determines the function that the electronic device needs to perform.
  • the beneficial effects that can be achieved by the method described in the second aspect can be referred to the beneficial effects of the first aspect, which are not repeated here in this application.
  • the above method may further include: starting from the activation of the pressure sensor, if the touch sensor or the pressure sensor is in the preset duration The second touch operation is not detected inside, and the electronic device turns off the pressure sensor.
  • the electronic device triggers the preset device to send the second prompt message.
  • the second prompt information is used to prompt the user that the second touch operation is a valid touch operation.
  • the second prompt information may be different from the first prompt information.
  • the electronic device if the pressing pressure collected by the pressure sensor is less than or equal to the pressure threshold, the electronic device triggers the preset device to send a third prompt message.
  • the third prompt information is used to prompt the user to re-input the touch operation.
  • the third prompt information may be different from the first prompt information and the second prompt information.
  • the above-mentioned first pressure sensor and the second pressure sensor may be piezoelectric pressure sensors.
  • the piezoelectric pressure sensor described above is a piezoelectric ceramic sensor.
  • the pressure ceramic sensor has higher sensitivity than other pressure sensors.
  • an embodiment of the present application provides an interaction method for an electronic device, and the electronic device is provided with a touch sensor, a first pressure sensor, and a second pressure sensor.
  • the first pressure sensor is arranged in a first preset area
  • the second pressure sensor is arranged in a second preset area.
  • the electronic device can detect touch operations through a touch sensor.
  • the touch sensor may detect the sliding operation to the first preset area in the first direction (called the first sliding operation), or it may detect the sliding operation to the second preset area in the second direction (called the first sliding operation). Two sliding operations).
  • the first direction is a direction from the second preset area to the first preset area
  • the second direction is a direction from the first preset area to the second preset area.
  • the electronic device may trigger the preset device to send out the first prompt message and activate the first pressure sensor.
  • the first prompt information is used to prompt the user to input a touch operation in the first preset area to control the electronic device.
  • the electronic device may collect the pressing pressure of the first pressing operation through the first pressure sensor, and the first pressing operation may be any one of a single-click operation, a double-click operation, or a long-press operation. If the pressing pressure collected by the first pressure sensor is greater than the pressure threshold, the electronic device may perform the function corresponding to the first pressing operation.
  • the electronic device can trigger the preset device to send out the first prompt message and activate the second pressure sensor.
  • the electronic device may collect the pressing pressure of the second pressing operation through the second pressure sensor, and the second pressing operation is any one of a single-click operation, a double-tap operation, or a long-press operation. If the pressing pressure collected by the second pressure sensor is greater than the pressure threshold, the electronic device executes the function corresponding to the second pressing operation.
  • the first sliding operation and the second sliding operation described in the third aspect can trigger the electronic device to activate different pressure sensors.
  • the first pressing operation and the second pressing operation described in the third aspect are different from the second touch operation described in the second aspect.
  • the first pressing operation and the second pressing operation may be a single-click operation, a double-click operation, or a long-press operation.
  • the second touch operation described in the second aspect is a sliding operation.
  • the above method may further include: in order to reduce the power consumption of the electronic device and save power, the above method may also include: starting from the activation of the first pressure sensor, if the touch sensor or the first The pressure sensor does not detect the first pressing operation within the preset time period, and the electronic device turns off the first pressure sensor.
  • the above method may further include: in order to reduce the power consumption of the electronic device and save power, the above method may also include: starting from the activation of the second pressure sensor, if the touch sensor or the first The second pressure sensor does not detect the second pressing operation within the preset time period, and the electronic device turns off the second pressure sensor.
  • the electronic device performs the function corresponding to the first pressing operation, which may include: if the first pressing operation is a single-click operation or a long-press operation, the electronic device raises the first pressing operation of the electronic device.
  • the electronic device performing the function corresponding to the second pressing operation may include: if the second pressing operation is a single-click operation or a long-press operation, the electronic device lowers the first parameter.
  • the first parameter is the volume of the electronic device or the brightness of the screen.
  • the electronic device performing the function corresponding to the first pressing operation may further include: if the first pressing operation is a double-tap operation, the electronic device performs the first function.
  • the electronic device performing the function corresponding to the second pressing operation may include: if the second pressing operation is a double-tap operation, the electronic device performs the second function.
  • an embodiment of the present application provides an electronic device.
  • the electronic device includes a memory and a processor.
  • the electronic device is also provided with a touch sensor and a pressure sensor.
  • the memory, touch sensor, pressure sensor and processor are coupled.
  • the memory is used to store computer program codes, the computer program codes including computer instructions, when the computer instructions are executed by the processor, cause the electronic device to perform the following operations: detecting a touch operation by the touch sensor; in response to the first touch being detected by the touch sensor Operate, trigger the preset device to send out the first prompt message and activate the pressure sensor; collect the pressing pressure of the second touch operation through the pressure sensor; if the pressing pressure is greater than the pressure threshold, perform the functions corresponding to the first touch operation and the second touch operation.
  • the first touch operation is a sliding operation to the preset area in the first direction, or a sliding operation to the preset area in the second direction.
  • the first direction is opposite to the second direction.
  • the electronic device is caused to perform the following operations: If the first touch operation is a sliding operation to the preset area in the first direction, the second touch operation is a single click operation or a long press operation, adjust the height The first parameter of the electronic device; where the first parameter is the volume or screen brightness of the electronic device; if the first touch operation is a sliding operation to the preset area in the second direction, the second touch operation is a click operation or a long press Operation, lower the first parameter; if the first touch operation is a sliding operation in the first direction to the preset area, and the second touch operation is a double-click operation, the first function is executed; if the first touch operation is in the second direction For the sliding operation of the preset area, the second touch operation is a
  • an embodiment of the present application provides an electronic device.
  • the electronic device includes a memory and a processor.
  • the electronic device is also provided with a touch sensor and a pressure sensor.
  • the memory, touch sensor, pressure sensor and processor are coupled.
  • the memory is used to store computer program codes, the computer program codes including computer instructions, when the computer instructions are executed by the processor, cause the electronic device to perform the following operations: detecting a touch operation by the touch sensor; in response to the first touch being detected by the touch sensor Operation, trigger the preset device to send out the first prompt message and activate the pressure sensor; collect the pressing pressure of the second touch operation through the pressure sensor; where the first direction is opposite to the second direction; if the pressing pressure is greater than the pressure threshold, the second touch The operation is a sliding operation in the first direction to increase the first parameter of the electronic device; where the first parameter is the volume or screen brightness of the electronic device. If the pressing pressure is greater than the pressure threshold, the second touch operation is a sliding in the second direction Operation, lower the first parameter.
  • the electronic device when the computer instruction is executed by the processor, the electronic device also performs the following operations: starting from starting the pressure sensor, if the touch sensor or the pressure sensor is in the preset duration If the second touch operation is not detected inside, the pressure sensor is turned off.
  • the electronic device when the computer instruction is executed by the processor, the electronic device is caused to perform the following operations: if the pressing pressure is greater than the pressure threshold, trigger the preset device to send out the second prompt message , The second prompt information is used to prompt the user that the second touch operation is a valid touch operation.
  • the electronic device when the computer instruction is executed by the processor, the electronic device is caused to perform the following operations: if the pressing pressure is less than or equal to the pressure threshold, trigger the preset device to issue the third Prompt information, the third prompt information is used to prompt the user to re-input the touch operation.
  • an embodiment of the present application provides an electronic device.
  • the electronic device includes a memory and a processor.
  • the electronic device is also provided with a touch sensor, a first pressure sensor, and a second pressure sensor.
  • the memory, the touch sensor, the first pressure sensor, the second pressure sensor and the processor are coupled.
  • the memory is used to store computer program code.
  • the computer program code includes computer instructions.
  • the electronic device When the computer instructions are executed by the processor, the electronic device causes the electronic device to perform the following operations: detecting a touch operation by a touch sensor; The sliding operation in the direction of the first preset area triggers the preset device to send the first prompt message and activate the first pressure sensor; the first pressure sensor collects the pressing pressure of the first pressing operation; if the first pressure sensor collects the pressing pressure If the pressure is greater than the pressure threshold, the function corresponding to the first pressing operation is executed.
  • the preset device In response to the touch sensor detecting the sliding operation to the second preset area in the second direction, the preset device is triggered to send out the first prompt message, and the second pressure sensor is activated; the pressing pressure of the second pressing operation is collected by the second pressure sensor If the pressing pressure collected by the second pressure sensor is greater than the pressure threshold, the function corresponding to the second pressing operation is executed.
  • the electronic device when the computer instruction is executed by the processor, the electronic device is caused to perform the following operations: starting from starting the first pressure sensor, if the touch sensor or the first pressure sensor is in the preset duration If the first pressing operation is not detected inside, the first pressure sensor is turned off.
  • the electronic device when the computer instructions are executed by the processor, the electronic device also performs the following operations: starting from starting the second pressure sensor, if the touch sensor or the second pressure sensor is preset The second pressing operation is not detected within the time period, and the second pressure sensor is turned off.
  • the electronic device when the computer instructions are executed by the processor, the electronic device is caused to perform the following operations: if the first pressing operation is a single-click operation or a long-press operation, increase the electronic device The first parameter; if the second pressing operation is a single-click operation or a long-press operation, lower the first parameter.
  • the first parameter is the volume of the electronic device or the brightness of the screen.
  • the electronic device when the computer instruction is executed by the processor, the electronic device is caused to perform the following operations: if the first pressing operation is a double-click operation, the first function is executed; if the second pressing operation It is a double-click operation to perform the second function.
  • the first pressing operation is a double-click operation
  • the second pressing operation It is a double-click operation to perform the second function.
  • an embodiment of the present application provides a chip system, which is applied to an electronic device provided with a touch sensor and a first pressure sensor.
  • the chip system includes an interface circuit and a processor.
  • the interface circuit and the processor are interconnected by wires.
  • the interface circuit is used to receive a signal from the memory of the electronic device and send the signal to the processor, and the signal includes a computer instruction stored in the memory.
  • the processor executes the computer instructions, the electronic device executes the method described in the first aspect and any one of its possible designs.
  • an embodiment of the present application provides a computer storage medium, which includes computer instructions.
  • the computer instructions When the computer instructions are executed on an electronic device, the electronic device is caused to execute the first aspect and any one of them. It is possible to design the described method.
  • embodiments of the present application provide a computer program product, which when the computer program product runs on a computer, causes the computer to execute the method described in the first aspect and any one of its possible designs.
  • FIG. 1 is a schematic diagram of a configuration in which touch buttons are set in a preset area of a mobile phone 10 according to an embodiment of the application;
  • FIG. 2A is a schematic diagram of another mobile phone 20 provided by an embodiment of the application with a touch-press button set in a preset area;
  • 2B is a right side view of another mobile phone 20 provided by an embodiment of the application.
  • FIG. 3 is a schematic diagram of the hardware structure of an electronic device provided by an embodiment of the application.
  • FIG. 5 is a schematic diagram of an example of a first touch operation provided by an embodiment of the application.
  • FIG. 6 is a schematic diagram of another example of a first touch operation provided by an embodiment of the application.
  • FIG. 7 is a schematic diagram of a human-computer interaction process of a mobile phone 20 according to an embodiment of the application.
  • FIG. 8A is a schematic diagram of state machine switching of a mobile phone 20 according to an embodiment of the application.
  • FIG. 8B is a schematic diagram of state machine switching of another mobile phone 20 according to an embodiment of the application.
  • FIG. 8C is a flowchart of another electronic device interaction method provided by an embodiment of this application.
  • FIG. 8D is a schematic diagram of another example of a first touch operation provided by an embodiment of the application.
  • FIG. 9 is a flowchart of an electronic device interaction method provided by an embodiment of this application.
  • FIG. 10 is a schematic diagram of an example of a first sliding operation and a second sliding operation provided by an embodiment of this application;
  • FIG. 11 is a schematic diagram of a human-computer interaction process of a mobile phone 10 according to an embodiment of the application.
  • FIG. 12A is a schematic diagram of state machine switching of a mobile phone 10 according to an embodiment of the application.
  • FIG. 12B is a schematic diagram of state machine switching of another mobile phone 10 according to an embodiment of the application.
  • FIG. 13 is a schematic structural diagram of an electronic device provided by an embodiment of this application.
  • FIG. 14 is a schematic structural diagram of a chip system provided by an embodiment of the application.
  • first and second are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Therefore, the features defined with “first” and “second” may explicitly or implicitly include one or more of these features.
  • first pressure sensor and the second pressure sensor are used to represent two pressure sensors.
  • plural means two or more.
  • the embodiment of the present application provides an interaction method of an electronic device.
  • This method can be applied to electronic devices provided with virtual keys.
  • the above-mentioned touch button can be arranged on the surface of the electronic device, which is different from the position of the display screen of the electronic device.
  • the touch button can be arranged on the side frame (such as the left frame or the right frame) of the electronic device.
  • the electronic device is provided with a touch button, which specifically refers to: the electronic device is provided with a touch sensor and a pressure sensor.
  • the touch sensor and the pressure sensor can be set on the electronic device where the button needs to be set.
  • the electronic device can use the touch effect of the touch sensor and the piezoelectric effect of the pressure sensor to detect the pressing operation input by the user, so as to realize the related functions of the physical button such as locking the screen and adjusting the volume.
  • the physical buttons provided on the surface of the electronic device can be reduced, and the appearance of the electronic device can be more beautiful.
  • such keys may also be referred to as virtual keys and other names, which are not limited in the embodiments of the present application.
  • the touch button can be arranged on the side frame (such as the left frame or the right 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.
  • FIG. 1 shows the distribution of touch sensors and pressure sensors for realizing touch-press buttons on the right side frame of the mobile phone 10 shown in (a) in FIG. 1.
  • the preset area 101 of the right side frame of the mobile phone 10 is provided with a touch sensor and a pressure sensor 110
  • the preset area 103 is provided with a touch sensor
  • the preset area 102 is provided with a touch sensor and pressure.
  • Sensor 120 the pressure sensor 110 is arranged in the lower layer of the touch sensor in the preset area 101
  • the pressure sensor 120 is arranged in the lower layer of the touch sensor in the preset area 102.
  • the positions of the pressure sensor 110 and the pressure sensor 120 on the right side frame of the mobile phone 10 can be set with reference to the positions of physical buttons (such as the "volume +" key and the "volume -" key) on the side frame of the mobile phone.
  • the pressure sensor 110 may be arranged at the position of the "volume +" key on the side frame of the mobile phone
  • the pressure sensor 120 may be arranged at the position of the "volume -" key on the side frame of the mobile phone.
  • the preset area 101 is the area where the pressure sensor 110 is located
  • the preset area 102 is the area where the pressure sensor 120 is located
  • the preset area 103 is between the preset area 101 and the preset area 102.
  • the sizes of the preset area 101, the preset area 102, and the preset area 103 are pre-configured in the mobile phone 10.
  • the touch sensors provided on the preset area 101, the preset area 102, and the preset area 103 may be the same touch sensor.
  • a touch sensor (referred to as a touch sensor X) may be provided on the right side frame of the mobile phone 10, and the touch sensor X is provided at least in the preset area 101, the preset area 102, and the preset area 103 of the right side frame.
  • the touch sensor X can also be arranged on the entire right side frame of the mobile phone 10, which is not limited in the embodiment of the present application.
  • the touch sensor X is integrated with the touch sensor in the touch screen of the mobile phone 10, that is, the touch sensor X is the touch sensor in the touch screen of the mobile phone 10. If the touch screen of the mobile phone 10 is a flat screen mobile phone, the touch sensor X is a touch sensor independent of the touch screen of the mobile phone 10, that is, the touch sensor X is different from the touch sensor in the touch screen of the mobile phone 10.
  • the touch sensors provided on the preset area 101, the preset area 102, and the preset area 103 may be at least two touch sensors.
  • the mobile phone 10 is a flat screen mobile phone, and the preset area 101, the preset area 102, and the preset area 103 of the right side frame of the mobile phone 10 may be respectively provided with a touch sensor.
  • the touch sensors provided on the preset area 101, the preset area 102, and the preset area 103 are the same touch sensor (such as touch sensor X) as an example. Be explained.
  • FIG. 2A shows the distribution of touch sensors and pressure sensors for realizing touch-and-press buttons on the right side frame of the mobile phone 20 shown in (a) in FIG. 2A.
  • the preset area 201 of the right side frame of the mobile phone 20 is provided with a touch sensor
  • the preset area 203 is provided with a touch sensor and a pressure sensor 210
  • the preset area 202 is provided with a touch sensor.
  • the pressure sensor 210 is arranged in the lower layer of the touch sensor in the preset area 203.
  • the position of the pressure sensor 210 on the right side frame of the mobile phone 20 can be set with reference to the position of the physical buttons (such as the "volume +" key and the "volume -" key) on the side frame of the mobile phone.
  • the pressure sensor 210 may be arranged in the middle of the position of the "volume +" key on the side frame of the mobile phone and the position of the "volume -" key on the side frame of the mobile phone.
  • the preset area 203 is the area where the pressure sensor 210 is located.
  • the preset area 201 is on the right side frame of the mobile phone 20 and is located above the preset area 201.
  • the preset area 202 is on the right side frame of the mobile phone 20 and is located below the preset area 201.
  • the sizes of the preset area 201, the preset area 202, and the preset area 203 are pre-configured in the mobile phone 20.
  • the touch sensors provided on the preset area 201, the preset area 202, and the preset area 203 may be the same touch sensor (referred to as touch sensor Y).
  • touch sensor Y The arrangement method of the touch sensor Y on the right side frame of the mobile phone 20 and the specific form of the touch sensor Y can refer to the detailed description of the touch sensor X in the above-mentioned examples, which will not be repeated here in the embodiment of the present application.
  • the touch sensors provided on the preset area 201, the preset area 202, and the preset area 203 may be at least two touch sensors.
  • the mobile phone 20 is a flat screen mobile phone, and the preset area 201, the preset area 202, and the preset area 203 of the right side frame of the mobile phone 20 may be respectively provided with a touch sensor.
  • the pressure sensors (such as the pressure sensor 110, the pressure sensor 120, and the pressure sensor 210) in the embodiment of the present application may be piezoelectric pressure sensors.
  • the piezoelectric pressure sensor may be a piezoelectric ceramic sensor. Compared with other pressure sensors, the piezoelectric ceramic sensor has higher sensitivity.
  • touch buttons can be set on both side frames (such as the left frame and the right frame) of the mobile phone. That is, one or more pressure sensors and one or more touch sensors (not shown in the drawings) can be provided on both the left side frame and the right side frame of the mobile phone to realize the function of touching and pressing the keys.
  • the touch buttons provided on the electronic device are not visible to the user.
  • FIG. 2B shows a right side view of the mobile phone 20 shown in (a) of FIG. 2A.
  • the touch button is not visible to the user.
  • the presence of the touch button cannot be sensed through tactile sense, so it is difficult to accurately locate the position of the touch button through blind touch, so it is impossible to complete the touch on the mobile phone through blind touch. control.
  • the right side frame of the mobile phone 20 includes a mark 220, which is used to identify the location of the touch button.
  • the user still cannot feel the existence of the touch button through the sense of touch, and it is difficult to accurately locate the effective touch position of the touch button through blind touch, so the touch of the mobile phone cannot be completed through the blind touch.
  • the embodiment of the present application provides an interactive method for an electronic device.
  • the electronic device can send out prompt information (such as a vibration prompt) to prompt the user to be at the corresponding position of the sliding operation (ie, the pressure sensor).
  • prompt information such as a vibration prompt
  • the preset area where it is located inputting a pressing operation to the electronic device.
  • the electronic device can also indicate the position of the touch button to the user according to the user's sliding operation to the preset area (such as the first preset area). In this way, it is helpful for the user to achieve effective blind touch on the touch-press button, thereby improving the interactive performance of the electronic device.
  • the electronic device in the embodiments of the present application may be a mobile phone, a tablet computer, a desktop computer, a laptop, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, and a cellular phone.
  • 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, The camera unit 370 and the wireless communication unit 380.
  • SOC system on chip
  • the aforementioned sensor unit 350 may include: a Microcontroller Unit (MCU) 350E, a motor 350F, and sensors such as a pressure sensor 350A, a touch sensor 350B, a proximity sensor 350C, an acceleration sensor 350D, and a gyroscope sensor.
  • the sensors in the sensor unit 350 include but are not limited to the above-mentioned sensors.
  • the sensor unit 350 may also include 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.
  • the structure illustrated in this embodiment does not constitute a specific limitation on the electronic device 300.
  • the electronic device 300 may include more or fewer components than shown, or combine certain components, or split certain components, or arrange different components.
  • the illustrated components can be implemented in hardware, software, or a combination of software and hardware.
  • the above-mentioned SOC unit 310 is integrated with a processor of an electronic device, and the processor may include one or more processing units.
  • the processor may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, and a memory , Video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU), etc.
  • the controller may be the nerve center and command center of the electronic device 300.
  • the controller can generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching and executing instructions.
  • a memory may also be provided in the above-mentioned processor to store instructions and data.
  • the memory in the processor is a cache memory.
  • the memory can store instructions or data that the processor has just used or recycled. If the processor needs to use the instruction or data again, it can be called directly from the memory. It avoids repeated access and reduces the waiting time of the processor, thus improving the efficiency of the system.
  • the aforementioned power supply unit 330 may include: a battery, a charging management module, and a power management module.
  • the charging management module is used to receive charging input from the charger.
  • the charger can be a wireless charger or a wired charger. While the charging management module charges the battery, it can also supply power to the electronic device 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 charging management module, and supplies power to the SOC unit 310, MCU 350E, storage unit (ie, memory) 320, display touch unit 340, camera unit 370, and wireless communication unit 380.
  • the electronic device 300 implements a display function through a GPU, a display touch unit 340, and an application processor.
  • the GPU is an image processing microprocessor, which 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 aforementioned processor may include one or more GPUs, which execute program instructions to generate or change display information.
  • the display touch unit 340 may include a display screen, which is used to display 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, which is also called a “touch panel”.
  • the above-mentioned display touch unit 340 may be a touch screen composed of a touch sensor 350B and a display screen, which is also called a “touch screen”.
  • the above-mentioned touch sensor 350B is used to detect a touch operation acting on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • the visual output related to the touch operation can be provided through the display screen.
  • the touch sensor 350B may also be disposed on the surface of the electronic device 300, which is different from the position of the display screen.
  • a touch sensor is provided on the right side frame of the mobile phone.
  • both the left side frame and the right side frame of the mobile phone may be provided with a touch sensor (not shown in the drawings) for realizing the function of pressing the button.
  • the electronic device 300 may include one or more touch sensors 350B.
  • the electronic device 300 may include a touch sensor 350B-1 and a touch sensor 350B-2.
  • the touch sensor 350B-1 may be disposed on the display screen, and the touch sensor 350B-2 may be disposed on the side frame of the electronic device 300.
  • the aforementioned touch sensor 350B-1 and touch sensor 350B-2 may be one touch sensor.
  • the touch sensor 350B-1 and the 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 to sense the pressure signal and can convert the pressure signal into an electrical signal.
  • the above-mentioned display screen may be provided with a pressure sensor 350A.
  • the pressure sensor 350A can also be arranged on the surface of the electronic device 300, which is different from the position of the display screen.
  • the right side frame of the mobile phone 10 is provided with a pressure sensor 110 and a pressure sensor 120.
  • the right side frame of the mobile phone 20 is provided with a pressure sensor 210.
  • 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, piezoelectric ceramic sensors have higher sensitivity.
  • the above-mentioned touch sensor and pressure sensor can work together as a touch button instead of physical buttons (such as a physical volume key or a physical lock screen key, etc.) to provide users with various functions to control the phone (such as turning up the volume) Or lock screen, etc.).
  • physical buttons such as a physical volume key or a physical lock screen key, etc.
  • the MCU 350E in the sensor unit 350 is connected to various devices in the sensor unit 350 (such as a pressure sensor 350A, a touch sensor 350B, a proximity light sensor 350C, an acceleration sensor 305D, a motor 350F, a gyroscope sensor, etc.).
  • the MCU 350E is also connected to the SOC unit 310.
  • the MCU 350E may receive the parameters collected by the various sensors described above, process the received parameters, and then send a signal to the SOC unit 310 so that the SOC unit 310 triggers each device of the electronic device 100 to perform corresponding functions.
  • the touch sensor 350B can collect operation information of the sliding operation, such as position information of the sliding operation.
  • the MCU 350E can determine whether the sliding operation is a sliding operation to the preset area where the pressure sensor used to realize the function of pressing the button is located according to the operation information collected by the touch sensor 350B; if the sliding operation is to the aforementioned preset area
  • the MCU 350E can trigger the motor 350F to send out a vibration prompt to prompt the user to input a pressing operation on the electronic device at the corresponding position of the above-mentioned sliding operation.
  • the MCU 350E may also activate the pressure sensor 350A to collect the pressing pressure of the pressing operation input by the user.
  • the MCU 350E can receive the pressing pressure collected by the pressure sensor 350A; then, determine whether the pressing pressure is greater than the pressure threshold of the pressure sensor 350A; if the pressing pressure is greater than the pressure threshold, it can be determined that the pressing operation is a valid pressing operation. At this time, the MCU 350E can trigger the SOC unit 310 to perform corresponding functions in response to the effective pressing operation.
  • the MCU 350E can also dynamically adjust the pressure threshold of the pressure sensor 350A.
  • the MCU 350E can dynamically adjust the pressure threshold of the pressure sensor 350A according to the physical scene and application scene of the electronic device 300, and the operation type of the pressing operation, etc.
  • the operation type of the pressing operation is any one of long-press, single-click, double-click, or sliding.
  • the unit of the pressing pressure and the pressure threshold may be Newton, or cattle for short, and the unit symbol is N.
  • G is gravity
  • m is mass
  • g is a constant
  • g is about 9.8N/kg. That is, gravity is proportional to mass. Therefore, in this embodiment, the unit of mass m can also be used as the unit of pressing pressure and pressure threshold.
  • the unit of mass m is kilogram (unit symbol is kg) or gram (unit symbol is g).
  • the unit of the pressing pressure and the pressure threshold may be grams, and the unit symbol is g.
  • the acceleration sensor 350D can detect the magnitude of the acceleration of the electronic device 300 in various directions (generally three axes). When the electronic device 300 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of electronic devices, and can be used in applications such as horizontal and vertical screen switching, pedometers, and so on. In the embodiment of the present application, the acceleration sensor 350D may be used to collect motion parameters of the electronic device 300 to determine the physical scene of the electronic device 300. For example, as shown in (a) in FIG. 1 or (a) in FIG. 2A, an acceleration sensor is provided in the mobile phone.
  • the proximity light sensor 350C may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode.
  • the light emitting diode may be an infrared light emitting diode.
  • the electronic device 300 emits infrared light to the outside through the light emitting diode.
  • the electronic device 300 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 300.
  • 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 (a) in FIG. 1 or (a) in FIG.
  • a proximity light sensor is provided in a mobile phone.
  • the ambient light sensor is used to sense the brightness of the ambient light.
  • the electronic device 300 can adaptively adjust the brightness of the display screen according to the perceived brightness of the ambient light.
  • the ambient light sensor can also cooperate with the proximity light sensor 350C to detect whether the electronic device 300 is in a pocket (that is, to determine the physical scene of the electronic device 300) to prevent accidental touch.
  • the gyroscope sensor can be used to determine the movement posture of the electronic device 300.
  • the air pressure sensor is used to measure air pressure.
  • the magnetic sensor includes a Hall sensor.
  • Distance sensor used to measure distance.
  • the electronic device 300 can measure the distance by infrared or laser.
  • Motor 350F can generate vibration notifications.
  • the motor 350F can be used for vibrating notification of incoming calls, and can also be used for touch/press vibration feedback.
  • touch/press operations for different applications can correspond to different vibration feedback effects.
  • Acting on touch/pressing operations in different areas of the display screen the motor 350F can also correspond to different vibration feedback effects.
  • Different application scenarios for example: time reminding, receiving information, alarm clock, games, etc.
  • the touch/press vibration feedback effect can also support customization.
  • the touch operation acting on the different preset areas shown in (a) in FIG. 1 or (a) in FIG. 2A can correspond to different vibration feedback effects.
  • touch operations of different operation types acting on the same preset area shown in (a) in FIG. 1 or (a) in FIG. 2A may also correspond to different vibration feedback effects.
  • the electronic device 300 may also include a mobile communication unit.
  • the wireless communication function of the electronic device 300 can 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 can provide a wireless communication solution including 2G/3G/4G/5G and the like applied to the electronic device 300.
  • the wireless communication unit 380 can provide applications on the electronic device 300 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), and global navigation satellites.
  • WLAN wireless local area networks
  • BT wireless fidelity
  • GNSS global navigation satellite system
  • FM frequency modulation
  • FM near field communication technology
  • NFC near field communication technology
  • infrared technology infrared, IR
  • the electronic device 300 can implement a shooting function through an ISP, a camera unit 370, a video codec, a GPU, a display touch unit 340, and an application processor.
  • the ISP is used to process the data fed back from the camera unit 370. For example, when taking a picture, the shutter is opened, the light is transmitted to the photosensitive element of the camera through the lens, the light signal is converted into an electrical signal, and the photosensitive element of the camera transmits the electrical signal to the ISP for processing and is converted into an image visible to the naked eye. ISP can also optimize the image noise, brightness, skin tone, and optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP may be provided in the camera unit 370.
  • the camera unit 370 may include one or more cameras, such as a front camera and a rear camera.
  • the camera is used to capture still images or videos.
  • the object generates an optical image through the lens and is projected to the photosensitive element.
  • the photosensitive element converts the optical signal into an electrical signal, and then transfers the electrical signal to the ISP to convert it into a digital image signal.
  • ISP outputs digital image signals to DSP for processing.
  • DSP converts digital image signals into standard RGB, YUV and other formats of image signals.
  • the storage unit 320 may be used to store computer executable program code, the executable program code including instructions.
  • the storage unit 320 may be integrated in the SOC unit 310 for implementation. Alternatively, as shown in FIG. 3, the storage unit 320 may be a device independent of the SOC unit 310.
  • the processor in the SOC unit 310 executes various functional applications and data processing of the electronic device 300 by running 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 storage program area and a storage data area.
  • the storage program area can store an operating system, at least one application program (such as a sound playback function, an image playback function, etc.) required by at least one function.
  • the storage data area can store data (such as audio data, phone book, etc.) created during the use of the electronic device 300.
  • the storage unit 320 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash storage (UFS), and the like.
  • the electronic device 300 may implement audio functions through the audio input/output unit 360 and an application processor.
  • the audio input/output unit 360 may include: an audio module, a speaker, a receiver, a microphone and a headphone interface, and so on.
  • the audio module is used to convert digital audio information into analog audio signal output, and also used to convert analog audio input into digital audio signal.
  • Loudspeakers also called “speakers”, are used to convert audio electrical signals into sound signals.
  • the receiver also known as the "handset”, is used to convert audio electrical signals into sound signals.
  • Microphone also known as "microphone” or “microphone” is used to convert sound signals into electrical signals.
  • the headphone jack is used to connect wired headphones.
  • the components in the electronic device 300 include but are not limited to the above-mentioned components.
  • the electronic device 300 may also include an indicator (such as an indicator light), a subscriber identification module (SIM) card interface, and the like.
  • the above indicator is used to indicate the charging status, notification or unreceived call, etc. Detailed descriptions of other components of the electronic device 300 will not be repeated here in the embodiment of the present application.
  • the methods in the following embodiments can all be implemented in the electronic device 300 having the above-mentioned hardware structure.
  • the above-mentioned electronic device 300 is a mobile phone as an example to describe the method of the embodiment of the present application.
  • the embodiment of the present application provides an electronic device interaction method, which can be applied to an electronic device provided with a touch sensor and a first pressure sensor.
  • the touch sensor and the first pressure sensor may be arranged on the surface of the electronic device.
  • the touch sensor and the pressure sensor can be arranged on the side of the electronic device (such as the left side frame or the right side frame).
  • the electronic device can use the touch effect of the touch sensor and the piezoelectric effect of the first pressure sensor to detect the pressing operation input by the user, so as to realize the related functions of the physical buttons such as locking the screen and adjusting the volume.
  • the above-mentioned electronic device is the mobile phone 20 shown in (a) of FIG. 2A as an example to describe the method of the embodiment of the present application.
  • the preset area 201 of the mobile phone 20 is provided with a touch sensor
  • the preset area 203 is provided with a touch sensor and a pressure sensor 210
  • the preset area 202 is provided with Touch sensor.
  • the preset area where the pressure sensor 210 is located is the preset area 203.
  • the touch sensors provided on the preset area 201, the preset area 202, and the preset area 203 are the same touch sensor (referred to as touch sensor Y) as an example to illustrate the method of the example of the present application.
  • touch sensor Y the same touch sensor
  • the interaction method of the electronic device provided in the embodiment of the present application may include S401-S406.
  • the mobile phone 20 detects a touch operation through the touch sensor Y.
  • the touch sensor Y can collect operation information of the touch operation.
  • the operation information of the touch operation may indicate the operation type and operation position of the touch operation.
  • the above-mentioned touch operation may be any of a sliding operation, a single-click operation, a double-click operation, or a long-press operation.
  • the MCU In response to the first touch operation detected by the touch sensor Y, the MCU triggers a preset device in the mobile phone 20 to send a first prompt message.
  • the first touch operation is a sliding operation to the preset area 203.
  • the operation information of the aforementioned first touch operation indicates that the first touch operation is a sliding operation to the preset area 203.
  • the operation information of the first touch operation indicates the operation type and operation position of the first touch operation.
  • the operation type of the first touch operation is a sliding operation.
  • the operation position of the first touch operation includes a sliding track to the preset area 203.
  • the aforementioned preset device may be a motor of the mobile phone 20.
  • the preset device may be the motor 350F shown in FIG.
  • the first prompt message may be a vibration prompt.
  • the aforementioned preset device may also be a speaker of the mobile phone 20, and the first prompt message may be a voice prompt.
  • the above-mentioned first prompt information is used to prompt the user to input a touch operation in the preset area 203 to control the mobile phone 20.
  • the touch sensor Y detects a sliding operation to the preset area 203 where the pressure sensor 210 is located, it means that the user's finger is placed in the preset area 203 where the pressure sensor 210 is located, that is, the user's finger is placed where the touch button is located. position.
  • the mobile phone 20 may send a first prompt message to prompt the user to input a touch operation (such as a pressing operation) to control the mobile phone 20.
  • the touch sensor Y can transmit the operation information of the first touch operation to the MCU.
  • the MCU can determine that the touch sensor Y detects the first touch operation according to the operation information of the first touch operation.
  • the MCU can trigger the preset device to send the first prompt message to prompt the user to input a touch operation to control the mobile phone 20.
  • the user's finger when the user inputs the above-mentioned first touch operation on the right side frame of the mobile phone 20, the user's finger will touch the right side frame of the mobile phone 20; and the user's finger may touch the right side frame of the mobile phone 20. Any location. In other words, the user may start from any position on the right side frame of the mobile phone 20 and input a sliding operation to the preset area 203. Therefore, the above-mentioned first touch operation may be a sliding operation from any position on the right side frame of the mobile phone 20 to the preset area 203.
  • the above-mentioned first touch operation may be a sliding operation on the right side frame of the mobile phone 20 to the preset area 203 in the first direction.
  • the first touch operation may be a sliding operation on the right side frame of the mobile phone 20 to the preset area 203 in the second direction.
  • the first direction is opposite to the second direction.
  • the first direction may be a sliding operation from a position below the preset area 203 on the right side frame of the mobile phone 20 to the preset area 203, that is, a sliding operation of sliding upward.
  • the second direction is a sliding operation from a position above the preset area 203 on the right side frame of the mobile phone 20 to the preset area 203, that is, a sliding operation of sliding down.
  • the first touch operation may be a sliding operation from the preset area 202 to the preset area 203. As shown in (a) in FIG. 5, point A is located in the preset area 202, and point B is located in the preset area 203.
  • the first touch operation may be a sliding operation from point A to point B shown in (a) in FIG. 5.
  • the first touch operation may be a sliding operation from the preset area 201 to the preset area 203. As shown in (b) of FIG. 5, the point C is located in the preset area 201, and the point D is located in the preset area 203. The first touch operation may be a sliding operation from point C to point D shown in (b) in FIG. 5.
  • the first touch operation may be a sliding operation from an area below the preset area 202 on the right side frame of the mobile phone 20 to the preset area 203.
  • the point a is located in the area below the preset area 202 on the right side frame of the mobile phone 20, and the point b is located in the preset area 203.
  • the first touch operation may be a sliding operation from point a to point b shown in (a) in FIG. 6.
  • the first touch operation may be a sliding operation from an area above the preset area 201 on the right side frame of the mobile phone 20 to the preset area 203.
  • the point c is located in an area above the preset area 201 on the right side frame of the mobile phone 20, and the point d is located in the preset area 203.
  • the first touch operation may be a sliding operation from point c to point d as shown in (b) in FIG. 6.
  • the MCU may trigger a preset device in the mobile phone 20 to send different first prompt messages, such as vibration prompts with different vibration frequencies and/or vibration times.
  • the first prompt message is a vibration prompt.
  • the vibration prompt from the MCU triggering the motor can be a vibration prompt; for the first touch operation shown in Figure 6 (b), the MCU triggering the motor sent
  • the vibrating reminder can be two consecutive vibrating reminders.
  • the MCU activates the pressure sensor 210.
  • the touch sensor Y detects the first touch operation, it means that the user's finger is placed at the position where the touch button is located.
  • the preset device sends out the first prompt message, the user may input a touch operation (such as a pressing operation) at the position.
  • the MCU may activate the pressure sensor 210 to collect the pressing pressure of a touch operation (such as a pressing operation) input by the user.
  • the pressure sensor 210 collects the pressing pressure of the second touch operation.
  • the pressure sensor 210 in the embodiment of the present application may be a piezoelectric ceramic sensor. Compared with other pressure sensors, the piezoelectric ceramic sensor has higher sensitivity; therefore, even if the pressing pressure of the second touch operation (such as a pressing operation) is small, the pressure sensor 210 can collect the pressing pressure.
  • the MCU determines whether the pressing pressure collected by the pressure sensor 210 is greater than a pressure threshold.
  • the aforementioned pressure threshold may be pre-configured in the mobile phone 20.
  • the pressure threshold may be stored in the memory of the mobile phone 20 in advance.
  • the MCU of the mobile phone 20 may dynamically adjust the pressure threshold of the pressure sensor 210.
  • the MCU of the mobile phone 20 can dynamically adjust the pressure threshold of the pressure sensor 210 according to the scene information of the mobile phone 20.
  • the method for the MCU to dynamically adjust the pressure threshold of the pressure sensor 210 according to the scene information of the mobile phone 20 reference may be made to related descriptions in the following embodiments, which will not be repeated in this embodiment.
  • the MCU may execute S406. If the pressing pressure (such as 36g) collected by the pressure sensor 210 is less than or equal to the pressure threshold (such as 40g), the MCU can determine that the above-mentioned second touch operation is a false touch operation, and the MCU can ignore the second touch operation, and the mobile phone 20 will not Respond to the second touch operation.
  • the pressure sensor 210 may periodically (or real-time) collect the pressing pressure, and transmit the collected pressing pressure to the processor (such as the MCU) of the mobile phone 20.
  • the processor such as the MCU
  • the pressure sensor 210 may transmit a pressing pressure to the MCU; if the pressing pressure is greater than the pressure threshold, the mobile phone 20 can perform the corresponding function.
  • the pressure sensor 210 may transmit two pressing pressures to the MCU; if the pressing pressure transmitted at any one time is greater than the pressure threshold, the mobile phone 20 may perform a corresponding function.
  • the MCU of the mobile phone 20 can trigger the mobile phone 20 to perform the corresponding function. .
  • the mobile phone 20 executes functions corresponding to the first touch operation and the second touch operation.
  • the sliding direction of the first touch operation (that is, the sliding operation) and the operation type of the second touch operation can be used to determine the functions corresponding to the first touch operation and the second touch operation.
  • the sliding direction of the first touch operation ie, sliding operation
  • the sliding direction of the first touch operation is determined according to the operation position (including the sliding track to the preset area 203) indicated by the operation information of the first touch operation.
  • the operation information of the second touch operation may indicate the operation type of the second operation.
  • the operation type includes any one of a single-click operation, a double-click operation, a long-press operation, or a sliding operation.
  • the operation information of the second touch operation is collected by the touch sensor Y described above.
  • the MCU may determine the functions corresponding to the first touch operation and the second touch operation according to the operation information of the first touch operation and the operation information of the second touch operation, and then execute the functions corresponding to the first touch operation and the second touch operation .
  • S406 may include: if the first touch operation is a sliding operation in the first direction (as shown in (a) in FIG. 6 from point a to point b) to the preset area 203, the second touch operation It is a single-click operation or a long-press operation, the mobile phone 20 can increase the first parameter of the mobile phone 20; if the first touch operation is in the second direction (as shown in Figure 6 (b), from point c to point d) For the sliding operation to the preset area 203, the second touch operation is a single-click operation or a long-press operation, and the mobile phone 20 can lower the first parameter.
  • the first parameter is the volume of the mobile phone 20 or the screen brightness.
  • S406 may also include: if the first touch operation is a sliding operation to the preset area in the first direction (as shown in (a) in FIG. 6 from point a to point b), the second touch operation is a double-tap operation, The mobile phone 20 performs the first function; if the first touch operation is a sliding operation to the preset area in the second direction (as shown in (b) in FIG. 6 from point c to point d), the second touch operation is a double tap Operation, the mobile phone 20 performs the second function.
  • the first function and the second function are one of the following functions: lock screen, screenshot, record screen, turn on camera, and turn on voice assistant. The second function is different from the first function.
  • the sliding direction of the first touch operation is different, and the functions corresponding to the first touch operation and the second touch operation are different.
  • the operation type indicated by the operation information of the second touch operation is different, and the functions corresponding to the first touch operation and the second touch operation are different.
  • the memory of the mobile phone 20 may store the above-mentioned corresponding table of the first touch operation, the second touch operation and the function.
  • Table 1 shows a configuration information table provided by an embodiment of the present application.
  • the configuration information table includes the corresponding relationship between the sliding direction of the first touch operation and the operation type and function of the second touch operation.
  • the function corresponding to the first touch operation and the second touch operation is to increase the volume as shown in Table 1.
  • the function corresponding to the first touch operation and the second touch operation is to lower the volume as shown in Table 1.
  • the first touch operation is the sliding operation from point A to point B shown in Figure 5 (a) or the sliding operation from point a to point b shown in Figure 6 (a) (that is, as shown in Table 1
  • the second touch operation is a double-click operation
  • the functions corresponding to the first touch operation and the second touch operation are the screenshots shown in Table 1.
  • the function corresponding to the first touch operation and the second touch operation is to start the voice assistant shown in Table 1.
  • the first touch operation with different sliding directions and the second touch operation with different operation types trigger the functions executed by the mobile phone 20, which can be pre-configured in the mobile phone 20 before the mobile phone 20 leaves the factory.
  • the first touch operation with different sliding directions and the second touch operation with different operation types trigger the functions executed by the mobile phone 20, which can also be set by the user in the mobile phone.
  • the mobile phone receives the user's settings, determines the specific method of the first touch operation of different sliding directions and the second touch operation of different operation types to trigger the functions executed by the mobile phone 20, you can refer to the related setting methods in the conventional technology, the embodiment of the present application I won't repeat them here.
  • the embodiment of the present application combines the hardware architecture of the mobile phone shown in FIG. 3 to describe the specific method for the MCU (MCU 350E shown in FIG. 3) to trigger the mobile phone to perform the functions corresponding to the first touch operation and the second touch operation .
  • the method for the MCU 350E to trigger the mobile phone to perform the functions corresponding to the first touch operation and the second touch operation may include: the MCU 350E shown in FIG. 3 determines the functions corresponding to the first touch operation and the second touch operation; MCU The 350E sends a request or instruction for instructing the mobile phone to perform the function to the SOC unit 310, so as to request or instruct the SOC unit 310 to trigger one or more devices of the mobile phone to perform the function.
  • the method for the MCU 350E to trigger the mobile phone to perform the functions corresponding to the first touch operation and the second touch operation may include: the MCU 350E shown in FIG. 3 sends the operation information of the first touch operation and the operation information to the SOC unit 310 The operation information of the second touch operation; the SOC unit 310 determines the function indicated by the received operation information; the SOC unit 310 triggers one or more devices of the mobile phone to perform the function.
  • An embodiment of the application provides an interaction method for an electronic device.
  • the mobile phone 20 can send a first prompt message to prompt the user to A touch operation is input in the preset area 203.
  • the mobile phone 20 can also indicate the position of the touch button to the user when the first touch operation is received. In this way, an effective blind touch to the touch-and-press button can be realized, so that the interactive performance of the electronic device can be improved.
  • the method of the embodiment of the present application may further include: the MCU triggers a preset device in the mobile phone 20 to send The second prompt message.
  • the second prompt information is used to prompt the user that the above-mentioned second touch operation is a valid touch operation.
  • the second prompt information may be different from the above-mentioned first prompt information.
  • the above-mentioned first prompt information and second prompt information are both vibration prompts.
  • the vibration frequency and/or the number of vibrations of the second prompt information and the first prompt information may be different.
  • the first prompt information and the second prompt information may also be the same, which is not limited in the embodiment of the present application.
  • the method of this embodiment of the present application may further include: the MCU triggers a preset device in the mobile phone 20 Send out the third prompt message.
  • the third prompt information is used to prompt the user to re-input the touch operation.
  • the third prompt information may be different from the above-mentioned first prompt information and second prompt information.
  • the above-mentioned first prompt information, second prompt information, and third prompt information are all vibration prompts.
  • the vibration frequency and/or the number of vibrations of the third prompt information, the second prompt information and the first prompt information may be different.
  • the MCU can trigger the preset device in the mobile phone 20 to send out the fourth prompt message.
  • the fourth prompt information may be different from the aforementioned third prompt information, first prompt information, and second prompt information.
  • the above-mentioned fourth prompt information, first prompt information, second prompt information, and third prompt information are all vibration prompts.
  • the vibration frequency and/or the number of vibrations of the fourth prompt information and other prompt information may be different.
  • the method of the embodiment of the present application may further include: starting from the MCU executing S403 (that is, the MCU starts the pressure sensor 210), if the touch sensor Y or the pressure sensor 210 is If no touch operation (such as a second touch operation) is detected within the preset time period, the MCU may turn off the pressure sensor 210.
  • the preset duration can be 1 minute, 2 minutes, 3 minutes, 5 minutes, etc.
  • the preset duration can be pre-configured in the mobile phone 20. Alternatively, the preset duration can be set in the mobile phone 20 by the user.
  • the MCU activates the pressure sensor 210, but the touch sensor Y or the pressure sensor 210 does not detect a touch operation within the preset time period, it means that the above-mentioned first touch operation may be a user's accidental touch on the preset area 200. In this case, in order to save power, the MCU can turn off the pressure sensor 210.
  • the touch sensor Y may detect the above-mentioned first touch operation due to a user's mistaken touch, that is, the first touch operation is a user's mistaken touch operation (that is, an unconscious operation of the user).
  • the touch sensor Y or the pressure sensor 210 detects a touch operation within a preset period of time; the above-mentioned first touch operation is less likely to be a false touch operation.
  • the touch sensor Y or the pressure sensor 210 detects a touch operation within a preset time period; the above-mentioned first touch operation is more likely to be a false touch operation.
  • the MCU will activate the pressure sensor 210 in response to the first touch operation. After the pressure sensor 210 is activated, the mobile phone 20 can perform a function in response to the user's second touch operation.
  • the mobile phone 20 can perform corresponding functions in response to the user's mis-touch operation. In this way, the possibility of erroneously touching the touch buttons of the mobile phone 20 is increased.
  • the MCU starts from the MCU starting the pressure sensor 210, if the touch sensor Y or the pressure sensor 210 does not detect a pressing operation within the preset time, the MCU turns off the pressure sensor 210, which can not only reduce the power consumption of the mobile phone 20, save power, but also The anti-mistouch performance of the mobile phone 20 can be improved.
  • the embodiment of the present application takes the first touch operation shown in Figure 6 (a) and Figure 6 (b) as an example, combined with the schematic diagram and diagram of the human-computer interaction process of the mobile phone 20 shown in Figure 7
  • the state machine switching diagram of the mobile phone 20 shown in 8A illustrates the method of the embodiment of the present application.
  • the touch sensor Y does not detect the user's finger touching the preset area 201, the preset area 202, and the preset area 203, that is, the user's finger does not touch the preset area 201, the preset area 202, and the preset area 203. (700 shown in FIG. 7), the mobile phone 20 is in the state 1 (i.e., idle state) shown in FIG. 8A.
  • the user's finger may touch the area below the preset area 202 on the right side frame of the mobile phone 20.
  • the touch sensor Y may detect that the user's finger touches the preset area 202 shown in (a) in FIG. 6 (that is, as shown in FIG. 7) due to the upward sliding of the finger (action 1 shown in FIG. 8A). Shown 710), the mobile phone 20 enters the state 2 shown in FIG. 8A (that is, the up-slip detection state).
  • the touch sensor Y can detect that the user's finger touches Figure 6 (a ) Shown in the preset area 203 (ie, 711 shown in FIG. 7).
  • the MCU of the mobile phone 20 can execute the 712 shown in FIG. 7 (including: (1) activate the pressure sensor 210; (2) trigger the motor vibration prompt), so that the mobile phone 20 enters the state 4 (namely function 1) shown in FIG. 8A. Enable state).
  • the motor vibration prompt in 712 shown in FIG. 7 may be: the first prompt message issued by the preset device in S402.
  • the MCU of the mobile phone 20 can activate the pressure sensor 210 to collect the pressing pressure.
  • the mobile phone 20 can also trigger a motor to vibrate to prompt the user to input a touch operation.
  • the user may input a second touch operation in the preset area 203 (that is, action 3 shown in FIG. 8A).
  • the mobile phone 20 switches from the state 4 shown in FIG. 8A to the state 7 (that is, the function 1 pressed state).
  • the pressure sensor 210 can collect the pressing pressure of the second touch operation
  • the touch sensor Y can collect the operation information of the second touch operation.
  • the MCU of the mobile phone 20 can calculate the pressing signal characteristics of the pressure sensor 210 (that is, execute 713 shown in FIG. 7).
  • the feature of the pressing signal may be the pressing pressure of the second touch operation.
  • the MCU of the mobile phone 20 may execute 714 shown in FIG. 7.
  • 714 shown in FIG. 7 may include: (1) reporting the pressing event of function 1; (2) motor vibration prompting the pressing event to occur.
  • the pressing event of the report function 1 in 714 shown in FIG. 7 is used to execute S406 in the foregoing embodiment.
  • the motor vibration prompt in 714 shown in FIG. 7 may be: the second prompt message issued by the preset device.
  • the above function 1 is determined according to the operation information of the first touch operation and the operation information of the second touch operation.
  • the MCU of the mobile phone 20 can execute 715 shown in FIG. 7.
  • the 715 shown in FIG. 7 may include: (1) reporting the lifting event; (2) the motor vibration prompts the occurrence of the lifting event.
  • the motor vibration prompt in 715 shown in FIG. 7 may be the fourth prompt message issued by a preset device in the mobile phone 20. Among them, in response to the above action 4, the mobile phone 20 is switched from the state 7 shown in FIG. 8A to the state 4.
  • the mobile phone 20 can The state 2 shown in FIG. 8A is switched to the state 1 (i.e., the idle state).
  • the user's finger may touch an area above the preset area 201 on the right side frame of the mobile phone 20.
  • the touch sensor Y may detect that the user's finger touches the preset area 201 shown in (b) in FIG. 6 (that is, as shown in FIG. 7) due to the sliding of the finger (as shown in action 6 in FIG. 8A). 720), the mobile phone 20 enters the state 3 shown in FIG. 8A (that is, the sliding detection state).
  • the touch sensor Y can detect that the user’s finger touches Fig. 6(a) The preset area 203 shown (that is, 721 shown in FIG. 7).
  • the MCU of the mobile phone 20 can execute the 722 shown in FIG. 7 (including: (a) activate the pressure sensor 210; (b) trigger the motor vibration prompt), so that the mobile phone 20 enters the state 5 (that is, the function 2) shown in FIG. 8A. Enable state).
  • the motor vibration prompt in 722 shown in FIG. 7 may be: the first prompt message issued by the preset device.
  • the MCU of the mobile phone 20 can activate the pressure sensor 210 to collect the pressing pressure.
  • the mobile phone 20 can also trigger a motor to vibrate to prompt the user to input a touch operation.
  • the user may input a second touch operation in the preset area 203 (that is, action 8 shown in FIG. 8A).
  • the mobile phone 20 enters the state 6 from the state 5 shown in FIG. 8A (that is, the state where the function 2 is pressed).
  • the pressure sensor 210 can collect the pressing pressure of the second touch operation
  • the touch sensor Y can collect the operation information of the second touch operation.
  • the MCU of the mobile phone 20 can calculate the pressing signal characteristics of the pressure sensor 210 (that is, execute 723 shown in FIG. 7).
  • the feature of the pressing signal may be the pressing pressure of the pressing operation.
  • the MCU of the mobile phone 20 may execute 724 shown in FIG. 7.
  • the 724 shown in FIG. 7 may include: (1) report the pressing event of function 2; (2) the motor vibration prompts the pressing event to occur.
  • the pressing event of the report function 2 in 724 shown in FIG. 7 is used to execute S406 in the foregoing embodiment.
  • the motor vibration prompt in 724 shown in FIG. 7 may be: the second prompt message sent by the preset device.
  • the above function 2 is determined according to the operation information of the first touch operation and the operation information of the second touch operation.
  • the MCU of the mobile phone 20 can execute 725 shown in FIG. 7.
  • the 725 shown in FIG. 7 may include: (1) reporting the lifting event; (2) the motor vibration prompts the occurrence of the lifting event.
  • the motor vibration prompt in 725 shown in FIG. 7 may be the fourth prompt message issued by a preset device in the mobile phone 20.
  • the mobile phone 20 switches from the state 6 shown in FIG. 8A to the state 5 (that is, the function 2 enabled state).
  • the mobile phone 20 After detecting the above-mentioned "slide operation from the preset area 203", if the touch sensor Y detects the "slide operation from the preset area 203 to the preset area 201" (that is, action 10 shown in FIG. 8A), the mobile phone 20 can be switched from state 5 to state 3 shown in FIG. 8A.
  • the mobile phone 20 can The state 3 shown in FIG. 8A is switched to the state 1 (i.e., the idle state).
  • the mobile phone 20 After detecting the above-mentioned “slide operation to the preset area 203", if the touch sensor Y detects the user's lifting operation (that is, action 5 shown in FIG. 8A), the mobile phone 20 can be changed from the state 5 shown in FIG. 8A Switch to state 1 (i.e. idle state).
  • the touch sensor Y After detecting the aforementioned “slide operation to the preset area 203”, if the touch sensor Y detects “slide operation from the preset area 203 to the preset area 202” (that is, action 13 shown in FIG. 8A), the mobile phone 20 Then, the state 5 shown in FIG. 8A can be switched to the state 2.
  • the MCU can turn off the pressure sensor 210.
  • the state machine switching schematic diagram of the mobile phone 20 shown in FIG. 8A can be replaced with the state machine switching schematic diagram shown in FIG. 8B.
  • FIG. 8B when the mobile phone 20 is in the state 4, in response to action 5, it can be determined that the touch sensor Y has not detected a pressing operation within a preset period of time (that is, whether it has timed out).
  • the mobile phone 20 can switch from state 4 to state 7. If no touch operation is detected within the preset time period (that is, timeout), the mobile phone 20 can switch from state 4 to state 1.
  • state machine switching schematic diagrams shown in FIG. 8A and FIG. 8B only give an example of state switching when the mobile phone 20 executes the solution by way of example, and does not limit the protection scope of the present application.
  • the state machine switching when the mobile phone 20 executes the method of the example of the present application includes, but is not limited to, the state machine switching shown in FIG. 8A or FIG. 8B.
  • the above-mentioned electronic device is the mobile phone 20 shown in (a) of FIG. 2A as an example to describe the method of the embodiment of the present application.
  • the preset area 201 of the mobile phone 20 is provided with a touch sensor
  • the preset area 203 is provided with a touch sensor and a pressure sensor 210
  • the preset area 202 is provided with Touch sensor.
  • the preset area where the pressure sensor 210 is located is the preset area 203.
  • the touch sensors provided on the preset area 201, the preset area 202, and the preset area 203 are the same touch sensor (referred to as touch sensor Y) as an example to illustrate the method of the example of the present application.
  • touch sensor Y the same touch sensor
  • the electronic device interaction method provided in the embodiment of the present application may include S801-S807.
  • S801 The mobile phone 20 detects a touch operation through the touch sensor Y.
  • the MCU In response to the touch sensor Y detecting the first touch operation, the MCU triggers a preset device in the mobile phone 20 to send a first prompt message.
  • the first touch operation is a sliding operation to the preset area 203 where the pressure sensor 210 is located.
  • the first touch operation may be a sliding operation from point A to point B as shown in (a) in FIG. 5, and a sliding operation from point C to point D as shown in (b) in FIG. Either the sliding operation from point a to point b shown in (a) in FIG. 6 or the sliding operation from point c to point d shown in (b) in FIG. 6.
  • the mobile phone 20 activates the pressure sensor 210.
  • the mobile phone 20 collects the pressing pressure of the second touch operation through the pressure sensor 210.
  • the second touch operation is a sliding operation in the first direction starting from the preset area 203 or a sliding operation in the second direction.
  • the first direction is opposite to the second direction.
  • the first direction is the upward direction on the side frame of the mobile phone 20
  • the second direction is the upward downward direction on the side frame of the mobile phone 20 as an example.
  • point E is located in the preset area 203
  • point F is located in the preset area 201
  • point G is located in an area above the preset area 201.
  • the aforementioned second touch operation may be a sliding operation from the point E to the point F shown in (a) in FIG. 8D, or may be a sliding operation from the point E to the point G shown in (a) in FIG. 8D.
  • point e is located in the preset area 203
  • point f is located in the area below the preset area 202
  • point g is located in the area below the preset area 202.
  • the above-mentioned second touch operation may be a sliding operation from point e to point f shown in (b) in FIG. 8D, or a sliding operation from point e to point g shown in (b) in FIG. 8D.
  • the MCU determines whether the pressing pressure collected by the pressure sensor 210 is greater than a pressure threshold.
  • the mobile phone 20 may execute S806 or S807. If the pressing pressure is less than or equal to the pressure threshold, the MCU can determine that the second touch operation is a false touch operation, and the MCU will not respond to the second touch operation.
  • the MCU triggers the mobile phone 20 to increase the first parameter.
  • the first parameter is the volume of the mobile phone 20 or the screen brightness.
  • the sliding direction of the first touch operation does not affect the functions performed by the mobile phone 20, and the first touch operation is only for triggering the preset It is assumed that the device sends out the first prompt message and triggers the MCU to activate the pressure sensor 210.
  • the sliding direction of the second touch operation determines the function that the mobile phone 20 needs to perform. Refer to the position distribution of the "volume +" key and "volume -" key on the side frame of the phone. For example, the "volume +" key is above the "volume -" key.
  • the first direction above can be the upward sliding direction
  • the second direction is the downward sliding direction.
  • the second touch operation and the first touch operation described in S401-S406 and S801-S807 may be touch operations in which the user's finger does not leave the right side frame of the mobile phone 20. That is, the above-mentioned first touch operation and second touch operation are continuous touch operations.
  • the method of the embodiment of the present application may further include: starting from the MCU executing S803 (that is, the MCU activates the pressure sensor 210), if the touch sensor Y or the pressure sensor 210 is not detected within a preset period of time When it comes to a touch operation (such as a second touch operation), the MCU can turn off the pressure sensor 210.
  • the embodiment of the present application provides an interaction method of an electronic device, and the method can be applied to an electronic device provided with a touch sensor, a first pressure sensor, and a second pressure sensor.
  • the touch sensor, the first pressure sensor and the second pressure sensor may be arranged on the surface of the electronic device.
  • the touch sensor, the first pressure sensor, and the second pressure sensor may be arranged on the side of the electronic device (such as the left side frame or the right side frame).
  • the electronic device can use the touch effect of the touch sensor and the piezoelectric effect of the first pressure sensor and the second pressure sensor to detect the pressing operation input by the user, so as to realize the related functions of the physical button such as locking the screen and adjusting the volume.
  • the above-mentioned electronic device is the mobile phone 10 shown in (a) of FIG. 1 as an example to describe the method of the embodiment of the present application.
  • the preset area 101 ie, the first preset area
  • the preset area 103 is provided with a touch sensor
  • the preset area 102 ie, the second preset area
  • a pressure sensor 120 ie, a second pressure sensor
  • the touch sensors provided on the preset area 101, the preset area 102, and the preset area 103 are the same touch sensor (referred to as the touch sensor X) as an example to describe the method of the example of the present application.
  • the interaction method of the electronic device provided in the embodiment of the present application may include S900, S901-S905, and S1001-S1005.
  • the mobile phone 10 detects a touch operation through the touch sensor X.
  • the method for detecting the touch operation by the touch sensor X can refer to the specific method for detecting the touch operation by the touch sensor in the conventional technology, which will not be repeated in the embodiment of the present application.
  • the MCU In response to the touch sensor X detecting a sliding operation to the preset area 101 in the first direction (referred to as a first sliding operation), the MCU triggers the preset device to send first prompt information.
  • the first direction is the direction from the preset area 102 to the preset area 101.
  • point 1 is located in the area below the preset area 103
  • point 2 is located in the preset area 102
  • point 3 is located in the preset area
  • point 4 is located in the preset area 102.
  • the first sliding operation may be a sliding operation from point 1 to point 4, a sliding operation from point 2 to point 4, or a sliding operation from point 3 to point 4 shown in (a) of FIG. 10.
  • the sliding direction of the sliding operation is determined by the operation information of the sliding operation.
  • the operation information of the sliding operation is collected by the touch sensor Y.
  • the touch sensor X detects the first sliding operation, it means that the user's finger is placed at the position where the touch button is located.
  • the preset device sends out the first prompt message, the user may input a touch operation (such as a pressing operation) at the position.
  • the MCU may activate the pressure sensor 110 to collect the pressing pressure of a touch operation (such as a pressing operation) input by the user.
  • the mobile phone 10 collects the pressing pressure of the first pressing operation through the pressure sensor 110.
  • the pressure sensor 110 in the embodiment of the present application may be a piezoelectric ceramic sensor. Compared with other pressure sensors, the piezoelectric ceramic sensor has higher sensitivity; therefore, even if the pressing pressure of the first pressing operation is small, the pressure sensor 110 can collect the pressing pressure.
  • the MCU determines whether the pressing pressure collected by the pressure sensor 110 is greater than a pressure threshold.
  • the aforementioned pressure threshold may be pre-configured in the mobile phone 10.
  • the pressure threshold may be stored in the memory of the mobile phone 10 in advance.
  • the MCU of the mobile phone 10 can dynamically adjust the pressure threshold of the pressure sensor 110.
  • the MCU of the mobile phone 10 can dynamically adjust the pressure threshold of the pressure sensor 110 according to the scene information of the mobile phone 10.
  • the method for the MCU to dynamically adjust the pressure threshold of the pressure sensor 110 according to the scene information of the mobile phone 10 reference may be made to related descriptions in the following embodiments, which will not be repeated in this embodiment.
  • the MCU may execute S906. If the pressing pressure collected by the pressure sensor 110 (such as 36g) is less than or equal to the aforementioned pressure threshold (such as 40g), the MCU can determine that the first pressing operation is a false touch operation, and the MCU can ignore the first pressing operation, and the MCU will not respond. It should be the first press operation.
  • the mobile phone 10 executes a function corresponding to the first pressing operation.
  • S905 may include: if the first pressing operation is a single-click operation or a long-press operation, the mobile phone 10 increases the first parameter.
  • the first parameter is the volume of the mobile phone 10 or the brightness of the screen.
  • S905 may further include: if the first pressing operation is a double-tap operation, the mobile phone 10 executes the first function.
  • the first function is one of the following functions: lock screen, screenshot, record screen, turn on camera, and turn on voice assistant.
  • the memory of the mobile phone 10 may store the above-mentioned corresponding table of the first sliding operation, the first pressing operation and the function.
  • Table 2 shows a configuration information table provided by an embodiment of the present application.
  • the configuration information table includes the first sliding operation (that is, the sliding operation to the preset area 101), the corresponding relationship between the operation type and the function of the first pressing operation.
  • the function corresponding to the first sliding operation and the first pressing operation is to increase the volume as shown in Table 2.
  • the functions corresponding to the first sliding operation and the first pressing operation are the screenshots shown in Table 2.
  • the first sliding operation and the first pressing operation of different operation types to trigger the functions executed by the mobile phone 10 may be pre-configured in the mobile phone 10 before it leaves the factory.
  • the first sliding operation and the first pressing operation of different operation types to trigger the functions executed by the mobile phone 10 may also be set by the user in the mobile phone.
  • the mobile phone receives the user's settings, determines the specific method of the first sliding operation and the first pressing operation of different operation types to trigger the functions executed by the mobile phone 10, you can refer to the related setting methods in the conventional technology, and the embodiments of this application will not be repeated here. .
  • the MCU In response to the touch sensor X detecting the sliding operation to the preset area 102 in the second direction (referred to as the second sliding operation), the MCU triggers the preset device to send the first prompt message.
  • the second direction is the direction from the preset area 101 to the preset area 102.
  • point 8 is located in the preset area 102
  • point 7 is located in the preset area 103
  • point 6 is located in the preset area 101
  • point 5 is located in an area above the preset area 101.
  • the second sliding operation may be a sliding operation from point 5 to point 8, a sliding operation from point 6 to point 8, or a sliding operation from point 7 to point 8 as shown in (b) of FIG. 10.
  • the sliding direction of the sliding operation is determined by the operation information of the sliding operation.
  • the operation information of the sliding operation is collected by the touch sensor Y.
  • the MCU in response to the first sliding operation in S902, the MCU triggers the first prompt message sent by the preset device, and in response to the second sliding operation in S1002, the MCU triggers the first prompt message sent by the preset device It can be different. For example, vibration prompts with different vibration frequencies and/or vibration times.
  • the preset device is a motor of the mobile phone 10
  • the first prompt message is a vibration prompt.
  • the vibration prompt issued by the MCU triggering the motor may be one vibration prompt; in response to the second sliding operation, the vibration prompt issued by the MCU triggering the motor may be two consecutive vibration prompts.
  • the MCU in response to the touch sensor X detecting the second sliding operation, the MCU activates the pressure sensor 120.
  • the touch sensor X detects the second sliding operation, it means that the user's finger is placed at the position where the touch button is located.
  • the preset device sends out the first prompt message, the user may input a touch operation (such as a pressing operation) at the position.
  • the MCU may activate the pressure sensor 120 to collect the pressing pressure of a touch operation (such as a pressing operation) input by the user.
  • the mobile phone 10 collects the pressing pressure of the second pressing operation through the pressure sensor 120.
  • the pressure sensor 120 in the embodiment of the present application may be a piezoelectric ceramic sensor. Compared with other pressure sensors, the piezoelectric ceramic sensor has higher sensitivity; therefore, even if the pressing pressure of the second pressing operation is small, the pressure sensor 120 can collect the pressing pressure.
  • the MCU determines whether the pressing pressure collected by the pressure sensor 120 is greater than a pressure threshold.
  • the MCU may execute S906. If the pressing pressure collected by the pressure sensor 120 (such as 36g) is less than or equal to the aforementioned pressure threshold (such as 40g), the MCU can determine that the second pressing operation is a false touch operation, and the MCU can ignore the second pressing operation, and the MCU will not respond. It should be a second press operation.
  • the mobile phone 10 executes a function corresponding to the second pressing operation.
  • S1005 may include: if the second pressing operation is a single-click operation or a long-press operation, the mobile phone 10 lowers the first parameter.
  • the first parameter is the volume of the mobile phone 10 or the brightness of the screen.
  • S1005 may further include: if the second pressing operation is a double-tap operation, the mobile phone 10 executes the second function.
  • the second function is one of the following functions: lock screen, screenshot, record screen, turn on camera, and turn on voice assistant. This second function is different from the first function described above.
  • the memory of the mobile phone 10 may store the above-mentioned corresponding table of the second sliding operation, the second pressing operation and the function.
  • Table 3 shows a configuration information table provided by an embodiment of the present application.
  • the configuration information table includes the second sliding operation (that is, the sliding operation to the preset area 102), and the corresponding relationship between the operation type and the function of the second pressing operation.
  • the functions corresponding to the second sliding operation and the second pressing operation are the volume reduction shown in Table 3.
  • the function corresponding to the second sliding operation and the second pressing operation is to start the voice assistant as shown in Table 3.
  • the embodiment of the present application provides an interaction method for an electronic device.
  • the mobile phone 10 can send a first prompt message to prompt the user to be in the preset area 101 or the preset area.
  • 102 Input touch operation That is, the mobile phone 20 can indicate the position of the touch button to the user when the first sliding operation or the second sliding operation is detected. In this way, an effective blind touch to the touch-and-press button can be realized, so that the interactive performance of the electronic device can be improved.
  • the method of the embodiment of the present application may further include: the MCU triggers a preset device in the mobile phone 10 to send the second prompt message.
  • the second prompt information is used to prompt the user that the first pressing operation or the second pressing operation is a valid touch operation.
  • the method of the embodiment of the present application may further include: the MCU triggers a preset device in the mobile phone 10 to send out the third prompt message.
  • the third prompt information is used to prompt the user to re-input the touch operation.
  • the MCU in response to the touch sensor X detecting the user's lifting operation (for example, the operation of the user's finger leaving the right frame of the mobile phone 10) , the MCU can trigger the preset device in the mobile phone 10 to send the fourth prompt message.
  • the detailed description of the second prompt information, the third prompt information, and the fourth prompt information can refer to the introduction of the second prompt information and the third prompt information in the above-mentioned embodiment, which will not be repeated here in the embodiment of this application. .
  • the method of the embodiment of the present application may further include: starting from the MCU executing S902 (that is, the MCU activates the pressure sensor 110), if the touch sensor X or the pressure sensor 110 is If no touch operation is detected within the preset time period, the MCU can turn off the pressure sensor 110.
  • the MCU executing S1002 ie, the MCU activates the pressure sensor 120
  • the touch sensor X or the pressure sensor 120 does not detect a touch operation within a preset period of time
  • the MCU can turn off the pressure sensor 120.
  • turning off the pressure sensor by the MCU of the mobile phone 10 can not only reduce the power consumption of the mobile phone 10 and save power, but also can improve the anti-mistouch performance of the mobile phone 10.
  • the MCU of the mobile phone 10 turns off the pressure sensor to improve the anti-mistouch performance of the mobile phone 10
  • the embodiment of the present application takes the first sliding operation shown in (a) in FIG. 10 and the second sliding operation shown in (b) in FIG. 10 as examples, combined with the mobile phone 10 shown in FIG. 11
  • the schematic diagram of the human-computer interaction process and the schematic diagram of the state machine switching of the mobile phone 10 shown in FIG. 12A illustrate the method of the embodiment of the present application.
  • the touch sensor X does not detect the user's finger touching the preset area 101, the preset area 102, and the preset area 103, that is, the user's finger does not touch the preset area 101, the preset area 102, and the preset area 103 (1100 shown in FIG. 11), the mobile phone 10 is in the state i (i.e., idle state) shown in FIG. 12A.
  • the touch sensor X can detect the touch operation of the user's finger on the preset area 103 shown in (a) in FIG. 10 or shown in (b) in FIG. 10 (that is, the action i shown in FIG. 12A), That is, the user's finger touches the preset area 102 (ie, 1101 shown in FIG. 11).
  • the mobile phone 20 switches from the state i shown in FIG. 12A to the state ii.
  • the touch sensor X detects that the user's finger touches the preset area 103, it may be detected that the user's finger touches FIG. 10 due to the upward sliding of the user's finger (action ii as shown in FIG. 12A).
  • the preset area 101 shown in (a) that is, 1111 shown in FIG. 11.
  • the MCU of the mobile phone 10 can execute 1112 shown in FIG. 11 (including: (1) activate the pressure sensor 110; (2) trigger the motor vibration prompt), so that the mobile phone 10 enters the state iii shown in FIG. 12A (that is, the function a Enable state).
  • the motor vibration prompt in 1112 shown in FIG. 11 may be: the first prompt message issued by the preset device.
  • the MCU of the mobile phone 10 can activate the pressure sensor 110 to collect the pressing pressure.
  • the MCU of the mobile phone 10 can also trigger the motor to vibrate to prompt the user to input a touch operation at the position of the preset area 101.
  • the user may input the first pressing operation in the preset area 101 (that is, the action v shown in FIG. 12A).
  • the mobile phone 10 enters the state v from the state iii shown in FIG. 12A (that is, the state where the function a is pressed).
  • the pressure sensor 110 may collect the pressing pressure of the first pressing operation
  • the touch sensor X may collect the operation information of the first pressing operation.
  • the MCU of the mobile phone 10 can calculate the characteristics of the pressing signal of the pressure sensor 110 (ie, execute 1113 shown in FIG. 11).
  • the feature of the pressing signal may be the pressing pressure of the first pressing operation.
  • the MCU of the mobile phone 10 may execute 1114 shown in FIG. 11.
  • the 1114 shown in FIG. 11 may include: (1) reporting the pressing event of function a; (2) the motor vibration prompts the pressing event to occur.
  • the pressing event of the reporting function a in 1114 shown in FIG. 11 is used to execute S906 in the foregoing embodiment.
  • the motor vibration prompt in 1114 shown in FIG. 11 may be: the second prompt message sent by the preset device in S907.
  • the aforementioned function a is determined according to the operation information of the first sliding operation and the operation information of the first pressing operation.
  • the MCU of the mobile phone 10 can execute 1115 shown in FIG. 11.
  • 1115 shown in FIG. 11 may include: (1) reporting a lifting event; (2) motor vibration prompting the occurrence of a lifting event.
  • the motor vibration prompt in 1115 shown in FIG. 11 may be the fourth prompt message issued by a preset device in the mobile phone 10.
  • the mobile phone 10 switches from the state v shown in FIG. 12A to the state iii (that is, the function a is enabled state).
  • the mobile phone 10 can be switched from the state iii shown in FIG. 12A to the state ii.
  • the mobile phone 10 After detecting the above-mentioned “slide operation from the preset area 103 to the preset area 101", if the touch sensor X detects the user's lifting operation (that is, the action iv shown in FIG. 12A), the mobile phone 10 can be moved from FIG. 12A The shown state iii is switched to state i (i.e. idle state).
  • the touch sensor X may detect that the user's finger touches the user's finger due to the sliding of the user's finger (action iii shown in FIG. 12A).
  • the MCU of the mobile phone 10 can execute the 1122 shown in FIG. 11 (including: (a) activate the pressure sensor 120; (b) trigger the motor vibration prompt), so that the mobile phone 10 enters the state iv shown in FIG. 12A (that is, the function b) Enable state).
  • the motor vibration prompt in 1122 shown in FIG. 11 may be: the first prompt message issued by the preset device.
  • the MCU of the mobile phone 10 can activate the pressure sensor 120 to collect the pressing pressure.
  • the mobile phone 10 can also trigger a motor to vibrate to prompt the user to input a touch operation at the position of the preset area 102.
  • the user may input a second pressing operation in the preset area 100 (that is, the action v shown in FIG. 12A).
  • the mobile phone 10 enters the state vi from the state iv shown in FIG. 12A (that is, the state where the function b is pressed).
  • the pressure sensor 120 may collect the pressing pressure of the second pressing operation
  • the touch sensor X may collect the operation information of the second pressing operation.
  • the MCU of the mobile phone 10 can calculate the characteristics of the pressing signal of the pressure sensor 120 (that is, execute 1123 shown in FIG. 11).
  • the feature of the pressing signal may be the pressing pressure of the second pressing operation.
  • the MCU of the mobile phone 10 may execute 1124 shown in FIG. 11.
  • the 1124 shown in FIG. 11 may include: (1) reporting the pressing event of function b; (2) the motor vibration prompts the pressing event to occur.
  • the pressing event of the report function b in 1124 shown in FIG. 11 is used to execute S906 in the foregoing embodiment.
  • the motor vibration prompt in 1124 shown in FIG. 11 may be: the second prompt message sent by the preset device in S907.
  • the above function b is determined according to the operation information of the second sliding operation and the operation information of the second pressing operation.
  • the MCU of the mobile phone 10 can execute 1125 shown in FIG. 11.
  • the 1125 shown in FIG. 11 may include: (1) reporting the lifting event; (2) the motor vibration prompts the occurrence of the lifting event.
  • the motor vibration prompt in 1125 shown in FIG. 11 may be the fourth prompt message issued by a preset device in the mobile phone 10.
  • the mobile phone 10 switches from the state vi shown in FIG. 12A to the state iv (that is, the function b is enabled).
  • the mobile phone 10 can be switched from the state iv shown in FIG. 12A to the state ii.
  • the mobile phone 10 After detecting the above-mentioned “slide operation from the preset area 103 to the preset area 102", if the touch sensor X detects the user's lifting operation (that is, the action iv shown in FIG. 12A), the mobile phone 10 can be moved from FIG. 12A The state iv shown is switched to state i (i.e. idle state).
  • the mobile phone 10 can The state ii shown in FIG. 12A is switched to the state i (i.e., the idle state).
  • the MCU may turn off the pressure sensor 110 or the pressure sensor 120.
  • the state machine switching schematic diagram of the mobile phone 10 shown in FIG. 12A can be replaced with the state machine switching schematic diagram shown in FIG. 12B. For example, as shown in FIG.
  • the mobile phone 10 when the mobile phone 10 is in the state iii, in response to the action iv, it can be determined that the touch sensor X has not detected the second pressing operation within the preset time period (that is, whether it has timed out). If a touch operation is detected within the preset time period (that is, it has not timed out), the mobile phone 10 can switch from the state iii to the state v. If no touch operation is detected within the preset time period (ie, timeout), the mobile phone 10 can switch from the state iii to the state i.
  • state machine switching schematic diagrams shown in FIG. 12A and FIG. 12B only give an example of state switching when the mobile phone 10 executes this solution by way of example, and does not limit the protection scope of this application.
  • the state machine switching when the mobile phone 10 executes the method of the example of the present application includes but is not limited to the state machine switching shown in FIG. 12A or FIG. 12B.
  • the mobile phone in response to the above-mentioned first touch operation or third touch operation, can dynamically adjust the pressure sensor according to the current scene (including application scene and/or physical scene) of the mobile phone.
  • the pressure threshold Specifically, the MCU can obtain the scene information of the mobile phone by the above-mentioned third touch operation or the first touch operation.
  • the scene information is used to indicate the scene where the mobile phone is located, and the scene where the mobile phone is located includes an application scene and/or a physical scene. Then, the MCU can query the pressure threshold of the pressure sensor in the scene indicated by the scene information from the memory.
  • the MCU may determine the application scenario of the mobile phone according to the applications running on the mobile phone in the foreground. For example, suppose that when the touch sensor detects the third touch operation or the first touch operation, the mobile phone runs a video application in the foreground; then, the application scene where the mobile phone is located is a video scene. For another example, suppose that when the touch sensor detects the third touch operation or the first touch operation, the mobile phone runs a game application in the foreground; then, the application scene in which the mobile phone is located is a game scene. For another example, suppose that when the touch sensor detects the third touch operation or the first touch operation, the mobile phone runs a phone application in the foreground; then, the application scenario of the mobile phone is a phone scene.
  • the MCU can determine the current physical scene of the mobile phone based on the data collected by one or more devices such as the camera, proximity light sensor, acceleration sensor, and ambient light sensor of the mobile phone.
  • the aforementioned physical scene may include one or more scenes such as a driving scene, a running scene, a static scene, or a pocket scene.
  • the MCU may respond to the third touch operation or the first touch operation to activate one or more devices such as the camera, proximity light sensor, acceleration sensor, and ambient light sensor to collect data for determining the physical scene of the mobile phone.
  • the aforementioned proximity light sensor, acceleration sensor, and ambient light sensor can be activated to collect corresponding data when the mobile phone is turned on; in response to the third touch operation or the first touch operation, the MCU can be based on the proximity light sensor, acceleration sensor, and environment.
  • the data currently collected by the light sensor determines the physical scene where the mobile phone is currently located.
  • the aforementioned camera is activated by the MCU in response to the aforementioned third touch operation or the aforementioned first touch operation.
  • the MCU can detect whether the mobile phone is in a pocket and whether it is in a pocket scene based on the above-mentioned proximity light sensor and data collected by the proximity light sensor.
  • the MCU can determine that the mobile phone is in a driving scene or a running scene according to the motion acceleration of the mobile phone collected by the acceleration sensor. Among them, when the mobile phone is in a driving scene and a running scene, the motion acceleration of the mobile phone is different.
  • the mobile phone can set different pressure thresholds for the pressure sensor for different scenarios.
  • Table 4 shows a table of correspondence between a scenario and a pressure threshold provided in an embodiment of the present application.
  • the pressure threshold may be divided into multiple levels, such as the four levels shown in Table 2.
  • the pressure threshold of each level corresponds to a different pressure value.
  • the four-stage pressure threshold shown in Table 2 is greater than the third-stage pressure threshold
  • the third-stage pressure threshold is greater than the second-stage pressure threshold
  • the second-stage pressure threshold is greater than the first-stage pressure threshold.
  • the first-stage pressure threshold shown in Table 2 may be 35g
  • the second-stage pressure threshold may be 40g
  • the third-stage pressure threshold may be 50g
  • the fourth-stage pressure threshold may be 60g.
  • the pressure threshold includes but is not limited to the foregoing four-level pressure threshold
  • the value of the four-level pressure threshold includes, but is not limited to, the pressure value in the foregoing example.
  • the pressure threshold of the pressure sensor when the application scene of the mobile phone is a lock screen scene and the physical scene is a static scene, the pressure threshold of the pressure sensor is a first-level pressure threshold; when the application scene of the mobile phone is a video scene, the physical scene is a static scene When the pressure threshold of the pressure sensor is a first-level pressure threshold; when the application scene of the mobile phone is an audio scene and the physical scene is a running scene, the pressure threshold of the pressure sensor is a second-level pressure threshold; when the application scene of the mobile phone is a game scene, The pressure threshold of the pressure sensor is a three-level pressure threshold; when the application scene of the mobile phone is a lock screen scene and the physical scene is a pocket scene, the pressure threshold of the pressure sensor is a four-level pressure threshold.
  • the corresponding relationship between the above application scenarios and/or physical scenarios and the pressure threshold can be based on the statistics of a large number of mobile phones in different scenarios (application scenarios and/or physical scenarios) during daily use.
  • the pressing pressure is determined. In scenarios where the user's pressing pressure is high, there is a higher possibility that the touch buttons of the mobile phone will be accidentally touched; therefore, a larger pressure threshold can be set for these scenarios. In scenarios where the user's pressing pressure is low, the possibility that the touch button of the mobile phone is accidentally touched is low; therefore, a smaller pressure threshold can be set for these scenarios.
  • the correspondence between the aforementioned application scenarios and/or physical scenarios and the pressure threshold may also be set by the user in the mobile phone. For the method for the mobile phone to receive the pressure threshold corresponding to each scene set by the user, reference may be made to the related description in the conventional technology, which is not repeated in the embodiment of the present application.
  • the memory of the mobile phone stores multiple scene information, and the pressure threshold of the pressure sensor in the scene indicated by each scene information.
  • the memory of the mobile phone can store the corresponding relationship between the scene and the pressure threshold shown in Table 2.
  • the first pressure threshold is the pressure threshold of the pressure sensor in the scene indicated by the current scene information.
  • the MCU can find from Table 2 stored in the memory that the first pressure threshold is the first-level pressure threshold.
  • the pressure thresholds used when the mobile phone determines whether the pressing pressure of the first pressing operation is greater than the pressure threshold are different.
  • the mobile phone can dynamically adjust the pressure threshold of the pressure sensor according to the scene in which the mobile phone is located.
  • the above-mentioned electronic device (such as a mobile phone) includes a hardware structure and/or software module corresponding to each function.
  • the embodiments of the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software-driven hardware depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered as going beyond the scope of the embodiments of the present application.
  • the embodiments of the present application can divide the above-mentioned electronic devices (such as mobile phones) into functional modules according to the above-mentioned method examples.
  • each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module.
  • the above-mentioned integrated modules can be implemented in the form of hardware or software function modules. It should be noted that the division of modules in the embodiments of the present application is illustrative, and is only a logical function division, and there may be other division methods in actual implementation.
  • FIG. 13 shows a schematic diagram of a possible structure of the electronic device (such as a mobile phone) involved in the foregoing embodiment.
  • the electronic device 1300 may include: a first motion detection module 1301, a second motion detection module 1302, and a trigger module 1303.
  • the first motion detection module 1301 is used to support the electronic device 1300 to perform: detecting the first touch operation, the first sliding operation, and the second sliding operation in the above-mentioned embodiment.
  • the first motion detection module 1301 is used to support the electronic device 1300 to execute S401, S900, S901, and S1001 in the foregoing examples, and/or other processes used in the technology described herein.
  • the function of the first motion detection module 1301 may be implemented by one or more devices such as the MCU and touch sensor of the mobile phone described above.
  • the second action detection module 1302 is used for supporting the electronic device 1300 to perform: detecting the second touch operation, the first pressing operation, and the second pressing operation in the foregoing embodiment.
  • the second action detection module 1302 is used to support the electronic device 1300 to execute S403, S404, S903, S904, S1003, and S1004 in the foregoing embodiment, and/or other processes used in the technology described herein.
  • the function of the second motion detection module 1302 may be implemented by one or more devices such as the aforementioned MCU, pressure sensor, and touch sensor.
  • the trigger module 1303 is used to support the electronic device 1300 to execute: activate the pressure sensor, trigger a preset device (such as a motor) to issue a prompt message, and trigger the mobile phone to perform the function indicated by the operation information of the second touch operation.
  • the trigger module 1303 is used to support the electronic device 1300 to execute S402, S403, S406, S902, S905, S1002, S1002, S1005 in the above method embodiment, and/or other processes used in the technology described herein.
  • the function of the trigger module 1305 can be implemented by the MCU and SOC unit of the mobile phone described above.
  • the electronic device may include a pressure sensor, a touch sensor, a memory, a motor, and a processor.
  • the pressure sensor, touch sensor, memory, motor and processor are coupled.
  • the electronic device may also include devices such as a camera, a proximity light sensor, and an acceleration sensor.
  • the aforementioned pressure sensor may be a piezoelectric pressure sensor.
  • the piezoelectric pressure sensor includes a piezoelectric ceramic sensor.
  • the above-mentioned processor may include the MCU and SOC unit shown in FIG. 3.
  • the aforementioned memory is used to store computer program code, and the computer program code includes computer instructions.
  • the processor executes the computer instructions
  • the electronic device can execute various functions or steps executed by the mobile phone in the foregoing method embodiments.
  • the structure of the electronic device can refer to the structure of the electronic device 300 shown in FIG. 3.
  • the chip system includes at least one processor 1401 and at least one interface circuit 1402.
  • the processor 1401 and the interface circuit 1402 may be interconnected by wires.
  • the interface circuit 1402 may be used to receive signals from other devices (such as the memory of an electronic device).
  • the interface circuit 1402 may be used to send signals to other devices (such as the processor 1401).
  • the interface circuit 1402 may read instructions stored in the memory, and send the instructions to the processor 1401.
  • an electronic device such as the electronic device 300 shown in FIG.
  • the chip system may also include other discrete devices, which are not specifically limited in the embodiment of the present application.
  • An embodiment of the present application also provides a computer storage medium, which includes computer instructions.
  • the computer instructions run on the above-mentioned electronic device (electronic device 300 as shown in FIG. 3), the electronic device is caused to execute the above-mentioned Each function or step performed by the mobile phone in the method embodiment.
  • the embodiments of the present application also provide a computer program product, which when the computer program product runs on a computer, causes the computer to execute each function or step performed by the mobile phone in the above method embodiment.
  • the disclosed device and method may be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods, for example, multiple units or components may be divided. It can be combined or integrated into another device, or some features can be omitted or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate parts may or may not be physically separate.
  • the parts displayed as units may be one physical unit or multiple physical units, that is, they may be located in one place, or they may be distributed to multiple different places. . Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium.
  • the technical solutions of the embodiments of the present application are essentially or the part that contributes to the prior art, or all or part of the technical solutions can be embodied in the form of a software product, and the software product is stored in a storage medium. It includes several instructions to make a device (may be a single-chip microcomputer, a chip, etc.) or a processor (processor) execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the foregoing storage media include: U disk, mobile hard disk, read only memory (read only memory, ROM), random access memory (random access memory, RAM), magnetic disk or optical disk and other media that can store program codes.

Abstract

本申请实施例提供一种电子设备的交互方法及电子设备,涉及触控技术领域和防误触技术领域,可以实现对触压按键的有效盲触,从而可以提升电子设备的交互性能。具体方案包括:电子设备通过触摸传感器检测触摸操作;响应于触摸传感器检测到第一触摸操作,电子设备触发预设器件发出第一提示信息,并启动压力传感器;该第一触摸操作是向预设区域的滑动操作,预设区域是压力传感器所在区域;第一提示信息用于提示用户在预设区域输入触摸操作以控制电子设备;电子设备通过压力传感器采集第二触摸操作的按压压力,第二触摸操作是单击操作、双击操作或者长按操作中的任一种;如果按压压力大于压力门限,电子设备执行第一触摸操作和第二触摸操作对应的功能。

Description

一种电子设备的交互方法及电子设备
本申请要求于2019年10月10日提交国家知识产权局、申请号为201910960039.0、发明名称为“一种电子设备的交互方法及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请实施例涉及触控技术领域,尤其涉及一种电子设备的交互方法及电子设备。
背景技术
随着移动设备技术的发展,一体化将成为一种趋势,这在防水、用户体验方面的优势很大。为了实现移动终端的一体化,电子设备可在需要设置物理按键(也称为实体按键)的区域设置触摸传感器和压力传感器,并利用触摸传感器的触控效应和压力传感器的压电效应检测用户输入的按压操作,从而实现返回、调整音量等物理按键的相关功能。其中,利用触摸传感器的触控效应和压力传感器的压电效应实现按键功能的这类按键可以称为触压按键。或者,也可以将这类按键称为虚拟按键(virtual key)等名称。
然而,触压按键也存在许多待解决的问题。例如,相比于物理按键,用户难以准确定位触压按键的有效触控位置,从而很难实现对触压按键的有效盲触。这样,会带来比较糟糕的用户体验,从而限制了触压按键技术在诸如智能手机、平板电脑等电子设备上的发展。
其中,在包括上述触压按键的电子设备的使用过程中,如何实现对触压按键的有效盲触是亟待解决的问题。
发明内容
本申请实施例提供一种电子设备的交互方法及电子设备,电子设备可以实现对触压按键的有效盲触,从而可以提升电子设备的交互性能。
第一方面,本申请实施例提供一种电子设备的交互方法,该电子设备上设置有触摸传感器和压力传感器。该方法可以包括:电子设备通过触摸传感器检测触摸操作;响应于触摸传感器检测到第一触摸操作,电子设备触发预设器件发出第一提示信息,并启动压力传感器;其中,第一触摸操作是向预设区域的滑动操作,预设区域是所述压力传感器所在区域;第一提示信息用于提示用户在预设区域输入触摸操作以控制电子设备;电子设备通过压力传感器采集第二触摸操作的按压压力,第二触摸操作是单击操作、双击操作或者长按操作中的任一种;如果按压压力大于压力门限,电子设备执行第一触摸操作和第二触摸操作对应的功能。
本申请实施例中,响应于向压力传感器所在的预设区域的滑动操作,电子设备可以发出第一提示信息(如振动提示),以提示用户在滑动操作的对应位置输入触摸操作(如按压操作)。通过本方案,即使用户无法感知触压按键在电子设备上的位置; 电子设备也可以根据用户向第一预设区域的滑动操作,向用户指示触压按键的位置。这样,有助于实现对触压按键的有效盲触,从而可以提升电子设备的交互性能。
并且,本申请实施例,压力传感器不是一直处于工作状态;而是由处理器响应于第一触摸操作启动的,以采集用户输入的触摸操作的按压压力。这样,可以减少电子设备的功耗,节省电子设备的电量。
结合第一方面,在一种可能的设计中,上述第一触摸操作的滑动方向和第二触摸操作的操作类型,可以决定第一触摸操作和第二触摸操作对应的功能。例如,第一触摸操作是沿第一方向向预设区域的滑动操作,或者沿第二方向向预设区域的滑动操作。其中,第一方向与第二方向相反。
一方面,在第二触摸操作的操作类型不变的前提下,第一触摸操作的滑动方向不同,第一触摸操作和第二触摸操作对应的功能不同。另一方面,在第一触摸操作的滑动方向不变的前提下,第二触摸操作的操作类型不同,第一触摸操作和第二触摸操作对应的功能不同。
其中,电子设备执行第一触摸操作和第二触摸操作对应的功能的方法可以包括:如果第一触摸操作是沿第一方向向预设区域的滑动操作,第二触摸操作是单击操作或长按操作,电子设备调高电子设备的第一参数;如果第一触摸操作是沿第二方向向预设区域的滑动操作,第二触摸操作是单击操作或长按操作,电子设备调低第一参数。其中,第一参数可以是电子设备的音量或者屏幕亮度。
电子设备执行第一触摸操作和第二触摸操作对应的功能的方法还可以包括:如果第一触摸操作是沿第一方向向预设区域的滑动操作,第二触摸操作是双击操作,电子设备执行第一功能;如果第一触摸操作是沿第二方向向预设区域的滑动操作,第二触摸操作是双击操作,电子设备执行第二功能。其中,第一功能是以下功能中的一种:锁屏、截屏、录屏、开启摄像头和开启语音助手。第二功能是以下功能中的一种:锁屏、截屏、录屏、开启摄像头和开启语音助手。第二功能与第一功能不同。
第二方面,本申请实施例提供一种电子设备的交互方法,该电子设备上设置有触摸传感器和压力传感器。该方法可以包括:电子设备通过触摸传感器检测触摸操作;响应于触摸传感器检测到第一触摸操作,电子设备触发预设器件发出第一提示信息,并启动压力传感器;其中,第一触摸操作向预设区域的滑动操作,预设区域是压力传感器所在区域;第一提示信息用于提示用户在预设区域输入触摸操作以控制电子设备;电子设备通过压力传感器采集第二触摸操作的按压压力;如果按压压力大于压力门限,第二触摸操作是沿第一方向的滑动操作,电子设备调高电子设备的第一参数;如果按压压力大于压力门限,第二触摸操作是沿第二方向的滑动操作,电子设备调低第一参数。其中,第一参数是电子设备的音量或者屏幕亮度。
需要注意的是,与上述第一方面所述的方法不同的是:第二方面所述的第一触摸操作的滑动方向不会影响电子设备执行的功能,第一触摸操作只是为了触发预设器件发出第一提示信息,并触发电子设备启动压力传感器。
第二方面中所述的第二触摸操作与第一方面所述的第二触摸操作不同。第二方面中所述的第二触摸操作是由预设区域开始沿第一方向的滑动操作或者沿第二方向的滑动操作。其中,第一方向与第二方向相反。第二方面所述的第二触摸操作的滑动方向 决定了电子设备需要执行的功能。其中,第二方面所述方法所能达到的有益效果,可参考如第一方面的有益效果,本申请这里不予赘述。
结合第一方面或第二方面,在一种可能的设计中,为了降低电子设备的功耗,节省电量,上述方法还可以包括:从启动压力传感器开始,如果触摸传感器或者压力传感器在预设时长内未检测到第二触摸操作,电子设备关闭压力传感器。
结合第一方面或第二方面,在另一种可能的设计中,如果压力传感器采集的按压压力大于压力门限,电子设备触发预设器件发出第二提示信息。该第二提示信息用于提示用户第二触摸操作是有效的触摸操作。其中,该第二提示信息与第一提示信息可以不同。
结合第一方面,在另一种可能的设计中,如果压力传感器采集的按压压力小于或等于压力门限,电子设备触发预设器件发出第三提示信息。该第三提示信息用于提示用户重新输入触摸操作。其中,该第三提示信息与第一提示信息和第二提示信息可以不同。
结合第一方面或第二方面,在另一种可能的设计中,上述第一压力传感器和第二压力传感器可以是压电式压力传感器。
结合第一方面或第二方面,在另一种可能的设计中,上述压电式压力传感器压电陶瓷传感器。其中,相比于其他的压力传感器,压力陶瓷传感器的灵敏度更高。
第三方面,本申请实施例提供一种电子设备的交互方法,该电子设备上设置有触摸传感器、第一压力传感器和第二压力传感器。该第一压力传感器设置在第一预设区域,该第二压力传感器设置在第二预设区域。其中,电子设备可以通过触摸传感器检测触摸操作。触摸传感器可能会检测到沿第一方向向第一预设区域的滑动操作(称为第一滑动操作),也可能会检测到沿第二方向向第二预设区域的滑动操作(称为第二滑动操作)。第一方向是由第二预设区域向第一预设区域的方向,第二方向是由第一预设区域向第二预设区域的方向。
响应于触摸传感器检测到第一滑动操作,电子设备可以触发预设器件发出第一提示信息,并启动第一压力传感器。该第一提示信息用于提示用户在第一预设区域输入触摸操作以控制电子设备。电子设备可以通过第一压力传感器采集第一按压操作的按压压力,该第一按压操作可以是单击操作、双击操作或长按操作中的任一种。如果第一压力传感器采集的按压压力大于压力门限,电子设备可以执行第一按压操作对应的功能。
响应于触摸传感器检测到第二滑动操作,电子设备可以触发预设器件发出第一提示信息,并启动第二压力传感器。电子设备可以通过第二压力传感器采集第二按压操作的按压压力,该第二按压操作是单击操作、双击操作或长按操作中的任一种。如果第二压力传感器采集的按压压力大于压力门限,电子设备执行第二按压操作对应的功能。
需要注意的是,与上述第一方面所述的滑动操作的是:第三方面所述的第一滑动操作和第二滑动操作可以触发电子设备启动不同的压力传感器。第三方面中所述的第一按压操作和第二按压操作与第二方面所述的第二触摸操作不同。第一按压操作和第二按压操作可以是单击操作、双击操作或长按操作。而第二方面所述的第二触摸操作 是滑动操作。其中,第二方面所述方法所能达到的有益效果,可参考如第一方面的有益效果,本申请这里不予赘述。
结合第三方面,在一种可能的设计中,上述方法还可以包括:为了降低电子设备的功耗,节省电量,上述方法还可以包括:从启动第一压力传感器开始,如果触摸传感器或者第一压力传感器在预设时长内未检测到第一按压操作,电子设备关闭第一压力传感器。
结合第三方面,在另一种可能的设计中,上述方法还可以包括:为了降低电子设备的功耗,节省电量,上述方法还可以包括:从启动第二压力传感器开始,如果触摸传感器或者第二压力传感器在预设时长内未检测到第二按压操作,电子设备关闭第二压力传感器。
结合第三方面,在另一种可能的设计中,电子设备执行第一按压操作对应的功能,可以包括:如果第一按压操作是单击操作或长按操作,电子设备调高电子设备的第一参数。电子设备执行第二按压操作对应的功能,可以包括:如果第二按压操作是单击操作或长按操作,电子设备调低第一参数。其中,第一参数是电子设备的音量或者屏幕亮度。
结合第三方面,在另一种可能的设计中,电子设备执行第一按压操作对应的功能,还可以包括:如果第一按压操作是双击操作,电子设备执行第一功能。电子设备执行第二按压操作对应的功能,可以包括:如果第二按压操作是双击操作,电子设备执行第二功能。其中,第一功能和第二功能的详细描述可以参考上述实施例中的相关内容,本申请实施例这里不予赘述。
第四方面,本申请实施例提供一种电子设备,该电子设备包括:存储器和处理器。该电子设备上还设置有触摸传感器和压力传感器。该存储器、触摸传感器、压力传感器和处理器耦合。该存储器用于存储计算机程序代码,该计算机程序代码包括计算机指令,当该计算机指令被处理器执行时,使得电子设备执行以下操作:通过触摸传感器检测触摸操作;响应于触摸传感器检测到第一触摸操作,触发预设器件发出第一提示信息,并启动压力传感器;通过压力传感器采集第二触摸操作的按压压力;如果按压压力大于压力门限,执行第一触摸操作和第二触摸操作对应的功能。
其中,第四方面的第一触摸操作、第二触摸操作、第一提示信息和预设区域的详细描述,可以参考第一方面中的相关介绍,本申请实施例这里不予赘述。
结合第四方面,在一种可能的设计中,第一触摸操作是沿第一方向向预设区域的滑动操作,或者沿第二方向向预设区域的滑动操作。其中,第一方向与第二方向相反。当计算机指令被处理器执行时,使得电子设备还执行以下操作:如果第一触摸操作是沿第一方向向预设区域的滑动操作,第二触摸操作是单击操作或长按操作,调高电子设备的第一参数;其中,第一参数是电子设备的音量或者屏幕亮度;如果第一触摸操作是沿第二方向向预设区域的滑动操作,第二触摸操作是单击操作或长按操作,调低第一参数;如果第一触摸操作是沿第一方向向预设区域的滑动操作,第二触摸操作是双击操作,执行第一功能;如果第一触摸操作是沿第二方向向预设区域的滑动操作,第二触摸操作是双击操作,执行第二功能。其中,第一功能和第二功能的详细描述可以参考上述实施例中的相关内容,本申请实施例这里不予赘述。
第五方面,本申请实施例提供一种电子设备,该电子设备包括:存储器和处理器。该电子设备上还设置有触摸传感器和压力传感器。该存储器、触摸传感器、压力传感器和处理器耦合。该存储器用于存储计算机程序代码,该计算机程序代码包括计算机指令,当该计算机指令被处理器执行时,使得电子设备执行以下操作:通过触摸传感器检测触摸操作;响应于触摸传感器检测到第一触摸操作,触发预设器件发出第一提示信息,并启动压力传感器;通过压力传感器采集第二触摸操作的按压压力;其中,第一方向与第二方向相反;如果按压压力大于压力门限,第二触摸操作是沿第一方向的滑动操作,调高电子设备的第一参数;其中,第一参数是电子设备的音量或者屏幕亮度如果按压压力大于压力门限,第二触摸操作是沿第二方向的滑动操作,调低第一参数。
其中,第五方面的第一触摸操作、第二触摸操作、第一提示信息和预设区域的详细描述,可以参考第二方面中的相关介绍,本申请实施例这里不予赘述。
结合第四方面或第五方面,在一种可能的设计中,当计算机指令被处理器执行时,使得电子设备还执行以下操作:从启动压力传感器开始,如果触摸传感器或者压力传感器在预设时长内未检测到第二触摸操作,关闭压力传感器。
结合第四方面或第五方面,在一种可能的设计中,当计算机指令被处理器执行时,使得电子设备还执行以下操作:如果按压压力大于压力门限,触发预设器件发出第二提示信息,第二提示信息用于提示用户第二触摸操作是有效的触摸操作。
结合第四方面或第五方面,在一种可能的设计中,当计算机指令被处理器执行时,使得电子设备还执行以下操作:如果按压压力小于或等于压力门限,触发预设器件发出第三提示信息,第三提示信息用于提示用户重新输入触摸操作。
第六方面,本申请实施例提供一种电子设备,该电子设备包括:存储器和处理器。该电子设备上还设置有电子设备上还设置有触摸传感器、第一压力传感器和第二压力传感器。该存储器、触摸传感器、第一压力传感器、第二压力传感器和处理器耦合。该存储器用于存储计算机程序代码,该计算机程序代码包括计算机指令,当该计算机指令被处理器执行时,使得电子设备执行以下操作:通过触摸传感器检测触摸操作;响应于触摸传感器检测到沿第一方向向第一预设区域的滑动操作,触发预设器件发出第一提示信息,并启动第一压力传感器;通过第一压力传感器采集第一按压操作的按压压力;如果第一压力传感器采集的按压压力大于压力门限,执行第一按压操作对应的功能。响应于触摸传感器检测到沿第二方向向第二预设区域的滑动操作,触发预设器件发出第一提示信息,并启动第二压力传感器;通过第二压力传感器采集第二按压操作的按压压力,如果第二压力传感器采集的按压压力大于压力门限,执行第二按压操作对应的功能。
其中,第六方面的第一方向、第二方向、第一预设区域、第二预设区域、第一按压操作和第二按压操作的详细描述,可以参考第三方面中的相关介绍,本申请实施例这里不予赘述。
结合第六方面,在一种可能的设计中,当计算机指令被处理器执行时,使得电子设备还执行以下操作:从启动第一压力传感器开始,如果触摸传感器或者第一压力传感器在预设时长内未检测到第一按压操作,关闭第一压力传感器。
结合第六方面,在另一种可能的设计中,当计算机指令被处理器执行时,使得电子设备还执行以下操作:从启动第二压力传感器开始,如果触摸传感器或者第二压力传感器在预设时长内未检测到第二按压操作,关闭第二压力传感器。
结合第六方面,在另一种可能的设计中,当计算机指令被处理器执行时,使得电子设备还执行以下操作:如果第一按压操作是单击操作或长按操作,调高电子设备的第一参数;如果第二按压操作是单击操作或长按操作,调低第一参数。其中,第一参数是电子设备的音量或者屏幕亮度。
结合第六方面,在另一种可能的设计中,当计算机指令被处理器执行时,使得电子设备还执行以下操作:如果第一按压操作是双击操作,执行第一功能;如果第二按压操作是双击操作,执行第二功能。其中,第一功能和第二功能的详细描述可以参考上述实施例中的相关内容,本申请实施例这里不予赘述。
第七方面,本申请实施例提供一种芯片系统,该芯片系统应用于设置有触摸传感器和第一压力传感器的电子设备。该芯片系统包括接口电路和处理器。该接口电路和处理器通过线路互联。该接口电路用于从电子设备的存储器接收信号,并向处理器发送该信号,该信号包括存储器中存储的计算机指令。当处理器执行所述计算机指令时,电子设备执行如第一方面及其任一种可能的设计所述的方法。
第八方面,本申请实施例提供一种计算机存储介质,该计算机存储介质包括计算机指令,当所述计算机指令在电子设备上运行时,使得所述电子设备执行如第一方面及其任一种可能的设计所述的方法。
第九方面,本申请实施例提供一种计算机程序产品,当所述计算机程序产品在计算机上运行时,使得所述计算机执行如第一方面及其任一种可能的设计所述的方法。
可以理解地,上述提供的第四方面、第五方面和第六方面及其任一种可能的设计所述的电子设备,第七方面所述的芯片系统,第八方面所述的计算机存储介质,第九方面所述的计算机程序产品所能达到的有益效果,可参考如第一方面、第二方面和第三方面及其任一种可能的设计中的有益效果,此处不再赘述。
附图说明
图1为本申请实施例提供的一种手机10的预设区域设置触压按键的形态示意图;
图2A为本申请实施例提供的另一种手机20的预设区域设置触压按键的形态示意图;
图2B为本申请实施例提供的另一种手机20的右侧视图;
图3为本申请实施例提供的一种电子设备的硬件结构示意图;
图4为本申请实施例提供的一种电子设备的交互方法流程图;
图5为本申请实施例提供的一种第一触摸操作的实例示意图;
图6为本申请实施例提供的另一种第一触摸操作的实例示意图;
图7为本申请实施例提供的一种手机20的人机交互过程示意图;
图8A为本申请实施例提供的一种手机20的状态机切换示意图;
图8B为本申请实施例提供的另一种手机20的状态机切换示意图;
图8C为本申请实施例提供的另一种电子设备的交互方法流程图;
图8D为本申请实施例提供的另一种第一触摸操作的实例示意图;
图9为本申请实施例提供的一种电子设备的交互方法流程图;
图10为本申请实施例提供的一种第一滑动操作和第二滑动操作的实例示意图;
图11为本申请实施例提供的一种手机10的人机交互过程示意图;
图12A为本申请实施例提供的一种手机10的状态机切换示意图;
图12B为本申请实施例提供的另一种手机10的状态机切换示意图;
图13为本申请实施例提供的一种电子设备的结构示意图;
图14为本申请实施例提供的一种芯片系统的结构示意图。
具体实施方式
以下,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。例如,第一压力传感器和第二压力传感器用于表示两个压力传感器。在本实施例的描述中,除非另有说明,“多个”的含义是两个或两个以上。
本申请实施例提供一种电子设备的交互方法。该方法可以应用于设置有触压按键(virtual key)的电子设备。例如,上述触压按键可以设置在电子设备的表面,与电子设备的显示屏所在位置不同。例如,该触压按键可以设置在电子设备的侧边框(如左侧边框或右侧边框)上。
其中,电子设备上设置有触压按键,具体是指:该电子设备上设置有触摸传感器和压力传感器。例如,触摸传感器和压力传感器可以设置在电子设备上需要设置按键的位置。电子设备可以利用触摸传感器的触控效应和压力传感器的压电效应检测用户输入的按压操作,从而实现锁屏、调整音量等物理按键的相关功能。这样,可以减少电子设备表面设置的物理按键,使电子设备的外观更加美观。在另一些实施例中,也可以将这类按键称为虚拟按键(virtual key)等名称,本申请实施例对此不作限制。
示例性的,以上述电子设备是手机为例,触压按键可以设置在手机的侧边框(如左侧边框或右侧边框)上。其中,手机的侧边框上可以设置一个或多个触摸传感器和一个或多个压力传感器。
例如,以触压按键设置在图1中的(a)所示的手机10的右侧边框上为例。图1中的(b)示出用于实现触压按键的触摸传感器和压力传感器在图1中的(a)所示的手机10的右侧边框的分布。如图1中的(b)所示,手机10的右侧边框的预设区域101设置有触摸传感器和压力传感器110,预设区域103设置有触摸传感器,预设区域102设置有触摸传感器和压力传感器120。其中,压力传感器110设置在预设区域101的触摸传感器的下层,压力传感器120设置在预设区域102的触摸传感器的下层。
示例性的,压力传感器110和压力传感器120在手机10的右侧边框的位置可以参考物理按键(如“音量+”键和“音量-”键)在手机侧边框的位置设置。例如,压力传感器110可以设置在“音量+”键在手机侧边框的位置,压力传感器120可以设置在“音量-”键在手机侧边框的位置。预设区域101是压力传感器110所在区域,预设区域102是压力传感器120所在区域,预设区域103在预设区域101和预设区域102之间。其中,预设区域101、预设区域102和预设区域103的大小预先配置在手机10中。
在一些实施例中,预设区域101、预设区域102和预设区域103上设置的触摸传 感器可以是同一个触摸传感器。也就是说,手机10的右侧边框可以设置一个触摸传感器(称为触摸传感器X),该触摸传感器X至少设置在右侧边框的预设区域101、预设区域102和预设区域103。当然,该触摸传感器X还可以设置于手机10的整个右侧边框,本申请实施例对此不作限制。
其中,如果手机10是曲面屏手机,那么触摸传感器X与手机10的触摸屏中的触摸传感器是一体的,即触摸传感器X是手机10的触摸屏中的触摸传感器。如果手机10的触摸屏是平面屏手机,那么触摸传感器X则是独立于手机10的触摸屏的触摸传感器,即触摸传感器X与手机10的触摸屏中的触摸传感器不同。
在另一些实施例中,预设区域101、预设区域102和预设区域103上设置的触摸传感器可以是至少两个触摸传感器。例如,手机10是平面屏手机,手机10的右侧边框的预设区域101、预设区域102和预设区域103可以分别设置一个触摸传感器。
需要说明的是,本申请实施例中,以预设区域101、预设区域102和预设区域103上设置的触摸传感器是同一个触摸传感器(如触摸传感器X)为例,对本申请实例的方法进行说明。
又例如,以触压按键设置在图2A中的(a)所示的手机20的右侧边框上为例。图2A中的(b)示出用于实现触压按键的触摸传感器和压力传感器在图2A中的(a)所示的手机20的右侧边框的分布。如图2A中的(b)所示,手机20的右侧边框的预设区域201设置有触摸传感器,预设区域203设置有触摸传感器和压力传感器210,预设区域202设置有触摸传感器。其中,压力传感器210设置在预设区域203的触摸传感器的下层。
示例性的,压力传感器210在手机20的右侧边框的位置可以参考物理按键(如“音量+”键和“音量-”键)在手机侧边框的位置设置。例如,压力传感器210可以设置在“音量+”键在手机侧边框的位置和“音量-”键在手机侧边框的位置的中间。预设区域203是压力传感器210所在区域。预设区域201在手机20的右侧边框上,位于预设区域201以上。预设区域202在手机20的右侧边框上,位于预设区域201以下。其中,预设区域201、预设区域202和预设区域203的大小预先配置在手机20中。
在一些实施例中,预设区域201、预设区域202和预设区域203上设置的触摸传感器可以是同一个触摸传感器(称为触摸传感器Y)。触摸传感器Y在手机20的右侧边框的设置方式,以及触摸传感器Y的具体形态可以参考上述实例对触摸传感器X的详细描述,本申请实施例这里不予赘述。
在另一些实施例中,预设区域201、预设区域202和预设区域203上设置的触摸传感器可以是至少两个触摸传感器。例如,手机20是平面屏手机,手机20的右侧边框的预设区域201、预设区域202和预设区域203可以分别设置一个触摸传感器。
示例性的,本申请实施例中的压力传感器(如压力传感器110、压力传感器120和压力传感器210)可以是压电式压力传感器。该压电式压力传感器可以是压电陶瓷传感器。相比于其他的压力传感器,该压电陶瓷传感器的灵敏度更高。
当然,手机的两个侧边框(如左侧边框和右侧边框)上均可以设置触压按键。即手机的左侧边框和右侧边框上都可以设置一个或多个压力传感器和一个或多个触摸传感器(附图未示出),以实现触压按键的功能。
一般而言,与物理按键不同的是,设置在电子设备上的触压按键对用户不可见。例如,请参考图2B,其示出图2A中的(a)所示的手机20的右侧视图。如图2B中的(a)所示,触压按键对用户不可见。并且,用户的手指触摸手机20的右侧边框时,也不能通过触觉感受到该触压按键的存在,从而难以通过盲触准确定位触压按键的位置,故无法通过盲触完成对手机的触控。
在本申请实施例中,用户通过盲触触控手机是指:用户不依靠视觉查看按键位置,而仅通过触觉感知手机上的物理按键在手机上的位置,并在感知的位置按压以触控手机,实现各项功能。
当然,为了方便用户使用,也有一些设置手机上的触压按键对用户可见的标识。例如,如图2B中的(b)所示,手机20的右侧边框包括标记220,该标记220用于标识触压按键所在位置。但是,用户仍然不能通过触觉感受到该触压按键的存在,从而难以通过盲触准确定位触压按键的有效触控位置,故无法通过盲触完成对手机的触控。
本申请实施例提供电子设备的交互方法,响应于向压力传感器所在的预设区域的滑动操作,电子设备可以发出提示信息(如振动提示),以提示用户在滑动操作的对应位置(即压力传感器所在的预设区域)对电子设备输入按压操作。
通过本方案,即使用户无法感知触压按键在电子设备上的位置;电子设备也可以根据用户向预设区域(如第一预设区域)的滑动操作,向用户指示触压按键的位置。这样,有助于用户实现对触压按键的有效盲触,从而可以提升电子设备的交互性能。
示例性的,本申请实施例中的电子设备可以是手机、平板电脑、桌面型、膝上型、手持计算机、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本,以及蜂窝电话、个人数字助理(personal digital assistant,PDA)、增强现实(augmented reality,AR)\虚拟现实(virtual reality,VR)设备等设置有触压按键的设备,本申请实施例对该电子设备的具体形态不作特殊限制。
下面将结合附图对本申请实施例的实施方式进行详细描述。
本申请实施例这里以上述电子设备是手机为例,示出一种电子设备300的结构示意图。如图3所示,该电子设备300可以包括:片上系统(System on Chip,SOC)单元310、存储单元320、电源单元330、显示触控单元340、传感器单元350、音频输入/输出单元360、摄像单元370和无线通信单元380。
其中,上述传感器单元350可以包括:微处理单元(Microcontroller Unit,MCU)350E、马达350F,以及压力传感器350A、触摸传感器350B、接近传感器350C、加速度传感器350D和陀螺仪传感器等传感器。其中,传感器单元350中的传感器包括但不限于上述传感器。例如,传感器单元350还可以包括:气压传感器,磁传感器,距离传感器,指纹传感器,温度传感器,环境光传感器和骨传导传感器等传感器。
可以理解的是,本实施例示意的结构并不构成对电子设备300的具体限定。在另一些实施例中,电子设备300可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
其中,上述SOC单元310中集成有电子设备的处理器,该处理器可以包括一个或多个处理单元。例如:该处理器可以包括应用处理器(application processor,AP), 调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。
控制器可以是电子设备300的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。
上述处理器中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器中的存储器为高速缓冲存储器。该存储器可以保存处理器刚用过或循环使用的指令或数据。如果处理器需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器的等待时间,因而提高了系统的效率。
上述电源单元330可以包括:电池、充电管理模块和电源管理模块。其中,充电管理模块用于从充电器接收充电输入。充电器可以是无线充电器,也可以是有线充电器。充电管理模块为电池充电的同时,还可以通过电源管理模块为电子设备供电。电源管理模块用于连接电池,充电管理模块与SOC单元310。电源管理模块接收电池和/或充电管理模块的输入,为SOC单元310,MCU 350E,存储单元(即存储器)320,显示触控单元340,摄像单元370,和无线通信单元380等供电。
电子设备300通过GPU,显示触控单元340,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示触控单元340和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。上述处理器可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。
显示触控单元340可以包括显示屏,该显示屏用于显示图像,视频等。该显示屏可以包括显示面板。该显示触控单元340中还可以设置有触摸传感器350B,也称为“触控面板”。也就是说,上述显示触控单元340可以是由触摸传感器350B与显示屏组成触摸屏,也称“触控屏”。上述触摸传感器350B用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏提供与触摸操作相关的视觉输出。
在本申请实施例中,触摸传感器350B也可以设置于电子设备300的表面,与显示屏所处的位置不同。例如,如图1中的(a)或图2A中的(a)所示,手机的右侧边框上设置有触摸传感器。在一些实施例中,手机的左侧边框和右侧边框上均可以设置用于实现触压按键的功能的触摸传感器(附图未示出)。
也就是说,电子设备300可以包括一个或多个触摸传感器350B。例如,电子设备300可以包括触摸传感器350B-1和触摸传感器350B-2。触摸传感器350B-1可以设置于显示屏,触摸传感器350B-2可以设置于电子设备300的侧边框上。
在另一些实施例中,上述触摸传感器350B-1和触摸传感器350B-2可以是一个触摸传感器。例如,当电子设备300是曲面屏手机时,触摸传感器350B-1和触摸传感器350B-2是一个触摸传感器。
电子设备300设置有一个或多个压力传感器350A。压力传感器350A用于感受压力信号,可以将压力信号转换成电信号。本申请实施例中,上述显示屏可以设置有压力传感器350A。压力传感器350A还可以设置在电子设备300的表面,与显示屏所处 的位置不同。例如,如图1中的(b)所示,手机10的右侧边框设置有压力传感器110和压力传感器120。如图2A中的(b)所示,手机20的右侧边框设置有压力传感器210。
其中,压力传感器350A的种类很多。如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。本申请实施例中的压力传感器350A还可以是压电式压力传感器。该压电式压力传感器可以是压电陶瓷传感器。相比于其他的压力传感器,压电陶瓷传感器的灵敏度更高。
本申请实施例中,上述触摸传感器与压力传感器可以配合工作,作为触压按键代替物理按键(如实体音量键或实体锁屏键等),为用户提供控制手机的各项功能(如调高音量或锁屏等)。
传感器单元350中的MCU 350E连接传感器单元350中的各个器件(如压力传感器350A、触摸传感器350B、接近光传感器350C、加速度传感器305D、马达350F和陀螺仪传感器等)。MCU 350E还连接SOC单元310。MCU 350E可以接收上述各个传感器采集的参数,并对接收的参数进行处理,然后向SOC单元310发送信号以使得SOC单元310触发电子设备100的各个器件执行相应的功能。
例如,当有触摸操作(如滑动操作)作用于显示屏或者电子设备300的触压按键时,触摸传感器350B可以采集到该滑动操作的操作信息,如滑动操作的位置信息等。MCU 350E可以根据触摸传感器350B采集的操作信息,判断该滑动操作是否为向用于实现触压按键的功能的压力传感器所在的预设区域的滑动操作;如果该滑动操作是向上述预设区域的滑动操作,MCU 350E则可以触发马达350F发出振动提示,以提示用户在该上述滑动操作对应位置对电子设备输入按压操作。并且,MCU 350E还可以启动压力传感器350A以采集用户输入的按压操作的按压压力。
如此,MCU 350E便可以接收压力传感器350A采集的按压压力;然后,判断该按压压力是否大于压力传感器350A的压力门限;如果该按压压力大于压力门限,则可以确定该按压操作是有效按压操作。此时,MCU 350E可以触发SOC单元310响应于该有效按压操作,执行相应的功能。
在一些实施例中,MCU 350E还可以动态调整压力传感器350A的压力门限。例如,MCU 350E可以根据电子设备300的物理场景和应用场景,以及按压操作的操作类型等,动态调整压力传感器350A的压力门限。其中,按压操作的操作类型为长按、单击、双击或者滑动等任一种。电子设备调整压力传感器350A的压力门限的具体方法,可以参考以下实施例中的详细描述,本申请实施例这里不予赘述。
本申请实施例中,按压压力和压力门限的单位可以为牛顿,简称牛,单位符号为N。在物理学中,用公式G=mg求物体的重力。其中,G为重力,m为质量,g为常数,g约为9.8N/kg。即重力与质量成正比,因此本实施例中也可以采用质量m的单位作为按压压力和压力门限的单位。其中,质量m的单位为千克(单位符号为kg)或者克(单位符号为g)。例如,本实施例中,按压压力和压力门限的单位可以为克,单位符号为g。
加速度传感器350D可检测电子设备300在各个方向上(一般为三轴)加速度的大小。当电子设备300静止时可检测出重力的大小及方向。还可以用于识别电子设备的姿态,应用于横竖屏切换,计步器等应用。本申请实施例中,加速度传感器350D可以 用于采集电子设备300的运动参数,用以确定电子设备300的物理场景。例如,如图1中的(a)或图2A中的(a)所示,手机中设置有加速度传感器。
接近光传感器350C可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。电子设备300通过发光二极管向外发射红外光。电子设备300使用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定电子设备300附近有物体。本申请实施例中,接近光传感器350C采集的光线参数,用以确定电子设备300的物理场景。例如,如图1中的(a)或图2A中的(a)所示,手机中设置有接近光传感器。环境光传感器用于感知环境光亮度。电子设备300可以根据感知的环境光亮度自适应调节显示屏亮度。环境光传感器还可以与接近光传感器350C配合,检测电子设备300是否在口袋里(即确定电子设备300的物理场景),以防误触。
陀螺仪传感器可以用于确定电子设备300的运动姿态。气压传感器用于测量气压。磁传感器包括霍尔传感器。距离传感器,用于测量距离。电子设备300可以通过红外或激光测量距离。
马达350F可以产生振动提示。马达350F可以用于来电振动提示,也可以用于触摸/按压振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸/按压操作,可以对应不同的振动反馈效果。作用于显示屏不同区域的触摸/按压操作,马达350F也可对应不同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。触摸/按压振动反馈效果还可以支持自定义。
本申请实施例中,作用于图1中的(a)或图2A中的(a)所示的不同预设区域的触摸操作,可以对应不同的振动反馈效果。可选的,作用于图1中的(a)或图2A中的(a)所示的同一个预设区域的不同操作类型的触摸操作,也可以对应不同的振动反馈效果。
电子设备300还可以包括移动通信单元。其中,电子设备300的无线通信功能可以通过天线,移动通信单元,无线通信单元380,调制解调处理器以及基带处理器等实现。
移动通信单元可以提供应用在电子设备300上的包括2G/3G/4G/5G等无线通信的解决方案。无线通信单元380可以提供应用在电子设备300上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。
电子设备300可以通过ISP,摄像单元370,视频编解码器,GPU,显示触控单元340以及应用处理器等实现拍摄功能。
ISP用于处理摄像单元370反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化,对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置 在摄像单元370中。
摄像单元370中可以包括一个或多个摄像头,如前置摄像头和后置摄像头。摄像头用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。
存储单元320(即存储器)可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。该存储单元320可以集成在SOC单元310中实现。或者,如图3所示,存储单元320可以是独立于SOC单元310的一个器件。SOC单元310中的处理器通过运行存储在存储单元320的指令,从而执行电子设备300的各种功能应用以及数据处理。例如,在本申请实施例中,处理器可以通过执行存储在存储单元320中的指令,存储单元320可以包括存储程序区和存储数据区。
其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储电子设备300使用过程中所创建的数据(比如音频数据,电话本等)等。此外,存储单元320可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。
电子设备300可以通过音频输入/输出单元360以及应用处理器等实现音频功能。例如音乐播放,录音等。例如,该音频输入/输出单元360可以包括:音频模块、扬声器、受话器,麦克风和耳机接口等。音频模块用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。扬声器,也称“喇叭”,用于将音频电信号转换为声音信号。受话器,也称“听筒”,用于将音频电信号转换成声音信号。麦克风,也称“话筒”,“传声器”,用于将声音信号转换为电信号。耳机接口用于连接有线耳机。
当然,电子设备300中的器件包括但不限于上述器件。例如,电子设备300还可以包括指示器(如指示灯),以及用户标识模块(subscriber identification module,SIM)卡接口等。其中,上述指示器用于指示充电状态、通知或未经来电等。电子设备300的其他器件的详细描述,本申请实施例这里不予赘述。
以下实施例中的方法均可以在具有上述硬件结构的电子设备300中实现。以下实施例中以上述电子设备300是手机为例,对本申请实施例的方法进行说明。
本申请实施例提供一种电子设备的交互方法,该方法可以应用于设置有触摸传感器和第一压力传感器的电子设备。该触摸传感器和第一压力传感器可以设置在电子设备的表面。例如,该触摸传感器和压力传感器可以设置在电子设备的侧面(如左侧边框或右侧边框)。电子设备可以利用触摸传感器的触控效应和第一压力传感器的压电效应检测用户输入的按压操作,从而实现锁屏、调整音量等物理按键的相关功能。
示例性的,本申请实施例这里以上述电子设备是图2A中的(a)所示的手机20为例,对本申请实施例的方法进行说明。如图2A中的(a)或图2A中的(b)所示,手机20的预设区域201设置有触摸传感器、预设区域203设置有触摸传感器和压力传感器210,预设区域202设置有触摸传感器。其中,压力传感器210所在的预设区域 是预设区域203。
本申请实施例中,以预设区域201、预设区域202和预设区域203上设置的触摸传感器是同一个触摸传感器(称为触摸传感器Y)为例,对本申请实例的方法进行说明。如图4所示,本申请实施例提供的电子设备的交互方法可以包括S401-S406。
S401、手机20通过触摸传感器Y检测触摸操作。
其中,触摸传感器Y可以采集触摸操作的操作信息。触摸操作的操作信息可以指示该触摸操的操作类型和操作位置。例如,上述触摸操作可以是滑动操作、单击操作、双击操作或长按操作中的任一种。
S402、响应于触摸传感器Y检测到第一触摸操作,MCU触发手机20中的预设器件发出第一提示信息。
其中,该第一触摸操作是向预设区域203的滑动操作。具体的,上述第一触摸操作的操作信息指示该第一触摸操作是向预设区域203的滑动操作。第一触摸操作的操作信息指示第一触摸操作的操作类型和操作位置。该第一触摸操作的操作类型为滑动操作。该第一触摸操作的操作位置包括向预设区域203的滑动轨迹。
示例性的,上述预设器件可以为手机20的马达。例如,当手机20是图3所示的电子设备300时,预设器件可以是图3所示的马达350F。预设器件是手机20的马达时,第一提示信息可以为振动提示。或者,上述预设器件还可以是手机20的扬声器,第一提示信息可以是语音提示。其中,上述第一提示信息用于提示用户在预设区域203输入触摸操作以控制手机20。
可以理解,如果触摸传感器Y检测到向压力传感器210所在的预设区域203的滑动操作,则表示用户的手指放置在压力传感器210所在的预设区域203,即用户的手指放置在触压按键所在位置。此时,手机20可以发出第一提示信息,以提示用户输入触摸操作(如按压操作)以控制手机20。
其中,触摸传感器Y可以向MCU传输该第一触摸操作的操作信息。MCU根据第一触摸操作的操作信息,可以确定触摸传感器Y检测到第一触摸操作。此时,MCU可以触发预设器件可以发出第一提示信息,以提示用户输入触摸操作以控制手机20。
需要说明的是,用户在手机20的右侧边框输入上述第一触摸操作时,该用户的手指会接触手机20的右侧边框;并且,用户的手指可能会接触手机20的右侧边框上的任一位置。也就是说,用户可能会从手机20的右侧边框上的任一位置开始,输入向预设区域203的滑动操作。因此,上述第一触摸操作可以是由手机20的右侧边框上任一位置向预设区域203的滑动操作。
其中,上述第一触摸操作可以是手机20的右侧边框上、沿第一方向向预设区域203的滑动操作。或者,第一触摸操作可以是手机20的右侧边框上、沿第二方向向预设区域203的滑动操作。该第一方向与第二方向相反。例如,第一方向可以是由手机20的右侧边框上,预设区域203以下的位置向预设区域203的滑动操作,即向上滑动的滑动操作。第二方向是由手机20的右侧边框上,预设区域203以上的位置向预设区域203的滑动操作,即向下滑动的滑动操作。
例如,第一触摸操作可以是由预设区域202向预设区域203的滑动操作。如图5中的(a)所示,点A位于预设区域202中,点B位于预设区域203中。第一触摸操作 可以是由图5中的(a)所示的点A向点B的滑动操作。
又例如,第一触摸操作可以是由预设区域201向预设区域203的滑动操作。如图5中的(b)所示,点C位于预设区域201中,点D位于预设区域203中。第一触摸操作可以是由图5中的(b)所示的点C向点D的滑动操作。
又例如,第一触摸操作可以是由手机20的右侧边框上预设区域202以下的区域向预设区域203的滑动操作。如图6中的(a)所示,点a位于手机20的右侧边框上预设区域202以下的区域,点b位于预设区域203。第一触摸操作可以是由图6中的(a)所示的点a向点b的滑动操作。
再例如,第一触摸操作可以是由手机20的右侧边框上预设区域201以上的区域向预设区域203的滑动操作。如图6中的(b)所示,点c位于手机20的右侧边框上预设区域201以上的区域,点d位于预设区域203。第一触摸操作可以是由图6中的(b)所示的点c向点d的滑动操作。
本申请实施例中,针对滑动方向不同的第一触摸操作,MCU可以触发手机20中的预设器件发出不同的第一提示信息,如振动频率和/或振动次数不同的振动提示。
例如,假设预设器件是手机20的马达,第一提示信息是振动提示。针对图6中的(a)所示的第一触摸操作,MCU触发马达发出的振动提示可以为一次振动提示;针对图6中的(b)所示的第一触摸操作,MCU触发马达发出的振动提示可以为连续两次振动提示。
S403、响应于触摸传感器Y检测到第一触摸操作,MCU启动压力传感器210。
其中,如果触摸传感器Y检测到第一触摸操作,则表示用户的手指放置在触压按键所在位置。预设器件发出第一提示信息后,用户则可能会在该位置输入触摸操作(如按压操作)。此时,MCU可以启动压力传感器210,用来采集用户输入的触摸操作(如按压操作)的按压压力。
S404、压力传感器210采集第二触摸操作的按压压力。
本申请实施例中的压力传感器210可以是压电陶瓷传感器。由于相比于其他的压力传感器,该压电陶瓷传感器的灵敏度更高;因此,即使第二触摸操作(如按压操作)的按压压力很小,压力传感器210也可以采集到该按压压力。
S405、MCU判断压力传感器210采集的按压压力是否大于压力门限。
其中,上述压力门限可以是预先配置在手机20中的。例如,该压力门限可以预先保存在手机20的存储器中。或者,手机20的MCU可以动态调整压力传感器210的压力门限。例如,手机20的MCU可以根据手机20的场景信息动态调整压力传感器210的压力门限。其中,MCU根据手机20的场景信息动态调整压力传感器210的压力门限的方法,可以参考以下实施例中的相关描述,本实施例这里不予赘述。
具体的,如果压力传感器210采集的按压压力(如43g)大于压力门限(如40g),MCU则可以执行S406。如果压力传感器210采集的按压压力(如36g)小于或等于压力门限(如40g),MCU则可以确定上述第二触摸操作是误触操作,MCU则可以忽略该第二触摸操作,手机20不会响应该第二触摸操作。
需要说明的是,压力传感器210可以周期性(或者实时)采集按压压力,并向手机20的处理器(如MCU)传输采集到的按压压力。例如,当第一按压操作是单击操作 时,压力传感器210可能会向MCU传输一次按压压力;如果该按压压力大于压力门限,手机20便可以执行相应的功能。又例如,当第一按压操作是双击操作时,压力传感器210可能会向MCU传输两次按压压力;如果任一次传输的按压压力大于压力门限,手机20可以执行相应的功能。也就是说,无论上述第一按压操作是单击操作、双击操作或者长按操作,只要MCU判断得到压力传感器210采集的按压压力大于压力门限,手机20的MCU便可以触发手机20执行相应的功能。
S406、手机20执行第一触摸操作和第二触摸操作对应的功能。
其中,第一触摸操作(即滑动操作)的滑动方向和第二触摸操作的操作类型可以用于确定第一触摸操作和第二触摸操作对应的功能。第一触摸操作(即滑动操作)的滑动方向是根据第一触摸操作的操作信息所指示的操作位置(包括向预设区域203的滑动轨迹)确定的。
第二触摸操作的操作信息可以指示第二操作的操作类型。例如,该操作类型包括单击操作、双击操作、长按操作或者滑动操作中的任一种。该第二触摸操作的操作信息是上述触摸传感器Y采集的。具体的,MCU可以根据第一触摸操作的操作信息和第二触摸操作的操作信息,确定第一触摸操作和第二触摸操作对应的功能,然后执行第一触摸操作和第二触摸操作对应的功能。
示例性的,S406可以包括:如果第一触摸操作是沿第一方向(如图6中的(a)所示,由点a向点b)向预设区域203的滑动操作,第二触摸操作是单击操作或长按操作,手机20可以调高手机20的第一参数;如果第一触摸操作是沿第二方向(如图6中的(b)所示,由点c向点d)向预设区域203的滑动操作,第二触摸操作是单击操作或长按操作,手机20可以调低第一参数。其中,第一参数是手机20的音量或者屏幕亮度。
S406还可以包括:如果第一触摸操作是沿第一方向(如图6中的(a)所示,由点a向点b)向预设区域的滑动操作,第二触摸操作是双击操作,手机20执行第一功能;如果第一触摸操作是沿第二方向(如图6中的(b)所示,由点c向点d)向预设区域的滑动操作,第二触摸操作是双击操作,手机20执行第二功能。其中,第一功能和第二功能是以下功能中的一种:锁屏、截屏、录屏、开启摄像头和开启语音助手。第二功能与第一功能不同。
本申请实施例中,在第二触摸操作的操作类型不变的前提下,第一触摸操作的滑动方向不同,第一触摸操作和第二触摸操作对应的功能不同。在第一触摸操作的滑动方向不变的前提下,第二触摸操作的操作信息所指示的操作类型不同,第一触摸操作和第二触摸操作对应的功能不同。
示例性的,手机20的存储器中可以保存上述第一触摸操作、第二触摸操作与功能的对应关系表。例如,请参考表1,其示出本申请实施例提供的一种配置信息表。该配置信息表中包括第一触摸操作的滑动方向、第二触摸操作的操作类型和功能的对应关系。
表1
Figure PCTCN2020107092-appb-000001
Figure PCTCN2020107092-appb-000002
例如,当第一触摸操作是图5中的(a)所示的由点A向点B的滑动操作或图6中的(a)所示的由点a向点b的滑动操作(即表1所示的向上滑动操作),第二触摸操作是单击操作或长按操作时,第一触摸操作和第二触摸操作对应的功能是表1所示的调高音量。
当第一触摸操作是图5中的(b)所示的由点C向点D的滑动操作或图6中的(b)所示的由点c向点d的滑动操作(即表1所示的向下滑动操作),第二触摸操作是单击操作或者长按操作时,第一触摸操作和第二触摸操作对应的功能是表1所示的调低音量。
当第一触摸操作是图5中的(a)所示的由点A向点B的滑动操作或图6中的(a)所示的由点a向点b的滑动操作(即表1所示的上滑操作),第二触摸操作是双击操作时,第一触摸操作和第二触摸操作对应的功能是表1所示的截屏。
当第一触摸操作是图5中的(b)所示的由点C向点D的滑动操作或图6中的(b)所示的由点c向点d的滑动操作(即表1所示的下滑操作),第二触摸操作是双击操作时,第一触摸操作和第二触摸操作对应的功能是表1所示的启动语音助手。
需要说明的是,在一种情况下,不同滑动方向的第一触摸操作和不同操作类型的第二触摸操作触发手机20执行的功能,可以在手机20出厂前预先配置在手机中。
在另一种情况下,不同滑动方向的第一触摸操作和不同操作类型的第二触摸操作触发手机20执行的功能,还可以由用户在手机中设置。其中,手机接收用户的设置,确定不同滑动方向的第一触摸操作和不同操作类型的第二触摸操作触发手机20执行的功能的具体方法,可以参考常规技术中的相关设置方法,本申请实施例这里不予赘述。
示例性的,本申请实施例这里结合图3所示的手机的硬件架构,说明MCU(如图3所示的MCU 350E)触发手机执行第一触摸操作和第二触摸操作对应的功能的具体方法。
一种实现方式中,MCU 350E触发手机执行第一触摸操作和第二触摸操作对应的功能的方法可以包括:图3所示的MCU 350E确定第一触摸操作和第二触摸操作对应的功能;MCU 350E向SOC单元310发送用于指示手机执行该功能的请求或指令,以请求或 指示SOC单元310触发手机的一个或多个器件执行该功能。
另一种实现方式中,MCU 350E触发手机执行第一触摸操作和第二触摸操作对应的功能的方法可以包括:图3所示的MCU 350E向SOC单元310发送上述第一触摸操作的操作信息和第二触摸操作的操作信息;SOC单元310确定接收到的操作信息所指示的功能;SOC单元310触发手机的一个或多个器件执行该功能。
本申请实施例提供一种电子设备的交互方法,响应于用户的第一触摸操作(即向压力传感器210所在预设区域203的滑动操作),手机20可以发出第一提示信息,以提示用户可以在该预设区域203输入触摸操作。如此,即使用户无法通过盲触准确定位触压按键的位置;手机20也可以在接收到上述第一触摸操作时,向用户指示触压按键的位置。这样,可以实现对触压按键的有效盲触,从而可以提升电子设备的交互性能。
在一些实施例中,在S405之后,如果压力传感器210采集的按压压力(如43g)大于压力门限(如40g),本申请实施例的方法还可以包括:MCU触发手机20中的预设器件发出第二提示信息。该第二提示信息用于提示用户上述第二触摸操作是有效的触摸操作。
需要注意的是,第二提示信息与上述第一提示信息可以不同。例如,当预设器件是马达时,上述第一提示信息和第二提示信息均为振动提示。但是,第二提示信息与第一提示信息的振动频率和/或振动次数可以不同。当然,在一些实施例中,第一提示信息与第二提示信息也可以相同,本申请实施例对此不作限制。
在另一些实施例中,在S405之后,如果压力传感器210采集的按压压力(如43g)小于压力门限(如40g),本申请实施例的方法还可以包括:MCU触发手机20中的预设器件发出第三提示信息。该第三提示信息用于提示用户重新输入触摸操作。
需要注意的是,第三提示信息与上述第一提示信息和第二提示信息可以不同。例如,当预设器件是马达时,上述第一提示信息、第二提示信息和第三提示信息均为振动提示。但是,第三提示信息与第二提示信息和第一提示信息的振动频率和/或振动次数可以不同。
在另一些实施例中,在S405之后,无论压力传感器210采集的按压压力是否小于压力门限,响应于触摸传感器Y检测到用户的抬起操作(如用户的手指离开手机20的右侧边框的操作),MCU可以触发手机20中的预设器件发出第四提示信息。
需要注意的是,第四提示信息与上述第三提示信息、第一提示信息和第二提示信息可以不同。例如,当预设器件是马达时,上述第四提示信息、第一提示信息、第二提示信息和第三提示信息均为振动提示。但是,第四提示信息与其他提示信息(如第一提示信息、第二提示信息和第三提示信息)的振动频率和/或振动次数可以不同。
在一些实施例中,为了降低手机20的功耗,节省电量,本申请实施例的方法还可以包括:从MCU执行S403(即MCU启动压力传感器210)开始,如果触摸传感器Y或压力传感器210在预设时长内未检测到触摸操作(如第二触摸操作),MCU则可以关闭压力传感器210。例如,该预设时长可以为1分钟,2分钟,3分钟或者5分钟等。该预设时长可以预先配置在手机20中。或者,该预设时长可以由用户在手机20中设置。
可以理解,如果MCU启动了压力传感器210,但是触摸传感器Y或压力传感器210在预设时长内却未检测到触摸操作,则表示上述第一触摸操作可能是用户对预设区域200的误触。在这种情况下,为了节省电量,MCU则可以关闭压力传感器210。
在一些情况下,触摸传感器Y可能会因为用户的误触而检测到上述第一触摸操作,即该第一触摸操作是用户的误触操作(即用户无意识的操作)。从MCU启动压力传感器210开始,如果触摸传感器Y或压力传感器210在预设时长内检测到触摸操作;上述第一触摸操作是误触操作的可能性较低。从MCU启动压力传感器210开始,如果触摸传感器Y或压力传感器210在预设时长内为检测到触摸操作;上述第一触摸操作是误触操作的可能性较高。
无论第一触摸操作检测到的第一触摸操作是否为用户的误触操作,响应于该第一触摸操作,MCU都会启动压力传感器210。压力传感器210被启动后,手机20则可以响应用户的第二触摸操作执行功能。
在第一触摸操作是误触操作的前提下,如果压力传感器210启动后一直处于工作状态,那么手机20则可以响应用户的误触操作执行相应功能。这样,会增大对手机20的触压按键误触的可能性。
由此可见,从MCU启动压力传感器210开始,如果触摸传感器Y或压力传感器210在预设时长内未检测到按压操作,MCU关闭压力传感器210,不仅可以降低手机20的功耗,节省电量,还可以提升手机20的防误触性能。
为了便于理解,本申请实施例以图6中的(a)和图6中的(b)所示的第一触摸操作为例,结合图7所示的手机20的人机交互过程示意图和图8A所示的手机20的状态机切换示意图,对本申请实施例的方法进行说明。
其中,触摸传感器Y没有检测到用户的手指对预设区域201、预设区域202和预设区域203的触摸操作,即用户的手指未接触预设区域201、预设区域202和预设区域203(如图7所示的700)时,手机20处于图8A所示的状态1(即空闲态)。
在第1种情况下,用户的手指可能会接触手机20的右侧边框上预设区域202以下的区域。此时,可能会因为手指的上滑(如图8A所示的动作1),而使触摸传感器Y检测到用户的手指接触图6中的(a)所示的预设区域202(即图7所示的710),使得手机20进入图8A所示的状态2(即上滑检测态)。
随着用户的手指由图6中的(a)所示的预设区域202继续上滑(如图8A所示的动作2),触摸传感器Y可以检测到用户的手指接触图6中的(a)所示的预设区域203(即图7所示的711)。此时,手机20的MCU可以执行图7所示的712(包括:(1)启动压力传感器210;(2)触发马达振动提示),使得手机20进入图8A所示的状态4(即功能1使能态)。其中,图7所示的712中的马达振动提示可以是:S402中预设器件发出的第一提示信息。
综上所述,触摸传感器Y检测到上述“向预设区域203的滑动操作(即第一触摸操作)”时,手机20的MCU可以启动压力传感器210以采集按压压力。并且,手机20还可以触发马达振动,以提示用户输入触摸操作。
其中,根据马达振动的提示,用户可能会在预设区域203输入第二触摸操作(即图8A所示的动作3)。响应于该动作3,手机20由图8A所示的状态4切换至状态7 (即功能1按下态)。压力传感器210可以采集到第二触摸操作的按压压力,触摸传感器Y可以采集到第二触摸操作的操作信息。手机20的MCU可以计算压力传感器210的按压信号特征(即执行图7所示的713)。其中,按压信号特征可以是第二触摸操作的按压压力。
如果第二触摸操作的按压压力满足按压特征(如大于压力传感器210的压力门限),手机20的MCU可以执行图7所示的714。图7所示的714可以包括:(1)上报功能1的按压事件;(2)马达振动提示按压事件发生。其中,图7所示的714中的上报功能1的按压事件用于执行上述实施例中的S406。图7所示的714中的马达振动提示可以是:预设器件发出的第二提示信息。其中,上述功能1是根据第一触摸操作的操作信息和第二触摸操作的操作信息确定的。
在检测到第二触摸操作之后,当触摸传感器Y检测到用户的抬起操作(即图8A所示的动作4)时,则表示第二触摸操作满足抬起特征。手机20的MCU可以执行图7所示的715。图7所示的715可以包括:(1)上报抬起事件;(2)马达振动提示抬起事件发生。其中,图7所示的715中的马达振动提示可以是手机20中的预设器件发出的第四提示信息。其中,响应于上述动作4,手机20由图8A所示的状态7切换至状态4。
在检测到上述“向预设区域203的滑动操作”之后,如果触摸传感器Y检测到“由预设区域203向预设区域202的滑动操作”(即图8A所示的动作11),手机20则可以由图8A所示的状态4切换至状态2。
当然,在用户的手指由滑入图6中的(a)所示的预设区域202之后,如果触摸传感器Y检测到用户的抬起操作(即图8A所示的动作5),手机20可以由图8A所示的状态2切换至状态1(即空闲态)。
在检测到上述“向预设区域203的滑动操作(上滑操作)”之后,如果触摸传感器Y检测到用户的抬起操作(即图8A所示的动作5),手机20则可以由图8A所示的状态4切换至状态1(即空闲态)。
在上述第2种情况下,用户的手指可能会接触手机20的右侧边框上预设区域201以上的区域。此时,可能会因为手指的下滑(如图8A所示的动作6),而使触摸传感器Y检测到用户的手指接触图6中的(b)所示的预设区域201(即图7所示的720),使得手机20进入图8A所示的状态3(即下滑检测态)。
随着用户的手指由图6中的(a)所示的预设区域201继续下滑(如图8A所示的动作7),触摸传感器Y可以检测到用户的手指接触图6中的(a)所示的预设区域203(即图7所示的721)。此时,手机20的MCU可以执行图7所示的722(包括:(a)启动压力传感器210;(b)触发马达振动提示),使得手机20进入图8A所示的状态5(即功能2使能态)。其中,图7所示的722中的马达振动提示可以是:预设器件发出的第一提示信息。
综上所述,触摸传感器Y检测到上述“向预设区域203的滑动操作(即第一触摸操作)”时,手机20的MCU可以启动压力传感器210,以采集按压压力。并且,手机20还可以触发马达振动,以提示用户输入触摸操作。
其中,根据马达振动的提示,用户可能会在预设区域203输入第二触摸操作(即 图8A所示的动作8)。响应于该动作8,手机20由图8A所示的状态5进入状态6(即功能2按下态)。压力传感器210可以采集到第二触摸操作的按压压力,触摸传感器Y可以采集到第二触摸操作的操作信息。手机20的MCU可以计算压力传感器210的按压信号特征(即执行图7所示的723)。其中,按压信号特征可以是按压操作的按压压力。
如果第二触摸操作的按压压力满足按压特征(如大于压力传感器210的压力门限),手机20的MCU可以执行图7所示的724。图7所示的724可以包括:(1)上报功能2的按压事件;(2)马达振动提示按压事件发生。其中,图7所示的724中的上报功能2的按压事件用于执行上述实施例中的S406。图7所示的724中的马达振动提示可以是:预设器件发出的第二提示信息。其中,上述功能2是根据第一触摸操作的操作信息和第二触摸操作的操作信息确定的。
在检测到第二触摸操作之后,当触摸传感器Y检测到用户的抬起操作(即图8A所示的动作9)时,则表示第二触摸操作满足抬起特征。手机20的MCU可以执行图7所示的725。图7所示的725可以包括:(1)上报抬起事件;(2)马达振动提示抬起事件发生。其中,图7所示的725中的马达振动提示可以是手机20中的预设器件发出的第四提示信息。其中,响应于上述动作9,手机20由图8A所示的状态6切换至状态5(即功能2使能态)。
在检测到上述“由向预设区域203的滑动操作”之后,如果触摸传感器Y检测到“由预设区域203向预设区域201的滑动操作”(即图8A所示的动作10),手机20则可以由图8A所示的状态5切换至状态3。
当然,在用户的手指由滑入图6中的(a)所示的预设区域201之后,如果触摸传感器Y检测到用户的抬起操作(即图8A所示的动作5),手机20可以由图8A所示的状态3切换至状态1(即空闲态)。
在检测到上述“向预设区域203的滑动操作”之后,如果触摸传感器Y检测到用户的抬起操作(即图8A所示的动作5),手机20则可以由图8A所示的状态5切换至状态1(即空闲态)。
在检测到上述“向预设区域203的滑动操作”之后,如果触摸传感器Y检测到“由预设区域203向预设区域202的滑动操作”(即图8A所示的动作13),手机20则可以由图8A所示的状态5切换至状态2。
由上述实施例可知:为了减少对手机20的触压按键的误触,在检测到上述“向预设区域203的滑动操作”之后,如果触摸传感器Y在预设时长内未检测到第二触摸操作(如按压操作),MCU可以关闭压力传感器210。相应的,图8A所示的手机20的状态机切换示意图可以替换为图8B所示的状态机切换示意图。例如,如图8B所示,手机20处于状态4时,响应于动作5可以判断触摸传感器Y在预设时长内未检测到按压操作(即判断是否超时)。如果在预设时长内检测到触摸操作(即未超时),则手机20可以由状态4向状态7切换。如果在预设时长内未检测到触摸操作(即超时),手机20则可以由状态4切换至状态1。
需要说明的是,图8A和图8B所示的状态机切换示意图,仅以举例方式给出手机20执行本方案时状态切换的一种实例,并不会对本申请的保护范围产生限定。手机20 执行本申请实例的方法时的状态机切换包括但不限于图8A或图8B所示的状态机切换。
示例性的,本申请实施例这里以上述电子设备是图2A中的(a)所示的手机20为例,对本申请实施例的方法进行说明。如图2A中的(a)或图2A中的(b)所示,手机20的预设区域201设置有触摸传感器、预设区域203设置有触摸传感器和压力传感器210,预设区域202设置有触摸传感器。其中,压力传感器210所在的预设区域是预设区域203。
本申请实施例中,以预设区域201、预设区域202和预设区域203上设置的触摸传感器是同一个触摸传感器(称为触摸传感器Y)为例,对本申请实例的方法进行说明。如图8C所示,本申请实施例提供的电子设备的交互方法可以包括S801-S807。
S801、手机20通过触摸传感器Y检测触摸操作。
其中,S801的详细描述可以参考上述实施例对S401的介绍,本申请实施例这里不予赘述。
S802、响应于触摸传感器Y检测到第一触摸操作,MCU触发手机20中的预设器件发出第一提示信息。
其中,第一触摸操作向压力传感器210所在的预设区域203的滑动操作。例如,该第一触摸操作可以是图5中的(a)所示的由点A向点B的滑动操作,图5中的(b)所示的由点C向点D的滑动操作,图6中的(a)所示的由点a向点b的滑动操作,或者图6中的(b)所示的由点c向点d的滑动操作中的任一种。
需要说明的是,第一提示信息和预设器件的详细描述可以参考上述实施例对S402的描述,本申请实例这里不予赘述。
S803、响应于触摸传感器Y检测到第一触摸操作,手机20启动压力传感器210。
S804、手机20通过压力传感器210采集第二触摸操作的按压压力。第二触摸操作是由预设区域203开始沿第一方向的滑动操作或者沿第二方向的滑动操作。
其中,第一方向与第二方向相反。以第一方向是手机20的侧边框上由下向上的方向,第二方向是手机20的侧边框上由上向下的方向为例。例如,如图8D中的(a)所示,点E位于预设区域203,点F位于预设区域201,点G位于预设区域201以上的区域。上述第二触摸操作可以为由图8D中的(a)所示的点E向点F的滑动操作,也可以是由图8D中的(a)所示的点E向点G的滑动操作。如图8D中的(b)所示,点e位于预设区域203,点f位于预设区域202以下的区域,点g位于预设区域202以下的区域。上述第二触摸操作可以为由图8D中的(b)所示的点e向点f的滑动操作,也可以是由图8D中的(b)所示的点e向点g的滑动操作。
S805、MCU判断压力传感器210采集的按压压力是否大于压力门限。
具体的,如果按压压力是否大于压力门限,手机20可以执行S806或S807。如果按压压力小于或等于压力门限,MCU可以确定第二触摸操作是误触操作,MCU不会响应该第二触摸操作。
S806、如果第二触摸操作是沿第一方向的滑动操作,MCU触发手机20调高第一参数。其中,第一参数是手机20的音量或者屏幕亮度。
S807、如果第二触摸操作是沿第二方向的滑动操作,MCU触发手机20调低第一参数。
需要注意的是,与S401-S406所述的方案不同的是,S801-S807所述的方案中,第一触摸操作的滑动方向不会影响手机20执行的功能,第一触摸操作只是为了触发预设器件发出第一提示信息,并触发MCU启动压力传感器210。而第二触摸操作的滑动方向则决定了手机20需要执行的功能。参考“音量+”键和“音量-”键在手机侧边框的位置分布,如“音量+”键在“音量-”键以上,为了符合用户的使用习惯,上述第一方向可以是向上滑动方向,第二方向是向下滑动方向。
在一些实施例中,S401-S406和S801-S807中所述的第二触摸操作与第一触摸操作可以是用户的手指不离开手机20的右侧边框的触摸操作。也就是说,上述第一触摸操作和第二触摸操作是连续的触摸操作。
为了降低手机20的功耗,节省电量,本申请实施例的方法还可以包括:从MCU执行S803(即MCU启动压力传感器210)开始,如果触摸传感器Y或压力传感器210在预设时长内未检测到触摸操作(如第二触摸操作),MCU则可以关闭压力传感器210。
本申请实施例提供一种电子设备的交互方法,该方法可以应用于设置有触摸传感器、第一压力传感器和第二压力传感器的电子设备。该触摸传感器、第一压力传感器和第二压力传感器可以设置在电子设备的表面。例如,该触摸传感器、第一压力传感器和第二压力传感器可以设置在电子设备的侧面(如左侧边框或右侧边框)。电子设备可以利用触摸传感器的触控效应,以及第一压力传感器和第二压力传感器的压电效应检测用户输入的按压操作,从而实现锁屏、调整音量等物理按键的相关功能。
示例性的,本申请实施例这里以上述电子设备是图1中的(a)所示的手机10为例,对本申请实施例的方法进行说明。如图1中的(a)或图1中的(b)所示,手机10的预设区域101(即第一预设区域)设置有触摸传感器和压力传感器110(即第一压力传感器),预设区域103设置有触摸传感器,预设区域102(即第二预设区域)设置有触摸传感器和压力传感器120(即第二压力传感器)。
本申请实施例中,以预设区域101、预设区域102和预设区域103上设置的触摸传感器是同一个触摸传感器(称为触摸传感器X)为例,对本申请实例的方法进行说明。如图9所示,本申请实施例提供的电子设备的交互方法可以包括S900、S901-S905和S1001-S1005。
S900、手机10通过触摸传感器X检测触摸操作。
其中,触摸传感器X检测触摸操作的方法,可以参考常规技术中触摸传感器检测触摸操作的具体方法,本申请实施例这里不予赘述。
S901、响应于触摸传感器X检测到沿第一方向向预设区域101的滑动操作(称为第一滑动操作),MCU触发预设器件发出第一提示信息。
其中,第一方向是由预设区域102向预设区域101的方向。例如,如图10中的(a)所示,点1位于预设区域103以下的区域,点2位于预设区域102,点3位于预设区域,点4位于预设区域102。第一滑动操作可以为由图10中的(a)所示的点1向点4的滑动操作,点2向点4的滑动操作或者点3向点4的滑动操作。
需要说明的是,滑动操作的滑动方向是由滑动操作的操作信息确定的。滑动操作的操作信息是由触摸传感器Y采集的。第一提示信息和预设器件的详细描述可以参考上述实施例对S402的描述,本申请实例这里不予赘述。
S902、响应于触摸传感器X检测到第一滑动操作,MCU启动压力传感器110。
其中,如果触摸传感器X检测到第一滑动操作,则表示用户的手指放置在触压按键所在位置。预设器件发出第一提示信息后,用户则可能会在该位置输入触摸操作(如按压操作)。此时,MCU可以启动压力传感器110,用来采集用户输入的触摸操作(如按压操作)的按压压力。
S903、手机10通过压力传感器110采集第一按压操作的按压压力。
本申请实施例中的压力传感器110可以是压电陶瓷传感器。由于相比于其他的压力传感器,该压电陶瓷传感器的灵敏度更高;因此,即使第一按压操作的按压压力很小,压力传感器110也可以采集到该按压压力。
S904、MCU判断压力传感器110采集的按压压力是否大于压力门限。
其中,上述压力门限可以是预先配置在手机10中的。例如,该压力门限可以预先保存在手机10的存储器中。或者,手机10的MCU可以动态调整压力传感器110的压力门限。例如,手机10的MCU可以根据手机10的场景信息动态调整压力传感器110的压力门限。其中,MCU根据手机10的场景信息动态调整压力传感器110的压力门限的方法,可以参考以下实施例中的相关描述,本实施例这里不予赘述。
具体的,如果压力传感器110采集的按压压力(如43g)大于上述压力门限(如40g),MCU则可以执行S906。如果压力传感器110采集的按压压力(如36g)小于或等于上述压力门限(如40g),MCU则可以确定第一按压操作是误触操作,MCU则可以忽略该第一按压操作,MCU不会响应该第一按压操作。
S905、手机10执行第一按压操作对应的功能。
示例性的,S905可以包括:如果第一按压操作是单击操作或长按操作,手机10调高第一参数。第一参数是手机10的音量或者屏幕亮度。S905还可以包括:如果第一按压操作是双击操作,手机10执行第一功能。其中,第一功能是以下功能中的一种:锁屏、截屏、录屏、开启摄像头和开启语音助手。
示例性的,手机10的存储器中可以保存上述第一滑动操作、第一按压操作与功能的对应关系表。例如,请参考表2,其示出本申请实施例提供的一种配置信息表。该配置信息表中包括第一滑动操作(即向预设区域101的滑动操作)、第一按压操作的操作类型与功能的对应关系。
表2
Figure PCTCN2020107092-appb-000003
例如,当第一按压操作的操作类型是单击操作或长按操作时,第一滑动操作和第一按压操作对应的功能是表2所示的调高音量。当第一按压操作的操作类型是双击操作时,第一滑动操作和第一按压操作对应的功能是表2所示的截屏。
需要说明的是,在一种情况下,第一滑动操作和不同操作类型的第一按压操作触发手机10执行的功能,可以在手机10出厂前预先配置在手机中。
在另一种情况下,第一滑动操作和不同操作类型的第一按压操作触发手机10执行的功能,还可以由用户在手机中设置。其中,手机接收用户的设置,确定第一滑动操作和不同操作类型的第一按压操作触发手机10执行的功能的具体方法,可以参考常规技术中的相关设置方法,本申请实施例这里不予赘述。
S1001、响应于触摸传感器X检测到沿第二方向向预设区域102的滑动操作(称为第二滑动操作),MCU触发预设器件发出第一提示信息。
其中,第二方向是由预设区域101向预设区域102的方向。例如,如图10中的(b)所示,点8位于预设区域102,点7位于预设区域103,点6位于预设区域101,点5位于预设区域101以上的区域。该第二滑动操作可以是由图10中的(b)所示的点5向点8的滑动操作、点6向点8的滑动操作或者点7向点8的滑动操作。
需要说明的是,滑动操作的滑动方向是由滑动操作的操作信息确定的。滑动操作的操作信息是由触摸传感器Y采集的。其中,第一提示信息和预设器件的详细描述可以参考上述实施例对S402的描述,本申请实例这里不予赘述。
本申请实施例中,响应于S902中的第一滑动操作,MCU触发预设器件发出的第一提示信息,与响应于S1002中的第二滑动操作,MCU触发预设器件发出的第一提示信息可以不同。例如,振动频率和/或振动次数不同的振动提示。
例如,假设预设器件是手机10的马达,第一提示信息是振动提示。其中,响应于第一滑动操作,MCU触发马达发出的振动提示可以为一次振动提示;响应于第二滑动操作,MCU触发马达发出的振动提示可以为连续两次振动提示。
S1002、响应于触摸传感器X检测到第二滑动操作,MCU启动压力传感器120。
其中,如果触摸传感器X检测到第二滑动操作,则表示用户的手指放置在触压按键所在位置。预设器件发出第一提示信息后,用户则可能会在该位置输入触摸操作(如按压操作)。此时,MCU可以启动压力传感器120,用来采集用户输入的触摸操作(如按压操作)的按压压力。
S1003、手机10通过压力传感器120采集第二按压操作的按压压力。
本申请实施例中的压力传感器120可以是压电陶瓷传感器。由于相比于其他的压力传感器,该压电陶瓷传感器的灵敏度更高;因此,即使第二按压操作的按压压力很小,压力传感器120也可以采集到该按压压力。
S1004、MCU判断压力传感器120采集的按压压力是否大于压力门限。
具体的,如果压力传感器120采集的按压压力(如43g)大于上述压力门限(如40g),MCU则可以执行S906。如果压力传感器120采集的按压压力(如36g)小于或等于上述压力门限(如40g),MCU则可以确定第二按压操作是误触操作,MCU则可以忽略该第二按压操作,MCU不会响应该第二按压操作。
S1005、手机10执行第二按压操作对应的功能。
示例性的,S1005可以包括:如果第二按压操作是单击操作或长按操作,手机10调低第一参数。第一参数是手机10的音量或者屏幕亮度。S1005还可以包括:如果第二按压操作是双击操作,手机10执行第二功能。其中,第二功能是以下功能中的一种:锁屏、截屏、录屏、开启摄像头和开启语音助手。该第二功能与上述第一功能不同。
示例性的,手机10的存储器中可以保存上述第二滑动操作、第二按压操作与功能的对应关系表。例如,请参考表3,其示出本申请实施例提供的一种配置信息表。该配置信息表中包括第二滑动操作(即向预设区域102的滑动操作)、第二按压操作的操作类型与功能的对应关系。
表3
Figure PCTCN2020107092-appb-000004
例如,当第二按压操作的操作类型是单击操作或者长按操作时,第二滑动操作和第二按压操作对应的功能是表3所示的调低音量。当第二按压操作的操作类型是双击操作时,第二滑动操作和第二按压操作对应的功能是表3所示的开启语音助手。
需要说明的是,MCU执行第二滑动操作和第二按压操作对应的功能的方法,可以参考上述实施例中对S406的详细描述,本申请实施例这里不予赘述。
本申请实施例提供一种电子设备的交互方法,响应于用户的第一滑动操作或第二按压操作,手机10可以发出第一提示信息,以提示用户可以在该预设区域101或预设区域102输入触摸操作。即手机20可以在检测到第一滑动操作或第二滑动操作时,向用户指示触压按键的位置。这样,可以实现对触压按键的有效盲触,从而可以提升电子设备的交互性能。
在一些实施例中,如果按压压力(如43g)大于压力门限(如40g),本申请实施例的方法还可以包括:MCU触发手机10中的预设器件发出第二提示信息。该第二提示信息用于提示用户上述第一按压操作或第二按压操作是有效的触摸操作。
在另一些实施例中,如果按压压力(如43g)小于压力门限(如40g),本申请实施例的方法还可以包括:MCU触发手机10中的预设器件发出第三提示信息。该第三提示信息用于提示用户重新输入触摸操作。
在另一些实施例中,无论按压压力(如43g)是否小于压力门限(如40g),响应于触摸传感器X检测到用户的抬起操作(如用户的手指离开手机10的右侧边框的操作),MCU可以触发手机10中的预设器件发出第四提示信息。
需要说明的是,第二提示信息、第三提示信息和第四提示信息的详细描述,可以参考上述实施例中对第二提示信息和第三提示信息的介绍,本申请实施例这里不予赘 述。
在一些实施例中,为了降低手机10的功耗,节省电量,本申请实施例的方法还可以包括:从MCU执行S902(即MCU启动压力传感器110)开始,如果触摸传感器X或压力传感器110在预设时长内未检测到触摸操作,MCU则可以关闭压力传感器110。从MCU执行S1002(即MCU启动压力传感器120)开始,如果触摸传感器X或压力传感器120在预设时长内未检测到触摸操作,MCU则可以关闭压力传感器120。
其中,手机10的MCU关闭压力传感器不仅可以降低手机10的功耗,节省电量,还可以提升手机10的防误触性能。手机10的MCU关闭压力传感器以提升手机10的防误触性能的原理,可以参考手机20的MCU关闭压力传感器210以提升手机20的防误触性能的原理,本申请实施例这里不予赘述。
为了便于理解,本申请实施例以图10中的(a)所示的第一滑动操作和图10中的(b)所示的第二滑动操作为例,结合图11所示的手机10的人机交互过程示意图和图12A所示的手机10的状态机切换示意图,对本申请实施例的方法进行说明。
其中,触摸传感器X没有检测到用户的手指对预设区域101、预设区域102和预设区域103的触摸操作,即用户的手指未接触预设区域101、预设区域102和预设区域103(图11所示的1100)时,手机10处于图12A所示的状态i(即空闲态)。
其中,触摸传感器X可以检测到用户的手指对图10中的(a)所示或图10中的(b)所示的预设区域103的触摸操作(即图12A所示的动作i),即用户的手指接触预设区域102(即图11所示的1101)。响应于该动作i,手机20由图12A所示的状态i切换至状态ii。
在一种情况下,触摸传感器X检测到用户的手指接触预设区域103后,可能会因为用户的手指的上滑(如图12A所示的动作ii),而检测到用户的手指接触图10中的(a)所示的预设区域101(即图11所示的1111)。此时,手机10的MCU可以执行图11所示的1112(包括:(1)启动压力传感器110;(2)触发马达振动提示),使得手机10进入图12A所示的状态iii(即功能a使能态)。其中,图11所示的1112中的马达振动提示可以是:预设器件发出的第一提示信息。
综上所述,触摸传感器X检测到“由预设区域103向预设区域101的滑动操作(即第一滑动操作)”时,手机10的MCU可以启动压力传感器110,以采集按压压力。并且,手机10的MCU还可以触发马达振动,以提示用户可以在预设区域101的位置输入触摸操作。
其中,根据马达振动的提示,用户可能会在预设区域101输入第一按压操作(即图12A所示的动作v)。响应于该动作v,手机10由图12A所示的状态iii进入状态v(即功能a按下态)。压力传感器110可以采集到第一按压操作的按压压力,触摸传感器X可以采集到第一按压操作的操作信息。手机10的MCU可以计算压力传感器110的按压信号特征(即执行图11所示的1113)。其中,按压信号特征可以是第一按压操作的按压压力。
如果第一按压操作的按压压力满足按压特征(如大于压力传感器110的压力门限),手机10的MCU可以执行图11所示的1114。图11所示的1114可以包括:(1)上报功能a的按压事件;(2)马达振动提示按压事件发生。其中,图11所示的1114中的 上报功能a的按压事件用于执行上述实施例中的S906。图11所示的1114中的马达振动提示可以是:S907中预设器件发出的第二提示信息。其中,上述功能a是根据第一滑动操作的操作信息和第一按压操作的操作信息确定的。
在触摸传感器X检测到上述第一按压操作之后,如果触摸传感器X检测到用户的抬起操作(即图12A所示的动作iv),则表示第一按压操作满足抬起特征。手机10的MCU可以执行图11所示的1115。图11所示的1115可以包括:(1)上报抬起事件;(2)马达振动提示抬起事件发生。其中,图11所示的1115中的马达振动提示可以是手机10中的预设器件发出的第四提示信息。其中,响应于上述动作vi,手机10由图12A所示的状态v切换至状态iii(即功能a使能态)。
在触摸传感器X检测到上述“由预设区域103向预设区域101的滑动操作”之后,如果触摸传感器X检测到“由预设区域101向预设区域103的滑动操作”(即图12A所示的动作vii),手机10则可以由图12A所示的状态iii切换至状态ii。
在检测到上述“由预设区域103向预设区域101的滑动操作”之后,如果触摸传感器X检测到用户的抬起操作(即图12A所示的动作iv),手机10则可以由图12A所示的状态iii切换至状态i(即空闲态)。
在另一种情况下,触摸传感器X检测到用户的手指接触预设区域103后,可能会因为用户的手指的下滑(如图12A所示的动作iii)而检测到用户的手指接触图10中的(a)所示的预设区域102(如图11所示的1121)。此时,手机10的MCU可以执行图11所示的1122(包括:(a)启动压力传感器120;(b)触发马达振动提示),使得手机10进入图12A所示的状态iv(即功能b使能态)。其中,图11所示的1122中的马达振动提示可以是:预设器件发出的第一提示信息。
综上所述,触摸传感器X检测到“由预设区域103向预设区域102的滑动操作(即第二滑动操作)”时,手机10的MCU可以启动压力传感器120,以采集按压压力。并且,手机10还可以触发马达振动,以提示用户可以在预设区域102的位置输入触摸操作。
其中,根据马达振动的提示,用户可能会在预设区域100输入第二按压操作(即图12A所示的动作v)。响应于该动作v,手机10由图12A所示的状态iv进入状态vi(即功能b按下态)。压力传感器120可以采集到第二按压操作的按压压力,触摸传感器X可以采集到第二按压操作的操作信息。手机10的MCU可以计算压力传感器120的按压信号特征(即执行图11所示的1123)。其中,按压信号特征可以是第二按压操作的按压压力。
如果第二按压操作的按压压力满足按压特征(如大于压力传感器120的压力门限),手机10的MCU可以执行图11所示的1124。图11所示的1124可以包括:(1)上报功能b的按压事件;(2)马达振动提示按压事件发生。其中,图11所示的1124中的上报功能b的按压事件用于执行上述实施例中的S906。图11所示的1124中的马达振动提示可以是:S907中预设器件发出的第二提示信息。其中,上述功能b是根据第二滑动操作的操作信息和第二按压操作的操作信息确定的。
在触摸传感器X检测到上述第二按压操作之后,如果触摸传感器X检测到用户的抬起操作(即图12A所示的动作iv),则表示第二按压操作满足抬起特征。手机10 的MCU可以执行图11所示的1125。图11所示的1125可以包括:(1)上报抬起事件;(2)马达振动提示抬起事件发生。其中,图11所示的1125中的马达振动提示可以是手机10中的预设器件发出的第四提示信息。其中,响应于上述动作vi,手机10由图12A所示的状态vi切换至状态iv(即功能b使能态)。
在触摸传感器X检测到上述“由预设区域103向预设区域102的滑动操作”之后,如果触摸传感器X检测到“由预设区域102向预设区域103的滑动操作”(即图12A所示的动作viii),手机10则可以由图12A所示的状态iv切换至状态ii。
在检测到上述“由预设区域103向预设区域102的滑动操作”之后,如果触摸传感器X检测到用户的抬起操作(即图12A所示的动作iv),手机10则可以由图12A所示的状态iv切换至状态i(即空闲态)。
当然,在检测到用户的手指接触图10中的(a)所示的预设区域103之后,如果触摸传感器X检测到用户的抬起操作(即图12A所示的动作iv),手机10可以由图12A所示的状态ii切换至状态i(即空闲态)。
由上述实施例可知:为了减少对手机10的触压按键的误触,在检测到上述“由预设区域103向预设区域101或预设区域102的滑动操作”之后,如果触摸传感器X在预设时长内未检测到第二按压操作(如按压操作),MCU可以关闭压力传感器110或压力传感器120。相应的,图12A所示的手机10的状态机切换示意图可以替换为图12B所示的状态机切换示意图。例如,如图12B所示,手机10处于状态iii时,响应于动作iv可以判断触摸传感器X在预设时长内未检测到第二按压操作(即判断是否超时)。如果在预设时长内检测到触摸操作(即未超时),则手机10可以由状态iii向状态v切换。如果在预设时长内未检测到触摸操作(即超时),手机10则可以由状态iii切换至状态i。
需要说明的是,图12A和图12B所示的状态机切换示意图,仅以举例方式给出手机10执行本方案时状态切换的一种实例,并不会对本申请的保护范围产生限定。手机10执行本申请实例的方法时的状态机切换包括但不限于图12A或图12B所示的状态机切换。
本申请实施例这里对手机动态调整压力传感器的压力门限的方法进行说明。
为了减少对手机的触压按键的误触,响应于上述第一触摸操作或第三触摸操作,手机可以根据该手机当前所处的场景(包括应用场景和/或物理场景),动态调整压力传感器的压力门限。具体的,上述第三触摸操作或第一触摸操作,MCU可以获取手机的场景信息。该场景信息用于指示手机所处的场景,手机所处的场景包括应用场景和/或物理场景。然后,MCU可以从存储器中查询该场景信息指示的场景下压力传感器的压力门限。
示例性的,MCU可以根据手机在前台运行的应用,确定手机所处的应用场景。例如,假设触摸传感器检测到上述第三触摸操作或第一触摸操作时,手机在前台运行视频应用;那么,手机所处的应用场景为视频场景。又例如,假设触摸传感器检测到上述第三触摸操作或第一触摸操作时,手机在前台运行游戏应用;那么,手机所处的应用场景为游戏场景。再例如,假设触摸传感器检测到上述第三触摸操作或第一触摸操作时,手机在前台运行电话应用;那么,手机所处的应用场景为电话场景。
MCU可以根据手机的摄像头、接近光传感器、加速度传感器和环境光传感器等一个或多个器件采集的数据,确定手机当前所处的物理场景。例如,上述物理场景可以包括驾驶场景、跑步场景、静止场景或口袋场景等一个或多个场景。
其中,MCU可以响应于上述第三触摸操作或第一触摸操作,启动上述摄像头、接近光传感器、加速度传感器和环境光传感器等一个或多个器件,以采集用于确定手机的物理场景的数据。或者,上述接近光传感器、加速度传感器和环境光传感器在手机开机时,便可以启动以采集相应的数据;响应于第三触摸操作或第一触摸操作,MCU可以根据接近光传感器、加速度传感器和环境光传感器当前所采集的数据,确定手机当前所处的物理场景。而上述摄像头则是MCU响应于上述第三触摸操作或第一触摸操作启动的。
例如,MCU可以根据上述接近光传感器和接近光传感器采集的数据,检测手机是否在口袋里,是否处于口袋场景。MCU可以根据加速度传感器采集的手机的运动加速度,确定手机处于驾驶场景或跑步场景等。其中,手机处于驾驶场景和跑步场景时,手机的运动加速度不同。
可以理解,手机处于不同的场景(包括应用场景和/或物理场景)时,手机的触压按键被误触的可能性不同。本申请实施例中,手机可以针对不同的场景,为压力传感器设置不同的压力门限。例如,请参考表4,其示出本申请实施例提供的一种场景和压力门限的对应关系表。
表4
Figure PCTCN2020107092-appb-000005
示例性的,本申请实施例中,可以将压力门限分为多个等级,如表2所示的四个等级。每个等级的压力门限对应不同的压力值。其中,表2所示的四级压力门限大于三级压力门限,三级压力门限大于二级压力门限,二级压力门限大于一级压力门限。例如,表2所示的一级压力门限可以为35g,二级压力门限可以为40g,三级压力门限可以为50g,四级压力门限可以为60g。当然,本申请实施例中,压力门限包括但不限于上述四级压力门限,且该四级压力门限的取值包括但不限于上述实例中的压力值。
例如,如表2所示,当手机的应用场景是锁屏场景,物理场景是静止场景时,压力传感器的压力门限为一级压力门限;当手机的应用场景是视频场景,物理场景是静止场景时,压力传感器的压力门限为一级压力门限;当手机的应用场景是音频场景,物理场景是跑步场景时,压力传感器的压力门限为二级压力门限;当手机的应用场景是游戏场景时,压力传感器的压力门限为三级压力门限;当手机的应用场景是锁屏场景,物理场景是口袋场景时,压力传感器的压力门限为四级压力门限。
需要说明的是,上述应用场景和/或物理场景与压力门限的对应关系,可以是统计大量的手机在日常使用过程中,处于不同场景(应用场景和/或物理场景)时,用户对手机的按压压力确定的。在用户按压压力较大的场景下,手机的触压按键被误触的可能性较高;因此,可以针对这些场景设置较大的压力门限。在用户按压压力较小的场景下,手机的触压按键被误触的可能性较低;因此,可以针对这些场景设置较小的压力门限。当然,上述应用场景和/或物理场景与压力门限的对应关系,也可以是用户在手机中设置的。其中,手机接收用户设置的各个场景对应的压力门限的方法可以参考常规技术中的相关描述,本申请实施例这里不予赘述。
手机的存储器中保存有多个场景信息,以及每个场景信息指示的场景下压力传感器的压力门限。例如,手机的存储器可以保存表2所示的场景与压力门限的对应关系。第一压力门限是当前场景信息指示的场景下压力传感器的压力门限。
例如,假设手机的当前场景信息指示手机的应用场景为音频场景,物理场景为跑步场景。那么,MCU可以从存储器中保存的表2中查找到第一压力门限为一级压力门限。
本申请实施例中,手机处于不同的场景(包括应用场景和/或物理场景)时,手机判断第一按压操作的按压压力是否大于压力门限时所采用的压力门限不同。也就是说,手机可以根据该手机所处的场景,动态调整压力传感器的压力门限。
可以理解的是,上述电子设备(如手机)为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请实施例能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请实施例的范围。
本申请实施例可以根据上述方法示例对上述电子设备(如手机)进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
在采用集成的单元的情况下,图13示出了上述实施例中所涉及的电子设备(如手机)的一种可能的结构示意图。如图13所示,电子设备1300可以包括:第一动作检测模块1301、第二动作检测模块1302和触发模块1303。
其中,第一动作检测模块1301用于支持电子设备1300执行:检测上述实施例中 的第一触摸操作、第一滑动操作和第二滑动操作。例如,第一动作检测模块1301用于支持电子设备1300执行上述实例中的S401、S900、S901、S1001,和/或用于本文所描述的技术的其它过程。示例性的,第一动作检测模块1301的功能可以通过上述手机的MCU和触摸传感器等一个或多个器件等实现。
第二动作检测模块1302用于支持电子设备1300执行:检测上述实施例中的第二触摸操作、第一按压操作和第二按压操作。例如,第二动作检测模块1302用于支持电子设备1300执行上述实施例中的S403、S404、S903、S904、S1003和S1004,和/或用于本文所描述的技术的其它过程。示例性的,第二动作检测模块1302的功能可以通过上述MCU、压力传感器和触摸传感器等一个或多个器件等实现。
触发模块1303用于支持电子设备1300执行:启动压力传感器,触发预设器件(如马达)发出提示信息,以及触发手机执行第二触摸操作的操作信息所指示的功能。例如,触发模块1303用于支持电子设备1300执行上述方法实施例中的S402,S403,S406,S902,S905,S1002,S1002,S1005,和/或用于本文所描述的技术的其它过程。示例性的,该触发模块1305的功能可以通过上述手机的MCU和SOC单元等实现。
本申请另一些实施例提供了一种电子设备(如图3所示的电子设备300),该电子设备可以包括:压力传感器、触摸传感器、存储器、马达和处理器。该压力传感器、触摸传感器、存储器、马达和处理器耦合。该电子设备还可以包括摄像头、接近光传感器和加速度传感器等器件。上述压力传感器可以是压电式压力传感器。该压电式压力传感器包括压电陶瓷传感器。上述处理器可以包括图3所示的MCU和SOC单元。
上述存储器用于存储计算机程序代码,该计算机程序代码包括计算机指令。当处理器执行计算机指令时,电子设备可执行上述方法实施例中手机执行的各个功能或者步骤。该电子设备的结构可以参考图3所示的电子设备300的结构。
本申请实施例还提供一种芯片系统,如图14所示,该芯片系统包括至少一个处理器1401和至少一个接口电路1402。处理器1401和接口电路1402可通过线路互联。例如,接口电路1402可用于从其它装置(例如电子设备的存储器)接收信号。又例如,接口电路1402可用于向其它装置(例如处理器1401)发送信号。示例性的,接口电路1402可读取存储器中存储的指令,并将该指令发送给处理器1401。当所述指令被处理器1401执行时,可使得电子设备(如图3所示的电子设备300)执行上述实施例中的各个步骤。当然,该芯片系统还可以包含其他分立器件,本申请实施例对此不作具体限定。
本申请实施例还提供一种计算机存储介质,该计算机存储介质包括计算机指令,当所述计算机指令在上述电子设备(如图3所示的电子设备300)上运行时,使得该电子设备执行上述方法实施例中手机执行的各个功能或者步骤。
本申请实施例还提供一种计算机程序产品,当所述计算机程序产品在计算机上运行时,使得所述计算机执行上述方法实施例中手机执行的各个功能或者步骤。
通过以上实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上内容,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (25)

  1. 一种电子设备的交互方法,其特征在于,所述电子设备上设置有触摸传感器和压力传感器;所述方法包括:
    所述电子设备通过所述触摸传感器检测触摸操作;
    响应于所述触摸传感器检测到第一触摸操作,所述电子设备触发预设器件发出第一提示信息,并启动所述压力传感器;其中,所述第一触摸操作是向预设区域的滑动操作,所述预设区域是所述压力传感器所在区域;所述第一提示信息用于提示用户在所述预设区域输入触摸操作;
    所述电子设备通过所述压力传感器采集第二触摸操作的按压压力,所述第二触摸操作是单击操作、双击操作或者长按操作中的任一种;
    如果所述按压压力大于压力门限,所述电子设备执行所述第一触摸操作和所述第二触摸操作对应的功能。
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    从启动所述压力传感器开始,如果所述触摸传感器或者所述压力传感器在预设时长内未检测到所述第二触摸操作,所述电子设备关闭所述压力传感器。
  3. 根据权利要求1或2所述的方法,其特征在于,所述第一触摸操作是沿第一方向向所述预设区域的滑动操作,或者沿第二方向向所述预设区域的滑动操作;其中,所述第一方向与第二方向相反;
    其中,所述电子设备执行所述第一触摸操作和所述第二触摸操作对应的功能,包括:
    如果所述第一触摸操作是沿所述第一方向向所述预设区域的滑动操作,所述第二触摸操作是单击操作或长按操作,所述电子设备调高所述电子设备的第一参数;其中,所述第一参数是所述电子设备的音量或者屏幕亮度;
    如果所述第一触摸操作是沿所述第二方向向所述预设区域的滑动操作,所述第二触摸操作是单击操作或长按操作,所述电子设备调低所述第一参数;
    如果所述第一触摸操作是沿所述第一方向向所述预设区域的滑动操作,所述第二触摸操作是双击操作,所述电子设备执行第一功能;其中,所述第一功能是以下功能中的一种:锁屏、截屏、录屏、开启摄像头和开启语音助手;
    如果所述第一触摸操作是沿所述第二方向向所述预设区域的滑动操作,所述第二触摸操作是双击操作,所述电子设备执行第二功能;其中,所述第二功能是以下功能中的一种:锁屏、截屏、录屏、开启摄像头和开启语音助手;所述第二功能与所述第一功能不同。
  4. 根据权利要求1-3中任一项所述的方法,其特征在于,所述方法还包括:
    如果所述按压压力大于所述压力门限,所述电子设备触发所述预设器件发出第二提示信息,所述第二提示信息用于提示用户所述第二触摸操作是有效的触摸操作。
  5. 根据权利要求1-4中任一项所述的方法,其特征在于,所述方法还包括:
    如果所述按压压力小于或等于所述压力门限,所述电子设备触发所述预设器件发出第三提示信息,所述第三提示信息用于提示用户重新输入触摸操作。
  6. 一种电子设备的交互方法,其特征在于,所述电子设备上设置有触摸传感器和 压力传感器;所述方法包括:
    所述电子设备通过所述触摸传感器检测触摸操作;
    响应于所述触摸传感器检测到第一触摸操作,所述电子设备触发预设器件发出第一提示信息,并启动所述压力传感器;其中,所述第一触摸操作向预设区域的滑动操作,所述预设区域是所述压力传感器所在区域;所述第一提示信息用于提示用户在所述预设区域输入触摸操作;
    所述电子设备通过所述压力传感器采集第二触摸操作的按压压力,所述第二触摸操作是由所述预设区域开始沿第一方向的滑动操作或者沿第二方向的滑动操作;其中,所述第一方向与第二方向相反;
    如果所述按压压力大于压力门限,所述第二触摸操作是沿所述第一方向的滑动操作,所述电子设备调高所述电子设备的第一参数;其中,所述第一参数是所述电子设备的音量或者屏幕亮度;
    如果所述按压压力大于压力门限,所述第二触摸操作是沿所述第二方向的滑动操作,所述电子设备调低所述第一参数。
  7. 根据权利要求6所述的方法,其特征在于,所述方法还包括:
    从启动所述压力传感器开始,如果所述触摸传感器或者所述压力传感器在预设时长内未检测到所述第二触摸操作,所述电子设备关闭所述压力传感器。
  8. 一种电子设备的交互方法,其特征在于,所述电子设备上设置有触摸传感器、第一压力传感器和第二压力传感器;所述第一压力传感器设置在第一预设区域,所述第二压力传感器设置在第二预设区域,所述方法包括:
    所述电子设备通过所述触摸传感器检测触摸操作;
    响应于所述触摸传感器检测到沿第一方向向所述第一预设区域的滑动操作,所述电子设备触发预设器件发出第一提示信息,并启动所述第一压力传感器;其中,所述第一提示信息用于提示用户在所述第一预设区域输入触摸操作;所述第一方向是由所述第二预设区域向所述第一预设区域的方向;
    所述电子设备通过所述第一压力传感器采集第一按压操作的按压压力,所述第一按压操作是单击操作、双击操作或长按操作中的任一种;
    如果所述第一压力传感器采集的按压压力大于压力门限,所述电子设备执行所述第一按压操作对应的功能;
    或者,
    响应于所述触摸传感器检测到沿第二方向向所述第二预设区域的滑动操作,所述电子设备触发预设器件发出所述第一提示信息,并启动所述第二压力传感器;所述第二方向是由所述第一预设区域向所述第二预设区域的方向;
    所述电子设备通过所述第二压力传感器采集第二按压操作的按压压力,所述第二按压操作是单击操作、双击操作或长按操作中的任一种;
    如果所述第二压力传感器采集的按压压力大于压力门限,所述电子设备执行所述第二按压操作对应的功能。
  9. 根据权利要求8所述的方法,其特征在于,所述方法还包括:
    从启动所述第一压力传感器开始,如果所述触摸传感器或者所述第一压力传感器 在预设时长内未检测到所述第一按压操作,所述电子设备关闭所述第一压力传感器;
    从启动所述第二压力传感器开始,如果所述触摸传感器或者所述第二压力传感器在所述预设时长内未检测到所述第二按压操作,所述电子设备关闭所述第二压力传感器。
  10. 根据权利要求8或9所述的方法,其特征在于,
    所述电子设备执行所述第一按压操作对应的功能,包括:
    如果所述第一按压操作是单击操作或长按操作,所述电子设备调高所述电子设备的第一参数;
    所述电子设备执行所述第二按压操作对应的功能,包括:
    如果所述第二按压操作是单击操作或长按操作,所述电子设备调低所述第一参数;
    其中,所述第一参数是所述电子设备的音量或者屏幕亮度。
  11. 根据权利要求8-10中任一项所述的方法,其特征在于,
    所述电子设备执行所述第一按压操作对应的功能,包括:
    如果所述第一按压操作是双击操作,所述电子设备执行第一功能;其中,所述第一功能是以下功能中的一种:锁屏、截屏、录屏、开启摄像头和开启语音助手;
    所述电子设备执行所述第二按压操作对应的功能,包括:
    如果所述第二按压操作是双击操作,所述电子设备执行第二功能;其中,所述第二功能是以下功能中的一种:锁屏、截屏、录屏、开启摄像头和开启语音助手;所述第二功能与所述第一功能不同。
  12. 一种电子设备,其特征在于,所述电子设备包括:存储器和处理器;所述电子设备上还设置有触摸传感器和压力传感器;所述存储器、所述触摸传感器、所述压力传感器和所述处理器耦合;所述存储器用于存储计算机程序代码,所述计算机程序代码包括计算机指令,当所述计算机指令被所述处理器执行时,使得所述电子设备执行以下操作:
    通过所述触摸传感器检测触摸操作;
    响应于所述触摸传感器检测到第一触摸操作,触发预设器件发出第一提示信息,并启动所述压力传感器;其中,所述第一触摸操作是向预设区域的滑动操作,所述预设区域是所述压力传感器所在区域;所述第一提示信息用于提示用户在所述预设区域输入触摸操作;
    通过所述压力传感器采集第二触摸操作的按压压力,所述第二触摸操作是单击操作、双击操作或者长按操作中的任一种;
    如果所述按压压力大于压力门限,执行所述第一触摸操作和所述第二触摸操作对应的功能。
  13. 根据权利要求12所述的电子设备,其特征在于,当所述计算机指令被所述处理器执行时,使得所述电子设备还执行以下操作:
    从启动所述压力传感器开始,如果所述触摸传感器或者所述压力传感器在预设时长内未检测到所述第二触摸操作,关闭所述压力传感器。
  14. 根据权利要求12或13所述的电子设备,所述第一触摸操作是沿第一方向向所述预设区域的滑动操作,或者沿第二方向向所述预设区域的滑动操作;其中,所述 第一方向与第二方向相反;
    当所述计算机指令被所述处理器执行时,使得所述电子设备还执行以下操作:
    如果所述第一触摸操作是沿所述第一方向向所述预设区域的滑动操作,所述第二触摸操作是单击操作或长按操作,调高所述电子设备的第一参数;其中,所述第一参数是所述电子设备的音量或者屏幕亮度;
    如果所述第一触摸操作是沿所述第二方向向所述预设区域的滑动操作,所述第二触摸操作是单击操作或长按操作,调低所述第一参数;
    如果所述第一触摸操作是沿所述第一方向向所述预设区域的滑动操作,所述第二触摸操作是双击操作,执行第一功能;其中,所述第一功能是以下功能中的一种:锁屏、截屏、录屏、开启摄像头和开启语音助手;
    如果所述第一触摸操作是沿所述第二方向向所述预设区域的滑动操作,所述第二触摸操作是双击操作,执行第二功能;其中,所述第二功能是以下功能中的一种:锁屏、截屏、录屏、开启摄像头和开启语音助手;所述第二功能与所述第一功能不同。
  15. 根据权利要求12-14中任一项所述的电子设备,其特征在于,当所述计算机指令被所述处理器执行时,使得所述电子设备执行以下操作:
    如果所述按压压力大于所述压力门限,触发所述预设器件发出第二提示信息,所述第二提示信息用于提示用户所述第二触摸操作是有效的触摸操作。
  16. 根据权利要求12-15中任一项所述的电子设备,其特征在于,当所述计算机指令被所述处理器执行时,使得所述电子设备执行以下操作:
    如果所述按压压力小于或等于所述压力门限,触发所述预设器件发出第三提示信息,所述第三提示信息用于提示用户重新输入触摸操作。
  17. 一种电子设备,其特征在于,所述电子设备包括:存储器和处理器;所述电子设备上还设置有触摸传感器和压力传感器;所述存储器、所述触摸传感器、所述压力传感器和所述处理器耦合;所述存储器用于存储计算机程序代码,所述计算机程序代码包括计算机指令,当所述计算机指令被所述处理器执行时,使得所述电子设备执行以下操作:
    通过所述触摸传感器检测触摸操作;
    响应于所述触摸传感器检测到第一触摸操作,触发预设器件发出第一提示信息,并启动所述压力传感器;其中,所述第一触摸操作向预设区域的滑动操作,所述预设区域是所述压力传感器所在区域;所述第一提示信息用于提示用户在所述预设区域输入触摸操作;
    通过所述压力传感器采集第二触摸操作的按压压力,所述第二触摸操作是由所述预设区域开始沿第一方向的滑动操作或者沿第二方向的滑动操作;其中,所述第一方向与第二方向相反;
    如果所述按压压力大于压力门限,所述第二触摸操作是沿所述第一方向的滑动操作,调高所述电子设备的第一参数;其中,所述第一参数是所述电子设备的音量或者屏幕亮度
    如果所述按压压力大于压力门限,所述第二触摸操作是沿所述第二方向的滑动操作,调低所述第一参数。
  18. 根据权利要求17所述的电子设备,其特征在于,当所述计算机指令被所述处理器执行时,使得所述电子设备还执行以下操作:
    从启动所述压力传感器开始,如果所述触摸传感器或者所述压力传感器在预设时长内未检测到所述第二触摸操作,关闭所述压力传感器。
  19. 一种电子设备,其特征在于,所述电子设备包括:存储器和处理器;所述电子设备上还设置有触摸传感器、第一压力传感器和第二压力传感器;所述第一压力传感器设置在第一预设区域,所述第二压力传感器设置在第二预设区域;所述存储器、所述触摸传感器、所述第一压力传感器、所述第二压力传感器和所述处理器耦合,所述存储器用于存储计算机程序代码,所述计算机程序代码包括计算机指令,当所述计算机指令被所述处理器执行时,使得所述电子设备执行以下操作:
    通过所述触摸传感器检测触摸操作;
    响应于所述触摸传感器检测到沿第一方向向所述第一预设区域的滑动操作,触发预设器件发出第一提示信息,并启动所述第一压力传感器;其中,所述第一提示信息用于提示用户在所述第一预设区域输入触摸操作;所述第一方向是由所述第二预设区域向所述第一预设区域的方向;
    通过所述第一压力传感器采集第一按压操作的按压压力,所述第一按压操作是单击操作、双击操作或长按操作中的任一种;
    如果所述第一压力传感器采集的按压压力大于压力门限,执行所述第一按压操作对应的功能;
    或者,
    响应于所述触摸传感器检测到沿第二方向向所述第二预设区域的滑动操作,触发预设器件发出所述第一提示信息,并启动所述第二压力传感器;所述第二方向是由所述第一预设区域向所述第二预设区域的方向;
    通过所述第二压力传感器采集第二按压操作的按压压力,所述第二按压操作是单击操作、双击操作或长按操作中的任一种;
    如果所述第二压力传感器采集的按压压力大于压力门限,执行所述第二按压操作对应的功能。
  20. 根据权利要求19所述的电子设备,其特征在于,当所述计算机指令被所述处理器执行时,使得所述电子设备还执行以下操作:
    从启动所述第一压力传感器开始,如果所述触摸传感器或者所述第一压力传感器在预设时长内未检测到所述第一按压操作,关闭所述第一压力传感器;
    从启动所述第二压力传感器开始,如果所述触摸传感器或者所述第二压力传感器在所述预设时长内未检测到所述第二按压操作,关闭所述第二压力传感器。
  21. 根据权利要求19或20所述的电子设备,其特征在于,当所述计算机指令被所述处理器执行时,使得所述电子设备还执行以下操作:
    如果所述第一按压操作是单击操作或长按操作,调高所述电子设备的第一参数;
    如果所述第二按压操作是单击操作或长按操作,调低所述第一参数;
    其中,所述第一参数是所述电子设备的音量或者屏幕亮度。
  22. 根据权利要求19-21中任一项所述的电子设备,其特征在于,当所述计算机 指令被所述处理器执行时,使得所述电子设备还执行以下操作:
    如果所述第一按压操作是双击操作,执行第一功能;其中,所述第一功能是以下功能中的一种:锁屏、截屏、录屏、开启摄像头和开启语音助手;
    如果所述第二按压操作是双击操作,执行第二功能;其中,所述第二功能是以下功能中的一种:锁屏、截屏、录屏、开启摄像头和开启语音助手;所述第二功能与所述第一功能不同。
  23. 一种芯片系统,其特征在于,所述芯片系统应用于设置有触摸传感器和压力传感器的电子设备;所述芯片系统包括接口电路和处理器;所述接口电路和所述处理器通过线路互联;所述接口电路用于从所述电子设备的存储器接收信号,并向所述处理器发送所述信号,所述信号包括所述存储器中存储的计算机指令;当所述处理器执行所述计算机指令时,所述电子设备执行如权利要求1-11中任一项所述的方法。
  24. 一种计算机存储介质,其特征在于,包括计算机指令,当所述计算机指令在电子设备上运行时,使得所述电子设备执行如权利要求1-11中任一项所述的方法。
  25. 一种计算机程序产品,其特征在于,当所述计算机程序产品在计算机上运行时,使得所述计算机执行如权利要求1-11中任一项所述的方法。
PCT/CN2020/107092 2019-10-10 2020-08-05 一种电子设备的交互方法及电子设备 WO2021068627A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910960039.0 2019-10-10
CN201910960039.0A CN112650405B (zh) 2019-10-10 2019-10-10 一种电子设备的交互方法及电子设备

Publications (1)

Publication Number Publication Date
WO2021068627A1 true WO2021068627A1 (zh) 2021-04-15

Family

ID=75343075

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/107092 WO2021068627A1 (zh) 2019-10-10 2020-08-05 一种电子设备的交互方法及电子设备

Country Status (2)

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

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115134461A (zh) * 2022-06-27 2022-09-30 维沃移动通信有限公司 电子设备及其控制方法
TWI799126B (zh) * 2022-01-19 2023-04-11 大陸商環榮電子(惠州)有限公司 電子設備電源操作方法及電子設備

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113094147A (zh) * 2021-06-08 2021-07-09 深圳掌酷软件有限公司 锁屏界面的播放窗口触发方法、装置、设备及存储介质
CN113919390A (zh) * 2021-09-29 2022-01-11 华为技术有限公司 一种识别触摸操作的方法及电子设备
CN115694464B (zh) * 2022-11-03 2023-09-12 东莞市力博得电子科技有限公司 压力感应开关控制方法、装置、电子设备和可读存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012068992A (ja) * 2010-09-24 2012-04-05 Kyocera Corp 触感呈示装置及び触感呈示装置の制御方法
US20140380247A1 (en) * 2013-06-21 2014-12-25 Barnesandnoble.Com Llc Techniques for paging through digital content on touch screen devices
CN104615375A (zh) * 2015-02-04 2015-05-13 华为技术有限公司 一种手持式电子设备图片缩放及播放内容切换的方法及装置
CN104685445A (zh) * 2012-09-28 2015-06-03 Lg电子株式会社 便携式装置及其控制方法
CN109782944A (zh) * 2018-12-11 2019-05-21 华为技术有限公司 一种触摸屏的响应方法及电子设备

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5953283B2 (ja) * 2013-10-31 2016-07-20 京セラドキュメントソリューションズ株式会社 表示制御装置及び電子機器
CN105824557B (zh) * 2016-02-19 2017-09-15 维沃移动通信有限公司 一种播放语音信息的方法及移动终端
US10547776B2 (en) * 2016-09-23 2020-01-28 Apple Inc. Devices, methods, and graphical user interfaces for capturing and recording media in multiple modes
JP6565856B2 (ja) * 2016-10-05 2019-08-28 株式会社デンソー タッチ式入力装置
TWI652614B (zh) * 2017-05-16 2019-03-01 緯創資通股份有限公司 攜帶式電子裝置及其操作方法
WO2019006589A1 (zh) * 2017-07-03 2019-01-10 深圳市汇顶科技股份有限公司 计算机存储介质、控制终端、电子压力触摸屏的控制方法和装置
CN107632764A (zh) * 2017-09-13 2018-01-26 百度在线网络技术(北京)有限公司 信息显示方法和装置
CN108632427B (zh) * 2018-04-04 2021-02-02 Oppo广东移动通信有限公司 电子设备及存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012068992A (ja) * 2010-09-24 2012-04-05 Kyocera Corp 触感呈示装置及び触感呈示装置の制御方法
CN104685445A (zh) * 2012-09-28 2015-06-03 Lg电子株式会社 便携式装置及其控制方法
US20140380247A1 (en) * 2013-06-21 2014-12-25 Barnesandnoble.Com Llc Techniques for paging through digital content on touch screen devices
CN104615375A (zh) * 2015-02-04 2015-05-13 华为技术有限公司 一种手持式电子设备图片缩放及播放内容切换的方法及装置
CN109782944A (zh) * 2018-12-11 2019-05-21 华为技术有限公司 一种触摸屏的响应方法及电子设备

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI799126B (zh) * 2022-01-19 2023-04-11 大陸商環榮電子(惠州)有限公司 電子設備電源操作方法及電子設備
CN115134461A (zh) * 2022-06-27 2022-09-30 维沃移动通信有限公司 电子设备及其控制方法
CN115134461B (zh) * 2022-06-27 2024-02-20 维沃移动通信有限公司 电子设备及其控制方法

Also Published As

Publication number Publication date
CN112650405A (zh) 2021-04-13
CN112650405B (zh) 2023-11-03

Similar Documents

Publication Publication Date Title
WO2021068627A1 (zh) 一种电子设备的交互方法及电子设备
US11922005B2 (en) Screen capture method and related device
US10739854B2 (en) Terminal and touch response method and device
US20210116972A1 (en) Electronic device, method and apparatus for controlling flexible panel
WO2019141243A1 (zh) 应用程序启动方法及移动终端
WO2019141174A1 (zh) 未读消息的处理方法及移动终端
CN109828669B (zh) 触压信号处理方法及电子设备
WO2015074567A1 (zh) 一种敲击控制方法及终端
US11604535B2 (en) Device and method for processing user input
WO2021063237A1 (zh) 电子设备的控制方法及电子设备
JP6196398B2 (ja) タッチボタン及び指紋認証を実現する装置、方法、端末機器、並びにプログラム及び記録媒体
WO2021017776A1 (zh) 信息处理方法及终端
WO2023051411A1 (zh) 一种识别触摸操作的方法及电子设备
WO2016112727A1 (zh) 触摸屏和指纹识别实现装置及终端设备
WO2019154182A1 (zh) 应用程序的音量设置方法及移动终端
AU2017440899B2 (en) Photographing method and terminal
CN112740152B (zh) 手写笔检测方法、系统及相关装置
CN110633043A (zh) 一种分屏处理方法及终端设备
WO2020259514A1 (zh) 一种调用服务的方法及装置
WO2021098604A1 (zh) 参数调整方法及电子设备
JP2018073287A (ja) 情報処理装置及び情報処理方法
WO2021057699A1 (zh) 具有柔性屏幕的电子设备的控制方法及电子设备
CN114172983A (zh) 一种接近光传感器控制方法及相关设备
CN111862972B (zh) 语音交互服务方法、装置、设备及存储介质
JP2023521661A (ja) 表示方法及び電子機器

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20874595

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20874595

Country of ref document: EP

Kind code of ref document: A1