WO2021036926A1 - 显示方法和电子设备 - Google Patents

显示方法和电子设备 Download PDF

Info

Publication number
WO2021036926A1
WO2021036926A1 PCT/CN2020/110466 CN2020110466W WO2021036926A1 WO 2021036926 A1 WO2021036926 A1 WO 2021036926A1 CN 2020110466 W CN2020110466 W CN 2020110466W WO 2021036926 A1 WO2021036926 A1 WO 2021036926A1
Authority
WO
WIPO (PCT)
Prior art keywords
display screen
application
display
unread message
user
Prior art date
Application number
PCT/CN2020/110466
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 华为技术有限公司
Publication of WO2021036926A1 publication Critical patent/WO2021036926A1/zh

Links

Images

Classifications

    • 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • 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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display

Definitions

  • This application relates to terminal technology, in particular to a display method and electronic equipment.
  • a punch screen terminal is shown. This type of terminal punches holes on the main screen 11.
  • a front camera 10 is set below the punched area.
  • the main screen 11 is on, the main screen In 11, the perforated area where the front camera is located cannot be displayed.
  • a secondary screen may be provided in the punched area directly above the camera, and the background color of the secondary screen can be fixedly displayed when the main screen is on. Or fixed content such as pattern logo.
  • the fixed content displayed on the secondary screen is not highly correlated with the content displayed on the main screen, which makes the integration of the terminal main screen and secondary screen display poor. , The utilization rate of the secondary screen is low.
  • the present application provides a display method and electronic equipment, which improves the utilization rate of the secondary screen and enriches the interaction mode between the secondary screen and the user.
  • the first aspect of the embodiments of the present application provides a display method, which is applied to an electronic device.
  • the electronic device includes a first display screen, a camera, and a second display screen.
  • the first display screen is provided with a punched area, and the punched area is provided with A camera and a second display screen, the method includes: detecting a first unread message of the first application; displaying a control corresponding to the first unread message on the second display screen; detecting that the user corresponds to the first unread message The first operation of the control; in response to the first operation, a first interface is displayed on the first display screen, the first interface including part of the content of the first unread message.
  • the control corresponding to the first unread message can be displayed on the second display screen, and the control corresponding to the first unread message can be further displayed on the second display screen.
  • a first operation of the user on the control corresponding to the first unread message is received, and in response to the first operation, a first interface including part of the content of the first unread message is displayed on the first display screen.
  • the second display screen is not only a decorative screen that shields the front camera, but can also prompt unread messages and provide an entry to quickly open an interface that includes part of the content of unread messages, that is, the embodiment of the present application It not only makes full use of the display area of the second display screen, but also provides a way for the user to directly interact with the secondary screen, thereby improving the utilization rate of the second display screen.
  • the first unread message may be an unread message received by the mobile phone from the server, such as an unread short message, or an unread WeChat message.
  • the first unread message may also be an unread message generated by a mobile phone, a reminder message generated by an application such as an alarm clock or a calendar in the mobile phone according to the user's setting, and so on.
  • control corresponding to the first unread message may be an icon of the first application program, a control corresponding to the first unread message, and so on. Then, the user can quickly open the first unread message by touching the control of the first unread message.
  • the first interface may also be the interface of the first application.
  • the first interface is the main interface of the WeChat application, or the dialogue interface with the sender in the WeChat application. Then, the user can further perform further processing of the first unread message in the first interface, such as viewing and replying to WeChat messages.
  • the method before displaying the control corresponding to the first unread message on the second display screen, the method further includes: detecting a second unread message of the second application; and , Display the control corresponding to the second unread message on the second display screen; wherein, the second application is used more frequently than the first application, or the second application is used longer than the first application, Or the second application program provides unread messages more frequently than the first application program, or the user reads the unread messages of the second application program more frequently than the first application program; or, the second unread message is more frequent than the first application program.
  • the unread message is generated earlier; or the second unread message arrives at the electronic device earlier than the first unread message.
  • the application program corresponding to the message provides the frequency of unread messages, or the frequency of the user reading the unread messages of the application corresponding to each unread message, or the time when the application corresponding to each unread message is generated, or the corresponding unread message
  • the time when the application arrives at the electronic device determines the priority of each unread message.
  • the control corresponding to the unread message with a higher priority is first displayed on the second display screen, and then the control for the unread message with a lower priority is displayed. , Which can provide users with important unread messages first, which improves the intelligence of prompts.
  • displaying the control corresponding to the first unread message on the second display screen includes: after displaying the control corresponding to the second unread message for a period of time, in the second display The control corresponding to the first unread message is displayed on the screen.
  • the controls corresponding to the multiple unread messages can be displayed in turn on the second display screen, thereby avoiding the omission of prompts for multiple unread messages, and making the prompts more comprehensive.
  • step S108 to step S112 in the specific embodiment may correspond to step S108 to step S112 in the specific embodiment, that is, step S108 to step S112 in the specific embodiment can be performed independently to realize the second display screen as Prompt unread messages and provide quick access to the interface that includes part of the content of unread messages.
  • the method further includes: closing the second display screen when the first interface is displayed on the first display screen; or, when the first interface is displayed on the first display screen , Display the control corresponding to the third application on the second display screen, the third application is an application set or defaulted by the user, or an application corresponding to the third unread message.
  • the second display screen when the first interface is displayed on the first display screen, the second display screen is closed, which can avoid the interference caused by the display of the second display screen to the first interface.
  • the controls corresponding to the third application are displayed on the second display screen.
  • the third application is a user-set or default application
  • the user can trigger the user settings or The controls of the default application program implement quick access to the application program interface.
  • the third application program is an application program corresponding to the third unread message
  • the second display screen may further prompt the user that there is a third unread message.
  • displaying the control corresponding to the first unread message on the second display screen includes: displaying the control corresponding to the first unread message on the second display screen always brightly or flashing Control.
  • the embodiments of this application provide users with diversified display modes. Specifically, flashing display can better attract users' attention, so as to achieve better prompt effect, and constant brightness display can avoid disturbing users, thereby increasing For the user’s comfort, the user can adapt to the setting of the display mode according to the actual application scenario, thereby improving the user experience.
  • the method before detecting the first unread message of the first application, the method further includes: displaying the controls of the fourth application on the second display screen; Operation of the control of the fourth application program; in response to the operation of the control of the fourth application program, the interface of the fourth application program is displayed on the first display screen.
  • the second display screen before the electronic device detects unread messages, the second display screen does not need to prompt for unread messages. Therefore, the second display screen can display the controls of the fourth application, and the user can trigger the fourth application.
  • the control in the first display screen displays the interface of the fourth application program, that is, in this embodiment of the present application, the user can quickly open the fourth application program through the second display screen, which improves the efficiency of the user opening the fourth application program .
  • the fourth application program may correspond to the set application program or the preset application program in the specific implementation mode.
  • this step may correspond to the specific implementation mode
  • Step S105 to step S107 when the fourth application is a preset application, this step may correspond to step S114 to step S116 in the specific embodiment, that is, step S105 to step S107 in the specific embodiment can be executed independently .
  • step S114 to step S116 can also be performed independently, so as to realize the second display screen as the entrance to quickly open the preset application .
  • the fourth application is a set application, and before the controls of the fourth application are displayed on the second display screen, the method further includes: detecting a user's trigger operation, The second display screen displays the controls of the fourth application program, including: in response to a user's trigger operation, displaying the controls of the fourth application program on the second display screen.
  • the control of the fourth application program is displayed on the second display screen only when the trigger operation of the user is detected, because the display of the control of the fourth application program on the second display screen is triggered by the user , So the display is more in line with user intent and enhance user experience.
  • the method further includes: in response to a trigger operation of the user, displaying a second interface on the first display screen, the second interface being an interface of a notification bar .
  • a user's triggering operation can trigger the display of the fourth application control on the second display screen, and can also trigger the display of the notification bar interface on the first display screen. It is understandable because the interface of the notification bar The unread notification message is already included in the second display screen, so there is no need to further prompt the unread message in the second display screen, but the interface of the notification bar may not include the controls of the fourth application, so the first display is displayed on the second display screen.
  • the controls corresponding to the fourth application program can supplement the content of the first display screen, which is convenient for the user to quickly implement the operation of the fourth application program.
  • the trigger operation includes any one of the following: a sliding operation on the first display screen, an upward sliding operation on the first display screen, and an oblique operation on the first display screen.
  • the fourth application is an application selected by the user, and the controls of the fourth application are displayed on the second display screen, including: the fourth application is selected by the user After that, the controls of the fourth application program are automatically displayed on the second display screen.
  • the electronic device can automatically display the controls of the fourth application program on the second display screen, thereby reducing the user's operations in the controls for displaying the fourth application program.
  • the second aspect of the embodiments of the present application provides a display method, which is applied to an electronic device.
  • the electronic device includes a first display screen, a camera, and a second display screen.
  • the first display screen is provided with a punched area, and the punched area is provided with The camera and the second display screen, the method includes: when the standby interface is displayed on the first display screen, displaying the controls of the fourth application program on the second display screen; detecting the user's operation on the controls of the fourth application program; The operation of the controls of the fourth application program displays the interface of the fourth application program on the first display screen.
  • the controls of the fourth application can be displayed on the second display screen, and the user's feedback on the fourth application can be further received on the second display screen.
  • the operation of the control and in response to the operation of the control of the fourth application, displays the interface of the fourth application on the first display screen.
  • the second display screen is not only used to block the front camera
  • the decorative screen is used as an entrance to provide an interface for quickly opening the fourth application program, that is, the embodiment of the present application provides a way for the user to directly interact with the secondary screen, thereby improving the utilization rate of the second display screen.
  • the fourth application is a set application
  • the method further includes: detecting a user's trigger operation,
  • the second display screen displays the controls of the fourth application program, including: in response to a user's trigger operation, displaying the controls of the fourth application program on the second display screen.
  • the set application controls are displayed on the second display screen only when the user's trigger operation is detected, because the display of the set application controls on the second display screen is triggered by the user , So the display is more in line with user intent and enhance user experience.
  • this step may correspond to step S105 to step S107 in the specific embodiment, that is, step S105 to step S107 in the specific embodiment can be performed independently to achieve Use the second display screen as an entry to quickly open the setting application.
  • the method further includes: in response to a trigger operation of the user, displaying a second interface on the first display screen, the second interface being an interface of a notification bar .
  • a user's triggering operation can trigger the display of the fourth application control on the second display screen, and can also trigger the display of the notification bar interface on the first display screen. It is understandable because the interface of the notification bar The unread notification message is already included in the second display screen, so there is no need to further prompt the unread message in the second display screen, but the interface of the notification bar may not include the controls of the fourth application, so the first display is displayed on the second display screen.
  • the controls corresponding to the fourth application program can supplement the content of the first display screen, which is convenient for the user to quickly implement the operation of the fourth application program.
  • the fourth application is an application selected by the user, and the controls of the fourth application are displayed on the second display screen, including: the fourth application is selected by the user After that, the controls of the fourth application program are automatically displayed on the second display screen.
  • the electronic device can automatically display the controls of the fourth application program on the second display screen, thereby reducing the user's operations in the controls for displaying the fourth application program.
  • step S114 to step S116 in the specific embodiment may correspond to step S114 to step S116 in the specific embodiment, and step S114 to step S116 in the specific embodiment can also be performed independently to
  • the second display screen can be used as an entrance to quickly open the application selected by the user.
  • the method further includes: detecting a first unread message of the first application; displaying a control corresponding to the first unread message on a second display screen; detecting The user performs a first operation on the control corresponding to the first unread message; in response to the first operation, a first interface is displayed on the first display screen, and the first interface includes part of the content of the first unread message.
  • the control corresponding to the first unread message can be displayed on the second display screen, and the control corresponding to the first unread message can be further displayed on the second display screen.
  • the second display screen is not only used as a decorative screen to shield the front camera, but as an entrance to an interface that prompts unread messages and provides quick access to part of the content including unread messages, that is, the embodiment of the present application not only makes full use of the second
  • the display area of the display screen also provides a way for the user to directly interact with the secondary screen, thereby improving the utilization rate of the second display screen.
  • step S108 to step S112 in the specific embodiment may correspond to step S108 to step S112 in the specific embodiment, that is, step S108 to step S112 in the specific embodiment can be performed independently to realize the second display screen as Prompt unread messages and provide quick access to the interface that includes part of the content of unread messages.
  • the method before displaying the control corresponding to the first unread message on the second display screen, the method further includes: detecting a second unread message of the second application; and , Display the control corresponding to the second unread message on the second display screen; wherein, the second application is used more frequently than the first application, or the second application is used longer than the first application, Or the second application program provides unread messages more frequently than the first application program, or the user reads the unread messages of the second application program more frequently than the first application program; or, the second unread message is more frequent than the first application program.
  • the unread message is generated earlier; or the second unread message arrives at the electronic device earlier than the first unread message.
  • the application program corresponding to the message provides the frequency of unread messages, or the frequency of the user reading the unread messages of the application corresponding to each unread message, or the time when the application corresponding to each unread message is generated, or the corresponding unread message
  • the time when the application arrives at the electronic device determines the priority of each unread message.
  • the control corresponding to the unread message with a higher priority is first displayed on the second display screen, and then the control for the unread message with a lower priority is displayed. , Which can provide users with important unread messages first, which improves the intelligence of prompts.
  • displaying the control corresponding to the first unread message on the second display screen includes: after displaying the control corresponding to the second unread message for a period of time, in the second display The control corresponding to the first unread message is displayed on the screen.
  • the controls corresponding to the multiple unread messages can be displayed in turn on the second display screen, thereby avoiding the omission of prompts for multiple unread messages, and making the prompts more comprehensive.
  • the method further includes: closing the second display screen when the first interface is displayed on the first display screen; or, when the first interface is displayed on the first display screen , Display the control corresponding to the third application on the second display screen, the third application is an application set or defaulted by the user, or an application corresponding to the third unread message.
  • the second display screen when the first interface is displayed on the first display screen, the second display screen is closed, which can avoid the interference caused by the display of the second display screen to the first interface.
  • the controls corresponding to the third application are displayed on the second display screen.
  • the third application is a user-set or default application
  • the user can trigger the user settings or The controls of the default application program implement quick access to the application program interface.
  • the third application program is an application program corresponding to the third unread message
  • the second display screen may further prompt the user that there is a third unread message.
  • displaying the control corresponding to the first unread message on the second display screen includes: displaying the control corresponding to the first unread message on the second display screen always brightly or flashing Control.
  • the embodiments of this application provide users with diversified display modes. Specifically, flashing display can better attract users' attention, so as to achieve better prompt effect, and constant brightness display can avoid disturbing users, thereby increasing For the user’s comfort, the user can adapt to the setting of the display mode according to the actual application scenario, thereby improving the user experience.
  • a third aspect of the embodiments of the present application provides an electronic device, including a first display screen, a camera, and a second display screen.
  • the first display screen is provided with a punched area, and the camera and a second display screen are provided under the punched area,
  • the electronic device also includes: a processing unit; a processing unit for detecting a first unread message of the first application; a second display screen for displaying the first unread message when the processing unit detects the first unread message Corresponding controls; the second display screen is also used to detect the user's first operation on the control corresponding to the first unread message; the first display screen is used to display the first interface in response to the first operation, the first interface including Part of the first unread message.
  • the processing unit is further configured to detect a second unread message of the second application; the second display screen is also configured to display a control corresponding to the second unread message; Among them, the second application program is used more frequently than the first application program, or the second application program is used for a longer time than the first application program, or the second application program provides unread messages more frequently than the first application program. High, or the user reads the unread messages of the second application program more frequently than the first application program; or, the second unread message is generated earlier than the first unread message; or the second unread message is generated earlier than the first unread message. Unread messages arrive at the electronic device early.
  • the second display screen is specifically configured to display the second unread message before displaying the control corresponding to the first unread message when the processing unit detects the second unread message. Read the corresponding control of the message.
  • the processing unit is further configured to close the second display screen when the first interface is displayed on the first display screen; or, the second display screen is also used to When the first interface is displayed on a display screen, a control corresponding to a third application is displayed, and the third application is an application set by the user or a default application, or an application corresponding to the third unread message.
  • the second display screen is specifically used to display the control corresponding to the first unread message in a constant light or blink.
  • the second display screen is also used to display the controls of the fourth application program; the second display screen is also used to detect user operations on the controls of the fourth application program; The first display screen is also used to display the interface of the fourth application in response to operations on the controls of the fourth application.
  • the fourth application is a set application, and the first display screen is also used to detect the trigger operation of the user; the second display screen is specifically used to respond to the user The trigger operation of the fourth application program is displayed on the second display screen.
  • the first display screen is also used to display a second interface in response to a user's trigger operation, and the second interface is an interface of a notification bar.
  • the trigger operation includes any one of the following: a sliding operation on the first display screen, an upward sliding operation on the first display screen, and an oblique operation on the first display screen.
  • the second display screen is specifically configured to automatically display the controls of the fourth application after the user selects the fourth application.
  • a fourth aspect of the embodiments of the present application provides an electronic device, including a first display screen, a camera, and a second display screen.
  • the first display screen is provided with a punched area, and the camera and a second display screen are provided under the punched area,
  • the first display screen is used to display the standby interface;
  • the second display screen is used to display the controls of the fourth application when the standby interface is displayed on the first display screen;
  • the second display screen is also used to detect the user's response to the fourth application Operation of the controls of the program;
  • the first display screen is used to display the interface of the fourth application in response to the operation of the controls of the fourth application.
  • the fourth application is a set application
  • the first display screen is also used to detect the user's trigger operation
  • the second display screen is specifically used to respond to the user's The operation is triggered, and the controls of the fourth application program are displayed on the second display screen.
  • the second display screen is specifically configured to automatically display the controls of the fourth application program on the second display screen after the user selects the fourth application program.
  • the electronic device further includes: a processing unit; a processing unit, used to detect the first unread message of the first application; a second display screen, also used in the processing unit When the first unread message is detected, the control corresponding to the first unread message is displayed; the second display screen is specifically used to detect the user's first operation on the control corresponding to the first unread message; the first display screen also Used to: in response to the first operation, display a first interface, the first interface including part of the content of the first unread message.
  • the processing unit is further configured to detect a second unread message of the second application; the second display screen is also configured to display a control corresponding to the second unread message; Among them, the second application program is used more frequently than the first application program, or the second application program is used for a longer time than the first application program, or the second application program provides unread messages more frequently than the first application program. High, or the user reads the unread messages of the second application program more frequently than the first application program; or, the second unread message is generated earlier than the first unread message; or the second unread message is generated earlier than the first unread message. Unread messages arrive at the electronic device early.
  • the second display screen is specifically used to display the second unread message before displaying the control corresponding to the first unread message when the processing unit detects the second unread message.
  • the control corresponding to the unread message is specifically used to display the second unread message before displaying the control corresponding to the first unread message when the processing unit detects the second unread message.
  • the processing unit is further configured to close the second display screen when the first interface is displayed on the first display screen; or, the second display screen is also used to When the first interface is displayed on a display screen, a control corresponding to a third application is displayed, and the third application is an application set by the user or a default application, or an application corresponding to the third unread message.
  • the second display screen is specifically used to display the control corresponding to the first unread message in a constant light or a flashing display.
  • the first display screen is also used to display a second interface in response to a user's trigger operation, and the second interface is an interface of a notification bar.
  • the trigger operation includes any one of the following: a sliding operation on the first display screen, an upward sliding operation on the first display screen, and an oblique operation on the first display screen.
  • a fifth aspect of the embodiments of the present application provides an electronic device, including: one or more processors, a memory, a first display screen, a camera, and a second display screen; the first display screen is provided with a punched area, and the punched area A camera and a second display screen are arranged below; one or more processors, memories, a first display screen, a camera, and a second display screen communicate through one or more communication buses; one or more computer programs are stored in the memory , And configured to be executed by one or more processors; one or more computer programs include instructions for executing methods such as the first aspect or a possible implementation of the first aspect, or instructions for executing methods such as The second aspect or the method in the possible implementation of the second aspect.
  • the sixth aspect of the embodiments of the present application provides a computer storage medium, including computer instructions, which when the computer instructions run on an electronic device, cause the electronic device to execute the method in the first aspect or the possible implementation of the first aspect, or , So that the electronic device executes the method of the second aspect or any one of the possible implementation manners of the second aspect.
  • the seventh aspect of the embodiments of the present application provides a computer program product.
  • the computer program product runs on a computer, the computer is caused to execute the method in the first aspect or the possible implementation of the first aspect, or the computer is caused to execute the method such as The method of the second aspect or any one of the possible implementation manners of the second aspect.
  • An eighth aspect of the embodiments of the present application provides an apparatus, which has a function of implementing the behavior of an electronic device in each method of the foregoing first aspect or second aspect.
  • the above-mentioned functions can be realized by hardware, or by hardware executing corresponding software.
  • the hardware or software includes one or more modules corresponding to the above-mentioned functions.
  • the first display screen and the second display screen may also be the same screen in hardware.
  • the electronic device In a complete display screen, the part of the complete display screen that can cover the camera is used as the second display screen, and the other part except the second display screen is used as the first display screen.
  • the first display screen and the second display screen can be controlled by independent control modules, and the first display screen and the second display screen can also be controlled by the same control module.
  • the embodiments of the present application provide a display method and an electronic device.
  • the information corresponding to the application scenario is displayed on the second display screen of the electronic device corresponding to the camera, so that the second display
  • the display content of the screen is integrated with the current application scenario of the electronic device, making full use of the display area of the second display screen, providing a way for the user to directly interact with the secondary screen, and improving the utilization rate of the second display screen.
  • Figure 1 is a schematic diagram of the interface of a usual punch screen terminal
  • FIG. 2 is a schematic diagram of the structure of a mobile phone related to an embodiment of the application
  • FIG. 3 is a schematic diagram of a software architecture applied by the display method of an embodiment of the application.
  • FIG. 4 is a schematic flowchart of a display method according to an embodiment of the application.
  • FIG. 5 is a schematic diagram of software technology implementation of the booting method according to an embodiment of the application.
  • FIG. 6 is a schematic diagram of a standby interface provided by an embodiment of the application.
  • FIG. 7 is a schematic diagram of interface switching provided by an embodiment of the application.
  • FIG. 8 is a schematic diagram of another interface switching provided by an embodiment of the application.
  • FIG. 9 is a schematic diagram of another interface switching provided by an embodiment of the application.
  • FIG. 10 is a schematic diagram of still another interface switching provided by an embodiment of this application.
  • FIG. 11 is a schematic diagram of another interface switching provided by an embodiment of this application.
  • FIG. 12 is a schematic diagram of another interface switching provided by an embodiment of the application.
  • FIG. 13 is a schematic structural diagram of a display device provided by an embodiment of the application.
  • FIG. 14 is a schematic structural diagram of another display device according to an embodiment of the application.
  • the display method provided in the embodiment of the present application can be applied to an electronic device with a display function.
  • the electronic device in the embodiment of the present application includes a first display screen and a second display screen.
  • the first display screen may have the same or similar display function as the main screen in the prior art.
  • There is a front camera the second display screen can be set at the position of the front camera of the electronic device, and the second display screen can be used to prompt unread messages and/or display the shortcut entry of the application.
  • the first display screen displays the interface of the corresponding application program.
  • the display method of the second display screen will be described in detail in subsequent embodiments, and will not be repeated here.
  • the second display screen is not only used as a decorative screen to block the front camera, but as a quick entry for prompting unread messages and/or displaying applications, making full use of the display area of the second display screen.
  • the electronic devices involved in the embodiments of the present application may be wired electronic devices or wireless electronic devices.
  • the wireless electronic device may be a device with a wireless transceiver function.
  • the electronic device involved in the embodiment of the present application may be a user equipment (UE), where the UE includes a handheld device with a wireless communication function, a vehicle-mounted device, a wearable device, or a computing device.
  • the UE may be a mobile phone, a tablet computer, or a computer with wireless transceiver function.
  • the electronic device may also be a virtual reality (VR) device, an augmented reality (AR) device, and so on.
  • VR virtual reality
  • AR augmented reality
  • the device that realizes the function of the electronic device may be an electronic device, or a device in an electronic device.
  • a device in an electronic device may be a chip system, a circuit, or a module, etc., which is not limited by this application. .
  • FIG. 2 shows a schematic diagram of a part of the structure of the mobile phone 100 related to an embodiment of the present application.
  • the mobile phone 100 includes: a radio frequency (RF) circuit 110, a memory 120, other input devices 130, a first display screen 141, a second display screen 142, a sensor 150, an audio circuit 160, input/output (input/output) output (I/O) subsystem 170, processor 180, power supply 190 and other components.
  • RF radio frequency
  • FIG. 2 does not constitute a limitation on the mobile phone, and may include more or less components than those shown in the figure, or combine certain components, or split certain components, or Different component arrangements.
  • the first display screen 141 and the second display screen 142 belong to a user interface (UI), and the mobile phone 100 may include more or less user interfaces than shown.
  • UI user interface
  • the RF circuit 110 may be used for receiving and sending wireless signals, for example, sending the received downlink data of the base station to the processor 180 for processing, and sending the uplink data to the base station.
  • the RF circuit 100 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (LNA), a duplexer, and the like.
  • the RF circuit 110 may receive a message from a base station or other electronic device. The message may be a message about any application, for example, a message about WeChat or a message about short messages.
  • the memory 120 may be used to store software programs and modules.
  • the memory 120 may mainly include a program storage area and a data storage area.
  • the program storage area may store the operating system and at least one function (such as sound playback function, image playback function, etc.) required by Application programs, etc.
  • the operating system can be any operating system, for example, Linux operating system, Unix operating system, Android operating system, iOS operating system or windows operating system, etc.
  • the application program can be any one or more applications Programs, such as one or more of instant messaging applications, shopping applications, word processing applications, etc.
  • the storage data area may store data (such as audio data, phone book, etc.) created according to the use of the mobile phone 100 and the like.
  • the memory 120 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 180 can execute various functional applications and data processing of the mobile phone 100 by running software programs and modules stored in the memory 120. Exemplarily, the processor 180 of the embodiment of the present application may determine whether to display on the second display screen 142 in combination with the current operating status of the mobile phone, and, if it is determined to display on the second display screen 142, the specific content displayed . The specific judgment process and display content will be described in detail in subsequent embodiments, and will not be repeated here.
  • the other input device 130 may be used to receive input digital or character information, and generate key signal input related to user settings and function control of the mobile phone 100.
  • other input devices 130 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, optical mice (optical mice are touch sensitive that do not display visual output). A surface, or an extension of a touch-sensitive surface formed by a touch screen).
  • the other input device 130 is connected to the other input device controller 171 of the I/O subsystem 170, and performs signal interaction with the processor 180 under the control of the other device input controller 171.
  • the first display screen 141 can be used to display information input by the user or information provided to the user (for example, various user interfaces of the mobile phone 100), and can also accept user input.
  • the specific first display screen 141 may include a display panel 1411 and a touch panel 1412.
  • the display panel 1411 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
  • the touch panel 1412 also known as a touch screen, a touch-sensitive screen, etc., can collect user contact or non-contact operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 1412
  • the operation near the touch panel 1412 may also include somatosensory operation; the operation includes single-point control operation, multi-point control operation and other operation types), and the corresponding connecting device is driven according to a preset program.
  • the touch panel 1412 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position and posture, and 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 and converts it into a processor capable of The processed information is then sent to the processor 180, and can receive and execute commands from the processor 180.
  • the touch panel 1412 can be realized by various types such as resistive, capacitive, infrared, and surface acoustic wave, or any technology developed in the future can be adopted to realize the touch panel 1412.
  • the touch panel 1412 can cover the display panel 1411, and the user can display content on the display panel 1411 according to the content displayed on the display panel 1411 (the display content includes, but is not limited to, soft keyboard, virtual mouse, virtual keys, icons, etc.)
  • An operation is performed on or near the covered touch panel 1412. After the touch panel 1412 detects an operation on or near it, it is transmitted to the processor 180 through the I/O subsystem 170 to determine the user input, and then the processor 180 according to the user The input provides corresponding visual output on the display panel 1411 through the I/O subsystem 170.
  • the touch panel 1412 and the display panel 1411 are used as two independent components to implement the input and input functions of the mobile phone 100, but in some embodiments, the touch panel 1412 and the display panel 1411 can be integrated The input and output functions of the mobile phone 100 are realized.
  • the second display screen 142 can be used to display application icons or controls corresponding to unread messages (such as unread short messages, or unread WeChat messages, etc.) received by the mobile phone from the server, or unread messages generated in the mobile phone (an alarm clock in the mobile phone). Or a reminder message generated by an application such as a calendar according to the user’s settings, etc.) corresponding to application icons or controls, or application shortcuts, the display of the second display screen 142 may be controlled by the processor 180 according to actual application scenarios.
  • unread messages such as unread short messages, or unread WeChat messages, etc.
  • unread messages generated in the mobile phone an alarm clock in the mobile phone.
  • a reminder message generated by an application such as a calendar according to the user’s settings, etc.
  • the display of the second display screen 142 may be controlled by the processor 180 according to actual application scenarios.
  • the processor 180 can control the second display screen to display the WeChat application icon to achieve the prompt effect, and the user triggers the second display screen After the application icon of WeChat in the icon, the first display screen displays an interface including the unread WeChat message, or a dialogue interface of WeChat.
  • the specific second display screen 142 may include a display panel 1421 and a touch panel 1422.
  • the display panel 1421 can be configured in the form of LCD, OLED, etc.
  • the touch panel 1422 also known as a touch screen, a touch-sensitive screen, etc., can collect the user's contact or non-contact operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 1422
  • the operations near the touch panel 1422 may also include somatosensory operations; the operations include single-point control operations, multi-point control operations and other types of operations), and the corresponding connection device is driven according to a preset program.
  • the touch panel 1422 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position and posture, and 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 and converts it into a processor capable of The processed information is then sent to the processor 180, and can receive and execute commands from the processor 180.
  • the touch panel 1422 can be realized by various types such as resistive, capacitive, infrared, and surface acoustic wave, and any technology developed in the future can also be adopted to realize the touch panel 1422.
  • the touch panel 1422 can cover the display panel 1421, and the user can perform operations on or near the touch panel 1422 covered on the display panel 1421 according to the content displayed on the display panel 1421 (the display content includes but is not limited to icons, etc.) After the touch panel 1422 detects an operation on or near it, it is transmitted to the processor 180 through the I/O subsystem 170 to determine the user input, and then the processor 180 displays the user input through the I/O subsystem 170 according to the user input. Corresponding visual output is provided on the panel 1421.
  • the touch panel 1422 and the display panel 1421 are used as two independent components to implement the input and input functions of the mobile phone 100, in some embodiments, the touch panel 1422 and the display panel 1421 can be integrated The input and output functions of the mobile phone 100 are realized.
  • the light transmittance of the second display screen 142 is adjustable.
  • the mobile phone can automatically adjust the light transmittance of the second display screen to a transparent state ( For example, adjust the transmittance close to 0), so that the front camera can be used normally, or, when the user does not want the second display screen to be displayed, the user can turn off the display of the second display screen in the display settings, that is, set the second display
  • the transmittance of the screen is transparent (for example, the transmittance is set close to 0); when the front camera is not shooting and the user wants the second display screen to display, the transmittance of the second display screen can be set to opaque ( For example, if the transmittance is set close to 100), the corresponding content can be displayed on the second display screen.
  • the first display screen 141 and the second display screen 142 are independently set, that is, two separate screens in hardware.
  • a second display screen can be independently set in the punched area of the first display screen of the punch-hole mobile phone, so that the second display screen covers directly above the front camera .
  • the second display screen only needs to be able to block the front camera.
  • the size of the second display screen can be a circle with a diameter of about 5 mm.
  • the second display screen can display complete icons or Buttons, etc., the embodiment of the present application does not specifically limit the size of the second display screen.
  • the first display screen 141 and the second display screen 142 are integrated, that is, the same screen on the hardware.
  • the screen of the mobile phone is a complete display screen.
  • the part covering the camera can be used as the second display screen, and other parts other than the second display screen can be used as the first display screen.
  • the second display screen may be controlled by an independent control module, and the first display screen and the second display screen may also be controlled by the same control module, which is not specifically limited in the embodiment of the present application.
  • the mobile phone 100 may also include at least one sensor 150, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor can include an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 1411 and/or the display panel 1421 according to the brightness of the ambient light.
  • the proximity sensor can be used when the mobile phone 100 is moved to the ear. , Turn off the display panel 1411 and/or the display panel 1421 and/or the 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 it is stationary.
  • the audio circuit 160, the speaker 161, and the microphone 162 can provide an audio interface between the user and the mobile phone 100.
  • the audio circuit 160 can transmit the converted signal of the received audio data to the speaker 161, which is converted into a sound signal for output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into a signal, which is received by the audio circuit 160
  • the audio data is converted into audio data, and then the audio data is output to the RF circuit 108 to be sent to, for example, another mobile phone, or the audio data is output to the memory 120 for further processing.
  • the I/O subsystem 170 is used to control input and output external devices, and may include other device input controllers 171, sensor controllers 172, and display controllers 173.
  • one or more other input control device controllers 171 receive signals from other input devices 130 and/or send signals to other input devices 130, and other input devices 130 may include physical buttons (press buttons, rocker buttons, etc.) , Dial, slide switch, joystick, click wheel, optical mouse (optical mouse is a touch-sensitive surface that does not display visual output, or an extension of the touch-sensitive surface formed by a touch screen). It is worth noting that the other input control device controller 171 may be connected to any one or more of the above-mentioned devices.
  • the display controller 173 in the I/O subsystem 170 receives signals from the first display screen 141 and/or the second display screen 142, and/or sends signals to the first display screen 141 and/or the second display screen 142 signal. After the first display screen 141 and/or the second display screen 142 detects the user input, the display controller 173 converts the detected user input into a user input displayed on the first display screen 141 and/or the second display screen 142.
  • the interaction of interface objects is the realization of human-computer interaction.
  • the sensor controller 172 may receive signals from one or more sensors 150 and/or send signals to one or more sensors 150.
  • the processor 180 is the control center of the mobile phone 100. It uses various interfaces and lines to connect various parts of the entire mobile phone. By running or executing software programs and/or modules stored in the memory 120, and calling data stored in the memory 120, Perform various functions of the mobile phone 100 and process data, thereby monitoring the mobile phone as a whole.
  • the processor 180 may include one or more processing units; optionally, the processor 180 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, and application programs. And so on, the modem processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 180.
  • the processor 180 may control the display of the first display screen 141 and the display of the second display screen 142 according to a program for controlling the first display screen 141 and the second display screen 142 stored in the memory 120.
  • the mobile phone 100 also includes a power source 190 (such as a battery) for supplying power to various components.
  • a power source 190 such as a battery
  • the power source may be logically connected to the processor 180 through a power management system, so that functions such as charging, discharging, and power consumption can be managed through the power management system.
  • the mobile phone 100 may also include a Bluetooth module, a rear camera, a front camera, etc., which will not be repeated here.
  • FIG. 3 is a schematic diagram of another structure of an electronic device provided by an embodiment of the application.
  • Electronic equipment includes four software layers and hardware, application layer, framework layer, processing layer, and image interface layer.
  • the software layer includes applications and stacks related to the first display screen, and applications and stacks related to the second display screen.
  • the application layer includes application A (application A) for controlling the first display screen and application B (application B) for controlling the second display screen.
  • the framework layer The application manager service (AMS) in the (framework) can send a broadcast to application A and application B.
  • AMS application manager service
  • application B can notify the application in the framework layer based on the broadcast
  • WMS window manager service
  • DMS display management service
  • HWC hardware compositor
  • application A can notify the WMS and DMS to call the library files related to the first display screen display through a certain process, and transmit them to the processing layer After the processing layer superimposes and composes the data in the stack A, the data in the stack A can be further programmed by the HWC to be displayed on the first display screen (ie, the display device A in FIG. 3).
  • FIG. 4 shows a schematic flowchart of a display method provided by an embodiment of the present application. As shown in FIG. 4, the method provided by this embodiment includes the following steps:
  • Step S101 Receive a power-on operation.
  • receiving the power-on operation may be that the button related to power-on of the mobile phone (for example, the power button) receives a user's trigger operation.
  • the trigger operation may be a long press operation or any other operation. The embodiment does not specifically limit this.
  • an independent windows compose service can be set for the second display screen, and the windows compose service can be set in the system service.
  • the operating state of the electronic device can be read, and the adapted content can be presented on the second display screen.
  • windows compose service can also periodically refresh the read data and transmit it to the second display screen for display on the second display screen, which is not specifically limited in this embodiment of the application.
  • FIG. 5 shows a schematic diagram of the boot process provided by an embodiment of the present application.
  • the mobile phone when booting, can sequentially perform the following processes: memory boot (BootROM), boot loading (Bootloader), operating system kernel calling system Function (Kernel), initialize system (Init), load system resources (Zygote), start system service (Systemserver), start Manager to manage the display of the first display screen, and start windows compose service to manage the display of the second display screen.
  • memory boot Boot
  • Booter boot loading
  • Kerne operating system kernel calling system Function
  • Initialize system Init
  • load system resources Zygote
  • start system service Systemserver
  • start Manager to manage the display of the first display screen
  • start windows compose service to manage the display of the second display screen.
  • BootROM is used to: boot chip code is solidified in a pre-defined place in a read only memory (read only memory, ROM) to start execution, and load the boot program to a random access memory (random access memory, RAM).
  • Bootloader is mainly responsible for initializing the minimum hardware environment required for software operation, and finally loading the kernel into memory, such as copying the operating system image file to RAM, and then jumping to its entrance to execute.
  • the operating system kernel calling Kernel can be used to implement most of the initialization work of the kernel, such as starting the kernel thread, completing the initialization of the device driver, and the initialization of the kernel. Init is the first process in the user space.
  • Init starts one of the important services servicemanager, which can be used to uniformly manage android services, such as registering and adding services, and obtaining services.
  • the Zygote process starts, it initializes the virtual machine and starts the virtual machine. Before the android application runs, the Zygote process shortens the time it takes to run the application by sharing the code and memory information of the running virtual machine. In addition, Zygote will Load the classes and resources in the android framework to be used by the application into the memory. The newly-running android application does not need to be reloaded every time when the required resources are used, which will save a lot of time and improve the running speed of the program.
  • System Server is the provider of basic Android services and is the most basic requirement for the operation of the Android system. Manager is used to manage the display of the first display screen. Windows compose service is used to manage the display of the second display screen.
  • boot process can also be implemented by other technologies according to requirements, which is not specifically limited in the embodiment of the present application.
  • Step S102 Determine whether the first display screen is on.
  • the second display screen may also be turned on, and content matching the content of the first display screen is displayed on the second display screen.
  • the display of the second display screen can be matched with the content of the first display screen, so that in the second display screen
  • the displayed screen content and the screen content of the first display screen can form a complete start-up screen, so that the first display screen and the second display screen are integrated when starting up, and a full-screen experience can be visually achieved.
  • the second display screen may not be lit, which is not specifically limited in the embodiment of the present application.
  • the on-screen state of the first display screen can be further determined.
  • the first display screen lights up, and the standby interface (also referred to as the main screen interface) may be displayed on the first display screen.
  • the standby interface also referred to as the main screen interface
  • the status bar 6101 may include the current network connection status and the current battery indicator
  • the application icon 6102 may include a short message.
  • the function key bar 6103 may include the function key corresponding to the previous operation, the function key corresponding to returning to the homepage, and other function keys The embodiments of this application do not specifically limit this.
  • the second display screen may not be displayed.
  • the second display screen can perform corresponding display according to the actual operating state of the mobile phone, such as performing step S103-step S105 to display the icon of the setting application, or performing step S108-step S110 to display the application corresponding to the unread message Icon, or perform steps S113-S114 to display the preset icon corresponding to the application.
  • the second display screen may also perform other display according to the actual application scenario, which is not specifically limited in the embodiment of the present application.
  • the icon of the camera application can be displayed on the second display screen 60, and the user can trigger the icon of the camera application in the second display screen 60 to quickly open the camera. application.
  • the second display screen may not be lit, and the mobile phone is in a screen off state as a whole.
  • the mobile phone can still monitor the running status of the mobile phone, and perform corresponding display steps on the second display screen, for example, perform step S103-step S105 to display the icon of the setting application , Or perform step S108-step S110 to display the icon of the application corresponding to the unread message, or perform steps S113-S114 to display the icon corresponding to the application set in advance. It is understood that other steps can also be performed according to the actual application scenario. The application embodiment does not specifically limit this.
  • step S108-step S112 can be executed first, and then the other two groups can be executed.
  • the application examples are not limited.
  • the three sets of steps of step S103-step S107, step S108-step S112, and step S113-S116 can also be executed independently.
  • the steps in step S103-step S107 can also be executed according to actual needs during the execution of some steps, step S108-step
  • the steps in S112 may also be executed according to actual needs during execution, and the steps in steps S113-S116 may also be executed according to actual needs during execution, which is not specifically limited in the embodiment of the present application.
  • Step S103 Determine whether a trigger operation on the first display screen is received.
  • the user's triggering operation on the first display screen can be any of the following: a sliding operation on the first display screen, an upward sliding operation on the first display screen, and a sliding operation on the first display screen.
  • the oblique sliding operation, the double-tapping operation in the first display screen, and the pressing operation in the first display screen, wherein the pressing operation is an operation in which the pressing pressure on the first display screen is greater than the pressure threshold, and the pressure threshold can be based on the actual application
  • the scenario is set, which is not specifically limited in the embodiment of the present application.
  • the controls of the user-set or default application are displayed on the second display screen, because the controls of the user-set or default application are on the first display screen.
  • the display on the display screen is triggered by the user, so the display is more in line with the user's intention, and the user experience is improved.
  • the received user's trigger operation on the first display screen is a sliding operation in the first display screen.
  • the sliding operation is an operation of pulling down the notification bar as an example, if the operation of pulling down the notification bar is received , Go to step S104. If the notification bar pull-down operation is not received, step S108 may be executed, which is not specifically limited in the embodiment of the present application.
  • Step S104 Determine whether the second display screen is allowed to be displayed.
  • Users may turn on or off the second display screen according to their needs. Specifically, after entering the setting interface, the user can set the light-on state of the second display screen.
  • the specific example of the setting will be explained in the subsequent setting interface, here No longer.
  • the second display screen if the second display screen is set to the off state, the second display screen is not displayed. For example, when the second display screen is not displayed, if the second display screen is already lit at this time, the second display screen is turned off. The light transmittance of the second display screen is automatically adjusted to be close to 0. If the second display screen is not lit at this time, the second display screen is kept in the unlit state without performing any adjustment.
  • the display step of the second display screen is executed.
  • the second display screen of the embodiment of the present application can also be set to the normally open state by the system, that is, the second display screen is in the normal state where display is allowed, and the steps of determining whether the second display screen is allowed to display are all It can be omitted, and after step S103, step S105 can be executed.
  • Step S105 Display the icon of the setting application on the second display screen.
  • the first display screen may be the standby interface, and the second display screen 71 may not display any content, or display any possible content.
  • the embodiment of the present application The display situation of the second display screen 71 at the initial stage is not limited.
  • the track 710 may be an operation to pull down the notification bar.
  • the second display screen 71 Set the app’s icon.
  • the size of the icon of the setting application can be adjusted adaptively according to the size of the second display screen 71, so that the icon of the setting application can be completely displayed on the second display screen 71, which is not specifically limited in the embodiment of the present application. .
  • the notification bar interface 7201 corresponding to the notification bar can be displayed on the first display screen at the same time, and the unread notification message received by the mobile phone can be displayed in the notification bar interface 7201.
  • Controls corresponding to commonly used setting functions, and delete controls, etc. the user can trigger the notification message to open the application corresponding to the notification message, trigger the control corresponding to the commonly used setting function to achieve corresponding settings, delete the control by deleting the control in the notification bar interface 7201 Notification messages displayed, etc.
  • the setting function in the notification bar interface 7201 may be different from the setting function of the icon of the setting application in the second display screen 71, so that the second display screen can supplement the setting function in the notification bar interface.
  • the controls corresponding to the commonly used setting functions in the notification bar interface may include the switch control corresponding to the LAN connection function, the switch control corresponding to the flight mode function, and the switch control corresponding to the Bluetooth function.
  • the setting application icon in the second display screen corresponds to The setting function of may be a function of setting the display of the second display screen, etc., which is not specifically limited in the embodiment of the present application.
  • the notification bar interface 7201 can be displayed on the first display screen. Because the notification bar interface already includes unread notification messages, it may not be on the second display screen. It further prompts unread messages, but the interface of the notification bar may not include the control for setting the application. Therefore, the control corresponding to the setting program is displayed on the second display screen, which can supplement the content of the first display screen, which is convenient for users.
  • Step S106 Determine whether a trigger operation on the second display screen is received.
  • the triggering operation on the second display screen may be operations such as clicking the second display screen, double-clicking the second display screen, or long-pressing the second display screen.
  • the triggering operation on the second display screen in the embodiment of the present application The operation is not specifically limited.
  • step S107 may be executed.
  • a trigger prompt may be further displayed on the first display screen, for example, water ripples are displayed on the first display screen around the second display screen, etc. The effect of prompting the user to trigger the second display screen is achieved.
  • step S108 may be executed.
  • Step S107 Display the setting interface on the first display screen.
  • the way of displaying the setting interface on the first display screen can be set according to actual needs. For example, it can start from the position of the second display screen and expand on the first display screen.
  • the setting interface is gradually presented in the full screen of.
  • the setting interface is directly displayed on the first display screen, which is not specifically limited in the embodiment of the present application.
  • the first display screen 82 of the mobile phone displays as shown in the right figure of FIG.
  • the main setting interface As shown in the left figure of FIG. 8, after the user clicks the icon of the setting application on the second display screen 81, the first display screen 82 of the mobile phone displays as shown in the right figure of FIG. The main setting interface.
  • the main setting interface can include multiple setting items (for example, flight mode setting items, wireless LAN setting items, Bluetooth setting items, notification setting items, display setting items, etc.), and each setting item can include multiple setting items.
  • Various setting elements such as display setting items, may include displaying a corresponding icon 820, displaying a text description 821, and displaying a setting trigger control.
  • the second display screen 81 may be in a closed state, or the second display screen 81 may also perform the display of step S110 according to the received notification message, or, The second display screen may also perform the display as in step S114, which is not specifically limited in the embodiment of the present application.
  • the first display screen 92 of the mobile phone displays as shown in the right figure of FIG.
  • the shown setting interface corresponding to the setting of the second display screen allows the user to directly perform related settings on the second display screen.
  • the setting interface corresponding to FIG. 9 may include one or more setting items corresponding to the second display screen.
  • the setting items may include, for example, setting items for turning on or off the second display screen, setting items for application display order, and flashing display. The setting items of, the setting items that are always on, the setting items of quick application, etc.
  • the user can choose to turn on or turn off the second display screen through the switch control 9200 corresponding to the setting item "second display screen" 920.
  • the user can trigger the switch control 9200, such as sliding a circular slider in the switch control 9200, to set the second display screen to an on or off state.
  • the user can select the switch control 9220 corresponding to the setting item "flashing display” 922 to turn on or off the blinking display, and the switch control 9230 corresponding to the setting item "steady light display” 923 to choose to turn on or off the constant light display.
  • the blinking display and the constant light display can be two mutually exclusive options, that is, if the blinking display is turned on, the constant light display is automatically turned off, and the constant light display is turned on, and the blinking display is automatically turned off.
  • the flashing display can better attract the user's attention, so as to achieve a better prompt effect.
  • the constant brightness display can avoid disturbing the user, thereby increasing the user's comfort, and the user can adapt to the setting according to the actual application scenario, which is not specifically limited in the embodiment of the present application.
  • the user can set the prompt priority of the application program corresponding to each notification message when multiple notification messages are received through the setting item "application display ordering" 921.
  • the user can trigger the setting control 9210 corresponding to the setting item "application display sorting" 921 to enter the application adding interface shown in the right figure of FIG.
  • a display screen 102 may include a plurality of controls 1021 for adding applications.
  • the priority of the first application to the fourth application can be sequentially reduced, and the user can click to add
  • the control of the application program can choose to add the application program installed in the mobile phone, so as to realize the setting of the priority of the application program prompt.
  • the user can also change the order of the added application in the application adding interface by dragging the added application, so as to realize the adjustment of the priority of each application, which is not made in this embodiment of the application.
  • the first application program to the fourth application program may have no priority setting.
  • any one of the first application to the fourth application can be deleted.
  • the user can press and hold one of the applications to trigger the display of the delete control on the first display screen, and the user further clicks the delete Control, you can delete the added application.
  • the number of applications allowed to be added may be one or multiple, which is not specifically limited in the embodiment of the present application.
  • the user can add a shortcut application through the add control 9240 corresponding to the setting item "quick application” 924.
  • the user can click 9240 to select one or more applications in the mobile phone to add, and the mobile phone can
  • the control corresponding to the added shortcut application on the second display screen allows the user to quickly open the shortcut application on the first display screen by triggering the control on the second display screen.
  • the setting interface may also include other setting items, and the specific display content of the setting interface may also be set according to actual needs, which is not specifically limited in the embodiment of the present application.
  • the user can also enter the main setting interface as shown in FIG. 8 through operations such as backing, which is not specifically limited in the embodiment of the present application.
  • the second display screen 91 may be in a closed state, or the second display screen 91 may also perform the display of step S110 according to the received notification message. Or, the second display screen may also perform the display as in step S114, which is not specifically limited in the embodiment of the present application.
  • Step S108 Determine whether there are unread messages.
  • the second display screen can be used to further prompt the unread messages.
  • the user may set an application that allows notification in the mobile phone in advance, and in the case of receiving a message of an application that allows notification, it may be considered that there is an unread message.
  • the unread message may be a message received by the mobile phone from the server, for example, a WeChat application, a short message application, and other messages related to applications that need to receive messages from the server.
  • the unread message may also be a message generated in a mobile phone, such as a message generated by an alarm clock, etc.
  • the embodiment of the present application does not limit the specific source of the unread message.
  • Step S109 Determine whether the second display screen is allowed to be displayed.
  • step S104 for the specific implementation of determining whether the second display screen is allowed to be displayed, reference may be made to the record of step S104, which will not be repeated here.
  • Step S110 Display the application icon of the application corresponding to the unread message on the second display screen.
  • the number of unread messages may be one or more.
  • the application icon of the application corresponding to the one unread message may be displayed on the second display screen.
  • the display mode of the application icons of the applications corresponding to the multiple unread messages on the second display screen can be determined according to the priority of the application corresponding to each unread message.
  • the applications corresponding to the multiple unread messages can be sorted according to a preset sorting rule, and according to the order of the multiple applications in the sorting rule,
  • the application icons of the multiple application programs are displayed in turn on the second display screen.
  • the preset sorting rule is set by the user as described in step S107, and the setting process will not be repeated here.
  • the user when receiving unread messages of application A, unread messages of application B, and unread messages of application C, if the user only adds For application B, only the application icon of application B can be displayed, or the application icon of application B-the application icon of application C-the application icon of application A can be displayed in turn on the second display screen in the order, or according to The order of application icon of application B-application icon of application A-application icon of application C is displayed in turn on the second display screen, that is, only the application icon of application B is displayed first in the second display screen, and the rest The application icon of the application program is not displayed or randomly displayed on the second display screen, which is not specifically limited in the embodiment of the present application.
  • the preset sorting rule may also be based on the number or duration of the user's use of the multiple applications in a period of time, or the frequency with which the application provides unread messages, or the user's unread messages to multiple applications The number of readings and so on are automatically calculated.
  • the number of times the user has opened application A in the past week is 5 If the number of openings for application B is 7 times and the number of openings for application C is 9 times, you can follow the order of application icon of application C-application icon of application B-application icon of application A Display in turn in the second display screen.
  • the user when receiving unread messages of application A, unread messages of application B, and unread messages of application C, after calculation, within one week, when there are unread messages in application A, the user reads The number of unread messages is 0. When there is an unread message in application B, the number of times the user reads the unread message is 3 times. When there is an unread message in application C, the number of times the user reads the unread message If it is 10 times, the application icon of application C-the application icon of application B-the application icon of application A can be displayed on the second display screen in turn.
  • the preset sorting rule may also be determined according to the chronological order of the received unread messages. For example, when the unread messages of application A and the unread messages of application B are received in chronological order, Unread messages and unread messages of application C may be displayed in the second display screen in turn in the order of application icon of application A-application icon of application B-application icon of application C.
  • the preset sorting rule may also be determined according to the chronological order of unread messages generated in the mobile phone.
  • the unread messages and application programs of application A are generated in the mobile phone in chronological order.
  • the unread messages of B and the unread messages of application C may be displayed in the second display screen in turn in the order of application icon of application A-application icon of application B-application icon of application C.
  • the preset sorting rule may also be determined based on the foregoing multiple situations, which is not specifically limited in the embodiment of the present application.
  • the application icons of the multiple application programs may also be displayed cyclically in order on the second display screen, which is not specifically limited in the embodiment of the present application.
  • the interval duration between every two adjacently displayed application icons may be the same or different, which is not specifically limited in the actual example of the application.
  • the interval duration between every two adjacently displayed application icons is less than the preset duration, thereby avoiding the prompt delay caused by the excessively large interval duration.
  • the display order of the X application icons can be used to set the display time of the X application icons on the second display screen as t1, t2 , T3....tX, where t1>t2>t3>...>tX, which is not specifically limited in the embodiment of the present application.
  • Step S111 Determine whether a trigger operation of the application icon of the second display screen is received.
  • the trigger operation of the application icon on the second display screen may be operations such as clicking the second display screen, double-clicking the second display screen, or long pressing the second display screen.
  • the trigger operation of the screen is not specifically limited.
  • step S112 may be executed.
  • a trigger prompt may be further displayed in the first display screen, for example, water ripples are displayed in the first display screen around the second display screen , In order to achieve the effect of prompting the user to trigger the second display screen.
  • the application icon may be continuously displayed on the second display screen, which is not specifically limited in the embodiment of the present application.
  • Step S112 Display the interface of the application program corresponding to the triggered application icon on the first display screen.
  • the method of displaying the interface of the application program corresponding to the triggered application icon on the first display screen can be set according to actual needs. For example, it can start from the position of the second display screen, and The extended manner gradually presents the interface of the application program corresponding to the triggered application icon in the full screen of the first display screen.
  • the interface of the application program corresponding to the triggered application icon is directly displayed on the first display screen, which is not specifically limited in the embodiment of the present application.
  • the triggered application icon in the left picture is a short message application icon
  • the triggered application icon in the second display screen 111 after receiving a trigger operation on the short message application icon in the second display screen 111, it can be displayed on the first display screen in the right picture.
  • 112 displays the interface of the message including the unread short message, or the dialogue interface of the short message, which is not specifically limited in the embodiment of the present application.
  • the user may further perform corresponding operations on the interface of the application program corresponding to the triggered application icon displayed on the first display screen, which is not specifically limited in the embodiment of the present application.
  • the second display screen when the user performs an operation on the first display screen, the second display screen may be in a closed state, or the second display screen may also display other application icons other than the triggered application icon, or the second display The screen is turned off for a period of time (for example, it is turned off for about 5 seconds), and then other application icons other than the triggered application icon are displayed, which is not specifically limited in the embodiment of the present application.
  • the mobile phone can perform step S113.
  • Step S113 Determine whether the second display screen is allowed to be displayed.
  • step S104 for the specific implementation of determining whether the second display screen is allowed to be displayed, reference may be made to the record of step S104, which will not be repeated here.
  • Step S114 Display the preset application icon of the application on the second display screen.
  • the preset application program may be an application program set by the mobile phone system at the factory or may be set by the user.
  • the preset application may be a photographing application, and the user can quickly open the photographing application by triggering the photographing application icon on the second display screen to realize a quick photograph.
  • the preset application program may also be any other application program, which is not specifically limited in the embodiment of the present application.
  • the preset application program can also be determined based on the user's historical behavior data. For example, if it is calculated that the application that the user has used for the longest time and/or opened the most times in the most recent month is a WeChat application Program, the WeChat application can be used as the preset application, and the user can quickly open the WeChat application by triggering the WeChat application icon on the second display screen.
  • the number of preset applications may also be multiple, and the second display screen may alternately display application icons of multiple preset applications, which is not specifically limited in the embodiment of the present application.
  • the current display content on the first display screen may be irrelevant to the display content on the second display screen.
  • the user can watch videos, play games, etc. on the first display screen, and the second display screen may Display application icons of preset applications, etc.
  • Step S115 Determine whether a trigger operation of the application icon of the second display screen is received.
  • the trigger operation of the application icon on the second display screen may be operations such as clicking the second display screen, double-clicking the second display screen, or long pressing the second display screen.
  • the trigger operation of the screen is not specifically limited.
  • step S116 may be executed.
  • a trigger prompt may be further displayed in the first display screen, for example, water ripples are displayed in the first display screen around the second display screen , In order to achieve the effect of prompting the user to trigger the second display screen.
  • the application icon may be continuously displayed on the second display screen, which is not specifically limited in the embodiment of the present application.
  • Step S116 Display the interface of the application program corresponding to the triggered application icon on the first display screen.
  • the method of displaying the interface of the application program corresponding to the triggered application icon on the first display screen can be set according to actual needs. For example, it can start from the position of the second display screen, and The extended manner gradually presents the interface of the application program corresponding to the triggered application icon in the full screen of the first display screen.
  • the interface of the application program corresponding to the triggered application icon is directly displayed on the first display screen, which is not specifically limited in the embodiment of the present application.
  • the user may further perform corresponding operations on the interface of the application program corresponding to the triggered application icon displayed on the first display screen, which is not specifically limited in the embodiment of the present application.
  • the second display screen when the user performs an operation on the first display screen, the second display screen may be in a closed state, or the second display screen may also display other application icons other than the triggered application icon, or the second display The screen is turned off for a period of time (for example, it is turned off for about 5 seconds), and then other application icons other than the triggered application icon are displayed, which is not specifically limited in the embodiment of the present application.
  • the interface for taking pictures by the rear camera or the interface for taking pictures by the front camera can be displayed on the first display screen, which is not specifically limited in the embodiment of the present application.
  • the triggered application icon is a camera application icon in the left picture
  • the mobile phone after the mobile phone receives a trigger operation on the camera application icon on the second display screen 121, it can display it on the first display screen 122.
  • the selfie interface corresponding to the front camera.
  • the second display screen is usually small, when the second display screen is displayed, only one application icon can be displayed at each moment. Therefore, in this embodiment of the present application, it can be set regardless of the current status of the second display screen.
  • the display content is the application icon corresponding to the notification message or the application icon corresponding to the shortcut application.
  • the embodiment of the present application may set the display priority of the icon of the setting application to be the highest.
  • an application scenario that falsely triggers the first display screen and/or the second display screen.
  • the pocket may shake.
  • the application icons on the first display screen and/or the second display screen of the mobile phone may be turned on due to the sensing of the trigger, resulting in false triggering. Therefore, a false trigger mechanism can also be set in the embodiments of the present application.
  • the screen of the mobile phone usually has a large area of touch. Therefore, in a way to prevent false triggering, if the trigger range received on the first display screen of the mobile phone is greater than the range threshold , It can be considered that a false trigger operation is received, and the mobile phone does not respond to the triggering of the first display screen and/or the second display screen.
  • the range threshold can be set according to actual application scenarios, which is not specifically limited in the embodiment of the present application.
  • the low beam sensor in the mobile phone can also be used to determine the distance between the mobile phone and the surrounding objects.
  • the distance threshold can be set according to actual application scenarios, which is not specifically limited in the embodiment of the present application.
  • the current display content on the first display screen may not be related to the display content on the second display screen.
  • the user can watch videos, play games, etc. on the first display screen, while receiving When it comes to the notification message, the second display screen may display the application icon corresponding to the notification message or the application icon for quickly opening the application, etc.
  • the content displayed on the second display screen is used as an example of application icons.
  • controls can be displayed on the second display screen according to actual application scenarios.
  • the controls can be To apply icons, buttons, text or pictures, etc., the embodiment of the present application does not specifically limit this.
  • the second display screen is not only used as a decorative screen to block the front camera, but can also prompt unread messages, provide a quick entry to display applications, and make full use of the display of the second display screen.
  • the area provides a way for the user to directly interact with the secondary screen, which improves the utilization rate of the second display screen.
  • the above-mentioned electronic device includes hardware structures and/or software modules corresponding to each function.
  • the embodiments of the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software-driven hardware depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered as going beyond the scope of the embodiments of the present application.
  • the embodiments of the present application also provide an electronic device that implements the foregoing method embodiments.
  • the electronic device can be divided into functional modules.
  • each functional module can be divided corresponding to each function, or two or two More than one function is integrated in one processing module.
  • the above-mentioned integrated modules can be implemented in the form of hardware or software function modules. It should be noted that the division of modules in the embodiments of the present application is illustrative, and is only a logical function division, and there may be other division methods in actual implementation.
  • FIG. 13 a possible structural schematic diagram of an electronic device provided by an embodiment of the present application is shown.
  • the electronic device includes: a first display screen 1301; The processing unit 1302 and the second display screen 1303.
  • the first display screen 1301 is used to support the electronic device to perform the operations in step S102, step S103, step S107, step S112, and step S116 in the foregoing embodiment, or other processes of the technology described in the embodiment of the present application.
  • the first display screen 1301 may be a touch screen or other hardware or a combination of hardware and software.
  • the processing unit 1302 is configured to support the electronic device to perform the operations in step S104, step S108, step S109, and step S113 in the foregoing method embodiment, or other processes of the technology described in the embodiment of the present application.
  • the second display screen 1303 is used to support the electronic device to perform the operations in step S105, step S106, step S110, step S111, step S114, and step S115 in the above-mentioned embodiment, or other processes of the technology described in the embodiment of this application .
  • the second display screen 1303 may be a touch screen or other hardware or a combination of hardware and software.
  • the electronic device includes but is not limited to the unit modules listed above.
  • the specific functions that can be realized by the above functional units also include but are not limited to the functions corresponding to the method steps described in the above examples.
  • the detailed descriptions of other units of the electronic device please refer to the detailed descriptions of the corresponding method steps. This application implements The examples are not repeated here.
  • the electronic device involved in the foregoing embodiment may include: a processing module, a storage module, and a first display screen and a second display screen.
  • the processing module is used to control and manage the actions of the electronic device.
  • the first display screen and the second display screen are used for displaying content according to instructions from the processing module.
  • the storage module is used to store the program code and data of the electronic device.
  • the electronic device may also include an input module and a communication module.
  • the communication module is used to support the communication between the electronic device and other network entities, so as to realize the functions of the electronic device such as call, data interaction, and Internet access.
  • the processing module may be a processor or a controller.
  • the communication module can be a transceiver, an RF circuit, or a communication interface.
  • the storage module may be a memory.
  • the display module can be a screen or a display.
  • the input module can be a touch screen, a voice input device, or a fingerprint sensor.
  • the processing module is a processor
  • the communication module is an RF circuit
  • the storage module is a memory
  • the first display screen and the second display screen are touch screens
  • the electronic device provided in the embodiment of the present application may be the electronic device shown in FIG. 2.
  • the first display screen and the second display screen may be the hardware of FIG. 3, and the processing module may adopt the software layer architecture in FIG. 3.
  • the above-mentioned communication module may not only include an RF circuit, but also a wireless fidelity (Wi-Fi) module, a near field communication technology (near field communication, NFC) module, and a Bluetooth module.
  • Communication modules such as RF circuit, NFC module, Wi-Fi module, and Bluetooth module can be collectively referred to as communication interfaces.
  • the above-mentioned processor, RF circuit, first display screen and second display screen, and memory may be coupled together via a bus.
  • FIG. 14 there is shown another possible structural schematic diagram of an electronic device provided by an embodiment of the present application, including: one or more processors 1401, a memory 1402, a first display screen 14031, a camera 1404, and a second The second display screen 14032; the first display screen 14031 is provided with a punching area, and the camera 1404 and the second display screen 14032 are provided under the punching area; the above-mentioned devices can communicate through one or more communication buses 1406.
  • one or more computer programs are stored in the memory 1402 by 1405 and are configured to be executed by one or more processors 1401; the one or more computer programs 1405 include instructions for executing the display method of any of the above steps .
  • electronic equipment includes but is not limited to the above-listed devices.
  • the above-mentioned electronic equipment may also include radio frequency circuits, positioning devices, sensors, etc., when the electronic equipment includes other components, the above-mentioned electronic equipment may be as shown in FIG. 2 Electronic equipment shown.
  • An embodiment of the present application also provides a computer storage medium, including computer instructions, which when the computer instructions run on an electronic device, cause the electronic device to execute the display method of any of the above-mentioned steps.
  • the embodiments of the present application also provide a computer program product, which when the computer program product runs on a computer, causes the computer to execute the display method of any of the above-mentioned steps.
  • the embodiment of the present application also provides a device, which has the function of realizing the behavior of the electronic device in the above-mentioned display methods.
  • the above-mentioned functions can be realized by hardware, or by hardware executing corresponding software.
  • the hardware or software includes one or more modules corresponding to the above-mentioned functions.
  • the electronic equipment, computer storage media, computer program products, or devices provided in the embodiments of the present application are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the above provided The beneficial effects of the corresponding method will not be repeated here.
  • the disclosed system, device, and method may be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods, for example, multiple units or components may be divided. Combined or can be integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional units in the various embodiments of the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium.
  • the technical solutions of the embodiments of the present application are essentially or the part that contributes to the existing technology, or all or part of the technical solutions can be embodied in the form of software products, and the computer software products are stored in a storage
  • the medium includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage media include: flash memory, mobile hard disk, read-only memory, random access memory, magnetic disk or optical disk and other media that can store program codes.

Abstract

一种显示方法和电子设备,在电子设备中检测到第一应用程序的第一未读消息后,可以在第二显示屏幕(142)中显示第一未读消息对应的控件,且在第二显示屏幕(142)中可以进一步接收用户对第一未读消息对应的控件的第一操作,响应于第一操作,在第一显示屏幕(141)中显示包括第一未读消息的部分内容的第一界面。对于电子设备的用户来说,第二显示屏幕(142)不是仅仅作为遮挡前置摄像头的装饰屏幕,还可以提示未读消息,提供快捷打开包括未读消息的部分内容的界面的入口,不仅充分利用了第二显示屏幕(142)的显示区域,也提供了用户与副屏直接交互的方式,因此提高了第二显示屏幕(142)的利用率。

Description

显示方法和电子设备
本申请要求于2019年08月30日提交中国专利局、申请号为201910817251.1、申请名称为“显示方法和电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及终端技术,尤其涉及一种显示方法和电子设备。
背景技术
随着终端技术的发展,终端屏幕的设计越来越趋向于具有较大的屏占比,且配置前置摄像头。示例的,如图1所示,示出了一种打孔屏终端,这类终端在主屏幕11上打孔,在打孔区域下方设置前置摄像头10,主屏幕11亮屏时,主屏幕11中前置摄像头所在的打孔区域不能进行显示。
现有技术中,为了改善前置摄像头显示突兀对主屏幕美观度的影响,可以在打孔区域正对于摄像头的上方设置副屏,在主屏幕亮屏时,在该副屏中固定显示背景色或图案标识等固定内容。
然而,虽然现有技术中在摄像头上方设置了副屏,但是因为副屏上显示的固定内容与主屏幕上显示的内容的相关性不高,使得终端主屏幕与副屏显示的融合度较差,副屏的利用率较低。
发明内容
本申请提供一种显示方法和电子设备,提高了副屏的利用率,丰富了副屏与用户的交互方式。
本申请实施例第一方面提供一种显示方法,应用于电子设备,电子设备包括第一显示屏幕、摄像头和第二显示屏幕,第一显示屏幕上设置有打孔区域,打孔区域下方设置有摄像头和第二显示屏幕,该方法包括:检测到第一应用程序的第一未读消息;在第二显示屏幕中显示第一未读消息对应的控件;检测到用户对第一未读消息对应的控件的第一操作;响应于第一操作,在第一显示屏幕中显示第一界面,第一界面包括第一未读消息的部分内容。
本申请实施例中,在电子设备中检测到第一应用程序的第一未读消息后,可以在第二显示屏幕中显示第一未读消息对应的控件,且在第二显示屏幕中可以进一步接收用户对第一未读消息对应的控件的第一操作,响应于第一操作,在第一显示屏幕中显示包括第一未读消息的部分内容的第一界面。对于电子设备的用户来说,第二显示屏幕不是仅仅作为遮挡前置摄像头的装饰屏幕,还可以提示未读消息,提供快捷打开包括未读消息的部分内容的界面的入口,即本申请实施例不仅充分利用了第二显示屏幕的显示区域,也提供了用户与副屏直接交互的方式,因此提高了第二显示屏幕的利用率。
可选的,第一未读消息可以是手机从服务器接收的未读消息,例如未读的短信,或者 未读的微信消息等。第一未读消息也可以是手机生成的未读消息,手机中闹钟或日历等应用根据用户的设定生成的提醒消息等。通过在第二显示屏幕中显示未读消息,可以达到提示用户存在未读消息的效果。
可选的,第一未读消息对应的控件可以是第一应用程序的图标,第一未读消息对应的控件等。则用户可以通过触控第一未读消息的控件,实现第一未读消息的快速打开。
可选的,第一界面中可以只显示第一未读消息的部分内容(例如发送方,消息正文的前一部分内容等)或者显示全部内容,第一界面也可以是第一应用程序的界面,例如第一未读消息是未读的微信消息,则第一界面是微信应用的主界面,或者微信应用中与发送方的对话界面等。则用户可以在第一界面中进一步执行对该第一未读消息的进一步处理,例如查阅、回复微信消息等。
结合第一方面,在一种可能的实现方式中,在第二显示屏幕中显示第一未读消息对应的控件之前,该方法还包括:检测到第二应用程序的第二未读消息;和,在第二显示屏幕中显示第二未读消息对应的控件;其中,第二应用程序比第一应用程序的使用次数更多,或者第二应用程序比第一应用程序的使用时长更长,或者第二应用程序提供未读消息的频率比第一应用程序更高,或者用户阅读第二应用程序的未读消息的频率比第一应用程序更高;或者,第二未读消息比第一未读消息生成的时间早;或者第二未读消息比第一未读消息到达电子设备的时间早。这样,在电子设备中检测到多个未读消息时,可以按照用户对各未读消息对应的应用程序的使用次数,或用户对各未读消息对应的应用程序的使用时长,或各未读消息对应的应用程序提供未读消息的频率,或用户阅读各未读消息对应的应用程序的未读消息的频率,或各未读消息对应的应用程序生成的时间,或各未读消息对应的应用程序到达电子设备的时间,来确定各未读消息的优先级,在第二显示屏幕中先显示优先级较高的未读消息对应的控件,再显示优先级较低的未读消息的控件,从而可以优先为用户提供重要的未读消息,提升了提示的智能性。
结合第一方面,在一种可能的实现方式中,在第二显示屏幕中显示第一未读消息对应的控件,包括:在显示第二未读消息对应的控件一段时间之后,在第二显示屏幕中显示第一未读消息对应的控件。这样,可以实现在第二显示屏幕中对多个未读消息对应的控件的轮流显示,从而可以避免对多个未读消息的提示的遗漏,使得提示更加全面。
需要说明的是,本申请实施例的上述步骤可以对应于具体实施方式中步骤S108至步骤S112,也即,具体实施方式中的步骤S108至步骤S112可以独立执行,以实现将第二显示屏幕作为提示未读消息和提供快捷打开包括未读消息的部分内容的界面的入口。
结合第一方面,在一种可能的实现方式中,该方法还包括:在第一显示屏幕中显示第一界面时,关闭第二显示屏幕;或,在第一显示屏幕中显示第一界面时,在第二显示屏幕中显示第三应用程序对应的控件,第三应用程序为用户设置或默认的应用程序,或者为第三未读消息对应的应用程序。
本申请实施例中,在第一显示屏幕中显示第一界面时,关闭第二显示屏幕,可以避免第二显示屏幕的显示对第一界面造成的干扰。
在第一显示屏幕中显示第一界面时,在第二显示屏幕中显示第三应用程序对应的控件,在第三应用程序为用户设置或默认的应用程序时,用户可以通过触发该用户设置或默认的应用程序的控件实现快速进入应用程序界面,在第三应用程序为第三未读消息对应的应用 程序时,第二显示屏幕可以进一步提示用户存在第三未读消息。
结合第一方面,在一种可能的实现方式中,在第二显示屏幕中显示第一未读消息对应的控件,包括:在第二显示屏幕中常亮显示或闪烁显示第一未读消息对应的控件。本申请实施例中为用户提供了多样化的显示方式,具体的,通过闪烁显示可以较好的吸引用户注意,从而达到较好的提示效果,通过恒定亮度显示可避免对用户的打扰,从而增加用户的舒适感,用户可以根据实际的应用场景适应设置显示方式,从而可以提升用户体验。
结合第一方面,在一种可能的实现方式中,检测到第一应用程序的第一未读消息之前,该方法还包括:在第二显示屏幕显示第四应用程序的控件;检测到用户对第四应用程序的控件的操作;响应于对第四应用程序的控件的操作,在第一显示屏幕中显示第四应用程序的界面。本申请实施例中,在电子设备检测到未读消息之前,第二显示屏幕不需要进行未读消息提示,因此,第二显示屏幕可以显示第四应用程序的控件,用户可以触发第四应用程序的控件在第一显示屏幕中显示第四应用程序的界面,即本申请实施例中,用户可以通过第二显示屏幕实现对第四应用程序的快速打开,提升了用户打开第四应用程序的效率。
需要说明的是,该第四应用程序可以对应于具体实施方式部分的设置的应用程序或预设的应用程序,在第四应用程序为设置的应用程序时,该步骤可以对应于具体实施方式中步骤S105至步骤S107,在第四应用程序为预设的应用程序时,该步骤可以对应于具体实施方式中步骤S114至步骤S116,也即,具体实施方式中的步骤S105至步骤S107可以独立执行,以实现将第二显示屏幕作为快速打开设置的应用程序的入口,具体实施方式中的步骤S114至步骤S116也可以独立执行,以实现将第二显示屏幕作为快速打开预设的应用程序的入口。
结合第一方面,在一种可能的实现方式中,第四应用程序为设置的应用程序,在第二显示屏幕显示第四应用程序的控件之前,方法还包括:检测到用户的触发操作,在第二显示屏幕显示第四应用程序的控件,包括:响应于用户的触发操作,在第二显示屏幕显示第四应用程序的控件。本申请实施例中,在检测到用户的触发操作时,才在第二显示屏幕中显示第四应用程序的控件,因为该第四应用程序的控件在第二显示屏幕中的显示是由用户触发的,因此该显示更能符合用户意图,提升用户体验。
结合第一方面,在一种可能的实现方式中,该方法还包括:响应于所述用户的触发操作,在所述第一显示屏幕显示第二界面,所述第二界面为通知栏的界面。本申请实施例中,用户的一个触发操作,即可以触发第二显示屏幕中显示第四应用程序的控件,还可以触发第一显示屏幕中显示通知栏的界面,可以理解,因为通知栏的界面中已经包括了未读的通知消息,所以可以不再第二显示屏幕中进一步提示未读消息,但是通知栏的界面中可能不包括第四应用程序的控件,所以在第二显示屏幕中显示第四应用程序对应的控件,可以实现对第一显示屏幕内容的补充,便于用户快捷的实现对第四应用程序的操作。
结合第一方面,在一种可能的实现方式中,触发操作包括以下任意一个:在第一显示屏幕中的下滑操作、在第一显示屏幕中的上滑操作、在第一显示屏幕中的斜滑操作、在第一显示屏幕中的双击操作、以及在第一显示屏幕中的按压操作,其中按压操作为对第一显示屏幕的按压压力大于压力阈值的操作。
结合第一方面,在一种可能的实现方式中,第四应用程序为用户选定的应用程序,在第二显示屏幕显示第四应用程序的控件,包括:在用户选定了第四应用程序之后,自动在 第二显示屏幕显示第四应用程序的控件。本申请实施例中,在用户选定第四应用程序之后,电子设备可以自动在第二显示屏幕中显示第四应用程序的控件,从而可以减少显示第四应用程序的控件中用户的操作。
本申请实施例第二方面提供一种显示方法,应用于电子设备,电子设备包括第一显示屏幕、摄像头和第二显示屏幕,第一显示屏幕上设置有打孔区域,打孔区域下方设置有摄像头和第二显示屏幕,该方法包括:在第一显示屏幕显示待机界面时,在第二显示屏幕显示第四应用程序的控件;检测用户对第四应用程序的控件的操作;响应于对第四应用程序的控件的操作,在第一显示屏幕显示第四应用程序的界面。
本申请实施例中,在电子设备第一显示屏幕显示待机界面时,可以在第二显示屏幕中显示第四应用程序的控件,且在第二显示屏幕中可以进一步接收用户对第四应用程序的控件的操作,并响应于对第四应用程序的控件的操作在第一显示屏幕中显示第四应用程序的界面,对于电子设备的用户来说,第二显示屏幕不是仅仅作为遮挡前置摄像头的装饰屏幕,而是作为提供快捷打开第四应用程序的界面的入口,即本申请实施例提供了用户与副屏直接交互的方式,因此提高了第二显示屏幕的利用率。
结合第二方面,在一种可能的实现方式中,第四应用程序为设置的应用程序,在第二显示屏幕显示第四应用程序的控件之前,方法还包括:检测到用户的触发操作,在第二显示屏幕显示第四应用程序的控件,包括:响应于用户的触发操作,在第二显示屏幕显示第四应用程序的控件。本申请实施例中,在检测到用户的触发操作时,才在第二显示屏幕中显示设置的应用程序的控件,因为该设置的应用程序的控件在第二显示屏幕中的显示是由用户触发的,因此该显示更能符合用户意图,提升用户体验。
需要说明的是,在第四应用程序为设置应用程序时,该步骤可以对应于具体实施方式中步骤S105至步骤S107,也即,具体实施方式中的步骤S105至步骤S107可以独立执行,以实现将第二显示屏幕作为快速打开设置应用程序的入口。
结合第二方面,在一种可能的实现方式中,该方法还包括:响应于所述用户的触发操作,在所述第一显示屏幕显示第二界面,所述第二界面为通知栏的界面。本申请实施例中,用户的一个触发操作,即可以触发第二显示屏幕中显示第四应用程序的控件,还可以触发第一显示屏幕中显示通知栏的界面,可以理解,因为通知栏的界面中已经包括了未读的通知消息,所以可以不再第二显示屏幕中进一步提示未读消息,但是通知栏的界面中可能不包括第四应用程序的控件,所以在第二显示屏幕中显示第四应用程序对应的控件,可以实现对第一显示屏幕内容的补充,便于用户快捷的实现对第四应用程序的操作。
结合第二方面,在一种可能的实现方式中,第四应用程序为用户选定的应用程序,在第二显示屏幕显示第四应用程序的控件,包括:在用户选定了第四应用程序之后,自动在第二显示屏幕显示第四应用程序的控件。本申请实施例中,在用户选定第四应用程序之后,电子设备可以自动在第二显示屏幕中显示第四应用程序的控件,从而可以减少显示第四应用程序的控件中用户的操作。
需要说明的是,在第四应用程序为用户选定的应用程序时,该步骤可以对应于具体实施方式中步骤S114至步骤S116,具体实施方式中的步骤S114至步骤S116也可以独立执行,以实现将第二显示屏幕作为快速打开用户选定的应用程序的入口。
结合第二方面,在一种可能的实现方式中,该方法还包括:检测到第一应用程序的第 一未读消息;在第二显示屏幕中显示第一未读消息对应的控件;检测到用户对第一未读消息对应的控件的第一操作;响应于第一操作,在第一显示屏幕中显示第一界面,第一界面包括第一未读消息的部分内容。本申请实施例中,在电子设备中检测到第一应用程序的第一未读消息后,可以在第二显示屏幕中显示第一未读消息对应的控件,且在第二显示屏幕中可以进一步接收用户对第一未读消息对应的控件的第一操作,并响应于第一操作在第一显示屏幕中显示包括第一未读消息的部分内容的第一界面,对于电子设备的用户来说,第二显示屏幕不是仅仅作为遮挡前置摄像头的装饰屏幕,而是作为提示未读消息和提供快捷打开包括未读消息的部分内容的界面的入口,即本申请实施例不仅充分利用了第二显示屏幕的显示区域,也提供了用户与副屏直接交互的方式,因此提高了第二显示屏幕的利用率。
需要说明的是,本申请实施例的上述步骤可以对应于具体实施方式中步骤S108至步骤S112,也即,具体实施方式中的步骤S108至步骤S112可以独立执行,以实现将第二显示屏幕作为提示未读消息和提供快捷打开包括未读消息的部分内容的界面的入口。
结合第二方面,在一种可能的实现方式中,在第二显示屏幕中显示第一未读消息对应的控件之前,该方法还包括:检测到第二应用程序的第二未读消息;和,在第二显示屏幕中显示第二未读消息对应的控件;其中,第二应用程序比第一应用程序的使用次数更多,或者第二应用程序比第一应用程序的使用时长更长,或者第二应用程序提供未读消息的频率比第一应用程序更高,或者用户阅读第二应用程序的未读消息的频率比第一应用程序更高;或者,第二未读消息比第一未读消息生成的时间早;或者第二未读消息比第一未读消息到达电子设备的时间早。这样,在电子设备中检测到多个未读消息时,可以按照用户对各未读消息对应的应用程序的使用次数,或用户对各未读消息对应的应用程序的使用时长,或各未读消息对应的应用程序提供未读消息的频率,或用户阅读各未读消息对应的应用程序的未读消息的频率,或各未读消息对应的应用程序生成的时间,或各未读消息对应的应用程序到达电子设备的时间,来确定各未读消息的优先级,在第二显示屏幕中先显示优先级较高的未读消息对应的控件,再显示优先级较低的未读消息的控件,从而可以优先为用户提供重要的未读消息,提升了提示的智能性。
结合第二方面,在一种可能的实现方式中,在第二显示屏幕中显示第一未读消息对应的控件,包括:在显示第二未读消息对应的控件一段时间之后,在第二显示屏幕中显示第一未读消息对应的控件。这样,可以实现在第二显示屏幕中对多个未读消息对应的控件的轮流显示,从而可以避免对多个未读消息的提示的遗漏,使得提示更加全面。
结合第二方面,在一种可能的实现方式中,该方法还包括:在第一显示屏幕中显示第一界面时,关闭第二显示屏幕;或,在第一显示屏幕中显示第一界面时,在第二显示屏幕中显示第三应用程序对应的控件,第三应用程序为用户设置或默认的应用程序,或者为第三未读消息对应的应用程序。
本申请实施例中,在第一显示屏幕中显示第一界面时,关闭第二显示屏幕,可以避免第二显示屏幕的显示对第一界面造成的干扰。
在第一显示屏幕中显示第一界面时,在第二显示屏幕中显示第三应用程序对应的控件,在第三应用程序为用户设置或默认的应用程序时,用户可以通过触发该用户设置或默认的应用程序的控件实现快速进入应用程序界面,在第三应用程序为第三未读消息对应的应用程序时,第二显示屏幕可以进一步提示用户存在第三未读消息。
结合第二方面,在一种可能的实现方式中,在第二显示屏幕中显示第一未读消息对应的控件,包括:在第二显示屏幕中常亮显示或闪烁显示第一未读消息对应的控件。本申请实施例中为用户提供了多样化的显示方式,具体的,通过闪烁显示可以较好的吸引用户注意,从而达到较好的提示效果,通过恒定亮度显示可避免对用户的打扰,从而增加用户的舒适感,用户可以根据实际的应用场景适应设置显示方式,从而可以提升用户体验。
本申请实施例第三方面提供一种电子设备,包括第一显示屏幕、摄像头和第二显示屏幕,第一显示屏幕上设置有打孔区域,打孔区域下方设置有摄像头和第二显示屏幕,电子设备还包括:处理单元;处理单元,用于检测第一应用程序的第一未读消息;第二显示屏幕用于,当处理单元检测到第一未读消息时,显示第一未读消息对应的控件;第二显示屏幕,还用于检测用户对第一未读消息对应的控件的第一操作;第一显示屏幕,用于响应于第一操作,显示第一界面,第一界面包括第一未读消息的部分内容。
结合第三方面,在一种可能的实现方式中,处理单元,还用于检测第二应用程序的第二未读消息;第二显示屏幕,还用于显示第二未读消息对应的控件;其中,第二应用程序比第一应用程序的使用次数更多,或者第二应用程序比第一应用程序的使用时长更长,或者第二应用程序提供未读消息的频率比第一应用程序更高,或者用户阅读第二应用程序的未读消息的频率比第一应用程序更高;或者,第二未读消息比第一未读消息生成的时间早;或者第二未读消息比第一未读消息到达电子设备的时间早。
结合第三方面,在一种可能的实现方式中,第二显示屏幕,具体用于在处理单元检测到第二未读消息时,在显示第一未读消息对应的控件之前,显示第二未读消息对应的控件。
结合第三方面,在一种可能的实现方式中,处理单元,还用于在第一显示屏幕中显示第一界面时,关闭第二显示屏幕;或,第二显示屏幕,还用于在第一显示屏幕中显示第一界面时,显示第三应用程序对应的控件,第三应用程序为用户设置或默认的应用程序,或者为第三未读消息对应的应用程序。
结合第三方面,在一种可能的实现方式中,第二显示屏幕,具体用于,常亮显示或闪烁显示第一未读消息对应的控件。
结合第三方面,在一种可能的实现方式中,第二显示屏幕,还用于显示第四应用程序的控件;第二显示屏幕,还用于检测用户对第四应用程序的控件的操作;第一显示屏幕,还用于响应于对第四应用程序的控件的操作,显示第四应用程序的界面。
结合第三方面,在一种可能的实现方式中,第四应用程序为设置的应用程序,第一显示屏幕,还用于检测用户的触发操作;第二显示屏幕,具体用于,响应于用户的触发操作,在第二显示屏幕显示第四应用程序的控件。
结合第三方面,在一种可能的实现方式中,第一显示屏幕,还用于,响应于用户的触发操作,显示第二界面,第二界面为通知栏的界面。
结合第三方面,在一种可能的实现方式中,触发操作包括以下任意一个:在第一显示屏幕中的下滑操作、在第一显示屏幕中的上滑操作、在第一显示屏幕中的斜滑操作、在第一显示屏幕中的双击操作、以及在第一显示屏幕中的按压操作,其中按压操作为对第一显示屏幕的按压压力大于压力阈值的操作。
结合第三方面,在一种可能的实现方式中,第二显示屏幕,具体用于在用户选定了第四应用程序之后,自动显示第四应用程序的控件。
本申请实施例第四方面提供一种电子设备,包括第一显示屏幕、摄像头和第二显示屏幕,第一显示屏幕上设置有打孔区域,打孔区域下方设置有摄像头和第二显示屏幕,第一显示屏幕,用于显示待机界面;第二显示屏幕,用于在第一显示屏幕显示待机界面时,显示第四应用程序的控件;第二显示屏幕,还用于检测用户对第四应用程序的控件的操作;第一显示屏幕,用于响应于对第四应用程序的控件的操作,显示第四应用程序的界面。
结合第四方面,在一种可能的实现方式中,第四应用程序为设置的应用程序,第一显示屏幕,还用于检测用户的触发操作;第二显示屏幕,具体用于响应于用户的触发操作,在第二显示屏幕显示第四应用程序的控件。
结合第四方面,在一种可能的实现方式中,第二显示屏幕,具体用于在用户选定了第四应用程序之后,自动在第二显示屏幕显示第四应用程序的控件。
结合第四方面,在一种可能的实现方式中,电子设备还包括:处理单元;处理单元,用于检测第一应用程序的第一未读消息;第二显示屏幕,还用于在处理单元检测到第一未读消息时,显示第一未读消息对应的控件;第二显示屏幕,具体用于检测到用户对第一未读消息对应的控件的第一操作;第一显示屏幕,还用于:响应于第一操作,显示第一界面,第一界面包括第一未读消息的部分内容。
结合第四方面,在一种可能的实现方式中,处理单元,还用于检测第二应用程序的第二未读消息;第二显示屏幕,还用于显示第二未读消息对应的控件;其中,第二应用程序比第一应用程序的使用次数更多,或者第二应用程序比第一应用程序的使用时长更长,或者第二应用程序提供未读消息的频率比第一应用程序更高,或者用户阅读第二应用程序的未读消息的频率比第一应用程序更高;或者,第二未读消息比第一未读消息生成的时间早;或者第二未读消息比第一未读消息到达电子设备的时间早。
结合第四方面,在一种可能的实现方式中,第二显示屏幕,具体还用于在处理单元检测到第二未读消息时,在显示第一未读消息对应的控件之前,显示第二未读消息对应的控件。
结合第四方面,在一种可能的实现方式中,处理单元,还用于在第一显示屏幕中显示第一界面时,关闭第二显示屏幕;或,第二显示屏幕,还用于在第一显示屏幕中显示第一界面时,显示第三应用程序对应的控件,第三应用程序为用户设置或默认的应用程序,或者为第三未读消息对应的应用程序。
结合第四方面,在一种可能的实现方式中,第二显示屏幕,具体用于,常亮显示或闪烁显示第一未读消息对应的控件。
结合第四方面,在一种可能的实现方式中,第一显示屏幕,还用于,响应于用户的触发操作,显示第二界面,第二界面为通知栏的界面。
结合第四方面,在一种可能的实现方式中,触发操作包括以下任意一个:在第一显示屏幕中的下滑操作、在第一显示屏幕中的上滑操作、在第一显示屏幕中的斜滑操作、在第一显示屏幕中的双击操作、以及在第一显示屏幕中的按压操作,其中按压操作为对第一显示屏幕的按压压力大于压力阈值的操作。
本申请实施例第五方面提供一种电子设备,包括:一个或多个处理器、存储器、第一显示屏幕、摄像头和第二显示屏幕;第一显示屏幕上设置有打孔区域,打孔区域下方设置有摄像头和第二显示屏幕;一个或多个处理器、存储器、第一显示屏幕、摄像头以及第二 显示屏幕通过一个或多个通信总线通信;一个或多个计算机程序被存储在存储器中,并被配置为被一个或多个处理器执行;一个或多个计算机程序包括指令,指令用于执行如第一方面或第一方面的可能的实现方式中的方法,或者指令用于执行如第二方面或第二方面的可能的实现方式中的方法。
本申请实施例第六方面提供一种计算机存储介质,包括计算机指令,当计算机指令在电子设备上运行时,使得电子设备执行如第一方面或第一方面的可能的实现方式中的方法,或者,使得电子设备执行如第二方面或第二方面的可能的实现方式中任一项的方法。
本申请实施例第七方面提供一种计算机程序产品,当计算机程序产品在计算机上运行时,使得计算机执行如第一方面或第一方面的可能的实现方式中的方法,或者,使得计算机执行如第二方面或第二方面的可能的实现方式中任一项的方法。
本申请实施例第八方面提供一种装置,该装置具有实现上述第一方面或第二方面各方法中电子设备行为的功能。上述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。
需要说明的是,在上述的第一方面至第八方面任意方面中所描述的电子设备中,第一显示屏幕与第二显示屏幕在硬件上也可以是同一块屏幕,示例性的,电子设备的一块完整显示屏幕中,将该完整显示屏幕中可以将覆盖摄像头的部分作为第二显示屏幕,第二显示屏幕之外的其他部分作为第一显示屏幕。第一显示屏幕和第二显示屏幕可以采用独立的控制模块进行控制,第一显示屏幕和第二显示屏幕也可以采用同一控制模块进行控制。
综上所述,本申请实施例提供一种显示方法和电子设备,根据电子设备的应用场景,在电子设备对应于摄像头设置的第二显示屏幕中显示该应用场景对应的信息,使得第二显示屏幕的显示内容与电子设备的当前应用场景融合,充分利用了第二显示屏幕的显示区域,提供了用户与副屏直接交互的方式,提高了第二显示屏幕的利用率。
附图说明
图1为通常的打孔屏终端的界面示意图;
图2为本申请实施例相关的手机结构示意图;
图3为本申请实施例的显示方法所应用的软件架构示意图;
图4为本申请实施例的一种显示方法的流程示意图;
图5为本申请实施例的开机方法的软件技术实现示意图;
图6为本申请实施例提供的一种待机界面示意图;
图7为本申请实施例提供的一种界面切换示意图;
图8为本申请实施例提供的另一种界面切换示意图;
图9为本申请实施例提供的又一种界面切换示意图;
图10为本申请实施例提供的再一种界面切换示意图;
图11为本申请实施例提供的另外一种界面切换示意图;
图12为本申请实施例提供的又一种界面切换示意图;
图13为本申请实施例提供的一种显示装置的结构示意图;
图14为本申请实施例的又一种显示装置的结构示意图。
具体实施方式
本申请实施例提供的显示方法可以应用在具备显示功能的电子设备中。具体的,本申请实施例的电子设备中,包括第一显示屏幕和第二显示屏幕,第一显示屏幕可以具有与现有技术中的主屏幕相同或相似的显示功能,第一显示屏幕下方设置有前置摄像头,第二显示屏幕可以设置在正对于电子设备的前置摄像头的位置,第二显示屏幕可以用于提示未读消息和/或显示应用程序的快捷入口,当用户操作该应用程序的快捷入口,作为响应,第一显示屏幕显示对应的应用程序的界面,其中,第二显示屏幕的显示方法将在后续实施例中详细阐述,此处不再赘述。即本申请实施例中,第二显示屏幕不是仅仅作为遮挡前置摄像头的装饰屏幕,而是作为提示未读消息和/或显示应用程序的快捷入口,充分利用了第二显示屏幕的显示区域,提供了用户与副屏直接交互的方式,提高了第二显示屏幕的利用率。
本申请实施例涉及到的电子设备可以是有线电子设备,也可以是无线电子设备。其中,无线电子设备可以是一种具有无线收发功能的设备。具体的,本申请实施例涉及到的电子设备可以是用户设备(user equipment,UE),其中,UE包括具有无线通信功能的手持式设备、车载设备、可穿戴设备或计算设备。示例性地,UE可以是手机(mobile phone)、平板电脑或带无线收发功能的电脑。电子设备还可以是虚拟现实(virtual reality,VR)设备、增强现实(augmented reality,AR)设备等等。本申请实施例中,实现电子设备的功能的装置可以是电子设备,也可以是电子设备中的装置,示例性地,电子设备中的装置可以是芯片系统、电路或者模块等,本申请不作限制。
以电子设备为手机为例,图2示出的是与本申请实施例相关的手机100的部分结构的示意图。参考图2,手机100包括:射频(radio frequency,RF)电路110、存储器120、其他输入设备130、第一显示屏幕141、第二显示屏幕142、传感器150、音频电路160、输入输出(input/output,I/O)子系统170、处理器180、以及电源190等部件。本领域技术人员可以理解,图2中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。本领领域技术人员可以理解第一显示屏幕141和第二显示屏幕142属于用户界面(user interface,UI),且手机100可以包括比图示更多或者更少的用户界面。
下面结合图2对手机100的各个构成部件进行具体的介绍:
RF电路110可用于无线信号的接收和发送,例如,将接收到的基站的下行数据发送给处理器180处理,将上行数据发送给基站。通常,RF电路100包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(low noise amplifier,LNA)、双工器等。示例性的,本申请实施例中,RF电路110可以从基站或其他电子设备接收消息,该消息可以是关于任意应用程序的消息,例如,可以是关于微信的消息或关于短信的消息等。
存储器120可用于存储软件程序以及模块,存储器120可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能(比如声音播放功能、图像播放功能等)所需的应用程序等,该操作系统可以是任意一种操作系统,例如,Linux操作系统、Unix操作系统、Android操作系统、iOS操作系统或windows操作系统等,该应用程序可以是任意一种或多种应用程序,例如即时通信应用程序、购物应用程序、文字处理应用程序等的一种或多种。存储数据区可存储根据手机100的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器120可以包括高速随机存取存储器,还可以包括 非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。处理器180可以通过运行存储在存储器120的软件程序以及模块,从而执行手机100的各种功能应用以及数据处理。示例性的,本申请实施例的处理器180可以结合手机当前的运行状况,判断是否在第二显示屏幕142中显示,以及,若判定在第二显示屏幕142中进行显示时,具体显示的内容。具体的判断过程和显示内容将在后续的实施例中详细介绍,在此不进行赘述。
其他输入设备130可用于接收输入的数字或字符信息,以及产生与手机100的用户设置以及功能控制有关的键信号输入。具体地,其他输入设备130可包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆、光鼠(光鼠是不显示可视输出的触摸敏感表面,或者是由触摸屏形成的触摸敏感表面的延伸)等中的一种或多种。其他输入设备130与I/O子系统170的其他输入设备控制器171相连接,在其他设备输入控制器171的控制下与处理器180进行信号交互。
第一显示屏幕141可用于显示由用户输入的信息或提供给用户的信息(例如手机100的各种用户界面),还可以接受用户输入。具体的第一显示屏幕141可包括显示面板1411,以及触控面板1412。其中显示面板1411可以采用液晶显示器(liquid crystal display,LCD)、有机发光二极管(organic light-emitting diode,OLED)等形式来配置。触控面板1412,也称为触摸屏、触敏屏等,可收集用户在其上或附近的接触或者非接触操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1412上或在触控面板1412附近的操作,也可以包括体感操作;该操作包括单点控制操作、多点控制操作等操作类型),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板1412可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位、姿势,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成处理器能够处理的信息,再送给处理器180,并能接收处理器180发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1412,也可以采用未来发展的任何技术实现触控面板1412。进一步的,触控面板1412可覆盖显示面板1411,用户可以根据显示面板1411显示的内容(该显示内容包括但不限于,软键盘、虚拟鼠标、虚拟按键、图标等等),在显示面板1411上覆盖的触控面板1412上或者附近进行操作,触控面板1412检测到在其上或附近的操作后,通过I/O子系统170传送给处理器180以确定用户输入,随后处理器180根据用户输入通过I/O子系统170在显示面板1411上提供相应的视觉输出。虽然在图2中,触控面板1412与显示面板1411是作为两个独立的部件来实现手机100的输入和输入功能,但是在某些实施例中,可以将触控面板1412与显示面板1411集成而实现手机100的输入和输出功能。
第二显示屏幕142可用于显示手机从服务器接收的未读消息(例如未读的短信,或者未读的微信消息等)对应的应用图标或控件,或手机中生成的未读消息(手机中闹钟或日历等应用根据用户的设定生成的提醒消息等)对应的应用图标或控件,或应用的快捷方式,第二显示屏幕142的显示可以由处理器180根据实际的应用场景进行控制,示例性的,在手机从服务器接收到微信消息时,若用户还没有读取该微信消息,则处理器180可以控制第二显示屏幕显示微信的应用图标,以达到提示作用,在用户触发第二显示屏幕中的微信的应用图标后,第一显示屏幕显示包括该未读的微信的消息的界面,或者微信的对话界面。 具体的第二显示屏幕142可包括显示面板1421,以及触控面板1422。其中显示面板1421可以采用LCD、OLED等形式来配置。触控面板1422,也称为触摸屏、触敏屏等,可收集用户在其上或附近的接触或者非接触操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1422上或在触控面板1422附近的操作,也可以包括体感操作;该操作包括单点控制操作、多点控制操作等操作类型),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板1422可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位、姿势,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成处理器能够处理的信息,再送给处理器180,并能接收处理器180发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1422,也可以采用未来发展的任何技术实现触控面板1422。进一步的,触控面板1422可覆盖显示面板1421,用户可以根据显示面板1421显示的内容(该显示内容包括但不限于图标等等),在显示面板1421上覆盖的触控面板1422上或者附近进行操作,触控面板1422检测到在其上或附近的操作后,通过I/O子系统170传送给处理器180以确定用户输入,随后处理器180根据用户输入通过I/O子系统170在显示面板1421上提供相应的视觉输出。虽然在图2中,触控面板1422与显示面板1421是作为两个独立的部件来实现手机100的输入和输入功能,但是在某些实施例中,可以将触控面板1422与显示面板1421集成而实现手机100的输入和输出功能。
本申请实施例中,该第二显示屏幕142的透光度是可调的,示例性的,在前置摄像头启动后,手机可以自动将第二显示屏幕的透光度自动调整到透明状态(例如调整透光度接近0),使得前置摄像头可以正常使用,或者,在用户不希望第二显示屏幕显示时,用户可以在显示设置中,关闭第二显示屏幕的显示,即设置第二显示屏幕的透光度为透明状态(例如设置透光度接近0);在前置摄像头不进行拍摄以及用户希望第二显示屏幕显示时,可以设置第二显示屏幕的透光度为不透光(例如设置透光度接近100),则在第二显示屏幕上可以显示相应的内容。
在本申请实施例的一种可能的实现方式中,第一显示屏幕141和第二显示屏幕142是独立设置的,即在硬件上是两块分离的屏幕。示例性的,在手机是打孔屏手机的情况下,可以在打孔屏手机第一显示屏幕的打孔区域独立设置第二显示屏幕,使得该第二显示屏幕覆盖在前置摄像头的正上方。具体应用中,该第二显示屏幕只要能实现对前置摄像头的遮挡即可,例如,第二显示屏幕的大小可以为直径5毫米左右圆形大小,在第二显示屏幕中可以显示完整图标或按钮等,本申请实施例对第二显示屏幕的大小不作具体限定。
在本申请实施例的另一种可能的实现方式中,第一显示屏幕141和第二显示屏幕142是一体的,即在硬件上同一块屏幕。示例性的,手机的屏幕是完整的显示屏幕,在该显示屏幕中可以将覆盖摄像头的部分作为第二显示屏幕,第二显示屏幕之外的其他部分作为第一显示屏幕,第一显示屏幕和第二显示屏幕可以采用独立的控制模块进行控制,第一显示屏幕和第二显示屏幕也可以采用同一控制模块进行控制,本申请实施例对此不作具体限定。
手机100还可包括至少一种传感器150,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1411和/或显示面板1421的亮度,接近传感器可在手机100移动到耳边时,关闭显示面板1411和/或显示面板1421和/或背光。作为运动传感器的一种, 加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机100还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。
音频电路160、扬声器161,麦克风162可提供用户与手机100之间的音频接口。音频电路160可将接收到的音频数据转换后的信号,传输到扬声器161,由扬声器161转换为声音信号输出;另一方面,麦克风162将收集的声音信号转换为信号,由音频电路160接收后转换为音频数据,再将音频数据输出至RF电路108以发送给比如另一手机,或者将音频数据输出至存储器120以便进一步处理。
I/O子系统170用来控制输入输出的外部设备,可以包括其他设备输入控制器171、传感器控制器172、显示控制器173。可选的,一个或多个其他输入控制设备控制器171从其他输入设备130接收信号和/或者向其他输入设备130发送信号,其他输入设备130可以包括物理按钮(按压按钮、摇臂按钮等)、拨号盘、滑动开关、操纵杆、点击滚轮、光鼠(光鼠是不显示可视输出的触摸敏感表面,或者是由触摸屏形成的触摸敏感表面的延伸)。值得说明的是,其他输入控制设备控制器171可以与任一个或者多个上述设备连接。所述I/O子系统170中的显示控制器173从第一显示屏幕141和/或第二显示屏幕142接收信号,和/或者,向第一显示屏幕141和/或第二显示屏幕142发送信号。第一显示屏幕141和/或第二显示屏幕142检测到用户输入后,显示控制器173将检测到的用户输入转换为与显示在第一显示屏幕141和/或第二显示屏幕142上的用户界面对象的交互,即实现人机交互。传感器控制器172可以从一个或者多个传感器150接收信号和/或者向一个或者多个传感器150发送信号。
处理器180是手机100的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器120内的软件程序和/或模块,以及调用存储在存储器120内的数据,执行手机100的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器180可包括一个或多个处理单元;可选的,处理器180可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器180中。处理器180可以根据存储器120中存储的用于控制第一显示屏幕141和第二显示屏幕142的程序,控制第一显示屏幕141的显示和第二显示屏幕142的显示。
手机100还包括给各个部件供电的电源190(比如电池),优选的,电源可以通过电源管理系统与处理器180逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗等功能。
可以理解,尽管图中未示出,手机100还可以包括蓝牙模块、后置摄像头以及前置摄像头等,在此不再赘述。
如图3所示为本申请实施例提供的电子设备的另一种架构示意图。电子设备包括了,应用层,框架层,处理层,图像界面层四个软件层以及硬件。其中,软件层包括了第一显示屏幕相关应用和堆栈,以及第二显示屏幕相关的应用和堆栈。具体的,在应用层(application)包括用于控制第一显示屏幕的应用A(application A)和用于控制第二显示屏幕的应用B(application B),在电子设备接收到消息后,框架层(framework)中的应用 管理服务(application manager service,AMS)可以向应用A和应用B发送广播,如果该消息需要在第二显示屏幕中进行提示,则应用B可以基于该广播,通知在框架层的窗口管理服务(window manager service,WMS)和显示管理服务(display manager service,DMS),通过一定的进程调用与第二显示屏幕显示相关库文件,并传输到处理层(surfaceflinger)的堆栈B,在处理层对堆栈B中的数据进行叠加构图之后,可以进一步通过图像界面层(native UI)中的硬件编写器(hardware compositor,HWC)编写到第二显示屏幕(即图3中的显示设备B)进行显示。适应的,如果基于AMS的广播,需要在第一显示屏幕中显示消息内容,则应用A可以通知在WMS和DMS,通过一定的进程调用与第一显示屏幕显示相关库文件,并传输到处理层的堆栈A,在处理层对堆栈A中的数据进行叠加构图之后,可以进一步通过HWC编写到第一显示屏幕(即图3中的显示设备A)进行显示。
可以理解,实际应用中,也可以根据需求设置其他的软件架构实现对第一显示屏幕和第二显示屏幕的控制,本申请实施例对此不作具体限定。
下面将结合附图,以电子设备为手机、第二显示屏幕中显示的内容为应用图标为例进行说明。
图4示出了本申请实施例提供的一种显示方法的流程示意图,如图4所示,本实施例提供的方法包括以下步骤:
步骤S101:接收开机操作。
本申请实施例中,接收开机操作可以是,手机的开机相关的按键(例如,电源键)接收到用户的触发操作,该触发操作可以是长按操作,也可以是其他的任意操作,本申请实施例对此不作具体限定。
在开机时,与通常的技术实现不同的是,本申请实施例中在系统服务(system service)中可以为第二显示屏幕设置独立的视窗撰写服务(windows compose service),该windows compose service可以在开机后可以读取电子设备的运行状态,并将适应的内容呈现到第二显示屏幕上。可以理解,在手机运行时,windows compose service也可以定时对读取的数据进行刷新并传输给第二显示屏幕,在第二显示屏幕进行显示,本申请实施例对此不作具体限定。
图5示出了本申请实施例提供的开机流程示意图,如图5所示,在开机时,手机可依次进行下述流程:存储器启动(BootROM),启动加载(Bootloader),操作系统内核调用系统函数(Kernel),初始化系统(Init),加载系统资源(Zygote),开启系统服务(Systemserver),启动Manager管理第一显示屏幕的显示,和启动windows compose service管理第二显示屏幕的显示。
具体的,BootROM用于:引导芯片代码从固化在只读存储器(read only memory,ROM)的预定义的地方开始执行,加载引导程序到随机存取存储器(random access memory,RAM)。Bootloader主要负责初始化软件运行所需要的最小硬件环境,最后加载内核到内存,例如把操作系统映像文件拷贝到RAM中去,然后跳转到它的入口处去执行。操作系统内核调用Kernel可以用于实现内核的大部分初始化工作,例如启动内核线程、完成设备驱动程序的初始化、内核的初始化等。Init是用户空间的第一个进程,Init启动的其中一个重要服务servicemanager,可以用来统一管理android服务,例如注册添加服务,获取服务。Zygote进程启动时,会初始化虚拟机并启动虚拟机,在android应用程序运行前,Zygote进程通 过共享已运行的虚拟机的代码与内存信息,缩短应用程序运行所耗费的时间,并且,Zygote会事先将应用程序要使用的android framework中的类与资源加载到内存中,新运行的android应用程序在使用所需资源时不必每次重新加载,这会节省大量的时间,提高程序运行速度。System Server是android基本服务的提供者,是android系统运行的最基本需求。Manager用于管理第一显示屏幕的显示。Windows compose service用于管理第二显示屏幕的显示。
可以理解,实际应用中,开机流程也可以根据需求采取其他的技术实现,本申请实施例对此不作具体限定。
步骤S102:判断第一显示屏幕是否点亮。
本申请实施例中,在开机过程中,如果第一显示屏幕点亮,第二显示屏幕也可以进行点亮,并在第二显示屏幕显示与第一显示屏幕的内容相匹配的内容。示例性的,在开机时,如果第一显示屏幕显示开机画面,因为开机画面通常是固定的,因此,可以将第二显示屏幕的显示配合第一显示屏幕的内容,使得在第二显示屏幕中显示的画面内容与第一显示屏幕的画面内容可以组成完整的开机画面,进而使得开机时第一显示屏幕和第二显示屏幕是融合的,在视觉上可以有全面屏的体验。
本申请实施例中,在开机过程中,第一显示屏幕点亮时,第二显示屏幕也可以不点亮,本申请实施例对此不作具体限定。
本申请实施例中,在完成开机操作后,可以进一步判定第一显示屏幕的亮屏状态。示例性的,在开机完成后,第一显示屏幕点亮,第一显示屏幕中可以显示待机界面(也可以称为主屏幕界面),例如图6所示,第一显示屏幕61的待机界面中可以包括:状态栏6101、多个应用程序的图标6102、以及功能键栏6103,示例性的,状态栏6101中可以包括当前的网络连接情况、当前的电量指示,应用程序的图标6102可以包括短信应用程序的图标、微信应用程序的图标、购物应用程序的图标、设置应用程序的图标等,功能键栏6103可以包括返回上一操作对应的功能键、返回主页对应的功能键以及其他的功能键,本申请实施例对此不作具体限定。
此时,第二显示屏幕可以不显示。或者第二显示屏幕可以根据手机实际的运行状态,执行相应的显示,比如执行如步骤S103-步骤S105以显示设置应用的图标,或者执行如步骤S108-步骤S110以显示未读消息对应的应用的图标,或者执行步骤S113-S114以显示预先设置的应用对应的图标,可以理解,第二显示屏幕也可以根据实际应用场景执行其他的显示,本申请实施例对此不作具体限定。
示例性的,如图6所示,在开机后,第二显示屏幕60中可以显示拍照应用程序的图标,则用户可以通过触发第二显示屏幕60中的拍照应用程序的图标,实现快速打开拍照应用程序。
本申请实施例中,示例性的,在完成开机后,若第一显示屏幕没有点亮,则第二显示屏幕可以不进行点亮,手机整体处于熄屏状态。或者,在完成开机后,若第一显示屏幕没有点亮,手机仍然可以监控手机的运行状态,在第二显示屏幕执行相应的显示步骤,比如执行如步骤S103-步骤S105以显示设置应用的图标,或者执行如步骤S108-步骤S110以显示未读消息对应的应用的图标,或者执行步骤S113-S114以显示预先设置的应用对应的图标,可以理解,也可以根据实际应用场景执行其他步骤,本申请实施例对此不作具体限定。
需要说明的是,步骤S103-步骤S107、步骤S108-步骤S112以及步骤S113-S116这三组步骤之间的顺序可以调换,例如,可以先执行步骤S108-步骤S112,再执行其他两组,本申请实施例并无限定。步骤S103-步骤S107、步骤S108-步骤S112以及步骤S113-S116这三组步骤也可以分别独立执行,步骤S103-步骤S107中的步骤在执行中也可以根据实际需求执行部分步骤,步骤S108-步骤S112中的步骤在执行中也可以根据实际需求执行部分步骤,步骤S113-S116中的步骤在执行中也可以根据实际需求执行部分步骤,本申请实施例对此不作具体限定。
步骤S103:判断是否接收到对第一显示屏幕的触发操作。
本申请实施例中,用户对第一显示屏幕的触发操作可以是一下任意一种:在第一显示屏幕中的下滑操作、在第一显示屏幕中的上滑操作、在第一显示屏幕中的斜滑操作、在第一显示屏幕中的双击操作、以及在第一显示屏幕中的按压操作,其中按压操作为对第一显示屏幕的按压压力大于压力阈值的操作,压力阈值可以根据实际的应用场景进行设定,本申请实施例对此不作具体限定。
本申请实施例中,在检测到用户的触发操作时,才在第二显示屏幕中显示用户设置的或默认的应用程序的控件,因为该用户设置的或默认的应用程序应用程序的控件在第二显示屏幕中的显示是由用户触发的,因此该显示更能符合用户意图,提升用户体验。
示例性的,以接收到用户对第一显示屏幕的触发操作为在第一显示屏幕中的下滑操作,具体的,该下滑操作为下拉通知栏的操作为例,若接收到下拉通知栏的操作,执行步骤S104。若没有接收到下拉通知栏操作,则可以执行如步骤S108,本申请实施例对此不作具体限定。
步骤S104:判断第二显示屏幕是否允许显示。
用户可能会根据自己的需求开启或关闭第二显示屏幕,具体的,用户可以进入设置界面后,针对第二显示屏幕的开光状态进行设置,设置的具体示例将在后续设置界面中说明,在此不再赘述。
本申请实施例中,若第二显示屏幕被设置为关闭状态,则第二显示屏幕不显示,比如,在第二显示屏幕不显示时,若此时第二显示屏幕已点亮,则将第二显示屏幕的透光度自动调整为接近0,若此时第二显示屏幕未点亮,则保持第二显示屏幕为未点亮状态而不执行任何调整。
本申请实施例中,若第二显示屏幕被设置为开启状态,则执行第二显示屏幕的显示步骤。
可以理解,实际应用中,本申请实施例的第二显示屏幕也可以由系统设定为常开状态,即第二显示屏幕处于允许显示的常态,则判断第二显示屏幕是否允许显示的步骤均可以省略,步骤S103之后,可以执行步骤S105。
步骤S105:在第二显示屏幕中显示设置应用的图标。
示例的,如图7所示,左图中的初始状态时,第一显示屏幕中可以是待机界面,第二显示屏幕71中可以不显示任何内容,或者显示任意可能的内容,本申请实施例对初始时第二显示屏幕71的显示情况不作限定。
在接收到下拉通知栏的操作,且第二显示屏幕允许显示时,如图7所示,轨迹710可以为下拉通知栏的操作,响应于下拉通知栏的操作,在第二显示屏幕71中显示设置应用的图标。具体应用中,该设置应用的图标的大小可以根据第二显示屏幕71的尺寸适应性 调整,使得设置应用的图标可以完整的显示在第二显示屏幕71中,本申请实施例对此不作具体限定。
响应于下拉通知栏的操作,如图7的右图所示,第一显示屏幕中可以同时显示通知栏对应的通知栏界面7201,通知栏界面7201中可以显示手机接收到的未读通知消息、常用的设置功能对应的控件、以及删除控件等,用户可以通过触发通知消息打开通知消息对应的应用程序,通过触发常用的设置功能对应的控件实现相应的设置,通过删除控件删除通知栏界面7201中显示的通知消息等。
可以理解,该通知栏界面7201中的设置功能,可以与第二显示屏幕71中的设置应用的图标的设置功能不同,使得第二显示屏幕可以实现对通知栏界面中设置功能的补充,示例性的,通知栏界面中常用的设置功能对应的控件可以包括局域网连接功能对应的开关控件、飞行模式功能对应的开关控件、以及蓝牙功能对应的开关控件等,第二显示屏幕中的设置应用图标对应的设置功能可以是设置第二显示屏幕的显示的功能等,本申请实施例对此不作具体限定。
本申请实施例中,在用户进行了下拉通知栏的操作后,第一显示屏幕中可以显示通知栏界面7201,因为通知栏界面中已经包括了未读的通知消息,所以可以不在第二显示屏幕中进一步提示未读消息,但是通知栏的界面中可能不包括设置应用程序的控件,所以在第二显示屏幕中显示设置程序对应的控件,可以实现对第一显示屏幕内容的补充,便于用户快捷的实现对设置应用程序的操作。
步骤S106:判断是否接收到对第二显示屏幕的触发操作。
本申请实施例中,对第二显示屏幕的触发操作可以是单击第二显示屏幕、双击第二显示屏幕、或长按第二显示屏幕等操作,本申请实施例对第二显示屏幕的触发操作不作具体限定。
本申请实施例中,若接收到对第二显示屏幕的触发操作,可以执行步骤S107。
可选的,在接收到对第二显示屏幕的触发操作时,还可以进一步在第一显示屏幕中显示触发提示,例如,在第二显示屏幕周围的第一显示屏幕中显示水波纹等,以达到提示用户触发了第二显示屏幕的效果。
可选的,若在一段时间内未接收到对第二显示屏幕的触发操作,则在第二显示屏幕中可以不再显示设置应用的图标,并可以执行步骤S108。
步骤S107:在第一显示屏幕中显示设置界面。
本申请实施例中,在第一显示屏幕中显示设置界面的方式可以根据实际的需求设定,示例性的,可以从第二显示屏幕所在的位置起始,以扩展的方式在第一显示屏幕的全屏中逐渐呈现出设置界面。或者,直接在第一显示屏幕中显示设置界面,本申请实施例对此不作具体限定。
本申请实施例的一种可选实现方式中,如图8左图所示,用户点击第二显示屏幕81的设置应用的图标后,手机的第一显示屏幕82显示如图8右图所示的主设置界面。
如图8所示,主设置界面中可以包括多个设置项(例如飞行模式设置项、无线局域网设置项、蓝牙设置项、通知设置项、显示设置项等),每个设置项中可以包括多种设置元素,例如显示设置项中,可以包括显示对应的图标820,显示的文字说明821,以及显示设置的触发控件。
可选的,在第一显示屏幕82显示主设置界面时,第二显示屏幕81可以处于关闭状态,或者,第二显示屏幕81也可以根据接收到的通知消息执行步骤S110的显示,或者,第二显示屏幕也可以进行如步骤S114的显示,本申请实施例对此不作具体限定。
本申请实施例的另一种可选实现方式中,如图9左图所示,用户点击第二显示屏幕91的设置应用的图标后,手机的第一显示屏幕92显示如图9右图所示的对应于第二显示屏幕设置的设置界面,使得用户可以直接进行对第二显示屏幕相关的设置。在图9对应的设置界面中,可以包括一个或多个对应于第二显示屏幕的设置项,设置项例如可以包括开启或关闭第二显示屏幕的设置项,应用显示排序的设置项、闪烁显示的设置项、常亮显示的设置项、快捷应用的设置项等。
可选的,用户可以通过设置项“第二显示屏幕”920对应的开关控件9200选择开启或关闭第二显示屏幕。示例的,用户可以对开关控件9200触发,例如滑动开关控件9200内的圆形滑块,设置第二显示屏幕为开启或关闭状态。
可选的,用户可以通过设置项“闪烁显示”922对应的开关控件9220选择开启或关闭闪烁显示,通过设置项“常亮显示”923对应的开关控件9230选择开启或关闭常亮显示。可以理解,闪烁显示和常亮显示可以是两个互斥的选项,即开启闪烁显示则常亮显示自动为关闭状态,开启常亮显示则闪烁显示自动为关闭状态。通过闪烁显示可以较好的吸引用户注意,从而达到较好的提示效果。通过恒定亮度显示可避免对用户的打扰,从而增加用户的舒适感,用户可以根据实际的应用场景适应设置,本申请实施例对此不作具体限定。
可选的,用户可以通过设置项“应用显示排序”921,设置在接收到多个通知消息时,各通知消息对应的应用程序的提示优先级。示例性的,如图10左图所示,用户可以触发设置项“应用显示排序”921对应的设置控件9210,进入如图10右图所示的应用程序添加界面,在图10右图的第一显示屏幕102中,可以包括多个添加应用程序的控件1021,示例性的,如图10右图所示,从第一应用程序到第四应用程序的优先级可以依次降低,用户通过点击添加应用程序的控件,可以选择添加手机中已安装的应用程序,从而实现对应用程序提示的优先级的设定。可选的,用户还可以通过对已添加应用程序进行拖动操作,改变已添加的应用程序在应用程序添加界面的次序,实现对各应用程序的优先级的调整,本申请实施例对此不作具体限定。可选的,第一应用程序到第四应用程序也可以没有优先级设定。可选的,第一应用程序到第四应用程序中的任意一个是可删除的,示例的,用户可以通过长按其中一个应用程序,触发第一显示屏幕中显示删除控件,用户进一步点击该删除控件,可以实现对该已添加应用程序的删除。可以理解,图10右图所示的应用程序添加界面中,允许添加的应用程序的个数可以是一个,也可以是多个,本申请实施例对此不作具体限定。
可选的,用户可以通过设置项“快捷应用”924对应的添加控件9240,添加快捷应用,示例性的,用户可以通过点击9240,在手机中选择一个或多个应用程序进行添加,则手机可以在不需要进行未读消息提示时,在第二显示屏幕中该添加的快捷应用对应的控件,使得用户可以通过触发第二显示屏幕中的控件,快速在第一显示屏幕中打开该快捷应用。
可以理解,设置界面中还可以包括其他设置项,设置界面的具体显示内容也可以根据实际需求设定,本申请实施例对此不作具体限定。
可选的,在图9右图对应的设置界面中,用户也可以通过后退等操作,进入到如图8 所示的主设置界面,本申请实施例对此不作具体限定。
可选的,在第一显示屏幕显示如图9右图的设置界面时,第二显示屏幕91可以处于关闭状态,或者,第二显示屏幕91也可以根据接收到的通知消息执行步骤S110的显示,或者,第二显示屏幕也可以进行如步骤S114的显示,本申请实施例对此不作具体限定。
步骤S108:判断是否存在未读消息。
本申请实施例中,考虑到第一显示屏幕中,通常在接收到消息后,如果用户在一段时间内没有触发读取该消息,该消息就不再显示,用户可能遗漏消息,因此,本申请实施例中,若手机中存在用户未读的未读消息,可以通过第二显示屏幕进一步进行未读消息提示。
本申请实施例中,用户可以预先在手机中设置允许通知的应用程序,在接收到允许通知的应用程序的消息的情况下,可以认为存在未读消息。
本申请实施例中,未读消息可以是手机从服务器中接收的消息,例如是微信应用程序、短信应用程序等需要从服务器接收消息的应用程序相关的消息。未读消息也可以是手机中生成的消息,例如闹钟定时提醒生成的消息等,本申请实施例对未读消息具体的来源不作限定。
步骤S109:判断第二显示屏幕是否允许显示。
本申请实施例中,判断第二显示屏幕是否允许显示的具体实现可以参照步骤S104的记载,在此不再赘述。
步骤S110:在第二显示屏幕中显示未读消息对应的应用程序的应用图标。
本申请实施例中,未读消息的数量可以是一个或多个,在未读消息是一个的情况下,第二显示屏幕中可以显示该一个未读消息对应的应用程序的应用图标。
在未读消息是多个的情况下,则可以根据各未读消息对应的应用程序的优先级,确定该多个未读消息对应的应用程序的应用图标在第二显示屏幕中的显示方式。
在本申请实施例的一种可选实现方式中,可以根据预设的排序规则对该多个未读消息对应的应用程序进行排序,根据该多个应用程序在该排序规则中的顺序,在第二显示屏幕中轮流显示该多个应用程序的应用图标。
可选的,该预设的排序规则根据如步骤S107中所述的由用户设置的,在此不再赘述设置过程。示例性的,在接收到应用程序A的未读消息、应用程序B的未读消息以及应用程序C的未读消息时,若用户在图10右图所示的应用程序添加界面中只添加了应用程序B,则可以只显示应用程序B的应用图标,或者按照应用程序B的应用图标-应用程序C的应用图标-应用程序A的应用图标的顺序在第二显示屏幕中轮流显示,或者按照应用程序B的应用图标-应用程序A的应用图标-应用程序C的应用图标的顺序在第二显示屏幕中轮流显示,即只将应用程序B的应用图标在第二显示屏幕中优先显示,其余的应用程序的应用图标在第二显示屏幕中不显示或随机显示,本申请实施例对此不作具体限定。
可选的,该预设的排序规则也可以是根据用户在一段时间内对该多个应用程序的使用次数或时长,或者应用提供未读消息的频率,或者用户对多个应用的未读消息的阅读次数等自动计算得到的。
示例性的,在接收到应用程序A的未读消息、应用程序B的未读消息以及应用程序C的未读消息时,经过计算,用户在近一星期内对应用程序A的打开次数为5次,对应用程序B的打开次数为7次,对应用程序C的打开次数为9次,则可以按照应用程序C的应 用图标-应用程序B的应用图标-应用程序A的应用图标的顺序在第二显示屏幕中轮流显示。
示例性的,在接收到应用程序A的未读消息、应用程序B的未读消息以及应用程序C的未读消息时,经过计算,应用程序A一天中提供了2次未读消息,应用程序B一天中提供了5次未读消息,应用程序C一天中提供了10次未读消息,则可以按照应用程序C的应用图标-应用程序B的应用图标-应用程序A的应用图标的顺序在第二显示屏幕中轮流显示。
示例性的,在接收到应用程序A的未读消息、应用程序B的未读消息以及应用程序C的未读消息时,经过计算,一周内,在应用程序A存在未读消息时,用户阅读该未读消息的次数是0次,在应用程序B存在未读消息时,用户阅读该未读消息的次数是3次,在应用程序C存在未读消息时,用户阅读该未读消息的次数是10次,则可以按照应用程序C的应用图标-应用程序B的应用图标-应用程序A的应用图标的顺序在第二显示屏幕中轮流显示。
可选的,该预设的排序规则还可以是根据接收到的未读消息的时间先后顺序确定的,示例性的,在按照时间先后顺序接收到应用程序A的未读消息、应用程序B的未读消息以及应用程序C的未读消息时,可以按照应用程序A的应用图标-应用程序B的应用图标-应用程序C的应用图标的顺序在第二显示屏幕中轮流显示。
可选的,该预设的排序规则还可以是根据手机中生成的未读消息的时间先后顺序确定的,示例性的,在手机中按照时间先后顺序生成应用程序A的未读消息、应用程序B的未读消息以及应用程序C的未读消息时,可以按照应用程序A的应用图标-应用程序B的应用图标-应用程序C的应用图标的顺序在第二显示屏幕中轮流显示。
可选的,该预设的排序规则也可以综合上述多种情况进行确定,本申请实施例对此不作具体限定。
可以理解,具体实现中,该多个应用程序的应用图标还可以在第二显示屏幕中按照次序循环显示,本申请实施例对此也不作具体限定。
可选的,每两个相邻显示的应用图标之间的间隔时长可以相同,也可以不同,本申请实示例对此不作具体限定。在一种可能的实现中,每两个相邻显示的应用图标之间的间隔时长小于预设时长,从而可以避免间隔时长过大造成的提示滞后。示例性的,若在第二显示屏幕有X个需要显示的应用图标,可以根据该X个应用图标的显示排序,设定该X个应用图标在第二显示屏幕中显示的时间为t1,t2,t3….tX,其中t1>t2>t3>…>tX,本申请实施例对此不作具体限定。
可以理解,也可以根据实际的需求,采用其他可能的实现方式在第二显示屏幕中对应用图标进行显示,本申请实施例对此不做具体限定。
步骤S111:判断是否接收到第二显示屏幕的应用图标的触发操作。
本申请实施例中,对第二显示屏幕的应用图标的触发操作可以是单击第二显示屏幕、双击第二显示屏幕、或长按第二显示屏幕等操作,本申请实施例对第二显示屏幕的触发操作不作具体限定。
本申请实施例中,若接收到对第二显示屏幕的应用图标的触发操作,可以执行步骤S112。
可选的,在接收到对第二显示屏幕的应用图标的触发操作时,还可以进一步在第一显 示屏幕中显示触发提示,例如,在第二显示屏幕周围的第一显示屏幕中显示水波纹,以达到提示用户触发了第二显示屏幕的效果。
可选的,若未接收到对第二显示屏幕的应用图标的触发操作,则可以持续在第二显示屏幕上显示应用图标,本申请实施例对此不作具体限定。
步骤S112:在第一显示屏幕中显示被触发应用图标对应的应用程序的界面。
本申请实施例中,在第一显示屏幕中显示被触发应用图标对应的应用程序的界面的方式可以根据实际的需求设定,示例性的,可以从第二显示屏幕所在的位置起始,以扩展的方式在第一显示屏幕的全屏中逐渐呈现出被触发应用图标对应的应用程序的界面。或者,直接在第一显示屏幕中显示被触发应用图标对应的应用程序的界面,本申请实施例对此不作具体限定。
示例性的,如图11所示,左图中如果被触发应用图标为短信应用图标,在第二显示屏幕111中接收到对短信应用图标的触发操作后,可以在右图的第一显示屏幕112显示包括该未读的短信的消息的界面,或者短信的对话界面,本申请实施例对此不作具体限定。
本申请实施例中,用户可以进一步在第一显示屏幕中显示的被触发应用图标对应的应用程序的界面进行相应操作,本申请实施例对此不作具体限定。
可选的,在用户在第一显示屏幕中进行操作时,第二显示屏幕可以处于关闭状态,或者,第二显示屏幕也可以显示除被触发应用图标以外的其他应用图标,或者,第二显示屏幕先关闭一段时间(例如关闭5s左右),然后再显示除被触发应用图标以外的其他应用图标,本申请实施例对此不作具体限定。
本申请实施例中,如果手机没有接收到用户的下拉通知栏操作,也没有接收到通知消息,则,手机可以执行步骤S113。
步骤S113:判断第二显示屏幕是否允许显示。
本申请实施例中,判断第二显示屏幕是否允许显示的具体实现可以参照步骤S104的记载,在此不再赘述。
步骤S114:在第二显示屏幕中显示预设的应用程序的应用图标。
本申请实施例中,预设的应用程序可以是手机系统出厂设置的应用程序也可以由用户来设置。示例性的,该预设的应用程序可以是拍照应用程序,则用户通过触发第二显示屏幕中的拍照应用图标可以快速打开拍照应用程序,实现快速拍照。可以理解,该预设的应用程序也可以是其他任意应用程序,本申请实施例对此不作具体限定。
可选的,预设的应用程序也可以是根据用户的历史行为数据确定的,示例性的,如果统计出用户在最近一个月内使用时间最长和/或开启次数最多的应用程序为微信应用程序,则可以将微信应用程序作为预设的应用程序,则用户通过触发第二显示屏幕中的微信应用图标可以快速打开微信应用程序。
可选的,预设的应用程序的数量也可以是多个,则第二显示屏幕中可以轮流显示多个预设的应用程序的应用图标,本申请实施例对此不作具体限定。
本申请实施例中,第一显示屏幕中的当前显示内容可以与第二显示屏幕的显示内容不相关,示例的,用户可以在第一显示屏幕中看视频、玩游戏等,第二显示屏幕可以显示预设的应用程序的应用图标等。
步骤S115:判断是否接收到第二显示屏幕的应用图标的触发操作。
本申请实施例中,对第二显示屏幕的应用图标的触发操作可以是单击第二显示屏幕、双击第二显示屏幕、或长按第二显示屏幕等操作,本申请实施例对第二显示屏幕的触发操作不作具体限定。
本申请实施例中,若接收到对第二显示屏幕的应用图标的触发操作,可以执行步骤S116。
可选的,在接收到对第二显示屏幕的应用图标的触发操作时,还可以进一步在第一显示屏幕中显示触发提示,例如,在第二显示屏幕周围的第一显示屏幕中显示水波纹,以达到提示用户触发了第二显示屏幕的效果。
可选的,若未接收到对第二显示屏幕的应用图标的触发操作,则可以持续在第二显示屏幕上显示应用图标,本申请实施例对此不作具体限定。
步骤S116:在第一显示屏幕中显示被触发应用图标对应的应用程序的界面。
本申请实施例中,在第一显示屏幕中显示被触发应用图标对应的应用程序的界面的方式可以根据实际的需求设定,示例性的,可以从第二显示屏幕所在的位置起始,以扩展的方式在第一显示屏幕的全屏中逐渐呈现出被触发应用图标对应的应用程序的界面。或者,直接在第一显示屏幕中显示被触发应用图标对应的应用程序的界面,本申请实施例对此不作具体限定。
本申请实施例中,用户可以进一步在第一显示屏幕中显示的被触发应用图标对应的应用程序的界面进行相应操作,本申请实施例对此不作具体限定。
可选的,在用户在第一显示屏幕中进行操作时,第二显示屏幕可以处于关闭状态,或者,第二显示屏幕也可以显示除被触发应用图标以外的其他应用图标,或者,第二显示屏幕先关闭一段时间(例如关闭5s左右),然后再显示除被触发应用图标以外的其他应用图标,本申请实施例对此不作具体限定。
以预设的应用程序为拍照应用程序为例,在第一显示屏幕中可以显示后置摄像头拍照的界面,也可以显示前置摄像头拍照的界面,本申请实施例对此不作具体限定。
示例性的,如图12所示,左图中如果被触发应用图标为拍照应用图标,手机在第二显示屏幕121中接收到对拍照应用图标的触发操作后,可以在第一显示屏幕122中前置摄像头对应的自拍界面。
可选的,考虑到第二显示屏幕通常较小,在第二显示屏幕显示时,每个时刻可以只显示一个应用图标,因此,本申请实施例中,可以设定无论第二显示屏幕的当前显示内容是通知消息对应的应用图标,或者是快捷应用对应的应用图标,只要接收到用户的下拉通知栏的操作,在第二显示屏幕中,都可以切换为显示设置应用的图标。也就是说,本申请实施例可以设定设置应用的图标的显示优先级最高。
可选的,实际应用场景中,可能出现误触发第一显示屏幕和/或第二显示屏幕的应用场景,示例的,用户将处于亮屏开启状态的手机放置在口袋时,口袋可能会晃动,导致手机的第一显示屏幕和/或第二显示屏幕中的应用图标可能因感应到触发而开启,造成误触发。因此,本申请实施例中还可以设置误触发机制。
考虑到在手机被误触发的场景中,手机的屏幕通常存在大面积的触碰,因此,在一种防止误触发的方式中,若在手机的第一显示屏幕上接收的触发范围大于范围阈值,则可以认为接收到误触发操作,则手机不响应对第一显示屏幕和/或第二显示屏幕的触发。可以理 解,范围阈值可以根据实际的应用场景进行设定,本申请实施例对此不作具体限定。
考虑到手机在口袋中时,手机距离口袋的距离通常较近,因此,也可以通过手机中的近光感应器判定手机与周围接触物的距离,在该距离低于距离阈值的情况下,可以认为接收到误触发操作,则手机不响应对第一显示屏幕和/或第二显示屏幕的触发。可以理解,距离阈值可以根据实际的应用场景进行设定,本申请实施例对此不作具体限定。
可以理解,具体应用中,还可以根据实际的应用场景确定其他的防止误触发的方式,本申请实施例对此不作具体限定。
本申请实施例的具体实现中,第一显示屏幕中的当前显示内容可以与第二显示屏幕的显示内容不相关,示例的,用户可以在第一显示屏幕中看视频、玩游戏等,在接收到通知消息时,第二显示屏幕可以显示通知消息对应的应用图标或快捷打开应用的应用图标等。
需要说明的是,本申请实施例中,是以第二显示屏幕中显示的内容为应用图标进行示例说明,实际应用中,可以根据实际的应用场景,在第二显示屏幕中显示控件,控件可以为应用图标、按钮、文字或图片等,本申请实施例对此不作具体限定。
综上所述,本申请实施例中,第二显示屏幕不是仅仅作为遮挡前置摄像头的装饰屏幕,还可以提示未读消息,提供显示应用程序的快捷入口,充分利用了第二显示屏幕的显示区域,提供了用户与副屏直接交互的方式,提高了第二显示屏幕的利用率。
可以理解的是,上述电子设备为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请实施例能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请实施例的范围。
本申请实施例还提供一种实现上述各方法实施例的电子设备,具体的,可以对该电子设备进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
在采用对应各个功能划分各个功能模块的情况下,如图13所示,示出了本申请实施例提供一种电子设备的一种可能的结构示意图,该电子设备包括:第一显示屏幕1301、处理单元1302和第二显示屏幕1303。
其中,第一显示屏幕1301,用于支持电子设备执行上述实施例中的步骤S102、步骤S103、步骤S107、步骤S112、步骤S116中的操作,或者本申请实施例所描述的技术的其他过程。第一显示屏幕1301可以是触摸屏或其他硬件或硬件与软件的综合体。
处理单元1302,用于支持电子设备执行上述方法实施例中的步骤S104、步骤S108、步骤S109、步骤S113中的操作,或者本申请实施例所描述的技术的其他过程。
第二显示屏幕1303,用于支持电子设备执行上述实施例中的步骤S105、步骤S106、步骤S110、步骤S111、步骤S114、步骤S115中的操作,或者本申请实施例所描述的技术的其他过程。第二显示屏幕1303可以是触摸屏或其他硬件或硬件与软件的综合体。
其中,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功 能描述,在此不再赘述。
当然,电子设备包括但不限于上述所列举的单元模块。并且,上述功能单元的具体所能够实现的功能也包括但不限于上述实例所述的方法步骤对应的功能,电子设备的其他单元的详细描述可以参考其所对应方法步骤的详细描述,本申请实施例这里不予赘述。
在采用集成的单元的情况下,上述实施例中所涉及的电子设备可以包括:处理模块、存储模块和第一显示屏幕和第二显示屏幕。处理模块用于对电子设备的动作进行控制管理。第一显示屏幕和第二显示屏幕用于根据处理模块的指示进行内容显示。存储模块,用于保存电子设备的程序代码和数据。进一步的,该电子设备还可以包括输入模块,通信模块,该通信模块用于支持电子设备与其他网络实体的通信,以实现电子设备的通话,数据交互,Internet访问等功能。
其中,处理模块可以是处理器或控制器。通信模块可以是收发器、RF电路或通信接口等。存储模块可以是存储器。显示模块可以是屏幕或显示器。输入模块可以是触摸屏,语音输入装置,或指纹传感器等。
当处理模块为处理器,通信模块为RF电路,存储模块为存储器,第一显示屏幕和第二显示屏幕为触摸屏时,本申请实施例所提供的电子设备可以为图2所示的电子设备。且,第一显示屏幕和第二显示屏幕可以为图3的硬件,处理模块可以采用图3中软件层的架构。其中,上述通信模块不仅可以包括RF电路,还可以包括无线保真(wireless fidelity,Wi-Fi)模块、近距离无线通信技术(near field communication,NFC)模块和蓝牙模块。RF电路、NFC模块、WI-FI模块和蓝牙模块等通信模块可以统称为通信接口。其中,上述处理器、RF电路、第一显示屏幕和第二显示屏幕和存储器可以通过总线耦合在一起。
如图14所示,示出了本申请实施例提供一种电子设备的又一种可能的结构示意图,包括:一个或多个处理器1401、存储器1402、第一显示屏幕14031、摄像头1404和第二显示屏幕14032;第一显示屏幕14031上设置有打孔区域,打孔区域下方设置有摄像头1404和第二显示屏幕14032;上述各器件可以通过一个或多个通信总线1406通信。
其中,一个或多个计算机程序被1405存储在存储器1402中,并被配置为被一个或多个处理器1401执行;一个或多个计算机程序1405包括指令,指令用于执行上述任意步骤的显示方法。当然,电子设备包括但不限于上述所列举的器件,例如,上述电子设备还可以包括射频电路、定位装置、传感器等等,当电子设备包含有其他的器件时,上述电子设备可以为图2所示的电子设备。
本申请实施例还提供一种计算机存储介质,包括计算机指令,当计算机指令在电子设备上运行时,使得电子设备执行如上述任意步骤的显示方法。
本申请实施例还提供一种计算机程序产品,当计算机程序产品在计算机上运行时,使得计算机执行如上述任意步骤的显示方法。
本申请实施例还提供一种装置,该装置具有实现上述各显示方法中电子设备行为的功能。上述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。
其中,本申请实施例提供的电子设备、计算机存储介质、计算机程序产品、或装置均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请实施例所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请实施例各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:快闪存储器、移动硬盘、只读存储器、随机存取存储器、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本申请实施例的具体实施方式,但本申请实施例的保护范围并不局限于此,任何在本申请实施例揭露的技术范围内的变化或替换,都应涵盖在本申请实施例的保护范围之内。因此,本申请实施例的保护范围应以所述权利要求的保护范围为准。

Claims (33)

  1. 一种显示方法,应用于电子设备,所述电子设备包括第一显示屏幕、摄像头和第二显示屏幕,所述第一显示屏幕上设置有打孔区域,所述打孔区域下方设置有所述摄像头和所述第二显示屏幕,其特征在于,所述方法包括:
    检测到第一应用程序的第一未读消息;
    在所述第二显示屏幕中显示所述第一未读消息对应的控件;
    检测到用户对所述第一未读消息对应的控件的第一操作;
    响应于所述第一操作,在所述第一显示屏幕中显示第一界面,所述第一界面包括所述第一未读消息的部分内容。
  2. 根据权利要求1所述的方法,其特征在于,在所述第二显示屏幕中显示所述第一未读消息对应的控件之前,所述方法还包括:
    检测到第二应用程序的第二未读消息;和
    在所述第二显示屏幕中显示所述第二未读消息对应的控件;
    其中,所述第二应用程序比所述第一应用程序的使用次数更多,或者所述第二应用程序比所述第一应用程序的使用时长更长,或者所述第二应用程序提供未读消息的频率比所述第一应用程序更高,或者用户阅读所述第二应用程序的未读消息的频率比所述第一应用程序更高;或者,所述第二未读消息比所述第一未读消息生成的时间早;或者所述第二未读消息比所述第一未读消息到达所述电子设备的时间早。
  3. 根据权利要求2所述的方法,其特征在于,在所述第二显示屏幕中显示所述第一未读消息对应的控件,包括:
    在显示所述第二未读消息对应的控件一段时间之后,在所述第二显示屏幕中显示所述第一未读消息对应的控件。
  4. 根据权利要求1至3任一项所述的方法,其特征在于,所述方法还包括:
    在所述第一显示屏幕中显示所述第一界面时,关闭所述第二显示屏幕;或
    在所述第一显示屏幕中显示所述第一界面时,在所述第二显示屏幕中显示第三应用程序对应的控件,所述第三应用程序为用户设置或默认的应用程序,或者为第三未读消息对应的应用程序。
  5. 根据权利要求1至3任一项所述的方法,其特征在于,在所述第二显示屏幕中显示所述第一未读消息对应的控件,包括:在所述第二显示屏幕中常亮显示或闪烁显示所述第一未读消息对应的控件。
  6. 根据权利要求1至5任一项所述的方法,其特征在于,所述检测到第一应用程序的第一未读消息之前,所述方法还包括:
    在所述第二显示屏幕显示第四应用程序的控件;
    检测到用户对所述第四应用程序的控件的操作;
    响应于对所述第四应用程序的控件的操作,在所述第一显示屏幕中显示所述第四应用程序的界面。
  7. 根据权利要求6所述的方法,其特征在于,所述第四应用程序为设置的应用程序,所述在所述第二显示屏幕显示第四应用程序的控件之前,所述方法还包括:检测到用户的触发操作;
    所述在所述第二显示屏幕显示第四应用程序的控件,包括:响应于所述用户的触发操作,在所述第二显示屏幕显示第四应用程序的控件。
  8. 根据权利要求7所述的方法,其特征在于,所述方法还包括,响应于所述用户的触发操作,在所述第一显示屏幕显示第二界面,所述第二界面为通知栏的界面。
  9. 根据权利要求7或8所述的方法,其特征在于,所述触发操作包括以下任意一个:
    在所述第一显示屏幕中的下滑操作、在所述第一显示屏幕中的上滑操作、在所述第一显示屏幕中的斜滑操作、在所述第一显示屏幕中的双击操作、以及在所述第一显示屏幕中的按压操作,其中所述按压操作为对所述第一显示屏幕的按压压力大于压力阈值的操作。
  10. 根据权利要求6所述的方法,其特征在于,所述第四应用程序为用户选定的应用程序,所述在所述第二显示屏幕显示第四应用程序的控件,包括:
    在用户选定了所述第四应用程序之后,自动在所述第二显示屏幕显示所述第四应用程序的控件。
  11. 一种显示方法,应用于电子设备,所述电子设备包括第一显示屏幕、摄像头和第二显示屏幕,所述第一显示屏幕上设置有打孔区域,所述打孔区域下方设置有所述摄像头和所述第二显示屏幕,其特征在于,所述方法包括:
    在所述第一显示屏幕显示待机界面时,在所述第二显示屏幕显示第四应用程序的控件;
    检测用户对所述第四应用程序的控件的操作;
    响应于对所述第四应用程序的控件的操作,在所述第一显示屏幕显示所述第四应用程序的界面。
  12. 根据权利要求11所述的方法,其特征在于,所述第四应用程序为设置的应用程序,所述在所述第二显示屏幕显示第四应用程序的控件之前,所述方法还包括:检测到用户的触发操作;
    所述在所述第二显示屏幕显示第四应用程序的控件,包括:响应于所述用户的触发操作,在所述第二显示屏幕显示第四应用程序的控件。
  13. 根据权利要求11所述的方法,其特征在于,所述第四应用程序为用户选定的应用程序,所述在所述第二显示屏幕显示第四应用程序的控件,包括:
    在用户选定了所述第四应用程序之后,自动在所述第二显示屏幕显示所述第四应用程序的控件。
  14. 根据权利要求11至13任一项所述的方法,其特征在于,所述方法还包括:
    检测到第一应用程序的第一未读消息;
    在所述第二显示屏幕中显示所述第一未读消息对应的控件;
    检测到用户对所述第一未读消息对应的控件的第一操作;
    响应于所述第一操作,在所述第一显示屏幕中显示第一界面,所述第一界面包括所述第一未读消息的部分内容。
  15. 一种电子设备,所述电子设备包括第一显示屏幕、摄像头和第二显示屏幕,所述第一显示屏幕上设置有打孔区域,所述打孔区域下方设置有所述摄像头和所述第二显示屏幕,其特征在于,所述电子设备还包括:处理单元;
    所述处理单元,用于检测第一应用程序的第一未读消息;
    所述第二显示屏幕用于,当所述处理单元检测到所述第一未读消息时,显示所述第一 未读消息对应的控件;
    所述第二显示屏幕,还用于检测用户对所述第一未读消息对应的控件的第一操作;
    所述第一显示屏幕,用于响应于所述第一操作,显示第一界面,所述第一界面包括所述第一未读消息的部分内容。
  16. 根据权利要求15所述的电子设备,其特征在于,
    所述处理单元,还用于检测第二应用程序的第二未读消息;
    所述第二显示屏幕,还用于在所述处理单元检测到所述第二未读消息时,在所述显示所述第一未读消息对应的控件之前,显示所述第二未读消息对应的控件;
    其中,所述第二应用程序比所述第一应用程序的使用次数更多,或者所述第二应用程序比所述第一应用程序的使用时长更长,或者所述第二应用程序提供未读消息的频率比所述第一应用程序更高,或者用户阅读所述第二应用程序的未读消息的频率比所述第一应用程序更高;或者,所述第二未读消息比所述第一未读消息生成的时间早;或者所述第二未读消息比所述第一未读消息到达所述电子设备的时间早。
  17. 根据权利要求16所述的电子设备,其特征在于,所述第二显示屏幕,具体用于在显示所述第二未读消息对应的控件一段时间之后,显示所述第一未读消息对应的控件。
  18. 根据权利要求15至17任一项所述的电子设备,其特征在于,
    所述处理单元,还用于在所述第一显示屏幕中显示所述第一界面时,关闭所述第二显示屏幕;或
    所述第二显示屏幕,还用于在所述第一显示屏幕中显示所述第一界面时,显示第三应用程序对应的控件,所述第三应用程序为用户设置或默认的应用程序,或者为第三未读消息对应的应用程序。
  19. 根据权利要求15至17任一项所述的电子设备,其特征在于,所述第二显示屏幕,具体用于,常亮显示或闪烁显示所述第一未读消息对应的控件。
  20. 根据权利要求15至18任一项所述的电子设备,其特征在于,
    所述第二显示屏幕,还用于显示第四应用程序的控件;
    所述第二显示屏幕,还用于检测用户对所述第四应用程序的控件的操作;
    所述第一显示屏幕,还用于响应于对所述第四应用程序的控件的操作,显示所述第四应用程序的界面。
  21. 根据权利要求20所述的电子设备,其特征在于,所述第四应用程序为设置的应用程序,所述第一显示屏幕,还用于检测用户的触发操作;
    所述第二显示屏幕,具体用于,响应于所述用户的触发操作,在所述第二显示屏幕显示第四应用程序的控件。
  22. 根据权利要求21所述的电子设备,其特征在于,所述第一显示屏幕,还用于,响应于所述用户的触发操作,显示第二界面,所述第二界面为通知栏的界面。
  23. 根据权利要求21或22所述的电子设备,其特征在于,所述触发操作包括以下任意一个:
    在所述第一显示屏幕中的下滑操作、在所述第一显示屏幕中的上滑操作、在所述第一显示屏幕中的斜滑操作、在所述第一显示屏幕中的双击操作、以及在所述第一显示屏幕中的按压操作,其中所述按压操作为对所述第一显示屏幕的按压压力大于压力阈值的操作。
  24. 根据权利要求20所述的电子设备,其特征在于,所述第二显示屏幕,具体用于在用户选定了所述第四应用程序之后,自动显示所述第四应用程序的控件。
  25. 一种显示电子设备,所述电子设备包括第一显示屏幕、摄像头和第二显示屏幕,所述第一显示屏幕上设置有打孔区域,所述打孔区域下方设置有所述摄像头和所述第二显示屏幕,其特征在于,
    所述第一显示屏幕,用于显示待机界面;
    所述第二显示屏幕,用于在所述第一显示屏幕显示待机界面时,显示第四应用程序的控件;
    所述第二显示屏幕,还用于检测用户对所述第四应用程序的控件的操作;
    所述第一显示屏幕,用于响应于对所述第四应用程序的控件的操作,显示所述第四应用程序的界面。
  26. 根据权利要求25所述的电子设备,其特征在于,所述第四应用程序为设置的应用程序,所述第一显示屏幕,还用于检测用户的触发操作;
    所述第二显示屏幕,具体用于响应于所述用户的触发操作,在所述第二显示屏幕显示第四应用程序的控件。
  27. 根据权利要求25所述的电子设备,其特征在于,所述第二显示屏幕,具体用于在用户选定了所述第四应用程序之后,自动在所述第二显示屏幕显示所述第四应用程序的控件。
  28. 根据权利要求25至27任一项所述的电子设备,其特征在于,所述电子设备还包括:处理单元;
    所述处理单元,用于检测第一应用程序的第一未读消息;
    所述第二显示屏幕,还用于,在所述处理单元检测到所述第一未读消息时,显示所述第一未读消息对应的控件;
    所述第二显示屏幕,具体用于检测用户对所述第一未读消息对应的控件的第一操作;
    所述第一显示屏幕,还用于:响应于所述第一操作,显示第一界面,所述第一界面包括所述第一未读消息的部分内容。
  29. 一种电子设备,其特征在于,所述电子设备包括:一个或多个处理器、存储器、第一显示屏幕、摄像头和第二显示屏幕;所述第一显示屏幕上设置有打孔区域,所述打孔区域下方设置有所述摄像头和所述第二显示屏幕;所述一个或多个处理器、所述存储器、所述第一显示屏幕、所述摄像头以及所述第二显示屏幕通过一个或多个通信总线通信;一个或多个计算机程序被存储在所述存储器中,并被配置为被所述一个或多个处理器执行以使得所述电子设备执行如权利要求1-10任一项所述的方法。
  30. 一种电子设备,其特征在于,所述电子设备包括:一个或多个处理器、存储器、第一显示屏幕、摄像头和第二显示屏幕;所述第一显示屏幕上设置有打孔区域,所述打孔区域下方设置有所述摄像头和所述第二显示屏幕;所述一个或多个处理器、所述存储器、所述第一显示屏幕、所述摄像头以及所述第二显示屏幕通过一个或多个通信总线通信;一个或多个计算机程序被存储在所述存储器中,并被配置为被所述一个或多个处理器执行以使得所述电子设备执行如权利要求11-14任一项所述的方法。
  31. 一种计算机存储介质,其特征在于,包括计算机指令,当所述计算机指令在电子 设备上运行时,使得所述电子设备执行如权利要求1-10任一项所述的方法,或者,使得所述电子设备执行如权利要求11-14中任一项所述的方法。
  32. 一种计算机程序产品,其特征在于,当所述计算机程序产品在计算机上运行时,使得所述计算机执行如权利要求1-10任一项所述的方法,或者,使得所述计算机执行如权利要求11-14中任一项所述的方法。
  33. 一种程序产品,其特征在于,所述程序产品包括计算机程序,所述计算机程序存储在可读存储介质中,通信装置的至少一个处理器可以从所述可读存储介质读取所述计算机程序,所述至少一个处理器执行所述计算机程序使得通信装置实施如权利要求1-10任意一项所述的方法或者如权利要求11-14任意一项所述的方法。
PCT/CN2020/110466 2019-08-30 2020-08-21 显示方法和电子设备 WO2021036926A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910817251.1 2019-08-30
CN201910817251.1A CN112445407B (zh) 2019-08-30 2019-08-30 显示方法和电子设备

Publications (1)

Publication Number Publication Date
WO2021036926A1 true WO2021036926A1 (zh) 2021-03-04

Family

ID=74683691

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/110466 WO2021036926A1 (zh) 2019-08-30 2020-08-21 显示方法和电子设备

Country Status (2)

Country Link
CN (1) CN112445407B (zh)
WO (1) WO2021036926A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116820314A (zh) * 2021-09-22 2023-09-29 荣耀终端有限公司 一种悬浮窗显示方法及电子设备

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114296667A (zh) * 2021-03-11 2022-04-08 海信视像科技股份有限公司 一种显示设备
CN115250261A (zh) * 2021-04-25 2022-10-28 华为技术有限公司 一种信息的显示方法及电子设备
CN113888159B (zh) * 2021-06-11 2022-11-29 荣耀终端有限公司 一种应用的功能页面的开启方法和电子设备

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103338282A (zh) * 2013-06-07 2013-10-02 广东欧珀移动通信有限公司 一种移动设备及其控制方法
CN104598186A (zh) * 2015-01-16 2015-05-06 广州三星通信技术研究有限公司 用于电子设备的操作的方法及电子设备
CN107682489A (zh) * 2017-11-20 2018-02-09 珠海市魅族科技有限公司 一种移动终端和移动终端的显示屏控制方法
US9989994B2 (en) * 2014-09-04 2018-06-05 Samsung Electronics Co., Ltd. Method and apparatus for executing a function
CN108366186A (zh) * 2018-02-09 2018-08-03 广东欧珀移动通信有限公司 电子装置、显示屏及拍照控制方法
CN108965519A (zh) * 2018-07-04 2018-12-07 孟楚雁 一种终端设备

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130076654A1 (en) * 2011-09-27 2013-03-28 Imerj LLC Handset states and state diagrams: open, closed transitional and easel
CN104796553A (zh) * 2015-04-30 2015-07-22 魅族科技(中国)有限公司 一种通信事件提醒方法及终端
US20170220307A1 (en) * 2016-02-02 2017-08-03 Samsung Electronics Co., Ltd. Multi-screen mobile device and operation
CN106453883B (zh) * 2016-09-30 2020-04-28 深圳市羽恒科技有限公司 一种智能终端及其消息通知处理的方法
CN107203324A (zh) * 2017-05-27 2017-09-26 宇龙计算机通信科技(深圳)有限公司 控制电子设备的方法、系统及电子设备
CN207442922U (zh) * 2017-09-20 2018-06-01 南京粤讯电子科技有限公司 一种移动终端
CN108196747A (zh) * 2017-12-28 2018-06-22 北京奇虎科技有限公司 一种在系统通知栏中添加应用程序的方法及移动终端
CN109062472A (zh) * 2018-07-16 2018-12-21 维沃移动通信有限公司 一种状态栏的显示控制方法及移动终端

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103338282A (zh) * 2013-06-07 2013-10-02 广东欧珀移动通信有限公司 一种移动设备及其控制方法
US9989994B2 (en) * 2014-09-04 2018-06-05 Samsung Electronics Co., Ltd. Method and apparatus for executing a function
CN104598186A (zh) * 2015-01-16 2015-05-06 广州三星通信技术研究有限公司 用于电子设备的操作的方法及电子设备
CN107682489A (zh) * 2017-11-20 2018-02-09 珠海市魅族科技有限公司 一种移动终端和移动终端的显示屏控制方法
CN108366186A (zh) * 2018-02-09 2018-08-03 广东欧珀移动通信有限公司 电子装置、显示屏及拍照控制方法
CN108965519A (zh) * 2018-07-04 2018-12-07 孟楚雁 一种终端设备

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116820314A (zh) * 2021-09-22 2023-09-29 荣耀终端有限公司 一种悬浮窗显示方法及电子设备

Also Published As

Publication number Publication date
CN112445407B (zh) 2023-03-31
CN112445407A (zh) 2021-03-05

Similar Documents

Publication Publication Date Title
US11307733B2 (en) Always on display method and electronic device
CN110069306B (zh) 一种消息显示方法及终端设备
US11722494B2 (en) Method for limiting usage of application, and terminal
JP6758590B2 (ja) ウォッチシアターモード
WO2021036926A1 (zh) 显示方法和电子设备
US20200177726A1 (en) Method for switching applications in split screen mode, computer device and computer-readable storage medium
WO2019141174A1 (zh) 未读消息的处理方法及移动终端
WO2019174611A1 (zh) 应用程序的设置方法及移动终端
WO2019105227A1 (zh) 应用图标的显示方法、终端及计算机可读存储介质
CN110989882B (zh) 一种控制方法、电子设备和计算机可读存储介质
CN108885525A (zh) 菜单显示方法及终端
CN110908579B (zh) 触控响应方法及电子设备
WO2021004327A1 (zh) 应用权限设置方法及终端设备
EP3340026B1 (en) Watch-type mobile terminal
CN107250969A (zh) 屏幕开启方法、装置及电子设备
WO2020181956A1 (zh) 应用标识的显示方法及终端设备
CN109766037A (zh) 提示方法及终端设备
KR20220024682A (ko) 아이콘 디스플레이 방법 및 단말 장비
CN110750188A (zh) 一种消息显示方法及电子设备
CN110049486B (zh) 一种sim卡选择方法及终端设备
CN110069178A (zh) 界面控制方法及终端设备
KR20220158794A (ko) 정보 제시 방법, 전자기기 및 저장 매체
WO2016206066A1 (zh) 一种智能终端模式的控制方法、装置及智能终端
CN110221741B (zh) 图标管理方法及终端设备
CN108563374A (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: 20856182

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20856182

Country of ref document: EP

Kind code of ref document: A1