CN111756913A - Electronic equipment, key function calling method and device - Google Patents

Electronic equipment, key function calling method and device Download PDF

Info

Publication number
CN111756913A
CN111756913A CN201910238091.5A CN201910238091A CN111756913A CN 111756913 A CN111756913 A CN 111756913A CN 201910238091 A CN201910238091 A CN 201910238091A CN 111756913 A CN111756913 A CN 111756913A
Authority
CN
China
Prior art keywords
virtual key
electronic device
signal
key area
preset condition
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910238091.5A
Other languages
Chinese (zh)
Inventor
范杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201910238091.5A priority Critical patent/CN111756913A/en
Publication of CN111756913A publication Critical patent/CN111756913A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/23Construction or mounting of dials or of equivalent devices; Means for facilitating the use thereof
    • H04M1/236Construction or mounting of dials or of equivalent devices; Means for facilitating the use thereof including keys on side or rear faces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Abstract

The disclosure relates to an electronic device, a key function calling method and a key function calling device, wherein the electronic device comprises: a processor, a pressure sensor, and a capacitive sensor; the outer surface of the side of the electronic device includes one or more virtual key areas, each virtual key area opposing one or more pressure sensors and opposing one or more capacitive sensors; the processor is respectively connected with each pressure sensor and each capacitance sensor and receives a first signal generated by each pressure sensor and a second signal generated by each capacitance sensor; and the processor calls the virtual key function associated with the virtual key area when judging that the first signal corresponding to the virtual key area meets a first preset condition and the second signal corresponding to the virtual key area meets a second preset condition. The embodiment of the disclosure can simulate the use effect of the entity key more vividly, and effectively reduces the phenomenon of mistakenly touching the virtual key.

Description

Electronic equipment, key function calling method and device
Technical Field
The present disclosure relates to the field of electronic technologies, and in particular, to an electronic device, and a method and an apparatus for invoking a key function.
Background
With the development of electronic technology, the display screen of electronic equipment such as a smart phone is increasing, and electronic equipment with a full screen is gradually popularized, so that the setting of physical keys is gradually cancelled and virtual keys are used to replace the physical keys in the design of the electronic equipment with the full screen. In the related art, because the triggering of the virtual key of the electronic device by the user is greatly different from the triggering of the physical key by the user, the phenomenon of misoperation is easily caused when the user uses the virtual key, and the use efficiency of the user is affected.
Disclosure of Invention
In order to overcome the problems in the related art, the present disclosure provides an electronic device, a key function calling method and an apparatus.
According to a first aspect of embodiments of the present disclosure, there is provided an electronic apparatus, including: a processor, a pressure sensor, and a capacitive sensor;
the outer surface of the side of the electronic device includes one or more virtual key areas, each virtual key area opposing one or more pressure sensors and opposing one or more capacitive sensors;
the processor is respectively connected with each pressure sensor and each capacitance sensor and receives a first signal generated by each pressure sensor and a second signal generated by each capacitance sensor;
and the processor calls the virtual key function associated with the virtual key area when judging that the first signal corresponding to the virtual key area meets a first preset condition and the second signal corresponding to the virtual key area meets a second preset condition.
In a possible implementation manner, the pressure sensor includes a resistance module and a data processing module connected to the resistance module, where the resistance module is configured to generate a resistance value change when receiving pressure, so that an electrical signal received by the data processing module changes, the data processing module is configured to process the received electrical signal to generate a first signal, and send the first signal to the processor, and each resistance module includes one or more resistors.
In one possible implementation manner, the resistance module of the pressure sensor includes a plurality of resistances, and the plurality of resistances of the pressure sensor corresponding to each virtual key region are distributed around the capacitive sensor corresponding to the virtual key region.
In one possible implementation, the electronic device includes a plurality of pressure sensors, and the resistance modules of the pressure sensors are connected in parallel.
In one possible implementation, the electronic device includes a plurality of virtual key regions;
the second preset condition includes: the second signal variation corresponding to the virtual key area is greater than the second signal variation corresponding to other virtual key areas of the electronic device.
In one possible implementation manner, the first preset condition includes: the amplitude of the first signal corresponding to the virtual key area is greater than a first threshold value, or
The amplitude of the first signal corresponding to the virtual key area is greater than a first threshold value within a preset time period.
In a possible implementation manner, the processor is further configured to perform protection processing on the electronic device when the first signal corresponding to the virtual key area meets a third preset condition.
In a possible implementation manner, the third preset condition includes: the amplitude of the first signal corresponding to the virtual key area is greater than the second threshold value.
In one possible implementation, the protection process includes: restarting the electronic device, and/or displaying a prompt indicating that the electronic device is compromised.
According to a second aspect of the embodiments of the present disclosure, a method for invoking a key function is provided, where the method is used for the electronic device, and the method includes:
receiving a first signal from a pressure sensor of an electronic device;
receiving a second signal from a capacitive sensor of the electronic device;
and calling the virtual key function associated with the virtual key area when the first signal corresponding to the virtual key area meets the first preset condition and the second signal corresponding to the virtual key area meets the second preset condition.
In one possible implementation, the electronic device includes a plurality of virtual key regions;
the second preset condition includes: the second signal variation corresponding to the virtual key area is greater than the second signal variation corresponding to other virtual key areas in the electronic device.
In one possible implementation manner, the first preset condition includes: the amplitude of a first signal corresponding to the virtual key area is greater than a first threshold value; or
The amplitude of the first signal corresponding to the virtual key area is greater than a first threshold value within a preset time period.
In one possible implementation, the method further includes:
and when the first signal corresponding to the virtual key area meets a third preset condition, protecting the electronic equipment.
In a possible implementation manner, the third preset condition includes: the amplitude of the first signal corresponding to the virtual key area is greater than the second threshold value.
In one possible implementation, the protection process includes: restarting the electronic device, and/or displaying a prompt indicating that the electronic device is compromised.
According to a third aspect of the embodiments of the present disclosure, there is provided a key function calling apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
the above method is performed.
According to a fourth aspect of embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium having instructions which, when executed by a processor, enable the processor to perform the above-described method.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the embodiment of the disclosure can judge whether the degree of pressure of the virtual key area by the object reaches a preset force according to whether the first signal of the pressure sensor corresponding to the virtual key area meets a first preset condition, can further judge the condition of the charge carried by the object contacting the virtual key and the size of the contact area according to whether the second signal of the capacitance sensor corresponding to the virtual key area meets a second preset condition, and call the virtual key function associated with the virtual key area when the first signal meets the first preset condition and the second signal meets the second preset condition, so that the embodiment of the disclosure can effectively distinguish whether the virtual key area is pressed by the object carrying the charge (such as a human finger) or is contacted by other objects not carrying the charge by combining the pressure borne by the virtual key area, the condition of the charge carried by the object contacting the virtual key area, the contact area and other factors, therefore, the virtual key can simulate the use effect of the physical key more vividly, and the phenomenon that the virtual key is touched by mistake due to the fact that objects (such as clothes, books and the like) which do not carry electric charges extrude the virtual key area is effectively reduced.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a block diagram illustrating an electronic device in accordance with an exemplary embodiment.
FIG. 2 is a block diagram illustrating an electronic device in accordance with an exemplary embodiment.
FIG. 3 is a block diagram illustrating a pressure sensor in an electronic device according to an example embodiment.
Fig. 4 is a flow chart illustrating a method for key function invocation in accordance with an exemplary embodiment.
Fig. 5 is a block diagram illustrating a key function call apparatus according to an exemplary embodiment.
Fig. 6 is a block diagram illustrating a key function call apparatus according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
FIG. 1 is a block diagram illustrating an electronic device in accordance with an exemplary embodiment. The electronic device may be, for example, a mobile phone, a smart watch, a tablet computer, a notebook computer, or a desktop computer, and the type of the electronic device is not limited in the embodiments of the present disclosure.
As shown in fig. 1, the electronic device may include: processor 11, pressure sensor 121, and capacitance sensor 122; the outer surface of the side 10 of the electronic device comprises one or more virtual key areas 12, each virtual key area 12 being opposite one or more pressure sensors 121 and opposite one or more capacitive sensors 122; the processor 11 is respectively connected with each pressure sensor 121 and each capacitance sensor 122, and receives a first signal generated by each pressure sensor 121 and a second signal generated by each capacitance sensor 122; when it is determined that the first signal corresponding to the virtual key area 12 satisfies the first preset condition and the second signal corresponding to the virtual key area 12 satisfies the second preset condition, the processor 11 invokes the virtual key function associated with the virtual key area 12.
In the disclosed embodiments, the processor may be represented as an electronic component that interprets computer instructions and processes data in computer software, and may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors, or other electronic components.
The side of the electronic device may include a frame around the outside of the electronic device, and an appropriate side may be selected as needed.
The pressure sensor may be, for example, a piezoelectric ceramic sensor, a capacitive pressure sensor, a resistive pressure sensor, or the like, and the type of the pressure sensor is not limited by the embodiments of the present disclosure.
As an example of the present embodiment, fig. 1 is a block diagram illustrating an electronic device according to an exemplary embodiment. As shown in fig. 1, a virtual key area 12 may be provided on an outer surface of a side 10 of an electronic device (for example, the virtual key area may be identified by applying ink or etching a graphical trace on the side, which is not limited in the embodiment of the present disclosure), and a pressure sensor 121 and a capacitance sensor 122 may be provided on an inner surface of the side 10 corresponding to the virtual key area 12 (for example, the pressure sensor 121 and the capacitance sensor 122 may be adhered to the inner surface of the side 10, or, for example, a groove may be provided on the inner surface of the side 10, and the pressure sensor 121 and the capacitance sensor 122 are provided in the groove, which is not limited in the embodiment of the present disclosure). When the virtual key area 12 is contacted by an object, the side edge 10 corresponding to the virtual key area 12 is pressed by the object to deform, and then the pressure sensor 121 is driven to deform, so that the pressure sensor 121 can generate a first signal reflecting the magnitude of the stress of the virtual key area 12. Since the amount of the electric charge of the capacitive sensor 122 changes when the object carrying the electric charge approaches or touches the capacitive sensor 122, when the virtual key region 12 is touched by the object, the second signal generated by the capacitive sensor 122 can reflect the condition that the object carries the electric charge and the size of the touch area. The processor 11 may receive the first signal and the second signal from the virtual key region 12, respectively, and the processor 11 may determine whether the first signal meets a first preset condition (for example, the first signal may be a first voltage signal, and the first preset condition may be whether an amplitude of the first voltage signal belongs to a voltage value range), and the processor 11 may also determine whether the second signal meets a second preset condition (for example, the second signal may be a second voltage signal, and the second preset condition may be whether a variation of the second voltage signal is greater than a voltage variation threshold). The processor 11 may invoke the virtual key function associated with the virtual key area 12 when it is determined that the first signal of the virtual key area 12 satisfies the first preset condition and the second signal of the virtual key area 12 satisfies the second preset condition.
The embodiment of the disclosure can judge whether the degree of pressure of the virtual key area by the object reaches a preset force according to whether the first signal of the pressure sensor corresponding to the virtual key area meets a first preset condition, can further judge the condition of the charge carried by the object contacting the virtual key and the size of the contact area according to whether the second signal of the capacitance sensor corresponding to the virtual key area meets a second preset condition, and call the virtual key function associated with the virtual key area when the first signal meets the first preset condition and the second signal meets the second preset condition, so that the embodiment of the disclosure can effectively distinguish whether the virtual key area is pressed by the object carrying the charge (such as a human finger) or is contacted by other objects not carrying the charge by combining the pressure borne by the virtual key area, the condition of the charge carried by the object contacting the virtual key area, the contact area and other factors, therefore, the virtual key can simulate the use effect of the physical key more vividly, and the phenomenon that the virtual key is touched by mistake due to the fact that objects (such as clothes, books and the like) which do not carry electric charges extrude the virtual key area is effectively reduced.
In one possible implementation manner, the first preset condition may include: the amplitude of the first signal corresponding to the virtual key area is greater than a first threshold value within a preset time period. For example, the first predetermined condition may include the magnitude of the voltage signal being greater than 0.5 volts over a 2 second period of time, whereby a simulation of an operation such as a long press of a physical key may be achieved.
In one possible implementation, the electronic device may include a plurality of virtual key regions; the second preset condition may include: the second signal variation corresponding to the virtual key area is greater than the second signal variation corresponding to other virtual key areas in the electronic device.
For example, when the processor receives second signals of a plurality of virtual key regions, the processor may determine a variation of the second signal of each virtual key region with respect to a second signal acquired at the previous time of the virtual key region, and may determine a virtual key region with a largest second signal variation, and the processor may then determine whether a first signal output by the virtual key region with the largest second signal variation satisfies a first preset condition, and when it is determined that the first signal output by the virtual key region with the largest second signal variation satisfies the first preset condition, call a virtual key function associated with a side outer surface region corresponding to the virtual key region.
The larger the variation of the second electrical signal, the more closely the object contacts the side outer surface area corresponding to the virtual key area, which means the more obvious the user's intention to press the area. For example, if the virtual key region includes a capacitance sensor and the magnitude of the second signal indicates the amount of charge of the capacitance sensor, the larger the amount of change in the second signal, the larger the area of the capacitance sensor that the object touches. Therefore, the virtual key area with the largest second signal variation is selected, so that when a user intends to press a certain virtual key and contacts other virtual keys, the real triggering intention of the user can be effectively distinguished, and the phenomenon that the virtual key is touched by mistake is further reduced.
In a possible implementation manner, the processor may be further configured to perform protection processing on the electronic device when the first signal corresponding to the virtual key area meets a third preset condition.
For example, the third preset condition may be different from the first preset condition, and the first preset condition may include: the first signal of the virtual key area is greater than the first threshold, and the third preset condition may include: the amplitude of the first signal of the virtual key area is greater than a second threshold, where the second threshold may be greater than the first threshold, for example, the amplitude of the first signal corresponding to the magnitude of the force of the user pressing the physical key normally may be used as the first threshold, and the amplitude of the first signal corresponding to the critical value of the force causing the side edge to generate the inelastic deformation may be used as the second threshold. Because the side of electronic equipment is when the atress is too big, inelastic deformation is likely to appear very much, and the inelastic deformation of side will lead to the first signal in virtual key region no longer can accurately reflect the atress condition of side, and then seriously influences the normal use of user to the virtual key function, and the treater is handled the electronic equipment protection when the amplitude of first signal is too big, can effectively reduce the side and damage the interference to virtual key normal use.
In one possible implementation, the protection process may include: and restarting the electronic equipment can clear data such as wrong first signals received by the processor and prevent the interference of the wrong signals in the virtual key area on the normal use of the user. The protection process may further include: and displaying a prompt for indicating that the electronic equipment is damaged, so that a user can be effectively reminded of checking and maintaining the electronic equipment in time. It should be noted that the protection processing may further include, for example, displaying information such as a damaged position of the side edge, and the embodiment of the present disclosure does not limit the protection processing manner.
As an example of the present embodiment, fig. 2 is a block diagram illustrating an electronic device according to an exemplary embodiment. As shown in fig. 2, the pressure sensor 121 may include a resistance module and a data processing module 1211 connected to the resistance module, wherein the resistance module is configured to generate a resistance value change when receiving a pressure, so that an electrical signal received by the data processing module 1211 changes, the data processing module 1211 is configured to process the received electrical signal to generate a first signal, and transmit the first signal to the processor 11, and each resistance module includes one or more resistors 1210.
For example, as shown in fig. 2, the resistor 1210 and the capacitive sensor 122 may be disposed on the inner surface of the side 10 corresponding to the virtual key region 12, the resistor 1210 may be, for example, a chip resistor, and the two resistors 1210 may be disposed on two sides of the capacitive sensor 122, so that when the virtual key region 12 is pressed, the side 10 corresponding to the virtual key region 12 deforms, and the two resistors of the resistor module 1210 may be simultaneously driven to deform in different degrees, so that when the virtual key region 12 is pressed, the outer surface area of the side 10 corresponding to the virtual key region 12 deforms by being pressed, and thus the first signal can more accurately reflect the pressed condition of the outer surface area of the side 10 corresponding to the virtual key region 12. In addition, the resistors 1210 are distributed around the capacitive sensor 122, so that the occurrence of the missing detection phenomenon of the pressure sensor 121 or the capacitive sensor 122 can be effectively reduced.
In a possible implementation manner, the data processing module may include a data acquisition module and a comparison circuit, and the data acquisition module may receive the electrical signal from the resistance module, and perform filtering and amplification processing on the received electrical signal to form a processed electrical signal. The comparison circuit can receive the processed electric signal from the data acquisition module, can be composed of a comparator with a certain number of digits, can obtain a first electric signal reflecting the magnitude of the external pressure according to the processed electric signal, and can output the first electric signal to the processor.
For example, FIG. 3 is a block diagram illustrating a pressure sensor in an electronic device according to an exemplary embodiment. As shown in fig. 3, the electronic device may include a first virtual key area (not shown) and a second virtual key area (not shown), wherein the first virtual key area may correspond to the first pressure sensor 121 and the first capacitance sensor (not shown), and the second virtual key area may correspond to the second pressure sensor 121 and the second capacitance sensor (not shown). The first pressure sensor 121 may include a first resistance module 1212 and a first data processing module 1211, the first resistance module 1212 may include a first resistance R1 and a second resistance R2, the second pressure sensor 121 may include a second resistance module 1212 and a second data processing module 1211, and the second resistance module 1212 may include a third resistance R3 and a fourth resistance R4. First resistance R1, second resistance R2, third resistance R3 and fourth resistance R4 can be strain resistance, can take place deformation under the exogenic action, and the deformation of different degree can correspond different resistance values.
Taking the first pressure sensor 121 as an example, when the external temperature is constant and no external force is applied to the first resistor module 1212, the resistance values of the first resistor R1 and the second resistor R2 are relatively constant, and the electrical signal received by the first data processing module 1211 is also relatively constant. When an external force is applied to the first resistor module 1212, the first resistor R1 and/or the second resistor R2 may be deformed (for example, the first resistor R1 and the second resistor R2 may be disposed in an inner surface area of the side 10 corresponding to the first virtual key area 12, and when a user presses the first virtual key area 12, the side 10 of the area may be deformed, so as to cause the first resistor R1 and/or the second resistor R2 to be deformed). The deformation of the first resistor R1 and/or the second resistor R2 can change the resistance of the first resistor R1 and/or the second resistor R2, so that the electrical signal received by the first data processing module 1211 changes, and finally the first electrical signal output by the first data processing module 1211 according to the changed electrical signal also changes.
In one possible implementation, the electronic device may include a plurality of virtual key regions 12, and the resistor modules 1212 are connected in parallel in the electronic device. For example, as shown in fig. 4, the first resistor module 1212 and the second resistor module 1212 may be connected in parallel, and both the first resistor module 1212 and the second resistor module 1212 may be powered by the power VDD. In this way, the pressure sensors can be powered by the same power supply, eliminating the need for a power supply for each pressure sensor, thereby reducing redundancy and complexity of circuit devices in the electronic device.
In a possible implementation manner, the resistor module 1212 includes a plurality of resistors connected in series, and the electrical signal received by the data processing module 1211 may be a divided voltage value generated by dividing the reference voltage for the plurality of resistors connected in series. As shown in fig. 4, the resistor R1 may be connected in series with the resistor R2 in the first resistor module 1212, the resistor R3 may be connected in series with the resistor R4 in the second resistor module 1212, and the first resistor R1, the second resistor R2, the third resistor R3, and the fourth resistor R4 may form a full-bridge type resistor network. The reference voltage may be set as desired, and may be, for example, a power supply voltage.
Application example
A plurality of virtual key regions may be disposed on an outer surface of a side of a mobile phone (an example of an electronic device) (for example, the plurality of virtual key regions may be identified by ink), a patch resistor and a capacitance sensor may be disposed on an inner surface of the side corresponding to each virtual key region, the capacitance sensor may be connected to a processor, the strain resistor may be connected to a data processing module for filtering and signal amplification, and the data processing module may be connected to the processor. In an application scenario, when a user presses a virtual key area with a finger, a side edge corresponding to the virtual key area may deform, and a patch resistor corresponding to the virtual key area is caused to deform, so that an amplitude of a first voltage signal (an example of a first signal) received by a data processing module changes; meanwhile, as the fingers of the user carry charges, pressing of the fingers of the user on the virtual key area causes the charge amount of the capacitive sensor corresponding to the virtual key area to change, and a second voltage signal (an example of a second signal) output by the capacitive sensor also changes, the processor may invoke the virtual key function corresponding to the virtual key area when the amplitude of the first signal is greater than a first threshold (an example of a first preset condition), and the rate of change of the amplitude of the second signal is greater than a second threshold (an example of a second preset condition). In another application scenario, when, for example, a book is pressed on a virtual key region, a side edge corresponding to the virtual key region may deform, and a patch resistor corresponding to the virtual key region is caused to deform, so that an amplitude of a first voltage signal (an example of a first signal) received by a data processing module changes; meanwhile, as the book does not carry electric charges or carries few electric charges, the book contacting the virtual key area does not cause the electric charge amount of the capacitive sensor corresponding to the virtual key area to change or cause the electric charge amount of the capacitive sensor to change slightly, and a second voltage signal (an example of a second signal) output by the capacitive sensor does not change or change slightly, even if the amplitude of the first signal is greater than a first threshold (an example of a first preset condition), the change rate of the amplitude of the second signal is smaller than a second threshold (an example of a second preset condition), so that the virtual key function corresponding to the virtual key area can not be called, and the phenomenon that the virtual key is touched by mistake is effectively avoided.
Fig. 4 is a flow chart illustrating a method for key function invocation in accordance with an exemplary embodiment. The method may be applied to the electronic device, as shown in fig. 4, and may include:
step 400, receiving a first signal from a pressure sensor of an electronic device;
step 401, receiving a second signal from a capacitive sensor of an electronic device;
step 402, when it is determined that the first signal corresponding to the virtual key area satisfies a first preset condition and the second signal corresponding to the virtual key area satisfies a second preset condition, invoking a virtual key function associated with the virtual key area.
In one possible implementation, the electronic device includes a plurality of virtual key regions;
the second preset condition includes: the second signal variation corresponding to the virtual key area is greater than the second signal variation corresponding to other virtual key areas in the electronic device.
In one possible implementation manner, the first preset condition includes: the amplitude of a first signal corresponding to the virtual key area is greater than a first threshold value; or
The amplitude of the first signal corresponding to the virtual key area is greater than a first threshold value within a preset time period.
In one possible implementation, the method further includes:
and when the first signal corresponding to the virtual key area meets a third preset condition, protecting the electronic equipment.
In a possible implementation manner, the third preset condition includes: the amplitude of the first signal corresponding to the virtual key area is greater than the second threshold value.
In one possible implementation, the protection process includes: restarting the electronic device, and/or displaying a prompt indicating that the electronic device is compromised.
With regard to the method in the above-described embodiment, the specific manner in which the respective steps perform operations has been described in detail in the embodiment related to the apparatus, and will not be elaborated upon here.
Fig. 5 is a block diagram illustrating a key function call apparatus according to an exemplary embodiment. For example, the apparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 5, the apparatus 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the apparatus 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power components 806 provide power to the various components of device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 800.
The multimedia component 808 includes a screen that provides an output interface between the device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the device 800. For example, the sensor assembly 814 may detect the open/closed status of the device 800, the relative positioning of components, such as a display and keypad of the device 800, the sensor assembly 814 may also detect a change in the position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration/deceleration of the device 800, and a change in the temperature of the device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communications between the apparatus 800 and other devices in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the device 800 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Fig. 6 is a block diagram illustrating a key function call apparatus according to an exemplary embodiment. For example, the apparatus 1900 may be provided as a server. Referring to FIG. 6, the device 1900 includes a processing component 1922 further including one or more processors and memory resources, represented by memory 1932, for storing instructions, e.g., applications, executable by the processing component 1922. The application programs stored in memory 1932 may include one or more modules that each correspond to a set of instructions. Further, the processing component 1922 is configured to execute instructions to perform the above-described method.
The device 1900 may also include a power component 1926 configured to perform power management of the device 1900, a wired or wireless network interface 1950 configured to connect the device 1900 to a network, and an input/output (I/O) interface 1958. The device 1900 may operate based on an operating system stored in memory 1932, such as Windows Server, MacOS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided that includes instructions, such as the memory 1932 that includes instructions, which are executable by the processing component 1922 of the apparatus 1900 to perform the above-described method. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (17)

1. An electronic device, characterized in that the electronic device comprises: a processor, a pressure sensor, and a capacitive sensor;
the outer surface of the side of the electronic device includes one or more virtual key areas, each virtual key area opposing one or more pressure sensors and opposing one or more capacitive sensors;
the processor is respectively connected with each pressure sensor and each capacitance sensor and receives a first signal generated by each pressure sensor and a second signal generated by each capacitance sensor;
and the processor calls the virtual key function associated with the virtual key area when judging that the first signal corresponding to the virtual key area meets a first preset condition and the second signal corresponding to the virtual key area meets a second preset condition.
2. The electronic device of claim 1, wherein the pressure sensor comprises a resistance module and a data processing module connected to the resistance module, wherein the resistance module is configured to generate a resistance change when subjected to pressure, so that an electrical signal received by the data processing module changes, the data processing module is configured to process the received electrical signal to generate a first signal and send the first signal to the processor, and each resistance module comprises one or more resistors.
3. The electronic device of claim 2, wherein the resistance module of the pressure sensor comprises a plurality of resistances, and the plurality of resistances of the pressure sensor corresponding to each virtual key region are distributed around the capacitive sensor corresponding to the virtual key region.
4. The electronic device of claim 2, wherein the electronic device comprises a plurality of pressure sensors, and the resistance modules of the pressure sensors are connected in parallel.
5. The electronic device of claim 1, wherein the electronic device comprises a plurality of virtual key regions;
the second preset condition includes: the second signal variation corresponding to the virtual key area is greater than the second signal variation corresponding to other virtual key areas of the electronic device.
6. The electronic device of claim 1, wherein the first preset condition comprises: the amplitude of the first signal corresponding to the virtual key area is greater than a first threshold value, or
The amplitude of the first signal corresponding to the virtual key area is greater than a first threshold value within a preset time period.
7. The electronic device of claim 1,
the processor is further configured to perform protection processing on the electronic device when the first signal corresponding to the virtual key area meets a third preset condition.
8. The electronic device of claim 7, wherein the third preset condition comprises: the amplitude of the first signal corresponding to the virtual key area is greater than the second threshold value.
9. The electronic device according to claim 7 or 8, wherein the protection process includes: restarting the electronic device, and/or displaying a prompt indicating that the electronic device is compromised.
10. A method for invoking a key function, the method being applied to an electronic device according to any one of claims 1 to 9, the method comprising:
receiving a first signal from a pressure sensor of an electronic device;
receiving a second signal from a capacitive sensor of the electronic device;
and calling the virtual key function associated with the virtual key area when the first signal corresponding to the virtual key area meets the first preset condition and the second signal corresponding to the virtual key area meets the second preset condition.
11. The method of claim 10, wherein the electronic device includes a plurality of virtual key regions;
the second preset condition includes: the second signal variation corresponding to the virtual key area is greater than the second signal variation corresponding to other virtual key areas in the electronic device.
12. The method according to claim 10, wherein the first preset condition comprises: the amplitude of a first signal corresponding to the virtual key area is greater than a first threshold value; or
The amplitude of the first signal corresponding to the virtual key area is greater than a first threshold value within a preset time period.
13. The method of claim 10, further comprising:
and when the first signal corresponding to the virtual key area meets a third preset condition, protecting the electronic equipment.
14. The method according to claim 13, wherein the third preset condition comprises: the amplitude of the first signal corresponding to the virtual key area is greater than the second threshold value.
15. The method according to claim 13 or 14, wherein the protection process comprises: restarting the electronic device, and/or displaying a prompt indicating that the electronic device is compromised.
16. A key function calling apparatus, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
performing the method according to any one of claims 10 to 15.
17. A non-transitory computer readable storage medium having instructions therein which, when executed by a processor, enable the processor to perform the method of any one of claims 10 to 15.
CN201910238091.5A 2019-03-27 2019-03-27 Electronic equipment, key function calling method and device Pending CN111756913A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910238091.5A CN111756913A (en) 2019-03-27 2019-03-27 Electronic equipment, key function calling method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910238091.5A CN111756913A (en) 2019-03-27 2019-03-27 Electronic equipment, key function calling method and device

Publications (1)

Publication Number Publication Date
CN111756913A true CN111756913A (en) 2020-10-09

Family

ID=72671016

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910238091.5A Pending CN111756913A (en) 2019-03-27 2019-03-27 Electronic equipment, key function calling method and device

Country Status (1)

Country Link
CN (1) CN111756913A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113377237A (en) * 2021-06-30 2021-09-10 歌尔科技有限公司 False touch prevention method, wearable device and storage medium
CN114638247A (en) * 2020-11-28 2022-06-17 荣耀终端有限公司 Human-computer interaction method and wearable device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104111724A (en) * 2013-04-19 2014-10-22 联想(北京)有限公司 Information processing method and electronic equipment
CN106020693A (en) * 2016-05-23 2016-10-12 努比亚技术有限公司 Desktop page entry method and electronic device
CN106201108A (en) * 2016-07-29 2016-12-07 北京小米移动软件有限公司 Glove control mode touch mode control method and device and electronic equipment
CN106293458A (en) * 2016-07-28 2017-01-04 北京小米移动软件有限公司 Alarm method based on touch screen and mobile terminal
CN106713536A (en) * 2016-11-29 2017-05-24 努比亚技术有限公司 Mistake contact prevention control terminal and method for capacitive displacement sensors
CN109144302A (en) * 2017-06-28 2019-01-04 京东方科技集团股份有限公司 Touch panel and its touch control method, touch device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104111724A (en) * 2013-04-19 2014-10-22 联想(北京)有限公司 Information processing method and electronic equipment
CN106020693A (en) * 2016-05-23 2016-10-12 努比亚技术有限公司 Desktop page entry method and electronic device
CN106293458A (en) * 2016-07-28 2017-01-04 北京小米移动软件有限公司 Alarm method based on touch screen and mobile terminal
CN106201108A (en) * 2016-07-29 2016-12-07 北京小米移动软件有限公司 Glove control mode touch mode control method and device and electronic equipment
CN106713536A (en) * 2016-11-29 2017-05-24 努比亚技术有限公司 Mistake contact prevention control terminal and method for capacitive displacement sensors
CN109144302A (en) * 2017-06-28 2019-01-04 京东方科技集团股份有限公司 Touch panel and its touch control method, touch device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114638247A (en) * 2020-11-28 2022-06-17 荣耀终端有限公司 Human-computer interaction method and wearable device
CN114638247B (en) * 2020-11-28 2023-10-24 荣耀终端有限公司 Man-machine interaction method and wearable device
CN113377237A (en) * 2021-06-30 2021-09-10 歌尔科技有限公司 False touch prevention method, wearable device and storage medium

Similar Documents

Publication Publication Date Title
WO2018043998A1 (en) Electronic device and control method therefor
CN105511686B (en) Call processing method, device and terminal electronic device
CN106802741B (en) Method and device for determining screen edge touch event and mobile terminal
CN106873834B (en) Method and device for identifying triggering of key and mobile terminal
JP6230762B2 (en) Fingerprint identification method, apparatus, program, recording medium, and mobile terminal
EP3136206B1 (en) Method and apparatus for setting threshold
KR101250638B1 (en) Portable electronic device and method of controlling same
CN110427741B (en) Fingerprint identification method and related product
CN107402711B (en) Volume adjusting method and device and computer readable storage medium
CN107168566B (en) Operation mode control method and device and terminal electronic equipment
CN106603801B (en) Call recording method and device
EP3182256B1 (en) Touch control button, touch control panel and touch control terminal
CN111756913A (en) Electronic equipment, key function calling method and device
CN108319885B (en) Fingerprint identification method and device
CN110672262B (en) Pressure key threshold calibration method and device, storage medium and electronic equipment
CN107273173B (en) Fingerprint sensor control method and device and storage medium
CN107885571B (en) Display page control method and device
CN107168631B (en) Application program closing method and device and terminal electronic equipment
CN106446827B (en) Iris recognition function detection method and device
CN106325574B (en) The method and device of touch is monitored on the touchscreen
CN113093932B (en) Touch detection processing method and device, terminal equipment and storage medium
CN106484259A (en) Input method, device and equipment
CN114115768A (en) Control method and device
CN108304124B (en) Pressure touch sensing terminal, pressure touch sensing method and device and electronic equipment
CN112445363A (en) Electronic device, control method and device for electronic device, and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20201009