CN110286829B - Electronic device and processing method thereof - Google Patents

Electronic device and processing method thereof Download PDF

Info

Publication number
CN110286829B
CN110286829B CN201910578294.9A CN201910578294A CN110286829B CN 110286829 B CN110286829 B CN 110286829B CN 201910578294 A CN201910578294 A CN 201910578294A CN 110286829 B CN110286829 B CN 110286829B
Authority
CN
China
Prior art keywords
key
instruction
pressure sensor
electronic device
board
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910578294.9A
Other languages
Chinese (zh)
Other versions
CN110286829A (en
Inventor
廖程明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201910578294.9A priority Critical patent/CN110286829B/en
Publication of CN110286829A publication Critical patent/CN110286829A/en
Application granted granted Critical
Publication of CN110286829B publication Critical patent/CN110286829B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1684Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

The embodiment of the application provides electronic equipment and a processing method thereof, wherein the electronic equipment comprises a key assembly, a driving mechanism and a processor; the key assembly comprises a key plate and a pressure sensor; the driving mechanism is used for driving the key board and the pressure sensor to move along the direction vertical to the pressure acquisition surface so as to enable the key board and the pressure sensor to be located at a first position and a second position; the processor obtains application information of a current application program, drives the key board and the pressure sensor to move along the direction of the vertical pressure acquisition surface through the driving mechanism according to the application information, obtains a first instruction through the key assembly when the key board is located at a first position, performs first operation on the current application program according to the first instruction, obtains a second instruction through the key assembly when the key board is located at a second position, and performs second operation on the current application program according to the second instruction. The key assembly can provide multiple functions, and different functions are provided corresponding to different application programs.

Description

Electronic device and processing method thereof
Technical Field
The present disclosure relates to the field of electronic technologies, and in particular, to an electronic device and a processing method thereof.
Background
With the development of communication technology, electronic devices such as smart phones are becoming more and more popular. In the using process of the electronic equipment, the electronic equipment can be controlled through the keys arranged on the electronic equipment, but the functions of the existing keys are single.
Disclosure of Invention
The embodiment of the application provides electronic equipment and a processing method thereof, and a key can provide multiple functions.
An embodiment of the present application provides an electronic device, which includes:
the key assembly comprises a key plate and a pressure sensor, the key plate is arranged on the outer surface of the electronic equipment, the pressure sensor is arranged on one side of the key plate, which faces the inside of the electronic equipment, and a pressure acquisition surface of the pressure sensor is used for acquiring pressure information of a user;
the driving mechanism is connected with the key assembly and used for driving the key plate and the pressure sensor to move along the direction vertical to the pressure acquisition surface so as to enable the key plate and the pressure sensor to be located at a first position and a second position, wherein the key plate at the second position is farther away from the inside of the electronic equipment than the key plate at the first position;
the processor acquires application information of a current application program, drives the key board and the pressure sensor to move along a direction vertical to the pressure acquisition surface through the driving mechanism according to the application information, acquires a first instruction through the key assembly when the key board is located at the first position, performs first operation on the current application program according to the first instruction, acquires a second instruction through the key assembly when the key board is located at the second position, and performs second operation on the current application program according to the second instruction.
The embodiment of the application further provides an electronic device processing method, the electronic device comprises a key assembly, a driving mechanism and a key assembly, the key assembly comprises a key plate and a pressure sensor, the key plate is arranged on the outer surface of the electronic device, the pressure sensor is arranged on one side, facing the inside of the electronic device, of the key plate, a pressure acquisition surface of the pressure sensor is used for acquiring pressure information of a user, and the driving mechanism is used for driving the key plate and the pressure sensor to move along a direction vertical to the pressure acquisition surface; the method comprises the following steps:
acquiring application information of a current application program;
driving the key board and the pressure sensor to move along a direction vertical to the pressure acquisition surface through the driving mechanism according to the application information so as to enable the key board and the pressure sensor to be located at a first position and a second position, wherein the key board at the second position is farther away from the inside of the electronic device than the key board at the first position;
when the key board is located at the first position, a first instruction is obtained through the key assembly, and first operation is carried out on the current application program according to the first instruction;
and when the key board is positioned at a second position, acquiring a second instruction through the key assembly, and performing a second operation on the current application program according to the second instruction.
In the embodiment of the application, the key assembly can be moved to different positions according to the application information, and the key assemblies at different positions can acquire different instructions and perform different operations on the current application program according to different instructions. The key assembly can provide multiple functions, and different functions are provided corresponding to different application programs.
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.
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 schematic structural diagram of a key assembly in an electronic device according to an embodiment of the present disclosure.
Fig. 4 is a schematic structural diagram of a key assembly in an electronic device according to an embodiment of the present disclosure.
Fig. 5 is a third schematic structural diagram of an electronic device according to an embodiment of the present application.
Fig. 6 is a schematic structural diagram of a key assembly and a limiting device in an electronic device according to an embodiment of the present application.
Fig. 7 is a fourth schematic structural diagram of an electronic device according to an embodiment of the present application.
Fig. 8 is a sectional view of the electronic device shown in fig. 7 taken along the direction P1-P1.
Fig. 9 is a flowchart of an electronic device processing method 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 inventive step, are within the scope of the present application.
The embodiment of the application provides electronic equipment and a processing method thereof. The electronic device may be a smart phone, a tablet computer, or other devices, and may also be a game device, an AR (Augmented Reality) device, a data storage device, an audio playing device, a video playing device, a wearable device, or other devices, where the wearable device may be a smart band, smart glasses, or other devices.
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. Electronic device 100 includes a key assembly 120, a drive mechanism 140, and a processor 160.
Referring to fig. 3, fig. 3 is a schematic view illustrating a first structure of a key assembly in an electronic device according to an embodiment of the present disclosure. The key assembly 120 includes a key sheet 122 and a pressure sensor 124, the key sheet 122 is disposed on an outer surface of the electronic device 100, the pressure sensor 124 is disposed on a side of the key sheet 122 facing an inside of the electronic device 100, and a pressure collecting surface 1242 of the pressure sensor 124 is used for collecting pressure information of a user.
The driving mechanism 140 is connected to the key assembly 120 and is configured to drive the key sheet 122 and the pressure sensor 124 to move in a direction perpendicular to the pressure acquisition surface 1242, so that the key sheet 122 and the pressure sensor 124 are located at a first position and a second position, wherein the key sheet 122 at the second position is farther away from the inside of the electronic device 100 than the key sheet 122 at the first position. The key sheet in fig. 1 is located at the first position, and the key sheet in fig. 2 is located at the second position.
Pressure sensor 124, actuating mechanism 140 all is connected with treater 160 electric, treater 160 acquires current application program's application information, and pass through actuating mechanism 140 drive keypad 122 and pressure sensor 124 according to application information and remove along vertical pressure acquisition face 1242 direction, and when keypad 122 was located the first position, acquire first instruction through keypad 120, and carry out first operation to current application program according to first instruction, when keypad 122 was located the second position, acquire the second instruction through keypad 120, and carry out the second operation to current application program according to the second instruction.
The first instruction may be a determination instruction, a cancel instruction, a return instruction, a power-on instruction, a power-off instruction, and the like, and the corresponding first operation may be a click, a return, a power-on, a power-off, and the like. It is also understood that the first instruction is a click operation. The second instruction may be a slide instruction, and may operate according to the slide instruction in the current application program. For example, in a shooting application, a focusing operation is performed by a slide instruction. It should be noted that the first instruction and the instruction may be exchanged as needed, that is, the first instruction is a sliding instruction, and the second instruction is a determining instruction, a canceling instruction, a returning instruction, a power-on instruction, a power-off instruction, or the like. In the following embodiments, the first instruction may be a determination instruction, a cancel instruction, a return instruction, a power-on instruction, a power-off instruction, or the like. The second instruction may be a slide instruction for example.
The Pressure Transducer 124(Pressure Transducer) is a device that can sense a Pressure signal and can convert the Pressure signal into a usable output electrical signal according to a certain rule. The slip command is obtained by the pressure sensor 124. For example, the movement of the pressing position of the user can be acquired by the pressure sensor 124 to obtain the slide instruction.
The keypad 122 is located on an outer surface of the electronic device 100, and the keypad 122 can be used to protect the pressure sensor 124 without affecting the pressure sensor 124 to obtain the user's pressing information. The thickness of the key sheet 122 can be set as desired.
The key assembly 120 can move to different positions according to the application information, and the key assembly 120 at different positions can obtain different instructions and perform different operations on the current application program according to different instructions. The key assembly 120 can provide a variety of functions, providing different functions for different applications.
The first command or the second command may be obtained based on pressure information collected by pressure sensor 124. The first command and the second command are acquired using the pressure sensor 124. For example, whether the degree of pressing force of the user is greater than a threshold value may be obtained by the pressure sensor 124 to obtain the first instruction. The movement of the user's pressed position can also be acquired by the pressure sensor 124 to obtain a second instruction (slide instruction).
When the key sheet 122 is located at the first position, the outer surface of the key sheet 122 is flush with the outer surface of the electronic device 100; when the key sheet 122 is located at the second position, the outer surface of the key sheet 122 protrudes from the outer surface of the electronic device 100.
When the key sheet 122 is located at the first position, the outer surface of the key sheet 122 is flush with the outer surface of the electronic device 100, and the key sheet 122 is hidden in the electronic device 100, the key sheet 122 may be in the same color as the outer surface of the electronic device 100. For example, if the keypad 122 is located on the side edge 210 of the electronic device 100, the color of the keypad 122 is the same as or approximately the same as the color of the side edge 210, and even the same material can be used. For another example, if the key sheet 122 is located on the display back surface (rear case) of the electronic device 100, the color of the key sheet 122 may be the same or substantially the same as the color of the display back surface, or may be made of the same material. When the key sheet 122 is located at the second position, the outer surface of the key sheet 122 protrudes from the outer surface of the electronic device 100, that is, the outer surface of the key sheet 122 has a height difference with the outer surface of the electronic device 100, so as to indicate that the protruding position of the key sheet 122 can be used to obtain a second command (a sliding command). Of course, in other embodiments, when the keypad 122 is located at the first position, the outer surface of the keypad 122 slightly protrudes from the outer surface of the electronic device 100; when the key sheet 122 is located at the second position, the outer surface of the key sheet 122 protrudes more than the outer surface of the electronic device 100. That is, the difference in height between the outer surface of the key sheet 122 and the outer surface of the electronic device 100 in the second position is greater than the difference in height between the outer surface of the key sheet 122 and the outer surface of the electronic device 100 in the first position.
Referring to fig. 4, fig. 4 is a schematic view of a second structure of a key assembly in an electronic device according to an embodiment of the present disclosure. The fetch first instruction may also be fetched in other ways. In some other embodiments, the key assembly 120 further includes an elastic key 126, the elastic key 126 is disposed in the electronic device 100, and the first instruction is generated by pressing the elastic key 126 through the key sheet 122. The spring buttons 126 generate a signal by pressing the corresponding spring button 1262. The key sheet 122 has a protrusion 1222 corresponding to the elastic button 1262, when the user presses the key sheet 122, the key sheet 122 moves toward the elastic button 126, the protrusion 1222 on the key sheet 122 presses the elastic button 1262 to generate a signal, and the processor 160 generates a first command according to the signal. It will also be appreciated that the resilient plate and resilient button 126 cooperate to generate a first command in response to a user's pressure operation, and the pressure sensor 124 generates a second command in response to a user's pressure operation. The pressure sensor 124 may be multiplexed on the key in the related art to realize more functions, i.e., a function of a slide operation is obtained on the basis of pressing the key.
When the key sheet 122 is located at the first position, the outer surface of the key sheet 122 slightly protrudes from the outer surface of the electronic device 100; when the key sheet 122 is located at the second position, the outer surface of the key sheet 122 protrudes more than the outer surface of the electronic device 100. That is, the difference in height between the outer surface of the key sheet 122 and the outer surface of the electronic device 100 in the second position is greater than the difference in height between the outer surface of the key sheet 122 and the outer surface of the electronic device 100 in the first position. When the key sheet 122 is in the first position, the protrusion 1222 of the key sheet 122 can press the elastic key 126 to generate a first command when the key sheet 122 is pressed. When the key sheet 122 is in the second position, the protrusion 1222 of the key sheet 122 is further away from the elastic key 126, and when the key sheet 122 is pressed, the protrusion 1222 of the key sheet 122 cannot press the elastic key 126. Of course, in other embodiments, when the keypad 122 is in the first position, the outer surface of the keypad 122 may be flush with the outer surface of the electronic device 100; when the keypad 122 is in the second position, the outer surface of the keypad 122 may protrude from the outer surface of the electronic device 100.
The keypad 122 may be located on the side 210 of the electronic device 100, and the keypad 122 and the elastic keys 126 may be the keypad assembly 120 of the related art electronic device 100. Such as a power key, a volume key, etc. of the mobile terminal. The keypad 122 may also be located on the display back (back cover) of the electronic device 100.
The number of key assemblies 120 of electronic device 100 may be one or more. When the number of the key assemblies 120 is multiple, the processor 160 changes different functional parameters or the same functional parameter of the current application program according to the second instruction obtained by different key assemblies 120. The plurality of key assemblies 120 are located at different positions of the electronic device 100, and may be disposed at two sides of the top, two sides of the side 210, two sides of the bottom, and the like of the electronic device 100.
For example, when the current application program is a shooting application, the key assembly 120 in any position recognizes the second instruction (slide instruction), and controls the focusing function in the shooting application, that is, operates the focusing function of the shooting application by the second instruction. The focus adjustment function has directivity, and the focal length can be reduced by a slide instruction in a first direction and can be enlarged by a slide instruction in a second direction (opposite to the first direction).
For another example, if the current application is a video playing application, the second instruction identified by the key assembly 120 at a different location changes different functional parameters of the video playing application. The two sides of the two sides 210 are both provided with a key assembly 120, that is, the electronic device 100 has four key assemblies 120, the second instruction identified by the first key assembly 120 is used to adjust the video volume, the second instruction identified by the first key assembly 120 is used to adjust the display brightness, the second instruction identified by the third key assembly 120 is used to adjust the playing progress, and the second instruction identified by the fourth key assembly 120 is used to adjust the playing speed (e.g., playing at playing speeds of 0.8, 0.9, 1.0, 1.1, 1.2, etc.). Wherein, the 1.0 playing speed is the normal playing speed, the 0.9 playing speed is slower than the normal playing speed, and the 1.1 playing speed is faster than the normal playing speed.
It should be noted that the above embodiments are merely exemplary, and the current application program may also be other application programs, such as a page browsing application program, an audio playing application program, and the like. The location and number of key assemblies 120 may also be selected as desired.
Referring to fig. 5, fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. In some embodiments, electronic device 100 includes a plurality of corners 180, and each key assembly 120 is disposed at a corresponding corner 180 of electronic device 100. Having a plurality of corners 180 depending on the shape of the electronic device 100. For example, when the electronic device 100 is a mobile terminal, the electronic device 100 is generally rectangular, and has four corners 180 (four corners of the rectangular electronic device 100), and the number of the key assemblies 120 may be 1, 2, 3, or 4, where each key assembly 120 is correspondingly disposed at one corner 180 of the electronic device 100. When a user shoots or plays a video, the user often holds the electronic device 100 with both hands, the user generally holds the electronic device 100 with both hands at two sides and at four corners 180 of the electronic device 100, and the key assembly 120 is disposed at the corners 180 for the user to operate. It should be noted that the number of key assemblies 120 may be less than the number of corners 180, i.e., key assemblies 120 may be disposed at portions of corners 180.
Of course, key assembly 120 may be disposed at a middle position of side 210 of electronic device 100, or at a position of side 210 of electronic device 100 near the top or bottom end. The user can conveniently hold the electronic device 100 in a vertical manner.
Key assembly 120 may also be located at corners 180 and side edges 210 of electronic device 100. Specifically, at least one key assembly 120 is disposed at a corner 180 of the electronic device 100, and at least one key assembly 120 is disposed at a side edge 210 of the electronic device 100. Then, the second command is obtained by selecting the key assembly 120 located at the corner 180 or the side edge 210 of the electronic device 100 by recognizing the holding manner (two-handed holding and one-handed holding or holding position) of the user or the display manner (horizontal screen display or vertical screen display) of the electronic device 100. Wherein the selected key assembly 120 may prompt the user, such as the key pad 122, to move outward to the second position.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a key assembly and a limiting device in an electronic device according to an embodiment of the present disclosure. On the basis of the above embodiment, the electronic device 100 may further include a position limiting device 130, where the position limiting device 130 is used to fix the key sheet 122 in the first position or the second position.
The spacing device 130 may be implemented using a variety of mechanisms. For example, the key sheet 122 has protrusions 1224 facing the inside of the electronic device 100 on both sides, the protrusions 1224 have first limiting holes 1226 and second limiting holes 1228 corresponding to the first position and the second position, and the limiting device 130 has a movable limiting column. When the key sheet 122 is located at the first position, the limiting column is located in the first limiting hole 1226, and is used to fix the key sheet 122 at the first position. If the key plate 122 needs to press the elastic key 126, the first limiting hole 1226 is a rectangular hole, and the key plate 122 can move within the range of the rectangular hole and press the elastic key 126. When the key sheet 122 needs to be moved, the control limiting column moves out of the first limiting hole 1226, the driving device moves the key sheet 122 to the second position, and the control limiting column enters the second limiting hole 1228, so that the key sheet 122 is fixed at the second position. Movement of the keydome 122 from the second position to the first position may be accomplished in a similar manner. Wherein, control spacing post removes can realize through modes such as electro-magnet, motor and gear train. For another example, at least one spring may be attached to the keypad 122. When the key sheet 122 is located at the first position, the spring is in a normal state, and when the key sheet 122 is pressed to press the elastic key 126, the spring is compressed, and the key sheet 122 is restored to the first position by an elastic restoring force of the spring. When the key sheet 122 is located at the second position, the key sheet 122 is fixed at the second position through the limiting posts and the limiting holes.
The drive means may be implemented by a motor and gear train. For example, at least one side of the key sheet 122 has a rack gear, and the motor and the gear set cooperate with the rack gear to drive the key sheet 122 to move. The gear set may also convert rotational motion into linear motion, thereby driving the keypad 122 to move.
Referring to fig. 7 and 8, fig. 7 is a fourth structural schematic diagram of an electronic device according to an embodiment of the present application, and fig. 8 is a cross-sectional view of the electronic device shown in fig. 7 along a direction P1-P1. The electronic device 100 may specifically include a display screen 10, a pressure sensor 122, a bezel 30, a circuit board 40, a battery 50, and a rear cover 60.
The display screen 10 may be mounted on the middle frame 30 and connected to the rear cover 60 through the middle frame 30 to form a display surface of the electronic device 100 for displaying information such as images and texts. The Display screen 10 may include a Liquid Crystal Display (LCD) or an Organic Light-Emitting Diode (OLED) Display screen.
It will be appreciated that a cover plate may also be provided on the display screen 10. The cover plate covers the display screen 10 to protect the display screen 10 from being scratched or damaged by water. Wherein the cover may be a clear glass cover so that a user may view the information displayed by the display screen 10 through the cover. For example, the cover plate may be a glass cover plate of sapphire material.
The middle frame 30 may have a thin plate-like or sheet-like structure, or may have a hollow frame structure. The middle frame 30 is used for providing a supporting function for the electronic components or functional assemblies in the electronic device 100, so as to mount the electronic components or functional assemblies in the electronic device 100 together.
The middle frame 30 and the rear cover 60 may together form a housing of the electronic device 100, for accommodating or mounting electronic components, functional components, and the like of the electronic device. For example, the display screen 10 may be mounted on a housing and the pressure sensor 122 may be mounted within the housing. In addition, functional components of the electronic apparatus, such as a camera, a receiver, a circuit board, and a battery, may be mounted on the center frame 30 to be fixed. It is understood that the material of the middle frame 30 may include metal or plastic.
The circuit board 40 may be mounted on the middle frame 30. The circuit board 40 may be a motherboard of the electronic device 100. One or more of the functional components such as a microphone, a speaker, a receiver, an earphone interface, a camera, an acceleration sensor, a gyroscope, and the processor 160 may be integrated on the circuit board 40. Meanwhile, the display screen 10 may be electrically connected to the circuit board 40 to control the display of the display screen 10 through the processor 160 on the circuit board 40.
The battery 50 may be mounted on the middle frame 30. Meanwhile, the battery 50 is electrically connected to the circuit board 40 to enable the battery 50 to power the electronic device 100. The circuit board 40 may be provided thereon with a power management circuit. The power management circuit is used to distribute the voltage provided by the battery 50 to the various electronic components in the electronic device 100.
The rear cover 60 may be integrally formed. In the molding process of the rear cover 60, a rear camera hole or the like may be formed on the rear cover 60.
The pressure sensor 122 is disposed in a non-display area. The pressure sensor 122 may be provided on the middle frame 30 or may be provided on the rear cover 60.
In order to further describe the functions of the embodiments of the present application, which perform different operations on the current application according to the key assembly, the following definitions are provided from the perspective of the processing method of the electronic device.
Referring to fig. 9, fig. 9 is a flowchart of an electronic device processing method according to an embodiment of the present disclosure. The electronic device processing method in this embodiment is applied to an electronic device, where the electronic device may be any one of the electronic devices in the above embodiments. The electronic equipment comprises a key assembly and a driving mechanism, the key assembly comprises a key board and a pressure sensor, the key board is arranged on the outer surface of the electronic equipment, the pressure sensor is arranged on one side, facing the inside of the electronic equipment, of the key board, the pressure acquisition surface of the pressure sensor is used for acquiring pressure information of a user, and the driving mechanism is used for driving the key board and the pressure sensor to move along the direction perpendicular to the pressure acquisition surface. The electronic equipment processing method specifically comprises the following steps:
and 201, acquiring application information of the current application program.
And 202, driving the key board and the pressure sensor to move along the direction vertical to the pressure acquisition surface through the driving mechanism according to the application information so as to enable the key board and the pressure sensor to be located at a first position and a second position, wherein the key board at the second position is farther away from the inside of the electronic equipment than the key board at the first position.
203, when the key board is located at the first position, obtaining a first instruction through the key assembly, and performing a first operation on the current application program according to the first instruction.
And 204, when the key board is located at the second position, acquiring a second instruction through the key assembly, and performing a second operation on the current application program according to the second instruction.
The first instruction may be a determination instruction, a cancel instruction, a return instruction, a power-on instruction, a power-off instruction, or the like. The second instruction may be a slide instruction, and may operate according to the slide instruction in the current application program. For example, in a shooting application, a focusing operation is performed by a slide instruction. It should be noted that the first instruction and the instruction may be exchanged as needed, that is, the first instruction is a sliding instruction, and the second instruction is a determining instruction, a canceling instruction, a returning instruction, a power-on instruction, a power-off instruction, or the like. In the following embodiments, the first instruction may be a determination instruction, a cancel instruction, a return instruction, a power-on instruction, a power-off instruction, or the like. The second instruction may be a slide instruction for example.
The key assembly can be moved to different positions according to the application information, and the key assemblies at different positions can obtain different instructions and perform different operations on the current application program according to the different instructions. The key assembly can provide multiple functions, and different functions are provided corresponding to different application programs.
The key assembly further comprises an elastic key, and the elastic key is arranged in the electronic equipment. The obtaining of the first instruction through the key assembly may specifically include:
the elastic key is pressed through the key board to obtain a first instruction.
When the key board is located at the second position, obtaining the second instruction through the key assembly, and performing the second operation on the current application program according to the second instruction may specifically include:
when the key board is located at the second position and the current application program is a shooting application program, a second instruction is obtained through the key assembly, and the second instruction is a focusing instruction;
and carrying out focusing operation on the current application program according to the focusing instruction.
Wherein, according to application information, the key board and the pressure sensor are driven by the driving mechanism to move along the direction of the vertical pressure acquisition surface, so that the key board and the pressure sensor are located at the first position and the second position, which specifically comprises:
when the application information does not include information responding to the sliding instruction operation, the key board and the pressure sensor are driven to move towards the direction of the inside of the electronic equipment through the driving mechanism, so that the key board and the pressure sensor are located at a first position;
when the application information includes information operated in response to the slide instruction, the key sheet and the pressure sensor are driven by the driving mechanism to move in a direction away from the inside of the electronic device so that the key sheet and the pressure sensor are located at the second position.
The positions of the key sheet and the pressure sensor are determined according to whether the operation in response to the slide instruction is included in the application information. For example, if the shooting application includes a focusing function of a slide instruction, and the video playing application includes a volume adjustment function, a brightness adjustment function, a progress adjustment function, and a playing rate adjustment function of the slide instruction, the key board and the pressure sensor are driven by the driving mechanism to move in a direction away from the inside of the electronic device, so that the key board and the pressure sensor are located at a second position; otherwise, the key board and the pressure sensor are driven to move towards the direction inside the electronic device by the driving mechanism, so that the key board and the pressure sensor are located at the first position.
Wherein, according to application information, the key board and the pressure sensor are driven by the driving mechanism to move along the direction of the vertical pressure acquisition surface, so that the key board and the pressure sensor are located at the first position and the second position, which specifically comprises:
when the application information comprises first preset application information, the key board and the pressure sensor are driven to move towards a direction far away from the interior of the electronic equipment through the driving mechanism, so that the key board and the pressure sensor are located at a first position;
when the application information comprises second preset application information, the key board and the pressure sensor are driven to move towards the direction inside the electronic device through the driving mechanism, so that the key board and the pressure sensor are located at a second position.
The positions of the key sheet and the pressure sensor are determined according to whether the application information includes first preset application information and second preset application information. For example, the application information includes shooting application information or video playing information, and the key sheet and the pressure sensor are driven by the driving mechanism to move in a direction away from the inside of the electronic device, so that the key sheet and the pressure sensor are located at the second position. The shooting application comprises a focusing function of the sliding instruction, and the video playing application comprises functions of volume adjustment, brightness adjustment, progress adjustment and playing speed adjustment of the sliding instruction.
It should be noted that the electronic device processing method may further include all the methods in the foregoing embodiments of the electronic device, and details are not described herein again.
In the description of the present application, it is to be understood that terms such as "first", "second", and the like are used merely to distinguish one similar element from another, and are not to be construed as indicating or implying relative importance or implying any indication of the number of technical features indicated.
An embodiment of the present application further provides a storage medium, where a computer program is stored in the storage medium, and when the computer program runs on a computer, the computer executes the electronic device processing method according to any of the above embodiments.
It should be noted that, all or part of the steps in the methods of the above embodiments may be implemented by hardware related to instructions of a computer program, which may be stored in a computer-readable storage medium, which may 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 processing method thereof provided by the embodiment of the application are described in detail above. The principles and implementations of the present application are described herein using specific examples, which are presented only to aid in understanding 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 (12)

1. An electronic device, comprising:
the key assembly comprises a key plate and a pressure sensor, the key plate is arranged on the outer surface of the electronic equipment, the pressure sensor is arranged on one side of the key plate, which faces the inside of the electronic equipment, and a pressure acquisition surface of the pressure sensor is used for acquiring pressure information of a user;
the driving mechanism is connected with the key assembly and used for driving the key plate and the pressure sensor to move along the direction vertical to the pressure acquisition surface so as to enable the key plate and the pressure sensor to be located at a first position and a second position, wherein the key plate at the second position is farther away from the interior of the electronic equipment than the key plate at the first position;
the pressure sensor and the driving mechanism are electrically connected with the processor, the processor acquires the application information of the current application program, and the key-press plate and the pressure sensor are driven by the driving mechanism to move along the direction vertical to the pressure acquisition surface according to the application information, and when the key-press plate is positioned at the first position, acquiring a first instruction through the key assembly, and performing a first operation on the current application program according to the first instruction, when the key board is positioned at a second position, a second instruction is obtained through the key component, and a second operation is carried out on the current application program according to the second instruction, the second operation is different from the first operation, the first instruction is one of a slide instruction and a click instruction, and the second instruction is the other of the slide instruction and the click instruction.
2. The electronic device of claim 1, wherein the key assembly further comprises an elastic key, the elastic key is disposed in the electronic device, and the first instruction is generated by pressing the elastic key through the key sheet.
3. The electronic device of claim 1, wherein the first instruction or the second instruction is obtained according to pressure information collected by the pressure sensor.
4. The electronic device of claim 1, wherein the number of the key assemblies is plural;
and the processor changes different functional parameters or the same functional parameter of the current application program according to second instructions obtained by different key assemblies.
5. The electronic device of claim 4, wherein the electronic device includes a plurality of corners, and each of the key assemblies is disposed at one of the corners of the electronic device.
6. The electronic device of claim 1, wherein the keypad is disposed on a side or display back of the electronic device.
7. The electronic device of claim 1, wherein when the current application is a shooting application, the second instruction is a focusing instruction, and the processor is further configured to perform a focusing operation on the current application according to the focusing instruction.
8. The electronic device of any of claims 1-7, further comprising a retaining device for securing the keypad in the first position or the second position.
9. The electronic equipment processing method is characterized in that the electronic equipment comprises a key assembly and a driving mechanism, the key assembly comprises a key plate and a pressure sensor, the key plate is arranged on the outer surface of the electronic equipment, the pressure sensor is arranged on one side, facing the inside of the electronic equipment, of the key plate, a pressure acquisition surface of the pressure sensor is used for acquiring pressure information of a user, and the driving mechanism is used for driving the key plate and the pressure sensor to move along a direction vertical to the pressure acquisition surface; the method comprises the following steps:
acquiring application information of a current application program;
the key board and the pressure sensor are driven by the driving mechanism to move along the direction vertical to the pressure acquisition surface according to the application information, so that the key board and the pressure sensor are located at a first position and a second position, wherein the key board at the second position is farther away from the interior of the electronic equipment than the key board at the first position, when the key board is located at the first position, the outer surface of the key board is flush with the outer surface of the electronic equipment, and when the key board is located at the second position, the outer surface of the key board protrudes out of the outer surface of the electronic equipment;
when the key board is located at the first position, a first instruction is obtained through the key assembly, and first operation is carried out on the current application program according to the first instruction;
and when the key board is located at a second position, acquiring a second instruction through the key assembly, and performing a second operation on the current application program according to the second instruction, wherein the second operation is different from the first operation, the first instruction is one of a sliding instruction and a clicking instruction, and the second instruction is the other one of the sliding instruction and the clicking instruction.
10. The electronic device processing method of claim 9, wherein the key assembly further comprises an elastic key disposed within the electronic device; the obtaining of the first instruction by the key assembly includes:
and pressing the elastic key through the key board to obtain a first instruction.
11. The electronic device processing method according to claim 9, wherein when the keypad is located at the second position, obtaining a second instruction through the keypad assembly, and performing a second operation on the current application according to the second instruction includes:
when the key board is located at a second position and the current application program is a shooting application program, acquiring a second instruction through the key assembly, wherein the second instruction is a focusing instruction;
and carrying out focusing operation on the current application program according to the focusing instruction.
12. The electronic device processing method according to claim 9, wherein the driving, by the driving mechanism, the key sheet and the pressure sensor to move in a direction perpendicular to the pressure acquisition surface according to the application information so that the key sheet and the pressure sensor are located at the first position and the second position includes:
when the application information has no information which is operated in response to a sliding instruction, the key board and the pressure sensor are driven to move towards the direction inside the electronic equipment through the driving mechanism, so that the key board and the pressure sensor are located at a first position;
when the application information comprises information operated in response to a sliding instruction, driving the key board and the pressure sensor to move in a direction away from the interior of the electronic device through the driving mechanism so as to enable the key board and the pressure sensor to be located at a second position;
or
When the application information comprises first preset application information, the key board and the pressure sensor are driven to move towards a direction far away from the inside of the electronic equipment through the driving mechanism, so that the key board and the pressure sensor are located at a second position;
when the application information comprises second preset application information, the key board and the pressure sensor are driven to move towards the direction inside the electronic equipment through the driving mechanism, so that the key board and the pressure sensor are located at a first position.
CN201910578294.9A 2019-06-28 2019-06-28 Electronic device and processing method thereof Active CN110286829B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910578294.9A CN110286829B (en) 2019-06-28 2019-06-28 Electronic device and processing method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910578294.9A CN110286829B (en) 2019-06-28 2019-06-28 Electronic device and processing method thereof

Publications (2)

Publication Number Publication Date
CN110286829A CN110286829A (en) 2019-09-27
CN110286829B true CN110286829B (en) 2021-03-02

Family

ID=68019737

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910578294.9A Active CN110286829B (en) 2019-06-28 2019-06-28 Electronic device and processing method thereof

Country Status (1)

Country Link
CN (1) CN110286829B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110825168B (en) * 2019-10-31 2021-07-13 维沃移动通信有限公司 Electronic equipment and control element control method
CN113411439B (en) * 2021-06-25 2024-03-29 维沃移动通信有限公司 Electronic equipment, control method and control device thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103545134A (en) * 2012-07-09 2014-01-29 纬创资通股份有限公司 Key mechanism easy to disassemble and assemble and electronic device
CN105072234A (en) * 2015-07-16 2015-11-18 广东欧珀移动通信有限公司 Mobile terminal button structure, mobile terminal and mobile terminal control method
CN105260019A (en) * 2015-10-08 2016-01-20 广东欧珀移动通信有限公司 Mobile terminal and information processing method
CN109769053A (en) * 2019-03-11 2019-05-17 南昌黑鲨科技有限公司 Housing unit and intelligent terminal with the housing unit

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6976216B1 (en) * 2000-11-17 2005-12-13 Streamzap, Inc. Computer system with remote key press events directed to a first application program and local key press events directed to a second application program
CN108600464B (en) * 2018-06-19 2020-05-19 Oppo广东移动通信有限公司 Electronic equipment and function module control method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103545134A (en) * 2012-07-09 2014-01-29 纬创资通股份有限公司 Key mechanism easy to disassemble and assemble and electronic device
CN105072234A (en) * 2015-07-16 2015-11-18 广东欧珀移动通信有限公司 Mobile terminal button structure, mobile terminal and mobile terminal control method
CN105260019A (en) * 2015-10-08 2016-01-20 广东欧珀移动通信有限公司 Mobile terminal and information processing method
CN109769053A (en) * 2019-03-11 2019-05-17 南昌黑鲨科技有限公司 Housing unit and intelligent terminal with the housing unit

Also Published As

Publication number Publication date
CN110286829A (en) 2019-09-27

Similar Documents

Publication Publication Date Title
US9729688B2 (en) Mobile terminal
US10257333B2 (en) Electronic device
KR101700771B1 (en) Mobile terminal
CN108632427B (en) Electronic device and storage medium
EP2947858B1 (en) Mobile terminal with rear-surface sensor
KR101708320B1 (en) Mobile terminal
US9609099B2 (en) Mobile terminal
US10558833B2 (en) Key module and mobile terminal having the same
US9877389B2 (en) Mobile terminal
EP3261323A1 (en) Mobile terminal
US9591109B2 (en) Mobile terminal
EP3139578B1 (en) Intermediate frame for fixing a display to the housing of a mobile device
CN110286829B (en) Electronic device and processing method thereof
EP3343884A1 (en) Mobile terminal
KR20190037740A (en) Pest repellent device and mobile terminal
KR20160100732A (en) Electronic device
KR101969899B1 (en) Mobile terminal
KR20080006272A (en) Key button using lcd window
KR20190020934A (en) Mosquito repellent device and mobile terminal
CN113079446A (en) Terminal equipment
KR20160006438A (en) Mobile terminal
KR101562592B1 (en) Mobile terminal
KR20230146421A (en) Electronic device including detachable key assembly
JP2008135961A (en) Fixed structure of speaker
JP2004252185A (en) Lcd device and electronic device

Legal Events

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