Resource display method, device and equipment
By aggregating and storing resources that were automatically displayed and then closed in the terminal and displaying a viewing entry, the problem of resources becoming unviewable due to users accidentally clicking the close control is solved. This provides a simple way to view resources again, improving user experience and resource recommendation effectiveness.
Patent Information
- Application Number
- CN202411171865.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-23
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2044-08-23
AI Technical Summary
If a user clicks the close button without carefully reviewing the resource, the resource cannot be redisplayed, making it impossible to view.
The terminal aggregates and stores resources that were automatically displayed and then closed, and displays a viewing entry associated with the resource collection. Users can view the resource collection by triggering the viewing entry.
This avoids the problem of resources failing to be displayed again, is simple to operate, reduces operational complexity, and improves user satisfaction and resource recommendation effectiveness.
Smart Images

Figure CN118890520A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of Internet technology, and in particular to a resource display method, device and equipment. Background Art
[0002] With the development of Internet technology and the increasing scale of Internet users, various resources on the Internet are widely disseminated, and resources are often recommended to terminals for display.
[0003] After receiving the recommended resource, the terminal will display the resource and the corresponding close control of the resource, but the user may click the close control to close the resource without carefully viewing the resource. Once the resource is closed, it cannot be redisplayed, resulting in the user being unable to view the resource. Summary of the invention
[0004] The present disclosure provides a resource display method, device and equipment, which avoids the situation that the resource cannot be viewed after the resource automatically displayed by the terminal is closed, and the operation method is simple, reducing the operation complexity. The technical solution of the present disclosure is as follows:
[0005] According to a first aspect of an embodiment of the present disclosure, a resource display method is provided, comprising:
[0006] In the resource collection, resources closed by the terminal after automatic display are stored in aggregate;
[0007] Display a viewing entry, wherein the viewing entry is associated with the resource collection;
[0008] In response to a triggering operation on the viewing portal, the resource collection is displayed.
[0009] In some embodiments, the resource set is used to aggregate and store resources that are closed by the terminal after automatic display and meet the viewing condition, and in the resource set, the resources that are closed by the terminal after automatic display are aggregated and stored, including:
[0010] Automatically displaying resources recommended to the terminal;
[0011] In response to a closing operation on the resource, if the resource meets the viewing condition, the resource is stored in the resource collection.
[0012] In some embodiments, in response to the closing operation on the resource, if the resource meets the viewing condition, storing the resource in the resource collection includes at least one of the following:
[0013] In response to a closing operation on the resource, if the display duration of the resource is less than a first target duration, storing the resource in the resource collection;
[0014] In response to a closing operation on the resource, if a proportion of the displayed resource content in the resource is less than a first target proportion, the resource is stored in the resource collection.
[0015] In some embodiments, the resource set is stored in a memory of the terminal;
[0016] The displaying of the resource collection in response to the triggering operation on the viewing portal includes:
[0017] In response to a triggering operation on the viewing entry, the resource collection is obtained from the memory and the resource collection is displayed.
[0018] In some embodiments, the display viewing entrance includes at least one of the following:
[0019] If there are resources in the resource collection, display the viewing entrance;
[0020] In the current application, the viewing entrance is continuously displayed;
[0021] When the duration of staying on the current page is greater than the second target duration, displaying the viewing entrance;
[0022] In case of receiving a new resource recommended to the terminal, displaying the viewing entrance;
[0023] The viewing entrance is displayed in response to a target operation, where the target operation is an operation for instructing to display the viewing entrance.
[0024] In some embodiments, in response to a triggering operation on the viewing portal, displaying the resource collection includes:
[0025] In response to a triggering operation on the viewing entry, displaying a display entry of at least one resource in the resource set;
[0026] In response to a triggering operation on a display entry of a target resource, detailed resource content of the target resource is displayed, and the target resource is any one resource in the resource set.
[0027] In some embodiments, in response to the triggering operation on the viewing entrance, displaying a display entrance of at least one resource in the resource collection includes:
[0028] In response to a triggering operation on the viewing entry, a resource panel is displayed, wherein the resource panel includes a display entry of at least one resource in the resource collection.
[0029] In some embodiments, the resource panel further displays an operation control, and the operation control includes at least one of the following:
[0030] A close control corresponding to the resource panel;
[0031] Delete control corresponding to each display entry;
[0032] A sliding control, the sliding control is used to slide and display resources in the resource collection;
[0033] A page turning control is used to perform a page turning operation in the resource panel.
[0034] In some embodiments, in response to a triggering operation on a display entry of a target resource, displaying detailed resource content of the target resource includes:
[0035] In response to a triggering operation on a display entry of the target resource in a currently running first application, a second application to which the target resource belongs is called to display detailed resource content of the target resource.
[0036] In some embodiments, the target resource includes a jump link, and the displaying of detailed resource content of the target resource in response to a triggering operation on a display portal of the target resource includes:
[0037] In response to a triggering operation on the display entrance of the target resource, based on the jump link of the target resource, jumping to the detail page of the target resource, the detail page displays the detail resource content.
[0038] In some embodiments, different resource sets correspond to different resource types;
[0039] The displaying of the resource collection in response to the triggering operation on the viewing portal includes:
[0040] In response to a triggering operation on the viewing portal, displaying the resource set corresponding to each resource type; or,
[0041] In response to a triggering operation on the viewing portal, the resource set corresponding to a target resource type is displayed, where the target resource type is a resource type that matches the current state of the terminal among a plurality of resource types.
[0042] In some embodiments, the method further comprises:
[0043] When any resource in the resource set meets the viewing cancellation condition, the resource is deleted from the resource set.
[0044] In some embodiments, when any resource in the resource set meets the cancel viewing condition, deleting the resource from the resource set includes at least one of the following:
[0045] When the display duration of the resource is greater than a third target duration, deleting the resource from the resource set;
[0046] When the proportion of the displayed resource content in the resource is greater than the second target proportion, the resource is deleted from the resource set.
[0047] According to a second aspect of an embodiment of the present disclosure, there is provided a resource display device, including:
[0048] A storage unit configured to aggregate and store, in a resource set, resources closed by the terminal after automatic display;
[0049] A first display unit is configured to display a viewing entrance, wherein the viewing entrance is associated with the resource collection;
[0050] The second display unit is configured to display the resource collection in response to a triggering operation on the viewing entrance.
[0051] In some embodiments, the resource set is used to aggregate and store resources that are closed by the terminal after automatic display and that meet the viewing condition, and the storage unit includes:
[0052] The storage subunit is configured to automatically display the resources recommended to the terminal; in response to a closing operation on the resources, if the resources meet the viewing condition, store the resources in the resource collection.
[0053] In some embodiments, the storage subunit is configured as at least one of the following:
[0054] In response to a closing operation on the resource, if the display duration of the resource is less than a first target duration, storing the resource in the resource collection;
[0055] In response to a closing operation on the resource, if a proportion of the displayed resource content in the resource is less than a first target proportion, the resource is stored in the resource collection.
[0056] In some embodiments, the resource set is stored in a memory of the terminal;
[0057] The second display unit is configured to obtain the resource set from the memory and display the resource set in response to a triggering operation on the viewing entrance.
[0058] In some embodiments, the first display unit is configured as at least one of the following:
[0059] If there are resources in the resource collection, display the viewing entrance;
[0060] In the current application, the viewing entrance is continuously displayed;
[0061] When the duration of staying on the current page is greater than the second target duration, displaying the viewing entrance;
[0062] In case of receiving a new resource recommended to the terminal, displaying the viewing entrance;
[0063] The viewing entrance is displayed in response to a target operation, where the target operation is an operation for instructing to display the viewing entrance.
[0064] In some embodiments, the second display unit includes:
[0065] An entry display subunit is configured to display a display entry of at least one resource in the resource set in response to a triggering operation on the viewing entry;
[0066] The detail display subunit is configured to display the detailed resource content of the target resource in response to a triggering operation on a display entrance of the target resource, wherein the target resource is any resource in the resource set.
[0067] In some embodiments, the portal display subunit is configured to display a resource panel in response to a triggering operation on the viewing portal, wherein the resource panel includes a display portal of at least one resource in the resource collection.
[0068] In some embodiments, the resource panel further displays an operation control, and the operation control includes at least one of the following:
[0069] A close control corresponding to the resource panel;
[0070] Delete control corresponding to each display entry;
[0071] A sliding control, the sliding control is used to slide and display resources in the resource collection;
[0072] A page turning control is used to perform a page turning operation in the resource panel.
[0073] In some embodiments, the detail display subunit is configured to call a second application to which the target resource belongs and display detailed resource content of the target resource in response to a triggering operation on a display entry of the target resource in a currently running first application.
[0074] In some embodiments, the target resource includes a jump link, and the details display subunit is configured to respond to a trigger operation on the display entrance of the target resource, and based on the jump link of the target resource, jump to the details page of the target resource, and the details page displays the details resource content.
[0075] In some embodiments, different resource sets correspond to different resource types;
[0076] The second display unit is configured as:
[0077] In response to a triggering operation on the viewing portal, displaying the resource set corresponding to each resource type; or,
[0078] In response to a triggering operation on the viewing portal, the resource set corresponding to a target resource type is displayed, where the target resource type is a resource type that matches the current state of the terminal among a plurality of resource types.
[0079] In some embodiments, the apparatus further comprises:
[0080] The deleting unit is configured to delete the resource from the resource set if any resource in the resource set meets the cancel viewing condition.
[0081] In some embodiments, the deletion unit is configured to at least one of the following:
[0082] When the display duration of the resource is greater than a third target duration, deleting the resource from the resource set;
[0083] When the proportion of the displayed resource content in the resource is greater than the second target proportion, the resource is deleted from the resource set.
[0084] According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device, including:
[0085] processor;
[0086] a memory for storing instructions executable by the processor;
[0087] The processor is configured to execute the instructions to implement the resource display method as described in the first aspect above.
[0088] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided. When instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device can execute the resource display method as described in the first aspect above.
[0089] According to a fifth aspect of an embodiment of the present disclosure, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the resource display method as described in the first aspect above is implemented.
[0090] The solution provided by the embodiment of the present disclosure summarizes and stores resources that are closed by the terminal after automatic display in the resource collection, displays the viewing entrance associated with the resource collection, triggers the viewing entrance, and can display the resource collection, thereby displaying the resources that were previously closed after automatic display by the terminal. The embodiment of the present disclosure provides a way to view resources, avoids the inability to view the resources after closing the resources that are automatically displayed by the terminal, and the operation method is simple, reducing the complexity of operation.
[0091] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0092] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.
[0093] Figure 1 is a schematic diagram of an implementation environment according to an exemplary embodiment;
[0094] Figure 2 is a flow chart of a resource display method according to an exemplary embodiment;
[0095] Figure 3 is a flow chart showing another resource display method according to an exemplary embodiment;
[0096] Figure 4 is a schematic diagram of a resource according to an exemplary embodiment;
[0097] Figure 5 is a schematic diagram of another resource according to an exemplary embodiment;
[0098] Figure 6 is a schematic diagram of a process of storing resources according to an exemplary embodiment;
[0099] Figure 7 is a schematic diagram showing a viewing entrance according to an exemplary embodiment;
[0100] Figure 8 is a schematic diagram of a process of displaying resources according to an exemplary embodiment;
[0101] Fig. 9 is a schematic diagram of a resource panel according to an exemplary embodiment;
[0102] Fig.10 is a structural block diagram of a resource display device according to an exemplary embodiment;
[0103] Fig.11 The present invention is a structural block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0104] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.
[0105] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0106] The user information involved in the present disclosure may be information authorized by the user or fully authorized by all parties.
[0107] Figure 1 is a schematic diagram of an implementation environment according to an exemplary embodiment. Figure 1 , the implementation environment includes a terminal 101 and a server 102. The terminal 101 and the server 102 are connected via a wireless or wired network.
[0108] In the disclosed embodiment, the server 102 obtains the resource to be recommended and sends the resource to the terminal 101. The terminal 101 automatically displays the resource in response to receiving the resource recommended by the server 102, and closes the resource in response to a closing operation on the resource.
[0109] Considering that the user may want to view the resource again later, terminal 101 will also summarize and store the resources that terminal 101 closed after automatic display in the resource collection, and display the viewing entry associated with the resource collection. When the user wants to view the above resources again, the resource collection can be displayed by triggering the viewing entry.
[0110] In some embodiments, the terminal 101 includes a smart phone, a tablet computer, a laptop computer, a desktop computer, etc., but is not limited thereto.
[0111] In some embodiments, server 102 is an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network) and big data and artificial intelligence platforms, but the embodiments of the present disclosure do not limit this.
[0112] In some embodiments, the terminal 101 is installed with a target application provided by the server 102, and the terminal 101 can realize functions such as video playback, live broadcast, online shopping, etc. through the target application. The target application is a short video application, a shopping application, a social application, or other applications, and the terminal 101 realizes the resource display method provided in the embodiment of the present disclosure through the target application.
[0113] The resource display method provided by the embodiment of the present disclosure is applied to any scenario of recommending resources to a terminal.
[0114] For example, in the scenario of pushing promotional resources, when the terminal is running the target application, the server associated with the target application pushes promotional resources to the terminal, and the terminal automatically pops up a promotional resource page to automatically display the pushed promotional resources, and a close control is displayed in the promotional resource page. The user may currently be using the target application to perform certain operations and does not want to view this promotional resource, so he will click the close control to close the promotional resource page. The terminal aggregates and stores the promotional resources that are automatically displayed and then closed in the promotional resource collection, and displays the viewing entrance in the target application. When the user is idle and wants to re-view the content of the promotional resource, the viewing entrance can be triggered. The terminal responds to the triggering operation of the viewing entrance and displays the promotional resource collection, and the user can browse the promotional resources in the promotional resource collection.
[0115] The above scenarios are only examples. The resource display method provided in the embodiments of the present disclosure may also be applied to other scenarios, which are not limited in the embodiments of the present disclosure.
[0116] Figure 2 is a flow chart of a resource display method according to an exemplary embodiment. Figure 2 As shown, the method is executed by a terminal, such as the terminal is Figure 1 The terminal 101 is shown. The method comprises the following steps:
[0117] In step 201, the terminal aggregates and stores, in a resource collection, resources that are closed by the terminal after automatic display.
[0118] The resources may include video resources, audio resources, image resources, text resources, page resources, etc., and may include resources pushed within applications, resources recommended in browsers, resources recommended in social media applications, resources displayed in search results pages by search engines, etc. Automatic display of resources by the terminal means that when the user does not perform a viewing operation on the resource or other operations related to the resource, the terminal automatically displays part or all of the content of the resource.
[0119] In some embodiments, the resources shown in the embodiments of the present disclosure are promotional resources. Promotional resources refer to resources used to promote target objects. Target objects may include any type of physical objects, virtual objects, services, operational activities, etc. For example, promotional resources are recommended by a server to one or more terminals so that the promotional resources are automatically displayed on the one or more terminals, thereby achieving the purpose of promoting the target object. Whether the promotional resources are displayed or not is not controlled by the terminal user. Even if the user does not want to view the promotional resources, the terminal will automatically display the promotional resources.
[0120] In addition, the operation of closing the resource may be automatically performed by the terminal, or may be manually performed by the user on the terminal, which is not limited in the embodiments of the present disclosure.
[0121] In addition, the resource collection is stored in the terminal in various forms such as a list or a database. Aggregate storage refers to storing one or more resources that are closed after the terminal automatically displays them in the resource collection, so that the one or more resources can be aggregated and displayed later by triggering the viewing portal.
[0122] In step 202, the terminal displays a viewing entry, and the viewing entry is associated with a resource collection.
[0123] In step 203, the terminal displays the resource collection in response to the triggering operation on the viewing portal.
[0124] The viewing entry is associated with the resource collection, indicating that if the viewing entry is triggered, the terminal will display the resource collection, and the user can view the resources in the resource collection. The viewing entry can be a control in the shape of a circle, a square, etc., the viewing entry can be a control in the form of a floating button, a pop-up window, etc., the viewing entry can be displayed at any position in the page displayed by the terminal, and the triggering operation of the viewing entry can include any one or more of a click operation, a long press operation, and a drag operation, which is not limited in the embodiments of the present disclosure.
[0125] In some embodiments, the terminal may receive resources at at least two times, and the resource collection includes at least two resources. At least two resources in the resource collection can be displayed by triggering the viewing entrance, achieving the effect of aggregated display of resources, allowing users to view at least two resources at a time, which is convenient for users to manage their time.
[0126] The method provided by the embodiment of the present disclosure summarizes and stores resources that are closed by the terminal after automatic display in a resource collection, displays a viewing entry associated with the resource collection, triggers the viewing entry, and can display the resource collection, thereby displaying the resources that were previously closed after automatic display by the terminal. The embodiment of the present disclosure provides a way to view resources, avoids the inability to view the resources after closing the resources that are automatically displayed by the terminal, and has a simple operation method and reduces the complexity of operation.
[0127] Above Figure 2 The embodiment shown is only a brief description of the resource display method. Figure 2 Based on the illustrated embodiment, another resource display method is also provided. Figure 3 is a flowchart of another resource display method according to an exemplary embodiment. Figure 3 As shown, the method is executed by a terminal, such as the terminal is Figure 1 The terminal 101 is shown. The method comprises the following steps:
[0128] In step 301, a terminal receives a resource recommended to the terminal and automatically displays the resource.
[0129] Among them, the resources recommended to the terminal may include video resources, audio resources, image resources, text resources, page resources and other formats, and may include: resources pushed within the application, resources recommended in the browser, resources recommended in social media applications, resources displayed by search engines in the search results page and other sources.
[0130] For example, see Figure 4 The terminal automatically displays the received resource in a pop-up window at the bottom of the current page. The resource is a picture and text card, which includes product pictures, product introduction information and a "go to view" control. The terminal also displays a close control for the resource. Triggering the close control can close the resource.
[0131] See also Figure 5 The terminal displays the received resource on the upper layer of the current page. The resource is a full-screen image resource, and the resource includes a jump link "Swipe up to jump to the details page". The terminal also displays a skip control for the resource. Triggering the skip control can close the resource and restore the original page.
[0132] In some embodiments, the resource is recommended to the terminal by a server, which includes one or more types of servers associated with applications running on the terminal, search engine servers, website servers, etc.
[0133] When the terminal receives the resource, it automatically displays the resource, wherein automatically displaying the resource means that the terminal automatically displays all or part of the resource content of the resource when the user does not perform a viewing operation on the resource or other operations related to the resource. For example, if the resource is a picture resource, the terminal automatically displays the picture resource in the currently displayed page. Alternatively, if the resource is a video resource, the terminal automatically plays the video resource, or the terminal displays a resource page, which displays the cover and playback entrance of the video resource, and the playback entrance is used to play the resource.
[0134] In step 302, in response to a closing operation on the resource, the terminal stores the resource in a resource collection if the resource meets a viewing condition.
[0135] The closing operation of the resource includes: triggering the closing control of the resource, triggering the skip control of the resource, sliding the current page to the left, or sliding the current page to the right, etc. In response to the closing operation of the resource, the terminal closes the resource, thereby stopping displaying the resource.
[0136] In order to facilitate the user to view the resource later, the terminal will also store the resource in the resource collection if the resource meets the viewing conditions. That is, the resource collection is used to aggregate and store resources that are closed by the terminal after automatic display and meet the viewing conditions. Among them, the viewing conditions are conditions that are satisfied by the resources that the user may view, which can be set by the terminal by default or by the user. For example, the viewing conditions are conditions that are satisfied by the resources that do not display all the resource content. Since the resource does not display all the resource content, it means that the user may view the resource again to view the remaining resource content of the resource.
[0137] The disclosed embodiment stores in a resource collection resources that are closed by the terminal after automatic display and that meet viewing conditions, thereby avoiding an excessive number of resources in the resource collection, saving storage space, and filtering out resources that the user may view based on the viewing conditions, thereby improving user satisfaction.
[0138] In some embodiments, in response to a closing operation on a resource, if the resource meets a viewing condition, storing the resource in a resource collection includes at least one of the following:
[0139] 1. In response to a closing operation on a resource, if the display duration of the resource is less than a first target duration, the resource is stored in a resource collection.
[0140] The viewing conditions include a first target duration. If the display duration of a resource is less than the first target duration, it means that the display duration of the resource is short and the user may need to view the resource again to understand the resource content of the resource. Therefore, the resource is stored in the resource collection so that the resource can be redisplayed when the user needs it later. If the display duration of a resource is not less than the first target duration, it means that the display duration of the resource is long enough and the user has viewed the resource content of the resource and may not need to view the resource again. In this case, the resource will not be stored in the resource collection, thereby saving storage space. Among them, the first target duration is 500 milliseconds, 1 second or 2 seconds, etc., which can be set by the terminal default or by the user.
[0141] For example, the process of terminal storage resources is as follows Figure 6 As shown, when the terminal receives a recommended resource, it automatically displays the resource, then closes the resource, and determines whether the display time of the resource is less than the first target time. If so, the resource is stored in the resource collection, if not, the resource is no longer stored in the resource collection.
[0142] 2. In response to a closing operation on a resource, if the proportion of resource content displayed in the resource is less than a first target proportion, the resource is stored in a resource collection.
[0143] The viewing condition includes a first target ratio. If the ratio of resource content displayed in a resource is less than the first target ratio, it means that the resource content displayed by the resource is small, and the user may need to view the resource again to understand the resource content of the resource. Therefore, the resource is stored in the resource collection so that the resource can be redisplayed when the user needs it later. If the ratio of resource content displayed in a resource is not less than the first target ratio, it means that the resource content displayed by the resource is sufficient, and the user has viewed the resource content of the resource and may not need to view the resource again. In this case, the resource will not be stored in the resource collection, thereby saving storage space. Among them, the first target ratio is 20%, 30%, etc., which can be set by the terminal default or by the user.
[0144] For the above two viewing conditions, the terminal may adopt only one viewing condition, or combine the above two viewing conditions, for example, the viewing condition is that the display duration of the resource is less than the first target duration and the proportion of the resource content displayed in the resource is less than the first target proportion. In addition, the above two viewing conditions are only examples, and the embodiments of the present disclosure may also adopt one or more other viewing conditions, which are not limited by the embodiments of the present disclosure.
[0145] In some embodiments, one or at least two resources may be stored in a resource set. In the case where the resource set includes at least two resources, the at least two resources are sorted according to the resource information. Then, when the resource set is subsequently displayed, the at least two resources may be displayed according to the sorting of the at least two resources, which improves the orderliness and facilitates user viewing. The resource information used for sorting may include multiple types, and the embodiment of the present disclosure does not limit this. With respect to the timing of sorting, in one possible implementation, each time the terminal stores a resource in a resource set, the position of the resource in the resource set may not be considered first. Instead, the resources stored in the resource set are sorted according to the resource information every first preset time. The first preset time is 1 hour, two hours, etc. Alternatively, in another possible implementation, each time the terminal stores a resource in a resource set, the resource information of the resource and other resources stored in the resource set is sorted, so as to determine the target position of the resource according to the sorting result, and insert the resource into the target position in the resource set. The embodiment of the present disclosure does not limit the timing of sorting.
[0146] In addition, the terminal may not sort the resources in the resource set, but randomly shuffle the order of the resources in the resource set, thereby improving randomness and ensuring a balanced display frequency of the resources.
[0147] It should be noted that the above step 302 is an optional step. In another embodiment, the viewing condition may not be set. As long as the resource is closed by the terminal after automatic display and meets the viewing condition, the terminal can store it in the resource collection in response to the closing operation of the resource.
[0148] In one possible implementation, in order to avoid storing too many resources in a resource collection, the storage duration of each resource can be set to a second preset duration, which is 4 hours, one day, or one week, etc. Then, each resource can only be stored in the resource collection at most for the second preset duration. Therefore, the terminal deletes the resource in response to the storage duration of any resource in the resource collection reaching the second preset duration.
[0149] In a possible implementation, the resource set is stored in the memory of the terminal, which can speed up the terminal to read the resource set, thereby speeding up the terminal to display the resource set and improving operation efficiency.
[0150] In step 303, the terminal displays a viewing entry, and the viewing entry is associated with the resource collection.
[0151] The terminal can display the viewing entrance at any position of the current page, and the viewing entrance can be displayed at any time. And the display duration of the viewing entrance can be configured by the terminal, for example, the viewing entrance is hidden after the display duration of the viewing entrance reaches the configured display duration.
[0152] In some embodiments, a prompt text is displayed in the viewing portal, and the prompt text is used to prompt the user to trigger the viewing portal to view the aggregated resources. For example, the prompt text is "View promotional resources", "View closed promotional resources", "View recommendations", etc.
[0153] In some embodiments, the terminal displays the viewing entrance on the upper layer of the current page to prevent the display of the viewing entrance from affecting the arrangement of the page content in the current page. When sliding the current page or switching to a page different from the current page, the display state of the viewing entrance will not change.
[0154] For example, see Figure 7 , the terminal displays the viewing entrance in the upper right corner of the current page.
[0155] In some embodiments, step 303 includes at least one of the following:
[0156] 1. If there are resources in the resource collection, the viewing entrance is displayed.
[0157] The terminal can detect resource collections. Only when there are resources in the resource collection will the viewing entrance be displayed. If there are no resources in the resource collection, the viewing entrance will not be displayed to save display space. For example, the process of displaying resources in the terminal is as follows: Figure 8 shown.
[0158] For example, the terminal periodically detects whether there are resources in the resource set at intervals, and determines whether to display the viewing entrance according to the detection result. Alternatively, the terminal detects each time a new resource recommended to the terminal is received, and determines whether to display the viewing entrance according to the detection result.
[0159] 2. In the current application, the viewing entrance is continuously displayed. That is, while the terminal is running the current application, the viewing entrance is continuously displayed through the current application. Even if the page displayed in the application changes, as long as the application is still running, the viewing entrance will continue to be displayed to ensure that the user can trigger the viewing entrance at any time when he needs to view resources, which improves the convenience of operation.
[0160] In some embodiments, in response to starting the application, the viewing entry is continuously displayed without detecting whether there are resources in the resource set associated with the viewing entry. In other embodiments, in response to the application switching from a foreground running state to a background running state, or in response to closing the application, the viewing entry is canceled.
[0161] 3. When the duration of stay on the current page is greater than the second target duration, the viewing entrance is displayed.
[0162] In some embodiments, the length of time spent on the current page may include the display time of the current page, that is, the time the terminal displays the current page is greater than the second target time, indicating that the display time of the current page is long enough and the user has fully viewed the page content of the current page. At this time, displaying the viewing entrance can attract the user to trigger the viewing entrance to view the recommended resources, and even if the display of the viewing entrance affects the display of the current page, it will not cause dissatisfaction among users.
[0163] In other embodiments, the length of time spent on the current page may include the length of time during which no operation is performed on the current page, that is, after the terminal displays the current page, the user can perform operations on the current page, such as sliding operations, clicking on a control, etc., and if the length of time during which no operation is performed on the current page is greater than the second target length of time, it means that the user has completed viewing the page content of the current page and does not need to perform any operations on the current page. At this time, displaying a viewing entrance can attract the user to trigger the viewing entrance to view the resource, and even if the display of the viewing entrance affects the display of the current page, it will not cause dissatisfaction among the users.
[0164] The second target duration may be set by default by the terminal or may be set individually by the user, and this embodiment of the present disclosure does not impose any limitation on this.
[0165] 4. When receiving new resources recommended to the terminal, display the viewing entrance.
[0166] The terminal may receive one or more resources, and each time a new resource recommended to the terminal is received, the resource received this time is automatically displayed for the user to view. Displaying a viewing portal at this time may also attract the user to trigger the viewing portal to view the old resource recommended previously.
[0167] 5. In response to a target operation, a viewing entrance is displayed, where the target operation is an operation for instructing to display a viewing entrance.
[0168] The user may also perform a target operation on the terminal to display the viewing entrance. The target operation may be an operation of clicking on the top of the current page, a sliding operation of a preset gesture on the current page, etc. The target operation may be set by default by the terminal or may be set individually by the user, and the embodiments of the present disclosure do not limit this.
[0169] It should be noted that the above five conditions for displaying the viewing entrance can be combined in any form. For example, in response to the target operation, the viewing entrance is displayed when there are resources in the resource collection, and the viewing entrance is not displayed when there are no resources in the resource collection. In addition, the above five conditions for displaying the viewing entrance are only examples. The embodiments of the present disclosure may also adopt one or more other viewing conditions, which are not limited by the embodiments of the present disclosure.
[0170] In step 304, the terminal displays the resource collection in response to the triggering operation on the viewing portal.
[0171] In some embodiments, the association of the viewing entry with the resource collection includes: the viewing entry includes the address information of the resource collection, and the terminal obtains the address information in the viewing entry in response to the triggering operation on the viewing entry, thereby accessing the resource collection based on the address information, and then displaying the resource collection. Alternatively, the association of the viewing entry with the resource collection includes: the viewing entry includes the identifier of the resource collection, and the terminal obtains the identifier in the viewing entry in response to the triggering operation on the viewing entry, thereby displaying the resource collection corresponding to the identifier based on the identifier. The identifier is the name of the resource collection or other identifier that determines a unique resource collection.
[0172] In some embodiments, the resource set is stored in the memory of the terminal, and the terminal obtains the resource set from the memory and displays the resource set in response to the trigger operation of the viewing entrance. The terminal is provided with a memory and an external memory, and the data stored in the external memory needs to be loaded into the memory first, and the terminal can only process it after reading it from the memory. Therefore, compared with the external memory of the terminal, storing the resource set in the memory speeds up the terminal to read the resource set, thereby improving the operation efficiency.
[0173] In some embodiments, the terminal displays the resource set including: the terminal displays at least one resource in the resource set itself, for example, if the resource is a picture resource, the terminal directly displays the picture resource, or if the resource is a video resource, the terminal directly plays the video resource in the play window.
[0174] In the related art, the terminal is provided with one or more resources, and the viewing entrance of each resource is also displayed. When the user triggers the viewing entrance, the viewing operation on the resource is triggered. In response to the triggering operation on the viewing entrance of the resource, the terminal can display the resource. However, this viewing entrance is for the resource. One resource has one viewing entrance, and the viewing entrances of different resources are different. The viewing entrance shown in the embodiment of the present disclosure is an entrance for viewing a resource collection. Because the resource collection summarizes and stores resources that are automatically displayed and then closed by the terminal, the viewing entrance is an entrance for viewing the summarized and stored resources, which is different from the viewing entrance of a single resource.
[0175] In some embodiments, step 304 includes 3041 and 3042:
[0176] 3041. In response to a triggering operation on a viewing entrance, the terminal displays a display entrance of at least one resource in the resource set.
[0177] In some embodiments, the display entry of a resource displays part of the resource content or all of the resource content of the resource. For example, if the resource is a picture resource, the display entry of the resource displays a thumbnail of the picture resource, and the original picture of the picture resource can be displayed by triggering the display entry. Or if the resource is a video resource, the display entry of the resource displays the title and cover of the video resource, and the video resource can be played by triggering the display entry.
[0178] In other embodiments, the display entrances of different resources are of equal size, and the display entrances of multiple resources are arranged in a list style, a grid style, or other styles. The embodiments of the present disclosure do not limit the layout style.
[0179] In some other embodiments, step 3041 includes: the terminal displays a resource panel in response to a trigger operation on the viewing entry, and the resource panel includes a display entry of at least one resource in the resource set. The resource panel can be displayed in full screen, for example, the resource panel is displayed in the upper layer of the current page, covering the current page. Alternatively, the resource panel can be displayed in half screen, for example, the resource panel is displayed in the upper layer of the current page, covering a portion of the current page. The embodiment of the present disclosure does not limit the display size and display position of the resource panel.
[0180] See also Figure 7 and Fig. 9 , user triggered Figure 7 If the viewing entrance is shown, the terminal displays Fig. 9 The Resources panel is shown.
[0181] In some embodiments, the resource panel also displays operation controls, and the user can not only view the display entry in the resource panel, but also perform corresponding operations through the operation controls in the resource panel. The operation controls include at least one of the following:
[0182] 1. The close control corresponding to the resource panel is used to close the resource panel.
[0183] After viewing the content in the resource panel, the user triggers the close control to close the resource panel. The close control can be located in the upper right corner of the resource panel or other locations.
[0184] In another embodiment, the resource panel may not display a close control corresponding to the resource panel, and when the display time of the resource panel reaches a third preset time, the terminal automatically closes the resource panel. Alternatively, when the resource panel is displayed, the terminal responds to a trigger operation on the viewing entry and closes the resource panel, or the terminal closes the resource panel in other ways.
[0185] 2. Delete control corresponding to each display entry.
[0186] The resource panel not only displays the display entry of the resource, but also displays a delete control corresponding to the display entry. The delete control is used to delete the display entry in the resource panel, thereby leaving more display space to display the display entrances of other resources.
[0187] For example, when a user browses each display entry in the resource panel and is not interested in a display entry of a resource, the delete control corresponding to the display entry is triggered, and the terminal deletes the display entry from the resource panel. In some embodiments, the terminal deletes the display entry from the resource panel and moves the other display entries after the display entry in sequence to fill the display space left due to the deletion of the display entry.
[0188] In some embodiments, the delete control corresponding to the display entry is not only used to delete the display entry in the resource panel, but also used to delete the resource to which the display entry belongs in the resource collection. For example, when a user browses each display entry in the resource panel and is not interested in the display entry of a certain resource, the delete control corresponding to the display entry is triggered, and the terminal deletes the display entry from the resource panel, and deletes the resource to which the display entry belongs from the resource collection, so as to reduce the data volume of the resource collection and save storage space.
[0189] 3. Slide control: The slide control is used to slide and display the resources in the resource collection.
[0190] The display space of the resource panel is limited. When there are a large number of resources in the resource collection, the resource panel displays the display entrances of some resources but cannot display the display entrances of all resources. You can use the sliding control to slide the resource panel, such as sliding up, sliding down, sliding left or right, etc., to change the display entrance of the displayed resource.
[0191] 4. Page turning control: The page turning control is used to turn pages in the resource panel.
[0192] The resource panel displays one page at a time. Due to limited display space, only the display entrances of some resources can be displayed on one page, but not all resources. The page turning control can be used to switch pages in the resource panel, such as switching to the previous page or switching to the next page, thereby changing the display entrance of the displayed resource.
[0193] It should be noted that, in addition to the operations listed above, the terminal can also perform other operations in the resource panel, such as dragging the display entrance to change the position of the display entrance, adding the display entrance to favorites, etc., and the embodiments of the present disclosure do not limit this.
[0194] 3042. The terminal displays detailed resource content of the target resource in response to a triggering operation on a display entry of the target resource, where the target resource is any resource in the resource set.
[0195] In some embodiments, the detailed resource content of the target resource includes all resource content of the target resource, or the detailed resource content of the target resource includes resource content of all resource content except the resource content displayed by the display entrance, or the detailed resource content of the target resource includes resource content of all resource content that belongs to preset attributes, etc. The embodiments of the present disclosure do not limit this.
[0196] In some embodiments, in response to a triggering operation on a display entry of a target resource, displaying detailed resource content of the target resource includes:
[0197] 1. In response to a trigger operation on a display entry of a target resource in a currently running first application, a second application to which the target resource belongs is called to display detailed resource content of the target resource.
[0198] Take the currently running application as the first application as an example, and the target resource belongs to the second application different from the first application, such as the target resource is a picture resource, video resource, etc. in the second application. Then the terminal displays the display entry of the target resource in the resource set in the first application, and after triggering the display entry, the second application can be called to display the detailed resource content of the target resource. In addition, one or more operations can be performed on the target resource in the second application, such as a like operation, an operation of adding recommended items in the target resource to the shopping cart, an operation of purchasing recommended items in the target resource, etc.
[0199] After viewing the detailed resource content of the target resource in the second application, the user can also return to the first application to display the page displayed in the first application before the display entrance of the target resource is triggered. The operation of returning to the first application may include: sliding left in the second application, clicking the return control in the second application, and clicking the icon of the first application after returning to the desktop.
[0200] 2. The target resource includes a jump link. In response to a trigger operation on a display entry of the target resource, the target resource is redirected to a detail page based on the jump link of the target resource. The detail page displays the detail resource content.
[0201] For example, the target resource is a movie trailer, and the target resource includes a jump link, which is used to jump to the movie resource corresponding to the movie trailer. Or, the target resource is a picture resource used to promote an event, and the picture resource includes a jump link for the event, and the jump link is used to jump to the main page of the event.
[0202] The terminal displays the display entrance of the target resource. Considering that the target resource has been displayed when the terminal received the resource before, but still has not gained the user's interest, in response to the triggering operation of the display entrance, the target resource itself is no longer displayed, but automatically jumps based on the jump link of the target resource, thereby displaying the details page of the target resource, so that the user can view the detailed resource content of the target resource without triggering the jump link, which simplifies the user's operation, provides the user with more updated resource content as much as possible, and improves display efficiency.
[0203] The above two display methods can be combined in any way. For example, the target resource includes a jump link and belongs to a second application different from the current first application. The terminal responds to the trigger operation of the display entrance of the target resource in the currently running first application, calls the second application to which the target resource belongs, and displays the details page corresponding to the jump link of the target resource. The details page displays the detailed resource content of the target resource.
[0204] In the disclosed embodiment, considering that there are many resource contents in resources, it is difficult to display the resource contents of multiple resources at the same time, and resources of different resource types require different display space sizes. Displaying the resource contents of multiple resources at the same time will cause a chaotic page layout and inconvenient viewing. Therefore, a method of first displaying the display entrance of the resource, triggering the display entrance and then displaying the detailed resource content of the resource is adopted. This can effectively reduce the amount of information that needs to be displayed at one time, improve the organization of the page, and improve the viewing efficiency of users.
[0205] In other embodiments, the terminal is provided with at least two resource sets, and different resource sets correspond to different resource types, that is, each resource set is used to aggregate and store different types of resources. Before the terminal stores the resource, it will determine the resource type to which the resource belongs, and store the resource in the resource set corresponding to the resource type, thereby ensuring that resources of the same resource type are stored in the same resource set. Among them, the resource types include: video, audio, text, etc., or the resource types include: screen promotion resources, web page pop-up promotion resources, social media promotion resources, etc., or the resource types include: novels, movies, social networking, etc. The disclosed embodiments do not limit the division method of resource types.
[0206] Then step 304 includes 3043 or 3044:
[0207] 3043. In response to the triggering operation on the viewing portal, the terminal displays a resource set corresponding to each resource type.
[0208] The viewing entry is associated with at least two resource collections. After the viewing entry is triggered, the terminal will display at least two resource collections for the user to view.
[0209] For example, in response to a trigger operation on a viewing entrance, the terminal displays a resource panel, in which a resource collection corresponding to each resource type is displayed, or labels of at least two resource types are displayed in the resource panel. Selecting any label will display the resource collection corresponding to the resource type to which the label belongs in the resource panel.
[0210] 3044. In response to the triggering operation on the viewing portal, the terminal displays a resource set corresponding to a target resource type, where the target resource type is a resource type that matches the current state of the terminal among the multiple resource types.
[0211] The resource collection corresponding to the target resource type can be considered as the resource collection that the user currently wants to view most. Therefore, the terminal responds to the trigger operation of the viewing entrance and displays the resource collection corresponding to the target resource type, thereby reducing the amount of information displayed, avoiding disturbing the user, and improving display efficiency.
[0212] In some embodiments, the current state is: the terminal receives a new resource recommended to the terminal within a fourth preset time before the current moment, that is, the user triggers the viewing entrance after just viewing the new resource, indicating that the user is interested in the new resource, so the resource type to which the new resource belongs is determined as the target resource type, so that the resource set corresponding to the target resource type, that is, the resources belonging to the same resource type as the new resource, are displayed for the user to view. The fourth preset time is 1 minute, 2 minutes, etc.
[0213] In other embodiments, the current state is: the duration of staying on the current page is greater than the second target duration, indicating that the display duration of the current page is long enough, the user has fully viewed the page content of the current page, and is currently in an idle state. At this time, the viewing entrance is triggered, indicating that the user wants to view resources because of idleness, so the resource set corresponding to the target resource type is displayed. Among them, the target resource type can be any resource type, and the embodiments of the present disclosure do not limit this.
[0214] In some other embodiments, the method further includes: when any resource in the resource collection meets the viewing cancellation condition, deleting the resource from the resource collection to save storage space.
[0215] The cancel viewing condition is a condition that the user no longer views, and can be set by default by the terminal or by the user. For example, if the viewing condition is the entire resource content of the displayed resource, the user has viewed the entire resource content and is unlikely to view the resource again.
[0216] In a possible implementation, when any resource in the resource collection meets the viewing cancellation condition, deleting the resource from the resource collection includes at least one of the following:
[0217] 1. When the display duration of a resource is greater than the third target duration, the terminal deletes the resource from the resource set.
[0218] The display duration of the resource may be the sum of one or more display durations of the resource on the terminal, or the display duration of the resource when it was last displayed on the terminal, which is not limited in the embodiments of the present disclosure.
[0219] The cancellation viewing condition includes a third target duration. If the display duration of a resource is longer than the third target duration, it means that the display duration of the resource is long enough, the user has fully viewed the resource content of the resource, and it is likely that the resource does not need to be viewed again, and the resource is deleted from the resource set. The third target duration is 1 minute, 3 minutes, etc., which can be set by the terminal by default or by the user.
[0220] For example, the viewing condition includes a first target duration, the cancel viewing condition includes a third target duration, and the third target duration is greater than the first target duration.
[0221] 2. When the proportion of resource content displayed on the terminal in the resources is greater than the second target proportion, the resources are deleted from the resource set.
[0222] Among them, the proportion of resource content displayed in the resource can be the proportion of resource content displayed when the resource is displayed on the terminal once or multiple times, or the proportion of resource content displayed when the resource is displayed on the terminal for the last time. The embodiments of the present disclosure do not limit this.
[0223] The cancel viewing condition includes a second target ratio. If the ratio of the displayed resource content in the resource is greater than the second target ratio, it means that the resource content displayed by the resource is sufficient, the user has viewed the resource content of the resource, and it is likely that the resource does not need to be viewed again, so the resource is deleted from the resource set. The second target ratio is 80%, 90%, etc., which can be set by the terminal by default or by the user.
[0224] For example, the viewing condition includes a first target ratio, the cancel viewing condition includes a second target ratio, and the second target ratio is greater than the first target ratio.
[0225] The method provided by the embodiment of the present disclosure summarizes and stores resources that are closed by the terminal after automatic display in a resource collection, displays a viewing entry associated with the resource collection, and triggers the viewing entry to display the resource collection, thereby displaying the resources that were previously closed after automatic display by the terminal. The embodiment of the present disclosure provides a way to view resources, which avoids the situation where the resource cannot be viewed after the resource automatically displayed by the terminal is closed, and the operation method is simple, reducing the complexity of the operation. In addition, since the opportunity for users to view resources is increased, the situation where users cannot view resources after closing them because of the habit of closing them is avoided, thereby improving the recommendation effect of resources and increasing the conversion probability of resources.
[0226] Moreover, the embodiment of the present disclosure aggregates and stores in a resource collection the resources that are closed by the terminal after automatic display and that meet the viewing conditions, thereby avoiding the situation where there are too many resources in the resource collection, saving storage space, and filtering out resources that the user may view based on the viewing conditions, thereby improving user satisfaction.
[0227] Moreover, the viewing conditions include at least one of the following: the display duration of the resource is less than the first target duration, and the proportion of the resource content displayed in the resource is less than the first target proportion. Considering that the display duration of the resource and the proportion of the resource content displayed in the resource can indicate the degree of detail of the user's viewing of the resource, when the user does not view the resource in detail enough, the resource is stored in the resource collection, thereby improving operation accuracy.
[0228] Furthermore, at least two resources in the resource set are sorted according to the resource information, so that when the resource set is subsequently displayed, the at least two resources are displayed according to the sorting of the at least two resources, which improves organization and facilitates user viewing.
[0229] Furthermore, storing the resource set in the memory speeds up the terminal's reading of the resource set, thereby improving operational efficiency.
[0230] Moreover, the embodiments of the present disclosure provide a variety of situations for displaying viewing entrances, fully considering the status of the user using the terminal, and can display the viewing entrance to the user when it is suitable for the user to view the resource, so that the user can view the resource after triggering the viewing entrance. It can also avoid disturbing the user and improve the accuracy of operation.
[0231] Moreover, the disclosed embodiment adopts a method of first displaying the display entrance of the resource, and then displaying the detailed resource content of the resource after triggering the display entrance, which can effectively reduce the amount of information that needs to be displayed at one time, improve the organization of the page, and improve the user's viewing efficiency.
[0232] Moreover, in response to the trigger operation of the viewing entrance, the display entrance of the resource is displayed in the resource panel, and the display entrance is centrally displayed in the resource panel, which is convenient for users to view and reduces the complexity of the page. In addition, the resource panel displays an operation control, which is convenient for performing various operations in the resource panel through the operation control, expanding the function of the resource panel and improving the flexibility of operation.
[0233] Moreover, after triggering the display entrance of the target resource in the currently running first application, the second application to which the target resource belongs is called to display the detailed resource content of the target resource, thereby realizing automatic jump between the first application and the second application, ensuring the display effect of the resource, and avoiding the situation where the target resource is directly displayed in the first application and the display effect is reduced.
[0234] Moreover, in the case that the target resource includes a jump link, in response to the triggering operation of the display entrance of the target resource, the target resource itself is no longer displayed, but the target resource is automatically jumped based on the jump link of the target resource, thereby displaying the details page of the target resource, so that the user can view the detailed resource content of the target resource without triggering the jump link, which simplifies the user's operation, provides the user with more updated resource content as much as possible, and improves display efficiency.
[0235] Moreover, different resource sets correspond to different resource types. The same resource set aggregates and stores resources of the same resource type, which is convenient for resource management. After the viewing portal is triggered, the resource sets are displayed according to the resource types. For example, the resource sets corresponding to each resource type are displayed, so that users can view resources according to the resource types, which improves efficiency. Alternatively, only the resource sets corresponding to the target resource types that match the current state of the terminal are displayed, thereby reducing the amount of information displayed, avoiding disturbance to the user, and improving display efficiency.
[0236] Moreover, the disclosed embodiment deletes resources that meet the conditions for canceling viewing from the resource collection, thereby avoiding the situation where there are too many resources in the resource collection and saving storage space. Moreover, the conditions for canceling viewing include at least one of the following: the display duration of the resource is greater than the third target duration, and the proportion of the resource content displayed in the resource is greater than the second target proportion. Considering that the display duration of the resource and the proportion of the resource content displayed in the resource can represent the degree of detail of the user viewing the resource, the resource is deleted when the user has viewed the resource in sufficient detail, thereby improving the accuracy of the operation.
[0237] In the related art, when a user mistakenly closes a resource automatically displayed by a terminal due to habit, the terminal will provide a search portal for the user, and the user can search for the resource again through the search portal. However, this method has high requirements for the user, requiring the user to perform operations such as finding the search portal, inputting resource-related content, and filtering out the correct resource from the search results, which is very cumbersome. In the embodiment of the present disclosure, the user only needs to trigger the viewing portal to display the resource that was automatically displayed and then closed by the terminal, which is very simple to operate.
[0238] In the related art, when a user triggers a close control or skip control of a resource to close the resource, the terminal can pop up a confirmation pop-up window to ask the user to confirm whether to close the resource, so as to retain the user to view the resource as much as possible. However, this method will cause users to upgrade their habits, so that they continue to close the confirmation pop-up window after closing the resource. If the user mistakenly closes a resource that he is interested in or useful to him because of habit, he still cannot view the resource again. Moreover, the method of popping up a confirmation pop-up window can easily cause users to be disgusted, resulting in a poor user experience. The embodiment of the present disclosure will not pop up a confirmation pop-up window when the user closes the resource, will not cause users to be disgusted, and improves the user experience.
[0239] In the related art, when a terminal displays a resource, it can also display an operation control for the resource, such as a like control or a favorite control, so as to perform a like operation or a favorite operation on the resource. If a like operation or a favorite operation is performed when the terminal displays the resource, the resource can be found from the like list or the favorite list after the resource is closed, so that the resource is redisplayed. However, this method requires the user to spend some time to view the resource and perform operations on the resource. If the user habitually closes the resource without performing operations such as likes or favorites, the resource will not be retrieved. Moreover, many resources are not set with operation controls, so the above method has poor applicability. The method provided in the embodiment of the present disclosure does not require the user to perform operations such as likes or favorites on the resource to view the resource, and regardless of whether the resource is set with operation controls, the method provided in the embodiment of the present disclosure can be used for display, which has strong applicability.
[0240] Fig.10 is a structural block diagram of a resource display device according to an exemplary embodiment. Fig.10 , the device comprises:
[0241] The storage unit 1001 is configured to aggregate and store, in a resource set, resources closed by the terminal after automatic display;
[0242] A first display unit 1002 is configured to display a viewing entry, where the viewing entry is associated with a resource collection;
[0243] The second display unit 1003 is configured to display the resource collection in response to a triggering operation on the viewing entrance.
[0244] In some embodiments, the resource collection is used to aggregate and store resources that are closed by the terminal after automatic display and that meet the viewing condition, and the storage unit 1001 includes:
[0245] The storage subunit is configured to automatically display the resources recommended to the terminal; in response to a closing operation on the resources, if the resources meet the viewing conditions, store the resources in the resource collection.
[0246] In some embodiments, the storage subunit is configured as at least one of the following:
[0247] In response to a closing operation on a resource, if a display duration of the resource is less than a first target duration, storing the resource in a resource collection;
[0248] In response to a closing operation on a resource, if a proportion of resource content displayed in the resource is less than a first target proportion, the resource is stored in a resource collection.
[0249] In some embodiments, the resource set is stored in a memory of the terminal;
[0250] The second display unit 1003 is configured to obtain a resource set from the memory and display the resource set in response to a triggering operation on the viewing entrance.
[0251] In some embodiments, the first display unit 1002 is configured as at least one of the following:
[0252] If there are resources in the resource collection, the viewing entrance is displayed;
[0253] In the current application, the viewing entrance is continuously displayed;
[0254] When the duration of staying on the current page is longer than the second target duration, display the viewing entrance;
[0255] When receiving a new resource recommended to the terminal, displaying a viewing entry;
[0256] In response to a target operation, the view entry is displayed, the target operation being an operation for instructing to display the view entry.
[0257] In some embodiments, the second display unit 1003 includes:
[0258] The entry display subunit is configured to display a display entry of at least one resource in the resource set in response to a trigger operation on viewing the entry;
[0259] The detail display subunit is configured to display the detailed resource content of the target resource in response to a trigger operation on the display entrance of the target resource, where the target resource is any resource in the resource set.
[0260] In some embodiments, the portal display subunit is configured to display a resource panel in response to a trigger operation for viewing a portal, wherein the resource panel includes a displayed portal of at least one resource in the resource collection.
[0261] In some embodiments, the resource panel further displays an operation control, and the operation control includes at least one of the following:
[0262] The close control corresponding to the resource panel;
[0263] Delete control corresponding to each display entry;
[0264] Slide control, which is used to slide and display resources in a resource collection;
[0265] Page turning control: The page turning control is used to turn pages in the resource panel.
[0266] In some embodiments, the detail display subunit is configured to call a second application to which the target resource belongs and display the detailed resource content of the target resource in response to a triggering operation on a display entry of the target resource in a currently running first application.
[0267] In some embodiments, the target resource includes a jump link, and the detail display subunit is configured to respond to a trigger operation on a display entry of the target resource and jump to a detail page of the target resource based on the jump link of the target resource, where the detail page displays the detail resource content.
[0268] In some embodiments, different resource sets correspond to different resource types;
[0269] The second display unit 1003 is configured as follows:
[0270] In response to a trigger operation on a viewing portal, displaying a resource collection corresponding to each resource type; or,
[0271] In response to the triggering operation on the viewing portal, a resource set corresponding to a target resource type is displayed, where the target resource type is a resource type that matches the current state of the terminal among the multiple resource types.
[0272] In some embodiments, the apparatus further comprises:
[0273] The deleting unit is configured to delete a resource from the resource collection when any resource in the resource collection meets the viewing cancellation condition.
[0274] In some embodiments, the deletion unit is configured to at least one of the following:
[0275] When the display duration of the resource is greater than the third target duration, deleting the resource from the resource collection;
[0276] When the proportion of the displayed resource content in the resource is greater than the second target proportion, the resource is deleted from the resource collection.
[0277] The device provided by the embodiment of the present disclosure summarizes and stores resources that are closed by the terminal after automatic display in the resource set, displays the viewing entry associated with the resource set, triggers the viewing entry, and can display the resource set, thereby displaying the resources that were previously closed after automatic display by the terminal. The embodiment of the present disclosure provides a way to view resources, avoids the inability to view the resources after closing the resources that are automatically displayed by the terminal, and the operation method is simple, reducing the complexity of operation.
[0278] Regarding the device in the above embodiment, the specific manner in which each unit performs the operation has been described in detail in the embodiment of the method, and will not be elaborated here.
[0279] Fig.11 1 is a block diagram of an electronic device according to an exemplary embodiment. In some embodiments, the electronic device 1100 includes: a mobile phone, a desktop computer, a laptop computer, a tablet computer, a PDA (Personal Digital Assistant) or other electronic devices. The electronic device 1100 may also be called a user device, a portable terminal, a laptop terminal, a desktop terminal, or other names.
[0280] Typically, the electronic device 1100 includes a processor 1101 and a memory 1102 .
[0281] In some embodiments, processor 1101 includes one or more processing cores, such as a 4-core processor, an 8-core processor, etc.
[0282] In some embodiments, the memory 1102 includes one or more computer-readable storage media, which are non-transitory. In some embodiments, the non-transitory computer-readable storage medium in the memory 1102 is used to store executable instructions, which are used to be executed by the processor 1101 to implement the resource display method provided by the method embodiment of the present disclosure.
[0283] In some embodiments, the electronic device 1100 may further optionally include: a peripheral device interface 1103 and at least one peripheral device. In some embodiments, the processor 1101, the memory 1102 and the peripheral device interface 1103 are connected via a bus or a signal line. In some embodiments, each peripheral device is connected to the peripheral device interface 1103 via a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 1104, a display screen 1105, a camera assembly 1106, an audio circuit 1107, a positioning assembly 1108 and a power supply 1109.
[0284] In some embodiments, the electronic device 1100 further includes one or more sensors 1110 , including but not limited to: an acceleration sensor 1111 , a gyroscope sensor 1112 , a pressure sensor 1113 , an optical sensor 1114 , and a proximity sensor 1115 .
[0285] Those skilled in the art will understand that Fig.11 The structure shown in the figure does not constitute a limitation on the electronic device 1100, and it can include more or less components than those shown in the figure, or combine certain components, or adopt a different component arrangement.
[0286] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, and when the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device can execute the resource display method in the above-mentioned embodiment. For example, the computer-readable storage medium can be a ROM (Read Only Memory), a RAM (Random Access Memory), a CD-ROM (Compact Disc Read-Only Memory), a magnetic tape, a floppy disk, an optical data storage device, etc.
[0287] In an exemplary embodiment, a computer program product is also provided, including a computer program, and when the computer program is executed by a processor, the resource display method in the above embodiment is implemented.
[0288] In some embodiments, the computer program involved in the embodiments of the present disclosure may be deployed and executed on one electronic device, or on multiple electronic devices located at one location, or on multiple electronic devices distributed at multiple locations and interconnected by a communication network. Multiple electronic devices distributed at multiple locations and interconnected by a communication network may constitute a blockchain system.
[0289] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0290] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A resource display method, characterized in that: include: In the resource collection, resources closed by the terminal after automatic display are stored in aggregate; Display a viewing entry, wherein the viewing entry is associated with the resource collection; In response to a triggering operation on the viewing portal, the resource collection is displayed.
2. The method according to claim 1, characterized in that The resource set is used to aggregate and store resources that are closed by the terminal after automatic display and meet the viewing condition. In the resource set, the resources that are closed by the terminal after automatic display are aggregated and stored include: Automatically displaying resources recommended to the terminal; In response to a closing operation on the resource, if the resource meets the viewing condition, the resource is stored in the resource collection.
3. The method according to claim 2, characterized in that In response to the closing operation on the resource, if the resource meets the viewing condition, storing the resource in the resource collection includes at least one of the following: In response to a closing operation on the resource, if the display duration of the resource is less than a first target duration, storing the resource in the resource collection; In response to a closing operation on the resource, if a proportion of the displayed resource content in the resource is less than a first target proportion, the resource is stored in the resource collection.
4. The method according to claim 1, characterized in that: The resource set is stored in the memory of the terminal; The displaying of the resource collection in response to the triggering operation on the viewing portal includes: In response to a triggering operation on the viewing portal, the resource collection is obtained from the memory and the resource collection is displayed.
5. The method according to claim 1, characterized in that The display viewing entrance includes at least one of the following: If there are resources in the resource collection, display the viewing entrance; In the current application, the viewing entrance is continuously displayed; When the duration of staying on the current page is greater than the second target duration, displaying the viewing entrance; In case of receiving a new resource recommended to the terminal, displaying the viewing entrance; The viewing entrance is displayed in response to a target operation, where the target operation is an operation for instructing to display the viewing entrance.
6. The method according to claim 1, characterized in that The displaying of the resource collection in response to the triggering operation on the viewing portal includes: In response to a triggering operation on the viewing entry, displaying a display entry of at least one resource in the resource set; In response to a triggering operation on a display entry of a target resource, detailed resource content of the target resource is displayed, and the target resource is any one resource in the resource set.
7. The method according to claim 6, characterized in that The step of displaying a display entrance of at least one resource in the resource set in response to a triggering operation on the viewing entrance comprises: In response to a triggering operation on the viewing entry, a resource panel is displayed, wherein the resource panel includes a display entry of at least one resource in the resource collection.
8. The method according to claim 7, characterized in that The resource panel also displays an operation control, which includes at least one of the following: A close control corresponding to the resource panel; Delete control corresponding to each display entry; A sliding control, the sliding control is used to slide and display resources in the resource collection; A page turning control is used to perform a page turning operation in the resource panel.
9. The method according to claim 6, characterized in that The step of displaying detailed resource content of the target resource in response to a triggering operation on a display entry of the target resource includes: In response to a triggering operation on a display entry of the target resource in a currently running first application, a second application to which the target resource belongs is called to display detailed resource content of the target resource.
10. The method according to claim 6, characterized in that The target resource includes a jump link, and the display of detailed resource content of the target resource in response to a triggering operation on a display entrance of the target resource includes: In response to a triggering operation on the display entrance of the target resource, based on the jump link of the target resource, jumping to the detail page of the target resource, the detail page displays the detail resource content.
11. The method according to any one of claims 1 to 10, characterized in that: Different resource sets correspond to different resource types; The displaying of the resource collection in response to the triggering operation on the viewing portal includes: In response to a triggering operation on the viewing portal, displaying the resource set corresponding to each resource type; or, In response to a triggering operation on the viewing portal, the resource set corresponding to a target resource type is displayed, where the target resource type is a resource type that matches the current state of the terminal among a plurality of resource types.
12. The method according to any one of claims 1 to 10, characterized in that: The method further comprises: When any resource in the resource set meets the viewing cancellation condition, the resource is deleted from the resource set.
13. The method according to claim 12, characterized in that When any resource in the resource set meets the cancel viewing condition, deleting the resource from the resource set includes at least one of the following: When the display duration of the resource is greater than a third target duration, deleting the resource from the resource set; When the proportion of the displayed resource content in the resource is greater than the second target proportion, the resource is deleted from the resource set.
14. A resource display device, characterized in that: include: A storage unit configured to aggregate and store, in a resource set, resources closed by the terminal after automatic display; A first display unit is configured to display a viewing entrance, wherein the viewing entrance is associated with the resource collection; The second display unit is configured to display the resource collection in response to a triggering operation on the viewing entrance.
15. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the resource display method according to any one of claims 1 to 13.
16. A computer-readable storage medium, characterized in that: When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the resource display method according to any one of claims 1 to 13.
17. A computer program product, characterized in that The invention comprises a computer program, which implements the resource display method according to any one of claims 1 to 13 when being executed by a processor.
Citation Information
Patent Citations
Method and device for viewing browsing records in e-book purchasing process
CN110533492A
Historical browsing content display method and device, electronic equipment and storage medium
CN114816179A
Video display method and device, electronic equipment and storage medium
CN114827709A
Page display method and device, equipment, storage medium and program product
CN117666887A
Resource display method and device, electronic equipment and storage medium
CN118158481A
