CN111756911A - Power key selection method, device and storage medium - Google Patents

Power key selection method, device and storage medium Download PDF

Info

Publication number
CN111756911A
CN111756911A CN201910233828.4A CN201910233828A CN111756911A CN 111756911 A CN111756911 A CN 111756911A CN 201910233828 A CN201910233828 A CN 201910233828A CN 111756911 A CN111756911 A CN 111756911A
Authority
CN
China
Prior art keywords
display screen
power key
user
target
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910233828.4A
Other languages
Chinese (zh)
Inventor
陈朝喜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201910233828.4A priority Critical patent/CN111756911A/en
Publication of CN111756911A publication Critical patent/CN111756911A/en
Pending legal-status Critical Current

Links

Images

Classifications

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure relates to a power key selection method, a device and a storage medium. The method comprises the following steps: acquiring state information of the terminal, wherein the state information is used for indicating the screen state of the terminal; determining a target display screen interacted by a user according to the state information, wherein the target display screen is a first display screen or a second display screen; selecting a target power key from the first power key and the second power key according to the target display screen and the left-right hand setting information; wherein the left-right hand setting information is used to indicate whether the user is a right-handed or left-handed user. The technical scheme that this disclosure provided, when the user uses different display screens to interact with the terminal, can use different power key to control the terminal, no matter which display screen uses, the user all can use unified use habit of gripping to operate the power key, convenient operation, the convenience is high.

Description

Power key selection method, device and storage medium
Technical Field
The embodiment of the disclosure relates to the technical field of terminals, and in particular relates to a power key selecting method, a power key selecting device and a storage medium.
Background
Mobile terminals such as mobile phones are generally provided with a power key through which screen-off and screen-on control, on-off control, and the like can be implemented.
In the related art, the mobile terminal has a power key, and the power key is disposed on a side frame (i.e., a middle frame) of the mobile terminal. For example, the power key is disposed on a right side frame of the mobile terminal in a state where a front panel of the mobile terminal is directed upward.
For a mobile terminal with a double-sided screen, namely a mobile terminal with a display screen arranged on a front panel and a back panel respectively, if a power key is arranged on a right side frame of the mobile terminal and a user is used to hold the mobile terminal by holding the mobile terminal by a right hand, the user can simply touch the power key by a thumb when the front panel is upward.
However, when the user turns over the mobile terminal and uses the display screen on the back plate, the power key can be turned over to the other side, and the user cannot operate the power key according to the previous holding and using habit, so that the operation convenience is affected.
Disclosure of Invention
The embodiment of the disclosure provides a power key selecting method, a device and a storage medium. The technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, a power key selection method is provided, which is applied to a terminal, where the terminal includes a first display screen and a second display screen, the first display screen is disposed on a front panel of the terminal, and the second display screen is disposed on a back panel of the terminal; the terminal further comprises a first power key and a second power key, wherein the first power key is positioned on the right side frame of the terminal, and the second power key is positioned on the left side frame of the terminal in the state that the front panel is upward;
the method comprises the following steps:
acquiring state information of the terminal, wherein the state information is used for indicating the screen state of the terminal;
determining a target display screen interacted by a user according to the state information, wherein the target display screen is the first display screen or the second display screen;
selecting a target power key from the first power key and the second power key according to the target display screen and the left-right hand setting information; wherein the left-right hand setting information is used to indicate whether the user is a right-handed or a left-handed user.
Optionally, the selecting a target power key from the first power key and the second power key according to the target display screen and the left-right hand setting information includes:
and selecting a power key which is used for responding to the thumb operation of the user from the first power key and the second power key as the target power key according to the target display screen and the left-right hand setting information.
Optionally, the selecting, according to the target display screen and the left-right hand setting information, a power key, which is used for responding to a thumb operation of the user, from the first power key and the second power key as the target power key includes:
if the target display screen is the first display screen and the left-right hand setting information is used for indicating that the user is the right-hand operation user, determining that the first power key is the target power key;
if the target display screen is the first display screen and the left-right hand setting information is used for indicating that the user is the left-hand operation user, determining that the second power key is the target power key;
if the target display screen is the second display screen and the left-right hand setting information is used for indicating that the user is the right-hand operation user, determining that the second power key is the target power key;
and if the target display screen is the second display screen and the left-hand and right-hand setting information is used for indicating that the user is the left-hand operation user, determining that the first power key is the target power key.
Optionally, the method further comprises:
receiving an operation signal corresponding to another power key other than the target power key;
executing a preset operation corresponding to the operation signal, wherein the preset operation comprises any one of the following operations: starting an AI (Artificial Intelligence) function, starting a photographing function, starting a screen capture function and starting a one-key mute function.
Optionally, the state information includes touch information, and the touch information includes a first touch area on the first display screen and a second touch area on the second display screen;
the determining a target display screen of user interaction according to the state information comprises:
if the first touch area is smaller than the second touch area, determining that the target display screen interacted by the user is the first display screen;
and if the first touch area is larger than the second touch area, determining that the target display screen interacted by the user is the second display screen.
Optionally, the state information includes holding information, and the holding information includes the number of touch points on the right side frame and the number of touch points on the left side frame;
the determining a target display screen of user interaction according to the state information comprises:
if the user is the right-handed operation user, determining that the target display screen interacted by the user is the first display screen when the number of touch points on the right side frame is smaller than that of the touch points on the left side frame; when the number of the touch points on the right side frame is larger than that of the touch points on the left side frame, determining that the target display screen interacted by the user is the second display screen;
if the user is the left-handed operation user, determining that the target display screen interacted by the user is the second display screen when the number of touch points on the right side frame is smaller than that of the touch points on the left side frame; and when the number of the touch points on the right side frame is larger than that of the touch points on the left side frame, determining that the target display screen interacted by the user is the first display screen.
Optionally, the state information includes acceleration data acquired by an acceleration sensor of the terminal;
the determining a target display screen of user interaction according to the state information comprises:
if the acceleration data in the gravity direction belongs to a first value range, determining that the target display screen interacted by the user is the first display screen;
and if the acceleration data in the gravity direction belongs to a second value range, determining that the target display screen interacted by the user is the second display screen.
According to a second aspect of the embodiments of the present disclosure, there is provided a power key selection device, which is applied to a terminal, where the terminal includes a first display screen and a second display screen, the first display screen is disposed on a front panel of the terminal, and the second display screen is disposed on a back panel of the terminal; the terminal further comprises a first power key and a second power key, wherein the first power key is positioned on the right side frame of the terminal, and the second power key is positioned on the left side frame of the terminal in the state that the front panel is upward;
the device comprises:
the information acquisition module is configured to acquire state information of the terminal, wherein the state information is used for indicating the screen state of the terminal;
a display screen determination module configured to determine a target display screen for user interaction according to the state information, the target display screen being the first display screen or the second display screen;
a power key selection module configured to select a target power key from the first power key and the second power key according to the target display screen and the right-and-left hand setting information; wherein the left-right hand setting information is used to indicate whether the user is a right-handed or a left-handed user.
Optionally, the power key selection module is configured to select a power key, which is used for responding to the thumb operation of the user, from the first power key and the second power key as the target power key according to the target display screen and the left-right hand setting information.
Optionally, the power key selection module is configured to:
when the target display screen is the first display screen and the left-right hand setting information is used for indicating that the user is the right-hand operation user, determining that the first power key is the target power key;
when the target display screen is the first display screen and the left-right hand setting information is used for indicating that the user is the left-hand operation user, determining that the second power key is the target power key;
when the target display screen is the second display screen and the left-hand and right-hand setting information is used for indicating that the user is the right-hand operation user, determining that the second power key is the target power key;
and when the target display screen is the second display screen and the left-right hand setting information is used for indicating that the user is the left-hand operation user, determining that the first power key is the target power key.
Optionally, the apparatus further comprises:
a signal receiving module configured to receive an operation signal corresponding to another power key other than the target power key;
an operation execution module configured to execute a preset operation corresponding to the operation signal, the preset operation including any one of: starting an AI function, starting a photographing function, starting a screen capturing function and starting a one-key mute function.
Optionally, the state information includes touch information, and the touch information includes a first touch area on the first display screen and a second touch area on the second display screen;
the display screen determination module configured to:
when the first touch area is smaller than the second touch area, determining that the target display screen interacted by the user is the first display screen;
and when the first touch area is larger than the second touch area, determining that the target display screen interacted by the user is the second display screen.
Optionally, the state information includes holding information, and the holding information includes the number of touch points on the right side frame and the number of touch points on the left side frame;
the display screen determination module configured to:
if the user is the right-handed operation user, determining that the target display screen interacted by the user is the first display screen when the number of touch points on the right side frame is smaller than that of the touch points on the left side frame; when the number of the touch points on the right side frame is larger than that of the touch points on the left side frame, determining that the target display screen interacted by the user is the second display screen;
if the user is the left-handed operation user, determining that the target display screen interacted by the user is the second display screen when the number of touch points on the right side frame is smaller than that of the touch points on the left side frame; and when the number of the touch points on the right side frame is larger than that of the touch points on the left side frame, determining that the target display screen interacted by the user is the first display screen.
Optionally, the state information includes acceleration data acquired by an acceleration sensor of the terminal;
the display screen determination module configured to:
when the acceleration data in the gravity direction belongs to a first value range, determining the target display screen interacted by the user as the first display screen;
and when the acceleration data in the gravity direction belongs to a second value range, determining that the target display screen interacted by the user is the second display screen.
According to a third aspect of the embodiments of the present disclosure, there is provided a power key selection device, which is applied to a terminal, where the terminal includes a first display screen and a second display screen, the first display screen is disposed on a front panel of the terminal, and the second display screen is disposed on a back panel of the terminal; the terminal further comprises a first power key and a second power key, wherein the first power key is positioned on the right side frame of the terminal, and the second power key is positioned on the left side frame of the terminal in the state that the front panel is upward;
the device comprises:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to:
acquiring state information of the terminal; the state information of the terminal is used for indicating the screen state of the terminal;
determining a target display screen interacted by a user according to the state information, wherein the target display screen is the first display screen or the second display screen;
selecting a target power key from the first power key and the second power key according to the target display screen and the left-right hand setting information; wherein the left-right hand setting information is used to indicate whether the user is a right-handed or a left-handed user.
According to a fourth aspect of embodiments of the present disclosure, there is provided a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method according to the first aspect.
The beneficial effects brought by the technical scheme provided by the embodiment of the disclosure can include:
the terminal can select a target power key from the two power keys according to a display screen and left and right hand setting information interacted by a user. Because double-sided screen terminal has two power keys, when the user used different display screens to interact with the terminal, can use different power keys to control the terminal, no matter which display screen was used, the user all can use unified use habit of gripping to operate the power key, convenient operation, the convenience is high.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present disclosure, and it is obvious for those skilled in the art to obtain other drawings based on the drawings without creative efforts.
FIG. 1 is a schematic diagram illustrating a terminal with a front panel facing upward in accordance with an exemplary embodiment;
FIG. 2 is a schematic diagram illustrating a terminal with a back plate up in accordance with an exemplary embodiment;
FIG. 3 is a flow chart illustrating a method of power key selection in accordance with an exemplary embodiment;
fig. 4 is a schematic diagram illustrating a right-hand grip terminal according to an example embodiment;
FIG. 5 is a schematic diagram illustrating a left-handed holding terminal according to an exemplary embodiment;
fig. 6 is a schematic diagram illustrating a right-hand grip terminal according to another exemplary embodiment;
FIG. 7 is a schematic illustration of a left-handed holding terminal according to another exemplary embodiment;
FIGS. 8 and 9 are schematic diagrams of coordinate systems shown in accordance with exemplary embodiments;
FIG. 10 is a block diagram illustrating a power key selection apparatus in accordance with an exemplary embodiment;
FIG. 11 is a block diagram illustrating a power key selection apparatus in accordance with another exemplary embodiment;
fig. 12 is a block diagram illustrating a power key selection apparatus according to another exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
In the method provided by the embodiment of the disclosure, the execution subject of each step may be a terminal. The terminal may be a mobile terminal such as a mobile phone, a tablet computer, an e-book reader, a multimedia playing device, a wearable device, and the like.
Referring collectively to fig. 1 and 2, a schematic diagram of a terminal 10 is illustratively shown. The terminal 10 has a double-sided screen. The double-sided screen includes a first display screen 11 and a second display screen 12. The first display 11 is disposed on a front panel of the terminal 10, and the second display 12 is disposed on a rear panel of the terminal 10. The first display screen 11 and the second display screen 12 can realize division display and have a human-computer interaction function.
In one example, both the first display screen 11 and the second display screen 12 can be designed as full-screen, i.e. the screen ratio of the first display screen 11 on the front panel is equal to or close to 100%, and the screen ratio of the second display screen 12 on the back panel is also equal to or close to 100%.
In another example, the first display screen 11 may be designed as a full screen and the second display screen 12 may be designed as a non-full screen, i.e. the size of the second display screen 12 is smaller than the size of the first display screen 11. Alternatively, a back plate of the terminal 10 may be provided with a camera, a light sensor, and other functional devices.
Of course, the above descriptions of the first display screen 11 and the second display screen 12 are only exemplary and explanatory, and the disclosed embodiment does not limit the configuration and size of the first display screen 11 and the second display screen 12.
As shown in fig. 1 and 2, a first power key 13 and a second power key 14 are provided on a side frame of the terminal 10. In the state where the front panel is up, the first power key 13 is located on the right side frame of the terminal, and the second power key 14 is located on the left side frame of the terminal.
Alternatively, the first power key 13 and the second power key 14 have the same function. For example, the first power key 13 and the second power key 14 each have a function of a power key, and can perform operations such as turning on and off a screen, turning on and off the screen, and the like.
In addition, the first power key 13 and the second power key 14 may be physical keys, or may be virtual keys, or one of them is a physical key and the other is a virtual key, which is not limited in this disclosure.
FIG. 3 is a flow chart illustrating a power key selection method in accordance with an exemplary embodiment. In the present embodiment, the method is mainly exemplified as being applied to the terminal 10 having the double-sided screen described above. The method may comprise the following steps (301-303):
in step 301, status information of the terminal is acquired.
The status information is used to indicate the screen status of the terminal, for example, to indicate whether the terminal is a first display to a user holding the terminal or a second display to a user holding the terminal.
In step 302, a target display screen for user interaction is determined according to the status information.
The target display screen is the first display screen or the second display screen. The target display screen may be a display screen that the user is currently interacting with, or may be a display screen that the user is about to interact with. The "interaction" refers to the user using the target display screen, such as viewing the display content in the target display screen, performing a touch operation such as clicking, sliding, pressing, and the like in the target display screen, and the like.
In step 303, a target power key is selected from the first power key and the second power key based on the target display screen and the right and left hand setting information.
As described above, the terminal includes the first power key and the second power key, and the description of the first power key and the second power key may refer to fig. 1 and 2, which are not described herein again.
The left-right hand setting information is used to indicate whether the user is a right-hand operation user or a left-hand operation user. The left-right hand setting information may be set in the terminal in advance by the user, and for example, the user may set the left-right hand setting information according to a habit of using the terminal at ordinary times.
Optionally, a power key for responding to a thumb operation of the user is selected as the target power key from the first power key and the second power key according to the target display screen and the right-and-left hand setting information.
Optionally, this step has the following four cases:
firstly, if the target display screen is the first display screen and the left-hand and right-hand setting information is used for indicating that the user is the right-hand operation user, determining that the first power key is the target power key;
as shown in fig. 4, the target display screen for user interaction is the first display screen 11, and the user is a right-handed user, the target power key for responding to the thumb operation of the user is determined to be the first power key 13.
Secondly, if the target display screen is the first display screen and the left-hand and right-hand setting information is used for indicating that the user is a left-hand operation user, determining that the second power key is the target power key;
as shown in fig. 5, the target display screen for the user interaction is the first display screen 11, and the user is a left-handed user, then the target key for responding to the thumb operation of the user is determined to be the second key 14.
Thirdly, if the target display screen is a second display screen and the left-hand and right-hand setting information is used for indicating that the user is a right-hand operation user, determining that the second power key is the target power key;
as shown in fig. 6, the target display screen for the user interaction is the second display screen 12, and the user is a right-handed user, the target key for responding to the thumb operation of the user is determined to be the second key 14.
And fourthly, if the target display screen is the second display screen and the left-hand and right-hand setting information is used for indicating that the user is the left-hand operation user, determining that the first power key is the target power key.
As shown in fig. 7, the target display screen for the user interaction is the second display screen 12, and the user is a left-handed user, then the target key for responding to the thumb operation of the user is determined to be the first key 13.
The target power key and the user thumb are only located on one side in the embodiment of the disclosure, and of course, in other possible implementation manners, the target power key and the user thumb may be located on two sides. Which can be set according to the user's usage habits.
The terminal may receive an operation signal corresponding to the target power key and perform an operation corresponding to the operation signal. For example, if the operation signal is a first operation signal, performing a screen-off operation or a screen-on operation; and if the operation signal is the second operation signal, executing the starting operation or the shutdown operation.
Optionally, the first operation signal is a click operation signal. Taking the terminal in the power-on state as an example, when the target display screen is in the bright screen state, and the terminal receives a first operation signal corresponding to the target power key, executing the screen-off operation corresponding to the target display screen, that is, controlling the target display screen to be switched from the bright screen state to the screen-off state; when the target display screen is in the screen-off state, and the terminal receives a first operation signal corresponding to the target power key, the screen-on operation corresponding to the target display screen is executed, namely the target display screen is controlled to be switched from the screen-off state to the screen-on state.
Optionally, the second operation signal is a long-press operation signal whose duration belongs to the first value interval. The first value interval may be predetermined, for example, the first value interval is greater than 4 seconds. When the terminal is in a power-off state, if the terminal receives a second operation signal corresponding to the target power key, executing a power-on operation; and when the terminal is in a power-on state, if the terminal receives a second operation signal corresponding to the target power key, executing power-off operation.
Optionally, the terminal may further perform the following steps:
1. receiving an operation signal corresponding to another power key other than the target power key;
when the target power key is the first power key, the terminal receives an operation signal corresponding to the second power key; when the target power key is the second power key, the terminal receives an operation signal corresponding to the first power key.
The operation signal may be triggered by the user clicking or pressing the further power key. For example, when the other power key is a physical entity key, the user presses the other power key by a thumb, and accordingly, the terminal receives an operation signal corresponding to the other power key.
2. And executing a preset operation corresponding to the operation signal.
When receiving an operation signal corresponding to another power key, the terminal executes an operation corresponding to the operation signal. The preset operation includes, but is not limited to, any one of the following: starting an AI function, starting a photographing function, starting a screen capturing function and starting a one-key mute function. The AI function means a function of simulating the consciousness and thinking of a human. Optionally, the AI function comprises at least one of the following functions: user authentication, emotion recognition, natural language understanding, AR (Augmented Reality), AI vision, and the like; the photographing function refers to the function of automatically starting a camera; the screen capture function refers to the function of automatically capturing an interface; the one-key mute function refers to setting a global mute function. The embodiments of the present disclosure do not limit operations that another power key may perform.
Optionally, the Power key (including the first Power key and the second Power key) is connected to a pin of a PMIC (Power manager inter Circuit) through a signal trace, and the pin always outputs a high level no matter the terminal is in a Power-on state or a Power-off state. When the power key is touched, the pin outputs a low level signal. The terminal distinguishes whether the operation corresponding to the operation signal is power-on or power-off, whether the screen is on or off, or whether the screen is turned on or off, or whether other functions are started according to the power-on and power-off state and the time for outputting the low level.
To sum up, in the technical scheme provided by the embodiment of the present disclosure, a power key selection method is provided for a terminal with a dual-sided screen, two sides of a frame of the dual-sided screen terminal are provided with two power keys, and the terminal can select a target power key from the two power keys according to a display screen and left and right hand setting information interacted by a user. Because double-sided screen terminal has two power keys, when the user used different display screens to interact with the terminal, can use different power keys to control the terminal, no matter which display screen was used, the user all can use unified use habit of gripping to operate the power key, convenient operation, the convenience is high.
Alternatively, the terminal may determine the target display screen for the user interaction by:
firstly, the state information comprises acceleration data collected by an acceleration sensor of the terminal.
At this time, the terminal may determine the target display screen by:
if the acceleration data in the gravity direction belongs to a first value range, determining that a target display screen interacted by the user is a first display screen; and if the acceleration data in the gravity direction belongs to a second value range, determining that the target display screen interacted by the user is a second display screen.
Optionally, the acceleration sensor is a three-axis acceleration sensor, and the three-axis acceleration sensor can acquire acceleration data in three directions of an x axis, a y axis and a z axis.
Alternatively, the acceleration sensor may be a gravity sensor, and the gravity sensor may collect acceleration data in a gravity direction.
It should be noted that the coordinate system of the acceleration sensor is a cartesian coordinate system, the coordinate system of the terminal itself is a *** coordinate system, and an angle mapping relationship exists between the cartesian coordinate system and the *** coordinate system. For example, assuming that the coordinate systems of the acceleration sensors are X, Y and Z, and the *** coordinate systems are X, Y and Z, assuming that the angular difference between X and X is a, the angular difference between Y and Y is b, and the angular difference between Z and Z is c, X + a, Y + b, and Z + c.
The X axis, the Y axis and the Z axis are mutually vertical in pairs, the plane where the X axis and the Y axis are located is parallel to the plane where the first display screen is located, and the Z axis is perpendicular to the plane where the first display screen is located. The acceleration data in the gravity direction is acceleration data in the Z-axis direction.
The first value range may be less than 0, and the second value range may be greater than 0; in addition, when the first value range is greater than 0, the second area value range is less than 0, which is not limited in the embodiment of the present disclosure.
Exemplarily, referring to fig. 8 in combination, a schematic diagram of a coordinate system in the present embodiment is exemplarily shown. And the vertex A of the upper left corner of the front panel of the terminal is taken as a coordinate origin, the direction of an X axis is along the upper frame of the front panel, the direction of a Y axis is along the left frame of the front panel, and the direction of a Z axis is perpendicular to the plane where the front panel is located. The upward direction of the origin along the Z-axis direction is taken as the positive Z-axis direction, and the downward direction of the origin along the Z-axis direction is taken as the negative Z-axis direction.
With reference to part (a) in fig. 8, assuming that the first value range is smaller than 0, when the acceleration data in the gravity direction is smaller than 0, that is, the acceleration in the gravity direction is along the Z-axis negative direction, that is, the front panel of the terminal at this time, that is, the first display screen 11, is upward, so that it may be determined that the target display screen for user interaction is the first display screen 11.
With reference to part (b) of fig. 8, assuming that the second value range is greater than 0, when the acceleration data in the gravity direction is greater than 0, that is, the acceleration in the gravity direction is along the positive direction of the Z axis, that is, the front panel of the terminal is downward, and the back panel, that is, the second display screen 12 is upward, so that it may be determined that the target display screen interacted by the user is the second display screen 12.
Optionally, if the acceleration data in the gravity direction is equal to 0, determining that the target display screen interacted by the user is a default display screen, where the default display screen is the first display screen.
Exemplarily, referring to fig. 9 in combination, when the acceleration data of the gravity direction is equal to 0, that is, the acceleration of the gravity direction is along the Y-axis direction (as shown in part (a) of fig. 9) or the X-axis direction (as shown in part (b) of fig. 9), it is described that the terminal is vertically placed with the portrait screen or vertically placed with the landscape screen, and the default display screen is the first display screen 10.
And secondly, the state information comprises touch information, and the touch information comprises a first touch area on the first display screen and a second touch area on the second display screen.
At this time, the terminal may determine the target display screen by:
if the first touch area is smaller than the second touch area, determining that a target display screen interacted by the user is the first display screen; and if the first touch area is larger than the second touch area, determining that the target display screen interacted by the user is the second display screen.
Exemplarily, referring to fig. 4 and 6 in combination, when the user holds the terminal, the palm of the user touches the back panel of the terminal, i.e., the second display screen 12, and the finger of the user touches the front panel of the terminal, i.e., the first display screen 11, and at this time, the first touch area is smaller than the second touch area, it is determined that the target display screen interacted by the user is the first display screen 11. Otherwise, the palm of the user touches the front panel of the terminal, i.e. the first display screen 11, and the finger of the user touches the back panel of the terminal, i.e. the second display screen 12, at this time, the first touch area is larger than the second touch area, and it is determined that the target display screen interacted by the user is the second display screen 12.
And thirdly, the state information comprises holding information, and the holding information comprises the number of touch points on the right side frame and the number of touch points on the left side frame.
At this time, the terminal may determine the target display screen by:
if the user is a right-handed operation user, determining that a target display screen interacted by the user is a first display screen when the number of touch points on the right side frame is smaller than that of touch points on the left side frame; when the number of the touch points on the right side frame is larger than that of the touch points on the left side frame, determining that a target display screen interacted by the user is a second display screen;
if the user is a left-handed operation user, determining that the target display screen interacted by the user is a second display screen when the number of the touch points on the right side frame is smaller than that of the touch points on the left side frame; and when the number of the touch points on the right side frame is larger than that of the touch points on the left side frame, determining that the target display screen interacted by the user is the first display screen.
For example, as shown in fig. 5, when the user is a left-handed user, if the number of touch points on the first frame (i.e., the right frame of the terminal in the state where the front panel is facing upward) is 4 and is greater than the number of touch points on the second frame (i.e., the left frame of the terminal in the state where the front panel is facing upward) is 1, it is determined that the target display screen interacted by the user is the first display screen 11; as shown in fig. 7, if the number of touch points on the first frame is 1 and is less than the number of touch points on the second frame is 4, it is determined that the target display screen interacted by the user is the second display screen 12.
Optionally, the terminal further includes a first pressure sensor disposed on the right side frame and a second pressure sensor disposed on the left side frame, and at this time, the terminal may further obtain sensor data acquired by the first pressure sensor and sensor data acquired by the second pressure sensor; determining the number of touch points on the right side frame according to the sensor data acquired by the first pressure sensor; and determining the number of touch points on the left side frame according to the sensor data acquired by the second pressure sensor.
The pressure sensor can be composed of different pressure subunits, the pressure sensor is low level when no pressure exists and is represented by a value 0, the pressure sensor is high level when pressure exists and is represented by a value 1, and the number of the values 1 in the data collected by the pressure sensor is the number of touch points.
In addition, the number of the touch points can be acquired through the first touch sensor arranged on the right side frame and the second touch sensor arranged on the left side frame, or through the first distance sensor arranged on the right side frame and the second distance sensor arranged on the left side frame, or through other sensors, which is not limited in the embodiment of the disclosure.
In summary, in the technical scheme provided by the embodiment of the present disclosure, the display screen interacted by the user is determined by obtaining the state information of the terminal and according to the state information, and the accuracy of determining the display screen interacted by the user is high.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods. For details not disclosed in the embodiments of the apparatus of the present disclosure, refer to the embodiments of the method of the present disclosure.
Fig. 10 is a block diagram illustrating an operation performing apparatus according to an exemplary embodiment. The device has the functions of realizing the method examples, and the functions can be realized by hardware or by hardware executing corresponding software. The device can be a terminal or be arranged on the terminal. The terminal comprises a first display screen and a second display screen, wherein the first display screen is arranged on a front panel of the terminal, and the second display screen is arranged on a back panel of the terminal. The terminal also comprises a first power key and a second power key, wherein the first power key is positioned on the right side frame of the terminal, and the second power key is positioned on the left side frame of the terminal in the state that the front panel is upward; the apparatus 1000 may include: an information acquisition module 1010, a display screen determination module 1020, and a power key selection module 1030.
The information obtaining module 1010 is configured to obtain status information of the terminal, where the status information is used to indicate a screen status of the terminal.
The display screen determining module 1020 is configured to determine a target display screen for user interaction according to the status information, where the target display screen is the first display screen or the second display screen.
The power key selection module 1030 configured to select a target power key from the first power key and the second power key according to the target display screen and the right-and-left hand setting information; wherein the left-right hand setting information is used to indicate whether the user is a right-handed or a left-handed user.
To sum up, in the technical scheme provided by the embodiment of the present disclosure, a power key selection method is provided for a terminal with a dual-sided screen, two sides of a frame of the dual-sided screen terminal are provided with two power keys, and the terminal can select a target power key from the two power keys according to a display screen and left and right hand setting information interacted by a user. Because double-sided screen terminal has two power keys, when the user used different display screens to interact with the terminal, can use different power keys to control the terminal, no matter which display screen was used, the user all can use unified use habit of gripping to operate the power key, convenient operation, the convenience is high.
Optionally, the power key selecting module 1030 is configured to select a power key, which is used for responding to the thumb operation of the user, from the first power key and the second power key as the target power key according to the target display screen and the left-right hand setting information.
Optionally, the power key selection module 1030 is configured to:
when the target display screen is the first display screen and the left-right hand setting information is used for indicating that the user is the right-hand operation user, determining that the first power key is the target power key;
when the target display screen is the first display screen and the left-right hand setting information is used for indicating that the user is the left-hand operation user, determining that the second power key is the target power key;
when the target display screen is the second display screen and the left-hand and right-hand setting information is used for indicating that the user is the right-hand operation user, determining that the second power key is the target power key;
and when the target display screen is the second display screen and the left-right hand setting information is used for indicating that the user is the left-hand operation user, determining that the first power key is the target power key.
Optionally, as shown in fig. 11, the apparatus 1000 further includes: a signal receiving module 1040 and an operation executing module 1050.
The signal receiving module 1040 configured to receive an operation signal corresponding to another power key other than the target power key;
the operation execution module 1050 is configured to execute a preset operation corresponding to the operation signal, where the preset operation includes any one of: starting an AI function, starting a photographing function, starting a screen capturing function and starting a one-key mute function.
Optionally, the state information includes touch information, and the touch information includes a first touch area on the first display screen and a second touch area on the second display screen;
the display screen determination module 1020 configured to:
when the first touch area is smaller than the second touch area, determining that the target display screen interacted by the user is the first display screen;
and when the first touch area is larger than the second touch area, determining that the target display screen interacted by the user is the second display screen.
Optionally, the state information includes holding information, and the holding information includes the number of touch points on the right side frame and the number of touch points on the left side frame;
the display screen determination module 1020 configured to:
if the user is the right-handed operation user, determining that the target display screen interacted by the user is the first display screen when the number of touch points on the right side frame is smaller than that of the touch points on the left side frame; when the number of the touch points on the right side frame is larger than that of the touch points on the left side frame, determining that the target display screen interacted by the user is the second display screen;
if the user is the left-handed operation user, determining that the target display screen interacted by the user is the second display screen when the number of touch points on the right side frame is smaller than that of the touch points on the left side frame; and when the number of the touch points on the right side frame is larger than that of the touch points on the left side frame, determining that the target display screen interacted by the user is the first display screen.
Optionally, the state information includes acceleration data acquired by an acceleration sensor of the terminal;
the display screen determination module 1020 configured to:
when the acceleration data in the gravity direction belongs to a first value range, determining the target display screen interacted by the user as the first display screen;
and when the acceleration data in the gravity direction belongs to a second value range, determining that the target display screen interacted by the user is the second display screen.
It should be noted that, when the apparatus provided in the foregoing embodiment implements the functions thereof, only the division of the functional modules is illustrated, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the apparatus may be divided into different functional modules to implement all or part of the functions described above. In addition, the apparatus and method embodiments provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments for details, which are not described herein again.
An exemplary embodiment of the present disclosure further provides a power key selection device, which can implement the power key selection method provided by the present disclosure. The apparatus may be the terminal described above, or may be provided in the terminal. The terminal comprises a first display screen and a second display screen, wherein the first display screen is arranged on a front panel of the terminal, and the second display screen is arranged on a back panel of the terminal. The terminal further includes a first power key and a second power key, the first power key being located on a right side frame of the terminal and the second power key being located on a left side frame of the terminal in a state where the front panel is upward. The device includes: a processor; and a memory for storing executable instructions of the processor. Wherein the processor is configured to:
acquiring state information of the terminal, wherein the state information is used for indicating the screen state of the terminal;
determining a target display screen interacted by a user according to the state information, wherein the target display screen is the first display screen or the second display screen;
selecting a target power key from the first power key and the second power key according to the target display screen and the left-right hand setting information; wherein the left-right hand setting information is used to indicate whether the user is a right-handed or a left-handed user.
Optionally, the processor is configured to:
and selecting a power key which is used for responding to the thumb operation of the user from the first power key and the second power key as the target power key according to the target display screen and the left-right hand setting information.
Optionally, the processor is configured to:
when the target display screen is the first display screen and the left-right hand setting information is used for indicating that the user is the right-hand operation user, determining that the first power key is the target power key;
when the target display screen is the first display screen and the left-right hand setting information is used for indicating that the user is the left-hand operation user, determining that the second power key is the target power key;
when the target display screen is the second display screen and the left-hand and right-hand setting information is used for indicating that the user is the right-hand operation user, determining that the second power key is the target power key;
and when the target display screen is the second display screen and the left-right hand setting information is used for indicating that the user is the left-hand operation user, determining that the first power key is the target power key.
Optionally, the processor is further configured to:
receiving an operation signal corresponding to another power key other than the target power key;
executing a preset operation corresponding to the operation signal, wherein the preset operation comprises any one of the following operations: starting an Artificial Intelligence (AI) function, starting a photographing function, starting a screen capturing function and starting a one-key mute function.
Optionally, the state information includes touch information, and the touch information includes a first touch area on the first display screen and a second touch area on the second display screen;
the processor is configured to:
when the first touch area is smaller than the second touch area, determining that the target display screen interacted by the user is the first display screen;
and when the first touch area is larger than the second touch area, determining that the target display screen interacted by the user is the second display screen.
Optionally, the state information includes holding information, and the holding information includes the number of touch points on the right side frame and the number of touch points on the left side frame;
the processor is configured to:
if the user is the right-handed operation user, determining that the target display screen interacted by the user is the first display screen when the number of touch points on the right side frame is smaller than that of the touch points on the left side frame; when the number of the touch points on the right side frame is larger than that of the touch points on the left side frame, determining that the target display screen interacted by the user is the second display screen;
if the user is the left-handed operation user, determining that the target display screen interacted by the user is the second display screen when the number of touch points on the right side frame is smaller than that of the touch points on the left side frame; and when the number of the touch points on the right side frame is larger than that of the touch points on the left side frame, determining that the target display screen interacted by the user is the first display screen.
Optionally, the state information includes acceleration data acquired by an acceleration sensor of the terminal;
the processor is configured to:
when the acceleration data in the gravity direction belongs to a first value range, determining the target display screen interacted by the user as the first display screen;
and when the acceleration data in the gravity direction belongs to a second value range, determining that the target display screen interacted by the user is the second display screen.
Fig. 12 is a block diagram illustrating a power key selection apparatus 1200 according to another exemplary embodiment. For example, the device 1200 includes a first display screen disposed on a front panel of the device 1200 and a second display screen disposed on a back panel of the device 1200. The device 1200 further comprises a first power key and a second power key, wherein the first power key is located on the right side frame of the device 1200 and the second power key is located on the left side frame of the device 1200 when the front panel is in the upward state. For example, the apparatus 1200 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 12, the apparatus 1200 may include one or more of the following components: processing component 1202, memory 1204, power component 1206, multimedia component 1208, audio component 1210, input/output (I/O) interface 1212, sensor component 1214, and communications component 1216.
The processing component 1202 generally controls overall operation of the apparatus 1200, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 1202 may include one or more processors 1220 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 1202 can include one or more modules that facilitate interaction between the processing component 1202 and other components. For example, the processing component 1202 can include a multimedia module to facilitate interaction between the multimedia component 1208 and the processing component 1202.
The memory 1204 is configured to store various types of data to support operation at the apparatus 1200. Examples of such data include instructions for any application or method operating on the device 1200, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1204 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
A power supply component 1206 provides power to the various components of the device 1200. Power components 1206 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for apparatus 1200.
The multimedia components 1208 include a screen that provides an output interface between the device 1200 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1208 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the apparatus 1200 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
Audio component 1210 is configured to output and/or input audio signals. For example, audio component 1210 includes a Microphone (MIC) configured to receive external audio signals when apparatus 1200 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 1204 or transmitted via the communication component 1216. In some embodiments, audio assembly 1210 further includes a speaker for outputting audio signals.
The I/O interface 1212 provides an interface between the processing component 1202 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 1214 includes one or more sensors for providing various aspects of state assessment for the apparatus 1200. For example, the sensor assembly 1214 may detect an open/closed state of the apparatus 1200, the relative positioning of the components, such as a display and keypad of the apparatus 1200, the sensor assembly 1214 may also detect a change in the position of the apparatus 1200 or a component of the apparatus 1200, the presence or absence of user contact with the apparatus 1200, orientation or acceleration/deceleration of the apparatus 1200, and a change in the temperature of the apparatus 1200. The sensor assembly 1214 may include a proximity sensor configured to detect the presence of a nearby object in the absence of any physical contact. The sensor assembly 1214 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1214 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communications component 1216 is configured to facilitate communications between the apparatus 1200 and other devices in a wired or wireless manner. The apparatus 1200 may access a wireless network based on a communication standard, such as Wi-Fi, 2G, 3G, 4G, or 5G, or a subsequent evolved system, or a combination thereof. In an exemplary embodiment, the communication component 1216 receives the broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 1216 further includes a Near Field Communication (NFC) module to facilitate short-range communications.
In an exemplary embodiment, the apparatus 1200 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, there is also provided a computer-readable storage medium comprising a non-transitory computer program stored thereon, the computer program being executable by the processor 1220 of the apparatus 1200 to perform the power key selection method described above.
For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
It should be understood that reference to "a plurality" herein means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (16)

1. A power key selection method is applied to a terminal, wherein the terminal comprises a first display screen and a second display screen, the first display screen is arranged on a front panel of the terminal, and the second display screen is arranged on a back panel of the terminal; the terminal further comprises a first power key and a second power key, wherein the first power key is positioned on the right side frame of the terminal, and the second power key is positioned on the left side frame of the terminal in the state that the front panel is upward;
the method comprises the following steps:
acquiring state information of the terminal, wherein the state information is used for indicating the screen state of the terminal;
determining a target display screen interacted by a user according to the state information, wherein the target display screen is the first display screen or the second display screen;
selecting a target power key from the first power key and the second power key according to the target display screen and the left-right hand setting information; wherein the left-right hand setting information is used to indicate whether the user is a right-handed or a left-handed user.
2. The method of claim 1, wherein selecting a target power key from the first power key and the second power key according to the target display screen and the left-right hand setting information comprises:
and selecting a power key which is used for responding to the thumb operation of the user from the first power key and the second power key as the target power key according to the target display screen and the left-right hand setting information.
3. The method of claim 2, wherein the selecting a power key for operation in response to the thumb of the user from the first power key and the second power key as the target power key according to the target display screen and the left-right hand setting information comprises:
if the target display screen is the first display screen and the left-right hand setting information is used for indicating that the user is the right-hand operation user, determining that the first power key is the target power key;
if the target display screen is the first display screen and the left-right hand setting information is used for indicating that the user is the left-hand operation user, determining that the second power key is the target power key;
if the target display screen is the second display screen and the left-right hand setting information is used for indicating that the user is the right-hand operation user, determining that the second power key is the target power key;
and if the target display screen is the second display screen and the left-hand and right-hand setting information is used for indicating that the user is the left-hand operation user, determining that the first power key is the target power key.
4. The method of claim 1, further comprising:
receiving an operation signal corresponding to another power key other than the target power key;
executing a preset operation corresponding to the operation signal, wherein the preset operation comprises any one of the following operations: starting an Artificial Intelligence (AI) function, starting a photographing function, starting a screen capturing function and starting a one-key mute function.
5. The method of any of claims 1 to 4, wherein the status information comprises touch information comprising a first touch area on the first display screen and a second touch area on the second display screen;
the determining a target display screen of user interaction according to the state information comprises:
if the first touch area is smaller than the second touch area, determining that the target display screen interacted by the user is the first display screen;
and if the first touch area is larger than the second touch area, determining that the target display screen interacted by the user is the second display screen.
6. The method according to any one of claims 1 to 4, wherein the status information comprises holding information, the holding information comprising the number of touch points on the right side frame and the number of touch points on the left side frame;
the determining a target display screen of user interaction according to the state information comprises:
if the user is the right-handed operation user, determining that the target display screen interacted by the user is the first display screen when the number of touch points on the right side frame is smaller than that of the touch points on the left side frame; when the number of the touch points on the right side frame is larger than that of the touch points on the left side frame, determining that the target display screen interacted by the user is the second display screen;
if the user is the left-handed operation user, determining that the target display screen interacted by the user is the second display screen when the number of touch points on the right side frame is smaller than that of the touch points on the left side frame; and when the number of the touch points on the right side frame is larger than that of the touch points on the left side frame, determining that the target display screen interacted by the user is the first display screen.
7. The method according to any one of claims 1 to 4, characterized in that the status information comprises acceleration data collected by an acceleration sensor of the terminal;
the determining a target display screen of user interaction according to the state information comprises:
if the acceleration data in the gravity direction belongs to a first value range, determining that the target display screen interacted by the user is the first display screen;
and if the acceleration data in the gravity direction belongs to a second value range, determining that the target display screen interacted by the user is the second display screen.
8. A power key selection device is applied to a terminal, and the terminal comprises a first display screen and a second display screen, wherein the first display screen is arranged on a front panel of the terminal, and the second display screen is arranged on a back panel of the terminal; the terminal further comprises a first power key and a second power key, wherein the first power key is positioned on the right side frame of the terminal, and the second power key is positioned on the left side frame of the terminal in the state that the front panel is upward;
the device comprises:
the information acquisition module is configured to acquire state information of the terminal, wherein the state information is used for indicating the screen state of the terminal;
a display screen determination module configured to determine a target display screen for user interaction according to the state information, the target display screen being the first display screen or the second display screen;
a power key selection module configured to select a target power key from the first power key and the second power key according to the target display screen and the right-and-left hand setting information; wherein the left-right hand setting information is used to indicate whether the user is a right-handed or a left-handed user.
9. The apparatus of claim 8,
the power key selection module is configured to select a power key, which is used for responding to the thumb operation of the user, from the first power key and the second power key as the target power key according to the target display screen and the left-right hand setting information.
10. The apparatus of claim 9, wherein the power key selection module is configured to:
when the target display screen is the first display screen and the left-right hand setting information is used for indicating that the user is the right-hand operation user, determining that the first power key is the target power key;
when the target display screen is the first display screen and the left-right hand setting information is used for indicating that the user is the left-hand operation user, determining that the second power key is the target power key;
when the target display screen is the second display screen and the left-hand and right-hand setting information is used for indicating that the user is the right-hand operation user, determining that the second power key is the target power key;
and when the target display screen is the second display screen and the left-right hand setting information is used for indicating that the user is the left-hand operation user, determining that the first power key is the target power key.
11. The apparatus of claim 8, further comprising:
a signal receiving module configured to receive an operation signal corresponding to another power key other than the target power key;
an operation execution module configured to execute a preset operation corresponding to the operation signal, the preset operation including any one of: starting an Artificial Intelligence (AI) function, starting a photographing function, starting a screen capturing function and starting a one-key mute function.
12. The apparatus according to any one of claims 8 to 11, wherein the status information comprises touch information comprising a first touch area on the first display screen and a second touch area on the second display screen;
the display screen determination module configured to:
when the first touch area is smaller than the second touch area, determining that the target display screen interacted by the user is the first display screen;
and when the first touch area is larger than the second touch area, determining that the target display screen interacted by the user is the second display screen.
13. The apparatus according to any one of claims 8 to 11, wherein the status information comprises holding information, the holding information comprising the number of touch points on the right side frame and the number of touch points on the left side frame;
the display screen determination module configured to:
if the user is the right-handed operation user, determining that the target display screen interacted by the user is the first display screen when the number of touch points on the right side frame is smaller than that of the touch points on the left side frame; when the number of the touch points on the right side frame is larger than that of the touch points on the left side frame, determining that the target display screen interacted by the user is the second display screen;
if the user is the left-handed operation user, determining that the target display screen interacted by the user is the second display screen when the number of touch points on the right side frame is smaller than that of the touch points on the left side frame; and when the number of the touch points on the right side frame is larger than that of the touch points on the left side frame, determining that the target display screen interacted by the user is the first display screen.
14. The apparatus according to any one of claims 8 to 11, wherein the status information includes acceleration data collected by an acceleration sensor of the terminal;
the display screen determination module configured to:
when the acceleration data in the gravity direction belongs to a first value range, determining the target display screen interacted by the user as the first display screen;
and when the acceleration data in the gravity direction belongs to a second value range, determining that the target display screen interacted by the user is the second display screen.
15. A power key selection device is applied to a terminal, and the terminal comprises a first display screen and a second display screen, wherein the first display screen is arranged on a front panel of the terminal, and the second display screen is arranged on a back panel of the terminal; the terminal further comprises a first power key and a second power key, wherein the first power key is positioned on the right side frame of the terminal, and the second power key is positioned on the left side frame of the terminal in the state that the front panel is upward;
the device comprises:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to:
acquiring state information of the terminal; the state information of the terminal is used for indicating the screen state of the terminal;
determining a target display screen interacted by a user according to the state information, wherein the target display screen is the first display screen or the second display screen;
selecting a target power key from the first power key and the second power key according to the target display screen and the left-right hand setting information; wherein the left-right hand setting information is used to indicate whether the user is a right-handed or a left-handed user.
16. A non-transitory computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
CN201910233828.4A 2019-03-26 2019-03-26 Power key selection method, device and storage medium Pending CN111756911A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910233828.4A CN111756911A (en) 2019-03-26 2019-03-26 Power key selection method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910233828.4A CN111756911A (en) 2019-03-26 2019-03-26 Power key selection method, device and storage medium

Publications (1)

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

Family

ID=72671881

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910233828.4A Pending CN111756911A (en) 2019-03-26 2019-03-26 Power key selection method, device and storage medium

Country Status (1)

Country Link
CN (1) CN111756911A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104503698A (en) * 2014-12-31 2015-04-08 深圳市中兴移动通信有限公司 Mobile terminal key function switching method and device
CN104765541A (en) * 2015-04-10 2015-07-08 南京理工大学 Method and system for identifying whether left hand or right hand operates mobile phone
CN108093117A (en) * 2018-01-26 2018-05-29 努比亚技术有限公司 A kind of dual-screen mobile terminal control method and dual-screen mobile terminal
US20180307356A1 (en) * 2017-04-24 2018-10-25 Beijing Xiaomi Mobile Software Co., Ltd. Method for controlling screen and apparatus using the same
CN108848256A (en) * 2018-05-28 2018-11-20 维沃移动通信有限公司 A kind of key control method and double screen terminal of double screen terminal
CN109005289A (en) * 2018-07-25 2018-12-14 努比亚技术有限公司 Screen lighting method, mobile terminal and readable storage medium storing program for executing

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104503698A (en) * 2014-12-31 2015-04-08 深圳市中兴移动通信有限公司 Mobile terminal key function switching method and device
CN104765541A (en) * 2015-04-10 2015-07-08 南京理工大学 Method and system for identifying whether left hand or right hand operates mobile phone
US20180307356A1 (en) * 2017-04-24 2018-10-25 Beijing Xiaomi Mobile Software Co., Ltd. Method for controlling screen and apparatus using the same
CN108093117A (en) * 2018-01-26 2018-05-29 努比亚技术有限公司 A kind of dual-screen mobile terminal control method and dual-screen mobile terminal
CN108848256A (en) * 2018-05-28 2018-11-20 维沃移动通信有限公司 A kind of key control method and double screen terminal of double screen terminal
CN109005289A (en) * 2018-07-25 2018-12-14 努比亚技术有限公司 Screen lighting method, mobile terminal and readable storage medium storing program for executing

Similar Documents

Publication Publication Date Title
RU2630189C1 (en) Method of controlling button functions in one-hand operation mode, device and electronic device
EP3182716A1 (en) Method and device for video display
WO2019080614A1 (en) Method and device for preventing accidental touch on terminal
EP3098701A1 (en) Method and apparatus for managing terminal application
US10331231B2 (en) Mobile terminal and method for determining scrolling speed
CN108255369B (en) Method and device for displaying fingerprint icon in screen and computer readable storage medium
WO2020030065A1 (en) Display adaptation method and apparatus for application, device, and storage medium
EP3232301B1 (en) Mobile terminal and virtual key processing method
US11199928B2 (en) Method and apparatus for preventing false touch on edge, and storage medium
US11159703B2 (en) Shooting interface switching method and apparatus, and device and storage medium thereof
CN110109608B (en) Text display method, text display device, text display terminal and storage medium
CN111610912B (en) Application display method, application display device and storage medium
CN110968364B (en) Method and device for adding shortcut plugins and intelligent device
CN110782532B (en) Image generation method, image generation device, electronic device, and storage medium
CN110990341A (en) Method, device, electronic equipment and medium for clearing data
CN110782847B (en) Page refreshing method and device for ink screen
CN112905136A (en) Screen projection control method and device and storage medium
CN111488098B (en) Method and device for adjusting parameters of touch screen, electronic equipment and storage medium
CN112673612B (en) Display mode switching method, device, equipment and medium
CN109032492B (en) Song cutting method and device
CN111756911A (en) Power key selection method, device and storage medium
CN111756907A (en) Operation execution method, device and storage medium
CN113485596A (en) Virtual model processing method and device, electronic equipment and storage medium
CN108881715B (en) Starting method and device of shooting mode, terminal and storage medium
CN111756985A (en) Image shooting method, device and storage medium

Legal Events

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

Application publication date: 20201009

RJ01 Rejection of invention patent application after publication