Ranking list processing method, computer equipment, readable storage medium and program product

By caching the ranking list object identification sorting table of the ranking list on the user side, distributed ranking page turning processing is realized, which solves the problem of inability to turn pages caused by high server storage resource consumption and snapshot expiration in the existing technology, and improves the performance of the ranking list. Page turning efficiency and user experience.

CN118643240APending Publication Date: 2024-09-13TENCENT MUSIC ENTERTAINMENT TECH (SHENZHEN) CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411007654.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-25
Publication Date
2024-09-13

AI Technical Summary

Technical Problem

In the existing technology, in the user page turning process of the real-time ranking list, the server needs to generate snapshots regularly, which causes a large consumption of storage resources, affects the response efficiency, and may cause the page turning to be unable to occur due to the expiration of the snapshot, resulting in a poor user experience.

Method used

Cache the ranking list object identification sorting table of the ranking list on the user side, determine the ranking object identification of the next page based on this table, obtain the object description data and detail data from the server, implement distributed ranking page turning processing, and avoid The need for the server to store a large number of snapshots.

Benefits of technology

It improves ranking page turning efficiency and presentation effect, ensures data orderliness and stability, avoids page turning problems caused by expired snapshots, and reduces server storage costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118643240A
    Figure CN118643240A
Patent Text Reader

Abstract

The invention relates to a ranking list processing method, computer equipment, a computer readable storage medium and a computer program product. The method comprises the following steps: displaying a current list page of a target ranking list at a user side; the user side locally caches a list object identifier sorting table of a target ranking list; in response to a next page display operation on the current list page, determining each list object identifier in the next list page of the current list page according to the list object identifier sorting table; according to each list object identifier in the next list page, obtaining object description data and list detail data corresponding to each list object identifier in the next list page from the server; and displaying the next list page in combination with the list object identifier sorting table and the object description data and the list detail data corresponding to each list object identifier in the next list page. By adopting the method, the quick page turning of the list can be realized, and the ranking list data obtained by the user in the page turning process is ensured to be ordered and stable.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a ranking list processing method, a computer device, a computer-readable storage medium, and a computer program product. Background Art

[0002] With the development of computer technology, the demand for rankings for different application scenarios is increasing day by day, and real-time rankings have been widely used in the computer field.

[0003] In the related art, for the page turning processing of real-time rankings, the server can generate ranking snapshots to read data. Within a certain period of time, the ranking data accessed by the user are all from the same snapshot generated by the server, so as to prevent the problem of duplication of ranking data when turning pages. However, the above method has a complicated overall process. The server needs to generate snapshots for each ranking at regular intervals, resulting in large consumption of server storage resources, affecting the response efficiency of ranking page turning, and there is a situation where the page cannot be turned due to expired snapshots, and the effect of users turning ranking pages is not good. Summary of the invention

[0004] Based on this, it is necessary to provide a ranking list processing method, computer equipment, computer readable storage medium and computer program product that can improve the ranking list page turning effect in response to the above technical problems.

[0005] In a first aspect, the present application provides a ranking list processing method. The method comprises:

[0006] Displaying the current list page of the target list on the user terminal; the user terminal locally caches a list object identifier sorting table of the target list, the list object identifier sorting table is obtained based on the list result of the target list at the target time, and the target time is the trigger time when the user terminal requests to display the target list;

[0007] In response to a next page display operation on the current list page, determining each list object identifier in a list page next to the current list page according to the list object identifier sorting table;

[0008] According to each list object identifier in the next list page, obtain the object description data and list detail data corresponding to each list object identifier in the next list page from the server;

[0009] The next list page is displayed in combination with the list object identifier sorting table, and the object description data and list detail data corresponding to each list object identifier in the next list page.

[0010] In one embodiment, before the step of displaying the current list page of the target list on the user terminal, the method further includes:

[0011] In response to the display operation of the target ranking list at the user end, sending a ranking list display request for the target ranking list to the server end; the ranking list display request is used to determine the ranking result of the target ranking list at the target time;

[0012] Receive the list object identifier sorting table of the target list returned by the server, and cache the list object identifier sorting table in the local memory of the user terminal.

[0013] In one embodiment, the method further comprises:

[0014] Receive the first list page data of the target list returned by the server; the first list page data includes object description data and list detail data corresponding to each list object identifier in the first list page of the target list;

[0015] The first list page is displayed in combination with the list object identifier sorting table, and the object description data and list detail data corresponding to each list object identifier in the first list page.

[0016] In one embodiment, determining each list object identifier in the next list page of the current list page according to the list object identifier sorting table includes:

[0017] Obtaining list page object quantity information of the target list; the list page object quantity information is used to represent the number of list page objects displayed on each list page in the target list;

[0018] According to the list page object quantity information, the list object identifier sorting table and the list object identifiers in the current list page, the list object identifiers in the next list page are determined.

[0019] In one embodiment, the obtaining, from the server according to each list object identifier in the next list page, object description data and list detail data corresponding to each list object identifier in the next list page includes:

[0020] Sending a list page data acquisition request for the next list page to the server; the list page data acquisition request carries the identifier of each list object in the next list page;

[0021] Receive the object description data and list detail data corresponding to each list object identifier in the next list page returned by the server.

[0022] In one embodiment, combining the list object identifier sorting table, and the object description data and list detail data corresponding to each list object identifier in the next list page, and displaying the next list page includes:

[0023] For any list object identifier in the next list page, determine a list item display area of ​​any list object identifier in the next list page according to the ranking of the any list object identifier in the list object identifier ranking table;

[0024] The object description data and list detail data corresponding to any list object identifier are filled into the list item display area of ​​any list object identifier to obtain and display the next list page.

[0025] In one embodiment, the method further comprises:

[0026] If it is detected that the display time of the target ranking list exceeds a preset time threshold, list update prompt information for the target ranking list is displayed on the user terminal.

[0027] In a second aspect, the present application further provides a computer device, wherein the computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the ranking list processing method described in the first aspect are implemented.

[0028] In a third aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the ranking list processing method described in the first aspect are implemented.

[0029] In a fourth aspect, the present application further provides a computer program product, wherein the computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the ranking list processing method described in the first aspect are implemented.

[0030] The above-mentioned ranking processing method, computer device, computer-readable storage medium and computer program product, by displaying the current ranking page of the target ranking on the user terminal, the user terminal locally caches a ranking object identifier sorting table of the target ranking, the ranking object identifier sorting table is obtained based on the ranking result of the target ranking at the target time, and the target time is the trigger time when the user terminal requests to display the target ranking, and then responds to the next page display operation of the current ranking page, according to the ranking object identifier sorting table, determines each list object identifier in the next list page of the current ranking page, and obtains the next list object identifier from the server according to each list object identifier in the next list page. The object description data and list details data corresponding to each list object identifier in the list page are then combined with the list object identifier sorting table, as well as the object description data and list details data corresponding to each list object identifier in the next list page to display the next list page, thereby realizing the optimization of the page turning processing for the ranking list. By caching the list object identifier sorting table of the ranking list on the user side in a distributed manner, data can be obtained based on the list object identifier of the next page during the ranking list page turning process, which can realize fast page turning of the list and ensure that the ranking data obtained by the user during the page turning process is orderly and stable, effectively improving the ranking page turning efficiency and presentation effect. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] FIG1 is an application environment diagram of a ranking list processing method in one embodiment;

[0032] FIG2 is a schematic flow chart of a ranking list processing method in one embodiment;

[0033] FIG3 is a schematic diagram of a ranking page turning process in one embodiment;

[0034] FIG4 is a schematic diagram of a list page display effect in one embodiment;

[0035] FIG5 is a flow chart of a ranking list processing method in another embodiment;

[0036] FIG6 is a structural block diagram of a ranking processing device in one embodiment;

[0037] Figure 7 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0038] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0039] The ranking processing method provided in the embodiment of the present application can be applied to the application environment shown in Figure 1. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. By displaying the current list page of the target ranking list in the terminal 102, it is possible to respond to the next page display operation of the current list page, and determine the list object identifiers in the next list page of the current list page according to the list object identifier sorting table, and then the object description data and list details data corresponding to each list object identifier in the next list page can be obtained from the server 104 according to each list object identifier in the next list page, and then the next list page can be displayed in combination with the list object identifier sorting table, and the object description data and list details data corresponding to each list object identifier in the next list page. Among them, the terminal 102 can be but is not limited to various terminals, such as various personal computers, laptops, smart phones, tablet computers and portable wearable devices, etc. The server 104 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides cloud computing services.

[0040] In an exemplary embodiment, as shown in FIG2 , a ranking list processing method is provided, which is described by taking the method applied to the terminal 102 in FIG1 as an example, and includes the following steps S201 to S204 . Among them:

[0041] In step S201, the current list page of the target list is displayed on the user terminal; the user terminal locally caches a list object identifier sorting table of the target list.

[0042] As an example, the rankings may involve different application scenarios, such as music scenarios, live broadcast scenarios, game scenarios, etc. The target rankings currently viewed by the user in the user terminal may include but are not limited to song rankings, singer rankings, fan group rankings, anchor rankings, and game rankings; the objects sorted in the target rankings may be used as list objects, such as each song in the song rankings, each group in the fan group rankings, and each game user in the game rankings.

[0043] Among them, the list object identifier sorting table can be obtained based on the list result of the target list at the target time, and the target time can be the trigger time when the user terminal requests to display the target list. For example, as shown in Figure 3, when the user terminal requests to access the target list, the server can determine the real-time list result of the target list based on the requested access time (i.e., the list result of the target list at the target time), and then generate the list object unique ID list of the target list based on the real-time list result (i.e., the list object identifier sorting table), which can include the unique IDs of all list objects in the entire list of the real-time list result, and can return the list of list object unique IDs to the user terminal, and then the user terminal can cache the list object identifier sorting table in the local memory of the user terminal.

[0044] As an example, the time when the user clicks to enter the target ranking list display interface can be used as the trigger time for the user end to request to display the target ranking list; the list object identifier can be a unique identification code for identifying the list object. Taking the ranking list for user rankings as an example, the list object unique ID (i.e., the list object identifier) ​​can be the user's Uin (Universal Internet Number), which can be a combination of numbers or letters and is used to identify a specific user as the user's unique identification code in the network.

[0045] In actual applications, for the page turning process of the target ranking list, the page of the target ranking list currently displayed on the user end can be used as the current ranking page, so that the page turning process is further performed when the user turns pages based on the current ranking page. It can be understood that the current ranking page is any ranking page before the last ranking page of the target ranking list.

[0046] In step S202, in response to the next page display operation on the current list page, the list object identifiers in the next list page of the current list page are determined according to the list object identifier sorting table.

[0047] In a specific implementation, in response to an operation to display the next page of the current list page, a list page turning process can be performed based on the current list page, and then the list object identifiers in the list page to be displayed (i.e., the next list page) can be determined according to the list object identifier sorting table of the target ranking list cached locally on the user side.

[0048] For example, taking the ranking list for user ranking as an example, during the page turning process of the list, the user terminal can turn the page in the local list of unique IDs of the list objects. Since the order in the list of unique IDs of the list objects is the order of the actual ranking list, for the next list page, the unique ID of each list object in the next list page can be determined. For example, the list object identifier sorting table of the target ranking list cached locally by the user terminal contains 5 list objects, and the order is list object A, list object B, list object C, list object D, list object E. Each list page can display 3 list objects. List object A, list object B, and list object C are displayed in the current list page, and the list object identifiers that need to be displayed in the next list page are D and E.

[0049] In an optional embodiment, when a loading operation based on the bottom position of the current list page is detected, a next page display operation of the current list page may be triggered. For example, the loading operation may include loading triggered by sliding or clicking.

[0050] For example, a page turning operation (i.e., the next page display operation) can be triggered when a user clicks a page turning button in the ranking display interface, or a page turning operation can be triggered when a user pulls more ranking content through gesture operations (such as pulling up, pulling down, and sliding). The technical solution of this embodiment can be applied to the method of clicking to load more or sliding up and down to display.

[0051] In step S203, according to each list object identifier in the next list page, the object description data and list detail data corresponding to each list object identifier in the next list page are obtained from the server.

[0052] After obtaining the identifiers of each list object in the next list page, you can request the server to obtain the relevant data of the next list page, and then receive the object description data and list details data corresponding to each list object identifier in the next list page returned by the server.

[0053] Specifically, as shown in Figure 3, the user end can request the server end based on the unique ID of each list object in the next page or in the form of an ID list (i.e., the identifier of each list object in the next list page), and then the server end can obtain the corresponding list data based on the unique ID of the list object carried in the received request and return it, so that the user end can obtain the object description data and list details data in the next page.

[0054] In one example, taking a ranking list for user rankings as an example, other data on the next page returned by the server may include user avatars and user nicknames (ie, object description data), and scores in the ranking list (ie, list detail data).

[0055] In step S204, the next list page is displayed in combination with the list object identifier sorting table, and the object description data and list detail data corresponding to each list object identifier in the next list page.

[0056] In actual applications, the list object identifiers of the next list page in the list object identifier sorting table can be used to sort the list object identifiers. Based on the object description data and list detail data corresponding to each list object identifier in the next list page obtained, the list page of the next list page can be generated and displayed according to the list object identifier sorting.

[0057] Optionally, as shown in Figure 4, the list items corresponding to each list object identifier can be displayed according to the preset positions of different types of data in the list item. Taking the ranking list for user rankings as an example, the user avatar, user nickname, ranking score, etc. corresponding to each list object identifier can be filled in according to the preset position of each type of data to obtain the list item display results of each list object identifier.

[0058] In an optional embodiment, if it is determined that there is no next list page of the current list page according to the list object identifier sorting table, a prompt message indicating that there is no next list page can be displayed on the user terminal. As shown in FIG3 , it can be determined whether there is a next page according to whether the unique ID list of the list object of the next page is empty. If it is empty, the user can be prompted that there is no next page.

[0059] In one example, by storing the list object identifier sorting table corresponding to the real-time ranking results at the triggering display time point in the user's memory, when the user accesses the ranking list by turning pages, the list object identifier sorting table can be read from the user's memory, and the page turning logic can be implemented on the user side, and then the unique ID of the list object on the next page can be sent to the server. The server can return other information that needs to be displayed in addition to the unique ID in the next page requested by the user, thereby realizing fast page turning of the real-time list, improving the efficiency of ranking page turning and presentation effect, and can be applied to the list page turning processing of rankings in different fields.

[0060] Compared with the traditional method, due to the real-time changing characteristics of the real-time rankings, when the user turns the page of the real-time rankings, there will be duplicate data in different ranking pages, and the ranking in the same ranking will jump unstably, resulting in the ranking presented to the user cannot be displayed correctly; through the traditional server to generate ranking snapshots to read data, within a certain period of time, the ranking data accessed by the user are all from the same snapshot generated by the server, which can prevent the problem of duplication of ranking data when turning pages; but the above method has a complex overall process, large server storage resource consumption, long background sorting delay, affecting the response efficiency of ranking page turning, and there is a situation where the page cannot be turned due to expired snapshots. The technical solution of this embodiment adopts a distributed manner to store the list object identifier sorting table of the ranking list on the user side. It can be understood that the list object identifier sorting table may include the list object identifier (ID) or even only include the list object identifier ID. The data volume of the list object identifier ID is relatively small, so the server does not need to store a large number of snapshots, which can solve the problem of excessive storage costs on the server. In the process of turning the page of the ranking list, other data such as user avatar, user nickname, ranking score, etc. can be supplemented based on the unique ID of the list object on the next page, which can avoid the situation where the page cannot be turned due to expired snapshots, and at the same time, the ranking list will not jump, ensuring that the ranking data obtained by the user in the process of turning the page is orderly and stable.

[0061] In the above-mentioned ranking list processing method, by displaying the current list page of the target ranking list on the user side, the user side locally caches the list object identifier sorting table of the target ranking list, and then responds to the next page display operation of the current list page, according to the list object identifier sorting table, determines each list object identifier in the next list page of the current list page, and according to each list object identifier in the next list page, obtains the object description data and list detail data corresponding to each list object identifier in the next list page from the server side, and then combines the list object identifier sorting table and the object description data and list detail data corresponding to each list object identifier in the next list page to display the next list page, thereby realizing the optimization of page turning processing for the ranking list. By adopting a distributed manner to cache the list object identifier sorting table of the ranking list on the user side, data can be obtained based on the list object identifier of the next page during the ranking list page turning process, which can realize fast page turning of the ranking list, and ensure that the ranking data obtained by the user during the page turning process is orderly and stable, effectively improving the ranking list page turning efficiency and presentation effect.

[0062] In one embodiment, before the step of displaying the current list page of the target list on the user terminal in step S201, the following steps may also be included:

[0063] In response to a display operation of a target ranking list on the user side, a ranking display request for the target ranking list is sent to the server side; the ranking display request is used to determine the ranking result of the target ranking list at the target time; a ranking object identifier sorting table of the target ranking list returned by the server side is received, and the ranking object identifier sorting table is cached in the local memory of the user side.

[0064] In a specific implementation, as shown in FIG3, when a user clicks to enter the display interface of the target ranking list (i.e., in response to the display operation of the target ranking list on the user side), the user side sends a ranking display request for accessing the target ranking list to the server side, and then the server side can determine the real-time ranking result of the target ranking list based on the request access time (i.e., the ranking result of the target ranking list at the target time), and generate a list of unique IDs of the target ranking list objects (i.e., a ranking object identifier sorting table) according to the real-time ranking result, and then the server side can return the list of unique IDs of the list objects to the user side, and the user side can cache the ranking object identifier sorting table to the local memory of the user side. Since the data volume of the list of unique IDs of the list objects is small, the terminal memory occupied is also small, so that the efficiency of page turning and the presentation effect of the ranking list can be effectively improved without affecting the storage space occupied by the user side.

[0065] In this embodiment, in response to the display operation of the target ranking list on the user side, a ranking display request for the target ranking list is sent to the server side, and then the list object identifier sorting table of the target ranking list returned by the server is received, and the list object identifier sorting table is cached in the local memory of the user side. Based on a distributed manner, the list object identifier sorting table of the ranking list can be stored on the user side, thereby avoiding the server side from storing a large number of snapshots.

[0066] In one embodiment, the following steps may also be included:

[0067] Receive the first list page data of the target list returned by the server; the first list page data includes the object description data and list detail data corresponding to each list object identifier in the first list page of the target list; combine the list object identifier sorting table, and the object description data and list detail data corresponding to each list object identifier in the first list page, and display the first list page.

[0068] In one example, when the server returns data based on the user's first request (i.e., the request to display the ranking list), it can return the unique IDs of all list objects in the entire list and the relevant data of the first list page at the same time, so as to merge the process of obtaining the list of unique IDs of the list objects and the request process of the first page, and return the list object identifier sorting table and the first list page data of the target ranking list at one time.

[0069] Optionally, the data returned by the server based on the first request from the user may include, in addition to the unique ID list of the list objects, other fixed data in the target ranking list, such as the list score in the real-time ranking results. The score is the basis for sorting the ranking list. If the scores are the same, they can be sorted according to the time when the scores were obtained, such as the time when the score was reached. The earlier the score was obtained, the higher the ranking.

[0070] In this embodiment, the first list page data of the target list returned by the server is received, and then combined with the list object identifier sorting table, as well as the object description data and list detail data corresponding to each list object identifier in the first list page, the first list page is displayed, so that the process of obtaining the list object identifier sorting table and the first page data request process can be merged, which can help improve the response efficiency of the ranking display.

[0071] In one embodiment, in step S202, determining the list object identifiers in the next list page of the current list page according to the list object identifier sorting table may include the following steps:

[0072] Obtain the list page object quantity information of the target list; the list page object quantity information is used to represent the number of list page objects displayed on each list page in the target list; according to the list page object quantity information, according to the list object identifier sorting table and the list object identifiers in the current list page, determine the list object identifiers in the next list page.

[0073] Exemplarily, the page turning logic can be automatically implemented on the user side by obtaining the preset number of pages to be turned (i.e., the number of list page objects information). For example, if the page turning size is 10 data items, it can be represented that the number of list page objects that need to be displayed on the next page of the page turning is 10. Then, based on the 1 to 10 data items displayed on the current list page, it can be determined that the next list page needs to display the 10th to 20th data items. Then, the list object identifiers of the 10th to 20th data items in the list object identifier sorting table can be read as the list object identifiers of each list page in the next list page.

[0074] To facilitate understanding of the above steps, the embodiment of the present application is illustrated below by using an example, but it should be understood that the embodiment of the present application is not limited to this.

[0075] When the target ranking list has 100 data items, a unique list of ranking object IDs with a length of 100 (i.e., a ranking object ID sorting table) can be returned when the user makes the first request (i.e., ranking list display request);

[0076] After the user receives the data returned by the first request, the page can be turned in response to the user operation. If the page size (i.e., the number of list page objects) is 10, the 1st to 10th list object unique IDs in the list of list object unique IDs can be read to request the server. Then, the server can obtain the corresponding data according to the 1st to 10th list object unique IDs and return it to the user to display the first list page of the target list.

[0077] When the user continues to request to turn pages based on the first list page (such as displaying the next list page of the current list page), the user can obtain the 11th to 20th list object unique ID list (i.e., the list object identifiers in the next list page) from the list object unique ID list to request the server to obtain the corresponding data of the 11th to 20th list object unique ID (i.e., the object description data and list detail data corresponding to each list object identifier in the next list page);

[0078] When the user requests more than 100 pieces of data, the user can be prompted that there is no next page and cannot continue to turn the page.

[0079] In this embodiment, by obtaining the list page object quantity information of the target ranking list, and then according to the list page object quantity information, according to the list object identifier sorting table and the list object identifiers in the current list page, the list object identifiers in the next list page are determined, providing data support for realizing fast page turning of the list.

[0080] In one embodiment, in step S203, according to each list object identifier in the next list page, obtaining object description data and list detail data corresponding to each list object identifier in the next list page from the server may include the following steps:

[0081] Send a list page data acquisition request for the next list page to the server; the list page data acquisition request carries the identifier of each list object in the next list page; receive the object description data and list detail data corresponding to each list object identifier in the next list page returned by the server.

[0082] In actual applications, as shown in Figure 3, when the user requests the server for the next list page, the unique ID list of the list objects requested for the next list page (i.e., the identifiers of the list objects in the next list page) can be carried, such as the 10th to 20th data in the unique ID list of the list objects. Therefore, when each page is turned, the unique ID of the list object of the next list page is determined according to the list object identifier sorting table of the target list cached locally on the user side, which can ensure that the sorting results presented in the list are orderly and stable, avoiding jumps.

[0083] In this embodiment, by sending a list page data acquisition request for the next list page to the server, and then receiving the object description data and list detail data corresponding to each list object identifier in the next list page returned by the server, it is effectively ensured that the ranking data obtained by the user during the page turning process is orderly and stable.

[0084] In one embodiment, in step S204, combining the list object identifier sorting table, and the object description data and list detail data corresponding to each list object identifier in the next list page, displaying the next list page may include the following steps:

[0085] For any list object identifier in the next list page, determine the list item display area of ​​any list object identifier in the next list page according to the sorting of any list object identifier in the list object identifier sorting table; fill the object description data and list details data corresponding to any list object identifier into the list item display area of ​​any list object identifier to obtain and display the next list page.

[0086] In one example, as shown in FIG. 4 , for the list item corresponding to any list object identifier, its list item display area in the next list page can be determined, and then the different types of data in the list item can be displayed according to the preset positions. Taking the ranking list for user rankings as an example, the user avatar, user nickname, ranking score, etc. (that is, different types of data to be filled) corresponding to each list object identifier can be filled in according to the preset positions of each type of data to obtain the list item display result of any list object identifier.

[0087] In this embodiment, by targeting any list object identifier in the next list page, according to the sorting of any list object identifier in the list object identifier sorting table, the list item display area of ​​any list object identifier in the next list page is determined, and then the object description data and list detail data corresponding to any list object identifier are filled into the list item display area of ​​any list object identifier to obtain and display the next list page, which can quickly present the list page turning effect and effectively improve the efficiency of ranking page turning.

[0088] In one embodiment, the following step may also be included: if it is detected that the display time of the target ranking list exceeds a preset time threshold, list update prompt information for the target ranking list is displayed on the user terminal.

[0089] In a specific implementation, when it is detected that the user has stayed on the display interface of the target ranking list for a long time (i.e., exceeding the preset time threshold) and has not exited, the user can be prompted to update the list, thereby achieving the effect of solving the problem of list jumps while taking into account real-time performance. For example, when the user triggers to turn the page again, it is detected whether the display time of the target ranking list exceeds the preset time threshold. If it exceeds the preset time threshold, the information that the list has been updated (i.e., the list update prompt information) is displayed on the user side to prompt the user to refresh the page to obtain the updated list. For another example, after the current list page of the target ranking list is displayed in step S201, the display time of the target ranking list is timed. If it is found that the timing duration exceeds the preset time threshold, the user is prompted to update the list.

[0090] In this embodiment, if it is detected that the display time of the target ranking list exceeds the preset time threshold, the list update prompt information for the target ranking list is displayed on the user side, so that the real-time nature of the ranking list can be effectively guaranteed on the basis of avoiding the jump of the list.

[0091] In one embodiment, as shown in FIG5 , a flowchart of another ranking list processing method is provided. In this embodiment, the method includes the following steps:

[0092] In step S501, in response to the display operation of the target ranking list on the user side, a ranking display request for the target ranking list is sent to the server side, the ranking object identifier sorting table of the target ranking list returned by the server side is received, and the ranking object identifier sorting table is cached in the local memory of the user side. In step S502, the current ranking page of the target ranking list is displayed on the user side, and in response to the next page display operation of the current ranking page, the ranking page object quantity information of the target ranking list is obtained. In step S503, according to the ranking page object quantity information, according to the ranking object identifier sorting table and the ranking object identifiers in the current ranking page, the ranking object identifiers in the next ranking page are determined. In step S504, a ranking page data acquisition request for the next ranking page is sent to the server side; the ranking page data acquisition request carries the ranking object identifiers in the next ranking page. In step S505, the object description data and ranking detail data corresponding to each ranking object identifier in the next ranking page returned by the server are received. In step S506, the next list page is displayed in combination with the list object identifier sorting table, as well as the object description data and list detail data corresponding to each list object identifier in the next list page. In step S507, if it is detected that the display time of the target ranking list exceeds the preset time threshold, the list update prompt information for the target ranking list is displayed on the user side. It should be noted that the specific limitations of the above steps can be found in the specific limitations of a ranking list processing method above, which will not be repeated here.

[0093] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0094] Based on the same inventive concept, the embodiment of the present application also provides a ranking processing device for implementing the ranking processing method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more ranking processing device embodiments provided below can refer to the limitations of the ranking processing method above, and will not be repeated here.

[0095] In one embodiment, as shown in FIG6 , a ranking list processing device is provided, including:

[0096] The current list page display module 601 is used to display the current list page of the target list on the user terminal; the user terminal locally caches the list object identifier sorting table of the target list, and the list object identifier sorting table is obtained based on the list result of the target list at the target time, and the target time is the trigger time when the user terminal requests to display the target list;

[0097] The next page list object identifier determination module 602 is used to determine the list object identifiers in the next list page of the current list page according to the list object identifier sorting table in response to the next page display operation of the current list page;

[0098] The next list page data acquisition module 603 is used to acquire the object description data and list detail data corresponding to each list object identifier in the next list page from the server according to each list object identifier in the next list page;

[0099] The next list page display module 604 is used to display the next list page in combination with the list object identifier sorting table, and the object description data and list detail data corresponding to each list object identifier in the next list page.

[0100] In one embodiment, the apparatus further comprises:

[0101] A ranking list display request sending module, used for sending a ranking list display request for the target ranking list to the server in response to the display operation of the target ranking list on the user side; the ranking list display request is used to determine the ranking result of the target ranking list at the target time;

[0102] The list object identifier sorting table receiving module is used to receive the list object identifier sorting table of the target list returned by the server, and cache the list object identifier sorting table in the local memory of the user end.

[0103] In one embodiment, the apparatus further comprises:

[0104] The first list page data receiving module is used to receive the first list page data of the target list returned by the server; the first list page data includes object description data and list detail data corresponding to each list object identifier in the first list page of the target list;

[0105] The first list page display module is used to display the first list page in combination with the list object identifier sorting table, and the object description data and list detail data corresponding to each list object identifier in the first list page.

[0106] In one embodiment, the next page list object identifier determination module 602 includes:

[0107] A list page object quantity information acquisition submodule is used to acquire list page object quantity information of the target list; the list page object quantity information is used to represent the number of list page objects displayed on each list page in the target list;

[0108] The next list page object identification obtaining submodule is used to determine the list object identifications in the next list page according to the list page object quantity information, the list object identification sorting table and the list object identifications in the current list page.

[0109] In one embodiment, the next list page data acquisition module 603 includes:

[0110] A list page data acquisition request sending submodule, used to send a list page data acquisition request for the next list page to the server; the list page data acquisition request carries the identifier of each list object in the next list page;

[0111] The object description data and list detail data receiving submodule is used to receive the object description data and list detail data corresponding to each list object identifier in the next list page returned by the server.

[0112] In one embodiment, the next list page display module 604 includes:

[0113] A list item display area determination submodule, for determining, for any list object identifier in the next list page, a list item display area of ​​any list object identifier in the next list page according to the ranking of the any list object identifier in the list object identifier ranking table;

[0114] The data filling and display submodule is used to fill the object description data and list detail data corresponding to any list object identifier into the list item display area of ​​any list object identifier to obtain and display the next list page.

[0115] In one embodiment, the apparatus further comprises:

[0116] The list update prompt module is used to display list update prompt information for the target list on the user terminal if it is detected that the display time of the target list exceeds a preset time threshold.

[0117] Each module in the above ranking processing device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each module.

[0118] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 7As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a ranking processing method is realized. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.

[0119] Those skilled in the art will understand that Figure 7 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0120] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:

[0121] Displaying the current list page of the target list on the user terminal; the user terminal locally caches a list object identifier sorting table of the target list, the list object identifier sorting table is obtained based on the list result of the target list at the target time, and the target time is the trigger time when the user terminal requests to display the target list;

[0122] In response to a next page display operation on the current list page, determining each list object identifier in a list page next to the current list page according to the list object identifier sorting table;

[0123] According to each list object identifier in the next list page, obtain the object description data and list detail data corresponding to each list object identifier in the next list page from the server;

[0124] The next list page is displayed in combination with the list object identifier sorting table, and the object description data and list detail data corresponding to each list object identifier in the next list page.

[0125] In one embodiment, when the processor executes the computer program, the steps in the other embodiments described above are also implemented.

[0126] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0127] Displaying the current list page of the target list on the user terminal; the user terminal locally caches a list object identifier sorting table of the target list, the list object identifier sorting table is obtained based on the list result of the target list at the target time, and the target time is the trigger time when the user terminal requests to display the target list;

[0128] In response to a next page display operation on the current list page, determining each list object identifier in a list page next to the current list page according to the list object identifier sorting table;

[0129] According to each list object identifier in the next list page, obtain the object description data and list detail data corresponding to each list object identifier in the next list page from the server;

[0130] The next list page is displayed in combination with the list object identifier sorting table, and the object description data and list detail data corresponding to each list object identifier in the next list page.

[0131] In one embodiment, when the computer program is executed by a processor, the steps in the other embodiments described above are also implemented.

[0132] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:

[0133] Displaying the current list page of the target list on the user terminal; the user terminal locally caches a list object identifier sorting table of the target list, the list object identifier sorting table is obtained based on the list result of the target list at the target time, and the target time is the trigger time when the user terminal requests to display the target list;

[0134] In response to a next page display operation on the current list page, determining each list object identifier in a list page next to the current list page according to the list object identifier sorting table;

[0135] According to each list object identifier in the next list page, obtain the object description data and list detail data corresponding to each list object identifier in the next list page from the server;

[0136] The next list page is displayed in combination with the list object identifier sorting table, and the object description data and list detail data corresponding to each list object identifier in the next list page.

[0137] In one embodiment, when the computer program is executed by a processor, the steps in the other embodiments described above are also implemented.

[0138] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.

[0139] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0140] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0141] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A ranking list processing method, characterized in that: The method comprises: Displaying the current list page of the target list on the user terminal; the user terminal locally caches a list object identifier sorting table of the target list, the list object identifier sorting table is obtained based on the list result of the target list at the target time, and the target time is the trigger time when the user terminal requests to display the target list; In response to a next page display operation on the current list page, determining each list object identifier in a list page next to the current list page according to the list object identifier sorting table; According to each list object identifier in the next list page, obtain the object description data and list detail data corresponding to each list object identifier in the next list page from the server; The next list page is displayed in combination with the list object identifier sorting table, and the object description data and list detail data corresponding to each list object identifier in the next list page.

2. The method according to claim 1, characterized in that Before the step of displaying the current list page of the target list on the user terminal, the method further includes: In response to the display operation of the target ranking list on the user side, sending a ranking list display request for the target ranking list to the server side; the ranking list display request is used to determine the ranking result of the target ranking list at the target time; Receive the list object identifier sorting table of the target list returned by the server, and cache the list object identifier sorting table in the local memory of the user terminal.

3. The method according to claim 2, characterized in that The method further comprises: Receive the first list page data of the target list returned by the server; the first list page data includes object description data and list detail data corresponding to each list object identifier in the first list page of the target list; The first list page is displayed in combination with the list object identifier sorting table, and the object description data and list detail data corresponding to each list object identifier in the first list page.

4. The method according to claim 1, characterized in that: The determining, according to the list object identifier sorting table, each list object identifier in the next list page of the current list page comprises: Obtaining list page object quantity information of the target list; the list page object quantity information is used to represent the number of list page objects displayed on each list page in the target list; According to the list page object quantity information, the list object identifier sorting table and the list object identifiers in the current list page, the list object identifiers in the next list page are determined.

5. The method according to claim 1, characterized in that The acquiring, from the server side, object description data and list detail data corresponding to each list object identifier in the next list page according to each list object identifier in the next list page, includes: Sending a list page data acquisition request for the next list page to the server; the list page data acquisition request carries the identifier of each list object in the next list page; Receive the object description data and list detail data corresponding to each list object identifier in the next list page returned by the server.

6. The method according to claim 1, characterized in that The combining the list object identifier sorting table, and the object description data and list detail data corresponding to each list object identifier in the next list page, and displaying the next list page, includes: For any list object identifier in the next list page, determine a list item display area of ​​any list object identifier in the next list page according to the ranking of the any list object identifier in the list object identifier ranking table; The object description data and list detail data corresponding to any list object identifier are filled into the list item display area of ​​any list object identifier to obtain and display the next list page.

7. The method according to claim 1, characterized in that The method further comprises: If it is detected that the display time of the target ranking list exceeds a preset time threshold, list update prompt information for the target ranking list is displayed on the user terminal.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Ranking list data response method and request method as well as ranking list data display system

    CN105426433A

  • Method and device for determining anchor display sequence in live broadcasting application

    CN106507208A

  • Ranking method and system for ranking list

    CN111708954A

  • Ranking list processing method

    CN112473149A

  • Gaming challenges

    US20130288788A1