CN108632427B - Electronic device and storage medium - Google Patents
Electronic device and storage medium Download PDFInfo
- Publication number
- CN108632427B CN108632427B CN201810299264.XA CN201810299264A CN108632427B CN 108632427 B CN108632427 B CN 108632427B CN 201810299264 A CN201810299264 A CN 201810299264A CN 108632427 B CN108632427 B CN 108632427B
- Authority
- CN
- China
- Prior art keywords
- pressure
- pressure sensor
- sensor
- sensor group
- 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.)
- Expired - Fee Related
Links
- 229910052751 metal Inorganic materials 0.000 claims description 13
- 239000002184 metal Substances 0.000 claims description 13
- 210000003813 thumb Anatomy 0.000 claims description 9
- 230000002441 reversible effect Effects 0.000 claims description 3
- 239000003292 glue Substances 0.000 claims 1
- 230000006870 function Effects 0.000 abstract description 4
- 230000005611 electricity Effects 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 16
- 210000003811 finger Anatomy 0.000 description 11
- 238000004590 computer program Methods 0.000 description 6
- 238000000034 method Methods 0.000 description 6
- 229910045601 alloy Inorganic materials 0.000 description 4
- 239000000956 alloy Substances 0.000 description 4
- 239000000463 material Substances 0.000 description 4
- 229910000861 Mg alloy Inorganic materials 0.000 description 3
- 230000002829 reductive effect Effects 0.000 description 3
- 239000007787 solid Substances 0.000 description 3
- 239000000758 substrate Substances 0.000 description 3
- 239000011521 glass Substances 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 239000000243 solution Substances 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 239000000919 ceramic Substances 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000006835 compression Effects 0.000 description 1
- 238000007906 compression Methods 0.000 description 1
- 239000004020 conductor Substances 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 239000000428 dust Substances 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 210000004247 hand Anatomy 0.000 description 1
- 238000001746 injection moulding Methods 0.000 description 1
- 230000000670 limiting effect Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000036961 partial effect Effects 0.000 description 1
- 230000000149 penetrating effect Effects 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 229910052594 sapphire Inorganic materials 0.000 description 1
- 239000010980 sapphire Substances 0.000 description 1
- 239000010935 stainless steel Substances 0.000 description 1
- 229910001220 stainless steel Inorganic materials 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/02—Constructional features of telephone sets
- H04M1/23—Construction or mounting of dials or of equivalent devices; Means for facilitating the use thereof
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K17/00—Electronic switching or gating, i.e. not by contact-making and –breaking
- H03K17/94—Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the way in which the control signals are generated
- H03K17/96—Touch switches
- H03K17/964—Piezoelectric touch switches
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/02—Constructional features of telephone sets
- H04M1/18—Telephone sets specially adapted for use in ships, mines, or other places exposed to adverse environment
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2250/00—Details of telephonic subscriber devices
- H04M2250/12—Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Telephone Set Structure (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the application provides an electronic equipment and storage medium, and electronic equipment includes center, touch key, pressure sensor and treater, and the touch key sets up on the center, and the front of touch key is used for the user to press and produces deformation, and pressure sensor sets up the back at the touch key, and pressure sensor is connected with the treater electricity, and pressure sensor includes adjacent first sensor and the second sensor that sets up, and the treater carries out following step: when the first pressure sensor detects a pressure signal and the second pressure sensor does not detect the pressure signal, acquiring first position information of the first pressure sensor; within preset time, when the second pressure sensor detects a pressure signal, second position information of the second pressure sensor is obtained; and generating sliding operation information according to the first position information and the second position information. The side of the middle frame generates pressing operation information and sliding operation information through the pressure sensor, and more operation functions are achieved.
Description
Technical Field
The present disclosure relates to electronic technologies, and in particular, to an electronic device and a storage medium.
Background
With the popularity of metal middle frame mobile phones, more and more manufacturers use the metal middle frame mobile phones, and at present, most of the keys of the metal middle frame mobile phones are solid plastic keys. The movable solid mechanical key can only provide simple key operation.
Disclosure of Invention
The embodiment of the application provides electronic equipment and a storage medium, which can provide more key operations.
The embodiment of the application provides an electronic equipment, including center, touch key, pressure sensor and treater, the touch key sets up on the center, the front of touch key is used for supplying the user to press and produces deformation, pressure sensor sets up the back of touch key is used for detecting the pressing force that the touch key transmitted, pressure sensor with the treater electricity is connected, pressure sensor includes adjacent first sensor and the second sensor who sets up, the treater carries out following step:
when the first pressure sensor detects a pressure signal and the second pressure sensor does not detect the pressure signal, acquiring first position information of the first pressure sensor;
within preset time, when the second pressure sensor detects a pressure signal, acquiring second position information of the second pressure sensor;
and generating sliding operation information according to the first position information and the second position information.
An embodiment of the present application provides a storage medium, where a computer program is stored, and when the computer program runs on a computer, the computer is caused to execute the above steps.
According to the electronic device provided by the embodiment of the application, the middle frame of the electronic device is provided with the plurality of pressure sensors, the plurality of pressure sensors comprise the first sensor and the second sensor which are arranged adjacently, and when the first pressure sensor detects a pressure signal and the second pressure sensor does not detect the pressure signal, the first position information of the first pressure sensor is obtained; within preset time, when the second pressure sensor detects a pressure signal, second position information of the second pressure sensor is obtained; and generating sliding operation information according to the first position information and the second position information. The side edge of the middle frame is not only a simple mode corresponding to one operation by pressing a mechanical key, but also can generate pressing operation information and sliding operation information through a pressure sensor, so that more operation functions are realized.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments will be briefly introduced below. It is obvious that the drawings in the following description are only some embodiments of the application, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
Fig. 1 is a first structural schematic diagram of an electronic device according to an embodiment of the present application.
Fig. 2 is a second schematic structural diagram of an electronic device according to an embodiment of the present application.
Fig. 3 is a third schematic structural diagram of an electronic device according to an embodiment of the present application.
Fig. 4 is a fourth schematic structural diagram of an electronic device according to an embodiment of the present application.
Fig. 5 is a fifth structural schematic diagram of an electronic device according to an embodiment of the present application.
Fig. 6 is a sixth schematic structural diagram of an electronic device according to an embodiment of the present application.
Fig. 7 is a seventh structural schematic diagram of an electronic device according to an embodiment of the present application.
Fig. 8 is a flowchart illustrating a processor process according to an embodiment of the present application.
Fig. 9 is a schematic structural diagram of a pressure touch key according to an embodiment of the present disclosure.
Fig. 10 is another schematic structural diagram of a pressure touch key according to an embodiment of the present disclosure.
Fig. 11 is another flowchart of a processor process 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 drawings in the embodiments of the present application. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the description of the present application, it is to be understood that the terms "center," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," "clockwise," "counterclockwise," and the like are used in the orientations and positional relationships indicated in the drawings for convenience in describing the present application and for simplicity in description, and are not intended to indicate or imply that the referenced devices or elements must have a particular orientation, be constructed in a particular orientation, and be operated in a particular manner, and are not to be construed as limiting the present application. Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, features defined as "first", "second", may explicitly or implicitly include one or more of the described features. In the description of the present application, "a plurality" means two or more unless specifically limited otherwise.
In the description of the present application, it is to be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; may be mechanically connected, may be electrically connected or may be in communication with each other; either directly or indirectly through intervening media, either internally or in any other relationship. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art as appropriate.
In this application, unless expressly stated or limited otherwise, the first feature "on" or "under" the second feature may comprise direct contact of the first and second features, or may comprise contact of the first and second features not directly but through another feature in between. Also, the first feature being "on," "above" and "over" the second feature includes the first feature being directly on and obliquely above the second feature, or merely indicating that the first feature is at a higher level than the second feature. A first feature being "under," "below," and "beneath" a second feature includes the first feature being directly under and obliquely below the second feature, or simply meaning that the first feature is at a lesser elevation than the second feature.
The following disclosure provides many different embodiments or examples for implementing different features of the application. In order to simplify the disclosure of the present application, specific example components and arrangements are described below. Of course, they are merely examples and are not intended to limit the present application. Moreover, the present application may repeat reference numerals and/or letters in the various examples, such repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between the various embodiments and/or configurations discussed. In addition, examples of various specific processes and materials are provided herein, but one of ordinary skill in the art may recognize applications of other processes and/or use of other materials.
The embodiment of the application provides electronic equipment and a storage medium. The details will be described below separately. The electronic equipment can be equipment such as a smart phone, a tablet computer and a palm computer.
Referring to fig. 1 and fig. 2, fig. 1 is a first structural schematic diagram of an electronic device according to an embodiment of the present disclosure, and fig. 2 is a second structural schematic diagram of the electronic device according to the embodiment of the present disclosure. The electronic device 10 may include a cover 11, a display 12, a circuit board 13, a battery 14, a housing 15, a camera 16, and a fingerprint unlock module 17. It should be noted that the electronic device 10 shown in fig. 1 and 2 is not limited to the above, and may include other devices, or does not include the camera 16, or does not include the fingerprint unlocking module 17.
Wherein the cover plate 11 is mounted to the display screen 12 to cover the display screen 12. The cover 1 may be a transparent glass cover so that the display screen transmits light through the cover 11 to display. In some embodiments, the cover plate 11 may be a glass cover plate made of a material such as sapphire.
The housing 15 may include a middle frame 151 and a rear cover 152, the middle frame 151 and the rear cover 152 may be combined with each other to form the housing 15, and the middle frame 151 and the rear cover 152 may form a receiving space to receive the printed circuit board 13, the display 12, the battery 14, and the like. Further, a cover plate 11 may be fixed to the housing 15, and the cover plate 11 and the housing 15 form a closed space to accommodate the printed circuit board 13, the display 12, the battery 14, and the like. In some embodiments, the cover plate 11 is disposed on the middle frame 151, the rear cover 152 is disposed on the middle frame 151, the cover plate 11 and the rear cover 152 are disposed on opposite sides of the middle frame 151, and the cover plate 11 and the rear cover 152 are disposed opposite to each other.
In some embodiments, the housing 15 may be a metal housing, such as a metal such as magnesium alloy, stainless steel, and the like. It should be noted that the material of the housing 15 in the embodiment of the present application is not limited to this, and other manners may also be adopted, such as: the housing 15 may be a plastic housing. Also for example: the housing 15 is a ceramic housing. For another example: the housing 15 may include a plastic part and a metal part, and the housing 15 may be a housing structure in which metal and plastic are matched with each other, specifically, the metal part may be formed first, for example, a magnesium alloy substrate is formed by injection molding, and then plastic is injected on the magnesium alloy substrate to form a plastic substrate, so as to form a complete housing structure.
It should be noted that, the structure of the housing in the embodiment of the present application is not limited to this, for example: the rear cover and the middle frame are integrally formed to form a completed housing 15 structure, which directly has a receiving space for receiving the printed circuit board 13, the display 12, the battery 14, and the like.
The printed circuit board 13 is mounted in the housing 15, the printed circuit board 13 may be a motherboard of the electronic device 10, and one, two or more of the functional components such as the motor, the microphone, the speaker, the earphone interface, the usb interface, the camera 16, the distance sensor, the ambient light sensor, the receiver, and the processor may be integrated on the printed circuit board 13.
In some embodiments, the printed circuit board 13 may be secured within the housing 15. Specifically, the printed circuit board 13 may be screwed to the middle frame 151 by screws, or may be snap-fitted to the middle frame 151. It should be noted that the way that the printed circuit board 13 is specifically fixed to the middle frame 151 in the embodiment of the present application is not limited to this, and other ways, such as a way of fixing by a snap and a screw together, may also be used.
Wherein the battery 14 is mounted in the housing 15, the battery 14 being electrically connected to the printed circuit board 13 for providing power to the electronic device 10. The housing 15 may serve as a battery cover for the battery 14. The case 15 covers the battery 14 to protect the battery 14, and particularly, the rear cover covers the battery 14 to protect the battery 14, reducing damage to the battery 14 due to collision, dropping, and the like of the electronic apparatus 10.
Wherein the display 12 is mounted in the housing 15, and the display 12 is electrically connected to the printed circuit board 13 to form a display surface of the electronic device 10. The display screen 12 may include a display area and a non-display area. The display area may be used to display a screen of the electronic device 10 or provide a user with touch control. The top area of the non-display area is provided with an opening for conducting sound and light, and the bottom of the non-display area can be provided with functional components such as a fingerprint module, a pressure touch key and the like. The cover plate 11 is mounted on the display 12 to cover the display 12, and may form the same display area and non-display area as the display 12 or different display areas and non-display areas.
Note that the structure of the display screen 12 is not limited to this. For example, the display 12 may be a special-shaped display, specifically, please refer to fig. 3, and fig. 3 is a third schematic structural diagram of the electronic device according to the embodiment of the present application. The electronic device in fig. 3 differs from the electronic device in fig. 1 in that: the electronic device 20 includes a display 22, a cover 21, a printed circuit board 23, a battery 24, and a housing 25. Wherein the display screen 22 has a light permeable area 28 formed directly thereon. Specifically, for example: the display screen 22 is provided with a through hole penetrating the display screen 22 in the thickness direction, and the light-permeable area 28 may include the through hole, and the through hole may be provided with functional components such as a front camera, an earphone, a sensor, and the like. For another example: the display screen 22 is provided with non-display areas, which the light permeable areas 28 may comprise. Wherein the cover plate 21 is adapted to the structural arrangement of the display screen 22. It should be noted that, the housing 25 may refer to the housing 15, the printed circuit board 23 may refer to the printed circuit board 13, and the battery 24 may refer to the battery 14, which are not described in detail herein.
Referring to fig. 4, fig. 4 is a fourth schematic structural diagram of an electronic device according to an embodiment of the present disclosure, where the electronic device in fig. 4 is different from the electronic device in fig. 1 in that: the electronic device 30 in fig. 4 includes a display screen 32, a cover plate 31, a printed circuit board 33, a battery 34, and a housing 35. The display screen 32 is provided with a notch 121 at its periphery, and the notch 121 can be used for placing functional components such as a front camera, an earphone, a sensor, and the like. The cover plate 31 is suitable for the structure of the display screen 11, the cover plate 31 may be provided with a large notch such as the notch 121, and the cover plate 31 may cover the notch 121. It should be noted that, the housing 3 may refer to the housing 15, the printed circuit board 33 may refer to the printed circuit board 13, and the battery 34 may refer to the battery 14, which are not described in detail herein.
It should be noted that, in some embodiments, the display 12 may not include the non-display area, but may be configured as a full-screen structure, and the functional components such as the distance sensor and the ambient light sensor may be disposed below the display or at other positions. Specifically, please refer to fig. 5, and fig. 5 is a fifth structural schematic diagram of an electronic device according to an embodiment of the present disclosure. The electronic device 40 includes a display 42, a cover 41, a printed circuit board 43, a battery 44, and a housing 45. Wherein the display screen 42 is overlaid on the housing 45 without a non-display area. Wherein, the cover plate 41 is suitable for the size setting of the display screen 42. It should be noted that, the housing 45 may refer to the housing 15, the printed circuit board 43 may refer to the printed circuit board 13, and the battery 44 may refer to the battery 14, which are not described herein again.
In some embodiments, the Display 12 may be a Liquid Crystal Display (LCD) or Organic Light-Emitting Diode (OLED) type Display. In some embodiments, when the display 12 is a liquid crystal display, the electronic device 10 may further include a backlight module, not shown, which can be referred to as a backlight module in the prior art.
Referring to fig. 6 and 7, fig. 6 is a sixth schematic structural diagram of an electronic device according to an embodiment of the present application, and fig. 7 is a seventh schematic structural diagram of the electronic device according to the embodiment of the present application.
The electronic device 500 includes a bezel 510, touch keys, a display 520, a pressure sensor 530, and a processor 540. The touch key is arranged on the middle frame, the front surface of the touch key is used for being pressed by a user to generate deformation, the pressure sensor 530 is arranged on the back surface of the touch key and is used for detecting pressing force transmitted by the touch key, the pressure sensor 530 is electrically connected with the processor 540, and the pressure sensor 530 comprises a first sensor 531 and a second sensor 532 which are arranged adjacently. As shown in fig. 8, the processor performs the following steps:
101, when the first pressure sensor detects a pressure signal and the second pressure sensor does not detect the pressure signal, acquiring first position information of the first pressure sensor.
First pressure sensor can set up the side at the center, for example, first pressure sensor closely laminates to the center side inboard, when the center side received the pressure of user's finger, can produce the pressure of a perpendicular to center side direction, the center side can produce small deformation, deformation of 1 micron for example, the place that the user's finger applied force can inwards cave in, the first pressure sensor who laminates with the center side produces the signal of telecommunication that corresponds because the deformation of center, the control chip who couples with first pressure sensor acquires this signal of telecommunication, if this signal of telecommunication is less than predetermineeing the signal of telecommunication threshold value, confirm as invalid pressing signal, slightly holding if the user's hand, or touch situations such as data line, prevent maloperation. And if the electric signal is larger than the preset electric signal threshold value, determining that the pressing signal is effective. When the first pressure sensor detects a pressure signal, it is understood that the first pressure sensor detects a valid compression signal.
In some embodiments, the first pressure sensor may be a full-bridge circuit composed of four resistors, so that when the middle frame side is slightly deformed by the pressing force, the bridge resistors determine the magnitude of the pressing force according to the change of the voltage difference between the two ends of the pair of resistors.
As shown in fig. 9, when the full-bridge circuit is composed of the piezoresistor R1, the resistor R2, the resistor R3 and the resistor R4 which are connected end to end and have the same resistance, when the piezoresistor is not subjected to the pressing force, all the resistance values in the bridge are equal, the resistance values of two opposite resistors are increased, and the resistance values of the other two resistors are decreased, so that the variation of the voltage is converted into the corresponding voltage value, and the pressing force is known according to the variation of the voltage value.
For example, as shown in fig. 10, when the values of the resistors R2 and R3 both receive a 1% decrease in the pressing force, the values of the resistors R1 and R4 increase by 1%, the voltage value between the two "middle" points changes from 0 to 2%, and the voltage value can be amplified to a level suitable for the ADC, and then the ADC converts the amplified sensor output voltage into a digital expression, and then the digital expression is sent to the controller or DSP in the circuit board for processing, so as to obtain the current pressing force.
The second pressure sensor may be a pressure sensor similar to the first pressure sensor, or may be a sensor such as a varistor.
When the first pressure sensor detects a pressure signal, namely a valid pressing signal is confirmed, whether a second pressure sensor adjacent to the first pressure sensor detects the pressure signal or not is determined, and if the second pressure sensor does not detect the pressure signal, first position information of the first pressure sensor is acquired.
And 102, acquiring second position information of the second pressure sensor when the second pressure sensor detects the pressure signal within a preset time.
When the second pressure sensor also detects the pressure signal within a preset time, for example, within 200 milliseconds, because the second pressure sensor did not detect the pressure signal before, and the current second pressure sensor is newly triggered, the second position information of the second pressure sensor is obtained.
It should be noted that, when the second pressure sensor detects the pressure signal, the first pressure sensor may also detect the pressure signal, and at this time, not only the second position information but also the first position information may be acquired at the same time. It is also possible to acquire only the second position information and ignore the first position information. When the second pressure sensor detects the pressure signal, the first pressure sensor may not detect the pressure signal, and only the second position information is acquired.
And 103, generating sliding operation information according to the first position information and the second position information.
And in the preset time, the first position information and the second position information are acquired successively, so that the sliding operation of the user can be determined, for example, the sliding operation information can be produced when the thumb of the user slides from the first position to the second position. And then the electronic device responds to the sliding operation information according to the current condition, for example, the current display interface displays an electronic book, the content of the electronic book is displayed in a sliding mode according to the sliding operation information, or the content of the electronic book is displayed in a page turning mode.
In addition, the sliding operation information in a specific direction can be produced according to the first position information and the second position information, for example, if the first position is in the middle of the top end of the electronic device and the second position information, the sliding operation information of sliding downwards is generated, and the electronic book slides downwards to be displayed or turns to be displayed in the next page. If the first position is between the bottom end of the electronic equipment and the second position information, generating sliding operation information sliding upwards, displaying the electronic book by sliding upwards or turning to the previous page,
in addition, the side edge of the middle frame is not required to be provided with a solid mechanical key, the pressure sensor realizes the key function, no process and return stroke exist, no gap exists, water and dust are easy to enter, and the waterproof and dustproof grade is improved. In addition, the middle frame of the existing smart phone is a metal middle frame or an alloy middle frame, and firstly, the metal middle frame or the alloy middle frame cannot realize the key function by using a capacitive principle. Moreover, the capacitive keys can generate corresponding operation due to any conductor contact, and are easy to generate misoperation. The pressure sensor key of the application needs certain pressure to operate, and misoperation is effectively avoided.
In some embodiments, as shown in FIG. 11, the processor further performs the steps of:
the plurality of pressure sensors are divided into a first sensor group and a second sensor group, the pressure sensors of the first sensor group and the pressure sensors of the second sensor group are arranged in a staggered mode, the first sensor group comprises first pressure sensors, and the second sensor group comprises second pressure sensors.
The plurality of pressure sensors are firstly divided into a first sensor group and a second sensor group, wherein the pressure sensors of the first sensor group and the second sensor group are arranged in a staggered manner, for example, the pressure sensors of the first sensor group and the pressure sensors of the second sensor group can be arranged in a circulating manner, the pressure sensors of the first sensor group and the pressure sensors of the two second sensor groups can be arranged in a circulating manner, or the pressure sensors of the first sensor group and the pressure sensors of the second sensor groups can be arranged in a circulating manner.
202, when the electronic device is in the screen-off state, controlling each pressure sensor of the first sensor group to be in the working state, and controlling each pressure sensor of the second sensor group to be in the dormant state.
When the electronic device is in the screen-off state, each pressure sensor of the first sensor group is in the working state and can be used for detecting an external pressure signal. Each pressure sensor of the second sensor group is in a dormant state and cannot detect an external pressure signal, for example, each pressure sensor of the second sensor group is not powered and stops working, and a control chip which can be used for receiving pressure signals fed back by each pressure sensor of the second sensor group ignores the pressure signals fed back by the second sensor, so that power consumption can be saved, and misoperation can be prevented.
And 203, controlling each pressure sensor of the second sensor group to be in an operating state when any pressure sensor in the first sensor group detects a pressure signal.
When any one pressure sensor in the first sensor group detects a pressure signal, the electronic equipment is used currently, and each pressure sensor of the second sensor group is controlled to be switched from a dormant state to an operating state.
And 204, when the first pressure sensor detects the pressure signal and the second pressure sensor does not detect the pressure signal, acquiring first position information of the first pressure sensor.
The first pressure sensor can be arranged on the side edge of the middle frame, for example, the first pressure sensor is tightly attached to the inner side of the side edge of the middle frame, when the side edge of the middle frame is pressed by a finger of a user, pressure perpendicular to the side edge direction of the middle frame can be generated, the side edge of the middle frame can generate small deformation, for example, 1 micron deformation, namely, a place where the finger of the user applies force can be inwards sunken, the first pressure sensor attached to the side edge of the middle frame detects the pressure signal, the control chip coupled with the first pressure sensor acquires the pressure signal, and if the pressure signal is smaller than a preset pressure value, the invalid pressure signal is confirmed, if the hand of the user slightly holds the pressure signal, or the data line is touched, and the misoperation is prevented. If the pressure signal is larger than the preset pressure value, the pressing signal is determined to be valid.
The second pressure sensor may employ a pressure sensor similar to the first pressure sensor,
when the first pressure sensor detects a pressure signal and confirms that the pressure signal is a valid pressing signal, whether a second pressure sensor adjacent to the first pressure sensor detects the pressure signal or not is determined, and if the second pressure sensor detects the pressure signal, first position information of the first pressure sensor is acquired.
And 205, acquiring second position information of the second pressure sensor when the second pressure sensor detects the pressure signal within a preset time.
When the second pressure sensor also detects the pressure signal within a preset time, for example, within 200 milliseconds, because the second pressure sensor did not detect the pressure signal before, and the current second pressure sensor is newly triggered, the second position information of the second pressure sensor is obtained.
It should be noted that, when the second pressure sensor detects the pressure signal, the first pressure sensor may also detect the pressure signal, and at this time, not only the second position information but also the first position information may be acquired at the same time. It is also possible to acquire only the second position information and ignore the first position information. When the second pressure sensor detects the pressure signal, the first pressure sensor may not detect the pressure signal, and only the second position information is acquired.
And 206, generating sliding operation information according to the first position information and the second position information.
And in the preset time, the first position information and the second position information are acquired successively, so that the sliding operation of the user can be determined, for example, the sliding operation information can be produced when the thumb of the user slides from the first position to the second position. And then the electronic device responds to the sliding operation information according to the current condition, for example, the current display interface displays an electronic book, the content of the electronic book is displayed in a sliding mode according to the sliding operation information, or the content of the electronic book is displayed in a page turning mode.
In addition, the sliding operation information in a specific direction can be produced according to the first position information and the second position information, for example, if the first position is in the middle of the top end of the electronic device and the second position information, the sliding operation information of sliding downwards is generated, and the electronic book slides downwards to be displayed or turns to be displayed in the next page. If the first position is between the bottom end of the electronic equipment and the second position information, generating sliding operation information sliding upwards, displaying the electronic book by sliding upwards or turning to the previous page,
and 207, controlling the electronic equipment to be on and unlocked according to the sliding operation information when the electronic equipment is in the screen-saving state.
When the electronic equipment is in a screen-off state and a pressing operation instruction is detected, the electronic equipment can be controlled to be on screen, if the pressing operation instruction is used for watching time, when sliding operation information is detected, the electronic equipment can be controlled to be on screen and unlocked, a main interface of the electronic equipment is directly displayed, screen lighting is not needed first, and then sliding unlocking is conducted.
In some embodiments, the middle frame includes a first side located on a left side of the display screen and a second side located on a right side of the display screen, and the pressure sensor is disposed on the first side and/or the second side.
In some embodiments, the processor further performs the steps of:
dividing the pressure sensors on the first side of the plurality of pressure sensors into a third sensor group, and dividing the pressure sensors on the second side of the plurality of pressure sensors into a fourth sensor group;
when the electronic equipment is detected to be in a left transverse screen state, controlling the third sensor group to be in a dormant state and controlling the fourth sensor group to be in a working state;
and when the electronic equipment is detected to be in a right transverse screen state, controlling the third sensor group to be in a working state and controlling the fourth sensor group to be in a dormant state.
When the electronic equipment is displayed in a full screen mode, for example, when a video is played or a game interface is displayed, the transverse screen of the electronic equipment can be displayed in the full screen mode, and therefore content can be better displayed. If the left transverse screen of the electronic equipment is displayed, the first side edge positioned on the left side of the display screen is arranged below, a user needs to hold the electronic equipment by partial fingers of two hands or one hand, the third sensor group arranged on the first side does not need to be used as a key, and the third sensor group can be controlled to be in a dormant state because the fingers holding the electronic equipment generate misoperation, so that the power consumption can be reduced, and the misoperation is prevented. And controlling the fourth sensor group to be in a working state, so that the operation of a user can be detected. For example, when playing video, the pressure sensor on the second side detects whether the user presses to generate a press trigger instruction or a slide trigger instruction, the press trigger instruction controls the video to pause/play and stop, and the slide trigger instruction controls the brightness and the volume. Specifically, during left horizontal screen, the pressure sensor on the left side of the second side detects to press the trigger command and then controls the video to pause/play, the pressure sensor on the right side of the second side detects to press the trigger command and then controls the video to stop or return, the pressure sensor on the left side of the second side detects to slide the trigger command and then controls the brightness to increase or decrease, and the pressure sensor on the right side of the second side detects to slide the trigger command and then controls the video sound to increase or decrease.
In some embodiments, the processor further performs the steps of:
dividing pressure sensors positioned on the first side edge half part and the second side edge half part in the plurality of pressure sensors into a fifth sensor group, and dividing pressure sensors positioned on the first side edge lower half part and the second side edge lower half part in the plurality of pressure sensors into a sixth sensor group;
when the electronic equipment is detected to be in a normal and vertical screen state, controlling the fifth sensor group to be in a working state and controlling the sixth sensor group to be in a dormant state;
and when the electronic equipment is detected to be in the reverse vertical screen state, controlling the fifth sensor group to be in the dormant state and controlling the sixth sensor group to be in the working state.
The vertical screen display is the most common mode of the electronic equipment, when the electronic equipment is displaying vertically, the user holds the electronic equipment by one hand, the palm and the lower half of the first side edge and the lower half of the second side edge of the electronic equipment are respectively held by other fingers except the thumb, at the moment, the pressure sensors positioned on the lower half of the first side edge and the lower half of the second side edge are controlled to be in a dormant state, namely, the pressure sensors of the sixth sensor group are not used for detecting the pressing operation, the pressure sensors positioned on the first side edge and the second side edge are controlled to be in a working state, then, the operation of the thumb and the index finger of the user can be detected, during actual use, only the thumb and the index finger can flexibly press or slide, the power consumption can be reduced, and misoperation can be.
Similarly, when the electronic equipment is displayed in a reverse vertical screen mode, namely a user falls down the display screen for use, the antenna signal is poor, when the antenna is used, the user can fall down the display screen for use, and the antenna cannot be shielded. At this moment, the pressure sensors on the first side upper half part and the second side upper half part are controlled to be in a dormant state, namely, the pressure sensors on the fifth sensor group are not used for detecting the pressing operation, the pressure sensors on the first side lower half part and the second side lower half part are controlled to be in a working state, the operation of the thumb and the index finger of a user can be detected, and during actual use, only the thumb and the index finger can be flexibly pressed or slid, so that the power consumption can be reduced, and misoperation can be prevented.
In some embodiments, the first side and the second side of the middle frame are made of metal or alloy. Namely, the middle frame is a metal middle frame or an alloy middle frame, and the strength of the middle frame is high.
In some embodiments, the plurality of pressure sensors further includes a third pressure sensor, and the first pressure sensor, the second pressure sensor, and the third pressure sensor are disposed adjacent to one another in that order. The processing method of the pressure touch key further comprises the following steps:
within the preset time, the first pressure sensor, the second pressure sensor and the third pressure sensor sequentially detect pressure signals, and sliding operation information is generated according to position information of the first pressure sensor, the second pressure sensor and the third pressure sensor.
The sliding operation information can be detected by three or more pressure sensors, and the identification is more accurate.
The embodiments of the present application further provide a storage medium, in which a computer program is stored, and when the computer program runs on a computer, the computer executes the steps described in any of the above embodiments.
It should be noted that, those skilled in the art can understand that all or part of the steps in the methods of the above embodiments can be implemented by the relevant hardware instructed by the computer program, and the computer program can be stored in the computer readable storage medium, which can include but is not limited to: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
The electronic device and the storage medium provided by the embodiments of the present application are described in detail above, and the principles and implementations of the present application are described herein using specific examples, which are provided only to help understanding of the present application. Meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.
Claims (8)
1. An electronic device is characterized by comprising a middle frame, a touch key, a pressure sensor and a processor, wherein the touch key is arranged on the middle frame, the front surface of the touch key is used for being pressed by a user to generate deformation, the pressure sensor is arranged on the back surface of the touch key and used for detecting pressing force transmitted by the touch key, the pressure sensor is electrically connected with the processor, and the processor executes the following steps:
dividing a plurality of the pressure sensors into a first sensor group and a second sensor group, wherein the first sensor group comprises at least one first pressure sensor, the second sensor group comprises at least one second pressure sensor, the pressure sensors of the first sensor group and the second sensor group are arranged in an interleaving mode, and each pressure sensor comprises a full bridge circuit;
when the electronic equipment is in a screen-off state, controlling each pressure sensor of the first sensor group to be in a working state, and controlling each pressure sensor of the second sensor group to be in a dormant state;
when any one pressure sensor in the first sensor group detects a pressure signal, controlling each pressure sensor of the second sensor group to be in a working state;
when the first pressure sensor detects a pressure signal and the second pressure sensor does not detect the pressure signal, acquiring first position information of the first pressure sensor;
within preset time, when the second pressure sensor detects a pressure signal, acquiring second position information of the second pressure sensor;
and generating sliding operation information according to the first position information and the second position information.
2. The electronic device of claim 1, wherein the first sensor group comprises two or more target pressure sensors disposed on the same side of the middle frame, and two adjacent target pressure sensors are disposed at a predetermined distance from each other, and the predetermined distance is set according to the size of the thumb of the user, so that the thumb of the user cannot trigger two adjacent target pressure sensors at the same time;
the pressure sensors of the second sensor group are arranged between two adjacent target pressure sensors.
3. The electronic device according to claim 1, further comprising a display screen disposed in the middle frame, wherein the middle frame comprises a first side edge located on a left side of the display screen and a second side edge located on a right side of the display screen, and the pressure sensor is disposed on the first side edge and/or the second side edge.
4. The electronic device of claim 3, wherein the processor further performs the steps of:
dividing the pressure sensors on the first side of the plurality of pressure sensors into a third sensor group, and dividing the pressure sensors on the second side of the plurality of pressure sensors into a fourth sensor group;
when the electronic equipment is detected to be in a left transverse screen state, controlling the third sensor group to be in a dormant state, and controlling the fourth sensor group to be in a working state;
and when the electronic equipment is detected to be in a right transverse screen state, controlling the third sensor group to be in a working state and controlling the fourth sensor group to be in a dormant state.
5. The electronic device of claim 3, wherein the processor further performs the steps of:
dividing pressure sensors positioned on a first side edge half part and a second side edge half part in the plurality of pressure sensors into a fifth sensor group, and dividing pressure sensors positioned on a first side edge lower half part and a second side edge lower half part in the plurality of pressure sensors into a sixth sensor group;
when the electronic equipment is detected to be in a positive vertical screen state, controlling the fifth sensor group to be in a working state, and controlling the sixth sensor group to be in a dormant state;
and when the electronic equipment is detected to be in a reverse vertical screen state, controlling the fifth sensor group to be in a dormant state and controlling the sixth sensor group to be in a working state.
6. The electronic device of claim 3, wherein the pressure sensor is attached to the inner side of the first side and/or the inner side of the second side by a glue layer.
7. The electronic device of claim 3, wherein the first side and the second side are made of metal.
8. The electronic device of claim 1, wherein the processor further performs the steps of:
and if the electronic equipment is in a screen-turning state, controlling the electronic equipment to light and unlock the screen according to the sliding operation information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810299264.XA CN108632427B (en) | 2018-04-04 | 2018-04-04 | Electronic device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810299264.XA CN108632427B (en) | 2018-04-04 | 2018-04-04 | Electronic device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108632427A CN108632427A (en) | 2018-10-09 |
CN108632427B true CN108632427B (en) | 2021-02-02 |
Family
ID=63704907
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810299264.XA Expired - Fee Related CN108632427B (en) | 2018-04-04 | 2018-04-04 | Electronic device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108632427B (en) |
Families Citing this family (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109714475A (en) * | 2018-12-18 | 2019-05-03 | 芯海科技(深圳)股份有限公司 | A kind of piezoresistive transducer realizes the device and method of new function using new fitting |
CN109919115B (en) * | 2019-03-14 | 2021-01-15 | Oppo(重庆)智能科技有限公司 | Fingerprint module frock |
CN110166608B (en) * | 2019-06-28 | 2021-03-23 | Oppo广东移动通信有限公司 | Electronic equipment and camera adjusting method |
CN110308859B (en) * | 2019-06-28 | 2021-03-23 | Oppo广东移动通信有限公司 | Electronic device and control method thereof |
CN116301449A (en) * | 2019-06-28 | 2023-06-23 | Oppo广东移动通信有限公司 | Electronic apparatus and control method thereof |
CN110278304B (en) * | 2019-06-28 | 2021-08-24 | Oppo广东移动通信有限公司 | Electronic device and control method of electronic device |
CN110266854B (en) * | 2019-06-28 | 2021-06-15 | Oppo广东移动通信有限公司 | Electronic equipment and control method of camera thereof |
CN110300206B (en) * | 2019-06-28 | 2021-06-29 | Oppo广东移动通信有限公司 | Shell assembly, electronic equipment and control method thereof |
CN110312030B (en) * | 2019-06-28 | 2020-09-08 | Oppo广东移动通信有限公司 | Electronic device and control method thereof |
CN110300198B (en) * | 2019-06-28 | 2021-03-02 | Oppo广东移动通信有限公司 | Shell assembly, electronic equipment and control method thereof |
CN110300265B (en) * | 2019-06-28 | 2021-02-09 | Oppo广东移动通信有限公司 | Electronic equipment and control method of camera |
CN110198414B (en) * | 2019-06-28 | 2021-08-24 | Oppo广东移动通信有限公司 | Electronic equipment and control method of camera |
CN110333797B (en) * | 2019-06-28 | 2023-04-18 | Oppo广东移动通信有限公司 | Electronic device and control method thereof |
CN110442261B (en) * | 2019-07-22 | 2023-04-07 | 维沃移动通信有限公司 | Electronic equipment and touch operation detection method thereof |
CN110456940B (en) * | 2019-07-23 | 2023-06-13 | Oppo广东移动通信有限公司 | Electronic apparatus and control method thereof |
CN110737362A (en) * | 2019-08-01 | 2020-01-31 | 华为技术有限公司 | Mobile terminal and key triggering method |
CN112650405B (en) * | 2019-10-10 | 2023-11-03 | 华为技术有限公司 | Interaction method of electronic equipment and electronic equipment |
CN111103926B (en) * | 2019-11-19 | 2021-07-20 | Oppo广东移动通信有限公司 | Electronic device |
CN210666541U (en) * | 2019-12-17 | 2020-06-02 | 湃瑞电子科技(苏州)有限公司 | Mobile device edge key and mobile device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103870772A (en) * | 2012-12-17 | 2014-06-18 | 国基电子(上海)有限公司 | Touch screen electronic device and control method thereof |
CN106775416A (en) * | 2016-12-28 | 2017-05-31 | 珠海市魅族科技有限公司 | The control method and terminal of a kind of terminal |
CN106919292A (en) * | 2017-04-13 | 2017-07-04 | 芯海科技(深圳)股份有限公司 | A kind of method and device of the man-machine interaction of mobile phone side virtual key |
CN107300997A (en) * | 2017-06-13 | 2017-10-27 | 芯海科技(深圳)股份有限公司 | The bezel pressure contactor control device and touch control identification method of a kind of mobile terminal |
-
2018
- 2018-04-04 CN CN201810299264.XA patent/CN108632427B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103870772A (en) * | 2012-12-17 | 2014-06-18 | 国基电子(上海)有限公司 | Touch screen electronic device and control method thereof |
CN106775416A (en) * | 2016-12-28 | 2017-05-31 | 珠海市魅族科技有限公司 | The control method and terminal of a kind of terminal |
CN106919292A (en) * | 2017-04-13 | 2017-07-04 | 芯海科技(深圳)股份有限公司 | A kind of method and device of the man-machine interaction of mobile phone side virtual key |
CN107300997A (en) * | 2017-06-13 | 2017-10-27 | 芯海科技(深圳)股份有限公司 | The bezel pressure contactor control device and touch control identification method of a kind of mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN108632427A (en) | 2018-10-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108632427B (en) | Electronic device and storage medium | |
CN101689076B (en) | Data input device and portable electronic device | |
CN110399010A (en) | Electronic equipment with cover piece | |
US8149224B1 (en) | Computing system with detachable touch screen device | |
CN103052286B (en) | Hand-hold electronic device | |
US10061959B2 (en) | Electronic apparatus with multi-finger fingerprint identifying function | |
CN107819910B (en) | Cover plate assembly, display panel and electronic equipment | |
CN108512959B (en) | Electronic device and storage medium | |
CN108600455B (en) | Electronic device | |
CN204066118U (en) | Terminal device | |
CN101636710A (en) | The adaptable user interface and the mechanism that are used for portable electric appts | |
CN110298288B (en) | Display screen, electronic equipment and control method thereof | |
CN101622589A (en) | The adaptable user interface and the mechanism that are used for portable electric appts | |
CN110672262B (en) | Pressure key threshold calibration method and device, storage medium and electronic equipment | |
CN108989567A (en) | Information prompting method, storage medium and electronic equipment | |
CN208141412U (en) | A kind of display module with fingerprint identification module | |
CN110472399B (en) | Electronic device and control method thereof | |
CN109526169B (en) | Shell assembly and electronic equipment | |
CN101622590A (en) | The adaptable user interface and the mechanism that are used for portable electric appts | |
CN101587251A (en) | Display screen structure | |
CN110286829B (en) | Electronic device and processing method thereof | |
CA2960302C (en) | Capacitive touch sensor | |
CN109144308B (en) | Display screen driving method, display screen, electronic device, and storage medium | |
CN107831954B (en) | Array substrate, display panel and electronic equipment | |
CN112130688B (en) | Display screen, electronic equipment and control method thereof |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20210202 |