CN111459323B - Control method, electronic device and medium - Google Patents

Control method, electronic device and medium Download PDF

Info

Publication number
CN111459323B
CN111459323B CN202010225889.9A CN202010225889A CN111459323B CN 111459323 B CN111459323 B CN 111459323B CN 202010225889 A CN202010225889 A CN 202010225889A CN 111459323 B CN111459323 B CN 111459323B
Authority
CN
China
Prior art keywords
target
sensors
sensor
pressure
area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010225889.9A
Other languages
Chinese (zh)
Other versions
CN111459323A (en
Inventor
张小东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202010225889.9A priority Critical patent/CN111459323B/en
Publication of CN111459323A publication Critical patent/CN111459323A/en
Application granted granted Critical
Publication of CN111459323B publication Critical patent/CN111459323B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Abstract

The invention discloses a control method, electronic equipment and a medium. A first sensor and M second sensors are arranged at preset positions of the electronic equipment; m is a positive integer greater than 1, M second sensors are symmetrically distributed relative to the first sensor, and the preset position is located in a first preset range of a target pressure key of the electronic equipment; the control method comprises the following steps: receiving a first input of a user in a target area; responding to the first input, and executing target operation corresponding to the target pressure key under the condition that the target area is in the preset area; the target area is positioned in a second preset range of the target pressure key; in a preset area, the pressure values monitored by the first sensors are larger than the pressure values monitored by the N target second sensors; the N target second sensors are second sensors which are symmetrically distributed relative to the first sensor in the M second sensors. By using the control method, the false triggering condition of the pressure keys can be avoided, and the use experience of the user is improved.

Description

Control method, electronic device and medium
Technical Field
The embodiment of the invention relates to the technical field of control, in particular to a control method, electronic equipment and a medium.
Background
With the gradual development of electronic devices, the appearance and the function of the electronic devices are gradually developed integrally. Among them, the most obvious changes are screen changes of electronic devices, and the small screen has gradually been developed into a large screen, an oversized screen, a full screen and a curved screen. In addition, in order to ensure the integrity of the screen of the electronic device, pressure keys are gradually utilized to replace physical keys.
However, the pressure key can completely replace the physical key in function, but the electronic device is extremely easy to be triggered by mistake.
Disclosure of Invention
The embodiment of the invention provides a control processing method, electronic equipment and a medium, which can avoid the occurrence of false triggering of a pressure key and improve the use experience of a user.
In a first aspect, an embodiment of the present invention provides a method for controlling an electronic device, where a first sensor and M second sensors are disposed at preset positions of the electronic device;
m is a positive integer greater than 1, M second sensors are symmetrically distributed relative to the first sensor, and the preset position is located in a first preset range of a target pressure key of the electronic equipment;
the method comprises the following steps:
receiving a first input of a user in a target area;
responding to the first input, and executing target operation corresponding to the target pressure key under the condition that the target area is in the preset area;
the target area is positioned in a second preset range of the target pressure key; in a preset area, the pressure values monitored by the first sensors are larger than the pressure values monitored by the N target second sensors;
the N target second sensors are second sensors which are symmetrically distributed relative to the first sensor in the M second sensors, and N is a positive integer less than or equal to M.
In a second aspect, an embodiment of the present invention provides an electronic device, where a first sensor and M second sensors are disposed at preset positions of the electronic device;
m is a positive integer greater than 1, M second sensors are symmetrically distributed relative to the first sensor, and the preset position is located in a first preset range of a target pressure key of the electronic equipment;
the electronic device includes:
the receiving module is used for receiving a first input of a user in a target area;
the execution module is used for responding to the first input and executing the target operation corresponding to the target pressure key under the condition that the target area is in the preset area;
the target area is positioned in a second preset range of the target pressure key; in a preset area, the pressure values monitored by the first sensors are larger than the pressure values monitored by the N target second sensors;
the N target second sensors are second sensors which are symmetrically distributed relative to the first sensor in the M second sensors, and N is a positive integer less than or equal to M.
In a third aspect, an embodiment of the present invention provides an electronic device, including a processor, a memory, and a computer program stored on the memory and executable on the processor, where the processor executes instructions of the computer program to implement the steps of the manipulation method according to the first aspect.
In a fourth aspect, embodiments of the present invention provide a computer-readable storage medium, on which a computer program is stored, which computer program, when being executed by a processor, implements the steps of the manipulation method according to the first aspect.
In the embodiment of the invention, the preset area capable of triggering each pressure key in the electronic equipment is accurately distinguished through the first sensor and the plurality of second sensors symmetrically distributed relative to the first sensor, which are arranged at the preset position of the electronic equipment, so that the electronic equipment can execute the target operation corresponding to the pressure key only when the target area for the first input of the user is in the preset area, thereby effectively avoiding false triggering of other pressure keys by the user and improving the use experience of the user.
Drawings
The invention will be better understood from the following description of specific embodiments thereof taken in conjunction with the accompanying drawings in which like or similar reference characters designate like or similar features.
FIG. 1 is a schematic diagram of a pressure key of one example of the prior art;
fig. 2 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
FIG. 3 is a flow chart of a control method according to an embodiment of the present invention;
FIG. 4 is a flow chart of a manipulation method according to another embodiment of the present invention;
FIG. 5 is a flow chart of a manipulation method according to another embodiment of the present invention;
FIG. 6 is a schematic diagram of a sensor distribution of an electronic device according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of a pressure distribution curve according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 9 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
With the physical key replaced by the pressure key, the prior art key may be as shown in fig. 1, and fig. 1 is a schematic diagram of the pressure key of one example in the prior art. As can be seen from the electronic device 100 shown in fig. 1, the electronic device 100 includes three pressure keys, namely a pressure key 10, a pressure key 20 and a pressure key 30, wherein a pressure sensor 11 is disposed below the pressure key 10, a pressure sensor 21 is disposed below the pressure key 20, and a pressure sensor 31 is disposed below the pressure key 30.
At this time, if the user presses at the position of the area 40, the pressure sensor 11 and the pressure sensor 21 each acquire the pressing force of the user. This results in that if the user wants to trigger the pressure key 20 to execute the corresponding operation, but since the pressure sensor 11 corresponding to the pressure key 10 also collects the pressing force of the user, when the pressing force of the user reaches the threshold value of the pressure sensor 11, the corresponding operation is triggered by the pressure key 10, so that the false triggering of the pressure key occurs, and the use experience of the user is affected.
Therefore, in order to solve the above-mentioned problems, the embodiment of the invention provides a control method, an electronic device and a medium capable of avoiding false triggering of a pressure key and improving the use experience of a user.
The control method provided by the embodiment of the invention can be applied to the electronic device shown in fig. 2, so the electronic device applying the control method provided by the embodiment of the invention is described in detail below with reference to fig. 2.
Fig. 2 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. As shown in fig. 2, a first sensor 210 and M second sensors 220 are provided at preset positions of the electronic device 200. The first sensor and the second sensor may each be a pressure sensor.
The preset position may be located within a first preset range of the target pressure key of the electronic device. For example, referring to fig. 2, the target pressure key 230 may be located around the target pressure key 230 or the target pressure key 230.
Alternatively, in some embodiments of the present invention, the M second sensors 220 are symmetrically distributed with respect to the first sensor 210. Alternatively, in some embodiments of the present invention, as further shown in FIG. 2, the M second sensors 220 may be diamond-shaped in distribution relative to the first sensors 210. In other embodiments, the M second sensors 220 may also be distributed in an "X" shape (not shown) with respect to the first sensors 210. Wherein M is a positive integer. Furthermore, it should be appreciated that since the M second sensors 220 are symmetrically distributed with respect to the first sensor 210, M should also be an even number.
Next, on the basis of the electronic device shown in fig. 2, a manipulation method provided by an embodiment of the present invention will be described in detail with reference to fig. 3.
Fig. 3 is a schematic flow chart of a manipulation method according to an embodiment of the invention. The control method comprises the following steps:
s101, receiving a first input of a user in a target area.
Alternatively, in some embodiments of the present invention, with continued reference to fig. 2, the target area may be within a second preset range of the target pressure key 230, for example, the target area may be above the target pressure key 230, may be below the target pressure key 230, or may refer to an area where the target pressure key 230 is located.
S102, responding to the first input, and executing target operation corresponding to the target pressure key under the condition that the target area is in the preset area.
The pressure values monitored by the first sensor 210 are greater than the pressure values monitored by the N target second sensors 220 in the preset area, and the N target second sensors 220 are second sensors distributed symmetrically with respect to the first sensor 210 in the M second sensors. For example, the N target second sensors 220 may be second sensors connected by a dotted line as shown in fig. 2. Where N is a positive integer less than or equal to M, and since N target sensors 220 should also be symmetrically distributed with respect to the first sensor 210, N should also be an even number.
It should be understood that the dashed lines in fig. 2 are merely for convenience of explanation of the N target second sensors, and are not hardware devices in the electronic device.
Optionally, in some embodiments of the present invention, when the target area where the user performs the first input is within the preset area, it indicates that the first input is an input for the target pressure key 230, and the electronic device may execute the target operation corresponding to the target pressure key.
In the embodiment of the invention, the preset area capable of triggering each pressure key in the electronic equipment is accurately distinguished through the first sensor and the plurality of second sensors symmetrically distributed relative to the first sensor, which are arranged at the preset position of the electronic equipment, so that the electronic equipment can execute the target operation corresponding to the pressure key only when the target area for the first input of the user is in the preset area, thereby effectively avoiding false triggering of other pressure keys by the user and improving the use experience of the user.
Optionally, in some embodiments of the present invention, after S101, the manipulation method further includes:
and under the condition that the target area is not in the preset area, prohibiting the execution of the target operation corresponding to the pressure key.
In the embodiment of the invention, when the target area of the first input by the user is not in the preset area, the current input of the user is not the input aiming at the target pressure key, the target operation corresponding to the target pressure key is not executed, so that the situation of false triggering of the target pressure key is avoided, and the use experience of the user is improved.
In order to further avoid the situation that the user does not have a key requirement or the electronic device is off the screen as far as possible, the step S101 may be executed when the target pressure key is in the activated state, and the activated state of the target pressure key may be closed when the user does not have a key requirement or the electronic device is off the screen. And only after receiving the input operation of the user, the target pressure key is activated so that the user can perform the next operation. See in particular fig. 4.
Fig. 4 is a flow chart of a manipulation method according to another embodiment of the invention. The control method comprises the following steps:
s201, receiving a second input of the user in the target area.
S202, responding to the second input, and activating a target pressure key.
Alternatively, in some embodiments of the present invention, if the second input is a sliding input, the target pressure key 230 is activated in a case where a sliding range corresponding to the sliding input covers the first sensor 210 and the N target second sensors 220 as shown in fig. 2.
S203, receiving a first input of a user in a target area.
S204, responding to the first input, and executing target operation corresponding to the target pressure key under the condition that the target area is in the preset area.
Wherein S203 and S204 are the same steps as S101 and S102, and are not described herein.
In the embodiment of the invention, the electronic equipment activates the target pressure key only when receiving the sliding input which can cover the first sensor and the N target second sensors, so that the situation of false triggering of the pressure key under the condition of no key requirement or screen-off of the electronic equipment can be avoided, and the use experience of a user is further improved.
Optionally, in some embodiments of the present invention, in order to further reduce occurrence of false triggering of the pressure key, S102 or S204 may further be:
and executing target operation corresponding to the target pressure key under the condition that the target area is in the preset area and the pressure value monitored by the first sensor is greater than or equal to the preset threshold value. The preset threshold may be a minimum pressure value at which the target pressure key is allowed to perform the target operation.
In the embodiment of the invention, the electronic equipment judges whether the target area is in the preset area or not, and further judges whether the pressure value monitored by the first sensor is greater than or equal to the preset threshold value or not, so that the electronic equipment can execute the target operation corresponding to the target pressure key only if the input of the two conditions is met, thereby further reducing the occurrence of false triggering of the pressure key and further improving the use experience of a user.
As can be seen from the description of the foregoing embodiments, in the preset area in the embodiment of the present invention, the pressure value monitored by the first sensor is greater than the pressure values monitored by the N second target sensors, so that the size of the preset area is in a close and indistinguishable relationship with the positions of the first sensor and the N target second sensors.
Therefore, in some embodiments of the present invention, M second sensors may be preset in the electronic device, and then different N target second sensors may be determined from the M second sensors according to the range of different preset areas through software.
By selecting N second sensors from M preset second sensors through software, the preset area corresponding to each pressure key in the electronic equipment can be dynamically adjusted according to different use requirements of different pressure keys, and the flexibility of the electronic equipment is improved.
Next, a manipulation method including a step of determining a preset area according to still another embodiment of the present invention will be described in detail with reference to fig. 5 to 7.
As shown in fig. 5, fig. 5 is a flow chart of a manipulation method according to another embodiment of the present invention, where the manipulation method includes:
s301, receiving sliding input of a user in a target area.
S302, in the case that a sliding range corresponding to the sliding input covers the first sensor and the N target second sensors, a target pressure key is activated in response to the sliding input.
S303, acquiring a first pressure distribution curve and M second pressure distribution curves.
The first pressure distribution curve is a relation curve between a pressure value monitored by the first sensor and a position where the first sensor is located, and the second pressure distribution curve is a relation curve between a pressure value monitored by the second sensor and a position where the second sensor is located.
Optionally, in some embodiments of the present invention, if the first sensor and the M second sensors included in the electronic device are shown in fig. 6, fig. 6 is a schematic distribution diagram of the sensors of the electronic device according to one embodiment of the present invention.
As shown in fig. 6, the electronic device has 13 sensors, which are one first sensor 51 and 12 second sensors, respectively, for example, a second sensor 52, a second sensor 53, a second sensor 54, a second sensor 55, a second sensor 56, and a second sensor 57. Among them, the second sensor 52, the second sensor 53, the second sensor 54, and the second sensor 55 are selected as target second sensors.
Referring to fig. 7, fig. 7 is a schematic diagram of a pressure distribution curve according to an embodiment of the invention. The first pressure distribution curve may be shown as a curve L1 shown in fig. 7, and the second pressure distribution curve may be shown as L2, L3, L4, L5, etc. in fig. 7.
S304, determining a preset area based on the first pressure distribution curve and the M second pressure distribution curves. And in the preset area, the pressure values monitored by the first sensors are larger than the pressure values monitored by the N target second sensors.
Therefore, after the target second sensors are determined, the preset area can be determined by determining the areas where the pressure values monitored by the first sensor are greater than the pressure values monitored by the N target second sensors.
Alternatively, in some embodiments of the present invention, as shown in fig. 6, the first pressure distribution curve corresponding to the first sensor 51 is L1 as shown in fig. 7, the second pressure distribution curve corresponding to the second sensor 52 is L2 as shown in fig. 7, the second pressure distribution curve corresponding to the second sensor 53 is L3 as shown in fig. 7, the second pressure distribution curve corresponding to the second sensor 56 is L4 as shown in fig. 7, and the second pressure distribution curve corresponding to the second sensor 57 is L5 as shown in fig. 7.
It can be seen from the pressure distribution diagram shown in fig. 7 that, in the case where the second sensor 52, the second sensor 53, the second sensor 54, and the second sensor 55 are selected as the target second sensor, the pressure value monitored by the first sensor 51 is greater than the pressure values monitored by the target second sensor 52 and the target second sensor 53 in the D1 region. Therefore, the D1 region is taken as a preset region.
In addition, the D2 region and the D3 region as shown in fig. 7 are regions in which the pressure value monitored by the first sensor is not greater than the pressure value monitored by all of the target second sensors. Therefore, if the user performs the first input in the D2 area or the D3 area, the first input will not trigger the electronic device to execute the target operation corresponding to the target pressure control.
S305, receiving a first input of a user in a target area;
s306, responding to the first input, and executing target operation corresponding to the target pressure key under the condition that the target area is in the preset area.
In the embodiment of the invention, the preset area capable of triggering each pressure key in the electronic equipment is accurately distinguished through the first sensor and the plurality of second sensors symmetrically distributed relative to the first sensor, which are arranged at the preset position of the electronic equipment, so that the electronic equipment can execute the target operation corresponding to the pressure key only when the target area for the first input of the user is in the preset area, thereby effectively avoiding false triggering of other pressure keys by the user and improving the use experience of the user.
Based on the specific implementation manner of the control method provided by the embodiment, correspondingly, the invention further provides a specific implementation manner of the electronic equipment. Please refer to fig. 8.
Fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. The electronic equipment comprises a first sensor and M second sensors, wherein the first sensor and the M second sensors are arranged at preset positions of the electronic equipment;
m is a positive integer greater than 1, M second sensors are symmetrically distributed relative to the first sensor, and the preset position is located in a first preset range of a target pressure key of the electronic equipment;
as shown in fig. 8, the electronic device includes:
a receiving module 810, configured to receive a first input from a user in a target area;
the execution module 820 is configured to execute, in response to the first input, a target operation corresponding to the target pressure key when the target area is within the preset area;
the target area is positioned in a second preset range of the target pressure key; in a preset area, the pressure values monitored by the first sensors are larger than the pressure values monitored by the N target second sensors;
the N target second sensors are second sensors which are symmetrically distributed relative to the first sensor in the M second sensors, and N is a positive integer less than or equal to M.
According to the electronic device provided by the embodiment of the invention, the preset area capable of triggering each pressure key in the electronic device is accurately distinguished through the first sensor arranged at the preset position of the electronic device and the plurality of second sensors symmetrically distributed relative to the first sensor, so that the electronic device can execute the target operation corresponding to the pressure key only when the target area for the first input of the user is in the preset area, and further false triggering of other pressure keys by the user is effectively avoided, and the use experience of the user is improved.
Alternatively, in some embodiments of the invention,
the receiving module 810 is further configured to: receiving a second input of a user in the target area;
optionally, in some embodiments of the present invention, the electronic device further includes:
and the activation module is used for responding to the second input and activating the target pressure key.
Optionally, in some embodiments of the invention, the second input is a sliding input;
the activation module is specifically further configured to:
and in the case that the sliding range corresponding to the sliding input covers the first sensor and the N target second sensors, activating the target pressure key in response to the sliding input.
Optionally, in some embodiments of the present invention, the electronic device further includes:
and the first determining module is used for determining N target second sensors in the M second sensors based on the area range of the preset area before receiving the first input of the user in the target area.
Optionally, in some embodiments of the present invention, the electronic device further includes:
the acquisition module is used for acquiring a first pressure distribution curve and M second pressure distribution curves before executing the target operation corresponding to the target pressure key;
the second determining module is used for determining a preset area based on the first pressure distribution curve and the M second pressure distribution curves;
the first pressure distribution curve is a relation curve between a pressure value monitored by the first sensor and a position where the first sensor is located, and the second pressure distribution curve is a relation curve between a pressure value monitored by the second sensor and a position where the second sensor is located.
Optionally, in some embodiments of the present invention, the execution module 820 is specifically configured to:
and executing target operation corresponding to the target pressure key under the condition that the target area is in the preset area and the pressure value monitored by the first sensor is greater than or equal to the preset threshold value.
Optionally, in some embodiments of the present invention, the electronic device further includes:
and the prohibiting module is used for prohibiting the execution of the target operation corresponding to the pressure key when the target area is not in the preset area.
Alternatively, in some embodiments of the invention, the M second sensors are diamond-shaped with respect to the first sensor.
Fig. 9 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present invention.
The electronic device 600 includes, but is not limited to: radio frequency unit 601, network module 602, audio output unit 603, input unit 604, sensor 605, display unit 606, user input unit 607, interface unit 608, memory 609, processor 610, and power supply 611. It will be appreciated by those skilled in the art that the electronic device structure shown in fig. 9 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than illustrated, or may combine certain components, or may have a different arrangement of components. In the embodiment of the invention, the electronic equipment comprises, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer and the like.
The electronic equipment comprises a first sensor and M second sensors, wherein the first sensor and the M second sensors are arranged at preset positions of the electronic equipment;
m is a positive integer greater than 1, M second sensors are symmetrically distributed relative to the first sensor, and the preset position is located in a first preset range of a target pressure key of the electronic equipment;
a processor 610 that receives a first input from a user within a target area; responding to the first input, and executing target operation corresponding to the target pressure key under the condition that the target area is in the preset area; the target area is positioned in a second preset range of the target pressure key, and the pressure values monitored by the first sensors are all larger than the pressure values monitored by the N target second sensors in the preset area; the N target second sensors are second sensors which are symmetrically distributed relative to the first sensor in the M second sensors, and N is a positive integer less than or equal to M.
In the embodiment of the invention, the preset area capable of triggering each pressure key in the electronic equipment is accurately distinguished through the first sensor and the plurality of second sensors symmetrically distributed relative to the first sensor, which are arranged at the preset position of the electronic equipment, so that the electronic equipment can execute the target operation corresponding to the pressure key only when the target area for the first input of the user is in the preset area, thereby effectively avoiding false triggering of other pressure keys by the user and improving the use experience of the user.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 601 may be used to receive and send information or signals during a call, specifically, receive downlink data from a base station, and then process the downlink data with the processor 610; and, the uplink data is transmitted to the base station. Typically, the radio frequency unit 601 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 601 may also communicate with networks and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 602, such as helping the user to send and receive e-mail, browse web pages, and access streaming media, etc.
The audio output unit 603 may convert audio data received by the radio frequency unit 601 or the network module 602 or stored in the memory 609 into an audio signal and output as sound. Also, the audio output unit 603 may also provide audio output (e.g., a call signal reception sound, a message reception sound, etc.) related to a specific function performed by the electronic device 600. The audio output unit 603 includes a speaker, a buzzer, a receiver, and the like.
The input unit 604 is used for receiving audio or video signals. The input unit 604 may include a graphics processor (Graphics Processing Unit, GPU) 6041 and a microphone 6042, the graphics processor 6041 processing image data of still pictures or video obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 606. The image frames processed by the graphics processor 6041 may be stored in the memory 609 (or other storage medium) or transmitted via the radio frequency unit 601 or the network module 602. Microphone 6042 may receive sound and can process such sound into audio data. The processed audio data may be converted into a format output that can be transmitted to the mobile communication base station via the radio frequency unit 601 in the case of a telephone call mode.
The electronic device 600 also includes at least one sensor 605, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 6061 according to the brightness of ambient light, and the proximity sensor can turn off the display panel 6061 and/or the backlight when the electronic device 600 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and direction when stationary, and can be used for recognizing the gesture of the electronic equipment (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; the sensor 605 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which are not described herein.
The display unit 606 is used to display information input by a user or information provided to the user. The display unit 606 may include a display panel 6061, and the display panel 6061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 607 may be used to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 607 includes a touch panel 6071 and other input devices 6072. Touch panel 6071, also referred to as a touch screen, may collect touch operations thereon or thereabout by a user (e.g., operations of the user on touch panel 6071 or thereabout using any suitable object or accessory such as a finger, stylus, or the like). The touch panel 6071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch azimuth of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device and converts it into touch point coordinates, which are then sent to the processor 610, and receives and executes commands sent from the processor 610. In addition, the touch panel 6071 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 607 may include other input devices 6072 in addition to the touch panel 6071. Specifically, other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein.
Further, the touch panel 6071 may be overlaid on the display panel 6061, and when the touch panel 6071 detects a touch operation thereon or thereabout, the touch operation is transmitted to the processor 610 to determine a type of a touch event, and then the processor 610 provides a corresponding visual output on the display panel 6061 according to the type of the touch event. Although in fig. 9, the touch panel 6071 and the display panel 6061 are two independent components for implementing the input and output functions of the electronic device, in some embodiments, the touch panel 6071 and the display panel 6061 may be integrated to implement the input and output functions of the electronic device, which is not limited herein.
The interface unit 608 is an interface to which an external device is connected to the electronic apparatus 600. For example, the external devices may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 608 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 600 or may be used to transmit data between the electronic apparatus 600 and an external device.
The memory 609 may be used to store software programs as well as various data. The memory 609 may mainly include a storage program area that may store an operating system, an application program required for at least one function (such as a sound playing function, an image playing function, etc.), and a storage data area; the storage data area may store data (such as audio data, phonebook, etc.) created according to the use of the handset, etc. In addition, the memory 609 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 610 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 609, and calling data stored in the memory 609, thereby performing overall monitoring of the electronic device. The processor 610 may include one or more processing units; preferably, the processor 610 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 610.
The electronic device 600 may also include a power supply 611 (e.g., a battery) for powering the various components, and preferably the power supply 611 may be logically coupled to the processor 610 via a power management system that performs functions such as managing charging, discharging, and power consumption.
In addition, the electronic device 600 includes some functional modules, which are not shown, and will not be described herein.
Preferably, the embodiment of the present invention further provides an electronic device, including a processor 610, a memory 609, and a computer program stored in the memory 609 and capable of running on the processor 610, where the computer program when executed by the processor 610 implements each process of the above-mentioned embodiment of the control method, and the same technical effects can be achieved, and for avoiding repetition, a detailed description is omitted herein.
The embodiment of the invention also provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements the processes of the above-described embodiments of the control method, and can achieve the same technical effects, so that repetition is avoided, and no further description is given here. Wherein the computer readable storage medium is selected from Read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic disk or optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The embodiments of the present invention have been described above with reference to the accompanying drawings, but the present invention is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present invention and the scope of the claims, which are to be protected by the present invention.

Claims (8)

1. The control method is characterized by being applied to electronic equipment, wherein a first sensor and M second sensors are arranged at preset positions of the electronic equipment; m is a positive integer greater than 1, the M second sensors are symmetrically distributed relative to the first sensor, and the preset position is located in a first preset range of a target pressure key of the electronic equipment;
the method comprises the following steps:
receiving a first input of a user in a target area;
responding to the first input, and executing target operation corresponding to the target pressure key under the condition that the target area is in a preset area;
the target area is located in a second preset range of the target pressure key; in the preset area, the pressure values monitored by the first sensors are larger than the pressure values monitored by the N target second sensors;
the N target second sensors are second sensors which are symmetrically distributed relative to the first sensor in the M second sensors, and N is a positive integer less than or equal to M;
the method further comprises, prior to receiving the first input from the user within the target area:
receiving a second input of a user in the target area, wherein the second input is a sliding input, and a sliding range corresponding to the sliding input covers the first sensor and the N target second sensors;
in response to the second input, activating a target pressure key;
and before executing the target operation corresponding to the target pressure key under the condition that the target area is in the preset area, the method further comprises the following steps:
acquiring a first pressure distribution curve and M second pressure distribution curves;
determining the preset region based on the first pressure distribution curve and the M second pressure distribution curves;
the first pressure distribution curve is a relation curve between the pressure value monitored by the first sensor and the position where the first sensor is located, and the second pressure distribution curve is a relation curve between the pressure value monitored by the second sensor and the position where the second sensor is located.
2. The method of claim 1, wherein the receiving the first input from the user within the target area further comprises:
and determining the N target second sensors from the M second sensors based on the area range of the preset area.
3. The method according to claim 1, wherein the executing the target operation corresponding to the target pressure key when the target area is within a preset area includes:
and executing target operation corresponding to the target pressure key under the condition that the target area is in the preset area and the pressure value monitored by the first sensor is greater than or equal to a preset threshold value.
4. An electronic device is characterized in that a first sensor and M second sensors are arranged at preset positions of the electronic device;
m is a positive integer greater than 1, the M second sensors are symmetrically distributed relative to the first sensor, and the preset position is located in a first preset range of a target pressure key of the electronic equipment;
the electronic device includes:
the receiving module is used for receiving a first input of a user in a target area;
the execution module is used for responding to the first input and executing the target operation corresponding to the target pressure key under the condition that the target area is in a preset area;
the target area is located in a second preset range of the target pressure key; in the preset area, the pressure values monitored by the first sensors are larger than the pressure values monitored by the N target second sensors;
the N target second sensors are second sensors which are symmetrically distributed relative to the first sensor in the M second sensors, and N is a positive integer less than or equal to M;
the receiving module is further configured to receive a second input of the user in the target area before receiving the first input of the user in the target area, where the second input is a sliding input, and a sliding range corresponding to the sliding input covers the first sensor and the N target second sensors;
the execution module is further used for responding to the second input and activating a target pressure key;
the acquisition module is used for acquiring a first pressure distribution curve and M second pressure distribution curves before executing the target operation corresponding to the target pressure key;
a second determining module, configured to determine the preset area based on the first pressure distribution curve and M second pressure distribution curves;
the first pressure distribution curve is a relation curve between the pressure value monitored by the first sensor and the position where the first sensor is located, and the second pressure distribution curve is a relation curve between the pressure value monitored by the second sensor and the position where the second sensor is located.
5. The electronic device of claim 4, further comprising:
and the first determining module is used for determining the N target second sensors from the M second sensors based on the area range of the preset area before receiving the first input of the user in the target area.
6. The electronic device according to claim 4, wherein the execution module is specifically configured to:
and executing target operation corresponding to the target pressure key under the condition that the target area is in the preset area and the pressure value monitored by the first sensor is greater than or equal to a preset threshold value.
7. An electronic device comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the manipulation method according to any one of claims 1 to 3 when executing the computer program instructions.
8. A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of the manipulation method according to any one of claims 1 to 3.
CN202010225889.9A 2020-03-26 2020-03-26 Control method, electronic device and medium Active CN111459323B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010225889.9A CN111459323B (en) 2020-03-26 2020-03-26 Control method, electronic device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010225889.9A CN111459323B (en) 2020-03-26 2020-03-26 Control method, electronic device and medium

Publications (2)

Publication Number Publication Date
CN111459323A CN111459323A (en) 2020-07-28
CN111459323B true CN111459323B (en) 2023-04-28

Family

ID=71681715

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010225889.9A Active CN111459323B (en) 2020-03-26 2020-03-26 Control method, electronic device and medium

Country Status (1)

Country Link
CN (1) CN111459323B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113794971A (en) * 2021-07-29 2021-12-14 RealMe重庆移动通信有限公司 Earphone, earphone control method, earphone control device and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106411323A (en) * 2016-09-14 2017-02-15 芯海科技(深圳)股份有限公司 Method for preventing false triggering of pressure button
CN110140097A (en) * 2017-01-13 2019-08-16 三星电子株式会社 Electronic device with light source

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9417754B2 (en) * 2011-08-05 2016-08-16 P4tents1, LLC User interface system, method, and computer program product
CN106843685A (en) * 2017-01-11 2017-06-13 珠海市魅族科技有限公司 The processing method and electronic equipment of a kind of pressure signal
CN107562267B (en) * 2017-08-23 2020-10-16 维沃移动通信有限公司 Mobile terminal control method and mobile terminal
CN110471808B (en) * 2019-07-25 2023-12-29 维沃移动通信有限公司 Pressure key detection method and device and mobile terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106411323A (en) * 2016-09-14 2017-02-15 芯海科技(深圳)股份有限公司 Method for preventing false triggering of pressure button
CN110140097A (en) * 2017-01-13 2019-08-16 三星电子株式会社 Electronic device with light source

Also Published As

Publication number Publication date
CN111459323A (en) 2020-07-28

Similar Documents

Publication Publication Date Title
CN109067418B (en) Antenna control method and mobile terminal
CN108459797B (en) Control method of folding screen and mobile terminal
CN108347759B (en) Anti-interference method of flexible screen and mobile terminal
CN108319390B (en) Control method of flexible screen and mobile terminal
CN108227996B (en) Display control method and mobile terminal
CN109379484B (en) Information processing method and terminal
CN109710349B (en) Screen capturing method and mobile terminal
CN108196815B (en) Method for adjusting call sound and mobile terminal
CN111562896B (en) Screen projection method and electronic equipment
CN111401463B (en) Method for outputting detection result, electronic equipment and medium
CN111443815A (en) Vibration reminding method and electronic equipment
CN108509141B (en) Control generation method and mobile terminal
CN110471559B (en) False touch prevention method and mobile terminal
CN111093137B (en) Volume control method, volume control equipment and computer readable storage medium
CN109343811B (en) Display adjustment method and terminal equipment
CN111343710A (en) Power adjustment method and electronic equipment
CN108388400B (en) Operation processing method and mobile terminal
CN111526248B (en) Audio output mode switching method and electronic equipment
CN111176529B (en) Key display method and electronic equipment
CN110673761B (en) Touch key detection method and terminal equipment thereof
CN110740265B (en) Image processing method and terminal equipment
CN110471808B (en) Pressure key detection method and device and mobile terminal
CN109858447B (en) Information processing method and terminal
CN111459323B (en) Control method, electronic device and medium
CN109614827B (en) Control method of mobile terminal and mobile terminal

Legal Events

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