Information display method and device, electronic equipment and storage medium
By expanding the notification content in the notification area of electronic devices to display more information, the problem of users having difficulty fully understanding notification messages is solved, and a convenient notification message browsing experience is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
- Filing Date
- 2024-12-18
- Publication Date
- 2026-05-19
AI Technical Summary
The notification messages displayed in the notification center of electronic devices are limited, making it difficult for users to fully understand the received notification messages. Users need to go to the application interface to view them in detail.
Upon receiving a notification message, the first notification content is displayed in the notification area, and in response to the user's expand action, it is switched to a second notification content containing more information, including a title, summary, images, videos, etc., which is rendered and displayed using the target notification template.
Users can view more notification messages without entering the application interface, which improves the visualization of notification messages and user experience, and simplifies the operation process.
Smart Images

Figure CN119690285B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of electronic equipment technology, and more specifically, to an information display method, apparatus, electronic device, and storage medium. Background Technology
[0002] With the rapid advancement of technology and living standards, electronic devices (such as smartphones and tablets) have become commonplace in people's lives. As applications (apps) become increasingly abundant, more and more apps are installed on electronic devices. To achieve the business objectives of these applications, electronic devices typically display push notifications in the notification center. However, when displaying notifications in the notification center, the information shown is usually limited, making it difficult for users to fully understand the received notifications. Summary of the Invention
[0003] This application proposes an information display method, apparatus, electronic device, and storage medium that can facilitate users to fully understand the received notification messages.
[0004] In a first aspect, embodiments of this application provide an information display method, the method comprising: upon receiving a first notification message from a first application, displaying first notification content corresponding to the first notification message in a first notification area of an interface; and in response to a first expansion operation on the first notification content, switching the first notification content to second notification content corresponding to the first notification message, wherein the second notification content includes more information than the first notification content.
[0005] Secondly, embodiments of this application provide an information display device, the device comprising: a first notification display module and a second notification display module, wherein the first notification display module is configured to display first notification content corresponding to the first notification message in a first notification area of the interface when receiving a first notification message from a first application; the second notification display module is configured to switch the first notification content to second notification content corresponding to the first notification message in response to a first expansion operation on the first notification content, wherein the second notification content includes more information than the first notification content.
[0006] Thirdly, embodiments of this application provide an electronic device, including: one or more processors; a memory; and one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, and the one or more application programs are configured to perform the information display method provided in the first aspect above.
[0007] Fourthly, embodiments of this application provide a computer-readable storage medium storing program code, which can be invoked by a processor to execute the information display method provided in the first aspect above.
[0008] The solution provided in this application displays the first notification content corresponding to the first notification message in the first notification area of the interface when a first notification message is received from a first application. In response to a first expansion operation on the first notification content, the first notification content is switched to the second notification content corresponding to the first notification message. The second notification content contains more information than the first notification content. Thus, the electronic device can display more information on the received notification message, allowing the user to browse more information in the notification area without entering the application, making it easier for the user to fully understand the received notification message. Attached Figure Description
[0009] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0010] Figure 1 A flowchart illustrating an information display method according to an embodiment of this application is shown.
[0011] Figure 2 A schematic diagram of an interface provided in an embodiment of this application is shown.
[0012] Figure 3 A schematic diagram of an interface provided in an embodiment of this application is shown.
[0013] Figure 4 A flowchart illustrating an information display method according to another embodiment of this application is shown.
[0014] Figure 5 A flowchart illustrating an information display method according to yet another embodiment of this application is shown.
[0015] Figure 6 A schematic diagram of an interface provided in an embodiment of this application is shown.
[0016] Figure 7 A flowchart illustrating an information display method according to another embodiment of this application is shown.
[0017] Figure 8A schematic diagram of an interface provided in an embodiment of this application is shown.
[0018] Figure 9 A schematic diagram of an interface provided in an embodiment of this application is shown.
[0019] Figure 10 A schematic diagram of an interface provided in an embodiment of this application is shown.
[0020] Figure 11 A schematic diagram of an interface provided in an embodiment of this application is shown.
[0021] Figure 12 A schematic diagram of an interface provided in an embodiment of this application is shown.
[0022] Figure 13 A flowchart illustrating an information display method according to yet another embodiment of this application is shown.
[0023] Figure 14 A schematic diagram of an interface provided in an embodiment of this application is shown.
[0024] Figure 15 A schematic diagram of an interface provided in an embodiment of this application is shown.
[0025] Figure 16 A schematic diagram of an interface provided in an embodiment of this application is shown.
[0026] Figure 17 A block diagram of an information display device according to an embodiment of this application is shown.
[0027] Figure 18 This is a block diagram of an electronic device for performing an information display method according to an embodiment of this application.
[0028] Figure 19 This is a storage unit in this application embodiment for storing or carrying program code that implements the information display method according to this application embodiment. Detailed Implementation
[0029] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings.
[0030] When an electronic device receives a notification message, it can usually display the notification message in the notification center when the screen is locked, or in the notification center that is brought up by pulling down the top area of the screen when the screen is unlocked.
[0031] In related technologies, when electronic devices display notification messages on their interfaces, they typically only show the application identifier (e.g., application name, application icon), the title, and a small amount of content. When a user needs to view the notification message more fully, they must interact with the device to switch the interface to the application containing the notification. This requires the user to open or run the application to view the complete message. Therefore, viewing notification messages is inconvenient and hinders users from fully understanding them.
[0032] To address the aforementioned problems, the inventors have proposed an information display method, apparatus, electronic device, and storage medium as described in the embodiments of this application. These methods enable the electronic device to display more information in response to received notification messages, allowing users to browse more information in the notification area without needing to access the application, thus facilitating a thorough understanding of the received notification messages. The specific information display method will be described in detail in subsequent embodiments.
[0033] The information display method provided in the embodiments of this application will now be described in detail with reference to the accompanying drawings.
[0034] Please see Figure 1 , Figure 1 A flowchart illustrating an embodiment of the information display method provided in this application is shown. In a specific embodiment, the information display method is applied to, for example... Figure 17 The information display device 500 shown and the electronic device 100 configured with the information display device 500 are also shown. Figure 18 The following will use an electronic device as an example to illustrate the specific process of this embodiment. Of course, it is understood that the electronic device used in this embodiment can be a smartphone, tablet computer, smartwatch, e-reader, etc., and is not limited thereto. The following will focus on... Figure 1 The process shown will be described in detail. The information display method may specifically include the following steps:
[0035] Step S110: Upon receiving a first notification message from the first application, display the first notification content corresponding to the first notification message in the first notification area of the interface.
[0036] Application notifications are messages generated by electronic devices to deliver information to users. These notifications can include various types of messages, such as new messages arriving in instant messaging (e.g., new messages in social media apps, friend requests or new messages in chat apps), push notifications (e.g., the latest news in news apps, weather changes in weather apps), system update notifications (application version updates, system maintenance notifications, etc.), event reminders (e.g., meeting reminders in calendar apps, exercise reminders in health apps), and marketing and promotional information (e.g., discount information and new product launch notifications in e-commerce apps). These notifications aim to help users maintain real-time interaction with the application and ensure that users do not miss any important information. The first application mentioned above can be any application installed in the electronic device settings, such as chat apps, news apps, weather apps, shopping apps, etc.
[0037] In this embodiment of the application, when an electronic device receives a notification message (as the first notification message) from any application (as the first application), it indicates that the electronic device currently has a notification message that needs to be displayed. Therefore, the electronic device can display the first notification content corresponding to the first notification message in the first notification area of the interface so that the user can see the first notification content and thus know that the first notification message has been received.
[0038] In some implementations, if an electronic device receives a first notification message from the first application while the screen is locked, the electronic device can display the first notification area on the lock screen and display the first notification content corresponding to the first notification message in the first notification area.
[0039] The lock screen state refers to the state in which the screen of an electronic device enters a locked state after a period of inactivity or after the user has manually set it. In the lock screen state, it can effectively prevent unauthorized users from accessing sensitive data on the device and can also avoid unnecessary operations caused by accidental touches. The opposite of the lock screen state is the unlock state, which means that the screen of an electronic device changes from the lock screen state to a normal usable state. In the unlock state, users can freely access applications and data on the device, and users can also perform various operations, such as making phone calls, sending text messages, and browsing web pages.
[0040] In some implementations, when the electronic device is in an unlocked state, if it receives the first notification message from the first application mentioned above, the electronic device can respond to an operation in the currently displayed interface to trigger the display of the notification area, such as a pull-down operation in the top area of the screen, to display the first notification area in the interface and display the first notification content corresponding to the first notification message in the first notification area.
[0041] In some implementations, when the electronic device displays the first notification content corresponding to the first notification message in the first notification area, it can display the title information, summary information, and other core information that can quickly convey the notification message. Of course, the first notification content may also include information about the application to which the first notification message belongs (i.e., the application from which it originates), such as the application identifier and name of the first application.
[0042] In some implementations, the number of notification contents that can be displayed in the first notification area can be 1, that is, the first notification area only displays the notification content corresponding to the latest received notification message.
[0043] In some implementations, the number of notification contents that can be displayed in the first notification area can also be multiple, that is, the first notification area can display notification contents for multiple notification messages.
[0044] Step S120: In response to the first expansion operation for the first notification content, the first notification content is switched to the second notification content corresponding to the first notification message, wherein the second notification content includes more information than the first notification content.
[0045] In this embodiment, after the electronic device displays the first notification content in the first notification area, it can detect operations on the interface. If an expansion operation is detected for the first notification content, the detected expansion operation can be taken as the first expansion operation. In response to the first expansion operation, the electronic device can switch the first notification content displayed in the first notification area to the second notification content corresponding to the first notification message. The second notification content after the switch contains more information than the first notification content before the switch, so that the user can view more information about the first notification message by expanding the displayed first notification content, thereby making it easier for the user to fully understand the first notification message.
[0046] In some implementations, when an electronic device switches from the first notification content to the second notification content, it can obtain more information about the first notification message from the first application and display the second notification content in the first notification area based on the obtained information.
[0047] In one possible implementation, in order to enable users to have a more comprehensive understanding of the first notification message, the second notification content may include, in addition to the title information, summary information, and application information of the first application in the first notification content, images, videos, text information, product information, etc. displayed on the interface when the first application displays the interface corresponding to the first notification message. In other words, the information in the second notification content can also be understood as the detailed information of the first notification message.
[0048] In the above embodiments, since the second notification content includes the information in the first notification content, when the electronic device switches the first notification content to the second notification content corresponding to the first notification message, it can add more information to be displayed in the first notification area on the basis of the original first notification content, so that the added information and the information in the original first notification content constitute the above second notification content.
[0049] In some implementations, when the first notification content is displayed in the first notification area, the first notification content may include an expand control. The electronic device can detect touch operations on the expand control, such as clicks or presses; upon detecting a touch operation on the expand control, it can be determined that a first expand operation on the first notification content has been detected, and the electronic device can respond to the first expand operation by switching the first notification content to a second notification content.
[0050] For example, please refer to Figure 2 When the electronic device is displaying the lock screen A1, if it receives a first notification message from a news application, the electronic device can display the first notification content A3 corresponding to the first notification message in the first notification area A2 of the lock screen A1, and the first notification content A3 includes an expand control A4; please refer to Figure 3 If the electronic device detects an operation on the expanded control A4, it can switch the first notification content A3 displayed in the first notification area A2 to the second notification content A5, so that more information is displayed in the first notification area A2 for the first notification message, thereby making it easier for the user to better understand the first notification message.
[0051] In some implementations, after the electronic device displays the first notification content in the first notification area, it can determine that a first expansion operation has been detected for the first notification content if a touch operation (such as a click operation, a press operation, etc.) is detected for the first notification content. The electronic device can then switch the first notification content to a second notification content in response to the first expansion operation.
[0052] Understandably, unlike the way notification messages are displayed in the notification center in related technologies, where the electronic device switches the displayed interface to the application interface corresponding to the notification message when a touch operation is detected on the notification content, and the notification message is fully displayed in the application interface, this embodiment does not directly switch the interface to the application interface of the first application when a touch operation is detected on the first notification content. Instead, it displays more information on the first notification message, that is, the first notification content is switched to the second notification content in the first notification area.
[0053] In some implementations, when the electronic device switches the first notification content displayed in the first notification area to the second notification content, the display size of the first notification area can be increased accordingly because more information needs to be displayed in the first notification area. That is, the size of the first notification area when displaying the first notification content is smaller than the size of the second notification area when displaying the second notification content. For example, please refer again to... Figure 2 and Figure 3 When switching the first notification content A3 to the second notification content A5, Figure 3 The size of the first notification area A2 shown is relative to Figure 2 The size of the first notification area A2 shown in the figure has increased.
[0054] The information display method provided in this application embodiment allows an electronic device to display a first notification content after receiving a notification message, and then display a second notification content including more information about the notification message based on an expansion operation of the first notification content. This enables the display of more information about the notification message, allowing users to browse more information in the notification area without having to enter the application, facilitating users to fully understand the received notification message and achieving the effect of quick browsing of the notification message.
[0055] Please see Figure 4 , Figure 4 A flowchart illustrating an information display method according to another embodiment of this application is shown. This information display method is applied to the aforementioned electronic device, and will be discussed below. Figure 4 The process shown will be described in detail. The information display method may specifically include the following steps:
[0056] Step S210: Upon receiving a first notification message from the first application, display the first notification content corresponding to the first notification message in the first notification area of the interface.
[0057] In this embodiment, step S210 can be referred to the content of other embodiments, and will not be repeated here.
[0058] Step S220: In response to the first expansion operation for the first notification content, obtain the information to be displayed corresponding to the first notification message from the first application based on the target notification template.
[0059] In this embodiment, after detecting a first expansion operation on the first notification content, when the electronic device switches the first notification content to a second notification content that includes more information than the first notification message, it can display the second notification content in the first notification area based on a target notification template. When displaying the second notification content based on the target notification template, the device can obtain the information to be displayed corresponding to the first notification message from the first application based on the target notification template. The target notification template can be the template used by the electronic device to display the second notification content, and the information to be displayed can be the information that needs to be filled and displayed in the target notification template.
[0060] In some implementations, the electronic device can determine the fields to be filled in the target notification template based on the above target notification template, and use the determined fields to be filled as target fields; when obtaining the above information to be displayed, the electronic device can obtain the information of the above target fields corresponding to the first notification message from the first application, and use it as the information to be displayed corresponding to the above first notification message.
[0061] In one possible implementation, the system can send a request to the first application for information about the target fields mentioned above through an Application Programming Interface (API); upon receiving the request, the first application can respond to the request and return the information about the target fields mentioned above.
[0062] In some implementations, the first notification area in this application embodiment can be implemented based on a container. A container is a basic element in a user interface used to contain other components (such as buttons, labels, text boxes, etc.). That is, the first notification area can be a container. When obtaining the information to be displayed, the container can request the information to be displayed from the first application. After receiving the request, the first application can return the information to be displayed to the container.
[0063] In some implementations, considering that different notification types contain different information, different notification templates can be used to display the second notification content for different notification types to better present the notification message. Therefore, when obtaining the information to be displayed, the notification template corresponding to the notification type of the first notification message can be determined as the target notification template.
[0064] The notification types can include notifications of new instant messaging messages, notifications of push notifications, system update notifications, event reminders, marketing notifications, etc., with no specific limitation on the particular notification type. In the above embodiments, the electronic device can be pre-configured with notification templates corresponding to different notification types. Each notification template corresponds to the notification message of that type, meaning the notification template is matched to the specific notification service. For example, for notifications of new instant messaging messages, the notification template can include the message sender, the content of the new message, the message sending time, and controls for replying to the message; for notifications of push notifications, the notification template can include the title of the news information, the body of the message, images in the news information, and videos in the news information; and for marketing notifications, it can include the title of the marketing campaign, the product name, the product image, and the product purchase control.
[0065] Step S230: Based on the information to be displayed and the target notification template, the first notification content is switched to the second notification content corresponding to the first notification message. The second notification content is displayed according to the target notification template. The second notification content includes the information to be displayed, and the information included in the second notification content is more than the information included in the first notification content.
[0066] In this embodiment, after obtaining the above-mentioned information to be displayed, the first notification content can be switched to the second notification content corresponding to the first notification message based on the information to be displayed and the notification template. When switching the first notification content to the second notification content, the above-mentioned information to be displayed can be displayed in the above-mentioned first notification area according to the above-mentioned target notification template, thereby displaying the above-mentioned second notification content.
[0067] In some implementations, the above-mentioned information to be displayed can be filled into the corresponding position in the target notification template, and then the target notification target filled with the above-mentioned information to be displayed can be rendered and displayed, thereby completing the display of the above-mentioned second notification content.
[0068] In some implementations, considering that the first notification message contains a lot of information, even after switching the first notification content to the second notification content, it may not be possible to fully display all the information in the first notification message. Therefore, the electronic device can also respond to the swiping operation in the area where the second notification content is located to display the undisplayed information of the first notification message and hide the displayed information of the first notification message, thereby achieving the effect that the user can fully view the notification message in the notification area. It is understandable that the difference between the methods of displaying notification messages in the notification center in related technologies is that in related technologies, operating on the notification message triggers a switch of the display interface to the application interface corresponding to the notification message. However, in this implementation, the notification message can be fully viewed in the notification area by inputting a swiping operation, thus achieving the effect of fully browsing the notification message in the notification area.
[0069] In some implementations, after switching the first notification content to the second notification content, the undisplayed information in the first notification message can be actively displayed, while the displayed information in the first notification message can be hidden. Optionally, all information in the first notification message can be displayed in the area where the second notification content is located by playing it in turn or scrolling.
[0070] The information display method provided in this application embodiment allows an electronic device to display a first notification content after receiving a notification message. Then, based on an expansion operation of the first notification content and according to a target notification template, a second notification content containing more information about the notification message is displayed. This enables the display of more information about the notification message, allowing users to browse more information in the notification area without needing to enter the application. This facilitates users' full understanding of the received notification message and enables quick browsing of the notification message. Furthermore, the second notification content, displayed according to the target notification template, improves the display effect of the notification message and makes it easier for users to view the notification message.
[0071] Please see Figure 5 , Figure 5 A flowchart illustrating an information display method according to another embodiment of this application is shown. This information display method is applied to the aforementioned electronic device, and will be discussed below. Figure 5 The process shown will be described in detail. The information display method may specifically include the following steps:
[0072] Step S310: Upon receiving a first notification message from the first application, display the first notification content corresponding to the first notification message in the first notification area of the interface.
[0073] Step S320: In response to the first expansion operation on the first notification content, the first notification content is switched to the second notification content corresponding to the first notification message, wherein the second notification content includes more information than the first notification content.
[0074] In the embodiments of this application, steps S310 and S320 can be referred to the contents of other embodiments, and will not be repeated here.
[0075] Step S330: In response to a second expansion operation on the second notification content, the second notification content is switched to a third notification content corresponding to the first notification message, wherein the third notification content includes more information than the second notification content.
[0076] In this embodiment, after the electronic device switches the first notification content in the first notification area to the second notification content corresponding to the first notification message according to the first expansion operation on the first notification content, considering that the first notification message contains a lot of information, it may not be possible to fully display all the information of the first notification message after switching the first notification content to the second notification content. Therefore, the electronic device can also take the detected expansion operation as the second expansion operation when it detects the expansion operation on the second notification content. In response to the second expansion operation, the electronic device can switch the second notification content displayed in the first notification area to the third notification content corresponding to the first notification message. The information included in the third notification content after the switch is more than the information included in the second notification content before the switch. This allows the user to view more information about the first notification message by expanding the displayed notification content again, thus making it easier for the user to fully understand the first notification message.
[0077] In some implementations, when the electronic device switches the second notification content displayed in the first notification area to the third notification content, the display size of the first notification area can be increased to display more information about the first notification message in the first notification area, that is, the third notification content can be displayed in the first notification area.
[0078] In some implementations, the way an electronic device displays third notification content in the first notification area can be compared to the way it displays second notification content in the first notification area in the foregoing embodiments. The difference is that the third notification content includes information not included in the second notification content. For example, if the second notification content includes the title, summary information, application information of the first application, images, videos, text information, and product information of the first notification message, then the displayed third notification content can include the information in the second notification content, as well as images, videos, text information, and product information not included in the second notification content of the first notification message.
[0079] For example, please also refer to Figure 2 , Figure 3 and Figure 6 ,like Figure 2 As shown, when the electronic device is displaying the lock screen A1, if it receives a first notification message from a news application, the electronic device can display the first notification content A3 corresponding to that first notification message in the first notification area A2 of the lock screen A1; for example... Figure 3 As shown, if the electronic device detects an expand operation on the first notification content A3, it can switch the first notification content A3 displayed in the first notification area A2 to the second notification content A5. In this case, the second notification content A5 adds an image display compared to the first notification content A3; for example... Figure 6 As shown, if the electronic device detects an expansion operation on the second notification content A5, the electronic device can switch the second notification content A5 displayed in the first notification area A2 to the third notification content B1. At this time, the third notification content B1 has more text information than the second notification content A5.
[0080] The information display method provided in this application embodiment allows an electronic device to display a second notification, which includes more information about the notification message, after displaying a first notification content in response to a received notification message. This second notification content is then expanded based on the first notification content, enabling the display of more information about the notification message. Users can browse more information in the notification area without needing to access the application, facilitating a quick overview of the received notification message. Furthermore, the electronic device can further expand the displayed notification content to display more information corresponding to the notification message, allowing users to view even more details about the notification message.
[0081] Please see Figure 7 , Figure 7 A flowchart illustrating an information display method according to another embodiment of this application is shown. This information display method is applied to the aforementioned electronic device, and will be discussed below. Figure 7 The process shown will be described in detail. The information display method may specifically include the following steps:
[0082] Step S410: Upon receiving a first notification message from the first application, display the first notification content corresponding to the first notification message in the first notification area of the interface.
[0083] Step S420: In response to the first expansion operation on the first notification content, the first notification content is switched to the second notification content corresponding to the first notification message. The second notification content includes more information than the first notification content, and the second notification content includes interactive elements corresponding to the first notification message.
[0084] In this embodiment, after the electronic device switches the first notification content to the second notification content corresponding to the first notification message in response to a first expansion operation, the displayed second notification content may include interactive elements corresponding to the first notification message. These interactive elements are determined based on the interactive needs that a user may have when viewing the first notification message. Interactive elements refer to various elements used by a user when interacting with the system or software, such as controls, text boxes, drop-down lists, icons, sliders, and slider blocks. By displaying corresponding interactive elements for the first notification message, users can complete related operations on the first notification message based on the interactive elements, without needing to enter the application interface corresponding to the first notification message, thus facilitating the user's desired operations on the first notification message.
[0085] In some implementations, the electronic device may display the second notification content as shown in the target notification template, and the target notification template corresponds to the first notification message, for example, it matches the notification type of the first notification message. In such cases, the interactive elements may be interactive elements included in the target notification template. That is, when the target notification template is pre-configured, the interactive elements can be configured in the template notification template according to the interactive needs that the user may have when viewing the first notification message.
[0086] Step S430: In response to the operation on the interactive element, perform the processing corresponding to the interactive element on the first notification message.
[0087] In this embodiment, after the electronic device displays the interactive elements in the first notification area, the electronic device can detect operations on the interface. When an operation on the interactive elements is detected, such as a click or press operation, the electronic device can respond to the detected operation and perform processing corresponding to the interactive elements on the first notification message. Thus, the user can complete the relevant operations on the first notification message through operations on the interactive elements in the first notification area. Since there is no need to enter the application interface of the first application to perform the operation, the user operation can be reduced, and the convenience of the user in processing the notification message can be improved.
[0088] In some implementations, the information corresponding to the first notification message may include a video to be played. In such cases, the second notification content may include a video playback window for the video to be played corresponding to the first notification message. After the electronic device displays the second notification content in the first notification area, it can, upon detecting a playback operation in the video playback window, respond to the playback operation and play the video to be played in the video playback area. This allows the user to watch the video in the notification message directly in the notification area without needing to switch the displayed interface to the application interface of the first application to watch the video.
[0089] In one possible implementation, the above playback operation can be a click operation, a press operation, etc. in the video playback window. In this way, the user can play the video in the notification message after entering a click operation or a press operation in the video playback window.
[0090] For example, please refer to Figure 8 When an electronic device is displaying the lock screen A1, if it receives a first notification message from a social application, and the information in the first notification message includes a video to be played, then the electronic device can display the first notification content A3 corresponding to the first notification message in the first notification area A2 of the lock screen A1, and the first notification content A3 includes an expand control A4; please refer to [link / reference]. Figure 9 If the electronic device detects an operation on the expanded control A4, it can switch the first notification content A3 displayed in the first notification area A2 to the second notification content A5, and the second notification content A5 includes a video playback window A6. If the electronic device detects a click operation in the video playback window A6, it can play the video to be played in the video playback window A6.
[0091] In one possible implementation, since some videos are suitable for playback in a larger window, the electronic device can also increase the display size of the video playback window in response to the expansion operation of the video playback window, so that the video to be played can be played in a larger video playback window so that the user can better watch the video.
[0092] For example, please also refer to Figure 9 and Figure 10 After detecting an expand operation on video playback window A6, the electronic device can display... Figure 10 The interface shown uses a larger video playback window A6 to play the video to be played in the larger video playback window A6.
[0093] In one possible implementation, the video playback window may include a playback control, and the playback operation may be a touch operation on the playback control. In this way, the video in the notification message can be played after the user performs a touch operation on the playback control.
[0094] In one possible implementation, while the video to be played is being played in the video playback area, the electronic device may also pause the playback of the video to be played in response to a pause operation detected in the video playback window.
[0095] In some implementations, the information corresponding to the first notification message may include recommended products. In such cases, the second notification content may include a purchase control for the recommended products. Of course, the second notification content may also include product information for the recommended products, such as product name and product image. After the electronic device displays the second notification content in the first notification area, it can, upon detecting a trigger operation on the purchase control, switch the current interface to the first interface in response to that trigger operation. The first interface is the purchase interface for the recommended products in the first application. This allows users to directly purchase recommended products in the notification area, simplifying user operations and improving the usability of the electronic device.
[0096] For example, please refer to Figure 11 When an electronic device is displaying the lock screen A1, if it receives a first notification message from a shopping application, and the first notification message includes information about recommended products, then the electronic device can display the corresponding first notification content A3 in the first notification area A2 of the lock screen A1; please refer to [link to relevant documentation]. Figure 12If the electronic device detects an expansion operation on the first notification content A3, the electronic device can switch the first notification content A3 displayed in the first notification area A2 to the second notification content A5. The second notification content A5 includes product information of the recommended product and the purchase control A7 corresponding to the recommended product. When the electronic device detects a touch operation on the purchase control A7, it can switch the interface to the purchase interface of the recommended product corresponding to the operated purchase control A7.
[0097] In some implementations, since users may need to access the application corresponding to the notification message to view or process it when they see it, the second notification content may include an entry control for the first application. After the electronic device displays the second notification content in the first notification area, it can, upon detecting a trigger operation on the entry control, switch the currently displayed interface to the second interface of the first application in response to the trigger operation. The second interface is the interface corresponding to the first notification message in the first application.
[0098] In one possible implementation, when the electronic device displays the second notification content described above for any notification message, it can also display the above-mentioned entry control to meet the need for accessing and processing the notification message through the entry control in any notification message scenario. For example, please refer to... Figure 9 If the first notification message is from a social application, Figure 9 The first notification content A3 in the interface shown may also include an entry control A8; please refer to [link / reference]. Figure 12 If the first notification message is a product recommendation notification message, Figure 12 The first notification content A3 in the interface shown can also include the entry control A8.
[0099] In some implementations, for each application's notification message, the electronic device can also display a configuration interface for interactive elements; based on the operations in the configuration interface, the electronic device can configure the interactive elements to be displayed when the electronic device displays the above-mentioned second notification content in the first notification area, thereby meeting the different interactive needs of users.
[0100] The information display method provided in this application embodiment allows an electronic device to display a second notification, which includes more information about the notification message, after displaying a first notification content in response to a received notification message. This second notification content is then expanded based on the first notification content, enabling the display of more information about the notification message. Users can browse more information in the notification area without needing to access the application, facilitating a quick overview of the received notification message. Furthermore, when displaying the second notification content, which includes more information about the notification message, interactive elements corresponding to the first notification message are displayed. Users can interact with these interactive elements in the notification area to process the notification message without needing to access the application interface, thus simplifying user operations, improving the convenience of processing notification messages, and ultimately enhancing the usability of the electronic device.
[0101] Please see Figure 13 , Figure 13 A flowchart illustrating an information display method according to another embodiment of this application is shown. This information display method is applied to the aforementioned electronic device, and will be discussed below. Figure 13 The process shown will be described in detail. The information display method may specifically include the following steps:
[0102] Step S510: Upon receiving a first notification message from the first application, display the first notification content corresponding to the first notification message in the first notification area of the interface.
[0103] Step S520: In response to the first expansion operation on the first notification content, the first notification content is switched to the second notification content corresponding to the first notification message, wherein the second notification content includes more information than the first notification content.
[0104] In the embodiments of this application, steps S510 and S520 can be referred to the content of the foregoing embodiments, and will not be repeated here.
[0105] Step S530: Upon receiving a second notification message from the second application, display the fourth notification content corresponding to the second notification message in the second notification area of the interface. The fourth notification content contains less information than the second notification content.
[0106] In this embodiment, when an electronic device receives a second notification message from a second application, it can also display a fourth notification message corresponding to the second notification message in the second notification area of the interface, so that the user can view the fourth notification message and thus know that a second notification message has been received. Furthermore, the fourth notification message displayed in the second notification area contains less information than the information contained in the second notification message.
[0107] In some implementations, the second notification area can be an area for displaying notification messages in related technologies, such as the area corresponding to the notification center of an electronic device. The notification content displayed in the second notification area can include the title information, summary information, and other core information that can quickly convey the notification message. Of course, it can also include application information of the application to which the first notification message belongs (i.e., the application from which it originates).
[0108] In some implementations, the electronic device displays the second notification area as follows: when the electronic device is in a locked state, the second notification area is displayed on the lock screen interface; or when the electronic device is in an unlocked state, the second notification area is displayed on the interface in response to an operation that triggers the display of the notification area on the currently displayed interface.
[0109] Step S540: In response to the triggering operation for the fourth notification content, switch the currently displayed interface to the third interface, which is the interface corresponding to the second notification message in the second application.
[0110] In this embodiment, after displaying the fourth notification content, the electronic device can detect operations on the interface. Upon detecting a trigger operation on the notification content, it switches the currently displayed interface to the interface corresponding to the second notification message in the second application. In other words, after the user operates on the notification content in the second notification area, the electronic device will switch the displayed interface to the application interface corresponding to the notification message. It should be noted that the execution order of steps S510 and S520, and steps S530 and S540, is not limited.
[0111] In some implementations, the electronic device can display the notification content corresponding to each notification message in the first notification area and the second notification area respectively, so that the user can view the same notification message in the first notification area and the second notification area, and can process the notification content displayed in different notification areas according to their needs.
[0112] In some implementations, when an electronic device receives a notification message from a first application, it can determine whether the first application is any application in a target list. If the first application is an application in the target list, it means that the first application is the application that the user needs to browse in the notification area, and the electronic device can display the first notification content corresponding to the first notification message in the first notification area. If the first application is not an application in the target list, it means that the first application is not the application that the user needs to browse in the notification area, and the electronic device can display the notification content corresponding to the first notification message in a second notification area.
[0113] In one possible implementation, the target list may be pre-determined by the electronic device based on user input. For example, the electronic device may display a settings interface for the target list, which may include options corresponding to all applications installed on the electronic device; the electronic device adds the application corresponding to the selected target option to the target list based on the detected selection operation of the target option.
[0114] In one possible implementation, a complexity score for each application's notification messages can be pre-determined. After determining the complexity score for each application's notification messages, applications whose complexity scores meet the target score criteria can be added to the target list. The complexity score characterizes the complexity of the notification message; the target score criteria can include a complexity score greater than a target score. Understandably, a higher complexity of the notification message means that the user cannot fully understand the information within the brief notification content, thus creating a need for the user to view more information. Therefore, applications whose complexity scores meet the target score criteria can be added to the target list so that the notification content corresponding to the notification messages from the applications in the target list can be displayed in the first notification area. This allows the user to expand the displayed notification content, enabling the first notification area to display more information from the notification message.
[0115] Furthermore, upon receiving a second notification message from the second application, the electronic device can determine whether the second application is any of the applications in the target list. If the second application is not in the target list, the fourth notification content can be displayed in the second notification area. If the second application is in the target list, the notification content corresponding to the second notification message can be displayed in the first notification area, allowing the user to expand the displayed notification content and display more information from the second notification message in the first notification area.
[0116] In one possible implementation, please refer to Figure 14The electronic device can simultaneously display both the first notification area A2 and the second notification area A9 on the interface. This allows users to view notification messages in both the first and second notification areas. Furthermore, the user can expand the notification content displayed in the first notification area to reveal more information about the notification message.
[0117] In one possible implementation, the electronic device can display one of the first notification area and the second notification area on the interface, and the electronic device can switch the currently displayed notification area to the other notification area after detecting a switching operation for the notification area. For example, please refer to... Figure 15 , Figure 15 Only the first notification area A2 is shown; please refer to [link / reference]. Figure 16 When a switching operation targeting the notification area is detected (e.g., targeting...) Figure 16 After clicking the "Notification Center" button shown, the displayed notification area can be switched to the second notification area A9.
[0118] The information display method provided in this application embodiment allows an electronic device to display a first notification content after receiving a notification message, and then, based on an expansion operation of the first notification content, display a second notification content that includes more information about the notification message. This enables the display of more information about the notification message, allowing users to browse more information in the notification area without having to enter the application, facilitating a full understanding of the received notification message and enabling users to quickly browse the notification message. In addition, the electronic device can also display regular notification content in another notification area for the notification message, allowing users to view the notification message in different notification areas.
[0119] Please see Figure 17 This diagram illustrates a structural block diagram of an information display device 500 provided in an embodiment of this application. The information display device 500 utilizes the aforementioned electronic device and includes a first notification display module 510 and a second notification display module 520. The first notification display module 510 is configured to display first notification content corresponding to the first notification message in a first notification area of the interface upon receiving a first notification message from a first application. The second notification display module 520 is configured to switch the first notification content to second notification content corresponding to the first notification message in response to a first expansion operation on the first notification content, wherein the second notification content includes more information than the first notification content.
[0120] In some implementations, the second notification display module 520 may be specifically used to: obtain the information to be displayed corresponding to the first notification message from the first application based on the target notification template; and switch the first notification content to the second notification content corresponding to the first notification message based on the information to be displayed and the target notification template, wherein the second notification content is displayed according to the target notification template and includes the information to be displayed.
[0121] In one possible implementation, the second notification display module 520 may also be used to determine a notification template corresponding to the notification type based on the notification type of the first notification message, and use it as the target notification template, before obtaining the information to be displayed corresponding to the first notification message from the first application based on the target notification template.
[0122] In one possible implementation, the second notification display module 520 can also be used to obtain information of the target field corresponding to the first notification message from the first application based on the target notification template, and use it as the information to be displayed, wherein the target field is the field to be filled in the target notification template.
[0123] In some embodiments, the information display device 500 may further include a third notification display module, which is used to switch the first notification content to the second notification content corresponding to the first notification message in response to a first expansion operation on the first notification content, and then, in response to a second expansion operation on the second notification content, switch the second notification content to the third notification content corresponding to the first notification message, wherein the third notification content includes more information than the second notification content.
[0124] In some embodiments, the second notification content includes an interactive element corresponding to the first notification message, and the information display device 500 may further include a notification interaction module. The notification interaction module is used, after switching the first notification content to the second notification content corresponding to the first notification message in response to a first expansion operation on the first notification content, to perform processing corresponding to the interactive element on the first notification message in response to an operation on the interactive element.
[0125] In one possible implementation, the interactive element includes a video playback window for the video to be played corresponding to the first notification message. The notification interaction module can be specifically used to: play the video to be played in the video playback area in response to a playback operation in the video playback area.
[0126] In one possible implementation, the interactive element includes a purchase control for the recommended product corresponding to the first notification message. The notification interaction module can be specifically used to: in response to a trigger operation on the purchase control, switch the current interface to a first interface, which is the purchase interface for the recommended product in the first application.
[0127] In some implementations, the interactive element includes an entry control corresponding to the first application, and the notification interaction module can be specifically used to: in response to a trigger operation on the entry control, switch the currently displayed interface to a second interface of the first application, wherein the second interface is the interface corresponding to the first notification message in the first application.
[0128] In some embodiments, the information display device 500 may further include a fourth notification display module and a third interface switching module. The fourth notification display module is used to display fourth notification content corresponding to the second notification message in the second notification area of the interface upon receiving a second notification message from the second application. The fourth notification content includes less information than the second notification content. The third interface switching module is used to switch the currently displayed interface to a third interface in response to a trigger operation on the fourth notification content. The third interface is the interface corresponding to the second notification message in the second application.
[0129] In one possible implementation, the second notification display module 520 may be specifically configured to: upon receiving a notification message from the first application, if the first application is any application in the target list, then display the first notification content in the first notification area. The fourth notification display module may be specifically configured to: upon receiving a second notification message from the second application, if the first application is not an application in the target list, then display the fourth notification content in the second notification area.
[0130] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the above-described device and module can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0131] In the several embodiments provided in this application, the coupling between modules can be electrical, mechanical, or other forms of coupling.
[0132] Furthermore, the functional modules in the various embodiments of this application can be integrated into one processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The integrated modules described above can be implemented in hardware or as software functional modules.
[0133] In summary, the solution provided in this application displays the first notification content corresponding to the first notification message in the first notification area of the interface when a first notification message is received from a first application. In response to a first expansion operation on the first notification content, the first notification content is switched to the second notification content corresponding to the first notification message. The second notification content contains more information than the first notification content. Thus, the electronic device can display more information about the notification message when it receives the notification message, allowing the user to browse more information in the notification area without having to enter the application, making it easier for the user to fully understand the received notification message.
[0134] Please refer to Figure 18 This document illustrates a structural block diagram of an electronic device according to an embodiment of this application. The electronic device 100 can be a smartphone, tablet computer, e-reader, laptop computer, smartwatch, or other electronic device capable of running applications. The electronic device 100 in this application may include one or more of the following components: a processor 110, a memory 120, a display screen 130, and one or more applications. The one or more applications may be stored in the memory 120 and configured to be executed by one or more processors 110. The one or more applications are configured to perform the methods described in the foregoing method embodiments.
[0135] The processor 110 uses various interfaces and lines to connect various parts within the electronic device 100. It executes various functions of the electronic device 100 and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory 120, and calling data stored in the memory 120.
[0136] The memory 120 can be used to store instructions, programs, code, code sets, or instruction sets. The memory 120 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 touch function, sound playback function, image playback function, etc.), instructions for implementing the various method embodiments described above, etc.
[0137] The display screen 130 is a display component used for displaying images and is usually located on the front panel of the electronic device 100.
[0138] Please refer to Figure 19 This diagram illustrates a structural block diagram of a computer-readable storage medium provided in an embodiment of this application. The computer-readable medium 800 stores program code that can be called by a processor to execute the methods described in the above method embodiments.
[0139] The computer-readable storage medium 800 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read-Only Memory), EPROM, hard disk, or ROM. Optionally, the computer-readable storage medium 800 includes a non-transitory computer-readable storage medium. The computer-readable storage medium 800 has storage space for program code 810 that performs any of the method steps described above. This program code can be read from or written to one or more computer program products. The program code 810 may be compressed, for example, in a suitable form.
[0140] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.
Claims
1. An information display method, characterized in that, The method includes: Upon receiving a first notification message from a first application, if the first application is any application in the target list, the first notification content corresponding to the first notification message is displayed in the first notification area of the interface. The complexity score of the notification messages of the applications in the target list meets the target score condition, and the complexity score is used to characterize the complexity of the notification message. In response to a first expansion operation on the first notification content, the first notification content is switched to a second notification content corresponding to the first notification message, wherein the second notification content includes more information than the first notification content. If a second notification message from a second application is received, and the second application is not an application in the target list, then a fourth notification message corresponding to the second notification message is displayed in the second notification area of the interface. The fourth notification message contains less information than the second notification message. In response to the triggering operation for the fourth notification content, the currently displayed interface is switched to the third interface, which is the interface corresponding to the second notification message in the second application; In response to a switching operation on the notification area in the interface, the currently displayed notification area in the interface is switched to another notification area.
2. The method according to claim 1, characterized in that, The step of switching the first notification content to the second notification content corresponding to the first notification message includes: Based on the target notification template, obtain the information to be displayed corresponding to the first notification message from the first application; Based on the information to be displayed and the target notification template, the first notification content is switched to the second notification content corresponding to the first notification message. The second notification content is displayed according to the target notification template and includes the information to be displayed.
3. The method according to claim 2, characterized in that, Before obtaining the information to be displayed corresponding to the first notification message from the first application based on the target notification template, the method further includes: Based on the notification type corresponding to the first notification message, a notification template corresponding to the notification type is determined and used as the target notification template.
4. The method according to claim 2, characterized in that, The step of obtaining the information to be displayed corresponding to the first notification message from the first application based on the target notification template includes: Based on the target notification template, information of the target field corresponding to the first notification message is obtained from the first application and used as the information to be displayed. The target field is the field to be filled in the target notification template.
5. The method according to claim 1, characterized in that, After switching the first notification content to the second notification content corresponding to the first notification message in response to a first expansion operation for the first notification content, the method further includes: In response to a second expansion operation on the second notification content, the second notification content is switched to a third notification content corresponding to the first notification message, wherein the third notification content includes more information than the second notification content.
6. The method according to claim 1, characterized in that, The second notification content includes interactive elements corresponding to the first notification message. After switching the first notification content to the second notification content corresponding to the first notification message in response to a first expand operation on the first notification content, the method further includes: In response to an operation on the interactive element, the processing corresponding to the interactive element is performed on the first notification message.
7. The method according to claim 6, characterized in that, The interactive element includes a video playback window for the video to be played corresponding to the first notification message. The step of responding to an operation on the interactive element and performing processing corresponding to the interactive element on the first notification message includes: In response to a playback operation in the video playback window, the video to be played is played in the video playback area.
8. The method according to claim 6, characterized in that, The interactive element includes a purchase control for the recommended product corresponding to the first notification message. The step of responding to an operation on the interactive element and performing processing corresponding to the interactive element on the first notification message includes: In response to a triggered operation on the purchase control, the current interface is switched to a first interface, which is the purchase interface for the recommended products in the first application.
9. The method according to claim 6, characterized in that, The second notification content includes an entry control corresponding to the first application. The step of responding to an operation on the interactive element and performing processing corresponding to the interactive element on the first notification message includes: In response to a trigger operation on the entry control, the currently displayed interface is switched to the second interface of the first application, which is the interface corresponding to the first notification message in the first application.
10. An information display device, characterized in that, The device includes: a first notification display module, a second notification display module, a fourth notification display module, and a third interface switching module, wherein, The first notification display module is used to display the first notification content corresponding to the first notification message in the first notification area of the interface if the first application is any application in the target list when a first notification message is received from the first application. The complexity score of the notification messages of the applications in the target list meets the target score condition, and the complexity score is used to characterize the complexity of the notification message. The second notification display module is used to respond to a first expansion operation on the first notification content by switching the first notification content to the second notification content corresponding to the first notification message, wherein the second notification content includes more information than the first notification content. The fourth notification display module is used to display the fourth notification content corresponding to the second notification message in the second notification area of the interface if the second application is not an application in the target list when the second notification message of the second application is received. The fourth notification content includes less information than the second notification content. The third interface switching module is used to switch the currently displayed interface to the third interface in response to the trigger operation of the fourth notification content. The third interface is the interface corresponding to the second notification message in the second application. In response to the switching operation of the notification area in the interface, the currently displayed notification area in the interface is switched to another notification area.
11. An electronic device, characterized in that, include: One or more processors; Memory; One or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs being configured to perform the method as described in any one of claims 1-9.
12. A computer-readable storage medium, characterized in that, The computer-readable storage medium contains program code that can be invoked by a processor to execute the method as described in any one of claims 1-9.