WO2021031816A1 - 按键指示方法及电子设备 - Google Patents

按键指示方法及电子设备 Download PDF

Info

Publication number
WO2021031816A1
WO2021031816A1 PCT/CN2020/105515 CN2020105515W WO2021031816A1 WO 2021031816 A1 WO2021031816 A1 WO 2021031816A1 CN 2020105515 W CN2020105515 W CN 2020105515W WO 2021031816 A1 WO2021031816 A1 WO 2021031816A1
Authority
WO
WIPO (PCT)
Prior art keywords
button
key
state
display
electronic device
Prior art date
Application number
PCT/CN2020/105515
Other languages
English (en)
French (fr)
Inventor
付从华
Original Assignee
维沃移动通信有限公司
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 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Priority to KR1020227008506A priority Critical patent/KR20220039822A/ko
Priority to EP20853696.1A priority patent/EP4016268A4/en
Priority to JP2022510181A priority patent/JP7321360B2/ja
Publication of WO2021031816A1 publication Critical patent/WO2021031816A1/zh
Priority to US17/671,916 priority patent/US11720182B2/en

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/1626Constructional details or arrangements for portable computers with a single-body enclosure integrating a flat display, e.g. Personal Digital Assistants [PDAs]
    • 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/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/0202Constructional details or processes of manufacture of the input device
    • 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/1615Constructional details or arrangements for portable computers with several enclosures having relative motions, each enclosure supporting at least one I/O or computing function
    • G06F1/1616Constructional details or arrangements for portable computers with several enclosures having relative motions, each enclosure supporting at least one I/O or computing function with folding flat displays, e.g. laptop computers or notebooks having a clamshell configuration, with body parts pivoting to an open position around an axis parallel to the plane they define in closed position
    • 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/163Wearable computers, e.g. on a belt
    • 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/1637Details related to the display arrangement, including those related to the mounting of the display in the housing
    • G06F1/1652Details related to the display arrangement, including those related to the mounting of the display in the housing the display being flexible, e.g. mimicking a sheet of paper, or rollable
    • 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/1662Details related to the integrated keyboard
    • G06F1/1671Special purpose buttons or auxiliary keyboards, e.g. retractable mini keypads, keypads or buttons that remain accessible at closed laptop
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0346Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of the device orientation or free movement in a 3D space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0414Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using force sensing means to determine a position
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0489Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using dedicated keyboard keys or combinations thereof
    • 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/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04803Split screen, i.e. subdividing the display area or the window area into separate subareas
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04804Transparency, e.g. transparent or translucent windows

Definitions

  • the present invention relates to the field of communication technology, and in particular to a button indicating method and electronic equipment.
  • buttons such as physical buttons, virtual buttons, etc.
  • one type of key has a hole in a shell such as a middle frame, and a key cap is provided at the hole.
  • the movement of the keycap can trigger the micro switch under the keycap to turn on, so as to realize the key function;
  • there is also a key that is equipped with sensing elements in the middle frame and other outer shells to avoid centering The frame is cut.
  • the button position of the middle frame housing deforms, and the deformation can be sensed by the sensing element, thereby realizing the button function.
  • this kind of button can avoid the influence of the middle frame opening on the mechanical strength, waterproof, dustproof and other performance of electronic equipment, but because this kind of button does not have the identification features such as protrusions on the surface of the middle frame shell, it is in poor light environment It is not convenient for the user to recognize the location of the button.
  • the present invention provides a button indicating method and electronic equipment to solve the problem that it is inconvenient for users to identify the button position in a poor light environment.
  • the present invention is implemented as follows:
  • an embodiment of the present invention provides a button indicating method, which is applied to an electronic device, the electronic device has at least one button, and the method includes:
  • the target indication icon corresponding to the key is displayed in a first manner.
  • an embodiment of the present invention also provides an electronic device, the electronic device has at least one button, and the electronic device includes:
  • the first display module is configured to display the target indication icon corresponding to the key in a first manner in the key display area corresponding to the key in the display screen when the state information meets the preset condition.
  • an embodiment of the present invention also provides an electronic device, including a processor, a memory, and a computer program stored on the memory and running on the processor, the computer program being used by the processor When executed, the steps of the button instruction method as described above are realized.
  • an embodiment of the present invention also provides a computer-readable storage medium having a computer program stored on the computer-readable storage medium, and when the computer program is executed by a processor, the key instruction method described above is implemented step.
  • the state information of the electronic device is acquired; in the case that the state information meets a preset condition, the key display area corresponding to the key is displayed in the first manner on the display screen
  • the target indicator icon corresponding to the button ensures that the user can directly determine the location of the target indicator icon, and then the location of the corresponding button can be determined, avoiding the problem that the user cannot identify the button location in a poorly lit environment, thereby facilitating operation.
  • FIG. 1 shows one of the flowcharts of the button indicating method according to the embodiment of the present invention
  • FIG. 2 shows a schematic diagram of the structure of a button according to an embodiment of the present invention
  • FIG. 3 shows one of the schematic diagrams showing the indication icon of the embodiment of the present invention
  • FIG. 4 shows the second schematic diagram of the display of the indicator icon in the embodiment of the present invention
  • FIG. 5 shows the second flowchart of the button indicating method according to the embodiment of the present invention
  • FIG. 6 shows a flowchart of displaying the indicator icon corresponding to the button in the first manner in an embodiment of the present invention
  • FIG. 7 shows one of the display schematic diagrams of the corresponding indicator icon when the button in the non-triggered state of the embodiment of the present invention
  • FIG. 8 shows one of the schematic diagrams of displaying the corresponding indicator icon when the button is in the triggered state according to the embodiment of the present invention
  • FIG. 9 shows the second schematic diagram of the display of the corresponding indicator icon when the button in the non-triggered state of the embodiment of the present invention.
  • FIG. 10 shows the second schematic diagram of the display of the corresponding indicator icon when the button is in the triggered state of the embodiment of the present invention
  • FIG. 11 shows one of the schematic diagrams showing the indication icon corresponding to the button when the electronic device of the embodiment of the present invention is in an expanded state
  • FIG. 12 shows one of the schematic diagrams showing the indication icon corresponding to the button when the electronic device is in the folded state according to the embodiment of the present invention
  • FIG. 13 shows a schematic structural diagram of a button of an electronic device with a folding screen according to an embodiment of the present invention
  • FIG. 14 shows the second schematic diagram showing the indication icon corresponding to the button when the electronic device of the embodiment of the present invention is in the expanded state
  • FIG. 15 shows the third schematic diagram of displaying the indication icon corresponding to the button when the electronic device of the embodiment of the present invention is in the expanded state
  • 16 shows the second schematic diagram of the display of the indicator icon corresponding to the button when the electronic device of the embodiment of the present invention is in the folded state
  • Figure 17 shows a block diagram of an electronic device according to an embodiment of the present invention.
  • FIG. 18 shows a schematic diagram of the hardware structure of an electronic device according to an embodiment of the present invention.
  • an embodiment of the present invention provides a button indicating method, which is applied to an electronic device, and the electronic device has at least one button;
  • the button may be a physical button, a sensor button, a touch button, and other types of buttons, which are not specifically limited in the embodiment of the present invention.
  • the button is used to receive the interactive instructions input by the user through pressing, touching, clicking and other operations.
  • a key As shown in Fig. 2, an example of a key is given.
  • the key has a sensing element 21, such as a pressure sensor; the sensing element 21 is arranged inside the middle frame 22 of the electronic device. In this way, when the user's finger 23 presses the button, the middle frame 22 is forced to deform (shown by the dashed line in FIG. 2), and the deformation degree of the middle frame 22 is sensed by the sensing element 21, that is, the pressure value of the button. The pressure value determines whether the button is triggered.
  • Step 11 Obtain status information of the electronic device.
  • the state information may include but is not limited to at least one of the following: motion parameters of the electronic device, screen state information, central processing unit (CPU) state information, type of currently running application, etc.;
  • the motion parameter may include but is not limited to at least one of the following: moving speed, moving acceleration, and flip angle.
  • electronic devices such as smart phones and watches equipped with low-power accelerometers can monitor the linear acceleration of the electronic device in the three-dimensional coordinate system when the electronic device is turned on; or, electronic devices equipped with a speed sensor, When the electronic device is turned on, the movement speed of the electronic device can be monitored; or, the electronic device equipped with a gravity sensor, a gyroscope, etc. can detect the flip state of the electronic device.
  • the screen status information may include: first information about the on-screen status and second information about the off-screen status; where the status information of the CPU may include: working status, running status, etc. of the CPU.
  • Step 12 In the case that the state information meets the preset condition, in the key display area corresponding to the key in the display screen, display the target indication icon corresponding to the key in a first manner.
  • the state information meeting a preset condition includes at least one of the following: the moving speed of the electronic device is greater than the preset speed, and the electronic device The movement acceleration of the device is greater than the preset acceleration, and the flip angle of the electronic device is greater than the preset angle.
  • the state information satisfying a preset condition may include: the screen state information is the first information indicating the screen-on state.
  • the status information meeting the preset condition may include: the working status of the CPU is the user status, the running status meeting the preset conditions, and so on.
  • the status information satisfying a predetermined condition may further include: the type of the currently running application is a predetermined application type, and the like.
  • the state information may include, but is not limited to, at least one of the following: motion parameters of the electronic device, screen state information, central processing unit (CPU) state information, the type of currently running application, etc.
  • the preset condition can also be determined according to the combination of the aforementioned preset conditions corresponding to the status information. For example, if the status information is the status information of the CPU and the type of the currently running application, if the working status of the CPU is If the user status and the currently running application type is a predetermined application type, it is determined that the status information satisfies the preset condition; of course, other combinations may also be used, and the present invention is not limited to this.
  • the display screen is used to display elements such as text and graphics, and can also receive interactive instructions input by the user through operations such as clicking and swiping.
  • the position of the target indicator icon may be close to the position of the corresponding button, and the longitudinal length of the target indicator icon may be equivalent to the distribution range of the corresponding button, so as to facilitate operation and save space. Avoid excessively smaller or larger button sizes that cause inconvenience.
  • the position of the target indicator icon may be a preset position in the display screen.
  • a model icon may be displayed at any position of the display screen, for example, a model icon is displayed in a corner of the display screen (eg, the lower right corner).
  • the model icon may be marked with the position of the target indicator icon corresponding to each button.
  • the model icon may also be a thumbnail of the display interface marked with the position of the target indicator icon corresponding to each button.
  • the key display area is different from the key operation area of the key.
  • the operation area of the button is located in the middle frame of the electronic device, and the button display area is located on the display screen of the electronic device.
  • the operation area of the key is the area where the key on the middle frame is located, and the key display area is used to provide an indication function to facilitate the user to determine the position of the key on the middle frame.
  • buttons can be set on the middle frame of the electronic device.
  • the electronic device has buttons A, B, C, and D. , E, and F respectively correspond to the indicator icons A1, B1, C1, D1, E1, and F1 on the display screen 31 respectively.
  • the state information of the electronic device is acquired; in the case that the state information meets a preset condition, in the key display area corresponding to the key in the display screen, the display and the key are displayed in the first manner.
  • the target indicator icon corresponding to the button ensures that the user can directly determine the position of the target indicator icon, and then the location of the corresponding button can be determined, so as to avoid the problem that the user cannot identify the button position in a poorly lit environment, thereby facilitating operation.
  • an embodiment of the present invention also provides a button indication method, which is applied to an electronic device, the electronic device has at least one button, and the method includes:
  • Step 11 Obtain status information of the electronic device
  • the state information may include but is not limited to at least one of the following: motion parameters of the electronic device, screen state information, central processing unit (CPU) state information, type of currently running application, etc.;
  • the motion parameter may include but is not limited to at least one of the following: moving speed, moving acceleration, and flip angle.
  • electronic devices such as smart phones and watches equipped with low-power accelerometers can monitor the linear acceleration of the electronic device in the three-dimensional coordinate system when the electronic device is turned on; or, electronic devices equipped with a speed sensor, When the electronic device is turned on, the movement speed of the electronic device can be monitored; or, the electronic device equipped with a gravity sensor, a gyroscope, etc. can detect the flip state of the electronic device.
  • the screen status information may include: first information about the on-screen status and second information about the off-screen status; where the status information of the CPU may include: working status, running status, etc. of the CPU.
  • Step 12 In the case that the state information meets the preset condition, in the key display area corresponding to the key in the display screen, display the target indication icon corresponding to the key in a first manner.
  • the state information meeting a preset condition includes at least one of the following: the moving speed of the electronic device is greater than the preset speed, and the electronic device The movement acceleration of the device is greater than the preset acceleration, and the flip angle of the electronic device is greater than the preset angle.
  • the state information satisfying a preset condition may include: the screen state information is the first information indicating the screen-on state.
  • the state information satisfying the preset condition may include: the working state of the CPU is the user state, and the running state satisfies the preset condition.
  • the status information satisfying a predetermined condition may further include: the type of the currently running application is a predetermined application type, and the like.
  • the state information may include, but is not limited to, at least one of the following: motion parameters of the electronic device, screen state information, central processing unit (CPU) state information, the type of currently running application, etc.
  • the preset condition can also be determined according to the combination of the aforementioned preset conditions corresponding to the status information. For example, if the status information is the status information of the CPU and the type of the currently running application, if the working status of the CPU is If the user status and the currently running application type is a predetermined application type, it is determined that the status information satisfies the preset condition; of course, other combinations may also be used, and the present invention is not limited to this.
  • the display screen is used to display elements such as text and graphics, and can also receive interactive instructions input by the user through operations such as clicking and swiping.
  • the position of the target indicator icon may be close to the position of the corresponding button, and the longitudinal length of the target indicator icon may be equivalent to the distribution range of the corresponding button, so as to facilitate operation and save space. Avoid excessively smaller or larger button sizes that cause inconvenience.
  • the position of the target indicator icon may be a preset position in the display screen.
  • a model icon may be displayed at any position of the display screen, for example, a model icon is displayed in a corner of the display screen (eg, the lower right corner).
  • the model icon may be marked with the position of the target indicator icon corresponding to each button.
  • the model icon may also be a thumbnail of the display interface marked with the position of the target indicator icon corresponding to each button.
  • the key display area is different from the key operation area of the key.
  • the operation area of the button is located in the middle frame of the electronic device, and the button display area is located on the display screen of the electronic device.
  • the operation area of the key is the area where the key on the middle frame is located, and the key display area is used to provide an indication function to facilitate the user to determine the position of the key on the middle frame.
  • the first method is an explicit method; specifically, when the state information meets a preset condition, the target indication icon corresponding to the button is displayed in an explicit manner.
  • the explicit mode is: the target indicator icon can be highlighted in the display mode of the pattern/interface except for the button display area.
  • the target indicator icon will be significantly different from the display in display parameters such as color and transparency. Except for the display area of the button, the user can easily find and distinguish the target indicator icon on the display screen, so that the user can directly determine the position of the target indicator icon, and then the position of the button; as shown in Figure 3,
  • the target indicator that is displayed in an explicit manner is marked by a solid line.
  • Step 13 In the case that the status information does not meet the preset condition, display the target indication icon corresponding to the button in a second manner in the button display area corresponding to the button on the display screen Or, the target indicator icon is not displayed.
  • the state information that does not satisfy the preset condition includes at least one of the following: the moving speed of the electronic device is less than or equal to a preset condition The speed, the moving acceleration of the electronic device is less than or equal to the preset acceleration, and the flip angle of the electronic device is less than or equal to the preset angle.
  • the state information that does not satisfy a preset condition may include: the screen state information is second information indicating a screen off state.
  • the state information that does not meet the preset condition may include: the working state of the CPU is the system state and/or the running state does not meet the preset condition, etc.
  • the status information that does not meet the predetermined condition may further include: the type of the currently running application is not a predetermined application type, and the like.
  • the state information may include, but is not limited to, at least one of the following: motion parameters of the electronic device, screen state information, central processing unit (CPU) state information, the type of currently running application, etc.
  • the preset condition can also be determined according to the combination of the aforementioned preset conditions corresponding to the status information. For example, if the status information is the screen status information and the type of the currently running application, if the screen status information indicates bright The first information of the screen status, and the currently running application type is not the predetermined application type, it is determined that the status information does not meet the preset condition; of course, it can also be other combinations, and the present invention is not limited to this .
  • the second mode is implicit display; specifically, in the case that the status information does not meet the preset condition, the target indication icon corresponding to the button is displayed in an implicit manner.
  • the implicit method is: the target indicator icon can weaken the display mode of the pattern/interface displayed in the display screen except for the button display area.
  • the target indicator icon will be close to the display screen in terms of color, transparency and other display parameters.
  • the display content outside the key display area makes it more difficult for users to find and distinguish the indicator on the display screen, avoiding the target indicator icon occupying the display area of the display screen and affecting the display effect of the display screen; such as: target indication in implicit mode
  • the display transparency corresponding to the icon is higher than the display transparency corresponding to the target indicator icon in the explicit mode.
  • the target indication icon in the implicit mode can be set to a fully transparent state, and the target indication icon is not displayed.
  • the implicitly displayed indicator icon is indicated by a dotted line.
  • the target indication icon corresponding to the button is displayed in an explicit manner and switched to an implicit manner; when the state information never satisfies all If the preset condition is switched to satisfy the preset condition, the target indication icon corresponding to the key is switched from the implicit mode display to the explicit mode display.
  • buttons can be set on the middle frame of the electronic device, as shown in Figure 3, the electronic device has buttons A and B , C, D, E, and F respectively correspond to the indicator icons A1, B1, C1, D1, E1, and F1 on the display screen 31 respectively.
  • the display parameters of the indicator graphic may be non-fixed, that is, the display parameters (pattern, shape, color, etc.) of the indicator icon can be changed according to the key function of the corresponding key.
  • the function of button E can be the volume adjustment function (volume up "+” and volume down "-"), in the reading interface (e.g. e-book reading interface, browser browsing interface)
  • the function of button E can be page turning function (page up and page down) and so on.
  • buttons A, C, D, and F correspond to the button operation instructions, such as: left arrow key, right arrow key, accelerator key, brake key; button B can be used to receive one of the following operations from the user: on /Turn off operation, bright screen operation, off screen operation; button E can be used to receive user's volume adjustment operation.
  • the state information of the electronic device is acquired; in the case that the state information meets a preset condition, in the key display area corresponding to the key in the display screen, the display and the key are displayed in the first manner.
  • the target indicator icon corresponding to the button ensures that the user can directly determine the position of the target indicator icon, and then the location of the corresponding button can be determined, so as to avoid the problem that the user cannot recognize the button position in a poorly lit environment, which is convenient for operation; and
  • the target indicator icon corresponding to the key is displayed in a second manner or the target indication icon corresponding to the key is not displayed.
  • the target indicator icon is described to prevent the target indicator icon from occupying the display area of the display screen and affecting the display effect of the display screen.
  • the key may also have an activated state that responds to the key operation function and an inactive state that does not respond to the key operation function;
  • the button when the state information meets the preset condition, the button is in the activated state; when the state information does not meet the preset condition, the button is in the inactive state status.
  • the key is a sensing key with a sensing element.
  • the method in the above-mentioned embodiment can be used to determine whether the key is triggered.
  • the electronic device executes the corresponding button function in response to the trigger, that is, the button can normally detect the user's pressing, clicking and other operations, and can actively report the event to the electronic device control system, and the electronic device will respond to the event;
  • the electronic device When the button is not triggered, or when the button is in inactive mode, no matter whether there is a press operation on the button, the electronic device does not respond, that is, the button cannot detect the user's press, click, etc., nor does it Actively report the event to the electronic device control system, and the electronic device will not respond to the event.
  • the button when the button is configured as a volume adjustment function, if the button is in the active mode, when the user presses the button, the electronic device will execute the volume adjustment program; when the button is in the inactive mode, when the user presses the button, The electronic device will not perform volume adjustment procedures.
  • step 11 may specifically include:
  • the motion parameters include at least one of the following: speed, acceleration, and flip state;
  • the function state of the button is determined.
  • the function state of the button includes: an activated state that has a function of responding to a button operation, and an inactive state that does not respond to a function of button operation;
  • the motion parameter satisfies the first condition, it is determined that the button is in the activated state; wherein, the first condition includes at least one of the following: the speed is greater than a preset speed, and the acceleration is greater than a preset speed. It is assumed that the acceleration and the turning state are the first turning state where the turning angle is greater than the preset angle;
  • the second condition includes at least one of the following: the speed is less than or equal to a preset speed, and the acceleration is less than Or equal to the preset acceleration, and the flip state is a second flip state with a flip angle less than or equal to the preset angle.
  • smart phones, watches and other electronic devices equipped with low-power accelerometers can monitor the linear acceleration of the electronic device in the three-dimensional coordinate system when the electronic device is turned on, and the linear acceleration obtained by monitoring , You can determine the current motion state of the electronic device. For example: when the electronic device is statically placed on the desktop and the monitored linear acceleration is in the first acceleration range (or the variation of the monitored linear acceleration tends to zero), it is determined that the motion state of the electronic device is stationary, which is In the inactive state, configure the display mode of the indicator icon corresponding to the button as an implicit mode, such as: light color display, increase transparency, etc.;
  • the monitored linear acceleration is in the second acceleration range (or the monitored linear acceleration has a large amount of change, or shows a certain regular change) . It is determined that the motion state of the electronic device is the violent movement/shaking state, that is, the active state, and the display mode of the indicator icon corresponding to the button is configured as an explicit mode, such as: dark display, reduced transparency, etc.
  • it may also be determined as the active state when the motion state of the electronic device is monitored as a static state, and determined as the inactive state when the motion state of the electronic device is monitored as a violent movement/shaking state.
  • an electronic device equipped with a speed sensor can monitor the movement speed of the electronic device when the electronic device is turned on, and the current movement state of the electronic device can be determined through the monitored movement speed. For example: when the electronic device is statically placed on the desktop, and the monitored movement speed is in the first speed range (or the variation of the monitored movement speed tends to zero), it is determined that the movement state of the electronic device is stationary, which is In the inactive state, configure the display mode of the indicator icon corresponding to the button as an implicit mode, such as: light color display, increase transparency, etc.;
  • the monitored movement speed is in the second speed range (or the monitored movement speed has a large amount of change, or shows a certain regular change) . It is determined that the motion state of the electronic device is the violent movement/shaking state, that is, the active state, and the display mode of the indicator icon corresponding to the button is configured as an explicit mode, such as dark display, reducing transparency.
  • it may also be determined as the active state when the motion state of the electronic device is monitored as a static state, and determined as the inactive state when the motion state of the electronic device is monitored as a violent movement/shaking state.
  • an electronic device equipped with a gravity sensor, a gyroscope, etc. can detect the flip state of the electronic device.
  • the display screen as an example: the electronic device switches from the display screen in a horizontal state to the angle of the display screen on the horizontal plane reaching a preset angle (the state of resting on the desktop is picked up by the user, and the display screen is inclined at a predetermined angle), Or the display screen of the electronic device is flipped from horizontally downward to horizontally upward, or the display screen of the electronic device is flipped from horizontally downward to horizontally upward, etc., it is determined that the flip state of the electronic device is the first flip state, that is, the active state , Configure the display mode of the indicator icon corresponding to the button as an explicit mode, such as dark display, reduce transparency;
  • the flip angle of the electronic device is less than a preset angle, it is determined that the flip state of the electronic device is the second flip state, that is, the inactive state, and the display mode of the indicator icon corresponding to the button is configured as an implicit mode, Such as: light color display, increase transparency, etc.
  • the function state of the button can be determined, such as: the electronic device actively activates the button in the static state and indicates the position of the button through the indicator icon, and the motion state Actively disable the key and cancel the indication of the key position by the indicator icon.
  • the user's experience requirements can be met, the power of the electronic device can be saved, and a relatively neat display interface can be maintained when the electronic device is at rest.
  • the button when the button is in the activated state, the button is displayed in a first explicit manner in the button display area corresponding to the button on the display screen.
  • the steps of the corresponding target indicator icon may specifically include:
  • Step 121 Obtain the target working state of the button
  • the sensing parameters of the button can be obtained through the sensing element in the button; if the change of the sensing parameter reaches a preset threshold, it is determined that the working state of the button is Trigger state; if the amount of change in the sensing parameter is lower than the preset threshold, determine that the working state of the button is a non-triggered state;
  • the button when the button is in the active mode, the user's finger presses and clicks on the area where the button is located, and the button will be triggered.
  • the so-called trigger means that the button detects that the sensor parameters such as pressure, temperature, deformation, etc. change or have a more significant change (the change of pressure, temperature, deformation, etc. reaches a preset threshold), that is, it is determined that the user's button operation is detected behavior.
  • the trigger state of the keys can be at least divided into pre-trigger, in-trigger, and post-trigger according to the sequence of occurrence. Among them, both before and after the trigger are in the untriggered state, while the trigger is in the triggered state.
  • Step 122 Determine the target indicator icon corresponding to the target working state according to the correspondence between the working state and the display mode.
  • the target indicator icons corresponding to different target working states may be different at least one of the following: the shape of the indicator icon, the pattern of the indicator icon, the color of the indicator icon, and so on.
  • the electronic device is a smart watch; the first display mode can refer to the display of indicator icon A, and the second display mode can refer to the display of indicator icon B.
  • the indicator icon A can be a number or scale on the dial of the watch, which is used to indicate the display time of the watch and the position of the button 61, and the indicator icon B can be an icon of the button function on the dial of the watch, which is used to indicate the triggering state and correspondence of the button 61 Features.
  • Step 123 In the key display area corresponding to the key on the display screen, display the indicator icon corresponding to the key in a first manner according to the target display mode.
  • the target indication icon corresponding to the button is displayed in the first manner in the button display area corresponding to the button on the display screen; wherein, the The target indicator icon is an icon with a first pattern;
  • the target indication icon corresponding to the button is displayed in the first manner; wherein, the target indication The icon is an icon with the second pattern.
  • the target indicator icon when the button is in the triggered state, the target indicator icon is displayed in the first display mode, for example: the pattern of the target indicator icon is the first pattern; when the button is in the non-triggered state, the target indicator icon is displayed in the second display mode
  • the target indicator icon for example, the pattern of the target indicator icon is the second pattern.
  • the corresponding indicator icon when the key is in the pre-trigger and post-trigger stages, the corresponding indicator icon may be different from the indicator icon corresponding to the trigger stage.
  • the indicator icon A corresponding to the button 61 is used to display the clock scale, such as the number "3", to indicate the display time of the watch and the position of the button 61;
  • the indicator icon B corresponding to the button may be a button function icon on the dial of the watch, such as "power pattern", which is used to indicate that the function of the button is the on/off function.
  • the indication pattern C corresponding to the button 61 may be a graphic used to indicate the number and status of unread messages; as shown in Fig. 10, the indication pattern D corresponding to the button 61 may be a power button graphic on the dial of the watch.
  • the indication icon C is displayed in the button display area corresponding to the button 61; when the user touches/presses the button 61 (that is, the button 61 is in the triggered state), the The indicator icon C displayed in the button display area corresponding to the button 61 is replaced with an indicator icon D; when the user releases the button 61 (that is, the button 61 is in a non-triggered state), the button 61 corresponding to the button display area is displayed
  • the indicator icon D is replaced with indicator icon C.
  • the displayed graphic sizes and display positions of the indicator C and the indicator D are basically equivalent.
  • the button display area corresponding to the button displays different indicator icons to prompt the working state of the button; and the indicator icon displays and the button The function icon corresponding to the current state, so as to indicate the key function currently corresponding to the key.
  • the target indication icon corresponding to the button is displayed in the first manner in the button display area corresponding to the button on the display screen.
  • the steps can specifically include:
  • target application information may be application information of a foreground application.
  • the target indication icon corresponding to the key function is displayed in a first manner.
  • the function of button E can be a volume adjustment function (volume up "+” and volume down "-")
  • the target application information is a reading interface (such as e-book In the case of a reading interface or a browsing interface of a browser)
  • the function of the button E may be a page turning function (page up and page down).
  • different indicator icons are displayed in the key display area corresponding to the keys to indicate the key functions of the keys in different applications.
  • the display screen is a foldable screen; when the keys are in the activated state, in the key display area corresponding to the keys in the display screen, the display is displayed in the first manner.
  • the steps of the target indicator icon corresponding to the button may specifically include:
  • the function of the button is configured as the first button function, and the button corresponding to the first button function is displayed in the button display area corresponding to the button on the display screen.
  • the first target indicator
  • the function of the button is configured as the second button function, and the button corresponding to the second button function is displayed in the button display area corresponding to the button on the display screen.
  • the second target indicator icon is configured as the button display area corresponding to the button on the display screen.
  • a button 121 based on principles such as a pressure sensor; optionally, the button 121 is arranged between the hinge or hinge structure 122 for folding the display screen 120 and the display screen 120.
  • the button 121 When the finger presses the display screen area corresponding to the button 121, the display screen deforms and transmits the pressure to the button 121, that is, the button 121 receives the user's input operation.
  • the function of the button 121 can be configured to switch the single page/double page display function.
  • an indicator icon E is displayed as an indicator icon for switching the single page/double page display function.
  • a single page display is given, that is, the entire display screen is used as a complete display page;
  • an example of a double page display is given, that is, the entire display screen is divided into left and right Two pages display, the content between the left and right pages is independent, with obvious paging characteristics.
  • the function of the button 121 can be configured as a function of switching the next page.
  • an indicator icon F or indicator icon G
  • the button 121 is actually located on the side of the electronic device, which is equivalent to a side button.
  • the electronic device will perform a page-down operation.
  • the display screen operated by the user is the left display screen in Fig. 16
  • the corresponding button display area of the button 121 is displayed as an indication figure F;
  • the button The indicator icon G is displayed in the corresponding key display area of 121.
  • an embodiment of the present invention provides an electronic device 1700.
  • the electronic device has at least one button.
  • the electronic device 1700 includes:
  • the obtaining module 1710 is used to obtain the state information of the electronic device
  • the first display module 1720 is configured to display the target indication icon corresponding to the button in a first manner in the button display area corresponding to the button in the display screen when the state information meets the preset condition .
  • the electronic device 1700 further includes:
  • the second display module 1730 is configured to display the information corresponding to the key in a second manner in the key display area corresponding to the key in the display screen when the state information does not meet the preset condition.
  • the target indicator icon, or, the target indicator icon is not displayed.
  • the key display area is different from the key operation area of the key.
  • the key has an activated state that responds to a key operation function and an inactive state that does not respond to a key operation function;
  • the button when the state information meets the preset condition, the button is in the activated state; when the state information does not meet the preset condition, the button is in the inactive state status.
  • the state information is a motion parameter of the electronic device; wherein, the motion parameter includes at least one of the following: a moving speed, a moving acceleration, and a flip angle.
  • the preset condition includes at least one of the following: a moving speed of the electronic device is greater than a preset speed, a moving acceleration of the electronic device is greater than a preset acceleration, and a flip angle of the electronic device is greater than a preset angle .
  • the first display module 1720 specifically includes:
  • the first obtaining submodule is used to obtain the target working state of the button
  • the determining sub-module is configured to determine the target indicator icon corresponding to the target operating state according to the corresponding relationship between the operating state of the button and the indicator icon of the button;
  • the first display sub-module is configured to display the target indication icon corresponding to the key in the first manner in the key display area corresponding to the key in the display screen.
  • the button is an induction button; the first obtaining submodule specifically includes:
  • the first determining unit is configured to determine that the target working state of the button is the triggered state if the change amount of the sensing parameter reaches a preset threshold
  • a second determining unit configured to determine that the target working state of the button is a non-triggered state if the change amount of the sensing parameter is lower than the preset threshold
  • the first display submodule specifically includes:
  • the first display unit is configured to display the button corresponding to the button in a first manner in the button display area corresponding to the button in the display screen when the target working state of the button is the trigger state
  • the target indicator icon wherein the target indicator icon is an icon with a first pattern
  • the second display unit is configured to display the key corresponding to the key in a first manner in the key display area corresponding to the key on the display screen when the target working state of the key is the non-triggered state
  • the target indicator icon in, wherein the target indicator icon is an icon with a second pattern.
  • the first display module 1720 includes:
  • the second acquisition submodule is used to acquire target application information
  • a configuration sub-module configured to configure key functions corresponding to the keys according to the target application information
  • the second display submodule is configured to display the target indication icon corresponding to the key function in the first manner in the key display area corresponding to the key on the display screen.
  • the display screen is a folding screen
  • the first display module 1720 includes:
  • the third obtaining submodule is configured to obtain the state of the folding screen when the button is in the activated state
  • the third display sub-module is used to configure the function of the button as the first button function when the folding screen is in the folded state, and display in the button display area corresponding to the button in the display screen A first target indicator icon corresponding to the first button function;
  • the fourth display sub-module is used to configure the function of the button as the second button function when the folding screen is in the unfolded state, and display in the button display area corresponding to the button in the display screen A second target indicator icon corresponding to the second key function.
  • the electronic device provided in the embodiment of the present invention can implement the various processes implemented by the electronic device in the method embodiments of FIG. 1 to FIG. 16. To avoid repetition, details are not described herein again.
  • the electronic device 1700 in the embodiment of the present invention obtains the state information of the electronic device; in the case that the state information meets a preset condition, in the key display area corresponding to the key on the display screen, the first One way to display the target indicator icon corresponding to the button, to ensure that the user can directly determine the location of the target indicator icon, and then to determine the location of the corresponding button, to avoid the problem that the user cannot identify the button location in a poorly lit environment, which is convenient for use ⁇ operation.
  • FIG. 18 is a schematic diagram of the hardware structure of an electronic device implementing various embodiments of the present invention.
  • the electronic device 1800 includes, but is not limited to, a radio frequency unit 1801, a network module 1802, an audio output unit 1803, an input unit 1804, a sensor 1805, a display unit 1806, a user input unit 1807, an interface unit 1808, a memory 1809, a processor 1810, and Power supply 1811 and other components.
  • a radio frequency unit 1801 for example, a radio frequency unit 1801
  • a network module 1802 for example, a Wi-Fi Protected Access 2
  • an audio output unit 1803 an input unit 1804
  • a sensor 1805 a sensor 1805
  • a display unit 1806 a user input unit 1807
  • an interface unit 1808 a memory 1809
  • a processor 1810 and Power supply 1811 and other components.
  • Power supply 1811 Power supply 1811 and other components.
  • Those skilled in the art can understand that the structure of the electronic device shown in FIG. 18 does not constitute a limitation on the electronic device.
  • the electronic device may include more or fewer components than those shown in
  • the electronic device has at least one button, and the processor 1810 is used to obtain the state information of the electronic device; in the case that the state information meets a preset condition, the button corresponding to the button in the display screen In the display area, the target indication icon corresponding to the button is displayed in a first manner.
  • the electronic device 1800 in the embodiment of the present invention obtains the state information of the electronic device; in the case that the state information meets the preset condition, in the key display area corresponding to the key in the display screen, the first The target indicator icon corresponding to the button is displayed in a way to ensure that the user can directly determine the location of the target indicator icon, and then the location of the corresponding button can be determined, so as to avoid the problem that the user cannot identify the button location in a poorly lit environment, which is convenient for use operating.
  • the radio frequency unit 1801 can be used for receiving and sending signals during the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and sent to the processor 1810 for processing; Uplink data is sent to the base station.
  • the radio frequency unit 1801 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio frequency unit 1801 can also communicate with the network and other devices through a wireless communication system.
  • Electronic devices provide users with wireless broadband Internet access through the network module 1802, such as helping users to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 1803 can convert audio data received by the radio frequency unit 1801 or the network module 1802 or stored in the memory 1809 into audio signals and output them as sounds. Moreover, the audio output unit 1803 may also provide audio output related to a specific function performed by the electronic device 1800 (for example, call signal reception sound, message reception sound, etc.).
  • the audio output unit 1803 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 1804 is used to receive audio or video signals.
  • the input unit 1804 may include a graphics processing unit (GPU) 18041 and a microphone 18042.
  • the graphics processor 18041 is configured to respond to still pictures or video images obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed.
  • the processed image frame can be displayed on the display unit 1806.
  • the image frame processed by the graphics processor 18041 may be stored in the memory 1809 (or other storage medium) or sent via the radio frequency unit 1801 or the network module 1802.
  • the microphone 18042 can receive sound, and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 1801 for output in the case of a telephone call mode.
  • the electronic device 1800 further includes at least one sensor 1805, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 18061 according to the brightness of the ambient light.
  • the proximity sensor can close the display panel 18061 and the display panel 18061 when the electronic device 1800 is moved to the ear. / Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three-axis), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; the sensor 1805 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
  • the display unit 1806 is used to display information input by the user or information provided to the user.
  • the display unit 1806 may include a display panel 18061, and the display panel 18061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • the user input unit 1807 can be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the electronic device.
  • the user input unit 1807 includes a touch panel 18071 and other input devices 18072.
  • the touch panel 18071 also called a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 18071 or near the touch panel 18071. operating).
  • the touch panel 18071 may include two parts, a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it
  • the processor 1810 receives and executes the command sent by the processor 1810.
  • the touch panel 18071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 1807 may also include other input devices 18072.
  • other input devices 18072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
  • the touch panel 18071 can cover the display panel 18061.
  • the touch panel 18071 detects a touch operation on or near it, it transmits it to the processor 1810 to determine the type of touch event, and then the processor 1810 determines the type of touch event according to the touch.
  • the type of event provides corresponding visual output on the display panel 18061.
  • the touch panel 18071 and the display panel 18061 are used as two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 18071 and the display panel 18061 may be integrated
  • the implementation of the input and output functions of the electronic device is not specifically limited here.
  • the interface unit 1808 is an interface for connecting an external device and the electronic device 1800.
  • the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc.
  • the interface unit 1808 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 1800 or can be used to connect to the electronic device 1800 and external Transfer data between devices.
  • the memory 1809 can be used to store software programs and various data.
  • the memory 1809 may mainly include a program storage area and a data storage area.
  • the program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data (such as audio data, phone book, etc.) created by the use of mobile phones.
  • the memory 1809 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the processor 1810 is the control center of the electronic device. It uses various interfaces and lines to connect the various parts of the entire electronic device. It runs or executes the software programs and/or modules stored in the memory 1809, and calls the data stored in the memory 1809. , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole.
  • the processor 1810 may include one or more processing units; preferably, the processor 1810 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, application programs, etc., and the modem The processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 1810.
  • the electronic device 1800 may also include a power supply 1811 (such as a battery) for supplying power to various components.
  • a power supply 1811 (such as a battery) for supplying power to various components.
  • the power supply 1811 may be logically connected to the processor 1810 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system. And other functions.
  • the electronic device 1800 includes some functional modules not shown, which will not be repeated here.
  • the embodiment of the present invention also provides an electronic device, including a processor 1810, a memory 1809, and a computer program stored on the memory 1809 and running on the processor 1810.
  • an electronic device including a processor 1810, a memory 1809, and a computer program stored on the memory 1809 and running on the processor 1810.
  • the computer program is executed by the processor 1810.
  • the embodiment of the present invention also provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium.
  • a computer program is stored on the computer-readable storage medium.
  • the computer program is executed by a processor, each process of the above-mentioned key instruction method embodiment is realized, and the same technology can be achieved. The effect, in order to avoid repetition, will not be repeated here.
  • the computer readable storage medium such as read-only memory (Read-Only Memory, ROM for short), random access memory (Random Access Memory, RAM for short), magnetic disk or optical disk, etc.
  • modules, units, sub-modules, sub-units, etc. can be implemented in one or more application specific integrated circuits (ASICs), digital signal processors (Digital Signal Processing, DSP), digital signal processing equipment ( DSP Device, DSPD), Programmable Logic Device (PLD), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), general-purpose processors, controllers, microcontrollers, microprocessors, Other electronic units or combinations thereof that perform the functions described in this application.
  • ASICs application specific integrated circuits
  • DSP Digital Signal Processing
  • DSP Device digital signal processing equipment
  • PLD Programmable Logic Device
  • Field-Programmable Gate Array Field-Programmable Gate Array
  • FPGA Field-Programmable Gate Array
  • the technology described in some embodiments of the present disclosure can be implemented by modules (for example, procedures, functions, etc.) that perform the functions described in some embodiments of the present disclosure.
  • the software codes can be stored in the memory and executed by the processor.
  • the memory can be implemented in the processor or external to the processor.
  • the purpose of the present disclosure can also be realized by running a program or a group of programs on any computing device.
  • the computing device may be a well-known general-purpose device. Therefore, the purpose of the present disclosure can also be achieved only by providing a program product containing program code for implementing the method or device. That is, such a program product also constitutes the present disclosure, and a storage medium storing such a program product also constitutes the present disclosure.
  • the storage medium may be any well-known storage medium or any storage medium developed in the future. It should also be pointed out that, in the device and method of the present disclosure, obviously, each component or each step can be decomposed and/or recombined.
  • the technical solution of the present invention essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to enable a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the method described in each embodiment of the present invention.
  • a terminal which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Mathematical Physics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

本发明公开了一种按键指示方法,应用于电子设备,所述电子设备具有至少一个按键,其中所述方法包括:获取所述电子设备的状态信息;在所述状态信息满足预设条件的情况下,在显示屏中与所述按键对应的按键显示区域内,以第一方式显示与所述按键对应的目标指示图标。

Description

按键指示方法及电子设备
相关申请的交叉引用
本申请主张在2019年8月16日在中国提交的中国专利申请号No.201910759666.8的优先权,其全部内容通过引用包含于此。
技术领域
本发明涉及通信技术领域,尤其涉及一种按键指示方法及电子设备。
背景技术
目前,电子设备一般设有按键,如:物理按键、虚拟按键等,通过针对按键的操作,实现对电子设备的控制功能。例如:一种按键是在中框等外壳上开孔,在开孔处设置键帽。当用户在对键帽按触时,键帽运动可以触发键帽下方的微动开关接通,从而实现按键功能;还有一种按键是在中框等外壳体处设置感应元件,以避免对中框进行开孔。当用户对按键进行按触时,中框壳体的按键位置发生形变,通过感应元件可以感应该形变,从而实现按键功能。这种按键虽然能够避免中框开孔对电子设备机械强度、防水、防尘等性能的影响,但是由于这种按键在中框壳体的表面上没有突起等标识特征,在光线不良的环境下不便于用户识别按键的位置。
发明内容
本发明提供了一种按键指示方法及电子设备,以解决在光线不良的环境下不便于用户识别按键位置的问题。
为了解决上述技术问题,本发明是这样实现的:
第一方面,本发明实施例提供了一种按键指示方法,应用于电子设备,所述电子设备具有至少一个按键,所述方法包括:
获取所述电子设备的状态信息;
在所述状态信息满足预设条件的情况下,在显示屏中与所述按键对应的按键显示区域内,以第一方式显示与所述按键对应的目标指示图标。
第二方面,本发明实施例还提供了一种电子设备,所述电子设备具有至少一个按键,所述电子设备包括:
获取模块,用于获取所述电子设备的状态信息;
第一显示模块,用于在所述状态信息满足预设条件的情况下,在显示屏中与所述按键对应的按键显示区域内,以第一方式显示与所述按键对应的目标指示图标。
第三方面,本发明实施例还提供了一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如上所述的按键指示方法的步骤。
第四方面,本发明实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如上所述的按键指示方法的步骤。
在本发明实施例中,通过获取所述电子设备的状态信息;在所述状态信息满足预设条件的情况下,在显示屏中与所述按键对应的按键显示区域内,以第一方式显示与所述按键对应的目标指示图标,保证用户能够直接确定目标指示图标的位置,进而可以确定对应按键所在的位置,避免在光线不良的环境用户无法识别按键位置的问题,从而便于用于操作。
附图说明
为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例的描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1表示本发明实施例的按键指示方法的流程图之一;
图2表示本发明实施例的按键的结构示意图;
图3表示本发明实施例的指示图标的显示示意图之一;
图4表示本发明实施例的指示图标的显示示意图之二;
图5表示本发明实施例的按键指示方法的流程图之二;
图6表示本发明实施例中以第一方式显示按键对应的指示图标的流程图;
图7表示本发明实施例的按键处于非触发状态时对应指示图标的显示示意图之一;
图8表示本发明实施例的按键处于触发状态时对应指示图标的显示示意图之一;
图9表示本发明实施例的按键处于非触发状态时对应指示图标的显示示意图之二;
图10表示本发明实施例的按键处于触发状态时对应指示图标的显示示意图之二;
图11表示本发明实施例的电子设备处于展开状态时按键对应指示图标的显示示意图之一;
图12表示本发明实施例的电子设备处于折叠状态时按键对应指示图标的显示示意图之一;
图13表示本发明实施例的具有折叠屏的电子设备的按键的结构示意图;
图14表示本发明实施例的电子设备处于展开状态时按键对应指示图标的显示示意图之二;
图15表示本发明实施例的电子设备处于展开状态时按键对应指示图标的显示示意图之三;
图16表示本发明实施例的电子设备处于折叠状态时按键对应指示图标的显示示意图之二;
图17表示本发明实施例的电子设备的框图;
图18表示本发明实施例的电子设备的硬件结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
如图1所示,本发明实施例提供了一种按键指示方法,应用于电子设备,所述电子设备具有至少一个按键;
其中,该按键可以为物理按键、感应按键、触控按键以及其他形式的按键,本发明实施例对此不作具体限定。按键用于接收用户通过按压、触摸、点击等操作输入的交互指令。如图2,给出了一种按键的示例,所述按键具有感应元件21,如:压力传感器;感应元件21设置于电子设备的中框22内侧。这样,当用户手指23按压该按键时,中框22受力发生形变(图2中虚线所示),通过感应元件21感应中框22的形变程度,即按键受到的压力值,从而可以根据该压力值判断该按键是否被触发。
步骤11:获取所述电子设备的状态信息。
可选的,所述状态信息可以包括但不限于以下至少一项:所述电子设备的运动参数,屏幕状态信息,中央处理器(CPU)的状态信息,当前运行应用的类型等;
其中,所述运动参数可以包括但不限于以下至少一项:移动速度、移动加速度、翻转角度。如:配置有低功耗的加速度计的智能手机、手表等电子设备,当电子设备处于开机状态时,可以监测电子设备在三维坐标系中的线性加速度;或者,配置有速度传感器的电子设备,当电子设备处于开机状态时,可以监测电子设备的运动速度;再或者,配置有重力传感器、陀螺仪等的电子设备,可以检测得到电子设备的翻转状态。
其中,屏幕状态信息可以包括:亮屏状态的第一信息,熄屏状态的第二信息;其中,CPU的状态信息可以包括:CPU的工作状态、运行状态等。
步骤12:在所述状态信息满足预设条件的情况下,在显示屏中与所述按键对应的按键显示区域内,以第一方式显示与所述按键对应的目标指示图标。
可选的,在所述状态信息为所述电子设备的运动参数的情况下,所述状态信息满足预设条件包括以下至少一项:所述电子设备的移动速度大于预设速度、所述电子设备的移动加速度大于预设加速度、所述电子设备的翻转角度大于预设角度。
可选的,在所述状态信息为所述电子设备的屏幕状态信息的情况下,所述状态信息满足预设条件可以包括:屏幕状态信息为表示亮屏状态的第一信息。
可选的,在所述状态信息为CPU的状态信息的情况下,所述状态信息满 足预设条件可以包括:CPU的工作状态为用户状态,运行状态满足预设条件等。
可选的,在所述状态信息为当前运行应用的类型的情况下,所述状态信息满足预定条件还可以包括:当前运行应用的类型为预定应用类型等。
需要说明的是,在所述状态信息可以包括但不限于以下至少一项:所述电子设备的运动参数,屏幕状态信息,中央处理器(CPU)的状态信息,当前运行应用的类型等的情况下,该预设条件也可以相应地根据状态信息对应的上述预设条件的组合确定,例如:所述状态信息为CPU的状态信息及当前运行应用的类型的情况下,若CPU的工作状态为用户状态且当前运行应用的类型为预定应用类型,则确定所述状态信息满足预设条件;当然还可以是除此之外的其他组合方式,本发明不以此为限。
其中,显示屏用于显示文字、图形等元素,还可以接收用户通过点击、划动等操作输入的交互指令。
可选的,作为一种实现方式,所述目标指示图标的位置可以靠近对应的按键的位置,目标指示图标的纵向长度可以是与对应的按键的分布范围相当,以便于操作和节省空间,以避免过度小于或大于按键尺寸导致操作不便。
作为另一种实现方式,目标指示图标的位置可以是显示屏中的预设位置。具体的,可以是在显示屏的任意位置,显示一模型图标,如在显示屏的一个角落(如:右下角),显示一个模型图标。其中,该模型图标上可以标记有各个按键对应的目标指示图标的位置,如该模型图标也可以是标记有各个按键对应的目标指示图标的位置的显示界面的缩略图。
可选的,所述按键显示区域与所述按键的按键操作区域不同。例如:按键的操作区域位于电子设备的中框,而按键显示区域位于电子设备的显示屏。按键的操作区域是中框上的按键所在区域,而按键显示区域用于提供指示作用,便于用户确定按键在中框上的位置。
如图3和图4,给出了一种指示图标的显示示例,在电子设备的中框上可以设置一个或者多个按键,如图3中的电子设备的具有按键A、B、C、D、E、F,依次分别对应显示屏31上的指示图标A1、B1、C1、D1、E1、F1。
上述方案中,通过获取所述电子设备的状态信息;在所述状态信息满足 预设条件的情况下,在显示屏中与所述按键对应的按键显示区域内,以第一方式显示与所述按键对应的目标指示图标,保证用户能够直接确定目标指示图标的位置,进而可以确定对应按键所在的位置,避免在光线不良的环境用户无法识别按键位置的问题,从而便于用于操作。
如图5所示,本发明实施例还提供了一种按键指示方法,应用于电子设备,所述电子设备具有至少一个按键,所述方法包括:
步骤11:获取所述电子设备的状态信息;
可选的,所述状态信息可以包括但不限于以下至少一项:所述电子设备的运动参数,屏幕状态信息,中央处理器(CPU)的状态信息,当前运行应用的类型等;
其中,所述运动参数可以包括但不限于以下至少一项:移动速度、移动加速度、翻转角度。如:配置有低功耗的加速度计的智能手机、手表等电子设备,当电子设备处于开机状态时,可以监测电子设备在三维坐标系中的线性加速度;或者,配置有速度传感器的电子设备,当电子设备处于开机状态时,可以监测电子设备的运动速度;再或者,配置有重力传感器、陀螺仪等的电子设备,可以检测得到电子设备的翻转状态。
其中,屏幕状态信息可以包括:亮屏状态的第一信息,熄屏状态的第二信息;其中,CPU的状态信息可以包括:CPU的工作状态、运行状态等。
步骤12:在所述状态信息满足预设条件的情况下,在显示屏中与所述按键对应的按键显示区域内,以第一方式显示与所述按键对应的目标指示图标。
可选的,在所述状态信息为所述电子设备的运动参数的情况下,所述状态信息满足预设条件包括以下至少一项:所述电子设备的移动速度大于预设速度、所述电子设备的移动加速度大于预设加速度、所述电子设备的翻转角度大于预设角度。
可选的,在所述状态信息为所述电子设备的屏幕状态信息的情况下,所述状态信息满足预设条件可以包括:屏幕状态信息为表示亮屏状态的第一信息。
可选的,在所述状态信息为CPU的状态信息的情况下,所述状态信息满足预设条件可以包括:CPU的工作状态为用户状态,运行状态满足预设条件 等。
可选的,在所述状态信息为当前运行应用的类型的情况下,所述状态信息满足预定条件还可以包括:当前运行应用的类型为预定应用类型等。
需要说明的是,在所述状态信息可以包括但不限于以下至少一项:所述电子设备的运动参数,屏幕状态信息,中央处理器(CPU)的状态信息,当前运行应用的类型等的情况下,该预设条件也可以相应地根据状态信息对应的上述预设条件的组合确定,例如:所述状态信息为CPU的状态信息及当前运行应用的类型的情况下,若CPU的工作状态为用户状态且当前运行应用的类型为预定应用类型,则确定所述状态信息满足预设条件;当然还可以是除此之外的其他组合方式,本发明不以此为限。
其中,显示屏用于显示文字、图形等元素,还可以接收用户通过点击、划动等操作输入的交互指令。
可选的,作为一种实现方式,所述目标指示图标的位置可以靠近对应的按键的位置,目标指示图标的纵向长度可以是与对应的按键的分布范围相当,以便于操作和节省空间,以避免过度小于或大于按键尺寸导致操作不便。
作为另一种实现方式,目标指示图标的位置可以是显示屏中的预设位置。具体的,可以是在显示屏的任意位置,显示一模型图标,如在显示屏的一个角落(如:右下角),显示一个模型图标。其中,该模型图标上可以标记有各个按键对应的目标指示图标的位置,如该模型图标也可以是标记有各个按键对应的目标指示图标的位置的显示界面的缩略图。
可选的,所述按键显示区域与所述按键的按键操作区域不同。例如:按键的操作区域位于电子设备的中框,而按键显示区域位于电子设备的显示屏。按键的操作区域是中框上的按键所在区域,而按键显示区域用于提供指示作用,便于用户确定按键在中框上的位置。
例如:第一方式为显式方式;具体的,在所述状态信息满足预设条件的情况下,按键对应的目标指示图标以显式方式进行显示。其中,显式方式是:目标指示图标可以突出显示于显示屏中除按键显示区域外的图案/界面的显示方式,如该目标指示图标在颜色、透明度等显示参数上会明显区别于显示屏中除按键显示区域外的显示内容,使得用户在显示屏上能够很容易发现、 区分该目标指示图标,从而用户能够直接确定目标指示图标的位置,进而可以确定按键的位置;如图3中,以显式方式进行显示的目标指示图标以实线标识。
步骤13:在所述状态信息不满足所述预设条件的情况下,在显示屏中与所述按键对应的按键显示区域内,以第二方式显示与所述按键对应的所述目标指示图标,或者,不显示所述目标指示图标。
可选的,在所述状态信息为所述电子设备的运动参数的情况下,所述状态信息不满足所述预设条件包括以下至少一项:所述电子设备的移动速度小于或等于预设速度、所述电子设备的移动加速度小于或等于预设加速度、所述电子设备的翻转角度小于或等于预设角度。
可选的,在所述状态信息为所述电子设备的屏幕状态信息的情况下,所述状态信息不满足预设条件可以包括:屏幕状态信息为表示熄屏状态的第二信息。
可选的,在所述状态信息为CPU的状态信息的情况下,所述状态信息不满足预设条件可以包括:CPU的工作状态为系统状态和/或运行状态不满足预设条件等。
可选的,在所述状态信息为当前运行应用的类型的情况下,所述状态信息不满足预定条件还可以包括:当前运行应用的类型不是预定应用类型等。
需要说明的是,在所述状态信息可以包括但不限于以下至少一项:所述电子设备的运动参数,屏幕状态信息,中央处理器(CPU)的状态信息,当前运行应用的类型等的情况下,该预设条件也可以相应地根据状态信息对应的上述预设条件的组合确定,例如:所述状态信息为屏幕状态信息及当前运行应用的类型的情况下,若屏幕状态信息表示为亮屏状态的第一信息,且当前运行应用的类型不是预定应用类型,则确定所述状态信息不满足预设条件;当然还可以是除此之外的其他组合方式,本发明不以此为限。
例如:第二方式为隐式显示;具体的,在所述状态信息不满足所述预设条件的情况下,按键对应的目标指示图标以隐式方式进行显示。其中,隐式方式是:目标指示图标可以弱化显示于显示屏中除按键显示区域外的图案/界面的显示方式,如该目标指示图标在颜色、透明度等显示参数上会接近于显 示屏中除按键显示区域外的显示内容,使得用户在显示屏上较为难以发现、区分该指示图标,避免目标指示图标占用显示屏的显示区域,影响显示屏的显示效果;如:隐式方式下的目标指示图标对应的显示透明度,高于显式方式下的目标指示图标对应的显示透明度。优选的,隐式方式下的目标指示图标可以设置为全透明状态,则表现为不显示所述目标指示图标。如图4中,以隐式方式显示的指示图标以虚线标识。
具体的,当状态信息从满足所述预设条件切换为不满足所述预设条件,则按键对应的目标指示图标以显式方式显示切换为以隐式方式显示;当状态信息从不满足所述预设条件切换为满足所述预设条件,则按键对应的目标指示图标从隐式方式显示切换为显式方式显示。
可选的,如图3和图4,给出了一种指示图标的显示示例,在电子设备的中框上可以设置一个或者多个按键,如图3中的电子设备的具有按键A、B、C、D、E、F,依次分别对应显示屏31上的指示图标A1、B1、C1、D1、E1、F1。指示图形的显示参数可以是非固定的,即指示图标的显示参数(图案、形状、颜色等)可以根据对应按键的按键功能发生改变。如:在音频播放界面下,按键E的功能可以是音量调节功能(音量上调“+”和音量下调“-”),在阅读界面(如:电子书的阅读界面、浏览器的浏览界面)下,按键E的功能可以是翻页功能(向上翻页和向下翻页)等。
以游戏界面为例,上述按键A、C、D、F对应的按键操作指令,如:左方向键、右方向键、加速键、刹车键;按键B可以用于接收用户以下操作之一:开/关机操作、亮屏操作、灭屏操作;按键E可以用于接收用户的音量调节操作。
上述方案中,通过获取所述电子设备的状态信息;在所述状态信息满足预设条件的情况下,在显示屏中与所述按键对应的按键显示区域内,以第一方式显示与所述按键对应的目标指示图标,保证用户能够直接确定目标指示图标的位置,进而可以确定对应按键所在的位置,避免在光线不良的环境下用户无法识别按键位置的问题,从而便于用于操作;以及在所述状态信息不满足所述预设条件的情况下,在显示屏中与所述按键对应的按键显示区域内,以第二方式显示与所述按键对应的所述目标指示图标或者不显示所述目标指 示图标,避免目标指示图标占用显示屏的显示区域,影响显示屏的显示效果。
可选的,在上述的任意一个实施例中,所述按键还可以具有响应按键操作功能的激活状态以及不响应按键操作功能的非激活状态;
其中,在所述状态信息满足所述预设条件的情况下,所述按键处于所述激活状态;在所述状态信息不满足所述预设条件的情况下,所述按键处于所述非激活状态。
具体的,所述按键为具有感应元件的感应按键,当按键处于激活模式的情况下,可以采用上述实施例中的方式判断按键是否被触发。
当按键被触发时,则电子设备响应该触发执行相应按键功能,即按键能正常检测用户的按压、点击等操作,且能主动向电子设备控制系统上报该事件,且电子设备将响应该事件;
当按键未被触发时,或者当按键处于非激活模式的情况下,无论该按键上是否有按压操作,该电子设备均不响应,即该按键无法检测用户的按压、点击等操作,也不会主动向电子设备控制系统上报该事件,电子设备也不会响应该事件。
例如:当该按键被配置为音量调节功能时,若所述按键处于激活模式,则用户按压该按键时,电子设备将执行音量调节程序;当按键处于非激活模式,则用户按压该按键时,电子设备不会执行音量调节程序。
可选的,上述步骤11可以具体包括:
获取所述电子设备的运动参数;其中,所述运动参数包括以下至少一项:速度、加速度、翻转状态;
根据所述运动参数,确定所述按键的功能状态。其中,所述按键的功能状态包括:具有响应按键操作功能的激活状态,以及不响应按键操作功能的非激活状态;
具体的,若所述运动参数满足第一条件,则确定所述按键处于所述激活状态;其中,所述第一条件包括以下至少一项:所述速度大于预设速度、所述加速度大于预设加速度、所述翻转状态为翻转角度大于预设角度的第一翻转状态;
若所述运动参数满足第二条件,则确定所述按键的处于所述非激活状态; 其中,所述第二条件包括以下至少一项:所述速度小于或者等于预设速度、所述加速度小于或者等于所述预设加速度、所述翻转状态为翻转角度小于或者等于预设角度的第二翻转状态。
作为一种实现方式:配置有低功耗的加速度计的智能手机、手表等电子设备,当电子设备处于开机状态时,可以监测电子设备在三维坐标系中的线性加速度,通过监测得到的线性加速度,即可确定电子设备当前的运动状态。例如:当电子设备静置于桌面上时,监测得到的线性加速度处于第一加速度范围(或者监测得到的线性加速度的变化量趋于零),则确定电子设备的运动状态为静止状态,即为非激活状态,则将按键对应的指示图标的显示方式配置为隐式方式,如:浅色显示、提高透明度等;
当电子设备处于用户手中且用户处于步行、游泳、跑步等运动状态时,监测得到的线性加速度处于第二加速度范围(或者监测得到的线性加速度的变化量较大,或者呈现出一定的规律变化),则确定电子设备的运动状态为剧烈移动/晃动状态,即为激活状态,则将按键对应的指示图标的显示方式配置为显式方式,如:深色显示,降低透明度等。
可选的,还可以是在监测到电子设备的运动状态为静止状态时,确定为激活状态,在监测到电子设备的运动状态为剧烈移动/晃动状态时,确定为非激活状态。
作为另一种实现方式:配置有速度传感器的电子设备,当电子设备处于开机状态时,可以监测电子设备的运动速度,通过监测得到的运动速度,即可确定电子设备当前的运动状态。例如:当电子设备静置于桌面上时,监测得到的运动速度处于第一速度范围(或者监测得到的运动速度的变化量趋于零),则确定电子设备的运动状态为静止状态,即为非激活状态,则将按键对应的指示图标的显示方式配置为隐式方式,如:浅色显示、提高透明度等;
当电子设备处于用户手中且用户处于步行、游泳、跑步等运动状态时,监测得到的运动速度处于第二速度范围(或者监测得到的运动速度的变化量较大,或者呈现出一定的规律变化),则确定电子设备的运动状态为剧烈移动/晃动状态,即为激活状态,则将按键对应的指示图标的显示方式配置为显式方式,如:深色显示,降低透明度。
可选的,还可以是在监测到电子设备的运动状态为静止状态时,确定为激活状态,在监测到电子设备的运动状态为剧烈移动/晃动状态时,确定为非激活状态。
作为再一种实现方式,配置有重力传感器、陀螺仪等的电子设备,可以检测得到电子设备的翻转状态。如以显示屏为基准举例说明:电子设备从显示屏处于水平状态切换至显示屏于水平面的夹角达到预设角度(静置于桌面的状态被用户拿起,且显示屏倾斜预定角度),或者电子设备的显示屏从水平向下翻转至水平向上,或者电子设备的显示屏从水平向下翻转至水平向上等,则确定所述电子设备的翻转状态为第一翻转状态,即为激活状态,则将按键对应的指示图标的显示方式配置为显式方式,如:深色显示,降低透明度;
当电子设备的翻转角度小于一预设角度时,则确定所述电子设备的翻转状态为第二翻转状态,即为非激活状态,则将按键对应的指示图标的显示方式配置为隐式方式,如:浅色显示、提高透明度等。
这样,当电子设备处于锁屏状态时,通过监测电子设备的运动状态,可以确定按键的功能状态,如:电子设备在静止状态下主动激活按键并通过指示图标对按键的位置加以指示,运动状态下主动禁用按键并取消指示图标对按键位置的指示。如此,既能满足用户的使用体验需求,又能节省电子设备的电能,还能在电子设备处于静止时保持较为整洁的显示界面。
如图6,根据以上至少一个实施例,上述在所述按键处于所述激活状态的情况下,在显示屏中与所述按键对应的按键显示区域内,以第一显式方式显示所述按键对应的目标指示图标的步骤,可以具体包括:
步骤121:获取所述按键的目标工作状态;
具体的,获取所述按键的感应参数,如:可以通过按键中的感应元件获取所述按键的感应参数;若所述感应参数的变化量达到预设门限,则确定所述按键的工作状态为触发状态;若所述感应参数的变化量低于所述预设门限,则确定所述按键的工作状态为非触发状态;
其中,当按键处于激活模式时,用户手指按压、点击按键所在区域,将会触发按键。所谓触发,是指按键检测到压力、温度、形变量等感应参数发生变化,或发生较为显著的变化(压力、温度、形变等的变化量达到预设门限), 即确定检测到用户的按键操作行为。可选的,按键的触发状态,按照发生的先后顺序,至少可分为触发前、触发中和触发后。其中,触发前、触发后均为未触发状态,触发中为触发状态。
步骤122:根据工作状态与显示模式之间的对应关系,确定所述目标工作状态对应的目标指示图标。
其中,不同目标工作状态对应的目标指示图标之间,可以是以下中的至少一项不同:指示图标的形状、指示图标的图案、指示图标的颜色等。如图7和图8,给出了一种电子设备的显示界面的示意图,其中该电子设备为智能手表;第一显示模式可以是指显示指示图标A,第二显示模式可以是指显示指示图标B。指示图标A可以是手表表盘上的数字或刻度,用于指示手表的显示时间和按键61的位置,指示图标B可以是手表表盘上的按键功能图示,用于指示按键61的触发状态和对应功能。
步骤123:在显示屏中与所述按键对应的按键显示区域内,按照所述目标显示模式,以第一方式显示所述按键对应的指示图标。
具体的,在所述按键的工作状态为触发状态的情况下,在显示屏中与所述按键对应的按键显示区域内,以第一方式显示所述按键对应的目标指示图标;其中,所述目标指示图标为具有第一图案的图标;
在所述按键的工作状态为非触发状态的情况下,在显示屏中与所述按键对应的按键显示区域内,以第一方式显示所述按键对应的目标指示图标;其中,所述目标指示图标为具有第二图案的图标。
可选的,当按键处于触发状态时,以第一显示模式显示该目标指示图标,如:该目标指示图标的图案为第一图案;当按键处于非触发状态时,以第二显示模式显示该目标指示图标,如:该目标指示图标的图案为第二图案。其中,当按键处于触发前、触发后阶段时对应的指示图标与触发中阶段对应的指示图标之间可以不相同。
如图7,当智能手表的按键61处于非触发状态时,所述按键61对应的指示图标A用于显示时钟刻度,如数字“3”,以指示手表的显示时间和按键61的位置;如图8,当智能手表的按键61处于触发状态时,所述按键对应的指示图标B可以是手表表盘上的按键功能图标,如“电源图案”,用于指示按 键的功能为开/关机功能。
如图9,按键61对应的指示图案C可以是用于指示未读消息数量和状态的图形;如图10,按键61对应的指示图形D可以是手表表盘上的电源键图形。当用户未触摸/按压按键61时(按键61处于非触发状态),按键61对应的按键显示区域内显示指示图标C;当用户触摸/按压按键61时(即按键61处于触发状态),所述按键61对应的按键显示区域内所显示的指示图标C被替换成指示图标D;当用户松开按键61时(即按键61处于非触发状态),所述按键61对应的按键显示区域内所显示的指示图标D又被替换成指示图标C。优选的,指示图标C、指示图标D的所显示的图形大小、显示位置基本相当。
该实施例中,针对按键的工作状态,也即在按键处于触发状态和非触发状态时,按键对应的按键显示区域显示不同的指示图标,以提示按键的工作状态;并且通过指示图标显示与按键当前状态对应的功能图标,以便于指示该按键当前对应的按键功能。
根据以上至少一个实施例,在所述物理按键处于所述激活状态的情况下,上述在显示屏中与所述按键对应的按键显示区域内,以第一方式显示所述按键对应的目标指示图标的步骤,可以具体包括:
获取目标应用信息;例如:该目标应用信息可以是前台应用的应用信息。
根据所述目标应用信息,配置与所述按键对应的按键功能;
在显示屏中与所述按键对应的按键显示区域内,以第一方式显示所述按键功能对应的目标指示图标。
例如:在目标应用信息为音频播放界面的情况下,按键E的功能可以是音量调节功能(音量上调“+”和音量下调“-”),在目标应用信息为阅读界面(如:电子书的阅读界面、浏览器的浏览界面)的情况下,按键E的功能可以是翻页功能(向上翻页和向下翻页)等。这样,针对电子设备当前处于前台运行的不同应用,按键对应的按键显示区域显示不同的指示图标,以指示按键的在不同应用下的按键功能。
根据以上至少一个实施例,所述显示屏为折叠屏;在所述按键处于所述激活状态的情况下,上述在显示屏中与所述按键对应的按键显示区域内,以 第一方式显示所述按键对应的目标指示图标的步骤,可以具体包括:
获取所述折叠屏的状态;
当所述折叠屏处于折叠状态时,将所述按键的功能配置为第一按键功能,并在所述显示屏中与所述按键对应的按键显示区域内,显示所述第一按键功能对应的第一目标指示图标;
当所述折叠屏处于展开状态时,将所述按键的功能配置为第二按键功能,并在所述显示屏中与所述按键对应的按键显示区域内,显示所述第二按键功能对应的第二目标指示图标。
以下结合具体示例,对具有折叠屏的电子设备的按键指示方法进行说明:
示例一:
如图11至图16,给出了一种具有折叠屏的电子设备的示例;如图11,当电子设备的显示屏100处于展开状态时,按键101、102对应的功能可以是音量加、音量减,按键101对应的按键显示区域内显示“音量加”的指示图标A,按键101对应的按键显示区域内显示“音量减”的指示图标B;如图12,当电子设备显示屏处于折叠状态时,按键101、102对应的功能可以是游戏操作功能的左方向、右方向,按键101对应的按键显示区域内显示“左方向”的指示图标C,按键101对应的按键显示区域内显示“右方向”的指示图标D。
示例二:
如图13,在可折叠的显示屏120下方设置有基于压力传感器等原理实现的按键121;可选的,按键121设置于实现显示屏120折叠的转轴或铰链结构122与显示屏120之间。当手指按压按键121对应的显示屏区域时,显示屏发生形变将压力传递给按键121,即按键121接收到用户的输入操作。
例如:当电子设备的显示屏处于展开状态时,按键121的功能可配置为切换单页/双页显示的功能。如图14和图15,在显示屏中对应按键121在显示屏的正投影区域(按键显示区域),显示指示图标E作为切换单页/双页显示功能的指示图标。如图14,给出了一种单页显示的示例,即整个显示屏作为一个完整的显示页面;如图15,给出了一种双页显示的示例,即整个显示屏分为左、右两页显示,左、右两页之间的内容是独立的,具有明显的分页特 征。
当电子设备的显示屏处于折叠状态时,按键121的功能可配置为切换下一页的功能。如图16,在显示屏中对应按键121在显示屏的正投影区域(按键显示区域),显示指示图标F(或者指示图标G)作为切换下一页功能的指示图标。显示屏在折叠状态下,按键121实际位于电子设备的侧面,相当于一个侧键。当用户按压按键121所在区域时,电子设备将执行向下翻页的操作。当用户操作的显示屏为图16中的左侧显示屏时,按键121的对应的按键显示区域内显示为指示图形F;当用户操作的显示屏为图16中的右侧显示屏时,按键121的对应的按键显示区域内显示为指示图标G。
该实施例中,针对电子设备的物理状态,也即在电子设备的显示屏处于折叠状态和展开状态时,按键对应的按键显示区域显示不同的指示图标,以提示按键的当前的按键功能,有利于提高产品的易用性。
如图17,本发明实施例提供了一种电子设备1700,所述电子设备具有至少一个按键,所述电子设备1700包括:
获取模块1710,用于获取所述电子设备的状态信息;
第一显示模块1720,用于在所述状态信息满足预设条件的情况下,在显示屏中与所述按键对应的按键显示区域内,以第一方式显示与所述按键对应的目标指示图标。
可选的,所述电子设备1700还包括:
第二显示模块1730,用于在所述状态信息不满足所述预设条件的情况下,在显示屏中与所述按键对应的按键显示区域内,以第二方式显示与所述按键对应的所述目标指示图标,或者,不显示所述目标指示图标。
可选的,所述按键显示区域与所述按键的按键操作区域不同。
可选的,所述按键具有响应按键操作功能的激活状态以及不响应按键操作功能的非激活状态;
其中,在所述状态信息满足所述预设条件的情况下,所述按键处于所述激活状态;在所述状态信息不满足所述预设条件的情况下,所述按键处于所述非激活状态。
可选的,所述状态信息为所述电子设备的运动参数;其中,所述运动参 数包括以下至少一项:移动速度、移动加速度、翻转角度。
可选的,所述预设条件包括以下至少一项:所述电子设备的移动速度大于预设速度、所述电子设备的移动加速度大于预设加速度、所述电子设备的翻转角度大于预设角度。
可选的,在所述按键处于所述激活状态的情况下,所述第一显示模块1720具体包括:
第一获取子模块,用于获取所述按键的目标工作状态;
确定子模块,用于根据所述按键的工作状态与所述按键的指示图标之间的对应关系,确定与所述目标工作状态对应的目标指示图标;
第一显示子模块,用于在显示屏中与所述按键对应的按键显示区域内,以所述第一方式显示与所述按键对应的所述目标指示图标。
可选的,所述按键为感应按键;所述第一获取子模块具体包括:
获取单元,用于获取所述感应按键的感应参数;
第一确定单元,用于若所述感应参数的变化量达到预设门限,则确定所述按键的目标工作状态为触发状态;
第二确定单元,用于若所述感应参数的变化量低于所述预设门限,则确定所述按键的目标工作状态为非触发状态;
所述第一显示子模块具体包括:
第一显示单元,用于在所述按键的目标工作状态为所述触发状态的情况下,在显示屏中与所述按键对应的按键显示区域内,以第一方式显示与所述按键对应的所述目标指示图标,其中,所述目标指示图标为具有第一图案的图标;
第二显示单元,用于在所述按键的目标工作状态为所述非触发状态的情况下,在显示屏中与所述按键对应的按键显示区域内,以第一方式显示与所述按键对应的所述目标指示图标,其中,所述目标指示图标为具有第二图案的图标。
可选的,在所述按键处于所述激活状态的情况下,所述第一显示模块1720包括:
第二获取子模块,用于获取目标应用信息;
配置子模块,用于根据所述目标应用信息,配置与所述按键对应的按键功能;
第二显示子模块,用于在显示屏中与所述按键对应的按键显示区域内,以所述第一方式显示与所述按键功能对应的所述目标指示图标。
可选的,所述显示屏为折叠屏;所述第一显示模块1720包括:
第三获取子模块,用于在所述按键处于所述激活状态的情况下,获取所述折叠屏的状态;
第三显示子模块,用于当所述折叠屏处于折叠状态时,将所述按键的功能配置为第一按键功能,并在所述显示屏中与所述按键对应的按键显示区域内,显示与所述第一按键功能对应的第一目标指示图标;
第四显示子模块,用于当所述折叠屏处于展开状态时,将所述按键的功能配置为第二按键功能,并在所述显示屏中与所述按键对应的按键显示区域内,显示与所述第二按键功能对应的第二目标指示图标。
本发明实施例提供的电子设备能够实现图1至图16的方法实施例中电子设备实现的各个过程,为避免重复,这里不再赘述。
本发明实施例中的电子设备1700,通过获取所述电子设备的状态信息;在所述状态信息满足预设条件的情况下,在显示屏中与所述按键对应的按键显示区域内,以第一方式显示与所述按键对应的目标指示图标,保证用户能够直接确定目标指示图标的位置,进而可以确定对应按键所在的位置,避免在光线不良的环境用户无法识别按键位置的问题,从而便于用于操作。
图18为实现本发明各个实施例的一种电子设备的硬件结构示意图。
该电子设备1800包括但不限于:射频单元1801、网络模块1802、音频输出单元1803、输入单元1804、传感器1805、显示单元1806、用户输入单元1807、接口单元1808、存储器1809、处理器1810、以及电源1811等部件。本领域技术人员可以理解,图18中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。
其中,所述电子设备具有至少一个按键,处理器1810,用于获取所述电 子设备的状态信息;在所述状态信息满足预设条件的情况下,在显示屏中与所述按键对应的按键显示区域内,以第一方式显示与所述按键对应的目标指示图标。
本发明实施例中的电子设备1800,获取所述电子设备的状态信息;在所述状态信息满足预设条件的情况下,在显示屏中与所述按键对应的按键显示区域内,以第一方式显示与所述按键对应的目标指示图标,保证用户能够直接确定目标指示图标的位置,进而可以确定对应按键所在的位置,避免在光线不良的环境用户无法识别按键位置的问题,从而便于用于操作。
应理解的是,本发明实施例中,射频单元1801可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器1810处理;另外,将上行的数据发送给基站。通常,射频单元1801包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元1801还可以通过无线通信系统与网络和其他设备通信。
电子设备通过网络模块1802为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。
音频输出单元1803可以将射频单元1801或网络模块1802接收的或者在存储器1809中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元1803还可以提供与电子设备1800执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元1803包括扬声器、蜂鸣器以及受话器等。
输入单元1804用于接收音频或视频信号。输入单元1804可以包括图形处理器(Graphics Processing Unit,GPU)18041和麦克风18042,图形处理器18041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元1806上。经图形处理器18041处理后的图像帧可以存储在存储器1809(或其它存储介质)中或者经由射频单元1801或网络模块1802进行发送。麦克风18042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元1801发送到移动通信基站的格式输出。
电子设备1800还包括至少一种传感器1805,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板18061的亮度,接近传感器可在电子设备1800移动到耳边时,关闭显示面板18061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器1805还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。
显示单元1806用于显示由用户输入的信息或提供给用户的信息。显示单元1806可包括显示面板18061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板18061。
用户输入单元1807可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元1807包括触控面板18071以及其他输入设备18072。触控面板18071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板18071上或在触控面板18071附近的操作)。触控面板18071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器1810,接收处理器1810发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板18071。除了触控面板18071,用户输入单元1807还可以包括其他输入设备18072。具体地,其他输入设备18072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。
进一步的,触控面板18071可覆盖在显示面板18061上,当触控面板18071检测到在其上或附近的触摸操作后,传送给处理器1810以确定触摸事 件的类型,随后处理器1810根据触摸事件的类型在显示面板18061上提供相应的视觉输出。虽然在图18中,触控面板18071与显示面板18061是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板18071与显示面板18061集成而实现电子设备的输入和输出功能,具体此处不做限定。
接口单元1808为外部装置与电子设备1800连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元1808可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到电子设备1800内的一个或多个元件或者可以用于在电子设备1800和外部装置之间传输数据。
存储器1809可用于存储软件程序以及各种数据。存储器1809可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器1809可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
处理器1810是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器1809内的软件程序和/或模块,以及调用存储在存储器1809内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。处理器1810可包括一个或多个处理单元;优选的,处理器1810可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1810中。
电子设备1800还可以包括给各个部件供电的电源1811(比如电池),优选的,电源1811可以通过电源管理系统与处理器1810逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。
另外,电子设备1800包括一些未示出的功能模块,在此不再赘述。
优选的,本发明实施例还提供一种电子设备,包括处理器1810,存储器1809,存储在存储器1809上并可在所述处理器1810上运行的计算机程序,该计算机程序被处理器1810执行时实现上述按键指示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述按键指示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。
可以理解的是,本公开的一些实施例描述的这些实施例可以用硬件、软件、固件、中间件、微码或其组合来实现。对于硬件实现,模块、单元、子模块、子单元等可以实现在一个或多个专用集成电路(Application Specific Integrated Circuits,ASIC)、数字信号处理器(Digital Signal Processing,DSP)、数字信号处理设备(DSP Device,DSPD)、可编程逻辑设备(Programmable Logic Device,PLD)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、通用处理器、控制器、微控制器、微处理器、用于执行本申请所述功能的其它电子单元或其组合中。
对于软件实现,可通过执行本公开的一些实施例所述功能的模块(例如过程、函数等)来实现本公开的一些实施例所述的技术。软件代码可存储在存储器中并通过处理器执行。存储器可以在处理器中或在处理器外部实现。
因此,本公开的目的还可以通过在任何计算装置上运行一个程序或者一组程序来实现。所述计算装置可以是公知的通用装置。因此,本公开的目的也可以仅仅通过提供包含实现所述方法或者装置的程序代码的程序产品来实现。也就是说,这样的程序产品也构成本公开,并且存储有这样的程序产品的存储介质也构成本公开。显然,所述存储介质可以是任何公知的存储介质或者将来所开发出来的任何存储介质。还需要指出的是,在本公开的装置和方法中,显然,各部件或各步骤是可以分解和/或重新组合的。这些分解和 /或重新组合应视为本公开的等效方案。并且,执行上述系列处理的步骤可以自然地按照说明的顺序按时间顺序执行,但是并不需要一定按照时间顺序执行。某些步骤可以并行或彼此独立地执行。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。

Claims (25)

  1. 一种按键指示方法,应用于电子设备,所述电子设备具有至少一个按键,其特征在于,所述方法包括:
    获取所述电子设备的状态信息;
    在所述状态信息满足预设条件的情况下,在显示屏中与所述按键对应的按键显示区域内,以第一方式显示与所述按键对应的目标指示图标。
  2. 根据权利要求1所述的方法,其特征在于,还包括:
    在所述状态信息不满足所述预设条件的情况下,在显示屏中与所述按键对应的按键显示区域内,以第二方式显示与所述按键对应的所述目标指示图标,或者,不显示所述目标指示图标。
  3. 根据权利要求1所述的方法,其特征在于,所述按键显示区域与所述按键的按键操作区域不同。
  4. 根据权利要求2所述的方法,其特征在于,所述按键具有响应按键操作功能的激活状态以及不响应按键操作功能的非激活状态;
    其中,在所述状态信息满足所述预设条件的情况下,所述按键处于所述激活状态;在所述状态信息不满足所述预设条件的情况下,所述按键处于所述非激活状态。
  5. 根据权利要求1至4任一项所述的方法,其特征在于,所述状态信息为所述电子设备的运动参数;其中,所述运动参数包括以下至少一项:移动速度、移动加速度、翻转角度。
  6. 根据权利要求5所述的方法,其特征在于,所述预设条件包括以下至少一项:所述电子设备的移动速度大于预设速度、所述电子设备的移动加速度大于预设加速度、所述电子设备的翻转角度大于预设角度。
  7. 根据权利要求4所述的方法,其特征在于,在所述按键处于所述激活状态的情况下,所述在显示屏中与所述按键对应的按键显示区域内,以第一方式显示与所述按键对应的目标指示图标,具体包括:
    获取所述按键的目标工作状态;
    根据所述按键的工作状态与所述按键的指示图标之间的对应关系,确定 与所述目标工作状态对应的目标指示图标;
    在显示屏中与所述按键对应的按键显示区域内,以所述第一方式显示与所述按键对应的所述目标指示图标。
  8. 根据权利要求7所述的方法,其特征在于,所述按键为感应按键;所述获取所述按键的目标工作状态,具体包括:
    获取所述感应按键的感应参数;
    若所述感应参数的变化量达到预设门限,则确定所述按键的目标工作状态为触发状态;
    若所述感应参数的变化量低于所述预设门限,则确定所述按键的目标工作状态为非触发状态;
    所述在显示屏中与所述按键对应的按键显示区域内,以所述第一方式显示与所述按键对应的所述目标指示图标,具体包括:
    在所述按键的目标工作状态为所述触发状态的情况下,在显示屏中与所述按键对应的按键显示区域内,以第一方式显示与所述按键对应的所述目标指示图标,其中,所述目标指示图标为具有第一图案的图标;
    在所述按键的目标工作状态为所述非触发状态的情况下,在显示屏中与所述按键对应的按键显示区域内,以第一方式显示与所述按键对应的所述目标指示图标,其中,所述目标指示图标为具有第二图案的图标。
  9. 根据权利要求4所述的方法,其特征在于,在所述按键处于所述激活状态的情况下,所述在显示屏中与所述按键对应的按键显示区域内,以第一方式显示与所述按键对应的目标指示图标,包括:
    获取目标应用信息;
    根据所述目标应用信息,配置与所述按键对应的按键功能;
    在显示屏中与所述按键对应的按键显示区域内,以所述第一方式显示与所述按键功能对应的所述目标指示图标。
  10. 根据权利要求4所述的方法,其特征在于,所述显示屏为折叠屏;所述在所述按键处于所述激活状态的情况下,在显示屏中与所述按键对应的按键显示区域内,以第一方式显示与所述按键对应的目标指示图标,包括:
    获取所述折叠屏的状态;
    当所述折叠屏处于折叠状态时,将所述按键的功能配置为第一按键功能,并在所述显示屏中与所述按键对应的按键显示区域内,显示与所述第一按键功能对应的第一目标指示图标;
    当所述折叠屏处于展开状态时,将所述按键的功能配置为第二按键功能,并在所述显示屏中与所述按键对应的按键显示区域内,显示与所述第二按键功能对应的第二目标指示图标。
  11. 一种电子设备,所述电子设备具有至少一个按键,其特征在于,所述电子设备包括:
    获取模块,用于获取所述电子设备的状态信息;
    第一显示模块,用于在所述状态信息满足预设条件的情况下,在显示屏中与所述按键对应的按键显示区域内,以第一方式显示与所述按键对应的目标指示图标。
  12. 根据权利要求11所述的电子设备,其特征在于,还包括:
    第二显示模块,用于在所述状态信息不满足所述预设条件的情况下,在显示屏中与所述按键对应的按键显示区域内,以第二方式显示与所述按键对应的所述目标指示图标,或者,不显示所述目标指示图标。
  13. 根据权利要求11所述的电子设备,其特征在于,所述按键显示区域与所述按键的按键操作区域不同。
  14. 根据权利要求12所述的电子设备,其特征在于,所述按键具有响应按键操作功能的激活状态以及不响应按键操作功能的非激活状态;
    其中,在所述状态信息满足所述预设条件的情况下,所述按键处于所述激活状态;在所述状态信息不满足所述预设条件的情况下,所述按键处于所述非激活状态。
  15. 根据权利要求11至14任一项所述的电子设备,其特征在于,所述状态信息为所述电子设备的运动参数;其中,所述运动参数包括以下至少一项:移动速度、移动加速度、翻转角度。
  16. 根据权利要求15所述的电子设备,其特征在于,所述预设条件包括以下至少一项:所述电子设备的移动速度大于预设速度、所述电子设备的移动加速度大于预设加速度、所述电子设备的翻转角度大于预设角度。
  17. 根据权利要求14所述的电子设备,其特征在于,在所述按键处于所述激活状态的情况下,所述第一显示模块具体包括:
    第一获取子模块,用于获取所述按键的目标工作状态;
    确定子模块,用于根据所述按键的工作状态与所述按键的指示图标之间的对应关系,确定与所述目标工作状态对应的目标指示图标;
    第一显示子模块,用于在显示屏中与所述按键对应的按键显示区域内,以所述第一方式显示与所述按键对应的所述目标指示图标。
  18. 根据权利要求17所述的电子设备,其特征在于,所述按键为感应按键;所述第一获取子模块具体包括:
    获取单元,用于获取所述感应按键的感应参数;
    第一确定单元,用于若所述感应参数的变化量达到预设门限,则确定所述按键的目标工作状态为触发状态;
    第二确定单元,用于若所述感应参数的变化量低于所述预设门限,则确定所述按键的目标工作状态为非触发状态;
    所述第一显示子模块具体包括:
    第一显示单元,用于在所述按键的目标工作状态为所述触发状态的情况下,在显示屏中与所述按键对应的按键显示区域内,以第一方式显示与所述按键对应的所述目标指示图标,其中,所述目标指示图标为具有第一图案的图标;
    第二显示单元,用于在所述按键的目标工作状态为所述非触发状态的情况下,在显示屏中与所述按键对应的按键显示区域内,以第一方式显示与所述按键对应的所述目标指示图标,其中,所述目标指示图标为具有第二图案的图标。
  19. 根据权利要求14所述的电子设备,其特征在于,在所述按键处于所述激活状态的情况下,所述第一显示模块包括:
    第二获取子模块,用于获取目标应用信息;
    配置子模块,用于根据所述目标应用信息,配置与所述按键对应的按键功能;
    第二显示子模块,用于在显示屏中与所述按键对应的按键显示区域内, 以所述第一方式显示与所述按键功能对应的所述目标指示图标。
  20. 根据权利要求14所述的电子设备,其特征在于,所述显示屏为折叠屏;所述第一显示模块包括:
    第三获取子模块,用于在所述按键处于所述激活状态的情况下,获取所述折叠屏的状态;
    第三显示子模块,用于当所述折叠屏处于折叠状态时,将所述按键的功能配置为第一按键功能,并在所述显示屏中与所述按键对应的按键显示区域内,显示与所述第一按键功能对应的第一目标指示图标;
    第四显示子模块,用于当所述折叠屏处于展开状态时,将所述按键的功能配置为第二按键功能,并在所述显示屏中与所述按键对应的按键显示区域内,显示与所述第二按键功能对应的第二目标指示图标。
  21. 一种电子设备,其特征在于,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至10中任一项所述的按键指示方法的步骤。
  22. 根据权利要求21所述的电子设备,其特征在于,还包括接口单元,所述接口单元为外部装置与所述电子设备连接的接口。
  23. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至10中任一项所述的按键指示方法的步骤。
  24. 一种计算机程序产品,其特征在于,所述计算机程序产品被存储在非易失的存储介质中,所述程序产品被配置成被至少一个处理器执行以实现如权利要求1至10中任一项所述的按键指示方法的步骤。
  25. 一种电子装置,其特征在于,包括所述装置被配置成用于执行如权利要求1至10中任一项所述的按键指示方法的步骤。
PCT/CN2020/105515 2019-08-16 2020-07-29 按键指示方法及电子设备 WO2021031816A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
KR1020227008506A KR20220039822A (ko) 2019-08-16 2020-07-29 키 지시 방법 및 전자기기
EP20853696.1A EP4016268A4 (en) 2019-08-16 2020-07-29 KEY INDICATION METHOD AND ELECTRONIC DEVICE
JP2022510181A JP7321360B2 (ja) 2019-08-16 2020-07-29 キー指示方法及び電子機器
US17/671,916 US11720182B2 (en) 2019-08-16 2022-02-15 Key indication method and electronic device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910759666.8A CN110413172B (zh) 2019-08-16 2019-08-16 一种按键指示方法及电子设备
CN201910759666.8 2019-08-16

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/671,916 Continuation US11720182B2 (en) 2019-08-16 2022-02-15 Key indication method and electronic device

Publications (1)

Publication Number Publication Date
WO2021031816A1 true WO2021031816A1 (zh) 2021-02-25

Family

ID=68367583

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/105515 WO2021031816A1 (zh) 2019-08-16 2020-07-29 按键指示方法及电子设备

Country Status (6)

Country Link
US (1) US11720182B2 (zh)
EP (1) EP4016268A4 (zh)
JP (1) JP7321360B2 (zh)
KR (1) KR20220039822A (zh)
CN (1) CN110413172B (zh)
WO (1) WO2021031816A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4270163A1 (en) * 2022-04-25 2023-11-01 Apple Inc. User interfaces for facilitating operations
WO2023211790A1 (en) * 2022-04-25 2023-11-02 Apple Inc. User interfaces for facilitating operations

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110413172B (zh) 2019-08-16 2021-08-03 维沃移动通信有限公司 一种按键指示方法及电子设备
WO2021096509A1 (en) * 2019-11-14 2021-05-20 Hewlett-Packard Development Company, L.P. Function activations via display device depressions
CN111459382A (zh) * 2020-03-30 2020-07-28 维沃移动通信有限公司 触控输入方法及电子设备
CN112764647B (zh) * 2021-01-26 2023-08-15 维沃移动通信有限公司 显示方法、装置、电子设备及可读存储介质
US20240062640A1 (en) * 2022-04-25 2024-02-22 Apple Inc. User interfaces for facilitating operations

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005269243A (ja) * 2004-03-18 2005-09-29 Matsushita Electric Ind Co Ltd 電子機器及びアイコン表示制御方法
CN104035648A (zh) * 2013-03-04 2014-09-10 联想(北京)有限公司 状态切换的方法及电子终端
CN104216640A (zh) * 2013-05-29 2014-12-17 联想(北京)有限公司 物理按键位置提示方法及电子设备
CN106484236A (zh) * 2016-10-14 2017-03-08 珠海市魅族科技有限公司 一种物理按键提示操作的方法及装置
CN107566579A (zh) * 2017-10-19 2018-01-09 广东欧珀移动通信有限公司 拍摄方法、装置、终端及存储介质
CN108897668A (zh) * 2018-06-26 2018-11-27 联想(北京)有限公司 一种信息处理方法及电子设备
CN110413172A (zh) * 2019-08-16 2019-11-05 维沃移动通信有限公司 一种按键指示方法及电子设备

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101569776B1 (ko) * 2009-01-09 2015-11-19 삼성전자주식회사 접히는 표시부를 가지는 휴대 단말기 및 이의 운용 방법
JP2012145867A (ja) 2011-01-14 2012-08-02 Nikon Corp 電子機器
JP2013065289A (ja) * 2011-08-29 2013-04-11 Kyocera Corp 装置、方法、及びプログラム
JP2013225260A (ja) 2012-04-23 2013-10-31 Sharp Corp 携帯端末装置およびキー画像表示プログラム
JP2014134867A (ja) 2013-01-08 2014-07-24 Sharp Corp 情報処理端末
CN105487786A (zh) * 2015-11-30 2016-04-13 小米科技有限责任公司 应用程序图标管理方法及装置
KR102364420B1 (ko) * 2017-04-26 2022-02-17 삼성전자 주식회사 전자 장치 및 터치 입력에 기초하여 상기 전자 장치를 제어하는 방법
JP6504216B2 (ja) * 2017-08-30 2019-04-24 カシオ計算機株式会社 情報機器、表示方法及びプログラム
CN108427524A (zh) * 2018-02-11 2018-08-21 瑞声科技(新加坡)有限公司 移动终端

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005269243A (ja) * 2004-03-18 2005-09-29 Matsushita Electric Ind Co Ltd 電子機器及びアイコン表示制御方法
CN104035648A (zh) * 2013-03-04 2014-09-10 联想(北京)有限公司 状态切换的方法及电子终端
CN104216640A (zh) * 2013-05-29 2014-12-17 联想(北京)有限公司 物理按键位置提示方法及电子设备
CN106484236A (zh) * 2016-10-14 2017-03-08 珠海市魅族科技有限公司 一种物理按键提示操作的方法及装置
CN107566579A (zh) * 2017-10-19 2018-01-09 广东欧珀移动通信有限公司 拍摄方法、装置、终端及存储介质
CN108897668A (zh) * 2018-06-26 2018-11-27 联想(北京)有限公司 一种信息处理方法及电子设备
CN110413172A (zh) * 2019-08-16 2019-11-05 维沃移动通信有限公司 一种按键指示方法及电子设备

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4016268A4 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4270163A1 (en) * 2022-04-25 2023-11-01 Apple Inc. User interfaces for facilitating operations
WO2023211790A1 (en) * 2022-04-25 2023-11-02 Apple Inc. User interfaces for facilitating operations

Also Published As

Publication number Publication date
KR20220039822A (ko) 2022-03-29
US20220171471A1 (en) 2022-06-02
US11720182B2 (en) 2023-08-08
JP7321360B2 (ja) 2023-08-04
EP4016268A4 (en) 2023-03-15
CN110413172B (zh) 2021-08-03
EP4016268A1 (en) 2022-06-22
CN110413172A (zh) 2019-11-05
JP2022545201A (ja) 2022-10-26

Similar Documents

Publication Publication Date Title
WO2021031816A1 (zh) 按键指示方法及电子设备
WO2021129772A1 (zh) 一种虚拟键盘的显示方法和电子设备
CN108319390B (zh) 一种柔性屏的控制方法及移动终端
KR102554191B1 (ko) 정보 처리 방법 및 단말
CN109558061B (zh) 一种操作控制方法及终端
CN109085968B (zh) 一种截屏方法及终端设备
WO2021004306A1 (zh) 操作控制方法及终端
WO2021083091A1 (zh) 截图方法及终端设备
WO2021129745A1 (zh) 触控按键、控制方法及电子设备
US20210181935A1 (en) Processing method of display interface and mobile terminal
WO2020238459A1 (zh) 显示方法和终端设备
CN109407949B (zh) 一种显示控制方法及终端
CN110795021B (zh) 信息显示方法、装置及电子设备
WO2021147767A1 (zh) 图标显示方法及电子设备
KR20220158794A (ko) 정보 제시 방법, 전자기기 및 저장 매체
WO2020125405A1 (zh) 终端设备的控制方法及终端设备
CN108984099B (zh) 一种人机交互方法及终端
WO2021098696A1 (zh) 触控方法及电子设备
CN111309419A (zh) 一种分屏显示方法和电子设备
WO2020211602A1 (zh) 应用控制方法及终端设备
WO2020192662A1 (zh) 操作方法及终端设备
CN111338525A (zh) 一种电子设备的控制方法及电子设备
CN109885242B (zh) 一种执行操作的方法和电子设备
CN109189514B (zh) 一种终端设备的控制方法及终端设备
CN108984062B (zh) 一种内容显示方法、终端

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20853696

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2022510181

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 20227008506

Country of ref document: KR

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2020853696

Country of ref document: EP

Effective date: 20220316