WO2024098995A1 - Notification information display method and apparatus, electronic device and storage medium - Google Patents

Notification information display method and apparatus, electronic device and storage medium Download PDF

Info

Publication number
WO2024098995A1
WO2024098995A1 PCT/CN2023/122077 CN2023122077W WO2024098995A1 WO 2024098995 A1 WO2024098995 A1 WO 2024098995A1 CN 2023122077 W CN2023122077 W CN 2023122077W WO 2024098995 A1 WO2024098995 A1 WO 2024098995A1
Authority
WO
WIPO (PCT)
Prior art keywords
display mode
application
information
information component
screen
Prior art date
Application number
PCT/CN2023/122077
Other languages
French (fr)
Chinese (zh)
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 WO2024098995A1 publication Critical patent/WO2024098995A1/en

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present application relates to the field of screen-off display technology, and in particular to a method, device, electronic device and storage medium for displaying notification information.
  • Embodiments of the present application provide a method, device, electronic device, and storage medium for displaying notification information.
  • a first aspect of an embodiment of the present application provides a method for displaying notification information, including:
  • the first information component is controlled to switch from the first display mode to a second display mode, and the information carrying capacity of the second display mode is greater than the information carrying capacity of the first display mode.
  • a second aspect of an embodiment of the present application provides a device for displaying notification information, including:
  • a first display unit configured to display a first information component of a first application in a first display mode when the electronic device is in a screen-off state, wherein the first information component is configured to carry first notification information of the first application;
  • the second display unit is used to control the first information component to switch from the first display mode to a second display mode in response to the first interaction operation when the first interaction operation is detected, and the information carrying capacity of the second display mode is greater than that of the first display mode.
  • a third aspect of the embodiments of the present application provides an electronic device, which may include:
  • a memory storing executable program code
  • the processor calls the executable program code stored in the memory, and when the executable program code is executed by the processor, the processor implements the method described in the first aspect of the embodiment of the present application.
  • a fourth aspect of an embodiment of the present application provides a computer-readable storage medium having executable program code stored thereon.
  • executable program code When executed by a processor, the method described in the first aspect of the embodiment of the present application is implemented.
  • a fifth aspect of an embodiment of the present application discloses a computer program product.
  • the computer program product runs on a computer, the computer executes the method described in the first aspect of the embodiment of the present application.
  • a sixth aspect of an embodiment of the present application discloses an application publishing platform, which is used to publish a computer program product.
  • the computer program product runs on a computer, the computer executes the method described in the first aspect of the embodiment of the present application.
  • FIG1 is a schematic diagram of a scenario disclosed in an embodiment of the present application. ;
  • FIG2 is a flow chart of a method for displaying notification information disclosed in an embodiment of the present application.
  • FIG3A is a screen-off display interface in which a first notification message disclosed in an embodiment of the present application is displayed in a first display mode;
  • FIG3B is a screen-off display interface in which the first notification message disclosed in an embodiment of the present application is displayed in a second display mode;
  • FIG3C is another screen-off display interface in which the first notification message disclosed in an embodiment of the present application is displayed in the first display mode
  • FIG3D is another screen-off display interface in which the first notification message disclosed in an embodiment of the present application is displayed in a second display mode;
  • FIG4 is another schematic flow chart of a method for displaying notification information disclosed in an embodiment of the present application.
  • FIG5A is another screen-off display interface disclosed in an embodiment of the present application.
  • FIG5B is a diagram of a first setting interface disclosed in an embodiment of the present application.
  • FIG5C is another diagram of the first setting interface disclosed in the embodiment of the present application.
  • FIG5D is another screen-off display interface disclosed in an embodiment of the present application.
  • FIG5E is a diagram of a target interface disclosed in an embodiment of the present application.
  • FIG6 is a structural diagram of a device for displaying notification information disclosed in an embodiment of the present application.
  • FIG. 7 is a structural diagram of an electronic device disclosed in an embodiment of the present application.
  • the embodiments of the present application provide a method, device, electronic device, and storage medium for displaying notification information, which can display notification messages of an application in a screen-off state without requiring user operation and with low power consumption.
  • the electronic devices involved in the embodiments of the present application may include general handheld screen electronic user terminals, such as mobile phones, smart phones, portable terminals, terminals, personal digital assistants (PDA), portable multimedia players (Personal Media Player, PMP) devices, laptop computers, notebooks (Note Pad), wireless broadband (Wireless Broadband, Wibro) terminals, tablet computers (Personal Computer, PC), smart PCs, sales terminals (Point of Sales, POS) and car computers, etc.
  • PDA personal digital assistants
  • PMP portable multimedia players
  • laptop computers notebooks (Note Pad)
  • wireless broadband Wireless Broadband, Wibro
  • tablet computers Personal Computer, PC
  • smart PCs sales terminals (Point of Sales, POS) and car computers, etc.
  • Wearable devices are portable electronic devices that can be worn directly on the user or integrated into the user's clothes or accessories.
  • Wearable devices are not just hardware devices, but can also achieve powerful intelligent functions through software support, data interaction, and cloud server interaction, such as: computing function, positioning function, and alarm function. They can also be connected to mobile phones and various terminals.
  • Wearable devices may include but are not limited to watches supported by the wrist (such as watches, wrists, etc.), shoes supported by the foot (such as shoes, socks, or other products worn on the legs), glasses supported by the head (such as glasses, helmets, headbands, etc.), and various non-mainstream product forms such as smart clothing, school bags, crutches, accessories, etc.
  • Screen-off state refers to the display state in which specific content is displayed in a partial area of the screen without lighting up the entire screen of the electronic device.
  • SDK software development kit
  • FIG. 1 is a schematic diagram of a scenario disclosed in an embodiment of the present application.
  • the schematic diagram of the scenario includes an electronic device 10.
  • applications such as social applications, learning applications, and sports applications, etc.
  • the notification message of the application can be displayed in the form of an information component.
  • the information component is first displayed in a first display mode with a smaller information carrying capacity, and then when a first interactive operation is detected, the first display mode is switched to a second display mode with a larger information carrying capacity.
  • the information component also supports user interaction, making the display method of the notification information more flexible and more interesting.
  • Figure 2 is a flow chart of a method for displaying notification information disclosed in an embodiment of the present application.
  • the method for displaying notification information as shown in Figure 2 may include the following steps:
  • the first application may be any application running on the electronic device.
  • the first display mode may be a display mode with only display function.
  • the display style of the information component in the first display mode may include a card style, and the card style is used to display at least one of the following elements: pictures, texts, icons, lists and grids.
  • the first information component in the first display mode includes a category icon indicating the category of the first application, an application icon of the first application, and a first notification message; or, the first information component in the first display mode includes an application icon of the first application and a first notification message.
  • the category icon of the application is used to indicate the category to which the application belongs.
  • the category of the application can be system-defined or user-defined, which is not limited in the embodiments of the present application.
  • the categories of the application may include ticket booking, learning, work, taxi-hailing, food delivery, map, audio playback, social, weather, etc.
  • the application icon of the application is used to uniquely identify the application.
  • the content of the first information component in the first display mode is described below with reference to an example:
  • the first information component may include an icon indicating the ticket booking application, an icon of the first application, and “Gate 116, Tray B”; when the first application is a taxi application, the first information component may include an icon indicating the taxi application, an icon of the first application, and “The driver is 109 meters away from you”; when the first application is a weather application, the first information component may include an icon indicating the weather application, an icon of the first application, and “Orange gale warning”; when the first application is a memo application, the first information component may include an icon indicating the memo application, an icon of the first application, and “15:00XX strategic meeting”; when the first application is a map application, the first information component may include an icon indicating the map application, an icon of the first application, and “Turn left after 100 meters”; when the first application is a shopping application, the first information component may include an icon indicating the shopping application, an icon of the first application, and “Flash sale in 53 seconds”
  • the first information component in the first display mode only includes the application icon of the first application and the first notification message, it is sufficient to remove the icon indicating the application category in each of the above examples, and no further examples are given here.
  • the electronic device can also display time information, date information, and power information of the electronic device when the screen is off.
  • the first interactive operation may be any one of a voice operation, a gesture operation, a touch operation, and a gaze operation, and the present application embodiment does not limit this.
  • the voice operation may be a voice input of "information expansion”
  • the gesture operation may be shaking the electronic device
  • the touch operation may be a long press, a short press, or a double click
  • the gaze operation may be a long gaze on the screen.
  • the second display mode may be a display mode that has both display and interactive functions.
  • the display style of the information component in the second display mode may include a card style and a virtual operation control.
  • the virtual operation control is used to trigger the corresponding application to execute the corresponding function.
  • the corresponding virtual operation controls include a message reply control; when the first application is a music application, the corresponding virtual operation controls include an audio pause button, a button for switching to the previous song, and a button for switching to the next song.
  • the first application is a social application
  • the first notification message is a message sent by friend Xiao Ming, "Xiao Ming: Come and play together.”
  • Figure 3A is a screen-off display interface in which the first notification message disclosed in the embodiment of the present application is displayed in the first display mode.
  • the screen-off display interface shown in Figure 3A includes the icon of the first application and the first notification message "Xiao Ming: Come and play together.”
  • Figure 3B is a screen-off display interface in which the first notification message disclosed in the embodiment of the present application is displayed in the second display mode.
  • the screen-off display interface shown in Figure 3B includes the icon of the first application, the first notification message "Xiao Ming: Come and play together" and the message reply control A.
  • the first application is an audio playback application
  • the first notification message is the song name and singer name of the music being played.
  • FIG3C is another screen-off display interface in which the first notification message disclosed in the embodiment of the present application is displayed in the first display mode.
  • the screen-off display interface shown in FIG3C includes the icon of the first application, the song name "Dune” being played, and the singer name "Hans Zimmer".
  • FIG. 3D is another screen-off display interface in which the first notification message disclosed in the embodiment of the present application is displayed in the second display mode.
  • the screen-off display interface shown in FIG. 3D includes the icon of the first application, the name of the song being played "Dune”, the name of the singer “Hans Zimmer", and the virtual operation control A.
  • the notification message of the application can be sent in the form of information components. Display. Specifically, the information component is first displayed in a first display mode with a smaller information carrying capacity, and then when a first interactive operation is detected, the first display mode is switched to a second display mode with a larger information carrying capacity.
  • the information component also supports user interaction, making the display method of the notification information more flexible and more interesting.
  • Figure 4 is another flowchart of the method for displaying notification information disclosed in an embodiment of the present application.
  • the method for displaying notification information as shown in Figure 4 may include the following steps:
  • the first application may be one of a plurality of applications supported by the electronic device in the screen-off state.
  • the installation package of an application that supports electronic devices displaying notification messages when the screen is off contains a third-party SDK standard interface that matches the operating system of the electronic device.
  • the notification messages of the corresponding application can be transmitted through the third-party SDK standard interface to the page that needs to be displayed on the electronic device, such as the screen off page, lock screen page or desktop entrance.
  • a first setting operation may be detected; in response to the first setting operation, a first setting interface may be displayed, wherein the first setting interface includes identification information of multiple applications; a first start-up operation may be detected, and in response to the first start-up operation, a notification function of the first application may be turned on, so that the electronic device is in a screen-off state and displays the first information component in a first display mode.
  • the function of the electronic device to display notification messages in the screen-off state is generally disabled by default. Further, before step 401, the electronic device can also output instruction information indicating activation of the function in the screen-off state.
  • the above-mentioned indication information may include a virtual operation button for uniformly managing whether notification messages of all applications supported and installed by the electronic device in the screen-off state are displayed on the screen-off. It is understandable that if the virtual operation button is turned on, notification messages of all applications supported and installed by the electronic device in the screen-off state can be displayed on the screen-off; conversely, if the virtual operation button is turned off, notification messages of all applications supported and installed by the electronic device in the screen-off state are not displayed on the screen-off.
  • the above-mentioned indication information may also include a virtual operation control for indicating viewing all application programs supported by the electronic device in the screen-off state, and the user may input the first setting operation by operating the virtual operation control.
  • the first setting interface may further include a virtual operation button corresponding to each identification information.
  • the virtual operation control corresponding to the identification information of the application installed on the electronic device is used to start or close the screen display function; the virtual operation control corresponding to the identification information of the application not installed on the electronic device is used to trigger the installation operation of the application.
  • 5A is another screen-off display interface disclosed in an embodiment of the present application.
  • the interface shown in FIG5A includes a virtual operation button A for uniformly managing whether notification messages of all applications supported and installed by the electronic device in the screen-off state are displayed on the screen, and an instruction to check whether the notification messages of all applications supported and installed by the electronic device in the screen-off state are displayed on the screen.
  • a virtual operation button A for uniformly managing whether notification messages of all applications supported and installed by the electronic device in the screen-off state are displayed on the screen, and an instruction to check whether the notification messages of all applications supported and installed by the electronic device in the screen-off state are displayed on the screen.
  • FIG. 5B is a diagram of the first setting interface disclosed in the embodiment of the present application. It should be noted that the user jumps to the first setting interface shown in the following FIG. 5B by operating the virtual operation control B in FIG. 5A.
  • the interface shown in FIG5B includes an icon and a virtual operation button A of application 1, an icon and a virtual operation button B of application 2, an icon and a virtual operation button C of application 3, and an icon and a virtual operation button D of application 4.
  • the virtual operation button C is used to trigger the installation of application 3.
  • the introduction information for application 3 can be superimposed on the interface.
  • FIG5C which is an interface for superimposing the introduction information of application 3.
  • FIG5C includes the icon of application 3, detailed information, and a virtual operation button E for triggering the installation operation.
  • the first setting interface can be displayed when the electronic device is in the screen-on state.
  • a second setting operation can also be detected; in response to the second setting operation, a second setting interface is displayed, the second setting interface includes identification information of multiple applications, and setting information of the display mode of each application, the display mode includes a permanent display mode and an instant display mode; a third setting operation is detected, and in response to the third setting operation, the notification function of the first application is turned on, and the target display mode of the first application is determined, so that the electronic device displays the first information component in the first display mode in the target display mode when the screen is in the off state.
  • the application program in the permanent display mode may be an important application program such as a weather application program or a memo application program.
  • the input of the second setting operation can also be achieved by operating instructions to view the virtual operation controls of all applications supported by the electronic device in the screen-off state.
  • the first application is an application in a permanent display mode in a screen-off state, or an application in an instant display mode.
  • the first information component is displayed in the first window, and the first application is an application in a permanent display mode.
  • the second information component in the first display mode can be displayed in the second window.
  • the second information component is used to carry the second notification message, and the second application is an application in an instant display mode.
  • the first application is an audio playback application
  • the second application is a food delivery application.
  • FIG. 5D is another screen-off display interface disclosed in an embodiment of the present application.
  • the screen-off display interface shown in FIG. 5D includes a first window A and a second window B.
  • the first window A includes the icon of the first application and the song name "Dune” and the singer name "Hans Zimmer" of the audio information currently being played.
  • the second window B includes the icon of the second application and the notification information "The merchant has received the order" corresponding to the second application.
  • the second window may disappear.
  • the second notification message is "The merchant accepts the order, and it is expected to be delivered at xxx. The merchant has accepted the order but the rider has not accepted the order", or "The merchant accepts the order, but there is no rider to accept the order, and the rider has timed out”.
  • the new notification message is any of the following: (1) "The rider has accepted the order, the distance is xx, and the rider is rushing to the merchant", “Picking up the food in the store, it is expected to take xx time”, “The distance is 2.3km, it will take xx time, and the delivery has not timed out", “The distance is 300m, it has timed out, and it will take xx time” and "The order has been delivered”; (2) The merchant cancels the order; (3) The rider has accepted the order and the rider cancels the order;
  • the second application is a taxi-hailing application.
  • the second notification message is "The driver has accepted the order and is expected to arrive at xx time.”
  • the new notification message is any of the following: (1) "The driver will arrive in xx time, please get on the car at the designated location,” "The driver has arrived” (2) "The driver has canceled the order and needs to be called again.”
  • the first information component is displayed in the first window, and the first application is an application in the immediate display mode.
  • the first information component in the first display mode in the first window can be switched to a third information component in the first display mode, and the third information component is used to carry the third notification message; wherein the third application is an application in the immediate display mode other than the first application.
  • switching a first information component in a first window that is in a first display mode to a third information component in the first display mode may include: when the display duration of the first information component in the first display mode is greater than a first duration threshold, switching the first information component in the first window that is in the first display mode to the third information component in the first display mode.
  • the first information component is displayed in the first window.
  • the first information component in the first display mode in the first window can be switched to the fourth information component in the first display mode, and the fourth information component is used to carry the fourth notification message.
  • the first information component is controlled to switch from a first display mode to a second display mode, and the information carrying capacity of the second display mode is greater than the information carrying capacity of the first display mode.
  • controlling the first information component to switch from a first display mode to a second display mode may include: when the first application is a private application, performing identity verification on the user who triggers the first interactive operation; when the user is a legitimate user, in response to the first interactive operation, controlling the first information component to switch from the first display mode to the second display mode.
  • the private application may refer to an application with a relatively high degree of privacy, such as a social application, a banking application, a work application, etc.
  • the private application may be user-defined.
  • the method of performing identity verification on the user who triggers the first interactive operation may include but is not limited to any of the following: fingerprint, voiceprint, iris, face, etc.
  • controlling the first information component to switch from a first display mode to a second display mode may include: when the first application is a non-private application, in response to the first interactive operation, controlling the first information component to switch from a first display mode to a second display mode.
  • non-private applications may refer to applications with a relatively low degree of privacy, such as audio and video applications and fitness applications, etc.
  • the first information component when the first interactive operation is detected, for private applications, it is necessary to verify the user identity first, and only after the verification is passed will the first information component be controlled to switch from the first display mode to the second display mode. For non-private applications, the first information component is directly controlled to switch from the first display mode to the second display mode. This message display method is conducive to protecting user privacy.
  • the first information component in the second display mode may further include a virtual operation control.
  • the first application in response to a pressing operation on the virtual operation control, the first application may be controlled to perform a corresponding operation indicated by the virtual operation control.
  • step 402 if no pressing operation on the virtual operation control is detected within the second time threshold, the first information component is controlled to switch from the second display mode to the first display mode.
  • the first application may be controlled to perform the corresponding operation indicated by the virtual operation control in response to a specified gesture operation or a specified voice operation.
  • the specified gesture operation may include a shaking operation.
  • the first information component is controlled to switch from the second display mode to the first display mode.
  • the first application is a social application
  • the first notification message is a message sent by any friend
  • the first information component in the second display mode may include a message reply control.
  • the first application may be controlled to implement a message reply.
  • the first application can be controlled to perform corresponding operations in response to user operations in the screen-off state, which is conducive to improving the convenience of interaction.
  • the first information component can be switched from the second display mode to the first display mode when the user has not operated for a long time, which can further reduce the power consumption of the device.
  • control the electronic device In response to the second interactive operation, control the electronic device to be in a screen-on state, and display a target interface corresponding to the first notification information in the screen-on state.
  • the first application is a social application
  • the first notification message is a message sent by friend Xiao Ming, "Xiao Ming: Come and play together.”
  • the target interface is a message reply interface for Xiao Ming, as shown in FIG5E , which includes historical chat messages, the latest message sent by Xiao Ming, and a message reply control A.
  • the notification message of the application can be displayed in the form of an information component.
  • the information component is first displayed in a first display mode with a smaller information carrying capacity, and then when a first interactive operation is detected, the first display mode is switched to a second display mode with a larger information carrying capacity.
  • the information component also supports Supporting user interaction makes the display mode of notification information more flexible and more interesting.
  • the user can also directly jump to the application interface by operating the first information component in the second display mode, which greatly simplifies the operation steps.
  • FIG. 6 is a structural diagram of a display device for notification information disclosed in an embodiment of the present application.
  • the display device shown in Figure 6 may include a first display unit 601 and a second display unit 602; wherein:
  • a first display unit 601 configured to display a first information component of a first application in a first display mode when the electronic device is in a screen-off state, where the first information component is configured to carry first notification information of the first application;
  • the second display unit 602 is used to control the first information component to switch from the first display mode to the second display mode in response to the first interactive operation when the first interactive operation is detected, and the information carrying capacity of the second display mode is greater than the information carrying capacity of the first display mode.
  • the second display unit 602 is used to control the first information component to switch from the first display mode to the second display mode in response to the first interactive operation, which may specifically include: the second display unit 602 is used to verify the identity of the user who triggers the first interactive operation when the first application is a private application; when the user is a legitimate user, in response to the first interactive operation, control the first information component to switch from the first display mode to the second display mode.
  • the second display unit 602 is used to control the first information component to switch from the first display mode to the second display mode in response to the first interactive operation, which may specifically include: the second display unit 602 is used to control the first information component to switch from the first display mode to the second display mode in response to the first interactive operation when the first application is a non-private application.
  • the first application is an application in a permanent display mode in a screen-off state, or an application in an immediate display mode.
  • the first information component is displayed in the first window, and the first application is an application in a permanent display mode; further, the second display unit 602 is also used to display the second information component in the first display mode in the second window when receiving a second notification message of the second application, and the second information component is used to carry the second notification message, and the second application is an application in an instant display mode.
  • the first information component is displayed in the first window, and the first application is an application in the immediate display mode; further, the second display unit 602 is also used to switch the first information component in the first display mode in the first window to the third information component in the first display mode when receiving a third notification message from a third application, and the third information component is used to carry the third notification message; wherein the third application is an application in the immediate display mode other than the first application.
  • the second display unit 602 is used to switch the first information component in the first window that is in the first display mode to the third information component in the first display mode, which may specifically include: the second display unit 602 is used to switch the first information component in the first display mode in the first window to the third information component in the first display mode when the display time of the first information component in the first display mode is greater than the first time threshold.
  • the first information component is displayed in the first window; the second display unit 602 is also used to switch the first information component in the first display mode in the first window to the fourth information component in the first display mode when receiving the fourth notification message of the first application, and the fourth information component is used to carry the fourth notification message.
  • the second display unit 602 is also used to control the first information component to switch from the first display mode to the second display mode, and in response to the second interactive operation, control the electronic device to be in a screen-on state, and display the target interface corresponding to the first notification information in the screen-on state.
  • the first information component of the second display mode includes a virtual operation control
  • the second display unit 602 is also used to control the first information component to switch from the first display mode to the second display mode, and in response to a pressing operation on the virtual operation control, control the first application to perform the corresponding operation indicated by the virtual operation control.
  • the second display unit 602 is also used to control the first information component to switch from the first display mode to the second display mode. If no pressing operation on the virtual operation control is detected within the second time threshold, the first information component is controlled to switch from the second display mode to the first display mode.
  • the first application is one of multiple applications supported by the electronic device in the screen-off state.
  • the display device shown in FIG6 may also include a first display setting unit, the first display setting unit being used to detect a first setting operation before the first display unit 601 displays the first information component of the first application in the first display mode; in response to the first setting operation, display a first setting interface, the first setting interface including identification information of multiple applications; detect a first start-up operation, and in response to the first start-up operation, start the notification function of the first application, so that the electronic device is in the screen-off state and displays the first information component in the first display mode.
  • the first application is one of the multiple applications supported by the electronic device in the screen-off state.
  • the display device shown in FIG6 may also include a second display setting unit, the second display setting unit being used to detect a second setting operation before the first display unit 601 displays the first information component of the first application in the first display mode; in response to the second setting operation, display a second setting interface, the second setting interface including identification information of multiple applications, and setting information of the display mode of each application, the display mode including a permanent display mode and an instant display mode; detect a third setting operation, in response to the third setting operation, turn on the notification function of the first application, and determine the target display mode of the first application, so that the electronic device displays the first information component in the first display mode in the target display mode in the screen-off state.
  • Figure 7 is a structural diagram of an electronic device disclosed in an embodiment of the present application.
  • the electronic device may include a processor 701 and a memory 702 coupled to the processor 701, wherein the memory 702 may store one or more computer programs.
  • the processor 701 may include one or more processing cores.
  • the processor 701 uses various interfaces and lines to connect various parts of the entire electronic device, and runs or executes instructions, programs, code sets or instruction sets stored in the memory 702, and calls the stored
  • the processor 701 can be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA).
  • DSP digital signal processing
  • FPGA field-programmable gate array
  • PDA programmable logic array
  • the processor 701 can integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem.
  • the CPU mainly processes the operating system, user interface, and application programs
  • the GPU is responsible for rendering and drawing display content
  • the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 701, but may be implemented separately through a communication chip.
  • the memory 702 may include a random access memory (RAM) or a read-only memory (ROM).
  • the memory 702 may be used to store instructions, programs, codes, code sets or instruction sets.
  • the memory 702 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.
  • the data storage area may also store data created by the electronic device during use, etc.
  • the processor 701 also has the following functions:
  • the first information component is controlled to switch from the first display mode to a second display mode, and the information carrying capacity of the second display mode is greater than the information carrying capacity of the first display mode.
  • the processor 701 also has the following functions:
  • the first application is a private application, verifying the identity of a user who triggers the first interactive operation;
  • the first information component is controlled to switch from the first display mode to the second display mode.
  • the processor 701 also has the following functions:
  • the first information component is controlled to switch from the first display mode to the second display mode.
  • the first application is an application in a permanent display mode in the screen-off state, or an application in an instant display mode.
  • the first information component is displayed in the first window, and the first application is an application in a resident display mode; the processor 701 also has the following functions:
  • the second information component is used to carry the second notification information, and the second application is an application in instant display mode.
  • the first information component is displayed in the first window, and the first application is an application in the real-time display mode; the processor 701 also has the following functions:
  • the first information component in the first display mode within the first window is switched to a third information component in the first display mode, and the third information component is used to carry the third notification message; wherein the third application is an application in immediate display mode other than the first application.
  • the processor 701 also has the following functions:
  • the first information component in the first display mode in the first window is switched to a third information component in the first display mode.
  • the first information component is displayed in the first window, and the processor 701 also has the following functions:
  • the first information component in the first display mode in the first window is switched to a fourth information component in the first display mode, and the fourth information component is used to carry the fourth notification message.
  • the processor 701 also has the following functions:
  • the electronic device In response to the second interactive operation, the electronic device is controlled to be in a screen-on state, and a target interface corresponding to the first notification information is displayed in the screen-on state.
  • the first information component of the second display mode includes a virtual operation control; the processor 701 also has the following functions:
  • the first application In response to a pressing operation on the virtual operation control, the first application is controlled to execute a corresponding operation indicated by the virtual operation control.
  • the processor 701 also has the following functions:
  • the first information component is controlled to switch from the second display mode to the first display mode.
  • the first application is one of the multiple applications supported by the electronic device in the screen-off state; the processor 701 further has the following functions:
  • the first application is one of the multiple applications supported by the electronic device in the screen-off state; the processor 701 further has the following functions:
  • the second setting interface includes identification information of the multiple applications and setting information of a display mode of each application, wherein the display mode includes a resident display mode and an immediate display mode;
  • Detect a third setting operation and in response to the third setting operation, turn on the notification function of the first application, and determine the target display mode of the first application, so that the electronic device displays the first information component in the first display mode in the target display mode in the screen-off state.
  • An embodiment of the present application discloses a computer-readable storage medium storing a computer program, wherein the computer program implements the methods described in the above embodiments when executed by a processor.
  • An embodiment of the present application discloses a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program can be executed by a processor to implement the methods described in the above embodiments.
  • the storage medium can be a disk, an optical disk, a ROM, etc.
  • any reference to memory, storage, database, or other medium may include nonvolatile and/or volatile memory.
  • Suitable nonvolatile memory may include ROM, Programmable ROM (PROM), Erasable PROM (EPROM), Electrically Erasable PROM (EEPROM), or flash memory.
  • Volatile memory may include random access memory (RAM), which is used as external cache memory.
  • RAM can be in many forms, such as static RAM (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced synchronous DRAM (ESDRAM), synchronous link DRAM (SLDRAM), Rambus DRAM (RDRAM) and direct Rambus dynamic RAM (DRDRAM).
  • Each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit may be implemented in the form of hardware or in the form of software functional units.
  • 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-accessible memory.
  • the technical solution of the present application in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a memory and includes several requests for a computer device (which can be a personal computer, a server or a network device, etc., specifically a processor in a computer device) to perform some or all of the steps of the above-mentioned methods of various embodiments of the present application.

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

Disclosed in the embodiments of the present application are a notification information display method and apparatus, an electronic device and a storage medium. The notification information display method can comprise: when an electronic device is in a screen-off state, displaying a first information component of a first application on the basis of a first display mode, the first information component being used for carrying first notification information of the first application; and, when a first interaction operation is detected, in response to the first interaction operation, controlling the first information component to be switched from the first display mode to a second display mode, the information carrying capacity of the second display mode being greater than the information carrying capacity of the first display mode.

Description

通知信息的显示方法、装置、电子设备及存储介质Method, device, electronic device and storage medium for displaying notification information
本申请要求于2022年11月10日提交、申请号为202211406850.2、发明名称为“通知信息的显示方法、装置、电子设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to the Chinese patent application filed on November 10, 2022, with application number 202211406850.2, and invention name “Method, device, electronic device and storage medium for displaying notification information”, the entire contents of which are incorporated by reference into this application.
技术领域Technical Field
本申请涉及息屏显示技术领域,尤其涉及一种通知信息的显示方法、装置、电子设备及存储介质。The present application relates to the field of screen-off display technology, and in particular to a method, device, electronic device and storage medium for displaying notification information.
背景技术Background technique
在现有技术中,在电子设备处于息屏状态时,若接收到任一应用程序的通知消息,大都通过显示该应用程序的图标进行用户提醒,用户往往需要手动解锁屏幕才可以看到通知消息的具体消息内容,这样不仅操作繁琐而且功耗较高。In the prior art, when an electronic device is in the screen-off state, if a notification message from any application is received, the user is mostly reminded by displaying the icon of the application. The user often needs to manually unlock the screen to see the specific message content of the notification message, which is not only cumbersome to operate but also consumes high power.
发明内容Summary of the invention
本申请实施例提供了一种通知信息的显示方法、装置、电子设备及存储介质。Embodiments of the present application provide a method, device, electronic device, and storage medium for displaying notification information.
本申请实施例第一方面提供了一种通知信息的显示方法,包括:A first aspect of an embodiment of the present application provides a method for displaying notification information, including:
在电子设备处于息屏状态下,按照第一展示模式显示第一应用程序的第一信息组件,所述第一信息组件用于承载所述第一应用程序的第一通知信息;When the electronic device is in a screen-off state, displaying a first information component of a first application in a first display mode, where the first information component is used to carry first notification information of the first application;
在检测到第一交互操作时,响应于所述第一交互操作,控制所述第一信息组件由所述第一展示模式切换为第二展示模式,所述第二展示模式的信息承载量大于所述第一展示模式的信息承载量。When a first interactive operation is detected, in response to the first interactive operation, the first information component is controlled to switch from the first display mode to a second display mode, and the information carrying capacity of the second display mode is greater than the information carrying capacity of the first display mode.
本申请实施例第二方面提供了一种通知信息的显示装置,包括:A second aspect of an embodiment of the present application provides a device for displaying notification information, including:
第一显示单元,用于在电子设备处于息屏状态下,按照第一展示模式显示第一应用程序的第一信息组件,所述第一信息组件用于承载所述第一应用程序的第一通知信息;A first display unit, configured to display a first information component of a first application in a first display mode when the electronic device is in a screen-off state, wherein the first information component is configured to carry first notification information of the first application;
第二显示单元,用于在检测到第一交互操作时,响应于所述第一交互操作,控制所述第一信息组件由所述第一展示模式切换为第二展示模式,所述第二展示模式的信息承载量大于所述第一展示模式的信息承载量。The second display unit is used to control the first information component to switch from the first display mode to a second display mode in response to the first interaction operation when the first interaction operation is detected, and the information carrying capacity of the second display mode is greater than that of the first display mode.
本申请实施例第三方面提供了一种电子设备,可以包括:A third aspect of the embodiments of the present application provides an electronic device, which may include:
存储有可执行程序代码的存储器;A memory storing executable program code;
以及所述存储器耦合的处理器; and a processor coupled to the memory;
所述处理器调用所述存储器中存储的所述可执行程序代码,所述可执行程序代码被所述处理器执行时,使得所述处理器实现如本申请实施例第一方面所述的方法。The processor calls the executable program code stored in the memory, and when the executable program code is executed by the processor, the processor implements the method described in the first aspect of the embodiment of the present application.
本申请实施例第四方面提供一种计算机可读存储介质,其上存储有可执行程序代码,所述可执行程序代码被处理器执行时,实现如本申请实施例第一方面所述的方法。A fourth aspect of an embodiment of the present application provides a computer-readable storage medium having executable program code stored thereon. When the executable program code is executed by a processor, the method described in the first aspect of the embodiment of the present application is implemented.
本申请实施例第五方面公开一种计算机程序产品,当该计算机程序产品在计算机上运行时,使得该计算机执行本申请实施例第一方面所述的方法。A fifth aspect of an embodiment of the present application discloses a computer program product. When the computer program product runs on a computer, the computer executes the method described in the first aspect of the embodiment of the present application.
本申请实施例第六方面公开一种应用发布平台,该应用发布平台用于发布计算机程序产品,其中,当该计算机程序产品在计算机上运行时,使得该计算机执行本申请实施例第一方面所述的方法。A sixth aspect of an embodiment of the present application discloses an application publishing platform, which is used to publish a computer program product. When the computer program product runs on a computer, the computer executes the method described in the first aspect of the embodiment of the present application.
本申请的一个或多个实施例的细节在下面的附图和描述中提出。本申请的其它特征和有益效果将从说明书、附图以及权利要求书中体现。Details of one or more embodiments of the present application are set forth in the following drawings and descriptions. Other features and benefits of the present application will be apparent from the specification, drawings, and claims.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本申请实施例技术方案,下面将对实施例和现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,还可以根据这些附图获得其它的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments and the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application, and other drawings can be obtained based on these drawings.
图1是本申请实施例公开的一种场景示意图。;FIG1 is a schematic diagram of a scenario disclosed in an embodiment of the present application. ;
图2是本申请实施例公开的通知信息的显示方法的一种流程示意图;FIG2 is a flow chart of a method for displaying notification information disclosed in an embodiment of the present application;
图3A是本申请实施例公开的第一通知消息以第一展示模式显示的一种息屏显示界面;FIG3A is a screen-off display interface in which a first notification message disclosed in an embodiment of the present application is displayed in a first display mode;
图3B是本申请实施例公开的第一通知消息以第二展示模式显示的一种息屏显示界面;FIG3B is a screen-off display interface in which the first notification message disclosed in an embodiment of the present application is displayed in a second display mode;
图3C是本申请实施例公开的第一通知消息以第一展示模式显示的另一种息屏显示界面;FIG3C is another screen-off display interface in which the first notification message disclosed in an embodiment of the present application is displayed in the first display mode;
图3D是本申请实施例公开的第一通知消息以第二展示模式显示的另一种息屏显示界面;FIG3D is another screen-off display interface in which the first notification message disclosed in an embodiment of the present application is displayed in a second display mode;
图4是本申请实施例公开的通知信息的显示方法的另一种流程示意图;FIG4 is another schematic flow chart of a method for displaying notification information disclosed in an embodiment of the present application;
图5A是本申请实施例公开的又一种息屏显示界面;FIG5A is another screen-off display interface disclosed in an embodiment of the present application;
图5B是本申请实施例公开的第一设置界面的一种图示;FIG5B is a diagram of a first setting interface disclosed in an embodiment of the present application;
图5C是本申请实施例公开的第一设置界面的另一种图示;FIG5C is another diagram of the first setting interface disclosed in the embodiment of the present application;
图5D是本申请实施例公开的又一种息屏显示界面;FIG5D is another screen-off display interface disclosed in an embodiment of the present application;
图5E是本申请实施例公开的目标界面的一种图示;FIG5E is a diagram of a target interface disclosed in an embodiment of the present application;
图6是本申请实施例公开的通知信息的显示装置的一种结构图示;FIG6 is a structural diagram of a device for displaying notification information disclosed in an embodiment of the present application;
图7是本申请实施例公开的电子设备的一种结构图示。 FIG. 7 is a structural diagram of an electronic device disclosed in an embodiment of the present application.
具体实施方式Detailed ways
本申请实施例提供了一种通知信息的显示方法、装置、电子设备及存储介质,可以在息屏状态下显示应用程序的通知消息,无需用户操作且功耗较低。The embodiments of the present application provide a method, device, electronic device, and storage medium for displaying notification information, which can display notification messages of an application in a screen-off state without requiring user operation and with low power consumption.
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述,显然,所描述的实施例仅仅是本申请一部分的实施例,而不是全部的实施例。基于本申请中的实施例,都应当属于本申请保护的范围。In order to make the technical personnel in the technical field better understand the scheme of the present application, the technical scheme in the embodiment of the present application will be described below in conjunction with the drawings in the embodiment of the present application. Obviously, the described embodiment is only a part of the embodiment of the present application, not all of the embodiments. Based on the embodiments in the present application, they should all fall within the scope of protection of the present application.
可以理解的是,本申请实施例中所涉及的电子设备可以包括一般的手持有屏电子用户终端,诸如手机、智能电话、便携式终端、终端、个人数字助理(Personal Digital Assistant,PDA)、便携式多媒体播放器(Personal Media Player,PMP)装置、笔记本电脑、笔记本(Note Pad)、无线宽带(Wireless Broadband,Wibro)终端、平板电脑(Personal Computer,PC)、智能PC、销售终端(Point of Sales,POS)和车载电脑等。It can be understood that the electronic devices involved in the embodiments of the present application may include general handheld screen electronic user terminals, such as mobile phones, smart phones, portable terminals, terminals, personal digital assistants (PDA), portable multimedia players (Personal Media Player, PMP) devices, laptop computers, notebooks (Note Pad), wireless broadband (Wireless Broadband, Wibro) terminals, tablet computers (Personal Computer, PC), smart PCs, sales terminals (Point of Sales, POS) and car computers, etc.
电子设备也可以包括可穿戴设备。可穿戴设备可以直接穿戴在用户身上,或是整合到用户的衣服或配件的一种便携式电子设备。可穿戴设备不仅仅是一种硬件设备,更可以通过软件支持以及数据交互、云服务器交互来实现强大的智能功能,比如:计算功能、定位功能、报警功能,同时还可以连接手机及各类终端。可穿戴设备可以包括但不限于以手腕为支撑的watch类(比如手表、手腕等产品),以脚为支撑的shoes类(比如鞋、袜子或者其他腿上佩戴产品),以头部为支撑的glass类(比如眼镜、头盔、头带等)以及智能服装,书包、拐杖、配饰等各类非主流产品形态。Electronic devices may also include wearable devices. Wearable devices are portable electronic devices that can be worn directly on the user or integrated into the user's clothes or accessories. Wearable devices are not just hardware devices, but can also achieve powerful intelligent functions through software support, data interaction, and cloud server interaction, such as: computing function, positioning function, and alarm function. They can also be connected to mobile phones and various terminals. Wearable devices may include but are not limited to watches supported by the wrist (such as watches, wrists, etc.), shoes supported by the foot (such as shoes, socks, or other products worn on the legs), glasses supported by the head (such as glasses, helmets, headbands, etc.), and various non-mainstream product forms such as smart clothing, school bags, crutches, accessories, etc.
下面对本申请实施例涉及到的专有名词进行说明:The following is a description of the specific terms involved in the embodiments of the present application:
息屏状态:指的是在不点亮电子设备的整块屏幕的情况下,在屏幕的部分区域显示特定内容的显示状态。Screen-off state: refers to the display state in which specific content is displayed in a partial area of the screen without lighting up the entire screen of the electronic device.
软件开发工具包(Software Development Kit,SDK)指的是软件工程师为特定的软件包、软件框架、硬件平台、操作系统等建立应用软件时的开发工具的集合。A software development kit (SDK) refers to a collection of development tools used by software engineers to build application software for specific software packages, software frameworks, hardware platforms, operating systems, etc.
请参阅图1,图1是本申请实施例公开的一种场景示意图。如图1所示场景示意图包括电子设备10。随着互联网的普及,用户的生活往往与电子设备10上的各类的应用程序(例如社交类应用程序、学习类应用程序及运动类应用程序等)息息相关,对于一些重要应用程序的通知消息用户往往希望可以及时获知到。Please refer to FIG. 1 , which is a schematic diagram of a scenario disclosed in an embodiment of the present application. As shown in FIG. 1 , the schematic diagram of the scenario includes an electronic device 10. With the popularization of the Internet, users' lives are often closely related to various applications (such as social applications, learning applications, and sports applications, etc.) on the electronic device 10. Users often hope to be informed of notification messages of some important applications in a timely manner.
目前,在电子设备10处于息屏状态时,若接收到任一应用程序的通知消息,大都通过显示该应用程序的图标进行用户提醒,用户往往需要手动解锁屏幕才可以看到通知消息的具体消息内容,这样不仅 操作繁琐而且功耗较高。Currently, when the electronic device 10 is in the screen-off state, if a notification message of any application is received, the user is usually reminded by displaying the icon of the application. The user often needs to manually unlock the screen to see the specific message content of the notification message, which not only The operation is complicated and the power consumption is high.
本申请实施例公开的技术方案,在电子设备10处于息屏状态时,应用程序的通知消息可以以信息组件的方式进行展示。具体的,信息组件首先以信息承载量较小的第一展示模式进行展示,然后在检测到第一交互操作时,再由第一展示模式切换为信息承载量较大的第二展示模式。通过实施该方法,一方面,无需解锁电子设备10的屏幕,用户就可以看到通知消息的具体内容,有利于降低设备功耗。另一方面,信息组件还支持用户交互,使得通知信息的显示方式更加灵活,趣味性更高。According to the technical solution disclosed in the embodiment of the present application, when the electronic device 10 is in the screen-off state, the notification message of the application can be displayed in the form of an information component. Specifically, the information component is first displayed in a first display mode with a smaller information carrying capacity, and then when a first interactive operation is detected, the first display mode is switched to a second display mode with a larger information carrying capacity. By implementing this method, on the one hand, the user can see the specific content of the notification message without unlocking the screen of the electronic device 10, which is beneficial to reducing the power consumption of the device. On the other hand, the information component also supports user interaction, making the display method of the notification information more flexible and more interesting.
请参阅图2,图2是本申请实施例公开的通知信息的显示方法的一种流程示意图。如图2所示的通知信息的显示方法可以包括以下步骤:Please refer to Figure 2, which is a flow chart of a method for displaying notification information disclosed in an embodiment of the present application. The method for displaying notification information as shown in Figure 2 may include the following steps:
201、在电子设备处于息屏状态下,按照第一展示模式显示第一应用程序的第一信息组件,第一信息组件用于承载第一应用程序的第一通知信息。201. When the electronic device is in a screen-off state, display a first information component of a first application in a first display mode, where the first information component is used to carry first notification information of the first application.
在本申请实施例中,第一应用程序可以是在电子设备上运行的任一应用程序。In the embodiment of the present application, the first application may be any application running on the electronic device.
其中,第一展示模式指可以是仅具备显示功能的展示模式。在一些实施例中,处于第一展示模式的信息组件的展示样式可以包括卡片样式,卡片样式用于显示以下至少一种元素:图片、文本、图标、列表及宫格。The first display mode may be a display mode with only display function. In some embodiments, the display style of the information component in the first display mode may include a card style, and the card style is used to display at least one of the following elements: pictures, texts, icons, lists and grids.
在一些实施例中,处于第一展示模式的第一信息组件中包括指示第一应用程序类别的类别图标、第一应用程序的应用图标及第一通知消息;或者,处于第一展示模式的第一信息组件中包括第一应用程序的应用图标及第一通知消息。其中,应用程序的类别图标用于指示应用程序所属的类别,应用程序的类别可以是系统自定义,也可以是用户自定义,本申请实施例不做限定。示例性的,应用程序的类别可以包括订票类、学习类、工作类、打车类、外卖类、地图类,音频播放类,及社交类、天气类等等。应用程序的应用图标用于唯一识别应用程序。In some embodiments, the first information component in the first display mode includes a category icon indicating the category of the first application, an application icon of the first application, and a first notification message; or, the first information component in the first display mode includes an application icon of the first application and a first notification message. Among them, the category icon of the application is used to indicate the category to which the application belongs. The category of the application can be system-defined or user-defined, which is not limited in the embodiments of the present application. Exemplarily, the categories of the application may include ticket booking, learning, work, taxi-hailing, food delivery, map, audio playback, social, weather, etc. The application icon of the application is used to uniquely identify the application.
下面结合示例对处于第一展示模式的第一信息组件的内容进行说明:The content of the first information component in the first display mode is described below with reference to an example:
示例性的,第一应用程序为订票类时,第一信息组件可以包括指示订票类的图标、第一应用程序的图标及“登机口116,托盘B”;在第一应用程序为打车类时,第一信息组件可以包括指示打车类的图标、第一应用程序的图标及“司机距离您109米”;在第一应用程序为天气类时,第一信息组件可以包括指示天气类的图标、第一应用程序的图标及“橙色大风预警”;在第一应用程序为备忘录类时,第一信息组件可以包括指示备忘录类的图标、第一应用程序的图标及“15:00XX战略会议”;在第一应用程序为地图类时,第一信息组件可以包括指示地图类的图标、第一应用程序的图标及“100米后左转”;在第一应用程序为购物类时,第一信息组件可以包括指示购物类的图标、第一应用程序的图标及“53秒后秒杀”;第一应用程序为社交类应用程序,第一信息组件可以包括指示社交类的图标、第一应用程序的图标及“小 明:快来一起开黑啊”。Exemplarily, when the first application is a ticket booking application, the first information component may include an icon indicating the ticket booking application, an icon of the first application, and “Gate 116, Tray B”; when the first application is a taxi application, the first information component may include an icon indicating the taxi application, an icon of the first application, and “The driver is 109 meters away from you”; when the first application is a weather application, the first information component may include an icon indicating the weather application, an icon of the first application, and “Orange gale warning”; when the first application is a memo application, the first information component may include an icon indicating the memo application, an icon of the first application, and “15:00XX strategic meeting”; when the first application is a map application, the first information component may include an icon indicating the map application, an icon of the first application, and “Turn left after 100 meters”; when the first application is a shopping application, the first information component may include an icon indicating the shopping application, an icon of the first application, and “Flash sale in 53 seconds”; when the first application is a social application, the first information component may include an icon indicating the social application, an icon of the first application, and “Small Ming: Come and play together."
需要说明的是,关于处于第一展示模式的第一信息组件仅包括第一应用程序的应用图标及第一通知消息的示例,去除掉上述每一示例中指示应用类别的图标即可,此处不再赘述举例。It should be noted that, regarding the example in which the first information component in the first display mode only includes the application icon of the first application and the first notification message, it is sufficient to remove the icon indicating the application category in each of the above examples, and no further examples are given here.
在一些实施例中,电子设备在息屏状态下还可以显示时间信息、日期信息,及电子设备的电量信息。In some embodiments, the electronic device can also display time information, date information, and power information of the electronic device when the screen is off.
202、在检测到第一交互操作时,响应于第一交互操作,控制第一信息组件由第一展示模式切换为第二展示模式,第二展示模式的信息承载量大于第一展示模式的信息承载量。202. When a first interactive operation is detected, in response to the first interactive operation, control the first information component to switch from a first display mode to a second display mode, wherein an information carrying capacity of the second display mode is greater than an information carrying capacity of the first display mode.
其中,第一交互操作可以是语音操作、手势操作、触摸操作及注视操作等中的任一种,本申请实施例不做限定。示例性的,语音操作可以是语音输入“信息展开”,手势操作可以是晃动电子设备,触摸操作可以是长时间按压、短时间按压或双击,注视操作可以是长时间注视屏幕。The first interactive operation may be any one of a voice operation, a gesture operation, a touch operation, and a gaze operation, and the present application embodiment does not limit this. For example, the voice operation may be a voice input of "information expansion", the gesture operation may be shaking the electronic device, the touch operation may be a long press, a short press, or a double click, and the gaze operation may be a long gaze on the screen.
第二展示模式指可以是既具备显示功能又具备交互功能的展示模式。在一些实施例中,处于第二展示模式的信息组件的展示样式可以包括卡片样式和虚拟操作控件。其中,虚拟操作控件用于触发对应应用程序执行对应功能。The second display mode may be a display mode that has both display and interactive functions. In some embodiments, the display style of the information component in the second display mode may include a card style and a virtual operation control. The virtual operation control is used to trigger the corresponding application to execute the corresponding function.
示例性的,在第一应用程序为社交类应用程序时,对应的虚拟操作控件包括消息回复控件;在第一应用程序为音乐类应用程序时,对应的虚拟操作控件包括音频暂停按钮、切上一曲的按钮、切下一曲的按钮。Exemplarily, when the first application is a social application, the corresponding virtual operation controls include a message reply control; when the first application is a music application, the corresponding virtual operation controls include an audio pause button, a button for switching to the previous song, and a button for switching to the next song.
示例性的,第一应用程序为社交类应用程序,第一通知消息为好友小明发送的信息“小明:快来一起开黑啊”。请参阅图3A,图3A是本申请实施例公开的第一通知消息以第一展示模式显示的一种息屏显示界面。如图3A所示的息屏显示界面上包括第一应用程序的图标及第一通知消息“小明:快来一起开黑啊”。Exemplarily, the first application is a social application, and the first notification message is a message sent by friend Xiao Ming, "Xiao Ming: Come and play together." Please refer to Figure 3A, which is a screen-off display interface in which the first notification message disclosed in the embodiment of the present application is displayed in the first display mode. The screen-off display interface shown in Figure 3A includes the icon of the first application and the first notification message "Xiao Ming: Come and play together."
请参阅图3B,图3B是本申请实施例公开的第一通知消息以第二展示模式显示的一种息屏显示界面。如图3B所示的息屏显示界面上包括第一应用程序的图标、第一通知消息“小明:快来一起开黑啊”及消息回复控件A。Please refer to Figure 3B, which is a screen-off display interface in which the first notification message disclosed in the embodiment of the present application is displayed in the second display mode. The screen-off display interface shown in Figure 3B includes the icon of the first application, the first notification message "Xiao Ming: Come and play together" and the message reply control A.
示例性的,第一应用程序为音频播放类应用程序,第一通知消息为正在播放的音乐的歌曲名及歌手名。图3C是本申请实施例公开的第一通知消息以第一展示模式显示的另一种息屏显示界面。如图3C所示的息屏显示界面上包括第一应用程序的图标、正在播放的歌曲名“Dune”及歌手名“Hans Zimmer”。Exemplarily, the first application is an audio playback application, and the first notification message is the song name and singer name of the music being played. FIG3C is another screen-off display interface in which the first notification message disclosed in the embodiment of the present application is displayed in the first display mode. The screen-off display interface shown in FIG3C includes the icon of the first application, the song name "Dune" being played, and the singer name "Hans Zimmer".
请参阅图3D,图3D是本申请实施例公开的第一通知消息以第二展示模式显示的另一种息屏显示界面。如图3D所示的息屏显示界面上包括第一应用程序的图标、正在播放的歌曲名“Dune”,歌手名“Hans Zimmer”,及虚拟操作控件A。Please refer to FIG. 3D , which is another screen-off display interface in which the first notification message disclosed in the embodiment of the present application is displayed in the second display mode. The screen-off display interface shown in FIG. 3D includes the icon of the first application, the name of the song being played "Dune", the name of the singer "Hans Zimmer", and the virtual operation control A.
通过实施上述方法,在电子设备处于息屏状态时,应用程序的通知消息可以以信息组件的方式进行 展示。具体的,信息组件首先以信息承载量较小的第一展示模式进行展示,然后在检测到第一交互操作时,再由第一展示模式切换为信息承载量较大的第二展示模式。通过实施该方法,一方面,无需解锁电子设备的屏幕,用户就可以看到通知消息的具体内容,有利于降低设备功耗。另一方面,信息组件还支持用户交互,使得通知信息的显示方式更加灵活,趣味性更高。By implementing the above method, when the electronic device is in the screen-off state, the notification message of the application can be sent in the form of information components. Display. Specifically, the information component is first displayed in a first display mode with a smaller information carrying capacity, and then when a first interactive operation is detected, the first display mode is switched to a second display mode with a larger information carrying capacity. By implementing this method, on the one hand, the user can see the specific content of the notification message without unlocking the screen of the electronic device, which is conducive to reducing the power consumption of the device. On the other hand, the information component also supports user interaction, making the display method of the notification information more flexible and more interesting.
请参阅图4,图4是本申请实施例公开的通知信息的显示方法的另一种流程示意图。如图4所示的通知信息的显示方法可以包括以下步骤:Please refer to Figure 4, which is another flowchart of the method for displaying notification information disclosed in an embodiment of the present application. The method for displaying notification information as shown in Figure 4 may include the following steps:
401、在电子设备处于息屏状态下,按照第一展示模式显示第一应用程序的第一信息组件,第一信息组件用于承载第一应用程序的第一通知信息。401. When the electronic device is in a screen-off state, display a first information component of a first application in a first display mode, where the first information component is used to carry first notification information of the first application.
其中,第一应用程序可以为电子设备在息屏状态所支持的多个应用程序中的其中一个应用程序。The first application may be one of a plurality of applications supported by the electronic device in the screen-off state.
支持电子设备在息屏状态下显示通知消息的应用程序的安装包内包含有与电子设备的操作系统匹配的三方SDK标准接口,这样,对应应用程序的通知消息,可以通过该三方SDK标准接口传递到电子设备需要展示的页面,如息屏页面,锁屏页面或桌面等入口。The installation package of an application that supports electronic devices displaying notification messages when the screen is off contains a third-party SDK standard interface that matches the operating system of the electronic device. In this way, the notification messages of the corresponding application can be transmitted through the third-party SDK standard interface to the page that needs to be displayed on the electronic device, such as the screen off page, lock screen page or desktop entrance.
在一些实施例中,步骤401之前,还可以检测第一设置操作;响应于第一设置操作,显示第一设置界面,第一设置界面中包括多个应用程序的标识信息;检测第一开启操作,响应于第一开启操作,开启第一应用程序的通知功能,以使电子设备处于息屏状态下,按照第一展示模式显示第一信息组件。In some embodiments, before step 401, a first setting operation may be detected; in response to the first setting operation, a first setting interface may be displayed, wherein the first setting interface includes identification information of multiple applications; a first start-up operation may be detected, and in response to the first start-up operation, a notification function of the first application may be turned on, so that the electronic device is in a screen-off state and displays the first information component in a first display mode.
在一些实施例中,电子设备在息屏状态下显示通知消息的功能默认一般是关闭的。进一步的,在步骤401之前,电子设备在息屏状态下,还可以输出指示启动该功能的指示信息。In some embodiments, the function of the electronic device to display notification messages in the screen-off state is generally disabled by default. Further, before step 401, the electronic device can also output instruction information indicating activation of the function in the screen-off state.
在一些实施例中,上述指示信息中可以包括统一管理电子设备在息屏状态所支持,且已安装的所有应用程序的通知消息是否息屏显示的虚拟操作按钮。可以理解的是,若该虚拟操作按钮打开时,电子设备在息屏状态所支持,且已安装的所有应用程序的通知消息均可息屏显示,反之,若该虚拟操作按钮关闭时,电子设备在息屏状态所支持,且已安装的所有应用程序的通知消息均不息屏显示。In some embodiments, the above-mentioned indication information may include a virtual operation button for uniformly managing whether notification messages of all applications supported and installed by the electronic device in the screen-off state are displayed on the screen-off. It is understandable that if the virtual operation button is turned on, notification messages of all applications supported and installed by the electronic device in the screen-off state can be displayed on the screen-off; conversely, if the virtual operation button is turned off, notification messages of all applications supported and installed by the electronic device in the screen-off state are not displayed on the screen-off.
可选的,上述指示信息中还可以包括指示查看电子设备在息屏状态所支持的所有应用程序的虚拟操作控件,用户可以通过操作该虚拟操作控件实现第一设置操作的输入。Optionally, the above-mentioned indication information may also include a virtual operation control for indicating viewing all application programs supported by the electronic device in the screen-off state, and the user may input the first setting operation by operating the virtual operation control.
在一些实施例中,第一设置界面还可以包括每一标识信息对应的虚拟操作按钮。其中,电子设备已安装的应用程序的标识信息对应的虚拟操作控件,用于启动或关闭息屏显示功能;电子设备未安装的应用程序的标识信息对应的虚拟操作控件,用于触发该应用程序的安装操作。In some embodiments, the first setting interface may further include a virtual operation button corresponding to each identification information. The virtual operation control corresponding to the identification information of the application installed on the electronic device is used to start or close the screen display function; the virtual operation control corresponding to the identification information of the application not installed on the electronic device is used to trigger the installation operation of the application.
示例性的,关于息屏显示的设置流程,可以请参见下述图5A-图5C。For example, regarding the process of setting the screen off display, please refer to the following Figures 5A-5C.
其中,图5A是本申请实施例公开的又一种息屏显示界面,图5A所示的界面包括统一管理电子设备在息屏状态所支持,且已安装的所有应用程序的通知消息是否息屏显示的虚拟操作按钮A,及指示查 看电子设备在息屏状态所支持的所有应用程序的虚拟操作控件B。5A is another screen-off display interface disclosed in an embodiment of the present application. The interface shown in FIG5A includes a virtual operation button A for uniformly managing whether notification messages of all applications supported and installed by the electronic device in the screen-off state are displayed on the screen, and an instruction to check whether the notification messages of all applications supported and installed by the electronic device in the screen-off state are displayed on the screen. Look at the virtual operation controls B of all applications supported by the electronic device in the screen-off state.
其中,图5B是本申请实施例公开的第一设置界面的一种图示。需要说明的是,用户通过操作图5A中的虚拟操作控件B,跳转到下述图5B所示的第一设置界面。5B is a diagram of the first setting interface disclosed in the embodiment of the present application. It should be noted that the user jumps to the first setting interface shown in the following FIG. 5B by operating the virtual operation control B in FIG. 5A.
在图5B所示的界面中包括应用程序1的图标及虚拟操作按钮A,应用程序2的图标及虚拟操作按钮B,应用程序3的图标及虚拟操作按钮C,应用程序4的图标及虚拟操作按钮D。其中,虚拟操作按钮C用于触发应用程序3的安装。在用户操作虚拟操作按钮C时,可以在界面上叠加显示针对应用程序3的介绍信息。请参阅图5C,图5C是叠加显示应用程序3的介绍信息的界面。图5C包括应用程序3的图标、详情信息及触发安装操作的虚拟操作按钮E。The interface shown in FIG5B includes an icon and a virtual operation button A of application 1, an icon and a virtual operation button B of application 2, an icon and a virtual operation button C of application 3, and an icon and a virtual operation button D of application 4. Among them, the virtual operation button C is used to trigger the installation of application 3. When the user operates the virtual operation button C, the introduction information for application 3 can be superimposed on the interface. Please refer to FIG5C, which is an interface for superimposing the introduction information of application 3. FIG5C includes the icon of application 3, detailed information, and a virtual operation button E for triggering the installation operation.
需要说明的是,第一设置界面可以是电子设备在亮屏状态下显示的。It should be noted that the first setting interface can be displayed when the electronic device is in the screen-on state.
在一些实施例中,步骤401之前,还可以检测第二设置操作;响应于第二设置操作,显示第二设置界面,第二设置界面中包括多个应用程序的标识信息,以及每个应用程序的显示模式的设置信息,显示模式包括常驻显示模式和即时显示模式;检测第三设置操作,响应于第三设置操作,开启第一应用程序的通知功能,并确定第一应用程序的目标显示模式,以使电子设备在息屏状态下,以目标显示模式显示处于第一展示模式的第一信息组件。In some embodiments, before step 401, a second setting operation can also be detected; in response to the second setting operation, a second setting interface is displayed, the second setting interface includes identification information of multiple applications, and setting information of the display mode of each application, the display mode includes a permanent display mode and an instant display mode; a third setting operation is detected, and in response to the third setting operation, the notification function of the first application is turned on, and the target display mode of the first application is determined, so that the electronic device displays the first information component in the first display mode in the target display mode when the screen is in the off state.
示例性的,常驻显示模式的应用程序可以是天气类、备忘录类等重要的应用程序。Exemplarily, the application program in the permanent display mode may be an important application program such as a weather application program or a memo application program.
基于上述描述,第二设置操作的输入,也可以通过操作指示查看电子设备在息屏状态所支持的所有应用程序的虚拟操作控件来实现。Based on the above description, the input of the second setting operation can also be achieved by operating instructions to view the virtual operation controls of all applications supported by the electronic device in the screen-off state.
在一些实施例中,第一应用程序为息屏状态下的处于常驻显示模式的应用程序,或者处于即时显示模式的应用程序。In some embodiments, the first application is an application in a permanent display mode in a screen-off state, or an application in an instant display mode.
在一些实施例中,第一信息组件是在第一窗口内进行显示的,第一应用程序为处于常驻显示模式的应用程序,步骤401之后,还可以在接收到第二应用程序的第二通知信息时,在第二窗口内显示处于第一展示模式的第二信息组件,第二信息组件用于承载第二通知信息,第二应用程序为处于即时显示模式的应用程序。In some embodiments, the first information component is displayed in the first window, and the first application is an application in a permanent display mode. After step 401, when a second notification message from a second application is received, the second information component in the first display mode can be displayed in the second window. The second information component is used to carry the second notification message, and the second application is an application in an instant display mode.
示例性的,第一应用程序为音频播放类应用程序,第二应用程序为外卖类应用程序。请参阅图5D,图5D是本申请实施例公开的又一种息屏显示界面。如图5D所示的息屏显示界面中包括第一窗口A和第二窗口B,第一窗口A内包括的第一应用程序的图标以及当前正在播放的音频信息的歌曲名“Dune”,歌手名“Hans Zimmer”。第二窗口B包括第二应用程序的图标以及第二应用程序对应的通知信息“商家已接单”。Exemplarily, the first application is an audio playback application, and the second application is a food delivery application. Please refer to FIG. 5D, which is another screen-off display interface disclosed in an embodiment of the present application. The screen-off display interface shown in FIG. 5D includes a first window A and a second window B. The first window A includes the icon of the first application and the song name "Dune" and the singer name "Hans Zimmer" of the audio information currently being played. The second window B includes the icon of the second application and the notification information "The merchant has received the order" corresponding to the second application.
在一些实施例中,若第二应用程序在第三时长阈值内未收到新的通知消息,则第二窗口可以消失。 In some embodiments, if the second application does not receive a new notification message within a third time threshold, the second window may disappear.
示例性的,以外卖下单为例,第二通知信息是“商家接单,预计xxx送达,商家已接单但骑手未接单”,或者,“商家接单,暂无骑手接单,骑手接单超时”,新的通知消息为以下任一种:(1)“骑手已接单,距离xx,骑手正在赶往商家”、“正在店内取餐,预计还需xx时间”、“距离2.3km,还需xx时间,开始配送未超时”、“距离300m,已超时,还需xx时间”及“订单送达”;(2)商家退单;(3)骑手已接单、骑手退单;For example, taking a takeaway order as an example, the second notification message is "The merchant accepts the order, and it is expected to be delivered at xxx. The merchant has accepted the order but the rider has not accepted the order", or "The merchant accepts the order, but there is no rider to accept the order, and the rider has timed out". The new notification message is any of the following: (1) "The rider has accepted the order, the distance is xx, and the rider is rushing to the merchant", "Picking up the food in the store, it is expected to take xx time", "The distance is 2.3km, it will take xx time, and the delivery has not timed out", "The distance is 300m, it has timed out, and it will take xx time" and "The order has been delivered"; (2) The merchant cancels the order; (3) The rider has accepted the order and the rider cancels the order;
示例性的,第二应用程序为打车类应用程序,以打车为例,第二通知消息是“司机接单,预计xx时间到达”,新的通知消息为以下任一种:(1)“司机还要xx时间到达,请到指定位置上车”、“司机已达到”(2)“司机取消订单需重呼”。Exemplarily, the second application is a taxi-hailing application. Taking taxi-hailing as an example, the second notification message is "The driver has accepted the order and is expected to arrive at xx time." The new notification message is any of the following: (1) "The driver will arrive in xx time, please get on the car at the designated location," "The driver has arrived" (2) "The driver has canceled the order and needs to be called again."
在一些实施例中,第一信息组件是在第一窗口内进行显示的,第一应用程序为处于即时显示模式的应用程序,步骤401之后,还可以在接收到第三应用程序的第三通知消息时,将第一窗口内的处于第一展示模式的第一信息组件切换为处于第一展示模式的第三信息组件,第三信息组件用于承载第三通知消息;其中,第三应用程序为除第一应用程序之外的处于即时显示模式的应用程序。In some embodiments, the first information component is displayed in the first window, and the first application is an application in the immediate display mode. After step 401, when a third notification message from a third application is received, the first information component in the first display mode in the first window can be switched to a third information component in the first display mode, and the third information component is used to carry the third notification message; wherein the third application is an application in the immediate display mode other than the first application.
在一些实施例中,将第一窗口内的处于第一展示模式的第一信息组件切换为处于第一展示模式的第三信息组件,可以包括:在处于第一展示模式的第一信息组件的显示时长大于第一时长阈值时,将第一窗口内的处于第一展示模式的第一信息组件切换为处于第一展示模式的第三信息组件。In some embodiments, switching a first information component in a first window that is in a first display mode to a third information component in the first display mode may include: when the display duration of the first information component in the first display mode is greater than a first duration threshold, switching the first information component in the first window that is in the first display mode to the third information component in the first display mode.
在一些实施例中,第一信息组件是在第一窗口内进行显示的,步骤401之后,还可以在接收到第一应用程序的第四通知消息时,将第一窗口内的处于第一展示模式的第一信息组件切换为处于第一展示模式的第四信息组件,第四信息组件用于承载第四通知消息。In some embodiments, the first information component is displayed in the first window. After step 401, when the fourth notification message of the first application is received, the first information component in the first display mode in the first window can be switched to the fourth information component in the first display mode, and the fourth information component is used to carry the fourth notification message.
402、在检测到第一交互操作时,响应于第一交互操作,控制第一信息组件由第一展示模式切换为第二展示模式,第二展示模式的信息承载量大于第一展示模式的信息承载量。402. When a first interactive operation is detected, in response to the first interactive operation, the first information component is controlled to switch from a first display mode to a second display mode, and the information carrying capacity of the second display mode is greater than the information carrying capacity of the first display mode.
在一些实施例中,响应于第一交互操作,控制第一信息组件由第一展示模式切换为第二展示模式,可以包括:在第一应用程序属于私密应用程序时,对触发第一交互操作的用户进行身份校验;在用户为合法用户时,响应于第一交互操作,控制第一信息组件由第一展示模式切换为第二展示模式。In some embodiments, in response to a first interactive operation, controlling the first information component to switch from a first display mode to a second display mode may include: when the first application is a private application, performing identity verification on the user who triggers the first interactive operation; when the user is a legitimate user, in response to the first interactive operation, controlling the first information component to switch from the first display mode to the second display mode.
其中,私密应用程序指的可以是私密程度比较高的应用程序,例如社交类应用程序、银行类应用程序及工作类应用程序等等。私密应用程序可以是由用户自定义的。可选的,对触发第一交互操作的用户进行身份校验的方式可以包括但不限于以下任一种:指纹、声纹、虹膜,及人脸等。The private application may refer to an application with a relatively high degree of privacy, such as a social application, a banking application, a work application, etc. The private application may be user-defined. Optionally, the method of performing identity verification on the user who triggers the first interactive operation may include but is not limited to any of the following: fingerprint, voiceprint, iris, face, etc.
在一些实施例中,响应于第一交互操作,控制第一信息组件由第一展示模式切换为第二展示模式,可以包括:在第一应用程序属于非私密应用程序时,响应于第一交互操作,控制第一信息组件由第一展示模式切换为第二展示模式。 In some embodiments, in response to a first interactive operation, controlling the first information component to switch from a first display mode to a second display mode may include: when the first application is a non-private application, in response to the first interactive operation, controlling the first information component to switch from a first display mode to a second display mode.
其中,非私密应用程序指的可以是私密程度比较低的应用程序,例如音视频类应用程序和健身类应用程序等等。Among them, non-private applications may refer to applications with a relatively low degree of privacy, such as audio and video applications and fitness applications, etc.
通过实施上述方法,在检测到第一交互操作时,对于私密类应用程序,需要先对用户身份进行校验,并在校验通过后才控制第一信息组件由第一展示模式切换为第二展示模式,而对于非私密类应用程序,直接控制第一信息组件由第一展示模式切换为第二展示模式,这种消息显示方式有利于保护用户隐私。By implementing the above method, when the first interactive operation is detected, for private applications, it is necessary to verify the user identity first, and only after the verification is passed will the first information component be controlled to switch from the first display mode to the second display mode. For non-private applications, the first information component is directly controlled to switch from the first display mode to the second display mode. This message display method is conducive to protecting user privacy.
在一些实施例中,处于第二展示模式的第一信息组件中还可以包括虚拟操作控件,步骤402之后,还可以响应于针对虚拟操作控件的按压操作,控制第一应用程序执行虚拟操作控件指示的对应操作。In some embodiments, the first information component in the second display mode may further include a virtual operation control. After step 402, in response to a pressing operation on the virtual operation control, the first application may be controlled to perform a corresponding operation indicated by the virtual operation control.
在一些实施例中,步骤402之后,若在第二时长阈值内未检测到针对虚拟操作控件的按压操作,则控制第一信息组件由第二展示模式切换为第一展示模式。In some embodiments, after step 402, if no pressing operation on the virtual operation control is detected within the second time threshold, the first information component is controlled to switch from the second display mode to the first display mode.
在一些实施例中,步骤402之后,还可以响应于指定手势操作或指定语音操作,控制第一应用程序执行虚拟操作控件指示的对应操作。示例性的,指定手势操作可以包括晃动操作。In some embodiments, after step 402, the first application may be controlled to perform the corresponding operation indicated by the virtual operation control in response to a specified gesture operation or a specified voice operation. Exemplarily, the specified gesture operation may include a shaking operation.
进一步的,若在第二时长阈值内既未检测到针对虚拟操作控件的按压操作,也未检测到指定手势操作或指定语音操作,则控制第一信息组件由第二展示模式切换为第一展示模式。Furthermore, if neither a pressing operation on the virtual operation control nor a specified gesture operation or a specified voice operation is detected within the second time threshold, the first information component is controlled to switch from the second display mode to the first display mode.
示例性的,第一应用程序为社交类应用程序,第一通知消息是任一好友发送的消息,处于第二展示模式的第一信息组件可以包括消息回复控件。对应的,通过响应于针对虚拟操作控件的按压操作、指定手势操作或指定语音操作,可以控制第一应用程序实现消息回复。For example, the first application is a social application, the first notification message is a message sent by any friend, and the first information component in the second display mode may include a message reply control. Correspondingly, by responding to a pressing operation, a designated gesture operation, or a designated voice operation on the virtual operation control, the first application may be controlled to implement a message reply.
通过实施上述方法,可以在息屏状态下通过响应于用户操作,控制第一应用程序执行对应操作,有利于提高交互便捷性。此外,还可以在用户长时间未操作的情况下,将第一信息组件由第二展示模式切换回第一展示模式,可以进一步降低设备功耗。By implementing the above method, the first application can be controlled to perform corresponding operations in response to user operations in the screen-off state, which is conducive to improving the convenience of interaction. In addition, the first information component can be switched from the second display mode to the first display mode when the user has not operated for a long time, which can further reduce the power consumption of the device.
403、响应于第二交互操作,控制电子设备处于亮屏状态,并在亮屏状态下显示第一通知信息对应的目标界面。403. In response to the second interactive operation, control the electronic device to be in a screen-on state, and display a target interface corresponding to the first notification information in the screen-on state.
其中,关于第一交互操作的描述,可以参见上述针对第一交互操作的指示,此处不再赘述。For the description of the first interactive operation, please refer to the above instructions for the first interactive operation, which will not be repeated here.
示例性的,第一应用程序为社交类应用程序,第一通知消息为好友小明发送的信息“小明:快来一起开黑啊”。此时,目标界面则为针对小明的消息回复界面,请参阅图5E,图5E包括历史聊天消息、小明发送的最新消息及消息回复控件A。For example, the first application is a social application, and the first notification message is a message sent by friend Xiao Ming, "Xiao Ming: Come and play together." At this time, the target interface is a message reply interface for Xiao Ming, as shown in FIG5E , which includes historical chat messages, the latest message sent by Xiao Ming, and a message reply control A.
通过实施上述方法,在电子设备处于息屏状态时,应用程序的通知消息可以以信息组件的方式进行展示。具体的,信息组件首先以信息承载量较小的第一展示模式进行展示,然后在检测到第一交互操作时,再由第一展示模式切换为信息承载量较大的第二展示模式。通过实施该方法,一方面,无需解锁电子设备的屏幕,用户就可以看到通知消息的具体内容,有利于降低设备功耗。另一方面,信息组件还支 持用户交互,使得通知信息的显示方式更加灵活,趣味性更高。进一步的,用户还可以通过操作处于第二展示模式的第一信息组件,直接跳转到应用界面,极大简化了操作步骤。By implementing the above method, when the electronic device is in the screen-off state, the notification message of the application can be displayed in the form of an information component. Specifically, the information component is first displayed in a first display mode with a smaller information carrying capacity, and then when a first interactive operation is detected, the first display mode is switched to a second display mode with a larger information carrying capacity. By implementing this method, on the one hand, the user can see the specific content of the notification message without unlocking the screen of the electronic device, which is conducive to reducing the power consumption of the device. On the other hand, the information component also supports Supporting user interaction makes the display mode of notification information more flexible and more interesting. Furthermore, the user can also directly jump to the application interface by operating the first information component in the second display mode, which greatly simplifies the operation steps.
请参阅图6,图6是本申请实施例公开的通知信息的显示装置的一种结构图示。如图6所示的显示装置可以包括第一显示单元601和第二显示单元602;其中:Please refer to Figure 6, which is a structural diagram of a display device for notification information disclosed in an embodiment of the present application. The display device shown in Figure 6 may include a first display unit 601 and a second display unit 602; wherein:
第一显示单元601,用于在电子设备处于息屏状态下,按照第一展示模式显示第一应用程序的第一信息组件,第一信息组件用于承载第一应用程序的第一通知信息;A first display unit 601, configured to display a first information component of a first application in a first display mode when the electronic device is in a screen-off state, where the first information component is configured to carry first notification information of the first application;
第二显示单元602,用于在检测到第一交互操作时,响应于第一交互操作,控制第一信息组件由第一展示模式切换为第二展示模式,第二展示模式的信息承载量大于第一展示模式的信息承载量。The second display unit 602 is used to control the first information component to switch from the first display mode to the second display mode in response to the first interactive operation when the first interactive operation is detected, and the information carrying capacity of the second display mode is greater than the information carrying capacity of the first display mode.
在一些实施例中,第二显示单元602用于响应于第一交互操作,控制第一信息组件由第一展示模式切换为第二展示模式的方式具体可以包括:第二显示单元602,用于在第一应用程序属于私密应用程序时,对触发第一交互操作的用户进行身份校验;在用户为合法用户时,响应于第一交互操作,控制第一信息组件由第一展示模式切换为第二展示模式。In some embodiments, the second display unit 602 is used to control the first information component to switch from the first display mode to the second display mode in response to the first interactive operation, which may specifically include: the second display unit 602 is used to verify the identity of the user who triggers the first interactive operation when the first application is a private application; when the user is a legitimate user, in response to the first interactive operation, control the first information component to switch from the first display mode to the second display mode.
在一些实施例中,第二显示单元602用于响应于第一交互操作,控制第一信息组件由第一展示模式切换为第二展示模式的方式具体可以包括:第二显示单元602,用于在第一应用程序属于非私密应用程序时,响应于第一交互操作,控制第一信息组件由第一展示模式切换为第二展示模式。In some embodiments, the second display unit 602 is used to control the first information component to switch from the first display mode to the second display mode in response to the first interactive operation, which may specifically include: the second display unit 602 is used to control the first information component to switch from the first display mode to the second display mode in response to the first interactive operation when the first application is a non-private application.
在一些实施例中,第一应用程序为息屏状态下的处于常驻显示模式的应用程序,或者处于即时显示模式的应用程序。In some embodiments, the first application is an application in a permanent display mode in a screen-off state, or an application in an immediate display mode.
在一些实施例中,第一信息组件是在第一窗口内进行显示的,第一应用程序为处于常驻显示模式的应用程序;进一步的,第二显示单元602,还用于在接收到第二应用程序的第二通知信息时,在第二窗口内显示处于第一展示模式的第二信息组件,第二信息组件用于承载第二通知信息,第二应用程序为处于即时显示模式的应用程序。In some embodiments, the first information component is displayed in the first window, and the first application is an application in a permanent display mode; further, the second display unit 602 is also used to display the second information component in the first display mode in the second window when receiving a second notification message of the second application, and the second information component is used to carry the second notification message, and the second application is an application in an instant display mode.
在一些实施例中,第一信息组件是在第一窗口内进行显示的,第一应用程序为处于即时显示模式的应用程序;进一步的,第二显示单元602,还用于在接收到第三应用程序的第三通知消息时,将第一窗口内的处于第一展示模式的第一信息组件切换为处于第一展示模式的第三信息组件,第三信息组件用于承载第三通知消息;其中,第三应用程序为除第一应用程序之外的处于即时显示模式的应用程序。In some embodiments, the first information component is displayed in the first window, and the first application is an application in the immediate display mode; further, the second display unit 602 is also used to switch the first information component in the first display mode in the first window to the third information component in the first display mode when receiving a third notification message from a third application, and the third information component is used to carry the third notification message; wherein the third application is an application in the immediate display mode other than the first application.
在一些实施例中,第二显示单元602用于将第一窗口内的处于第一展示模式的第一信息组件切换为处于第一展示模式的第三信息组件的方式具体可以包括:第二显示单元602,用于在处于第一展示模式的第一信息组件的显示时长大于第一时长阈值时,将第一窗口内的处于第一展示模式的第一信息组件切换为处于第一展示模式的第三信息组件。 In some embodiments, the second display unit 602 is used to switch the first information component in the first window that is in the first display mode to the third information component in the first display mode, which may specifically include: the second display unit 602 is used to switch the first information component in the first display mode in the first window to the third information component in the first display mode when the display time of the first information component in the first display mode is greater than the first time threshold.
在一些实施例中,第一信息组件是在第一窗口内进行显示的;第二显示单元602,还用于在接收到第一应用程序的第四通知消息时,将第一窗口内的处于第一展示模式的第一信息组件切换为处于第一展示模式的第四信息组件,第四信息组件用于承载第四通知消息。In some embodiments, the first information component is displayed in the first window; the second display unit 602 is also used to switch the first information component in the first display mode in the first window to the fourth information component in the first display mode when receiving the fourth notification message of the first application, and the fourth information component is used to carry the fourth notification message.
在一些实施例中,第二显示单元602,还用于控制第一信息组件由第一展示模式切换为第二展示模式之后,响应于第二交互操作,控制电子设备处于亮屏状态,并在亮屏状态下显示第一通知信息对应的目标界面。In some embodiments, the second display unit 602 is also used to control the first information component to switch from the first display mode to the second display mode, and in response to the second interactive operation, control the electronic device to be in a screen-on state, and display the target interface corresponding to the first notification information in the screen-on state.
在一些实施例中,第二展示模式的第一信息组件中包括虚拟操作控件,第二显示单元602,还用于控制第一信息组件由第一展示模式切换为第二展示模式之后,响应于针对虚拟操作控件的按压操作,控制第一应用程序执行虚拟操作控件指示的对应操作。In some embodiments, the first information component of the second display mode includes a virtual operation control, and the second display unit 602 is also used to control the first information component to switch from the first display mode to the second display mode, and in response to a pressing operation on the virtual operation control, control the first application to perform the corresponding operation indicated by the virtual operation control.
在一些实施例中,第二显示单元602,还用于控制第一信息组件由第一展示模式切换为第二展示模式之后,若在第二时长阈值内未检测到针对虚拟操作控件的按压操作,则控制第一信息组件由第二展示模式切换为第一展示模式。In some embodiments, the second display unit 602 is also used to control the first information component to switch from the first display mode to the second display mode. If no pressing operation on the virtual operation control is detected within the second time threshold, the first information component is controlled to switch from the second display mode to the first display mode.
在一些实施例中,第一应用程序为电子设备在息屏状态所支持的多个应用程序中的其中一个应用程序。图6所示的显示装置还可以包括第一显示设置单元,第一显示设置单元,用于在第一显示单元601按照第一展示模式显示第一应用程序的第一信息组件之前,检测第一设置操作;响应于第一设置操作,显示第一设置界面,第一设置界面中包括多个应用程序的标识信息;检测第一开启操作,响应于第一开启操作,开启第一应用程序的通知功能,以使电子设备处于息屏状态下,按照第一展示模式显示第一信息组件。In some embodiments, the first application is one of multiple applications supported by the electronic device in the screen-off state. The display device shown in FIG6 may also include a first display setting unit, the first display setting unit being used to detect a first setting operation before the first display unit 601 displays the first information component of the first application in the first display mode; in response to the first setting operation, display a first setting interface, the first setting interface including identification information of multiple applications; detect a first start-up operation, and in response to the first start-up operation, start the notification function of the first application, so that the electronic device is in the screen-off state and displays the first information component in the first display mode.
在一些实施例中,第一应用程序为电子设备在息屏状态所支持的多个应用程序中的其中一个应用程序。图6所示的显示装置还可以包括第二显示设置单元,第二显示设置单元,用于在第一显示单元601按照第一展示模式显示第一应用程序的第一信息组件之前,检测第二设置操作;响应于第二设置操作,显示第二设置界面,第二设置界面中包括多个应用程序的标识信息,以及每个应用程序的显示模式的设置信息,显示模式包括常驻显示模式和即时显示模式;检测第三设置操作,响应于第三设置操作,开启第一应用程序的通知功能,并确定第一应用程序的目标显示模式,以使电子设备在息屏状态下,以目标显示模式显示处于第一展示模式的第一信息组件。In some embodiments, the first application is one of the multiple applications supported by the electronic device in the screen-off state. The display device shown in FIG6 may also include a second display setting unit, the second display setting unit being used to detect a second setting operation before the first display unit 601 displays the first information component of the first application in the first display mode; in response to the second setting operation, display a second setting interface, the second setting interface including identification information of multiple applications, and setting information of the display mode of each application, the display mode including a permanent display mode and an instant display mode; detect a third setting operation, in response to the third setting operation, turn on the notification function of the first application, and determine the target display mode of the first application, so that the electronic device displays the first information component in the first display mode in the target display mode in the screen-off state.
请参阅图7,图7是本申请实施例公开的电子设备的一种结构图示。如图7所示,电子设备可以包括处理器701、与处理器701耦合的存储器702,其中存储器702可存储有一个或多个计算机程序。Please refer to Figure 7, which is a structural diagram of an electronic device disclosed in an embodiment of the present application. As shown in Figure 7, the electronic device may include a processor 701 and a memory 702 coupled to the processor 701, wherein the memory 702 may store one or more computer programs.
处理器701可以包括一个或者多个处理核。处理器701利用各种接口和线路连接整个电子设备内的各个部分,通过运行或执行存储在存储器702内的指令、程序、代码集或指令集,以及调用存储在存储 器702内的数据,执行电子设备的各种功能和处理数据。可选地,处理器701可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器701可集成中央处理器(Central Processing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责显示内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器701中,单独通过一块通信芯片进行实现。The processor 701 may include one or more processing cores. The processor 701 uses various interfaces and lines to connect various parts of the entire electronic device, and runs or executes instructions, programs, code sets or instruction sets stored in the memory 702, and calls the stored The processor 701 can be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 701 can integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing display content; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 701, but may be implemented separately through a communication chip.
存储器702可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory,ROM)。存储器702可用于存储指令、程序、代码、代码集或指令集。存储器702可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于实现至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现上述各个方法实施例的指令等。存储数据区还可以存储电子设备在使用中所创建的数据等。The memory 702 may include a random access memory (RAM) or a read-only memory (ROM). The memory 702 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 702 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc. The data storage area may also store data created by the electronic device during use, etc.
在本申请实施例中,处理器701还具有以下功能:In the embodiment of the present application, the processor 701 also has the following functions:
在电子设备处于息屏状态下,按照第一展示模式显示第一应用程序的第一信息组件,所述第一信息组件用于承载所述第一应用程序的第一通知信息;When the electronic device is in a screen-off state, displaying a first information component of a first application in a first display mode, where the first information component is used to carry first notification information of the first application;
在检测到第一交互操作时,响应于所述第一交互操作,控制所述第一信息组件由所述第一展示模式切换为第二展示模式,所述第二展示模式的信息承载量大于所述第一展示模式的信息承载量。When a first interactive operation is detected, in response to the first interactive operation, the first information component is controlled to switch from the first display mode to a second display mode, and the information carrying capacity of the second display mode is greater than the information carrying capacity of the first display mode.
在本申请实施例中,处理器701还具有以下功能:In the embodiment of the present application, the processor 701 also has the following functions:
在所述第一应用程序属于私密应用程序时,对触发所述第一交互操作的用户进行身份校验;When the first application is a private application, verifying the identity of a user who triggers the first interactive operation;
在所述用户为合法用户时,响应于所述第一交互操作,控制所述第一信息组件由所述第一展示模式切换为第二展示模式。When the user is a legitimate user, in response to the first interactive operation, the first information component is controlled to switch from the first display mode to the second display mode.
在本申请实施例中,处理器701还具有以下功能:In the embodiment of the present application, the processor 701 also has the following functions:
在所述第一应用程序属于非私密应用程序时,响应于所述第一交互操作,控制所述第一信息组件由所述第一展示模式切换为第二展示模式。When the first application is a non-private application, in response to the first interactive operation, the first information component is controlled to switch from the first display mode to the second display mode.
在本申请实施例中,所述第一应用程序为所述息屏状态下的处于常驻显示模式的应用程序,或者处于即时显示模式的应用程序。In an embodiment of the present application, the first application is an application in a permanent display mode in the screen-off state, or an application in an instant display mode.
在本申请实施例中,所述第一信息组件是在第一窗口内进行显示的,所述第一应用程序为处于常驻显示模式的应用程序;处理器701还具有以下功能:In the embodiment of the present application, the first information component is displayed in the first window, and the first application is an application in a resident display mode; the processor 701 also has the following functions:
在接收到第二应用程序的第二通知信息时,在第二窗口内显示处于所述第一展示模式的第二信息组 件,所述第二信息组件用于承载所述第二通知信息,所述第二应用程序为处于即时显示模式的应用程序。When receiving the second notification information of the second application, displaying the second information group in the first display mode in the second window The second information component is used to carry the second notification information, and the second application is an application in instant display mode.
在本申请实施例中,所述第一信息组件是在第一窗口内进行显示的,所述第一应用程序为处于即时显示模式的应用程序;处理器701还具有以下功能:In the embodiment of the present application, the first information component is displayed in the first window, and the first application is an application in the real-time display mode; the processor 701 also has the following functions:
在接收到第三应用程序的第三通知消息时,将所述第一窗口内的处于所述第一展示模式的第一信息组件切换为处于所述第一展示模式的第三信息组件,所述第三信息组件用于承载所述第三通知消息;其中,所述第三应用程序为除所述第一应用程序之外的处于即时显示模式的应用程序。When a third notification message from a third application is received, the first information component in the first display mode within the first window is switched to a third information component in the first display mode, and the third information component is used to carry the third notification message; wherein the third application is an application in immediate display mode other than the first application.
在本申请实施例中,处理器701还具有以下功能:In the embodiment of the present application, the processor 701 also has the following functions:
在处于所述第一展示模式的所述第一信息组件的显示时长大于第一时长阈值时,将所述第一窗口内的处于所述第一展示模式的所述第一信息组件切换为处于所述第一展示模式的第三信息组件。When the display duration of the first information component in the first display mode is greater than a first duration threshold, the first information component in the first display mode in the first window is switched to a third information component in the first display mode.
在本申请实施例中,所述第一信息组件是在第一窗口内进行显示的,处理器701还具有以下功能:In the embodiment of the present application, the first information component is displayed in the first window, and the processor 701 also has the following functions:
在接收到所述第一应用程序的第四通知消息时,将所述第一窗口内的处于所述第一展示模式的第一信息组件切换为处于所述第一展示模式的第四信息组件,所述第四信息组件用于承载所述第四通知消息。When the fourth notification message of the first application is received, the first information component in the first display mode in the first window is switched to a fourth information component in the first display mode, and the fourth information component is used to carry the fourth notification message.
在本申请实施例中,处理器701还具有以下功能:In the embodiment of the present application, the processor 701 also has the following functions:
响应于第二交互操作,控制所述电子设备处于亮屏状态,并在所述亮屏状态下显示所述第一通知信息对应的目标界面。In response to the second interactive operation, the electronic device is controlled to be in a screen-on state, and a target interface corresponding to the first notification information is displayed in the screen-on state.
在本申请实施例中,所述第二展示模式的第一信息组件中包括虚拟操作控件;处理器701还具有以下功能:In the embodiment of the present application, the first information component of the second display mode includes a virtual operation control; the processor 701 also has the following functions:
响应于针对所述虚拟操作控件的按压操作,控制所述第一应用程序执行所述虚拟操作控件指示的对应操作。In response to a pressing operation on the virtual operation control, the first application is controlled to execute a corresponding operation indicated by the virtual operation control.
在本申请实施例中,处理器701还具有以下功能:In the embodiment of the present application, the processor 701 also has the following functions:
若在第二时长阈值内未检测到针对所述虚拟操作控件的按压操作,则控制所述第一信息组件由所述第二展示模式切换为所述第一展示模式。If no pressing operation on the virtual operation control is detected within the second time threshold, the first information component is controlled to switch from the second display mode to the first display mode.
在本申请实施例中,所述第一应用程序为所述电子设备在所述息屏状态所支持的多个应用程序中的其中一个应用程序;处理器701还具有以下功能:In the embodiment of the present application, the first application is one of the multiple applications supported by the electronic device in the screen-off state; the processor 701 further has the following functions:
检测第一设置操作;detecting a first setting operation;
响应于所述第一设置操作,显示第一设置界面,所述第一设置界面中包括所述多个应用程序的标识信息;In response to the first setting operation, displaying a first setting interface, wherein the first setting interface includes identification information of the plurality of applications;
检测第一开启操作,响应于所述第一开启操作,开启所述第一应用程序的通知功能,以使所述电子 设备处于所述息屏状态下,按照第一展示模式显示第一信息组件。Detecting a first activation operation, and in response to the first activation operation, activating a notification function of the first application program so that the electronic When the device is in the screen-off state, the first information component is displayed in the first display mode.
在本申请实施例中,所述第一应用程序为所述电子设备在所述息屏状态所支持的多个应用程序中的其中一个应用程序;处理器701还具有以下功能:In the embodiment of the present application, the first application is one of the multiple applications supported by the electronic device in the screen-off state; the processor 701 further has the following functions:
检测第二设置操作;detecting a second setting operation;
响应于所述第二设置操作,显示第二设置界面,所述第二设置界面中包括所述多个应用程序的标识信息,以及每个应用程序的显示模式的设置信息,所述显示模式包括常驻显示模式和即时显示模式;In response to the second setting operation, displaying a second setting interface, wherein the second setting interface includes identification information of the multiple applications and setting information of a display mode of each application, wherein the display mode includes a resident display mode and an immediate display mode;
检测第三设置操作,响应于所述第三设置操作,开启所述第一应用程序的通知功能,并确定所述第一应用程序的目标显示模式,以使所述电子设备在所述息屏状态下,以所述目标显示模式显示处于第一展示模式的第一信息组件。Detect a third setting operation, and in response to the third setting operation, turn on the notification function of the first application, and determine the target display mode of the first application, so that the electronic device displays the first information component in the first display mode in the target display mode in the screen-off state.
本申请实施例公开一种计算机可读存储介质,其存储计算机程序,其中,该计算机程序被处理器执行时实现如上述各实施例描述的方法。An embodiment of the present application discloses a computer-readable storage medium storing a computer program, wherein the computer program implements the methods described in the above embodiments when executed by a processor.
本申请实施例公开一种计算机程序产品,该计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,且该计算机程序可被处理器执行时实现如上述各实施例描述的方法。An embodiment of the present application discloses a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program can be executed by a processor to implement the methods described in the above embodiments.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一非易失性计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,该存储介质可为磁碟、光盘、ROM等。Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing related hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a ROM, etc.
如此处所使用的对存储器、存储、数据库或其它介质的任何引用可包括非易失性和/或易失性存储器。合适的非易失性存储器可包括ROM、可编程ROM(Programmable ROM,PROM)、可擦除PROM(Erasable PROM,EPROM)、电可擦除PROM(Electrically Erasable PROM,EEPROM)或闪存。易失性存储器可包括随机存取存储器(random access memory,RAM),它用作外部高速缓冲存储器。作为说明而非局限,RAM可为多种形式,诸如静态RAM(Static RAM,SRAM)、动态RAM(Dynamic Random Access Memory,DRAM)、同步DRAM(synchronous DRAM,SDRAM)、双倍数据率SDRAM(Double Data Rate SDRAM,DDR SDRAM)、增强型SDRAM(Enhanced Synchronous DRAM,ESDRAM)、同步链路DRAM(Synchlink DRAM,SLDRAM)、存储器总线直接RAM(Rambus DRAM,RDRAM)及直接存储器总线动态RAM(Direct Rambus DRAM,DRDRAM)。As used herein, any reference to memory, storage, database, or other medium may include nonvolatile and/or volatile memory. Suitable nonvolatile memory may include ROM, Programmable ROM (PROM), Erasable PROM (EPROM), Electrically Erasable PROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM), which is used as external cache memory. By way of illustration and not limitation, RAM can be in many forms, such as static RAM (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced synchronous DRAM (ESDRAM), synchronous link DRAM (SLDRAM), Rambus DRAM (RDRAM) and direct Rambus dynamic RAM (DRDRAM).
应理解,说明书通篇中提到的“一个实施例”或“一实施例”意味着与实施例有关的特定特征、结构或特性包括在本申请的至少一个实施例中。因此,在整个说明书各处出现的“在一个实施例中”或“在一实施例中”未必一定指相同的实施例。此外,这些特定特征、结构或特性可以以任意适合的方式结合在一个或多个实施例中。本领域技术人员也应该知悉,说明书中所描述的实施例均属于可选实施例,所涉及 的动作和模块并不一定是本申请所必须的。It should be understood that the "one embodiment" or "an embodiment" mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, the "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. Those skilled in the art should also know that the embodiments described in the specification are all optional embodiments. The actions and modules are not necessarily required for this application.
在本申请的各种实施例中,应理解,上述各过程的序号的大小并不意味着执行顺序的必然先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。In the various embodiments of the present application, it should be understood that the size of the serial numbers of the above-mentioned processes does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
在本申请各实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。Each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or in the form of software functional units.
上述集成的单元若以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可获取的存储器中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或者部分,可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干请求用以使得一台计算机设备(可以为个人计算机、服务器或者网络设备等,具体可以是计算机设备中的处理器)执行本申请的各个实施例上述方法的部分或全部步骤。If the above-mentioned 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-accessible memory. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a memory and includes several requests for a computer device (which can be a personal computer, a server or a network device, etc., specifically a processor in a computer device) to perform some or all of the steps of the above-mentioned methods of various embodiments of the present application.
以上应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想。同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。 The above specific examples are used to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core ideas of the present application. At the same time, for those skilled in the art, according to the ideas of the present application, there will be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as limiting the present application.

Claims (20)

  1. 一种通知信息的显示方法,其特征在于,包括:A method for displaying notification information, characterized by comprising:
    在电子设备处于息屏状态下,按照第一展示模式显示第一应用程序的第一信息组件,所述第一信息组件用于承载所述第一应用程序的第一通知信息;When the electronic device is in a screen-off state, displaying a first information component of a first application in a first display mode, where the first information component is used to carry first notification information of the first application;
    在检测到第一交互操作时,响应于所述第一交互操作,控制所述第一信息组件由所述第一展示模式切换为第二展示模式,所述第二展示模式的信息承载量大于所述第一展示模式的信息承载量。When a first interactive operation is detected, in response to the first interactive operation, the first information component is controlled to switch from the first display mode to a second display mode, and the information carrying capacity of the second display mode is greater than the information carrying capacity of the first display mode.
  2. 根据权利要求1所述的方法,其特征在于,所述响应于所述第一交互操作,控制所述第一信息组件由所述第一展示模式切换为第二展示模式,包括:The method according to claim 1, wherein, in response to the first interactive operation, controlling the first information component to switch from the first display mode to the second display mode comprises:
    在所述第一应用程序属于私密应用程序时,对触发所述第一交互操作的用户进行身份校验;When the first application is a private application, verifying the identity of a user who triggers the first interactive operation;
    在所述用户为合法用户时,响应于所述第一交互操作,控制所述第一信息组件由所述第一展示模式切换为第二展示模式。When the user is a legitimate user, in response to the first interactive operation, the first information component is controlled to switch from the first display mode to the second display mode.
  3. 根据权利要求1所述的方法,其特征在于,所述响应于所述第一交互操作,控制所述第一信息组件由所述第一展示模式切换为第二展示模式,包括:The method according to claim 1, wherein, in response to the first interactive operation, controlling the first information component to switch from the first display mode to the second display mode comprises:
    在所述第一应用程序属于非私密应用程序时,响应于所述第一交互操作,控制所述第一信息组件由所述第一展示模式切换为第二展示模式。When the first application is a non-private application, in response to the first interactive operation, the first information component is controlled to switch from the first display mode to the second display mode.
  4. 根据权利要求1所述的方法,其特征在于,所述第一应用程序为所述息屏状态下的处于常驻显示模式的应用程序,或者处于即时显示模式的应用程序。The method according to claim 1 is characterized in that the first application is an application in a permanent display mode in the screen-off state, or an application in an immediate display mode.
  5. 根据权利要求4所述的方法,其特征在于,所述第一信息组件是在第一窗口内进行显示的,所述第一应用程序为处于常驻显示模式的应用程序,所述方法还包括:The method according to claim 4, characterized in that the first information component is displayed in a first window, the first application is an application in a resident display mode, and the method further comprises:
    在接收到第二应用程序的第二通知信息时,在第二窗口内显示处于所述第一展示模式的第二信息组件,所述第二信息组件用于承载所述第二通知信息,所述第二应用程序为处于即时显示模式的应用程序。When receiving the second notification information of the second application, the second information component in the first display mode is displayed in the second window, the second information component is used to carry the second notification information, and the second application is an application in the instant display mode.
  6. 根据权利要求4所述的方法,其特征在于,所述第一信息组件是在第一窗口内进行显示的,所述第一应用程序为处于即时显示模式的应用程序,所述方法还包括:The method according to claim 4, characterized in that the first information component is displayed in a first window, the first application is an application in an instant display mode, and the method further comprises:
    在接收到第三应用程序的第三通知消息时,将所述第一窗口内的处于所述第一展示模式的第一信息组件切换为处于所述第一展示模式的第三信息组件,所述第三信息组件用于承载所述第三通知消息;其中,所述第三应用程序为除所述第一应用程序之外的处于即时显示模式的应用程序。When a third notification message from a third application is received, the first information component in the first display mode within the first window is switched to a third information component in the first display mode, and the third information component is used to carry the third notification message; wherein the third application is an application in immediate display mode other than the first application.
  7. 根据权利要求6所述的方法,其特征在于,所述将所述第一窗口内的处于所述第一展示模式的所述第一信息组件切换为处于所述第一展示模式的第三信息组件,包括:The method according to claim 6, characterized in that the step of switching the first information component in the first display mode in the first window to a third information component in the first display mode comprises:
    在处于所述第一展示模式的所述第一信息组件的显示时长大于第一时长阈值时,将所述第一窗口内 的处于所述第一展示模式的所述第一信息组件切换为处于所述第一展示模式的第三信息组件。When the display time of the first information component in the first display mode is greater than a first time threshold, The first information component in the first display mode is switched to a third information component in the first display mode.
  8. 根据权利要求1所述的方法,其特征在于,所述第一信息组件是在第一窗口内进行显示的,所述方法还包括:The method according to claim 1, wherein the first information component is displayed in a first window, and the method further comprises:
    在接收到所述第一应用程序的第四通知消息时,将所述第一窗口内的处于所述第一展示模式的第一信息组件切换为处于所述第一展示模式的第四信息组件,所述第四信息组件用于承载所述第四通知消息。When the fourth notification message of the first application is received, the first information component in the first display mode in the first window is switched to a fourth information component in the first display mode, and the fourth information component is used to carry the fourth notification message.
  9. 根据权利要求1所述的方法,其特征在于,所述控制所述第一信息组件由所述第一展示模式切换为第二展示模式之后,所述方法还包括:The method according to claim 1, characterized in that after controlling the first information component to switch from the first display mode to the second display mode, the method further comprises:
    响应于第二交互操作,控制所述电子设备处于亮屏状态,并在所述亮屏状态下显示所述第一通知信息对应的目标界面。In response to the second interactive operation, the electronic device is controlled to be in a screen-on state, and a target interface corresponding to the first notification information is displayed in the screen-on state.
  10. 根据权利要求1所述的方法,其特征在于,所述第二展示模式的第一信息组件中包括虚拟操作控件,所述响应于所述第一交互操作,控制所述第一信息组件由所述第一展示模式切换为第二展示模式之后,所述方法还包括:The method according to claim 1, characterized in that the first information component in the second display mode includes a virtual operation control, and after the first information component is controlled to switch from the first display mode to the second display mode in response to the first interactive operation, the method further comprises:
    响应于针对所述虚拟操作控件的按压操作,控制所述第一应用程序执行所述虚拟操作控件指示的对应操作。In response to a pressing operation on the virtual operation control, the first application is controlled to execute a corresponding operation indicated by the virtual operation control.
  11. 根据权利要求10所述的方法,其特征在于,所述响应于所述第一交互操作,控制所述第一信息组件由所述第一展示模式切换为第二展示模式之后,所述方法还包括:The method according to claim 10, characterized in that after, in response to the first interactive operation, controlling the first information component to switch from the first display mode to the second display mode, the method further comprises:
    若在第二时长阈值内未检测到针对所述虚拟操作控件的按压操作,则控制所述第一信息组件由所述第二展示模式切换为所述第一展示模式。If no pressing operation on the virtual operation control is detected within the second time threshold, the first information component is controlled to switch from the second display mode to the first display mode.
  12. 根据权利要求1所述的方法,其特征在于,所述第一应用程序为所述电子设备在所述息屏状态所支持的多个应用程序中的其中一个应用程序,在所述按照第一展示模式显示第一应用程序的第一信息组件之前,所述方法还包括:The method according to claim 1 is characterized in that the first application is one of a plurality of applications supported by the electronic device in the screen-off state, and before displaying the first information component of the first application in the first display mode, the method further comprises:
    检测第一设置操作;detecting a first setting operation;
    响应于所述第一设置操作,显示第一设置界面,所述第一设置界面中包括所述多个应用程序的标识信息;In response to the first setting operation, displaying a first setting interface, wherein the first setting interface includes identification information of the plurality of applications;
    检测第一开启操作,响应于所述第一开启操作,开启所述第一应用程序的通知功能,以使所述电子设备处于所述息屏状态下,按照第一展示模式显示第一信息组件。A first start-up operation is detected, and in response to the first start-up operation, a notification function of the first application is started, so that the electronic device is in the screen-off state and displays a first information component in a first display mode.
  13. 根据权利要求1所述的方法,其特征在于,所述第一应用程序为所述电子设备在所述息屏状态所支持的多个应用程序中的其中一个应用程序,在所述按照第一展示模式显示第一应用程序的第一信息 组件之前,所述方法还包括:The method according to claim 1 is characterized in that the first application is one of a plurality of applications supported by the electronic device in the screen-off state, and in displaying the first information of the first application in the first display mode Before the assembly, the method further comprises:
    检测第二设置操作;detecting a second setting operation;
    响应于所述第二设置操作,显示第二设置界面,所述第二设置界面中包括所述多个应用程序的标识信息,以及每个应用程序的显示模式的设置信息,所述显示模式包括常驻显示模式和即时显示模式;In response to the second setting operation, displaying a second setting interface, wherein the second setting interface includes identification information of the multiple applications and setting information of a display mode of each application, wherein the display mode includes a resident display mode and an immediate display mode;
    检测第三设置操作,响应于所述第三设置操作,开启所述第一应用程序的通知功能,并确定所述第一应用程序的目标显示模式,以使所述电子设备在所述息屏状态下,以所述目标显示模式显示处于第一展示模式的第一信息组件。Detect a third setting operation, and in response to the third setting operation, turn on the notification function of the first application, and determine the target display mode of the first application, so that the electronic device displays the first information component in the first display mode in the target display mode in the screen-off state.
  14. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, characterized in that the method further comprises:
    若所述电子设备在息屏状态下显示通知消息的功能关闭,则输出指示启动所述功能的指示信息。If the function of displaying notification messages in the screen-off state of the electronic device is turned off, instruction information instructing to start the function is output.
  15. 根据权利要求14所述的方法,其特征在于,所述指示信息包括用于统一管理所述电子设备在所述息屏状态所支持的多个应用程序的通知消息是否息屏显示的虚拟操作按钮。The method according to claim 14 is characterized in that the indication information includes a virtual operation button for uniformly managing whether notification messages of multiple applications supported by the electronic device in the screen-off state are displayed on the screen.
  16. 根据权利要求14所述的方法,其特征在于,所述指示信息包括指示查看所述电子设备在息屏状态所支持的所有应用程序的虚拟操作控件。The method according to claim 14 is characterized in that the indication information includes virtual operation controls for instructing to view all applications supported by the electronic device in the screen-off state.
  17. 根据权利要求1所述的方法,其特征在于,所述第一展示模式用于指示仅具备显示功能的展示模式,所述第二展示模式用于指示具备显示功能和交互功能的展示模式。The method according to claim 1 is characterized in that the first display mode is used to indicate a display mode with only a display function, and the second display mode is used to indicate a display mode with both a display function and an interactive function.
  18. 一种通知信息的显示装置,其特征在于,包括:A device for displaying notification information, comprising:
    第一显示单元,用于在电子设备处于息屏状态下,按照第一展示模式显示第一应用程序的第一信息组件,所述第一信息组件用于承载所述第一应用程序的第一通知信息;A first display unit, configured to display a first information component of a first application in a first display mode when the electronic device is in a screen-off state, wherein the first information component is configured to carry first notification information of the first application;
    第二显示单元,用于在检测到第一交互操作时,响应于所述第一交互操作,控制所述第一信息组件由所述第一展示模式切换为第二展示模式,所述第二展示模式的信息承载量大于所述第一展示模式的信息承载量。The second display unit is used to control the first information component to switch from the first display mode to a second display mode in response to the first interaction operation when the first interaction operation is detected, and the information carrying capacity of the second display mode is greater than that of the first display mode.
  19. 一种电子设备,其特征在于,包括:An electronic device, comprising:
    存储有可执行程序代码的存储器;A memory storing executable program code;
    以及所述存储器耦合的处理器;and a processor coupled to the memory;
    所述处理器调用所述存储器中存储的所述可执行程序代码,所述可执行程序代码被所述处理器执行时,使得所述处理器实现如权利要求1-17中任一所述的方法。The processor calls the executable program code stored in the memory, and when the executable program code is executed by the processor, the processor implements the method according to any one of claims 1 to 17.
  20. 一种计算机可读存储介质,其存储计算机程序,其中,所述计算机程序被处理器执行时,使得所述处理器实现如权利要求1-17中任一所述的方法。 A computer-readable storage medium stores a computer program, wherein when the computer program is executed by a processor, the processor is caused to implement the method according to any one of claims 1 to 17.
PCT/CN2023/122077 2022-11-10 2023-09-27 Notification information display method and apparatus, electronic device and storage medium WO2024098995A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211406850.2 2022-11-10
CN202211406850.2A CN115904182A (en) 2022-11-10 2022-11-10 Notification information display method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2024098995A1 true WO2024098995A1 (en) 2024-05-16

Family

ID=86475484

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/122077 WO2024098995A1 (en) 2022-11-10 2023-09-27 Notification information display method and apparatus, electronic device and storage medium

Country Status (2)

Country Link
CN (1) CN115904182A (en)
WO (1) WO2024098995A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115904182A (en) * 2022-11-10 2023-04-04 成都欧珀通信科技有限公司 Notification information display method and device, electronic equipment and storage medium
CN117131555A (en) * 2023-04-28 2023-11-28 荣耀终端有限公司 Information display method and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113010257A (en) * 2021-03-30 2021-06-22 维沃移动通信有限公司 Electronic device, display control method, display control apparatus, and readable storage medium
CN115202775A (en) * 2021-04-13 2022-10-18 Oppo广东移动通信有限公司 Notification message display method and device, wearable device and storage medium
CN115904182A (en) * 2022-11-10 2023-04-04 成都欧珀通信科技有限公司 Notification information display method and device, electronic equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113010257A (en) * 2021-03-30 2021-06-22 维沃移动通信有限公司 Electronic device, display control method, display control apparatus, and readable storage medium
CN115202775A (en) * 2021-04-13 2022-10-18 Oppo广东移动通信有限公司 Notification message display method and device, wearable device and storage medium
CN115904182A (en) * 2022-11-10 2023-04-04 成都欧珀通信科技有限公司 Notification information display method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN115904182A (en) 2023-04-04

Similar Documents

Publication Publication Date Title
JP6865801B2 (en) User interface for loyalty and private label accounts for wearable devices
KR102212294B1 (en) User interface for a device requesting remote authorization
WO2024098995A1 (en) Notification information display method and apparatus, electronic device and storage medium
CN108027706B (en) Application interface display method and terminal equipment
EP2981104B1 (en) Apparatus and method for providing information
US20190339840A1 (en) Augmented reality device for rendering a list of apps or skills of artificial intelligence system and method of operating the same
US11816194B2 (en) User interfaces for managing secure operations
JP7138804B2 (en) INTERFACE DISPLAY METHOD AND DEVICE, TERMINAL AND COMPUTER PROGRAM
JP2019164826A (en) User interface for settlement
CN112219203A (en) User interface for transfer accounts
US20150286698A1 (en) Reactive digital personal assistant
US11782573B2 (en) User interfaces for enabling an activity
US20160350136A1 (en) Assist layer with automated extraction
CN106445956B (en) Shopping data management method and device
CN106355059A (en) Password input method and terminal
CN106233237A (en) A kind of method and apparatus of the new information processed with association
US20180330363A1 (en) Method for providing user interface related to card, and electronic device for implementing same
JP2015076022A (en) Portable device, control method and control program of computer consisting of portable device, information processing device, control method and control program of computer consisting of information processing device, information processing system and information processing method
JP2023159298A (en) Displaying representation of card with layered structure
US20190377467A1 (en) Information reminder method and mobile device
WO2023134599A1 (en) Voice information sending method and apparatus, and electronic device
KR102351317B1 (en) Method for displaying an electronic document and electronic device
CN109313759B (en) User interface for transactions
KR102233559B1 (en) Electronic device for brokering membership by escrow system
CN114115639A (en) Interface control method and device, electronic equipment and storage medium