Display data processing method and device, electronic equipment and computer readable medium

By detecting user swiping behavior and using cached data to supplement display space, the problem of missing information when scrolling quickly or when the network signal is poor was solved, thus improving page utilization and user experience.

CN115310012BActive Publication Date: 2026-05-19BEIJING WODONG TIANJUN INFORMATION TECH CO LTD +1
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
BEIJING WODONG TIANJUN INFORMATION TECH CO LTD
Filing Date
2022-07-07
Publication Date
2026-05-19

AI Technical Summary

Technical Problem

In existing technologies, page errors are prone to occur when scrolling quickly or when the network signal is poor, leading to wasted resources and a decline in user experience.

Method used

By detecting user swiping behavior, we can analyze whether there is a target display position on the page and use cached data to supplement the data, thus ensuring the integrity of the display page.

Benefits of technology

It improved the utilization and visual appeal of the display page, reduced gaps in the display, and increased data exposure and click-through rates.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115310012B_ABST
    Figure CN115310012B_ABST
Patent Text Reader

Abstract

Embodiments of the present disclosure disclose a method and device for display data processing, electronic equipment and computer readable medium. A specific embodiment of the method comprises: in response to detecting that a user has swiped a display page to a preset position within a set time length, determining whether a target display position exists in the display page according to display data returned by a server; in response to determining that the target display position exists, determining the size of the target display position in a set display direction according to position information of each display position in the display page; and determining whether to display cached data in the display page based on the size of the target display position. The embodiment is related to page data analysis of a terminal. When a user quickly swipes a display page to a preset position, display data can be analyzed to determine whether a display gap exists in the display page and whether the display gap needs to be filled. This helps to improve the utilization rate of the page and improve the visual effect of the page.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of this disclosure relate to the field of page optimization technology, and more specifically to display data processing methods, apparatus, electronic devices, and computer-readable media. Background Technology

[0002] Currently, most platform websites use a waterfall layout. Its visual presentation is usually a staggered multi-column layout, and as the page scrolls down, this layout continuously loads data blocks and appends them to the current end.

[0003] However, during the display process, if users quickly scroll to the bottom of the page, or when the network signal is weak and they scroll to the end of the data (the last page), gaps may appear. For example, with a two-column layout of equal width, one column may display significantly more data than the other. In other words, the other column may have a large blank area, resulting in gaps. This not only wastes resources and affects page utilization, but also creates a visual defect for users, impacting their user experience. Summary of the Invention

[0004] The summary section of this disclosure provides a brief overview of concepts that will be described in detail in the detailed description section below. This summary section is not intended to identify key or essential features of the claimed technical solutions, nor is it intended to limit the scope of the claimed technical solutions. Some embodiments of this disclosure present data processing methods, apparatuses, electronic devices, and computer-readable media to address one or more of the technical problems mentioned in the background section above.

[0005] In a first aspect, some embodiments of this disclosure provide a display data processing method, including: in response to detecting that a user slides a display page to a preset position within a set time period, determining whether a target display position exists in the display page based on display data returned by the server; in response to determining that a target display position exists, determining the size of the target display position in a set display direction based on the position information of each display position in the display page; and based on the size of the target display position, in response to determining to supplement display data, displaying cached data in the display page.

[0006] In some embodiments, displaying cached data on a display page includes: selecting target cached data from a cached dataset and displaying the target cached data on the display page.

[0007] In some embodiments, selecting target cached data from the cached dataset and displaying the target cached data on the display page includes: selecting cached data that matches the target display position from the cached dataset according to the size of the target display position, and using it as the target cached data; and displaying the target cached data on the target display position.

[0008] In some embodiments, selecting target cached data from a cached dataset and displaying the target cached data on a display page includes: determining the size of a candidate display position in a set display direction, wherein the candidate display position is a display position on the display page that is adjacent to the target display position and belongs to a different group; selecting appropriate cached data from the cached dataset as the target cached data based on the size of the candidate display position and the size of the target display position; displaying the target cached data on the candidate display position and displaying the display data previously located on the candidate display position on the target display position.

[0009] In some embodiments, determining whether a target display position exists in the display page based on the display data returned by the server includes: determining whether the number of display data returned by the server is an integer multiple of the number of display position groups in the display page; and determining that a target display position exists in the display page in response to determining that it is not an integer multiple.

[0010] In some embodiments, determining whether a target display position exists on the display page based on the display data returned by the server further includes: in response to determining that it is an integer multiple, determining the total size of each group of display positions in the set display direction based on the position information of each display position on the display page; determining whether there is a size difference between each group of display positions based on the total size of each group of display positions; and in response to determining that there is a size difference, determining that a target display position exists on the display page.

[0011] In some embodiments, determining the size of a target display position in a set display direction based on the position information of each display position in the display page includes: determining the position and size of the target display position in the set display direction based on the size difference between each group of display positions; and, based on the size of the target display position, displaying cached data in the display page in response to determining to supplement display data, including: determining whether the size of the target display position is greater than a target threshold, wherein the target threshold is determined based on the average size of each display position in the set display direction in the display page; and determining to display cached data in the display page in response to determining that it is greater than the target threshold.

[0012] In some embodiments, the cached dataset is obtained by the following collection method: statistical analysis of user browsing behavior on the display page, collection of display data triggered more than a set number of times; and caching the collected display data locally to obtain the cached dataset.

[0013] In some embodiments, the method further includes: in response to receiving new display data returned by the server, deleting cached data in the display page, and displaying the new display data in the display page.

[0014] Secondly, some embodiments of this disclosure provide a display data processing apparatus, including: a display position determination unit configured to, in response to detecting that a user slides a display page to a preset position within a set time period, determine whether a target display position exists in the display page based on display data returned by a server; a size determination unit configured to, in response to determining the existence of a target display position, determine the size of the target display position in a set display direction based on the position information of each display position in the display page; and a data display determination unit configured to, based on the size of the target display position, in response to determining to supplement display data, display cached data in the display page.

[0015] In some embodiments, the data display determination unit is further configured to select target cached data from the cached dataset and display the target cached data on the display page.

[0016] In some embodiments, the data display determination unit is further configured to select cached data from the cached dataset that is compatible with the target display position according to the size of the target display position, and use it as the target cached data; and display the target cached data in the target display position.

[0017] In some embodiments, the data display determining unit is further configured to determine the size of the candidate display position in a set display direction, wherein the candidate display position is a display position in the display page that is adjacent to the target display position and belongs to a different group; select appropriate cached data from the cached dataset as the target cached data according to the size of the candidate display position and the size of the target display position; display the target cached data in the candidate display position, and display the display data that was previously located in the candidate display position in the target display position.

[0018] In some embodiments, the display position determination unit is further configured to determine whether the number of display data returned by the server is an integer multiple of the number of display position groups in the display page; in response to determining that it is not an integer multiple, it determines that there is a target display position in the display page.

[0019] In some embodiments, the display position determination unit is further configured to, in response to determining that it is an integer multiple, determine the total size of each group of display positions in a set display direction based on the position information of each display position in the display page; determine whether there is a size difference between each group of display positions based on the total size of each group of display positions; and determine that there is a target display position in the display page in response to determining that there is a size difference.

[0020] In some embodiments, the size determination unit is further configured to determine the position of the target display position and its size in a set display direction based on the size difference between each group of display positions; and the data display determination unit is further configured to determine whether the size of the target display position is greater than a target threshold, wherein the target threshold is determined based on the average size of each display position in the set display direction in the display page; in response to determining that it is greater than the target threshold, it is determined to display cached data in the display page.

[0021] In some embodiments, the device further includes a collection unit configured to perform statistical analysis on the user's browsing behavior on the display page, collect display data that is triggered more than a set number of times, and cache the collected display data locally to obtain a cached dataset.

[0022] In some embodiments, the apparatus further includes a display adjustment unit configured to, in response to receiving new display data returned by the server, delete cached data in the display page and display the new display data in the display page.

[0023] Thirdly, some embodiments of this disclosure provide a terminal device, including: a display screen configured to display a page; one or more processors; and a storage device storing one or more programs thereon, which, when executed by one or more processors, cause the one or more processors to implement the method described in any of the implementations of the first aspect above.

[0024] Fourthly, some embodiments of this disclosure provide a computer-readable medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the method described in any of the implementations of the first aspect above.

[0025] The above-described embodiments of this disclosure have the following beneficial effects: the data processing methods of some embodiments of this disclosure can improve the phenomenon of data gaps, thereby helping to improve the utilization rate of the displayed page. Specifically, one of the reasons for the phenomenon of data gaps in the prior art is that: after receiving data returned by the server, the terminal usually allocates display space for the data and adjusts the size of the display space according to the data content to realize the data display. However, when the network signal is not good, if the user quickly scrolls to the bottom of the page (or the end of the returned data), since the terminal has not yet received new data (i.e., the data to be displayed on the subsequent page), it cannot supplement the existing displayed data for display, thus resulting in data gaps. Often, only after new data is returned can the data gaps be filled and the display be filled. When the network condition is poor, this process usually lasts for several seconds or even longer.

[0026] Based on this, some embodiments of the display data processing method disclosed herein can analyze the display data when a user quickly swipes the display page to a preset position to determine whether there are display gaps (i.e., omissions) on the display page. Furthermore, if display gaps exist, it can be further determined whether cached data needs to be used to fill them. That is, it determines whether to display cached data on the display page to avoid or mitigate omissions. Since cached data is usually stored locally, it is not affected by network conditions, allowing for rapid filling of omissions. This helps improve page utilization and also increases the exposure and click-through rate of the display data. Simultaneously, it improves the visual effect of the page. Attached Figure Description

[0027] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic, and elements are not necessarily drawn to scale.

[0028] Figure 1 This is an architecture diagram of an exemplary system to which some embodiments of this disclosure can be applied;

[0029] Figure 2 This is a flowchart illustrating some embodiments of the data processing method according to the present disclosure;

[0030] Figure 3 These are flowcharts illustrating other embodiments of the data processing method according to this disclosure;

[0031] Figure 4 This is a schematic diagram illustrating an application scenario of a data processing method according to some embodiments of the present disclosure;

[0032] Figure 5 This is a schematic diagram illustrating some embodiments of the data processing apparatus according to the present disclosure;

[0033] Figure 6 This is a schematic diagram of the structure of an electronic device suitable for implementing some embodiments of the present disclosure. Detailed Implementation

[0034] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.

[0035] It should also be noted that, for ease of description, only the parts relevant to the invention are shown in the accompanying drawings. Unless otherwise specified, the embodiments and features described in this disclosure can be combined with each other.

[0036] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are used only to distinguish different devices, modules or units, and are not used to limit the order of functions performed by these devices, modules or units or their interdependencies.

[0037] It should be noted that the terms "a" and "a plurality of" used in this disclosure are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise expressly indicated in the context, they should be understood as "one or more".

[0038] The names of messages or information exchanged between multiple devices in the embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.

[0039] This disclosure will now be described in detail with reference to the accompanying drawings and embodiments.

[0040] Figure 1 An exemplary system architecture 100 is shown that can be applied to some embodiments of the present disclosure, demonstrating a data processing method or a data processing apparatus.

[0041] like Figure 1 As shown, system architecture 100 may include terminals 101 and 102, network 103, and server 104. Network 103 can be used as a medium to provide a communication link between terminals 101 and 102 and server 104. Network 103 may include various connection types, such as wired or wireless communication links or fiber optic cables, etc.

[0042] Users can use terminals 101 and 102 to interact with server 104 via network 103 to receive or send messages, etc. Various client applications, such as shopping applications, web browsing applications, and instant messaging tools, can be installed on terminals 101 and 102. Users can browse the display page on terminals 101 and 102. When terminals 101 and 102 detect that a user has swiped the display page to a preset position within a set time period, they can analyze the display data returned by the server to determine whether a target display position exists on the display page. If a target display position exists, they can determine whether to supplement the display data. If supplementation is determined, cached data can be displayed on the display page.

[0043] The terminals 101 and 102 here can be either hardware or software. When terminals 101 and 102 are hardware, they can be various electronic devices with displays, including but not limited to smartphones, tablets, e-book readers, laptops, and desktop computers. When terminals 101 and 102 are software, they can be installed in the electronic devices listed above. They can be implemented as, for example, multiple software programs or software modules used to provide distributed services, or as a single software program or software module. No specific limitations are made here.

[0044] Server 104 can be a server that provides various services. For example, server 104 can be a backend server that supports the applications installed on terminals 101 and 102. The backend server can return the required display data to the terminals in batches based on the user's browsing behavior on the display page.

[0045] The server 104 here can be either hardware or software. When the server 104 is hardware, it can be implemented as a distributed server cluster consisting of multiple servers, or as a single server. When the server 104 is software, it can be implemented as, for example, multiple software programs or software modules used to provide distributed services, or as a single software program or software module. No specific limitations are made here.

[0046] It should be noted that the methods provided in the embodiments of this disclosure can be executed by terminals 101 and 102. Accordingly, the device can be disposed in terminals 101 and 102. No specific limitations are made here.

[0047] It should be understood that Figure 1 The number of terminals, networks, and servers shown is merely illustrative. Any number of terminals, networks, and servers can be included depending on actual needs.

[0048] Continue to refer to Figure 2 The diagram illustrates a flow 200 of some embodiments of a data processing method according to the present disclosure. The method includes the following steps:

[0049] Step 201: In response to detecting that the user has swiped the display page to a preset position within a set time period, determine whether there is a target display position in the display page based on the display data returned by the server.

[0050] In some embodiments, the entity executing the data processing method is shown (e.g., Figure 1Terminals 101 and 102 shown can display a page for users to browse the displayed data. Typically, the server returns several pages of displayed data at a time. Users can then browse this data by swiping the page. If the executing entity detects that the user has swiped the page to a preset position within a set time period, it can determine whether the target display position exists on the page based on the displayed data returned by the server.

[0051] Here, the set duration is usually very short, such as a few seconds (e.g., 3 seconds). The preset position is generally the end of the displayed data, that is, the position of the last piece of data displayed in the returned data on the display page. In other words, the display page is scrolled to the bottom of the page. For example, for a page that scrolls vertically, the bottom of the page could be the very bottom. Or, for a page that scrolls horizontally, the bottom of the page could be the very right.

[0052] Understandably, without receiving new display data from the server, the display page usually cannot continue to scroll to the bottom of the page after displaying the last display data, i.e., after scrolling to the bottom of the page.

[0053] It's important to note that after receiving the display data from the server, the executing entity typically allocates display slots and then arranges them on the display page. For example, the server might return a list of display data. The executing entity can then allocate display slots to each piece of data in the order listed. Simultaneously, the executing entity will adjust the size of each display slot based on the content of the display data. As an example, the display page can use a waterfall layout. This ensures the page remains neat and aesthetically pleasing. In this case, the target display slots are usually missing slots, such as blank slots (like blank areas in a leaky display), or slots where the display data is incomplete (e.g., only text descriptions, lacking images).

[0054] In some embodiments, firstly, the executing entity can determine whether the amount of display data returned by the server is an integer multiple of the number of display slot groups in the display page. The number of display slot groups is related to the browsing layout of the display page. For example, if the display page uses a waterfall-style vertical scrolling layout with equal width, the number of display slot groups can be the number of columns of the display slots. Alternatively, if the display page uses a waterfall-style horizontal scrolling layout with equal height, the number of display slot groups can be the number of rows of the display slots. If it is determined that the amount of display data is not an integer multiple of the number of display slot groups, the executing entity can determine that a target display slot exists in the display page. Then, the executing entity can continue to execute step 202.

[0055] Understandably, each piece of data to be displayed is typically allocated one display slot. If the total amount of data returned by the server is not an integer multiple of the number of display slot groups, then some groups will inevitably have more display slots (more data) and some groups will have fewer display slots (less data). In this case, gaps in the display data will often occur. Conversely, if the total amount of data returned is an integer multiple of the number of display slot groups, since the size of each display slot is not identical, the total size of each group of display slots may differ, leading to gaps in the display data as well.

[0056] In some embodiments, if the number of displayed data is determined to be an integer multiple of the number of display slot groups, the executing entity can determine the total size of each group of display slots in a set display direction based on the position information of each display slot on the display page. The set display direction here is generally the direction in which the sizes of the display slots differ. For example, for a waterfall layout with equal width, the set display direction can be the height (column) direction. For a waterfall layout with equal height, the set display direction can be the width (row) direction. Here, after allocating the display slots, the executing entity can know the coordinates of each display slot and its group (such as the first column or the second column). Based on the coordinates of the display slots, the size of the display slots in the set display direction can be determined. Therefore, the total size of each group of display slots can be determined.

[0057] Furthermore, based on the total size of each group of display positions, the executing entity can determine whether there are size differences between the groups of display positions in the set display direction. If size differences exist, it indicates that there are omissions, and it can be determined that there is a target display position on the display page. After that, the executing entity can continue to execute step 202.

[0058] Understandably, the method described above, which determines the target display position based on the amount of data already returned, avoids calculating the display position size every time. This simplifies the processing and helps improve efficiency.

[0059] In some embodiments, the executing entity can also determine whether there is incomplete display data in the returned display data. For example, whether there is a terminator in the program code of each display data. Or, whether each display data contains image information and description information. That is, due to network reasons, the executing entity may not have received complete display data. This will result in the corresponding display position being missing. If incomplete display data exists, the executing entity can determine that the target display position exists on the display page.

[0060] Optionally, the executing entity can also directly determine the total size of each group of display positions in the set display direction based on the position information of the display positions corresponding to the returned display data. This allows them to determine whether there are size differences between the groups of display positions. If size differences exist, it indicates that a target display position exists on the display page.

[0061] Step 202: In response to determining that a target display position exists, determine the size of the target display position in the set display direction based on the position information of each display position on the display page.

[0062] In some embodiments, when the existence of a target display position is determined, the executing entity can determine the size of the target display position in a set display direction based on the position information of each display position on the display page. For example, firstly, the executing entity can determine the size of each display position in the set display direction based on its coordinates and the group it belongs to, and then determine the total size of each group of display positions. Then, based on the size difference between each group of display positions, the position of the target display position and its size in the set display direction can be determined. For example, for two columns of display positions, if the difference between the total height of the left column and the total height of the right column is -3 cm, then the target display position is in the left column with a height of 3 cm. If the difference between the total height of the left column and the total height of the right column is 3 cm, then the target display position is in the right column with a height of 3 cm.

[0063] In some embodiments, if a size difference is determined between the groups of display positions, it indicates that the execution entity has obtained the total size of each group of display positions. In this case, the execution entity can directly determine the position of the target display position and its size in the set display direction based on the size difference between the groups of display positions.

[0064] Step 203: Based on the size of the target display position, in response to determining to supplement display data, display the cached data on the display page.

[0065] Understandably, during normal scrolling, gaps in display space may not necessarily occur, especially when the amount of data on a single page is small. Similarly, when a user scrolls to the last page, gaps may not appear, or the gaps may be relatively small. In other words, the total size of each display segment is roughly the same, and gaps are not very noticeable. However, as more and more data is returned from the server, gaps may appear due to the continuous accumulation of display segment sizes (such as height). Generally, large gaps may not occur because the display segments of subsequently returned data will continue to be displayed after the display segments of the previously requested data, thus compensating for any gaps.

[0066] In some embodiments, based on the size of the target display position determined in step 202, the executing entity can determine whether to supplement display data. If it is determined that supplementation is needed, the cached data can be displayed on the display page. As an example, if in step 201 the executing entity determines that the amount of returned display data is not an integer multiple of the number of display position groups, it indicates that there is a high probability of missing data in the display page, and the range of missing data (blank areas) is relatively large. In this case, it indicates that supplementation of display data is needed, and the executing entity can directly display the cached data on the display page.

[0067] In some embodiments, the executing entity can determine whether the size of the target display position is greater than a target threshold. If it is determined to be greater than the target threshold, the executing entity can display cached data on the display page. In other words, gap filling is required. The target threshold can be set according to the actual situation. As an example, the target threshold can be determined based on the typical size of the display position in the set display direction. For example, the target threshold can be half the size of the display position. Alternatively, to improve the accuracy of the determination, the target threshold can be determined based on the average size of each display position in the set display direction on the display page. For example, the target threshold can be two-thirds of the average size. That is, the target threshold is dynamically determined based on the actual size of the currently displayed display positions. This better reflects the current display page situation.

[0068] Understandably, data gaps typically occur when a user's network signal is weak. Therefore, requesting the server to replenish cached data at this point is unreliable and cannot quickly fill in missing data on the displayed page. Furthermore, as the user browses the page, subsequent display data may already be on its way, and we cannot guarantee that cached data will be returned first. In this situation, cached data can be stored locally on the execution entity. When a gap occurs and needs to be filled, the execution entity can retrieve the cached data locally to fill the gap and display it on the page.

[0069] Here, cached data can be obtained through statistical analysis of the browsing history of a large number of users and can be pre-stored locally on the executing entity. For example, cached data can be data that has been clicked and viewed by multiple users. As another example, to improve the targeting and accuracy of data recommendations on the display page, the aforementioned cached data can be obtained through statistical analysis of the browsing behavior of users using the executing entity on the display page.

[0070] As described above, some embodiments of the data processing method disclosed herein can analyze the display data returned by the server when a user quickly scrolls the display page to a preset position (bottom of the page or end of the data) to determine whether any gaps exist. Furthermore, if gaps are identified, the method can determine whether to fill them based on their severity. If filling is determined, cached data can be used. This gap-filling improves the visual effect of the display page and also increases page utilization, allowing more display data to be displayed. This further helps increase the exposure and click-through rate of the displayed data.

[0071] Please see Figure 3 The following is a flowchart 300 illustrating another embodiment of the data processing method according to the present disclosure. The method includes the following steps:

[0072] Step 301: In response to detecting that the user has swiped the display page to a preset position within a set time period, determine whether there is a target display position in the display page based on the display data returned by the server.

[0073] Step 302: In response to determining that a target display position exists, determine the size of the target display position in the set display direction based on the position information of each display position on the display page.

[0074] Step 303: Based on the size of the target display position, determine whether to supplement the display data.

[0075] For a detailed description of steps 301 to 303 above, please refer to [link to relevant documentation]. Figure 2 The descriptions of steps 201 to 203 in the embodiments will not be repeated here. The entity executing the data processing method can continue to execute step 304 if it determines that cached data will be displayed on the display page.

[0076] Step 304: In response to determining to supplement the display data, select the target cached data from the cached dataset and display the target cached data on the display page.

[0077] In some embodiments, when it is determined in step 303 that supplementary display data is needed, the executing entity can select target cached data from the cached dataset and display the target cached data on the display page. The selection method is not limited here. For example, cached data can be randomly selected from the cached dataset as the target cached data. Another example is that the cached dataset can be a cached data queue. In this case, the executing entity can select the target cached data from the queue according to the order in which the cached data is stored.

[0078] In some embodiments, to improve the accuracy of the selection results, the executing entity can select cached data from the cached dataset that matches the target display position's size, and use this as the target cached data. For example, if the target display position's height is 3 centimeters, then cached data with a height close to the target display position's height can be selected. The executing entity can then display this target cached data (i.e., the selected cached data) at the target display position. This makes the filled display page as neat and aesthetically pleasing as possible, avoiding or reducing size differences between different groups of display positions.

[0079] Optionally, firstly, the executing entity can determine the size of the candidate display positions in the set display direction. The candidate display positions are generally those adjacent to the target display position on the display page, but belonging to a different group than the target display position. For example, for two columns of display positions, if the target display position is the left column, the candidate display position could be the last display position in the right column. Next, the executing entity can select suitable cached data from the cached dataset based on the size of the candidate display positions and the size of the target display position, as the target cached data. For example, if the height L1 of the target display position in the left column is 3 cm, and the height L2 of the candidate display position in the right column is 4 cm, then target cached data with a data content height of approximately 5(2L2-L1) cm can be selected.

[0080] Subsequently, the target cached data can be displayed in the candidate display position, and the previously displayed data in the candidate display position can be displayed in the target display position. Simultaneously, the executing entity can adjust the size of the corresponding display position based on the content of the displayed data. In other words, the target cached data can be displayed in either the target display position or the candidate display position to fill gaps. That is, the target cached data can be placed at the end of the returned displayed data or between each displayed data. This way, if no cached data matching the target display position exists in the cached dataset, other cached data can be selected. This improves the flexibility of selection and the diversity of filling methods.

[0081] In some embodiments, to improve the targeting of data recommendations on the display page and increase click-through rates, the aforementioned cached dataset can be obtained through statistical analysis of user browsing behavior on the display page. As an example, display data triggered more than a set number (e.g., 3 times) can be collected. The triggering method is not limited; it can be any method used to indicate the details of browsing the display data, such as clicking, swiping, etc. The executing entity can cache the collected display data locally, thus obtaining a cached dataset. Here, the cached dataset can adopt a queue data structure. Data can be stored according to the order in which users click and browse.

[0082] Step 305: In response to receiving new display data returned by the server, delete the cached data in the display page and display the new display data in the display page.

[0083] In some embodiments, upon receiving new display data returned by the server, the executing entity can delete cached data (such as target cached data) from the display page. It can also continue displaying the new display data on the display page. That is, it can continue displaying new display data after the previously returned display data for user browsing. Furthermore, the executing entity can also delete target cached data from the cached dataset to avoid duplicate data display recommendations. This also helps improve the exposure rate of other data.

[0084] As an example, let's take a display page with a two-column, equal-width waterfall layout as an example, such as... Figure 4 As shown, when a user opens an app on the terminal, the terminal can display a recommendation list (i.e., a display page) for that app. Simultaneously, the user's click / browsing actions can be recorded. Item data clicked more than three times can be stored in a local queue. The queue can record item identifiers, such as SKU0, SKU1, SKU2, etc. Here, SKU stands for Stock Keeping Unit, generally the basic unit for measuring inventory inflows and outflows. It is now often used as a shorthand for a unique product identification number; each product corresponds to a unique SKU number.

[0085] When a user rapidly scrolls through the recommendation list, the data often exceeds the amount displayed on the first page, necessitating the display of data from subsequent pages. The terminal can allocate corresponding display slots based on the scroll position. It can also calculate whether any slots are missed. If so, the height of the missed slot is calculated. Furthermore, it determines whether the missed slot height meets the conditions for displaying item data. If it does, the item SKU can be retrieved from the local queue to fill the missing slot. If the height does not meet the conditions, filling the missing slot is not performed, and the system can consider it as having no missed slots. When new data is returned, the terminal can delete the missing slot filling data and then recommend and display the new data.

[0086] The data processing method provided in some embodiments of this disclosure further improves the process of filling in gaps. When network signal strength is poor, local cached data can be used to quickly fill in gaps, thereby improving the visual effect of the displayed page. Furthermore, after subsequent data is returned, the returned data can continue to be displayed without affecting the normal browsing of the displayed page.

[0087] Further reference Figure 5 As a response to the above Figure 2 and 3The implementation of the method shown in this disclosure provides some embodiments of a data processing apparatus, which are similar to... Figure 2 and 3 Corresponding to the method embodiments shown, the device can be specifically applied to various electronic devices.

[0088] like Figure 5 As shown, the display data processing apparatus 500 in some embodiments may include: a display position determination unit 501, configured to determine whether a target display position exists on the display page based on display data returned by the server, in response to detecting that a user slides the display page to a preset position within a set time period; a size determination unit 502, configured to determine the size of the target display position in a set display direction based on the position information of each display position on the display page, in response to determining that a target display position exists; and a data display determination unit 503, configured to display cached data on the display page based on the size of the target display position, in response to determining that display data should be supplemented.

[0089] In some embodiments, the data display determination unit 503 may be further configured to select target cached data from the cached dataset and display the target cached data on the display page in response to determining the display cached data.

[0090] In some embodiments, the data display determination unit 503 may be further configured to select cached data that is compatible with the target display position from the cached dataset according to the size of the target display position, and use it as the target cached data; and display the target cached data in the target display position.

[0091] In some embodiments, the data display determination unit 503 may be further configured to determine the size of the candidate display position in a set display direction, wherein the candidate display position is a display position in the display page that is adjacent to the target display position and belongs to a different group; select appropriate cached data from the cached dataset as the target cached data according to the size of the candidate display position and the size of the target display position; display the target cached data in the candidate display position, and display the display data that was previously located in the candidate display position in the target display position.

[0092] In some embodiments, the display position determination unit 501 may be further configured to determine whether the number of display data returned by the server is an integer multiple of the number of display position groups in the display page; in response to determining that it is not an integer multiple, it determines that there is a target display position in the display page.

[0093] In some embodiments, the display position determination unit 501 may be further configured to, in response to determining that it is an integer multiple, determine the total size of each group of display positions in a set display direction based on the position information of each display position in the display page; determine whether there is a size difference between each group of display positions based on the total size of each group of display positions; and determine that there is a target display position in the display page in response to determining that there is a size difference.

[0094] In some embodiments, the size determination unit 502 may be further configured to determine the position of the target display position and its size in a set display direction based on the size difference between each group of display positions; and the data display determination unit 503 may be further configured to determine whether the size of the target display position is greater than a target threshold, wherein the target threshold is determined based on the average size of each display position in the set display direction in the display page; in response to determining that it is greater than the target threshold, it is determined to display cached data in the display page.

[0095] In some embodiments, the device 500 may further include a data acquisition unit ( Figure 5 (Not shown in the image) is configured to perform statistical analysis on user browsing behavior on the display page, collect display data when the number of triggers exceeds a set number, and cache the collected display data locally to obtain a cached dataset.

[0096] In some embodiments, the device 500 may further include a display adjustment unit ( Figure 5 (Not shown in the image) is configured to, in response to receiving new display data returned by the server, delete cached data in the display page and display the new display data in the display page.

[0097] It is understandable that the units described in the device 500 are related to the reference. Figure 2 and 3 The steps in the described method correspond accordingly. Therefore, the operations, features, and beneficial effects described above for the method also apply to the device 500 and the units contained therein, and will not be repeated here.

[0098] The following is for reference. Figure 6 It illustrates terminal devices suitable for implementing some embodiments of this disclosure (e.g., Figure 1 A schematic diagram of the structure of the terminal (600) in the middle. Figure 6 The terminal device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments of this disclosure.

[0099] like Figure 6As shown, the terminal device 600 may include a processing unit (e.g., a central processing unit, a graphics processing unit, etc.) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage device 608 into a random access memory (RAM) 603. The RAM 603 also stores various programs and data required for the operation of the terminal device 600. The processing unit 601, ROM 602, and RAM 603 are interconnected via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0100] Typically, the following devices can be connected to I / O interface 605: input devices 606 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 607 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 608 including, for example, magnetic tapes, hard disks, etc.; and communication devices 609. Communication device 609 allows terminal device 600 to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 6 A terminal device 600 with various devices is shown; however, it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed alternatively. Figure 6 Each box shown can represent a device or multiple devices as needed.

[0101] In particular, according to some embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, some embodiments of this disclosure include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device 609, or installed from a storage device 608, or installed from a ROM 602. When the computer program is executed by the processing device 601, it performs the functions defined above in the methods of some embodiments of this disclosure.

[0102] It should be noted that, in some embodiments of this disclosure, the computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium may be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In some embodiments of this disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In some embodiments of this disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.

[0103] In some implementations, clients and servers can communicate using any currently known or future-developed network protocol such as HTTP (Hypertext Transfer Protocol) and can interconnect with digital data communication (e.g., communication networks) of any form or medium. Examples of communication networks include local area networks (“LANs”), wide area networks (“WANs”), the Internet (e.g., the Internet of Things), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future-developed networks.

[0104] The aforementioned computer-readable medium may be included in the aforementioned terminal device; or it may exist independently and not assembled into the terminal device. The aforementioned computer-readable medium carries one or more programs that, when executed by the terminal device, cause the terminal device to: in response to detecting that a user slides the display page to a preset position within a set time period, determine whether a target display position exists on the display page based on display data returned by the server; in response to determining the existence of a target display position, determine the size of the target display position in a set display direction based on the position information of each display position on the display page; and, based on the size of the target display position, in response to determining to supplement display data, display cached data on the display page.

[0105] Furthermore, computer program code for performing operations of some embodiments of this disclosure can be written in one or more programming languages ​​or a combination thereof. Programming languages ​​include object-oriented programming languages—such as Java, Smalltalk, and C++—and conventional procedural programming languages—such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0106] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0107] The units described in some embodiments of this disclosure can be implemented in software or hardware. The described units can also be housed in a processor; for example, a processor may be described as including a display position determination unit, a size determination unit, and a data display determination unit. The names of these units do not necessarily limit the specific unit; for example, the display position determination unit may also be described as "a unit that determines whether a target display position exists on the display page based on display data returned by the server."

[0108] The functions described above in this document can be performed, at least in part, by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: Field Programmable Gate Arrays (FPGAs), Application-Specific Integrated Circuits (ASICs), Application Standard Products (ASSPs), System-on-Chip (SoCs), Complex Programmable Logic Devices (CPLDs), and so on.

[0109] The above description is merely a selection of preferred embodiments of this disclosure and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of the invention involved in the embodiments of this disclosure is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described inventive concept. For example, technical solutions formed by substituting the above-described features with (but not limited to) technical features with similar functions disclosed in the embodiments of this disclosure.

Claims

1. A method for displaying data processing, comprising: In response to detecting that a user slides the display page to a preset position within a set time period, the system determines whether a target display position exists on the display page based on the display data returned by the server. This includes: determining that the number of display data returned by the server is an integer multiple of the number of display position groups on the display page; determining the total size of each group of display positions in a set display direction based on the position information of each display position on the display page; determining whether there is a size difference between each group of display positions based on the total size of each group of display positions; and determining that a target display position exists on the display page in response to determining that a size difference exists. In response to determining that a target display position exists, the size of the target display position in a set display direction is determined based on the position information of each display position in the display page; Based on the size of the target display position, in response to determining that display data needs to be supplemented, and in response that no new display data has been received, local cached data is displayed on the display page; In response to receiving new display data returned by the server, the cached data in the display page is deleted, and the new display data is displayed on the display page.

2. The method according to claim 1, wherein, The display of cached data on the display page includes: Select target cached data from the cached dataset and display the target cached data on the display page.

3. The method according to claim 2, wherein, The steps of selecting target cached data from the cached dataset and displaying the target cached data on the display page include: Based on the size of the target display position, select cache data that matches the target display position from the cache dataset and use it as the target cache data; The target cache data is displayed in the target display position.

4. The method according to claim 2, wherein, The steps of selecting target cached data from the cached dataset and displaying the target cached data on the display page include: Determine the size of the candidate display position in the set display direction, wherein the candidate display position is a display position on the display page that is adjacent to the target display position but belongs to a different group; Based on the size of the candidate display position and the size of the target display position, select suitable cache data from the cache dataset as the target cache data; The target cached data is displayed in the candidate display position, and the display data that was previously located in the candidate display position is displayed in the target display position.

5. The method according to claim 1, wherein, The step of determining whether a target display position exists in the display page based on the display data returned by the server includes: In response to determining that it is not an integer multiple, it is determined that a target display position exists in the display page.

6. The method according to claim 5, wherein, Determining the size of the target display position in a set display direction based on the position information of each display position on the display page includes: Based on the size differences between each group of display positions, determine the position of the target display position and its size in the set display direction; and Based on the size of the target display position, in response to determining to supplement display data, displaying cached data on the display page includes: Determine whether the size of the target display position is greater than a target threshold, wherein the target threshold is determined based on the average size of each display position in the display page in the set display direction; In response to determining that the value is greater than a target threshold, it is determined to display cached data on the display page.

7. The method according to claim 2, wherein, The cached dataset was obtained through the following collection methods: Statistical analysis is performed on the user's browsing behavior on the displayed page, and display data is collected when the number of triggers exceeds a set number. The collected display data is cached locally to obtain a cached dataset.

8. A data processing display device, comprising: The display position determination unit is configured to, in response to detecting that a user slides the display page to a preset position within a set time period, determine whether a target display position exists in the display page based on display data returned by the server, including: determining that the number of display data returned by the server is an integer multiple of the number of display position groups in the display page; determining the total size of each group of display positions in a set display direction based on the position information of each display position in the display page; determining whether there is a size difference between each group of display positions based on the total size of each group of display positions; and determining that a target display position exists in the display page in response to determining that a size difference exists. The size determination unit is configured to determine the size of the target display position in a set display direction based on the position information of each display position in the display page in response to determining that a target display position exists; The data display determination unit is configured to, based on the size of the target display position, in response to determining to supplement display data, and in response to not receiving new display data, to display locally cached data on the display page; The second data display determination unit is configured to, in response to receiving new display data returned by the server, delete cached data in the display page and display the new display data in the display page.

9. A terminal device, comprising: The display screen is configured to show the presentation page. One or more processors; Storage device, on which one or more programs are stored, When the one or more programs are executed by the one or more processors, the one or more processors implement the method as described in any one of claims 1-7.

10. A computer-readable medium having a computer program stored thereon, wherein, When the program is executed by the processor, it implements the method as described in any one of claims 1-7.