CN110609642B - Control method and device of electronic equipment, storage medium and electronic equipment - Google Patents

Control method and device of electronic equipment, storage medium and electronic equipment Download PDF

Info

Publication number
CN110609642B
CN110609642B CN201910791499.5A CN201910791499A CN110609642B CN 110609642 B CN110609642 B CN 110609642B CN 201910791499 A CN201910791499 A CN 201910791499A CN 110609642 B CN110609642 B CN 110609642B
Authority
CN
China
Prior art keywords
pressure value
user
touch operation
user interface
electronic device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910791499.5A
Other languages
Chinese (zh)
Other versions
CN110609642A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201910791499.5A priority Critical patent/CN110609642B/en
Publication of CN110609642A publication Critical patent/CN110609642A/en
Application granted granted Critical
Publication of CN110609642B publication Critical patent/CN110609642B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0414Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using force sensing means to determine a position
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application provides a control method and device of electronic equipment, a storage medium and the electronic equipment, wherein the control method of the electronic equipment comprises the following steps: acquiring a pressure value detected by a piezoelectric ceramic sensor; when the pressure value meets a preset condition, displaying a corresponding user interface on a display screen of the electronic equipment according to the pressure value; receiving touch operation of a user for the user interface; and controlling the electronic equipment to execute corresponding functions according to the touch operation. In the control method of the electronic equipment, the piezoelectric ceramic sensor arranged at the side of the electronic equipment is used for detecting the pressing operation, and the user interface is displayed when the pressure value of the pressing operation meets the preset condition.

Description

Control method and device of electronic equipment, storage medium and electronic equipment
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a method and apparatus for controlling an electronic device, a storage medium, and an electronic device.
Background
With the development of electronic technology, electronic devices such as smartphones are becoming more popular. Typically, one or more mechanical keys are provided on an electronic device. The mechanical key protrudes from the surface of the electronic device, for example, the mechanical key protrudes from the surface of the housing. When the user presses the mechanical key, the key is pressed, and after the user stops pressing, the key springs up to restore to the original state. Meanwhile, the electronic device responds to the pressing operation detected by the key.
However, with respect to mechanical keys on electronic devices, since the keys protrude from the surface of the electronic device, misoperation of the keys is likely to occur. For example, when a user places an electronic device in a pocket or a backpack, the keys on the electronic device are easily pressed by the pocket or the backpack, and the pressing of the keys is also considered to be a pressing operation from the user, and the electronic device also responds to the pressing operation detected by the keys, so that a false operation occurs.
Disclosure of Invention
The embodiment of the application provides a control method and device of electronic equipment, a storage medium and the electronic equipment, which can reduce the occurrence of misoperation of the electronic equipment and improve the control accuracy of the electronic equipment.
The embodiment of the application provides a control method of electronic equipment, wherein a piezoelectric ceramic sensor is arranged on the side edge of the electronic equipment, and the control method of the electronic equipment comprises the following steps:
acquiring a pressure value detected by the piezoelectric ceramic sensor;
when the pressure value meets a preset condition, displaying a corresponding user interface on a display screen of the electronic equipment according to the pressure value;
receiving touch operation of a user for the user interface;
and controlling the electronic equipment to execute corresponding functions according to the touch operation.
The embodiment of the application also provides a control device of the electronic equipment, the side edge of the electronic equipment is provided with a piezoelectric ceramic sensor, and the control device of the electronic equipment comprises:
the acquisition module is used for acquiring the pressure value detected by the piezoelectric ceramic sensor;
the display module is used for displaying a corresponding user interface on a display screen of the electronic equipment according to the pressure value when the pressure value meets a preset condition;
the receiving module is used for receiving touch operation of a user for the user interface;
and the execution module is used for controlling the electronic equipment to execute corresponding functions according to the touch operation.
The embodiment of the application also provides a storage medium, wherein the storage medium stores a computer program, and when the computer program runs on a computer, the computer is caused to execute the control method of the electronic equipment.
The embodiment of the application also provides electronic equipment, which comprises a processor and a memory, wherein the memory stores a computer program, and the processor is used for executing the control method of the electronic equipment by calling the computer program stored in the memory.
The embodiment of the application also provides electronic equipment, which comprises:
a housing;
the piezoelectric ceramic sensor is arranged on the side edge of the shell and is used for detecting the pressure value when a user presses;
the display screen is arranged on the shell and is used for displaying a corresponding user interface according to the pressure value when the pressure value meets a preset condition;
the processor is arranged inside the shell, and is used for receiving touch operation of a user on the user interface and controlling the electronic equipment to execute corresponding functions according to the touch operation.
The control method of the electronic equipment provided by the embodiment of the application comprises the following steps: acquiring a pressure value detected by a piezoelectric ceramic sensor; when the pressure value meets a preset condition, displaying a corresponding user interface on a display screen of the electronic equipment according to the pressure value; receiving touch operation of a user for the user interface; and controlling the electronic equipment to execute corresponding functions according to the touch operation. In the control method of the electronic equipment, the piezoelectric ceramic sensor arranged at the side of the electronic equipment is used for detecting the pressing operation, the user interface is displayed when the pressure value of the pressing operation meets the preset condition, and the corresponding function is executed according to the touch operation of the user.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the description of the embodiments will be briefly described below. It is evident that the drawings in the following description are only some embodiments of the application and that other drawings may be obtained from these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of a first structure of an electronic device according to an embodiment of the present application.
Fig. 2 is a first flowchart of a control method of an electronic device according to an embodiment of the present application.
Fig. 3 is a schematic diagram of a state of an electronic device responding to a user operation according to an embodiment of the present application.
Fig. 4 is a second flowchart of a control method of an electronic device according to an embodiment of the present application.
Fig. 5 is a third flowchart of a control method of an electronic device according to an embodiment of the present application.
Fig. 6 is a fourth flowchart of a control method of an electronic device according to an embodiment of the present application.
Fig. 7 is a fifth flowchart of a control method of an electronic device according to an embodiment of the present application.
Fig. 8 is a timing diagram of an electronic device according to an embodiment of the present application responding to a user operation.
Fig. 9 is a schematic diagram of a first structure of a control device of an electronic apparatus according to an embodiment of the present application.
Fig. 10 is a schematic diagram of a second structure of a control device of an electronic apparatus according to an embodiment of the present application.
Fig. 11 is a schematic diagram of a second structure of an electronic device according to an embodiment of the present application.
Fig. 12 is a schematic diagram of a third structure of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. It will be apparent that the described embodiments are only some, but not all, embodiments of the application. All other embodiments, which can be made by a person skilled in the art without any inventive effort, are intended to be within the scope of the present application based on the embodiments of the present application.
Referring to fig. 1, fig. 1 is a schematic diagram of a first structure of an electronic device according to an embodiment of the present application. The side of the electronic equipment is provided with a piezoelectric ceramic sensor, and the piezoelectric ceramic sensor can detect the pressing operation of a user. It is understood that the electronic device includes a housing, which may include, for example, a center, battery cover, and the like structures of the electronic device. The piezoelectric ceramic sensor may be disposed at a side of a housing of the electronic device. For example, the piezoelectric ceramic sensor may be disposed at a left side, a right side, a top side, a bottom side, or the like of the electronic device case, or may be disposed at a side corner of the electronic device case.
It should be noted that the piezoelectric ceramic sensor may be disposed inside the housing of the electronic device, without protruding from the surface of the housing of the electronic device. For example, the piezoceramic sensor may be attached to an inner wall of a housing of the electronic device, or the piezoceramic sensor may be embedded in a recess formed in the housing.
The piezoelectric ceramic sensor may be made of piezoelectric ceramic. For example, the piezoelectric ceramic sensor may comprise a monolithic piezoelectric ceramic sheet, or comprise a plurality of piezoelectric ceramic particles, or comprise a plurality of piezoelectric ceramic sheets arranged at intervals. Piezoelectric ceramics are a class of electronic ceramic materials with piezoelectric properties. The main component of piezoelectric ceramics is grains having ferroelectricity. Piezoelectric ceramics are aggregates formed by aggregation of a plurality of ferroelectric grains, in which the orientations of the plurality of ferroelectric grains are random, and thus the polarization vectors of the respective ferroelectric grains are also randomly oriented. When the piezoelectric ceramic is placed in a direct current electric field, the respective polarization vector of each ferroelectric crystal grain which is originally in disordered orientation is preferentially oriented along the direction of the electric field, so that the piezoelectric ceramic has piezoelectric properties. Thus, the piezoelectric ceramic may enable a mutual conversion of mechanical energy and electrical energy, e.g. converting mechanical energy into electrical energy. For example, when a user presses the piezoelectric ceramic, the piezoelectric ceramic may convert mechanical energy of the pressed force into corresponding electric energy, that is, generate corresponding electric signals, thereby realizing detection of the pressing operation of the user.
It can be understood that, because the piezoelectric ceramic can realize the mutual conversion between mechanical energy and electric energy, the piezoelectric ceramic sensor converts the pressing operation of the user into corresponding electric signals when detecting the pressing operation of the user, so that the piezoelectric ceramic sensor does not generate displacement in the pressing process of the user, and therefore, a movement space such as a mechanical key is not required to be independently arranged in the electronic equipment.
The embodiment of the application provides a control method of electronic equipment, which can be applied to the electronic equipment. The electronic device may be a smart phone, a tablet computer, a gaming device, an AR (Augmented Reality ) device, an automobile, a data storage device, an audio playing device, a video playing device, a notebook computer, a desktop computing device, a wearable device such as an electronic watch, electronic glasses, an electronic helmet, an electronic bracelet, an electronic necklace, an electronic article of clothing, or the like.
Referring to fig. 2, fig. 2 is a first flowchart of a control method of an electronic device according to an embodiment of the present application. The control method of the electronic equipment comprises the following steps:
110, obtaining the pressure value detected by the piezoelectric ceramic sensor.
The side of the electronic equipment is provided with a piezoelectric ceramic sensor, and the piezoelectric ceramic sensor can be used for detecting the pressing operation of a user. When a user presses the piezoelectric ceramic sensor, the electronic device can acquire a pressure value detected by the piezoelectric ceramic sensor and convert the detected pressure value into a corresponding electrical signal for processing.
120, when the pressure value meets a preset condition, displaying a corresponding user interface on a display screen of the electronic equipment according to the pressure value.
After the electronic equipment acquires the pressure value, when the pressure value meets a preset condition, the electronic equipment can display a corresponding user interface on a display screen according to the pressure value.
The preset conditions can be preset in the electronic equipment, or can be set or modified by a user in the use process of the user. And when the pressure value meets a preset condition, the pressing operation detected by the piezoelectric ceramic sensor is indicated to be an effective pressing operation, and the electronic equipment can display a corresponding user interface on a display screen to respond to the detected pressing operation. When the pressure value does not satisfy the preset condition, it indicates that the pressing operation detected by the piezoelectric ceramic sensor is an invalid pressing operation, and the electronic apparatus may not respond to the detected pressing operation at this time.
It can be appreciated that the preset pressure threshold and the preset duration may be preset in the electronic device. The preset pressure threshold represents a minimum pressing pressure value that the electronic device needs to respond to a pressing operation, and may be, for example, 0.5N (newton). The preset time period indicates a minimum time period that is maintained when a pressing pressure value that the electronic device needs to respond to the pressing operation exceeds the preset pressure threshold, and for example, the preset time period may be 0.3s (seconds).
After the electronic equipment acquires the pressure value detected by the piezoelectric ceramic sensor, whether the pressure value is larger than a preset pressure threshold value or not can be judged. If the pressure value is greater than the preset pressure threshold, further judging whether the duration that the pressure value is continuously greater than the preset pressure threshold is greater than the preset duration. And if the duration time that the pressure value is continuously greater than the preset pressure threshold value is longer than the preset duration time, determining that the pressure value meets the preset condition.
If the pressure value is not greater than the preset pressure threshold, the pressure value is too small, namely the pressing force of the pressing operation detected by the piezoelectric ceramic sensor is too small, and the detected pressing operation is misoperation at the moment, so that the pressure value is determined to not meet the preset condition.
If the pressure value is greater than the preset pressure threshold value, but the duration that the pressure value is continuously greater than the preset pressure threshold value is not greater than the preset duration, the duration that the pressure value reaches the preset pressure threshold value is too short, that is, the duration that the effective pressing duration of the pressing operation detected by the piezoelectric ceramic sensor is too short, and the detected pressing operation is also misoperation, so that the pressure value is determined to not meet the preset condition.
The user interface is an interface corresponding to a function to be realized by the electronic equipment according to the pressing operation of the user. The user interface may be a volume adjustment interface to implement a volume adjustment function of an electronic device, such as a volume adjustment interface displayed on a display screen of the electronic device shown in fig. 3, where fig. 3 is a schematic diagram of a state of the electronic device responding to a user operation provided by an embodiment of the present application; the user interface can also be a brightness adjustment interface to realize brightness adjustment of the display screen of the electronic equipment; the user interface may be a voice assistant initiation interface to enable initiation of a voice assistant function of the electronic device; the user interface may also be a shutdown interface to control shutdown of the electronic device.
130, receiving a touch operation of a user for the user interface.
After the electronic device displays the corresponding user interface on the display screen, the electronic device can receive touch operation of a user on the user interface. The touch operation may be, for example, a pressing operation such as a short press, a long press, a light press, a heavy press, or a sliding operation.
It should be understood that the touch operation is a touch operation performed by the user on the user interface, but is not necessarily a touch operation performed by the user directly on the user interface displayed on the display screen. For example, the user may directly perform a touch operation on a user interface displayed on the display screen; the user can also perform touch operation on the electronic device at a position corresponding to the user interface, so as to realize touch operation on the user interface.
140, controlling the electronic device to execute the corresponding function according to the touch operation.
After the electronic equipment receives the touch operation of the user for the user interface, the electronic equipment can be controlled to execute the corresponding function according to the touch operation.
For example, when the user interface is a volume adjustment interface, the electronic device may control the electronic device to perform volume adjustment according to the received touch operation; when the user interface is a brightness adjustment interface, the electronic equipment can control the electronic equipment to execute brightness adjustment according to the received touch operation; when the user interface is a voice assistant starting interface, the electronic equipment can control the electronic equipment to start the voice assistant according to the received touch operation; when the user interface is a shutdown interface, the electronic device can control the electronic device to shutdown according to the received touch operation.
In the control method of the electronic equipment provided by the embodiment of the application, the piezoelectric ceramic sensor arranged at the side of the electronic equipment is used for detecting the pressing operation, the user interface is displayed when the pressure value of the pressing operation meets the preset condition, and the corresponding function is executed according to the touch operation of the user.
In some embodiments, referring to fig. 4, fig. 4 is a second flowchart of a control method of an electronic device according to an embodiment of the present application.
Wherein 120, displaying a corresponding user interface on a display screen of the electronic device according to the pressure value includes:
121, determining a pressure value interval in which the pressure value is located;
122, determining a corresponding user interface according to the pressure value interval and a preset corresponding relation, wherein the preset corresponding relation comprises a corresponding relation between the pressure value interval and the user interface;
123 displaying the user interface on a display screen of the electronic device.
A plurality of pressure value intervals may be set in advance for the pressure values in the electronic device, each pressure value interval including a certain pressure value range. For example, four pressure value ranges of (0.5 n,1n ], (1 n,1.5n ], (1.5 n,2n ], (2 n,5 n) and the like may be set in advance for the pressure values.
In addition, a preset corresponding relation between the pressure value intervals and the user interfaces can be preset in the electronic device, and each pressure value interval corresponds to one user interface in the preset corresponding relation. For example, the user interface corresponding to the pressure value interval (0.5 n,1 n) is a volume adjustment interface, the user interface corresponding to the pressure value interval (1 n,1.5 n) is a brightness adjustment interface, the user interface corresponding to the pressure value interval (1.5 n,2 n) is a voice assistant start interface, and the user interface corresponding to the pressure value interval (2 n,5 n) is a shutdown interface.
After the electronic equipment acquires the pressure value detected by the piezoelectric ceramic sensor, the pressure value interval where the pressure value is located is firstly determined. And then, determining a corresponding user interface according to the pressure value interval and a preset corresponding relation, and displaying the user interface on a display screen of the electronic equipment.
For example, if the pressure value obtained by the electronic device is 3N, the pressure value interval where the pressure value is located is (2N, 5N), and the user interface corresponding to the pressure value interval is the shutdown interface, and then the electronic device displays the shutdown interface on the display screen.
In some embodiments, referring to fig. 5, fig. 5 is a third flowchart of a control method of an electronic device according to an embodiment of the present application.
Wherein 130, receiving a touch operation of the user for the user interface includes:
131, detecting whether a touch operation of a user is received in an area corresponding to the user interface on the display screen;
132, if the area on the display screen corresponding to the user interface receives the touch operation of the user, determining the touch operation as the touch operation of the user on the user interface.
It can be appreciated that the display screen of the electronic device may be a touch display screen, that is, the display screen may implement a touch function. For example, the display screen may be a capacitive touch screen.
After the electronic device displays the user interface on the display screen, whether the area corresponding to the user interface on the display screen receives the touch operation of the user or not can be detected. The touch operation may include a pressing operation, a sliding operation, and the like.
If the region on the display screen corresponding to the user interface receives the touch operation of the user, the electronic device determines the touch operation as the touch operation of the user on the user interface, and then the corresponding function can be executed according to the touch operation.
For example, when the user interface displayed on the display screen is a volume adjustment interface, if the area on the display screen corresponding to the volume adjustment interface receives a click operation or a sliding operation of a user, the electronic device may determine the click operation or the sliding operation as a touch operation of the user on the user interface. For example, when a clicking operation of a user is received in an area corresponding to a "+" icon in the volume adjustment interface on the display screen, the electronic device controls to increase the volume; when the area corresponding to the icon in the volume adjustment interface on the display screen receives the click operation of the user, the electronic equipment controls to reduce the volume; when the region corresponding to the volume adjustment interface on the display screen receives the up-sliding operation, the electronic equipment can also control to increase the volume; when the region corresponding to the volume adjustment interface on the display screen receives the sliding operation, the electronic device can also control to reduce the volume.
In some embodiments, referring to fig. 6, fig. 6 is a fourth flowchart of a control method of an electronic device according to an embodiment of the present application.
Wherein, be provided with fingerprint identification module on the electronic equipment. The fingerprint identification module can be arranged at the bottom end of the display screen of the electronic equipment, or arranged on the rear cover of the electronic equipment, or buried below the display screen. The fingerprint identification module comprises a touch sensor. The touch sensor may include, for example, a capacitive touch sensor, a pressure touch sensor, an ultrasonic touch sensor, and the like. The electronic device may receive a touch operation of a user through the touch sensor, such as receiving a pressing operation, a sliding operation, etc. of the user.
Wherein 130, receiving a touch operation of the user for the user interface includes:
133, detecting whether a touch sensor in the fingerprint identification module receives a touch operation of a user;
134, if the touch sensor in the fingerprint identification module receives the touch operation of the user, determining the touch operation as the touch operation of the user on the user interface.
After the electronic device displays the user interface on the display screen, whether the touch sensor in the fingerprint identification module receives the touch operation of the user can be detected. The touch operation may include a pressing operation, a sliding operation, and the like.
If the touch sensor in the fingerprint identification module receives the touch operation of the user, the electronic device determines the touch operation as the touch operation of the user aiming at the user interface, and then the electronic device can execute the corresponding function according to the touch operation.
For example, when the user interface displayed on the display screen is a volume adjustment interface, a partial region on the fingerprint recognition module may correspond to a "+" icon in the volume adjustment interface, and another partial region on the fingerprint recognition module may correspond to a "-" icon in the volume adjustment interface. For example, the left half area of the fingerprint recognition module corresponds to the "+" icon in the volume adjustment interface, and the right half area of the fingerprint recognition module corresponds to the "-" icon in the volume adjustment interface. When the left half area of the fingerprint identification module receives clicking operation of a user, the electronic equipment controls to increase the volume; when the right half area of the fingerprint identification module receives clicking operation of a user, the electronic equipment controls to reduce the volume; when the fingerprint identification module receives the sliding operation, the electronic equipment can also control to increase the volume; when the fingerprint identification module receives the sliding operation, the electronic equipment can also control to reduce the volume.
In some embodiments, referring to fig. 7, fig. 7 is a fifth flowchart of a control method of an electronic device according to an embodiment of the present application.
Wherein the electronic device is provided with a motor. The motor may be provided on a circuit board of the electronic device. The motor can vibrate to drive the electronic equipment to vibrate, so that a reminding effect is generated for a user.
When the pressure value meets a preset condition, after a corresponding user interface is displayed on a display screen of the electronic device according to the pressure value, 120 further includes:
151, generating a motor driving signal according to the pressure value;
152, driving the motor to generate vibration according to the motor driving signal, so as to drive the electronic device to generate vibration.
When the pressure value obtained by the electronic equipment meets the preset condition and a corresponding user interface is displayed on the display screen, the electronic equipment can also generate a motor driving signal according to the pressure value. The motor driving signal is used for driving the motor to generate vibration. And then, the electronic equipment can drive the motor to vibrate according to the motor driving signal so as to drive the electronic equipment to vibrate, thereby reminding a user.
Referring to fig. 8, fig. 8 is a timing diagram of an electronic device responding to a user operation according to an embodiment of the present application. The figure shows an example of adjusting the volume of the electronic device. The electronic equipment acquires two pressure values P1 and P2 through the piezoelectric ceramic sensor. The pressure value P1 does not satisfy the preset condition, so that the electronic device does not respond to the pressure value P1. The pressure value P2 satisfies a preset condition, and the electronic device displays a volume adjustment interface on the display screen according to the pressure value P2, generates a motor driving signal P3, and drives the motor to vibrate according to the motor driving signal P3. When the electronic device receives the touch operation P4 of the user for the volume adjustment interface, for example, the touch operation P4 is a sliding operation, the electronic device controls the volume of the electronic device to change as shown in fig. P5 according to the touch operation P4, that is, controls the volume of the electronic device to gradually increase.
In particular, the application is not limited by the order of execution of the steps described, as some of the steps may be performed in other orders or concurrently without conflict.
As can be seen from the above, the method for controlling the electronic device according to the embodiment of the present application includes: acquiring a pressure value detected by a piezoelectric ceramic sensor; when the pressure value meets a preset condition, displaying a corresponding user interface on a display screen of the electronic equipment according to the pressure value; receiving touch operation of a user for the user interface; and controlling the electronic equipment to execute corresponding functions according to the touch operation. In the control method of the electronic equipment, the piezoelectric ceramic sensor arranged at the side of the electronic equipment is used for detecting the pressing operation, the user interface is displayed when the pressure value of the pressing operation meets the preset condition, and the corresponding function is executed according to the touch operation of the user.
The embodiment of the application also provides a control device of the electronic equipment, which can be integrated in the electronic equipment. The electronic device may be a smart phone, a tablet computer, a gaming device, an AR (Augmented Reality ) device, an automobile, a data storage device, an audio playing device, a video playing device, a notebook computer, a desktop computing device, a wearable device such as an electronic watch, electronic glasses, an electronic helmet, an electronic bracelet, an electronic necklace, an electronic article of clothing, or the like.
The side of the electronic equipment is provided with a piezoelectric ceramic sensor. The piezoelectric ceramic sensor can realize the mutual conversion of mechanical energy and electric energy, thereby realizing the detection of the pressing operation of a user.
Referring to fig. 9, fig. 9 is a schematic diagram of a first structure of a control device of an electronic apparatus according to an embodiment of the present application. The control device 200 of the electronic apparatus includes: the device comprises an acquisition module 201, a display module 202, a receiving module 203 and an execution module 204.
An acquisition module 201 is configured to acquire a pressure value detected by the piezoceramic sensor.
The side of the electronic equipment is provided with a piezoelectric ceramic sensor, and the piezoelectric ceramic sensor can be used for detecting the pressing operation of a user. When the user presses the piezoceramic sensor, the acquisition module 201 may acquire a pressure value detected by the piezoceramic sensor and convert the detected pressure value into a corresponding electrical signal for processing.
And the display module 202 is configured to display a corresponding user interface on a display screen of the electronic device according to the pressure value when the pressure value meets a preset condition.
After the obtaining module 201 obtains the pressure value, when the pressure value meets a preset condition, the display module 202 may display a corresponding user interface on the display screen according to the pressure value.
The preset conditions can be preset in the electronic equipment, or can be set or modified by a user in the use process of the user. When the pressure value satisfies a preset condition, the pressing operation detected by the piezoceramic sensor is indicated as an effective pressing operation, and the display module 202 may display a corresponding user interface on the display screen to respond to the detected pressing operation. When the pressure value does not satisfy the preset condition, it indicates that the pressing operation detected by the piezoelectric ceramic sensor is an invalid pressing operation, and the electronic apparatus may not respond to the detected pressing operation at this time.
It can be appreciated that the preset pressure threshold and the preset duration may be preset in the electronic device. The preset pressure threshold represents a minimum pressing pressure value that the electronic device needs to respond to a pressing operation, and may be, for example, 0.5N (newton). The preset time period indicates a minimum time period that is maintained when a pressing pressure value that the electronic device needs to respond to the pressing operation exceeds the preset pressure threshold, and for example, the preset time period may be 0.3s (seconds).
After the obtaining module 201 obtains the pressure value detected by the piezoceramic sensor, the display module 202 may determine whether the pressure value is greater than a preset pressure threshold. If the pressure value is greater than the preset pressure threshold, further judging whether the duration that the pressure value is continuously greater than the preset pressure threshold is greater than the preset duration. And if the duration time that the pressure value is continuously greater than the preset pressure threshold value is longer than the preset duration time, determining that the pressure value meets the preset condition.
If the pressure value is not greater than the preset pressure threshold, the pressure value is too small, namely the pressing force of the pressing operation detected by the piezoelectric ceramic sensor is too small, and the detected pressing operation is misoperation at the moment, so that the pressure value is determined to not meet the preset condition.
If the pressure value is greater than the preset pressure threshold value, but the duration that the pressure value is continuously greater than the preset pressure threshold value is not greater than the preset duration, the duration that the pressure value reaches the preset pressure threshold value is too short, that is, the duration that the effective pressing duration of the pressing operation detected by the piezoelectric ceramic sensor is too short, and the detected pressing operation is also misoperation, so that the pressure value is determined to not meet the preset condition.
The user interface is an interface corresponding to a function to be realized by the electronic equipment according to the pressing operation of the user. The user interface may be a volume adjustment interface to implement a volume adjustment function of the electronic device; the user interface can also be a brightness adjustment interface to realize brightness adjustment of the display screen of the electronic equipment; the user interface may be a voice assistant initiation interface to enable initiation of a voice assistant function of the electronic device; the user interface may also be a shutdown interface to control shutdown of the electronic device.
And the receiving module 203 is configured to receive a touch operation of a user for the user interface.
After the display module 202 displays the corresponding user interface on the display screen, the receiving module 203 may receive a touch operation of the user for the user interface. The touch operation may be, for example, a pressing operation such as a short press, a long press, a light press, a heavy press, or a sliding operation.
It should be understood that the touch operation is a touch operation performed by the user on the user interface, but is not necessarily a touch operation performed by the user directly on the user interface displayed on the display screen. For example, the user may directly perform a touch operation on a user interface displayed on the display screen; the user can also perform touch operation on the electronic device at a position corresponding to the user interface, so as to realize touch operation on the user interface.
And the execution module 204 is configured to control the electronic device to execute a corresponding function according to the touch operation.
After receiving the touch operation of the user on the user interface, the receiving module 203 may control the electronic device to execute the corresponding function according to the touch operation by the executing module 204.
For example, when the user interface is a volume adjustment interface, the execution module 204 may control the electronic device to execute volume adjustment according to the received touch operation; when the user interface is a brightness adjustment interface, the execution module 204 may control the electronic device to execute brightness adjustment according to the received touch operation; when the user interface is a voice assistant starting interface, the execution module 204 can control the electronic device to start the voice assistant according to the received touch operation; when the user interface is a shutdown interface, the execution module 204 may control the electronic device to shutdown according to the received touch operation.
According to the control device of the electronic equipment, provided by the embodiment of the application, the piezoelectric ceramic sensor arranged at the side of the electronic equipment is used for detecting the pressing operation, the user interface is displayed when the pressure value of the pressing operation meets the preset condition, and the corresponding function is executed according to the touch operation of the user, and as the piezoelectric ceramic sensor does not need to protrude out of the surface of the electronic equipment, the misoperation of the piezoelectric ceramic sensor can be reduced, the misoperation of the electronic equipment can be reduced, and the control accuracy of the electronic equipment is improved.
In some embodiments, when a corresponding user interface is displayed on a display screen of the electronic device according to the pressure value, the display module 202 is configured to:
determining a pressure value interval in which the pressure value is located;
determining a corresponding user interface according to the pressure value interval and a preset corresponding relation, wherein the preset corresponding relation comprises a corresponding relation between the pressure value interval and the user interface;
and displaying the user interface on a display screen of the electronic device.
A plurality of pressure value intervals may be set in advance for the pressure values in the electronic device, each pressure value interval including a certain pressure value range. For example, four pressure value ranges of (0.5 n,1n ], (1 n,1.5n ], (1.5 n,2n ], (2 n,5 n) and the like may be set in advance for the pressure values.
In addition, a preset corresponding relation between the pressure value intervals and the user interfaces can be preset in the electronic device, and each pressure value interval corresponds to one user interface in the preset corresponding relation. For example, the user interface corresponding to the pressure value interval (0.5 n,1 n) is a volume adjustment interface, the user interface corresponding to the pressure value interval (1 n,1.5 n) is a brightness adjustment interface, the user interface corresponding to the pressure value interval (1.5 n,2 n) is a voice assistant start interface, and the user interface corresponding to the pressure value interval (2 n,5 n) is a shutdown interface.
After the acquisition module 201 acquires the pressure value detected by the piezoceramic sensor, the display module 202 first determines a pressure value interval in which the pressure value is located. And then, determining a corresponding user interface according to the pressure value interval and a preset corresponding relation, and displaying the user interface on a display screen of the electronic equipment.
For example, if the pressure value obtained by the electronic device is 3N, the pressure value interval where the pressure value is located is (2N, 5N), and the user interface corresponding to the pressure value interval is the shutdown interface, and then the display module 202 displays the shutdown interface on the display screen.
In some embodiments, when receiving a touch operation of a user for the user interface, the receiving module 203 is configured to:
detecting whether a touch operation of a user is received in an area corresponding to the user interface on the display screen;
and if the area, corresponding to the user interface, of the display screen receives the touch operation of the user, determining the touch operation as the touch operation of the user on the user interface.
It can be appreciated that the display screen of the electronic device may be a touch display screen, that is, the display screen may implement a touch function. For example, the display screen may be a capacitive touch screen.
After the display module 202 displays the user interface on the display screen, the receiving module 203 may detect whether the area corresponding to the user interface on the display screen receives the touch operation of the user. The touch operation may include a pressing operation, a sliding operation, and the like.
If the area on the display screen corresponding to the user interface receives the touch operation of the user, the receiving module 203 determines the touch operation as the touch operation of the user for the user interface, and then may execute the corresponding function according to the touch operation.
For example, when the user interface displayed on the display screen is a volume adjustment interface, if the area on the display screen corresponding to the volume adjustment interface receives a click operation or a sliding operation of the user, the receiving module 203 may determine the click operation or the sliding operation as a touch operation of the user on the user interface. For example, when a clicking operation of a user is received in an area corresponding to a "+" icon in the volume adjustment interface on the display screen, the electronic device controls to increase the volume; when the area corresponding to the icon in the volume adjustment interface on the display screen receives the click operation of the user, the electronic equipment controls to reduce the volume; when the region corresponding to the volume adjustment interface on the display screen receives the up-sliding operation, the electronic equipment can also control to increase the volume; when the region corresponding to the volume adjustment interface on the display screen receives the sliding operation, the electronic device can also control to reduce the volume.
In some embodiments, the electronic device is provided with a fingerprint recognition module. The fingerprint identification module can be arranged at the bottom end of the display screen of the electronic equipment, or arranged on the rear cover of the electronic equipment, or buried below the display screen. The fingerprint identification module comprises a touch sensor. The touch sensor may include, for example, a capacitive touch sensor, a pressure touch sensor, an ultrasonic touch sensor, and the like. The electronic device may receive a touch operation of a user through the touch sensor, such as receiving a pressing operation, a sliding operation, etc. of the user.
Upon receiving a touch operation of a user for the user interface, the receiving module 203 is configured to:
detecting whether a touch sensor in the fingerprint identification module receives touch operation of a user;
and if the touch sensor in the fingerprint identification module receives the touch operation of the user, determining the touch operation as the touch operation of the user on the user interface.
After the display module 202 displays the user interface on the display screen, the receiving module 203 may detect whether the touch sensor in the fingerprint recognition module receives the touch operation of the user. The touch operation may include a pressing operation, a sliding operation, and the like.
If the touch sensor in the fingerprint recognition module receives the touch operation of the user, the receiving module 203 determines the touch operation as the touch operation of the user for the user interface, and then may execute the corresponding function according to the touch operation.
For example, when the user interface displayed on the display screen is a volume adjustment interface, a partial region on the fingerprint recognition module may correspond to a "+" icon in the volume adjustment interface, and another partial region on the fingerprint recognition module may correspond to a "-" icon in the volume adjustment interface. For example, the left half area of the fingerprint recognition module corresponds to the "+" icon in the volume adjustment interface, and the right half area of the fingerprint recognition module corresponds to the "-" icon in the volume adjustment interface. When the left half area of the fingerprint identification module receives clicking operation of a user, the electronic equipment controls to increase the volume; when the right half area of the fingerprint identification module receives clicking operation of a user, the electronic equipment controls to reduce the volume; when the fingerprint identification module receives the sliding operation, the electronic equipment can also control to increase the volume; when the fingerprint identification module receives the sliding operation, the electronic equipment can also control to reduce the volume.
In some embodiments, referring to fig. 10, fig. 10 is a schematic diagram of a second structure of a control device of an electronic apparatus according to an embodiment of the present application. Wherein the electronic device is provided with a motor. The motor may be provided on a circuit board of the electronic device. The motor can vibrate to drive the electronic equipment to vibrate, so that a reminding effect is generated for a user.
The control device 200 of the electronic apparatus further comprises a vibration module 205. The vibration module 205 is configured to:
generating a motor drive signal based on the pressure value;
and driving the motor to vibrate according to the motor driving signal so as to drive the electronic equipment to vibrate.
When the pressure value acquired by the acquisition module 201 meets the preset condition, the display module 202 displays a corresponding user interface on the display screen, and the vibration module 205 may generate a motor driving signal according to the pressure value. The motor driving signal is used for driving the motor to generate vibration. Then, the vibration module 205 may drive the motor to vibrate according to the motor driving signal, so as to drive the electronic device to vibrate, thereby reminding the user.
In specific implementation, each module may be implemented as a separate entity, or may be combined arbitrarily and implemented as the same entity or several entities.
As can be seen from the above, the control device 200 of the electronic device provided in the embodiment of the application includes: an acquisition module 201, configured to acquire a pressure value detected by the piezoelectric ceramic sensor; the display module 202 is configured to display a corresponding user interface on a display screen of the electronic device according to the pressure value when the pressure value meets a preset condition; a receiving module 203, configured to receive a touch operation of a user for the user interface; and the execution module 204 is configured to control the electronic device to execute a corresponding function according to the touch operation. The control device of the electronic equipment detects the pressing operation through the piezoelectric ceramic sensor arranged on the side edge of the electronic equipment, the user interface is displayed when the pressure value of the pressing operation meets the preset condition, and the corresponding function is executed according to the touch operation of the user.
The embodiment of the application also provides electronic equipment. The electronic device may be a smart phone, a tablet computer, a gaming device, an AR (Augmented Reality ) device, an automobile, a data storage device, an audio playing device, a video playing device, a notebook computer, a desktop computing device, a wearable device such as an electronic watch, electronic glasses, an electronic helmet, an electronic bracelet, an electronic necklace, an electronic article of clothing, or the like.
Referring to fig. 11, fig. 11 is a schematic diagram of a second structure of an electronic device according to an embodiment of the present application.
The electronic device 300 comprises a processor 301 and a memory 302. Wherein the processor 301 and the memory 302 may be disposed inside a housing of the electronic device. The processor 301 is electrically connected to the memory 302. The electronic equipment further comprises a piezoelectric ceramic sensor, and the piezoelectric ceramic sensor is arranged on the side edge of the electronic equipment shell. The piezoelectric ceramic sensor can realize the mutual conversion of mechanical energy and electric energy, thereby realizing the detection of the pressing operation of a user, namely detecting the pressure value when the user presses.
The processor 301 is a control center of the electronic device 300, 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 calling computer programs stored in the memory 302, and calling data stored in the memory 302, thereby performing overall monitoring of the electronic device.
In the present embodiment, the processor 301 in the electronic device 300 loads instructions corresponding to the processes of one or more computer programs into the memory 302 as follows, and the computer programs stored in the memory 302 are executed by the processor 301, thereby performing the following functions:
Acquiring a pressure value detected by the piezoelectric ceramic sensor;
when the pressure value meets a preset condition, displaying a corresponding user interface on a display screen of the electronic equipment according to the pressure value;
receiving touch operation of a user for the user interface;
and controlling the electronic equipment to execute corresponding functions according to the touch operation.
In some embodiments, upon receiving a touch operation by a user for the user interface, the processor 301 is configured to:
detecting whether a touch operation of a user is received in an area corresponding to the user interface on the display screen;
and if the area, corresponding to the user interface, of the display screen receives the touch operation of the user, determining the touch operation as the touch operation of the user on the user interface.
In some embodiments, the electronic device is provided with a fingerprint recognition module, the fingerprint recognition module includes a touch sensor, and when receiving a touch operation of a user on the user interface, the processor 301 is configured to:
detecting whether a touch sensor in the fingerprint identification module receives touch operation of a user;
and if the touch sensor in the fingerprint identification module receives the touch operation of the user, determining the touch operation as the touch operation of the user on the user interface.
In some embodiments, when determining whether the pressure value satisfies a preset condition, the processor 301 is configured to:
judging whether the pressure value is larger than a preset pressure threshold value or not;
if the pressure value is greater than the preset pressure threshold, further judging whether the duration that the pressure value is continuously greater than the preset pressure threshold is greater than the preset duration;
and if the duration time that the pressure value is continuously greater than the preset pressure threshold value is longer than the preset duration time, determining that the pressure value meets the preset condition.
In some embodiments, when a corresponding user interface is displayed on a display screen of the electronic device according to the pressure value, the processor 301 is configured to:
determining a pressure value interval in which the pressure value is located;
determining a corresponding user interface according to the pressure value interval and a preset corresponding relation, wherein the preset corresponding relation comprises a corresponding relation between the pressure value interval and the user interface;
and displaying the user interface on a display screen of the electronic device.
In some embodiments, the electronic device is provided with a motor, and when the pressure value meets a preset condition, the processor 301 is further configured to, after displaying a corresponding user interface on a display screen of the electronic device according to the pressure value:
Generating a motor drive signal based on the pressure value;
and driving the motor to vibrate according to the motor driving signal so as to drive the electronic equipment to vibrate.
In some embodiments, when controlling the electronic device to execute the corresponding function according to the touch operation, the processor 301 is configured to:
and controlling the electronic equipment to execute one operation of volume adjustment, brightness adjustment, voice assistant starting and shutdown according to the touch operation.
Memory 302 may be used to store computer programs and data. The memory 302 stores computer programs that include instructions that are executable in a processor. The computer program may constitute various functional modules. The processor 301 executes various functional applications and data processing by calling a computer program stored in the memory 302.
In some embodiments, referring to fig. 12, fig. 12 is a schematic view of a third structure of an electronic device according to an embodiment of the present application.
Wherein the electronic device 300 further comprises: a display 303, a control circuit 304, a key circuit 305, a motor 306, and a power supply 307. The processor 301 is electrically connected to the display 303, the control circuit 304, the key circuit 305, the motor 306, and the power supply 307, respectively.
The display 303 is arranged on the housing of the electronic device. The display 303 is used to display information entered by a user or provided to a user and various graphical user interfaces of the electronic device, which may be formed by images, text, icons, video and any combination thereof. For example, when the pressure value detected by the piezoceramic sensor satisfies a preset condition, the display screen 303 may be used to display a corresponding user interface according to the pressure value detected by the piezoceramic sensor.
The control circuit 304 is electrically connected to the display 303, and is used for controlling the display 303 to display information, for example, for controlling the display 303 to display a user interface.
The key circuit 305 is electrically connected to the piezoelectric ceramic sensor of the electronic device 300, and is configured to transmit an electrical signal corresponding to the pressing operation detected by the piezoelectric ceramic sensor to the processor 301 for processing.
The motor 306 is used for generating vibration, so as to drive the electronic device to generate vibration, and remind a user.
The power supply 307 is used to power the various components of the electronic device 300. In some embodiments, the power supply 307 may be logically connected to the processor 301 through a power management system, so as to perform functions of managing charging, discharging, and power consumption management through the power management system.
Although not shown in fig. 12, the electronic device 300 may further include a camera, a radio frequency circuit, a bluetooth module, etc., which will not be described herein.
As can be seen from the foregoing, the embodiment of the present application provides an electronic device, which is configured to: acquiring a pressure value detected by a piezoelectric ceramic sensor; when the pressure value meets a preset condition, displaying a corresponding user interface on a display screen of the electronic equipment according to the pressure value; receiving touch operation of a user for the user interface; and controlling the electronic equipment to execute corresponding functions according to the touch operation. The electronic equipment detects the pressing operation through the piezoelectric ceramic sensor arranged on the side edge of the electronic equipment, a user interface is displayed when the pressure value of the pressing operation meets the preset condition, and a corresponding function is executed according to the touch operation of a user.
The embodiment of the application also provides a storage medium, in which a computer program is stored, and when the computer program runs on a computer, the computer executes the control method of the electronic device described in any embodiment.
It should be noted that, all or part of the implementation manners of the various methods of the foregoing embodiments may be implemented by a computer program, which may be stored in a computer readable storage medium, where the storage medium may include, but is not limited to: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like.
The method and device for controlling the electronic device, the storage medium and the electronic device provided by the embodiment of the application are described in detail. The principles and embodiments of the present application have been described herein with reference to specific examples, the description of which is intended only to assist in understanding the methods of the present application and the core ideas thereof; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in light of the ideas of the present application, the present description should not be construed as limiting the present application.

Claims (14)

1. The control method of the electronic equipment is characterized in that a piezoelectric ceramic sensor is arranged on the side edge of the electronic equipment, and the control method of the electronic equipment comprises the following steps:
Acquiring a pressure value detected by the piezoelectric ceramic sensor;
judging whether the pressure value is larger than a preset pressure threshold value or not;
if the pressure value is greater than the preset pressure threshold, further judging whether the duration that the pressure value is continuously greater than the preset pressure threshold is greater than the preset duration;
if the duration time that the pressure value is continuously greater than the preset pressure threshold value is longer than the preset duration time, determining that the pressure value meets a preset condition;
when the pressure value meets a preset condition, displaying a corresponding user interface on a display screen of the electronic equipment according to the pressure value;
receiving touch operation of a user for the user interface;
and controlling the electronic equipment to execute corresponding functions according to the touch operation.
2. The method for controlling an electronic device according to claim 1, wherein the receiving a touch operation of a user on the user interface includes:
detecting whether a touch operation of a user is received in an area corresponding to the user interface on the display screen;
and if the area, corresponding to the user interface, of the display screen receives the touch operation of the user, determining the touch operation as the touch operation of the user on the user interface.
3. The method for controlling an electronic device according to claim 1, wherein a fingerprint recognition module is provided on the electronic device, the fingerprint recognition module includes a touch sensor, and the receiving the touch operation of the user on the user interface includes:
detecting whether a touch sensor in the fingerprint identification module receives touch operation of a user;
and if the touch sensor in the fingerprint identification module receives the touch operation of the user, determining the touch operation as the touch operation of the user on the user interface.
4. A control method of an electronic device according to any one of claims 1 to 3, wherein the displaying a corresponding user interface on a display screen of the electronic device according to the pressure value comprises:
determining a pressure value interval in which the pressure value is located;
determining a corresponding user interface according to the pressure value interval and a preset corresponding relation, wherein the preset corresponding relation comprises a corresponding relation between the pressure value interval and the user interface;
and displaying the user interface on a display screen of the electronic device.
5. A control method of an electronic device according to any one of claims 1 to 3, wherein a motor is provided in the electronic device, and when the pressure value satisfies a preset condition, after displaying a corresponding user interface on a display screen of the electronic device according to the pressure value, the method further comprises:
Generating a motor drive signal based on the pressure value;
and driving the motor to vibrate according to the motor driving signal so as to drive the electronic equipment to vibrate.
6. A control method of an electronic device according to any one of claims 1 to 3, wherein the controlling the electronic device to perform the corresponding function according to the touch operation includes:
and controlling the electronic equipment to execute one operation of volume adjustment, brightness adjustment, voice assistant starting and shutdown according to the touch operation.
7. A control device of an electronic apparatus, wherein a piezoelectric ceramic sensor is provided on a side of the electronic apparatus, the control device of the electronic apparatus comprising:
the acquisition module is used for acquiring the pressure value detected by the piezoelectric ceramic sensor;
the display module is used for judging whether the pressure value is larger than a preset pressure threshold value or not; if the pressure value is greater than the preset pressure threshold, further judging whether the duration that the pressure value is continuously greater than the preset pressure threshold is greater than the preset duration; if the duration time that the pressure value is continuously greater than the preset pressure threshold value is longer than the preset duration time, determining that the pressure value meets a preset condition; when the pressure value meets a preset condition, displaying a corresponding user interface on a display screen of the electronic equipment according to the pressure value;
The receiving module is used for receiving touch operation of a user for the user interface;
and the execution module is used for controlling the electronic equipment to execute corresponding functions according to the touch operation.
8. The control device of claim 7, wherein the receiving module is configured to:
detecting whether a touch operation of a user is received in an area corresponding to the user interface on the display screen;
and if the area, corresponding to the user interface, of the display screen receives the touch operation of the user, determining the touch operation as the touch operation of the user on the user interface.
9. The control device of claim 7, wherein a fingerprint recognition module is disposed on the electronic device, the fingerprint recognition module includes a touch sensor, and the receiving module is configured to:
detecting whether a touch sensor in the fingerprint identification module receives touch operation of a user;
and if the touch sensor in the fingerprint identification module receives the touch operation of the user, determining the touch operation as the touch operation of the user on the user interface.
10. A storage medium having stored therein a computer program which, when run on a computer, causes the computer to execute the control method of the electronic device of any one of claims 1 to 6.
11. An electronic device comprising a processor and a memory, wherein the memory stores a computer program, and wherein the processor is configured to execute the control method of the electronic device according to any one of claims 1 to 6 by calling the computer program stored in the memory.
12. An electronic device, comprising:
a housing;
the piezoelectric ceramic sensor is arranged on the side edge of the shell and is used for detecting the pressure value when a user presses;
a processor disposed inside the housing, the processor configured to: judging whether the pressure value is larger than a preset pressure threshold value or not; if the pressure value is greater than the preset pressure threshold, further judging whether the duration that the pressure value is continuously greater than the preset pressure threshold is greater than the preset duration; if the duration time that the pressure value is continuously greater than the preset pressure threshold value is longer than the preset duration time, determining that the pressure value meets a preset condition;
the display screen is arranged on the shell and is used for displaying a corresponding user interface according to the pressure value when the pressure value meets a preset condition;
The processor is further configured to receive a touch operation of a user on the user interface, and control the electronic device to execute a corresponding function according to the touch operation.
13. The electronic device of claim 12, wherein the processor is configured to, when receiving a touch operation from a user on the user interface:
detecting whether a touch operation of a user is received in an area corresponding to the user interface on the display screen;
and if the area, corresponding to the user interface, of the display screen receives the touch operation of the user, determining the touch operation as the touch operation of the user on the user interface.
14. The electronic device of claim 12, wherein a fingerprint recognition module is disposed on the electronic device, the fingerprint recognition module includes a touch sensor, and the processor is configured to:
detecting whether a touch sensor in the fingerprint identification module receives touch operation of a user;
and if the touch sensor in the fingerprint identification module receives the touch operation of the user, determining the touch operation as the touch operation of the user on the user interface.
CN201910791499.5A 2019-08-26 2019-08-26 Control method and device of electronic equipment, storage medium and electronic equipment Active CN110609642B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910791499.5A CN110609642B (en) 2019-08-26 2019-08-26 Control method and device of electronic equipment, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910791499.5A CN110609642B (en) 2019-08-26 2019-08-26 Control method and device of electronic equipment, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN110609642A CN110609642A (en) 2019-12-24
CN110609642B true CN110609642B (en) 2023-08-18

Family

ID=68890796

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910791499.5A Active CN110609642B (en) 2019-08-26 2019-08-26 Control method and device of electronic equipment, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN110609642B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112099653A (en) * 2020-09-16 2020-12-18 深圳市绘王动漫科技有限公司 Writing pad
CN113552968A (en) * 2021-06-30 2021-10-26 青岛海尔空调器有限总公司 Touch method and device for air conditioner display screen, air conditioner and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108965576A (en) * 2018-05-17 2018-12-07 Oppo广东移动通信有限公司 Call processing method, device, storage medium and electronic equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106662490B (en) * 2015-04-30 2019-10-15 深圳纽迪瑞科技开发有限公司 The pressure sensor and its touch controlled key and electronic equipment that can be shone

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108965576A (en) * 2018-05-17 2018-12-07 Oppo广东移动通信有限公司 Call processing method, device, storage medium and electronic equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
一种输入设备及输入管理系统;张学琴;《中国科技信息》;20180928(第19期);全文 *

Also Published As

Publication number Publication date
CN110609642A (en) 2019-12-24

Similar Documents

Publication Publication Date Title
US10733409B2 (en) Hybrid capacitive and ultrasonic sensing
EP3612917B1 (en) Force-sensitive user input interface for an electronic device
JP2016535338A (en) Piezoelectric detection array
CN110297521B (en) Working mode switching method and device, storage medium and electronic equipment
EP3990197B1 (en) Ultrasonic sensor array
CN110609642B (en) Control method and device of electronic equipment, storage medium and electronic equipment
EP3771966A1 (en) Electronic device identifying gesture with stylus pen and method for operating the same
CN113343800B (en) Fingerprint touch identification module, fingerprint touch identification method and electronic equipment
EP3642701B1 (en) Electronic device and method for controlling touch sensing signals and storage medium
US11545061B2 (en) Electronic device for displaying screen through display in low-power mode and operating method thereof
US11307618B2 (en) Electronic device for displaying information regarding stylus pen and method thereof
US10250736B2 (en) Terminal controlling device and controlling method using same
EP3379395A1 (en) Touch input device and control method thereof
EP3814878B1 (en) Method of controlling operation mode using electronic pen and electronic device for same
KR20200050582A (en) Apparatus and method for determining compensation of touch data based on operation mode of display
CN112308104A (en) Abnormity identification method and device and computer storage medium
US11823481B2 (en) Adaptive activation of fingerprint sensor areas
US20240028768A1 (en) Controlling access to restricted and unrestricted software functionality
US20240078847A1 (en) Controlling an active fingerprint sensor area
KR20170047060A (en) Mobile terminal for performing a power cutoff and controlling method thereof
CN114113681A (en) Acceleration sensor, control method and control device thereof, and electronic device
KR20210050652A (en) Method for providing fingerprint recognition of mobile device

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