Component display method and apparatus, electronic device, and readable storage medium
By automatically folding the read or updated event components in the content display interface and providing expansion controls, the problem of repeated content display in media applications is solved, improving the flexibility of user experience and content display.
Patent Information
- Application Number
- PCT/CN2025/071705
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-01-10
- Filing Date
- 2025-01-10
- Publication Date
- 2025-07-17
AI Technical Summary
In the prior art, media applications have frequent repeated displays of the same content, resulting in poor user browsing experience.
By responding to user actions in the content display interface, automatically collapses the read or updated event components and provides expansion controls, allowing users to flexibly choose whether to view duplicate or updated content.
Reduces the possibility of users repeatedly viewing the same content, improves browsing ease and flexibility, and ensures that the display content is more matched with the topics entered by the user.
Smart Images

Figure CN2025071705_17072025_PF_FP_ABST
Abstract
Description
Component display method, device, electronic device and readable storage medium
[0001] This application claims priority to Chinese patent application No. 202410038592.X filed on January 10, 2024. The contents of the above-mentioned Chinese patent application disclosure are hereby incorporated by reference in their entirety as a part of this application. Technical Field
[0002] Embodiments of the present disclosure relate to a component display method, apparatus, electronic device, and readable storage medium. Background Art
[0003] With the development of Internet communication technology, more and more users choose to browse news about hot events online through media applications. Summary of the Invention
[0004] Embodiments of the present disclosure relate to a component display method, apparatus, electronic device, and readable storage medium.
[0005] An embodiment of the present disclosure provides a component display method, comprising: displaying a content display interface in response to a first trigger operation, the content display interface including an event component and a first theme component, the event component corresponding to a target event, the target event being associated with a first theme and at least one second theme, and the first theme component corresponding to the first theme; displaying the event component and the first theme component, wherein at least part of the event component is displayed in a folded state in response to meeting a preset condition, and displaying an expansion control, the expansion control being used to expand and display at least part of the event component.
[0006] An embodiment of the present disclosure provides a component display device, comprising: a display module, configured to display a content display interface in response to a first trigger operation, the content display interface including an event component and a first theme component, the event component corresponding to a target event, the target event being associated with a first theme and at least one second theme, and the first theme component corresponding to the first theme; a display module, configured to display the event component and the first theme component, wherein at least part of the event component is displayed in a folded state in response to meeting a preset condition, and an expansion control is displayed, the expansion control being used to expand and display at least part of the event component.
[0007] An embodiment of the present disclosure provides an electronic device, including a processor, a memory, and a program or instruction stored in the memory and executable on the processor. When the program or instruction is executed by the processor, the component display method described above is implemented.
[0008] An embodiment of the present disclosure provides a readable storage medium, which stores a program or instruction. When the program or instruction is executed by a processor, the component display method as described above is implemented.
[0009] An embodiment of the present disclosure provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is configured to run a program or instruction to implement the component display method as described above.
[0010] An embodiment of the present disclosure provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the component display method as described above. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] FIG1 is a schematic diagram showing a flow chart of a component display method provided by an embodiment of the present disclosure;
[0012] FIG2 shows one of the schematic diagrams of the content display interface provided in some embodiments of the present disclosure;
[0013] FIG3a shows a second schematic diagram of a content display interface provided in some embodiments of the present disclosure;
[0014] FIG3 b shows a third schematic diagram of a content display interface provided in some embodiments of the present disclosure;
[0015] FIG4 shows a fourth schematic diagram of a content display interface provided in some embodiments of the present disclosure;
[0016] FIG5 shows a fifth schematic diagram of a content display interface provided in some embodiments of the present disclosure;
[0017] FIG6 shows a structural block diagram of a component display device provided by an embodiment of the present disclosure;
[0018] FIG7 shows a structural block diagram of an electronic device according to some embodiments of the present disclosure; and
[0019] FIG8 shows a schematic diagram of the hardware structure of an electronic device provided to implement some embodiments of the present disclosure. DETAILED DESCRIPTION
[0020] The following will be combined with the accompanying drawings in the embodiments of the present disclosure to clearly describe the technical solutions in the embodiments of the present disclosure. Obviously, the embodiments described are part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments of the present disclosure, all other embodiments obtained by ordinary technicians in this field are within the scope of protection of the present disclosure.
[0021] The terms "first", "second", etc. in the specification and claims of the present disclosure are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way are interchangeable where appropriate, so that the embodiments of the present disclosure can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of the same type, and do not limit the number of objects. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0022] With the development of Internet communication technology, more and more users choose to browse news about hot events online through media applications. In related technologies, media applications have the problem of frequently displaying the same content.
[0023] The component display method, component display device, electronic device, and readable storage medium provided by the embodiments of the present disclosure are described in detail below with reference to Figures 1 to 8 through specific embodiments and their application scenarios.
[0024] An embodiment of the present disclosure provides a method. FIG1 shows a flow chart of a component display method provided by an embodiment of the present disclosure. As shown in FIG1 , the component display method includes:
[0025] Step 102: In response to the first trigger operation, display a content display interface, the content display interface including an event component and a first theme component, the event component corresponding to the target event, the target event being associated with the first theme and at least one second theme, and the first theme component corresponding to the first theme;
[0026] In this embodiment, the first trigger operation is used to trigger the display of a content display interface, which displays an event component and a first theme component. The event component is used to display relevant information about the target event, and the relevant information about the target event includes relevant information about the first theme and at least one second theme, both of which are related to the target event. The first theme component is used to display relevant information about the first theme.
[0027] It should be noted that the content display interface entered through the first theme and the content display interface entered through the second theme are different content display interfaces, and the event components displayed in the different content display interfaces are all event components corresponding to the target event.
[0028] Exemplarily, the first trigger operation includes entering a topic keyword corresponding to the first topic in the search input box, thereby triggering the display of a corresponding content display interface.
[0029] Exemplarily, the first trigger operation includes clicking a content jump control to trigger display of a corresponding content display interface.
[0030] Step 104, displaying the event component and the first theme component, wherein at least part of the event component is displayed in a folded state in response to meeting a preset condition, and an expansion control is displayed, the expansion control being used to expand and display at least part of the event component.
[0031] In this embodiment, when at least part of the event components meet the preset conditions, at least part of the event components that meet the preset conditions are folded, and an expansion control corresponding to the at least part of the event components is displayed. By performing corresponding operations on the expansion control, at least part of the event components in the folded state can be expanded.
[0032] It should be noted that at least some of the event components that meet the preset conditions are repeatedly displayed event components. By folding the repeatedly displayed event components, the occurrence of users repeatedly viewing the same content can be reduced.
[0033] FIG2 shows one of the schematic diagrams of the content display interface provided in some embodiments of the present disclosure. As shown in FIG2 , an event component 202 and a first theme component 204 are displayed in the content display interface. The event component includes a “related content” subcomponent 2022 and an “event node” subcomponent 2024. The “event node” subcomponent 2024 is a component that meets the preset conditions and is in a folded state, and displays a corresponding expansion control 206. When the user clicks the expansion control 206, it can trigger the expansion and display of the “event node” subcomponent 2024. Among them, the first theme component 204 displays hot discussion content, which is associated with the first theme. The “event node” subcomponent 2024 displays the event node of the target event related to the first theme, that is, it is associated with the first theme. The “related content” subcomponent 2022 displays media content related to the event corresponding to the first theme, such as video content, graphic content or related introduction.
[0034] In an embodiment of the present disclosure, when an event component and a first subject component are displayed in a content display interface, if at least part of the event components in the event component meet preset conditions, at least part of the event components can be automatically collapsed and corresponding expansion controls can be displayed, thereby reducing the repeated content in the content display interface browsed by users. By providing corresponding expansion controls, users can freely choose whether to continue viewing the browsed content, thereby improving the convenience and flexibility of users browsing event components and the first subject component in the content display interface.
[0035] In some embodiments of the present disclosure, at least part of the event component is displayed in a folded state in response to satisfying a preset condition, including:
[0036] When the current user's read status of at least part of the event component meets the first preset condition and / or the updated content of the target event information in at least part of the event component meets the second preset condition, at least part of the event component is displayed in a folded state.
[0037] In this embodiment, the first preset condition is used to determine whether at least part of the event components are viewed repeatedly. Therefore, when the read status of at least part of the event components meets the first preset condition, it can be determined that at least part of the event components have been repeatedly triggered for display.
[0038] In this embodiment, the updated content of the target event information is information updated and displayed in the event component. The target event information can be information associated with the first topic or information associated with the second topic. The second preset condition is used to determine whether the updated content of the target event information in at least part of the event component is updated sufficiently. If the updated content of the target event information is updated sufficiently, the event component will not be collapsed. If the updated content of the target event information is updated insufficiently, the event component will be collapsed and displayed.
[0039] Exemplarily, when the read status of at least part of the event component satisfies a first preset condition, and the updated content of at least part of the event component satisfies a second preset condition, the at least part of the event component is collapsed. For example, if the event component includes a "Related Content" subcomponent, an "Event Node" subcomponent, and an "Expert Interpretation" subcomponent, and the read status of the "Related Content" subcomponent satisfies the first preset condition, the read status of the "Event Node" subcomponent satisfies the first preset condition, and the updated content satisfies the second preset condition, then only the "Event Node" subcomponent is collapsed for display.
[0040] Exemplarily, at least some event components whose read status meets a first preset condition and at least some event components whose updated content meets a second preset condition are collapsed. For example, an event component includes a "Related Content" subcomponent, an "Event Node" subcomponent, and an "Expert Interpretation" subcomponent. If the read status of the "Related Content" subcomponent meets the first preset condition, the read status of the "Event Node" subcomponent meets the first preset condition, and the updated content meets the second preset condition, and the updated content of the "Expert Interpretation" subcomponent meets the second preset condition, then all event components are collapsed for display.
[0041] In the embodiment of the present disclosure, whether at least part of the event components are repeatedly triggered for display is judged by a first preset condition, and whether the updated content in at least part of the event components is sufficient is judged by a second preset condition, so that at least part of the event components displayed in a folded state are components that are repeatedly triggered for display, and / or at least part of the event components displayed in a folded state are components with less updated content.
[0042] In some embodiments of the present disclosure, the read status of at least some event components by the current user satisfies a first preset condition, including at least one of the following:
[0043] At least some of the event components have been displayed based on a preset number of content display interfaces of the second theme;
[0044] The event component is displayed a target number of times.
[0045] In this embodiment, the first and second topics are both topics corresponding to the target event, so either the first or second topic can trigger the display of event components for the target event on the corresponding content display interface. If at least some event components are displayed on the content interface based on a preset number of second topic triggers, it is determined that the user has already triggered the display of at least some event components based on other topics. Therefore, it can be determined that at least some event components are in a repeatedly triggered display state, and therefore their read status is determined to meet the first preset condition.
[0046] Exemplarily, the value range of the preset number is greater than or equal to 2. For example: the target event is a music festival, and when the user enters the content display interface of the first theme "Music Festival Singers Sing 5 Songs in a Row" corresponding to the event and displays the event component, if it is confirmed that the user has entered the content display interface of the second theme "Music Festival Opening" corresponding to the event and the same event component has been displayed, and the updated content of the event component meets the second preset condition, then the event component will be folded. Among them, the content display interface of the first theme can be triggered for display by, for example, searching for "5 songs in a row", or triggered for display by the corresponding hot topic display control. The present disclosure does not limit the triggering method of the content display interface corresponding to the theme.
[0047] In this embodiment, when the display times of at least part of the event component reaches the target times, it is determined that the at least part of the event component has been repeatedly displayed multiple times, and therefore it is determined that its read status meets the first preset condition.
[0048] Exemplarily, the target number of times has a value range of greater than or equal to 1 time.
[0049] In the embodiment of the present disclosure, by determining whether at least part of the event components are repeatedly triggered for display through the second theme, and / or whether the display times of at least part of the events reach the target times, it is possible to accurately determine whether the read status of at least part of the event components meets the first preset condition, thereby improving the accuracy of the folded display of at least part of the event components.
[0050] In some embodiments of the present disclosure, the first preset condition further includes a time threshold condition.
[0051] In this embodiment, when determining whether the read status of at least part of the event components meets the first preset condition, the determination process is constrained by the event threshold condition.
[0052] For example, within a preset time period, at least some event components have been displayed on a preset number of content display interfaces for the second theme. And / or within a preset time period, at least some event components have been displayed a target number of times. The preset time period ranges from 1 day to 7 days.
[0053] In the embodiment of the present disclosure, by setting a time threshold condition in the first preset condition, it is possible to ensure accurate judgment on whether at least part of the event components are repeatedly triggered and displayed, so that the result of judging whether at least part of the event components are repeatedly triggered and displayed has a certain timeliness, thereby reducing the situation where the user folds the event component for display when he needs to view the event component repeatedly.
[0054] In some embodiments of the present disclosure, an event component and a second theme component are displayed in the content display interface of the second theme. The second theme component corresponds to the second theme, and the display content of the second theme component is different from the display content of the first theme component.
[0055] In this embodiment, since both the second theme and the first theme are themes corresponding to the target event, the content display interface triggered by the second theme displays the event component corresponding to the target event and the second theme component related to the second theme, and the content display interface triggered by the first theme displays the event corresponding to the target event and the first theme component related to the first theme. The first theme component and the second theme component are different theme components, and the displayed content therein is also different.
[0056] Figure 3a shows a second schematic diagram of a content display interface provided in some embodiments of the present disclosure, and Figure 3b shows a third schematic diagram of a content display interface provided in some embodiments of the present disclosure. As shown in Figures 3a and 3b, a first theme component 304 and an event component 302 are displayed in the content display interface of the first theme "Festival singer sings 5 songs in a row" corresponding to the user entering the event. A second theme component 306 and an event component 302 are displayed in the content display interface of the second theme "Festival Opening" corresponding to the user entering the event. The first theme component 304 and the second theme component 306 are both comment components, wherein the first theme component 304 displays discussion content related to the first theme, and the second theme component 306 displays discussion content related to the second theme. It is understandable that the content displayed in the comment component can be comments posted by users based on the current content display interface, or comments posted in the comment area of media content associated with the current theme, etc.
[0057] In the embodiment of the present disclosure, the user can trigger the display of the content display interface through different themes corresponding to the target event. The event components matching the target event and the theme components corresponding to different themes can be displayed in the content display interface triggered by different themes. This enables the user to view both the event components matching the same target event corresponding to different themes and the different theme components corresponding to different themes when the content display interface is triggered by different themes. This further improves the flexibility of the user in browsing and viewing the content display interface, and makes the content displayed on the content display interface more consistent with the theme input by the user.
[0058] In some embodiments of the present disclosure, the event component includes at least one event subcomponent, and the at least one event subcomponent is respectively used to display at least one first event information in the target event information;
[0059] When the updated content of the target event information in at least part of the event components meets the second preset condition, at least part of the event components are displayed in a collapsed state, including:
[0060] When the content update amount of the second event information in at least one first event information is less than the update amount threshold, the event subcomponent corresponding to the second event information is displayed in a folded state.
[0061] In this embodiment, the event component includes at least one event sub-component, and different event sub-components are used to display different first event information, respectively. The first event information is at least part of the target event information.
[0062] For example, the event component includes three event subcomponents: the "Related Content" subcomponent, the "Event Node" subcomponent, and the "Expert Interpretation" subcomponent. The "Related Content" subcomponent displays relevant information about the target event, such as place names and participant information. The "Event Node" subcomponent displays event information about key nodes in the target event. The "Expert Interpretation" subcomponent displays relevant information published by experts in the field of the target event.
[0063] In this embodiment, the second event information is event information in which the content update amount in the first event information is less than the update amount threshold. When the second event information is detected in the first event information, it is determined that the content update amount of the event subcomponent used to display the second event information is small, so the event component is displayed in a folded state.
[0064] As shown in FIG. 2 , the content update amount of the “event node” subcomponent 2044 is relatively small, so the “event node” subcomponent is collapsed and the corresponding expansion control 206 is displayed.
[0065] In the disclosed embodiment, the event component includes at least one event sub-component, and each event sub-component is used to display the corresponding first event information in the target event information. By detecting the content update amount of each first event information, the first event information with a content update amount less than an update amount threshold is determined as the second event information, and the event sub-component corresponding to the second event information is folded, so that the event sub-component with a smaller amount of updated content in the event component is displayed in a folded state, and it is displayed in an expanded state with the event sub-component with a larger amount of updated content, thereby reducing the occurrence of large-scale folding of event components and further improving the convenience of users browsing event components.
[0066] In some embodiments of the present disclosure, the second event information includes event node information in the target event information;
[0067] The second event information content update amount being less than the update amount threshold includes:
[0068] The current amount of event node information is less than or equal to the historical amount.
[0069] In this embodiment, the second event information may include event node information in the target event information, where the event node information includes event information about the event node in the target event. When it is detected that the current amount of event node information is less than or equal to the historical amount, it is determined that the event node has not been updated, and therefore it can be determined that the amount of content updates in the second event information is less than the update amount threshold.
[0070] It should be noted that the current number refers to the number of event node information that needs to be displayed in the current content display interface. The historical number refers to the number of event node information displayed in the content display interface previously entered through the first topic, or the number of event node information displayed in the content display interface previously entered through the second topic.
[0071] For example, if the event node information previously displayed by the user through the second theme "Music Festival" is "Friday: Music Festival Expected to Be Held Tomorrow," "Saturday: Music Festival Held as Scheduled," and "Sunday: Singer Sings 5 Songs in a Row and Wows the Audience," the event node information currently displayed by the user through the first theme "Sing 5 Songs in a Row" remains unchanged, and the event subcomponent displaying the event node information is collapsed.
[0072] In the embodiment of the present disclosure, the second event information includes event node information. By counting the current number and historical number of event node information and comparing the current number and historical number, it is determined whether the content update amount of the event node information is less than the update amount threshold, thereby improving the accuracy of the judgment of whether the update amount of the event node information is less than the update amount threshold.
[0073] In some embodiments of the present disclosure, the second event information includes event association information corresponding to the target event information;
[0074] The second event information content update amount being less than the update amount threshold includes:
[0075] The content increment of the event correlation information is less than the increment threshold.
[0076] In this embodiment, the second event information may include event association information in the target event information, where the event association information includes information related to the target event. When it is detected that the content increment of the event association information is less than the increment threshold, it is determined that the updated content of the event association information is small, and therefore it can be determined that the content update amount of the second event information is less than the update amount threshold.
[0077] It should be noted that the content increment is the difference between the amount of event-related information when the event component was displayed last time and the amount of event-related information when the event component is displayed this time. For example, the increment threshold value ranges from 30% to 80%.
[0078] Exemplarily, event-related information includes but is not limited to expert interpretation information, related content information, etc., and the related content information includes but is not limited to encyclopedia information of the location where the event occurred, encyclopedia information of the participants, etc.
[0079] In the embodiment of the present disclosure, the second event information includes event-related information. By detecting whether the content increment of the event-related information reaches the increment threshold, it is determined whether the content update amount of the event-related information is less than the update amount threshold, thereby improving the accuracy of the judgment of whether the update amount of the event-related information is less than the update amount threshold.
[0080] In some embodiments of the present disclosure, the method further includes: displaying first prompt information in the expanded control, where the first prompt information is associated with at least a portion of the event component displayed in a collapsed state.
[0081] In this embodiment, the first prompt information is a prompt information displayed in the expansion control, and the first prompt information is used to prompt the user to expand at least part of the event component through the expansion control. The content of the first prompt information is associated with at least part of the event component, that is, the first prompt information can prompt the user to collapse the detailed information of the content.
[0082] As shown in FIG. 2 , the first prompt information 208 is displayed in the expansion control 206 , and the first prompt information 208 is “Event node information has been collapsed, click to expand”.
[0083] In an embodiment of the present disclosure, by displaying the first prompt information related to at least a portion of the event component in a folded state in the expansion control, the user can understand the display content of the event component in a folded state without expanding at least a portion of the folded event component, thereby improving the convenience of the user in browsing the event component.
[0084] In some embodiments of the present disclosure, the component display method further includes: receiving a second trigger operation on an expansion control; and in response to the second trigger operation, expanding and displaying at least a portion of the event component in the content display interface.
[0085] In this embodiment, the second triggering operation is a triggering operation performed by the user on the expansion control, and the second triggering operation is used to trigger the expansion and display of at least part of the event component in the collapsed state. The second triggering operation includes but is not limited to a click operation, a long press operation, a sliding operation, etc.
[0086] FIG4 illustrates a fourth schematic diagram of a content display interface provided in some embodiments of the present disclosure. As shown in FIG4 , the content display interface displays a collapsed event component 402, a first theme component 404, and an expand control 406. A user clicking expand control 406 can trigger the expansion and display of event component 402. Clicking expand control 406 is a second triggering operation.
[0087] In the disclosed embodiment, the user can perform a second trigger operation on the expansion control to switch the event component in the folded state to the expanded state, so that the user can easily expand and display the event component in the folded state.
[0088] In some embodiments of the present disclosure, the component display method further includes: receiving a third trigger operation, the third trigger operation being used to refresh the content display interface;
[0089] In the content display interface, at least part of the event components are displayed in a collapsed state, and an expansion control is displayed.
[0090] In this embodiment, the third trigger operation is used to refresh the currently displayed content display interface. The third trigger operation can be a trigger operation of the user on the interface refresh control, or it can be a trigger operation performed by the user on the content display interface, for example: pulling down the content display interface to trigger the refresh of the content display interface.
[0091] In this embodiment, after the user clicks the expansion control to trigger expansion of at least part of the event components in the collapsed state, the user refreshes the content display interface, and then at least part of the event components in the content display interface are displayed in the collapsed state again.
[0092] Figure 5 illustrates a fifth schematic diagram of a content display interface provided in some embodiments of the present disclosure. As shown in Figure 5 , the content display interface displays an expanded event component 502 and a first theme component 504. A user drags the content display interface downward, triggering a refresh of the content display interface. During the downward drag, the content display interface displays a second prompt message, "Release to refresh the interface." After the content display interface refreshes, the collapsed event component 502, the first theme component 504, and the expand control 506 are displayed. Dragging the content display interface downward is the third triggering operation.
[0093] It should be noted that refreshing the content display interface also includes exiting the current content display interface and then entering the content display interface again.
[0094] In the disclosed embodiment, when a user refreshes the currently displayed content display interface, the event component that has been expanded and displayed can be collapsed again, so that the user can conveniently collapse the expanded event component again.
[0095] The component display method provided in the embodiment of the present disclosure may be executed by a component display device. In the embodiment of the present disclosure, the component display device provided in the embodiment of the present disclosure is described by taking the component display method executed by the component display device as an example.
[0096] In some embodiments of the present disclosure, a component display device is provided. FIG6 shows a structural block diagram of the component display device provided in an embodiment of the present disclosure. As shown in FIG6 , the component display device 600 includes:
[0097] Display module 602 is configured to display a content display interface in response to the first trigger operation, wherein the content display interface includes an event component and a first theme component, wherein the event component corresponds to a target event, the target event is associated with the first theme and at least one second theme, and the first theme component corresponds to the first theme;
[0098] The display module 602 is configured to display the event component and the first theme component, wherein at least part of the event component is displayed in a folded state in response to meeting a preset condition, and an expansion control is displayed, and the expansion control is used to expand and display at least part of the event component.
[0099] In an embodiment of the present disclosure, when an event component and a first subject component are displayed in a content display interface, if at least part of the event components in the event component meet preset conditions, at least part of the event components can be automatically collapsed and corresponding expansion controls can be displayed, thereby reducing the repeated content in the content display interface browsed by users. By providing corresponding expansion controls, users can freely choose whether to continue viewing the browsed content, thereby improving the convenience and flexibility of users browsing event components and the first subject component in the content display interface.
[0100] In some embodiments of the present disclosure, the display module 602 is configured to display at least part of the event component in a folded state when the current user's read status of at least part of the event component meets a first preset condition and / or the updated content of the target event information in at least part of the event component meets a second preset condition.
[0101] In the embodiment of the present disclosure, whether at least part of the event components are repeatedly triggered for display is judged by a first preset condition, and whether the updated content in at least part of the event components is sufficient is judged by a second preset condition, so that at least part of the event components displayed in a folded state are components that are repeatedly triggered for display, and / or at least part of the event components displayed in a folded state are components with less updated content.
[0102] In some embodiments of the present disclosure, the read status of at least some event components by the current user satisfies a first preset condition, including at least one of the following:
[0103] At least some of the event components have been displayed based on a preset number of content display interfaces of the second theme;
[0104] The event component is displayed a target number of times.
[0105] In the embodiment of the present disclosure, by determining whether at least part of the event components are repeatedly triggered for display through the second theme, and / or whether the display times of at least part of the events reach the target times, it is possible to accurately determine whether the read status of at least part of the event components meets the first preset condition, thereby improving the accuracy of the folded display of at least part of the event components.
[0106] In some embodiments of the present disclosure, the first preset condition further includes a time threshold condition.
[0107] In the embodiment of the present disclosure, by setting a time threshold condition in the first preset condition, it is possible to ensure accurate judgment on whether at least part of the event components are repeatedly triggered and displayed, so that the result of judging whether at least part of the event components are repeatedly triggered and displayed has a certain timeliness, thereby reducing the situation where the user folds the event component for display when he needs to view the event component repeatedly.
[0108] In some embodiments of the present disclosure, an event component and a second theme component are displayed in the content display interface of the second theme. The second theme component corresponds to the second theme, and the display content of the second theme component is different from the display content of the first theme component.
[0109] In the embodiment of the present disclosure, the user can trigger the display of the content display interface through different themes corresponding to the target event. The event components matching the target event and the theme components corresponding to different themes can be displayed in the content display interface triggered by different themes. This enables the user to view both the event components matching the same target event corresponding to different themes and the different theme components corresponding to different themes when the content display interface is triggered by different themes. This further improves the flexibility of the user in browsing and viewing the content display interface, and makes the content displayed on the content display interface more consistent with the theme input by the user.
[0110] In some embodiments of the present disclosure, the event component includes at least one event subcomponent, and the at least one event subcomponent is respectively used to display at least one first event information in the target event information;
[0111] The display module 602 is configured to display the event subcomponent corresponding to the second event information in the at least one first event information in a folded state when the content update amount of the second event information is less than the update amount threshold.
[0112] In the disclosed embodiment, the event component includes at least one event sub-component, and each event sub-component is used to display the corresponding first event information in the target event information. By detecting the content update amount of each first event information, the first event information with a content update amount less than an update amount threshold is determined as the second event information, and the event sub-component corresponding to the second event information is folded, so that the event sub-component with a smaller amount of updated content in the event component is displayed in a folded state, and it is displayed in an expanded state with the event sub-component with a larger amount of updated content, thereby reducing the occurrence of large-scale folding of event components and further improving the convenience of users browsing event components.
[0113] In some embodiments of the present disclosure, the second event information includes event node information in the target event information;
[0114] The content update amount of the second event information is less than the update amount threshold value includes: the current amount of event node information is less than or equal to the historical amount.
[0115] In the embodiment of the present disclosure, the second event information includes event node information. By counting the current number and historical number of event node information and comparing the current number and historical number, it is determined whether the content update amount of the event node information is less than the update amount threshold, thereby improving the accuracy of the judgment of whether the update amount of the event node information is less than the update amount threshold.
[0116] In some embodiments of the present disclosure, the second event information includes event association information corresponding to the target event information;
[0117] The content update amount of the second event information being less than the update amount threshold includes: the content increment of the event-related information being less than the increment threshold.
[0118] In the embodiment of the present disclosure, the second event information includes event-related information. By detecting whether the content increment of the event-related information reaches the increment threshold, it is determined whether the content update amount of the event-related information is less than the update amount threshold, thereby improving the accuracy of the judgment of whether the update amount of the event-related information is less than the update amount threshold.
[0119] In some embodiments of the present disclosure, the display module 602 is configured to display first prompt information in the expanded control, where the first prompt information is associated with at least a portion of the event component displayed in a folded state.
[0120] In an embodiment of the present disclosure, by displaying the first prompt information related to at least a portion of the event component in a folded state in the expansion control, the user can understand the display content of the event component in a folded state without expanding at least a portion of the folded event component, thereby improving the convenience of the user in browsing the event component.
[0121] In some embodiments of the present disclosure, the component display device 600 further includes:
[0122] A receiving module configured to receive a second triggering operation on the expansion control;
[0123] The display module 602 is configured to expand and display at least part of the event component in the content display interface in response to the second trigger operation.
[0124] In the disclosed embodiment, the user can perform a second trigger operation on the expansion control to switch the event component in the folded state to the expanded state, so that the user can easily expand and display the event component in the folded state.
[0125] In some embodiments of the present disclosure, the receiving module is configured to receive a third trigger operation, where the third trigger operation is used to refresh the content display interface;
[0126] The display module 602 is configured to display at least part of the event component in a folded state in the content display interface and display an expansion control.
[0127] In the disclosed embodiment, when a user refreshes the currently displayed content display interface, the event component that has been expanded and displayed can be collapsed again, so that the user can conveniently collapse the expanded event component again.
[0128] The component display device in the embodiment of the present disclosure can be an electronic device or a component in an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or a device other than a terminal. For example, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a mobile Internet device (MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a personal digital assistant (PDA), etc. It can also be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., and the embodiment of the present disclosure does not specifically limit it.
[0129] The component display device in the embodiment of the present disclosure may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present disclosure.
[0130] The component display device provided by the embodiment of the present disclosure can implement each process implemented by the above method embodiment, and to avoid repetition, it will not be described here.
[0131] Optionally, an embodiment of the present disclosure further provides an electronic device. Figure 7 shows a structural block diagram of an electronic device provided according to some embodiments of the present disclosure. As shown in Figure 7, the electronic device 700 includes a processor 702 and a memory 704. The memory 704 stores programs or instructions that can be run on the processor 702. When the program or instructions are executed by the processor 702, the various steps of the above-mentioned method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, they are not repeated here.
[0132] It should be noted that the electronic devices in the embodiments of the present disclosure include the above-mentioned mobile electronic devices and non-mobile electronic devices.
[0133] FIG8 shows a schematic diagram of the hardware structure of an electronic device provided to implement some embodiments of the present disclosure.
[0134] The electronic device 800 includes but is not limited to components such as a radio frequency unit 801 , a network module 802 , an audio output unit 803 , an input unit 804 , a sensor 805 , a display unit 806 , a user input unit 807 , an interface unit 808 , a memory 809 , and a processor 810 .
[0135] Those skilled in the art will appreciate that the electronic device 800 may further include a power source (e.g., a battery) to power various components. The power source may be logically connected to the processor 810 via a power management system, thereby enabling the power management system to manage charging, discharging, and power consumption. The electronic device structure shown in FIG8 does not limit the electronic device. The electronic device may include more or fewer components than shown, or may combine certain components, or have different component arrangements, which will not be described in detail here.
[0136] The display unit 806 is configured to display a content display interface in response to the first trigger operation, wherein the content display interface includes an event component and a first theme component, the event component corresponds to the target event, the target event is associated with the first theme and at least one second theme, and the first theme component corresponds to the first theme;
[0137] The display unit 806 is configured to display the event component and the first theme component, wherein at least part of the event component is displayed in a folded state in response to meeting a preset condition, and an expansion control is displayed, and the expansion control is used to expand and display at least part of the event component.
[0138] In an embodiment of the present disclosure, when an event component and a first subject component are displayed in a content display interface, if at least part of the event components in the event component meet preset conditions, at least part of the event components can be automatically collapsed and corresponding expansion controls can be displayed, thereby reducing the repeated content in the content display interface browsed by users. By providing corresponding expansion controls, users can freely choose whether to continue viewing the browsed content, thereby improving the convenience and flexibility of users browsing event components and the first subject component in the content display interface.
[0139] Furthermore, the display unit 806 is configured to display at least part of the event component in a folded state when the current user's read status of at least part of the event component meets a first preset condition and / or the updated content of the target event information in at least part of the event component meets a second preset condition.
[0140] In the embodiment of the present disclosure, whether at least part of the event components are repeatedly triggered for display is judged by a first preset condition, and whether the updated content in at least part of the event components is sufficient is judged by a second preset condition, so that at least part of the event components displayed in a folded state are components that are repeatedly triggered for display, and / or at least part of the event components displayed in a folded state are components with less updated content.
[0141] Furthermore, the reading status of at least part of the event components by the current user satisfies a first preset condition, including at least one of the following:
[0142] At least some of the event components have been displayed based on a preset number of content display interfaces of the second theme;
[0143] The event component is displayed a target number of times.
[0144] In the embodiment of the present disclosure, by determining whether at least part of the event components are repeatedly triggered for display through the second theme, and / or whether the display times of at least part of the events reach the target times, it is possible to accurately determine whether the read status of at least part of the event components meets the first preset condition, thereby improving the accuracy of the folded display of at least part of the event components.
[0145] Furthermore, the first preset condition also includes a time threshold condition.
[0146] In the embodiment of the present disclosure, by setting a time threshold condition in the first preset condition, it is possible to ensure accurate judgment on whether at least part of the event components are repeatedly triggered and displayed, so that the result of judging whether at least part of the event components are repeatedly triggered and displayed has a certain timeliness, thereby reducing the situation where the user folds the event component for display when he needs to view the event component repeatedly.
[0147] Furthermore, the content display interface of the second theme displays an event component and a second theme component, the second theme component corresponds to the second theme, and the display content of the second theme component is different from the display content of the first theme component.
[0148] In the embodiment of the present disclosure, the user can trigger the display of the content display interface through different themes corresponding to the target event. The event components matching the target event and the theme components corresponding to different themes can be displayed in the content display interface triggered by different themes. This enables the user to view both the event components matching the same target event corresponding to different themes and the different theme components corresponding to different themes when the content display interface is triggered by different themes. This further improves the flexibility of the user in browsing and viewing the content display interface, and makes the content displayed on the content display interface more consistent with the theme input by the user.
[0149] Furthermore, the event component includes at least one event sub-component, and the at least one event sub-component is respectively used to display at least one first event information in the target event information;
[0150] The display unit 806 is configured to display the event subcomponent corresponding to the second event information in the at least one first event information in a folded state when the content update amount of the second event information is less than the update amount threshold.
[0151] In the disclosed embodiment, the event component includes at least one event sub-component, and each event sub-component is used to display the corresponding first event information in the target event information. By detecting the content update amount of each first event information, the first event information with a content update amount less than an update amount threshold is determined as the second event information, and the event sub-component corresponding to the second event information is folded, so that the event sub-component with a smaller amount of updated content in the event component is displayed in a folded state, and it is displayed in an expanded state with the event sub-component with a larger amount of updated content, thereby reducing the occurrence of large-scale folding of event components and further improving the convenience of users browsing event components.
[0152] Furthermore, the second event information includes event node information in the target event information;
[0153] The content update amount of the second event information is less than the update amount threshold value includes: the current amount of event node information is less than or equal to the historical amount.
[0154] In the embodiment of the present disclosure, the second event information includes event node information. By counting the current number and historical number of event node information and comparing the current number and historical number, it is determined whether the content update amount of the event node information is less than the update amount threshold, thereby improving the accuracy of the judgment of whether the update amount of the event node information is less than the update amount threshold.
[0155] Furthermore, the second event information includes event association information corresponding to the target event information;
[0156] The content update amount of the second event information being less than the update amount threshold includes: the content increment of the event-related information being less than the increment threshold.
[0157] In the embodiment of the present disclosure, the second event information includes event-related information. By detecting whether the content increment of the event-related information reaches the increment threshold, it is determined whether the content update amount of the event-related information is less than the update amount threshold, thereby improving the accuracy of the judgment of whether the update amount of the event-related information is less than the update amount threshold.
[0158] Furthermore, the display unit 806 is configured to display first prompt information in the expanded control, where the first prompt information is associated with at least part of the event component displayed in the folded state.
[0159] In an embodiment of the present disclosure, by displaying the first prompt information related to at least a portion of the event component in a folded state in the expansion control, the user can understand the display content of the event component in a folded state without expanding at least a portion of the folded event component, thereby improving the convenience of the user in browsing the event component.
[0160] Furthermore, the user input unit 807 is configured to receive a second triggering operation for expanding the control;
[0161] The display unit 806 is configured to expand and display at least part of the event component in the content display interface in response to the second trigger operation.
[0162] In the disclosed embodiment, the user can perform a second trigger operation on the expansion control to switch the event component in the folded state to the expanded state, so that the user can easily expand and display the event component in the folded state.
[0163] Furthermore, the user input unit 807 is configured to receive a third trigger operation, where the third trigger operation is used to refresh the content display interface;
[0164] The display unit 806 is configured to display at least part of the event component in a folded state in the content display interface and display an expansion control.
[0165] In the disclosed embodiment, when a user refreshes the currently displayed content display interface, the event component that has been expanded and displayed can be collapsed again, so that the user can conveniently collapse the expanded event component again.
[0166] It should be understood that in the embodiment of the present disclosure, the input unit 804 may include a graphics processing unit (GPU) 8041 and a microphone 8042, and the graphics processor 8041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 807 includes a touch panel 8071 and at least one of the other input devices 8072. The touch panel 8071 is also called a touch screen. The touch panel 8071 may include two parts: a touch detection device and a touch controller. Other input devices 8072 may include but are not limited to a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
[0167] The memory 809 can be used to store software programs and various data. The memory 809 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, applications or instructions required for at least one function (such as a sound playback function, an image playback function, etc.). In addition, the memory 809 may include a volatile memory or a non-volatile memory, or the memory 809 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct RAM bus random access memory (DRRAM). The memory 809 in the embodiments of the present disclosure includes, but is not limited to, these and any other suitable types of memory.
[0168] Processor 810 may include one or more processing units. Optionally, processor 810 integrates an application processor and a modem processor. The application processor primarily handles operations related to the operating system, user interface, and application programs, while the modem processor primarily processes wireless communication signals, such as a baseband processor. It is understood that the modem processor may not be integrated into processor 810.
[0169] The embodiment of the present disclosure also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned component display method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0170] The processor is the processor in the electronic device in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
[0171] An embodiment of the present disclosure further provides a chip, which includes a processor and a communication interface. The communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned component display method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0172] It should be understood that the chip mentioned in the embodiments of the present disclosure can also be called a system-level chip, a system chip, a chip system, or a system-on-chip chip, etc.
[0173] An embodiment of the present disclosure provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the various processes of the above-mentioned component display method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0174] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present disclosure is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in the opposite order according to the functions involved. For example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0175] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present disclosure, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of the various embodiments of the present disclosure.
[0176] The embodiments of the present disclosure are described above in conjunction with the accompanying drawings, but the present disclosure is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present disclosure, ordinary technicians in this field can also make many forms without departing from the scope of protection of the purpose of the present disclosure and the claims, all of which are protected by the present disclosure.
Claims
1. A component display method, comprising: In response to a first trigger operation, display a content display interface, wherein the content display interface includes an event component and a first theme component, the event component corresponds to a target event, the target event is associated with a first theme and at least one second theme, and the first theme component corresponds to the first theme; Display the event component and the first theme component, wherein at least some of the event components are displayed in a collapsed state in response to meeting a preset condition, and an expansion control is displayed, and the expansion control is used to expand and display the at least some of the event components.
2. The component display method according to claim 1, wherein, The meeting of the preset condition includes at least one of the following: The read status of the current user for the at least some of the event components meets a first preset condition; The updated content of the target event information in the at least some of the event components meets a second preset condition.
3. The component display method according to claim 2, wherein, The read status of the current user for the at least some of the event components meeting the first preset condition includes at least one of the following: The at least some of the event components have been displayed based on the content display interfaces of a preset number of second themes; The display times of the at least some of the event components reach a target number of times.
4. The component display method according to claim 3, wherein, The first preset condition further includes a time threshold condition.
5. The component display method according to claim 3, wherein, In the content display interface of the second theme, the event component and a second theme component are displayed, the second theme component corresponds to the second theme, and the display content of the second theme component is different from the display content of the first theme component.
6. The component display method according to claim 2, wherein, The event component includes at least one event sub-component, and the at least one event sub-component is respectively used to display at least one first event information in the target event information; When the updated content of the target event information in the at least some of the event components meets the second preset condition, the at least some of the event components are displayed in a collapsed state, including: When the content update amount of the second event information in the at least one first event information is less than an update amount threshold, the event sub-component corresponding to the second event information is displayed in a collapsed state.
7. The component display method according to claim 6, wherein, The second event information includes event node information in the target event information; The content update amount of the second event information being less than the update amount threshold includes: The current quantity of the event node information is less than or equal to the historical quantity.
8. The component display method according to claim 6, wherein, The second event information includes event association information corresponding to the target event information; The content update amount of the second event information being less than the update amount threshold includes: The content increment of the event association information is less than an increment threshold.
9. The component display method according to any one of claims 1 to 8, wherein, The method further includes: Display a first prompt message in the expansion control, and the first prompt message is associated with the at least some of the event components displayed in a collapsed state.
10. The component display method according to any one of claims 1 to 8, wherein, The method further includes: Receive a second trigger operation on the expansion control; In response to the second trigger operation, expand and display the at least some of the event components in the content display interface.
11. The component display method according to claim 10, wherein, After expanding and displaying the at least some of the event components in the content display interface in response to the second trigger operation, the method further includes: Receive a third trigger operation, and the third trigger operation is used to refresh the content display interface; In the content display interface, at least some of the event components are displayed in a collapsed state, and an expansion control is displayed.
12. A component display device, comprising: a display module configured to display a content display interface in response to a first trigger operation, wherein the content display interface includes an event component and a first theme component, the event component corresponds to a target event, the target event is associated with a first theme and at least one second theme, and the first theme component corresponds to the first theme; and the display module configured to display the event component and the first theme component, wherein at least some of the event components are displayed in a collapsed state in response to meeting a preset condition, and an expansion control is displayed, the expansion control being used to expand and display the at least some of the event components.
13. An electronic device, comprising: a processor and a memory, wherein the memory stores a program or instruction that can run on the processor, and when the program or instruction is executed by the processor, the method according to any one of claims 1 to 11 is implemented.
14. A readable storage medium having a program or instructions stored thereon, wherein, When the program or instruction is executed by the processor, the method according to any one of claims 1 to 11 is implemented.
Citation Information
Patent Citations
Virtual live broadcast control method and device
CN114157897A
Media content recommendation method and device, equipment, readable storage medium and product
CN115687666A
Information display method and related device
CN117032860A
Component display method and device, electronic equipment and readable storage medium
CN117850948A