A message display method, apparatus, device, and storage medium
By displaying sidebar controls and notification messages on the media content display page, the problem of insufficient user experience in existing technologies is solved, enabling timely reminders of notification messages and quick addition of functional modules, thereby improving the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-20
- Publication Date
- 2026-03-10
AI Technical Summary
The existing message display functionality in the application fails to meet user needs, resulting in an inadequate user experience.
Display media content on the media content display page and respond to notification messages from the functional modules in the sidebar, displaying notification messages in preset locations, including sidebar controls, entry icons, module icons, and timer hiding operations.
The notification message display function has been enriched, timely reminders have been given to users, the user experience has been improved, and the addition of functional modules is supported.
Smart Images

Figure CN116774873B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of data processing, and in particular to a message display method, apparatus, device, and storage medium. Background Technology
[0002] With the development of internet technology, message display functions have been widely used in various applications.
[0003] The message display functionality currently available in the application no longer meets user needs. Therefore, how to enrich message display functionality and improve user experience is a pressing technical issue that needs to be addressed. Summary of the Invention
[0004] To address the aforementioned technical problems, this disclosure provides a message display method.
[0005] Firstly, this disclosure provides a message display method, the method comprising:
[0006] Display media content on the media content display page;
[0007] In response to notification messages from functional modules in the sidebar of the media content display page, the notification message is displayed at a preset location on the media content display page.
[0008] In one optional implementation, the notification message in response to a function module in the sidebar of the media content display page is displayed at a preset position on the media content display page, including:
[0009] In response to notification messages from functional modules in the sidebar of the media content display page, the sidebar control corresponding to the sidebar is displayed on the media content display page.
[0010] The notification message is displayed on the sidebar control.
[0011] In an optional implementation, the sidebar control further displays an entry identifier corresponding to the sidebar, and after displaying the notification message on the sidebar control, the method further includes:
[0012] The entry identifier on the sidebar control is switched to the user icon corresponding to the notification message; wherein, the user icon is used to prompt the target user corresponding to the notification message.
[0013] In one optional implementation, the sidebar control also displays a module identifier corresponding to the functional module, which is used to indicate the functional module to which the notification message belongs.
[0014] In one optional implementation, the method further includes:
[0015] In response to a trigger operation on the sidebar control, the sidebar is displayed on the media content display page.
[0016] In an optional implementation, the sidebar control further displays a close control, and the method further includes:
[0017] In response to a trigger operation on the close control, the sidebar control and the content displayed on the sidebar control are hidden; wherein the content displayed includes at least one of the notification message, the module identifier, the entry identifier, and the user icon.
[0018] In one optional implementation, after displaying the notification message in response to the functional module in the sidebar of the media content display page at a preset position on the media content display page, the method further includes:
[0019] The display time of the notification message is timed, and the notification message is hidden when the timer reaches a preset duration.
[0020] In one optional implementation, the method further includes:
[0021] Add controls to the display function modules on the media content display page;
[0022] In response to the triggering operation of adding controls to the functional module, the sidebar is displayed on the media content display page, and the functional module corresponding to the media content displayed on the media content display page is added to the sidebar.
[0023] Secondly, this disclosure provides a message display device, the device comprising:
[0024] The display module showcases media content on the media content display page;
[0025] The first display module, in response to a notification message from a function module in the sidebar of the media content display page, displays the notification message at a preset position on the media content display page.
[0026] Thirdly, this disclosure provides a computer-readable storage medium storing instructions that, when executed on a terminal device, cause the terminal device to implement the above-described method.
[0027] Fourthly, this disclosure provides a message display device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, it implements the above-described method.
[0028] Fifthly, this disclosure provides a computer program product comprising a computer program / instruction that, when executed by a processor, implements the method described above.
[0029] The technical solution provided in this disclosure has at least the following advantages compared with the prior art:
[0030] This disclosure provides a message display method. Media content is displayed on a media content display page, and in response to notification messages from functional modules in the sidebar of the media content display page, a notification message is displayed at a preset position on the media content display page. Therefore, by displaying notification messages from functional modules in the sidebar at a preset position on the media content display page, this disclosure can promptly remind users of notification messages from functional modules in the sidebar while they are browsing media content, enriching the display functionality of notification messages and thus improving the user experience. Attached Figure Description
[0031] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0032] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0033] Figure 1 A flowchart illustrating a message display method provided in this embodiment of the disclosure;
[0034] Figure 2 A schematic diagram of a media content display page provided in an embodiment of this disclosure;
[0035] Figure 3 A schematic diagram of another media content display page provided in an embodiment of this disclosure;
[0036] Figure 4 A schematic diagram of yet another media content display page provided in an embodiment of this disclosure;
[0037] Figure 5 A schematic diagram of yet another media content display page provided in an embodiment of this disclosure;
[0038] Figure 6 A schematic diagram illustrating yet another media content display page provided in an embodiment of this disclosure;
[0039] Figure 7 This is a schematic diagram of the structure of a message display device provided in an embodiment of the present disclosure;
[0040] Figure 8 This is a schematic diagram of the structure of a message display device provided in an embodiment of this disclosure. Detailed Implementation
[0041] To better understand the above-mentioned objectives, features, and advantages of this disclosure, the solutions disclosed herein will be further described below. It should be noted that, unless otherwise specified, the embodiments and features described herein can be combined with each other.
[0042] Numerous specific details are set forth in the following description in order to provide a full understanding of this disclosure, but this disclosure may also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only some, and not all, of the embodiments of this disclosure.
[0043] To enrich the display functionality of notification messages for functional modules, this disclosure provides a message display method. First, media content is displayed on a media content display page. Then, upon receiving a notification message from a functional module in the sidebar of the media content display page, the notification message is displayed at a preset location on the media content display page. This disclosure enables timely notifications from functional modules in the sidebar to the user while they are browsing media content, enriching the display functionality of notification messages and thus improving the user experience.
[0044] Based on this, the present disclosure provides a message display method, referring to... Figure 1 The flowchart below illustrates a message display method provided in this embodiment of the present disclosure. The method includes:
[0045] S101: Display media content on the media content display page.
[0046] The message display method provided in this disclosure can be applied to a client, such as a client deployed on a smartphone, a client deployed on a tablet, etc.
[0047] The media content display page can be a page that displays media content, specifically including a video recommendation page, etc. The media content display page is used to display media content. In this embodiment of the disclosure, the media content displayed on the media content display page can be any type of media content, including video content, text and image content, etc.
[0048] like Figure 2 The diagram shown is a schematic representation of a media content display page provided in an embodiment of this disclosure. The media content can be displayed as follows: Figure 2 As shown, in addition, tabs are also displayed on the media content display page, such as the 202 "Recommended" tab, to identify the media content display page. There can be more than one tab, and page switching can be achieved by switching tabs.
[0049] S102: In response to a notification message from a function module in the sidebar of the media content display page, the notification message is displayed at a preset position on the media content display page.
[0050] A sidebar is a page format that appears from the side of the main page and is displayed on the side of the main page. It can also be hidden on the side. When the sidebar is displayed, it will cover part of the main page. The sidebar contains pre-added functional modules and other content.
[0051] A functional module refers to an application with certain specific functions, such as a mini-program or an app. In this embodiment of the disclosure, a functional module is any module pre-added to the sidebar. The functional module can generate notification messages to notify the relevant information of the functional module.
[0052] In addition, the location for displaying notification messages on the media content display page is preset, and users can adjust the display location of notification messages according to their preferences; there are no restrictions here.
[0053] In this embodiment of the disclosure, when a notification message is received from a functional module in the sidebar of the media content display page, the media content display page displays the sidebar control corresponding to the sidebar, and displays the notification message on the sidebar control.
[0054] Specifically, the sidebar control displays the corresponding entry identifier and notification message content for the sidebar.
[0055] The entry sign indicates that users can access the sidebar by clicking the sidebar control.
[0056] As above Figure 2 As shown, entry point 201 means that users can trigger the display of the sidebar by clicking the sidebar control, and then enter the sidebar.
[0057] In this embodiment of the disclosure, during the process of browsing media content based on the media content display page, the functional modules in the sidebar of the media content display page may generate notification messages. In order to notify the user in a timely manner, the notification message can be displayed at a preset position on the media content display page when the notification message from the functional module in the sidebar of the media content display page is received, so as to notify the user in a timely manner.
[0058] Specifically, when a notification message is received from a functional module in the sidebar of the media content display page, the corresponding sidebar control is displayed on the media content display page. The sidebar control displays the notification message and the entry identifier. When the sidebar control displays the notification message, the tabs originally displayed on the media content display page can be hidden to reduce interference with the display of the notification message.
[0059] In practical applications, since displaying notification messages is intended to remind users to view the message to obtain relevant information about the corresponding functional modules, displaying notification messages for extended periods can affect users' browsing of media content and reduce their immersive experience. To address this issue, in this embodiment, the display time of the notification message is timed, and when the timer reaches a preset duration, the sidebar controls disappear and the notification message is hidden; additionally, the tabs on the media content display page can be redisplayed. Specifically, timing begins when a notification message is detected appearing on the media content display page, and when the timer reaches a preset duration, the sidebar controls and the notification message disappear from the media content display page, i.e., the notification message is hidden and the tabs are redisplayed.
[0060] In one optional implementation, when a notification message from a functional module in the sidebar of the media content display page is received, the notification message and entry identifier are displayed on the sidebar control of the media content display page, and the tab label is hidden. The display page then shows the sidebar control and the notification message and entry identifier displayed on it. , like Figure 3 The 301 error on the left side of the page. On the other hand, a timer starts when a notification message is detected appearing on the media content display page. When the display duration of the notification message reaches a preset duration, such as 1 second, the sidebar controls disappear, the notification message is hidden, and the tabs are redisplayed.
[0061] In practical applications, different notification messages may contain different types of content. Different display styles can be set for notification messages containing different content types, which can effectively prompt users.
[0062] In one optional implementation, upon receiving a notification message from a functional module in the sidebar of the media content display page, a sidebar control corresponding to the sidebar is displayed on the media content display page. The notification message and an entry identifier are first displayed on the sidebar control. If it is determined that the notification message contains a user identifier, the entry identifier displayed on the sidebar control can be dynamically switched to the user icon corresponding to that user identifier. The user icon is used to indicate that the notification message comes from the corresponding user, and the user icon can be a user avatar, user ID, etc.
[0063] like Figure 3 The diagram shows another media content display page provided in this embodiment. Assuming that when a notification message from a functional module in the sidebar of the media content display page is received, a sidebar control corresponding to the sidebar is displayed on the media content display page. The sidebar control displays the notification message and the sidebar's entry identifier. For example, the sidebar control 301 displays an entry identifier 303 and a notification description of "Updated work, come and check it out!" If it is determined that the notification message contains a user identifier, the entry identifier displayed on the sidebar control is switched to the user icon 302 corresponding to that user identifier. At this time, the sidebar control displays the user avatar 302 and the notification description of "Updated work, come and check it out!".
[0064] By smoothly switching from the entry icon and notification description displayed on the sidebar control to a dynamic display of the user icon and notification description, the way notification messages are displayed is enriched, and the user experience is improved.
[0065] In addition to displaying user icons and notification descriptions on the sidebar control, this embodiment of the disclosure also provides another sidebar display style. Specifically:
[0066] Receive notification messages from functional modules in the sidebar of the media content display page. If it is determined that the notification message contains a module identifier corresponding to the functional module, display the module identifier corresponding to the functional module on the sidebar control to indicate the functional module to which the notification message belongs.
[0067] To better understand the above embodiments, this disclosure provides a schematic diagram of a media content display page, such as... Figure 4 As shown, when a notification message from a functional module in the sidebar of the media content display page is received, if it is determined that the notification message of the functional module contains the module icon of the module program, the module identifier 402 corresponding to the functional module is displayed on the sidebar control. At this time, the sidebar control displays the entry identifier 401, the module identifier 402, and the notification description information 403, etc.
[0068] Furthermore, based on the above embodiments, although the sidebar control hides the sidebar control and its displayed content after a preset time period based on a display timer when displaying at least one of notification messages, module identifiers, entry identifiers, and user icons, users may have a need to close the sidebar control during this display period. Therefore, in this embodiment, the sidebar control can also display a close control while displaying notification messages and entry identifiers, specifically for closing the current sidebar control:
[0069] When a trigger operation is received for the close control, the sidebar control and its displayed content are hidden; the displayed content includes at least one of notification messages, module identifiers, entry identifiers, and user icons.
[0070] In one optional implementation, when a notification message from a functional module in the sidebar of the media content display page is received, the notification message and entry identifier are displayed on the sidebar control of the media content display page, and the tab label is hidden. A timer starts when the notification message is detected to be displayed on the media content display page. If the preset time has not been reached, the user triggers the sidebar control to enter the sidebar to view the message, or if the user is aware of the message based on the notification message on the sidebar control but does not want the notification message to continue to be displayed on the media content display page, the user can manually trigger the close control. At this time, the sidebar control is closed, and the content displayed on the sidebar control is hidden.
[0071] Since the sidebar may contain a large number of functional modules, it may also generate a large number of notification messages. In order to reduce the impact on users' browsing of media content, a display strategy for notification messages can be pre-set.
[0072] In this embodiment of the disclosure, assuming multiple notification messages from functional modules in the sidebar are received simultaneously, if it is determined that the notification messages do not belong to the same functional module, the notification message closest to the current time can be determined based on the generation time of the notification message, and that notification message can be displayed on the media content display page. Alternatively, the display order of the notification messages can be determined based on the frequency of user use of the functional modules, so that multiple notification messages can be displayed in a scrolling manner on the sidebar control of the media content display page.
[0073] In this embodiment of the disclosure, if multiple notification messages are determined to belong to the same functional module and are of the same type, then these multiple notification messages can be displayed together. This method simplifies the display of numerous notification messages.
[0074] For ease of understanding of the above embodiments, please refer to Figure 5This is a schematic diagram of another media content display page provided in this embodiment. When multiple notification messages of the same type from the same functional module are received in the sidebar of the media content display page, these multiple notification messages can be merged and displayed on the sidebar control of the media content display page, such as... Figure 5 The sidebar control shown displays the entry identifier 501, the number of notification messages "10+" 502, and the notification description information 503.
[0075] In one optional implementation, the media content displayed on the media content display page can be bound to one or more functional modules. During the browsing of media content, users can add the functional module corresponding to the media content to the sidebar. Specifically, in this embodiment of the disclosure, a functional module addition control can be displayed on the media content display page to trigger the addition of the functional module bound to the currently displayed media content to the sidebar.
[0076] Specifically, upon receiving a trigger operation to add controls to a functional module, a sidebar is displayed on the media content display page, and the functional module corresponding to the media content displayed on the media content display page is added to the sidebar.
[0077] The "Add Functional Module" control is used to add the functional modules bound to the currently displayed media content to the sidebar.
[0078] In one alternative implementation, the control for adding a functional module will only be displayed on the media content display page if the currently displayed media content is bound to a functional module, and only then can the user trigger the addition of the functional module corresponding to the media content to the sidebar.
[0079] like Figure 6 The diagram shown is a schematic of another media content display page provided in this embodiment of the present disclosure. The page displays a function module addition control 601, and the displayed content can be "Add function module to sidebar" to prompt the user about the function of the control. Of course, the displayed content on the function module addition control can also be other forms of content to prompt the user about the function of adding the function module bound to the currently displayed media content to the sidebar.
[0080] Based on the above embodiments, when a trigger operation is received to add control 601 to the functional module, in Figure 6The media content display page switches from a left-side display state to a right-side display state, displaying a sidebar such as 602, and adding the functional module corresponding to the media content to the sidebar. Assuming that the functional module bound to the media content is "functional module 1", when a trigger operation is received to add control 601 to the functional module, the sidebar 602 is displayed on the media content display page, and the functional module 1 corresponding to the media content is added to the sidebar 602.
[0081] In addition, the default position of function module 1 on the sidebar is set to the first row and first column, but users can also adjust it according to their own preferences.
[0082] This disclosed embodiment can promptly notify users of notification messages from functional modules in the sidebar while they are browsing media content, enriching the display functionality of notification messages and thus improving the user experience. Furthermore, it also supports adding functional modules bound to the currently displayed media content to the sidebar, enabling quick addition of functional modules and enhancing the user's operational experience.
[0083] Based on the above method embodiments, this disclosure also provides a message display device, with reference to... Figure 7 This is a schematic diagram of a message display device provided in an embodiment of the present disclosure. The device includes:
[0084] Display module 701 is used to display media content on the media content display page;
[0085] The first display module 702 is used to respond to notification messages from functional modules in the sidebar of the media content display page and display the notification message at a preset position on the media content display page.
[0086] In one optional implementation, the first display module includes:
[0087] The first display submodule is used to display the sidebar control corresponding to the sidebar on the media content display page;
[0088] The second display submodule displays the notification message on the sidebar control.
[0089] In one optional embodiment, the sidebar control further displays an entry identifier corresponding to the sidebar, and the device further includes:
[0090] A switching module is used to switch the display of the entry identifier on the sidebar control to the user icon corresponding to the notification message; wherein the user icon is used to prompt the target user corresponding to the notification message.
[0091] In one optional implementation, the sidebar control also displays a module identifier corresponding to the functional module, which is used to indicate the functional module to which the notification message belongs.
[0092] In one optional embodiment, the apparatus further includes:
[0093] The second display module is used to display the sidebar on the media content display page in response to a trigger operation on the sidebar control.
[0094] In one optional implementation, the sidebar control further displays a close control, and the device further includes:
[0095] The closing module is used to hide the sidebar control and its displayed content in response to a trigger operation on the closing control; wherein the displayed content includes at least one of the notification message, the module identifier, the entry identifier, and the user icon.
[0096] In one optional embodiment, the apparatus further includes:
[0097] The timing module is used to time the display time of the notification message and hide the notification message when the timer reaches a preset duration.
[0098] In one optional embodiment, the apparatus further includes:
[0099] The third display module is used to display the added controls of the functional modules on the media content display page;
[0100] The module is added in response to a trigger operation that adds controls to the functional module, to display the sidebar on the media content display page, and to add the functional module corresponding to the media content displayed on the media content display page to the sidebar.
[0101] This disclosure provides a message display method. First, media content is displayed on a media content display page. Then, upon receiving a notification message from a functional module in the sidebar of the media content display page, the notification message is displayed at a preset position on the media content display page. This disclosure can promptly remind users of notification messages from functional modules in the sidebar while they are browsing media content, enriching the display functionality of notification messages and thus improving the user experience.
[0102] In addition to the methods and apparatus described above, this disclosure also provides a computer-readable storage medium storing instructions that, when executed on a terminal device, cause the terminal device to implement the message display method described in this disclosure.
[0103] This disclosure also provides a computer program product, which includes a computer program / instruction. When the computer program / instruction is executed by a processor, it implements the message display method described in this disclosure.
[0104] In addition, this disclosure also provides a message display device, see [link to relevant documentation]. Figure 8 As shown, it may include:
[0105] The data processing device includes a processor 801, a memory 802, an input device 803, and an output device 804. The number of processors 801 in the data processing device can be one or more. Figure 8 Taking a processor as an example. In some embodiments of this disclosure, the processor 801, memory 802, input device 803, and output device 804 can be connected via a bus or other means, wherein, Figure 8 Taking the example of a connection between China and Israel via a bus.
[0106] The memory 802 can be used to store software programs and modules. The processor 801 executes various functional applications and data processing of the data processing device by running the software programs and modules stored in the memory 802. The memory 802 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function, etc. In addition, the memory 802 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. The input device 803 can be used to receive input digital or character information, and to generate signal inputs related to user settings and function control of the message display device.
[0107] Specifically in this embodiment, the processor 801 will load the executable files corresponding to the processes of one or more applications into the memory 802 according to the following instructions, and the processor 801 will run the applications stored in the memory 802 to realize the various functions of the message display device.
[0108] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0109] The above description is merely a specific embodiment of this disclosure, enabling those skilled in the art to understand or implement it. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this disclosure. Therefore, this disclosure is not to be limited to the embodiments described herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A message display method characterized by, The method comprises: displaying media content on a media content display page; in response to a notification message of a function module in a sidebar of the media content display page, displaying a sidebar control corresponding to the sidebar on the media content display page; displaying the notification message and an entry identifier corresponding to the sidebar on the sidebar control; in response to the notification message containing a user identifier, switching the entry identifier on the sidebar control to display a user icon corresponding to the user identifier; wherein the user icon is used to prompt a target user corresponding to the notification message.
2. The method of claim 1, wherein, The sidebar control also displays a module identifier corresponding to the function module, and the module identifier is used to prompt the function module to which the notification message belongs.
3. The method according to any one of claims 1-2, characterized in that, The method further comprises: in response to a triggering operation on the sidebar control, displaying the sidebar on the media content display page.
4. The method according to any one of claims 1-2, characterized in that, The sidebar control also displays a closing control, and the method further comprises: in response to a triggering operation on the closing control, hiding the sidebar control and the display content on the sidebar control; wherein the display content includes at least one of the notification message, the module identifier, the entry identifier, and the user icon.
5. The method of claim 1, wherein, After displaying the notification message at a preset position on the media content display page in response to the notification message of the function module in the sidebar of the media content display page, the method further comprises: counting the display time of the notification message, and hiding the notification message when the counting duration reaches a preset duration.
6. The method of claim 1, wherein, The method further comprises: displaying a function module adding control on the media content display page; in response to a triggering operation on the function module adding control, displaying the sidebar on the media content display page and adding a function module corresponding to the media content displayed on the media content display page to the sidebar.
7. A message display device, characterized by comprising: The apparatus comprises: a display module configured to display media content on a media content display page; a first display module configured to display a sidebar control corresponding to a sidebar on the media content display page in response to a notification message of a function module in the sidebar of the media content display page; a second display module configured to display the notification message and an entry identifier corresponding to the sidebar on the sidebar control; a third display module configured to switch the entry identifier on the sidebar control to display a user icon corresponding to a user identifier in response to the notification message containing the user identifier; wherein the user icon is used to prompt a target user corresponding to the notification message.
8. A computer-readable storage medium, characterized in that, The computer readable storage medium stores instructions, which, when executed on a terminal device, cause the terminal device to implement the method of any one of claims 1-6.
9. A message display device, characterized by comprise: a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any one of claims 1-6 when executing the computer program.
Citation Information
Patent Citations
User terminal device for displaying application and methods thereof
CN104885036A
Buoy display method and device, terminal and storage medium
CN113157155A