List processing method, apparatus, system, device, storage medium, and program product

By decoupling services and optimizing database queries in the list processing system, the problems of low efficiency and high load in the list processing process were solved, enabling fast list generation and display, and improving user experience and service scalability.

CN114936233BActive Publication Date: 2025-12-16BIGO TECH PTE LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210573387.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-24
Publication Date
2025-12-16
Estimated Expiration
2042-05-24

AI Technical Summary

Technical Problem

In existing technologies, list processing suffers from low efficiency, high load, complex logic, and the inability to perform secondary operations, especially in list updates and service expansion scenarios, which negatively impacts user experience.

Method used

A list processing system is adopted, including list generation service and list search service. By querying an initial ordered list in a pre-generated database and adjusting it according to the sorting configuration, the ordered list is finally displayed to the user, realizing service decoupling and independent expansion.

Benefits of technology

The processing time was reduced from 1500ms to 100ms, improving list processing efficiency, supporting independent service scaling, and enhancing the service's external support capabilities and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114936233B_ABST
    Figure CN114936233B_ABST
Patent Text Reader

Abstract

The application discloses a list processing method, device, system, equipment, storage medium and program product, wherein a kind of method includes: in response to index information sent by business process, query is carried out in pre-generated database, to obtain the initial ordered list corresponding to the index information, the index information includes target user identification and target service characteristic information;Judge whether the initial ordered list has sorting configuration;If the initial ordered list has sorting configuration, then the initial ordered list is adjusted according to the sorting configuration;The ordered list after adjustment is sent to the business process, the business process is used to determine final ordered list according to the ordered list after adjustment, and the final ordered list is shown to the target user corresponding to the target user identification, decouples list generation process and list finding process, saves a lot of time-consuming processing operation, improves the efficiency of list processing.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of data processing, and in particular to a list processing method, a list processing apparatus, a list processing system, a list processing device, a computer readable storage medium, and a computer program product. BACKGROUND

[0002] With the development of technology, generating a corresponding service list for an in-terminal user is an essential function of software. Whether a user can quickly select a required list directly relates to the smooth experience of the entire service. Therefore, the maintenance and management of the list displayed to the user is a key point in the service list processing process.

[0003] In the related art, when maintaining and managing a list, a large number of recommendation, filtering, sorting, information display, and other processing behaviors are usually accompanied. In-service, in-process processing and storage are often used, that is, original data is obtained from a data source and the above processing behaviors are performed in memory. This processing method has the following problems:

[0004] (1) As the service is updated and iterated, more and more sorting and other processing logics are used, which makes the service logic more complex, and further makes other service access difficult.

[0005] (2) When a user updates a selection item and switches a list each time, the service needs to reprocess list data. The processing task is heavy, and the in-process processing load is high. Moreover, because the logics are processed in respective processes, expanding the service has no effect. The service has poor scalability, poor disaster recovery, slow processing response speed, and affects user experience.

[0006] (3) The generated list cannot be operated secondarily. SUMMARY

[0007] The present application provides a list processing method, apparatus, system, device, storage medium, and program product to solve the problems of low efficiency, high load, complex logic, and non-secondary operation in the existing list processing process in the scenarios of list updating and service expansion.

[0008] According to an aspect of the present application, a list processing method is provided, which is applied to a list processing system including a service process and a list lookup service. The method is executed by the list lookup service, and includes:

[0009] In response to index information sent by the service process, querying a pre-generated database to obtain an initial ordered list corresponding to the index information. The index information includes a target user identifier and target service feature information.

[0010] determining whether the initial ordered list has a sorting configuration;

[0011] adjusting the initial ordered list according to the sorting configuration if the initial ordered list has the sorting configuration;

[0012] sending the adjusted ordered list to the service process, the service process being configured to determine a final ordered list according to the adjusted ordered list and display the final ordered list to a target user corresponding to the target user identification.

[0013] According to another aspect of the present application, a list processing method is provided, which is applied to a list processing system including a list generation service, and is performed by the list generation service. The method includes:

[0014] determining a set of list elements to be sorted corresponding to each user identification in the list processing system;

[0015] determining, from the set of list elements to be sorted, a secondary index list corresponding to each of one or more preset service characteristic information, each of the secondary index lists including one or more index values;

[0016] filtering out list elements corresponding to each of the index values from the set of list elements to be sorted, and sorting the filtered list elements to generate an initial ordered list;

[0017] storing the secondary index list of each of the service characteristic information corresponding to each of the user identifications and the initial ordered list corresponding to each of the index values of each of the secondary index lists in association.

[0018] According to another aspect of the present application, a list processing system is provided, which includes a list generation service, a list search service, and a service process, wherein,

[0019] the list generation service is configured to:

[0020] determine a set of list elements to be sorted corresponding to each user identification in the list processing system;

[0021] determine, from the set of list elements to be sorted, a secondary index list corresponding to each of one or more preset service characteristic information, each of the secondary index lists including one or more index values;

[0022] filter out list elements corresponding to each of the index values from the set of list elements to be sorted, and sort the filtered list elements to generate an initial ordered list;

[0023] store the secondary index list of each user identifier under each service feature information and the initial ordered list corresponding to each index value of each secondary index list in association;

[0024] The list lookup service is used to:

[0025] In response to the index information sent by the service process, the initial ordered list corresponding to the index information is obtained from the list generation service, and the index information includes a target user identifier and target service feature information.

[0026] Determine whether the initial ordered list has a sorting configuration;

[0027] If the initial ordered list has a sorting configuration, adjust the initial ordered list according to the sorting configuration;

[0028] Send the adjusted ordered list to the service process;

[0029] The service process is used to:

[0030] Send index information to the list lookup service, receive the ordered list returned by the list lookup service based on the index information, determine a final ordered list according to the ordered list, and display the final ordered list to a target user corresponding to the target user identifier.

[0031] According to another aspect of the present application, a list processing device is provided, which is applied to a list processing system including a service process and a list lookup service, and is located in the list lookup service and includes:

[0032] An initial ordered list acquisition module is configured to query a pre-generated database in response to index information sent by a service process to obtain an initial ordered list corresponding to the index information, and the index information includes a target user identifier and target service feature information.

[0033] A sorting configuration judgment module is configured to determine whether the initial ordered list has a sorting configuration.

[0034] An ordered list adjustment module is configured to adjust the initial ordered list according to the sorting configuration if the initial ordered list has a sorting configuration.

[0035] An ordered list delivery module is configured to send the adjusted ordered list to the service process, and the service process is configured to determine a final ordered list according to the adjusted ordered list and display the final ordered list to a target user corresponding to the target user identifier.

[0036] According to another aspect of the present application, there is provided a list processing apparatus applied in a list processing system comprising a list generation service, the list processing apparatus being located in the list generation service and comprising:

[0037] a to-be-sorted list element determination module configured to determine a set of to-be-sorted list elements corresponding to each user identifier in the list processing system;

[0038] a secondary index list determination module configured to determine, from the set of to-be-sorted list elements, a secondary index list corresponding to each of one or more preset service characteristic information, each of the secondary index lists comprising one or more index values;

[0039] an initial ordered list generation module configured to filter out list elements corresponding to each of the index values from the set of to-be-sorted list elements, and sort the filtered list elements to generate an initial ordered list;

[0040] an association storage module configured to store the secondary index list of each of the service characteristic information of each of the user identifiers and the initial ordered list corresponding to each of the index values of each of the secondary index lists in association.

[0041] According to another aspect of the present application, there is provided a list processing apparatus, the list processing apparatus comprising:

[0042] at least one processor; and

[0043] a memory communicatively connected to the at least one processor; wherein

[0044] the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to perform the method according to any one of the embodiments of the present application.

[0045] According to yet another aspect of the present application, there is provided a computer readable storage medium storing computer instructions for causing a processor to implement the method according to any one of the embodiments of the present application when executed.

[0046] According to yet another aspect of the present application, there is provided a computer program product comprising computer executable instructions for implementing the method according to any one of the embodiments of the present application when executed.

[0047] In the embodiment, the list processing system completes the processing of the list data through a plurality of services, the services are independent of each other, the services are decoupled, a large number of time-consuming processing operations are saved through decoupling, and experiments prove that the time consumption for processing the list is reduced from 1500 ms to 100 ms.

[0048] In addition, the services at each level are decoupled, so that the services are independently scalable, originally depend on the number of API physical machines, and are now not limited by the physical machines, and can fully meet the list generation requirements, and each service can independently provide data support to other businesses, thereby improving the support capability of the services to the outside.

[0049] Further, from generating an initial ordered list to displaying a final ordered list, each processing link is completed by the service and the business process, the processing link is flexible and controllable, and the efficiency of the list processing is improved. BRIEF DESCRIPTION OF DRAWINGS

[0050] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.

[0051] Figure 1 is a flowchart of a list processing method provided by the first embodiment of the present application;

[0052] Figure 2 is a process diagram of generating an initial ordered list by a list generation service provided by the first embodiment of the present application;

[0053] Figure 3 is a structure diagram of list storage provided by the first embodiment of the present application;

[0054] Figure 4 is a flowchart of a list processing method provided by the second embodiment of the present application;

[0055] Figure 5 is a process diagram of searching an initial ordered list by a list search service provided by the second embodiment of the present application;

[0056] Figure 6 is an initial ordered list diagram provided by the second embodiment of the present application;

[0057] Figure 7 is an adjusted ordered list diagram provided by the second embodiment of the present application;

[0058] Figure 8 is an agent list page diagram provided by the second embodiment of the present application;

[0059] Figure 9 is a structural schematic diagram of a list processing system provided by Embodiment Three of the present application;

[0060] Figure 10 is a structural schematic diagram of another list processing system provided by Embodiment Three of the present application;

[0061] Figure 11 is a structural schematic diagram of a list processing device provided by Embodiment Four of the present application;

[0062] Figure 12 is a structural schematic diagram of a list processing device provided by Embodiment Five of the present application;

[0063] Figure 13 is a structural schematic diagram of a list processing device for implementing a list processing method according to an embodiment of the present application. DETAILED DESCRIPTION

[0064] In order to enable persons skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, but not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by persons skilled in the art without creative work should fall within the scope of protection of the present application.

[0065] It should be noted that the terms "first", "second", and the like in the specification and claims of the present application and the above-described drawings are used to distinguish similar objects, and do not necessarily indicate a specific order or a chronological sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device that includes a series of steps or units does not have to be limited to only those steps or units clearly listed, but can include other steps or units that are not clearly listed or inherent to the process, method, product or device.

[0066] Embodiment One

[0067] Figure 1A flowchart of a list processing method provided for Embodiment One of the present application, the embodiment can be applied to a list processing system, which can process lists to be displayed to users and also provide a function of customizing lists. The list processing system includes a list generation service, which is configured to perform a large amount of preprocessing on lists and generate an initial ordered list.

[0068] As shown in Figure 1 The embodiment is executed by the list generation service and can include the following steps:

[0069] In step 110, a set of to-be-ordered list elements corresponding to each user identifier in the list processing system is determined.

[0070] The list elements are associated with the current service. Different services can have different list elements. For example, assuming that the service is a recharge service, the list elements can be agent information; assuming that the service is an e-commerce service, the list elements can be merchant information; assuming that the service is a live broadcast service, the list elements can be short video information, and so on.

[0071] The user identifier can include a user ID of a registered user in the list processing system, or can also include a user ID of a guest user. The embodiment is not limited in this regard.

[0072] In one embodiment, step 110 can further include the following steps:

[0073] In step 110-1, user attribute information of each user identifier is obtained.

[0074] Specifically, the list generation service can obtain a user list composed of each user identifier from the list processing system, and the user list can also record user attribute information of each user identifier. The user attribute information is compliant user data obtained after user authorization, and different user attribute information can be obtained for different services. For example, assuming that the service is a recharge service of a live broadcast system, the user attribute information can include a user identifier, a number of diamonds (diamonds herein are a kind of payment currency in the live broadcast system) of the user, a user level, and so on.

[0075] In step 110-2, list elements matching the user attribute information are filtered out from all list elements provided by the list processing system to form a set of to-be-ordered list elements.

[0076] The list processing system can provide full list elements corresponding to the current business. After obtaining the user attribute information, the list processing system can filter out the list elements that match the user attribute information from the full list elements provided by the list processing system, that is, for each user attribute information, filter out the list elements that do not obviously match the current user attribute information, and then group the remaining list elements that match the user attribute information to form a set of sorted list elements corresponding to the user attribute information. For example, assuming that the number of diamonds of the current user identifier is 50, the agent whose credit limit is less than 50 can be filtered out, and then the remaining agents are grouped to form a set of sorted list elements.

[0077] For example, referring to Figure 2 An example of a process diagram in which the list generation service generates an initial ordered list is shown. Assuming that the user list contains user identifiers "A, B, C, D, …", and the current user identifier is user C, the user identifier C is matched in the full list elements provided by the list processing system to obtain a set of sorted list elements corresponding to the user identifier C. In an embodiment, the set of sorted list elements can also be sorted to generate a set of sorted list elements "1, 2, 3, 4, 5, …".

[0078] Each sorted list element in the set of sorted list elements can also carry element attribute information. Element attribute information is related information that the list element has, for example, assuming that the list element is an agent, the element attribute information can include but is not limited to: agent name, agent country and region, agent provided recharge method, agent payment method, etc.

[0079] Different element attribute information can be used for different business characteristic information, for example, assuming that the business characteristic information is the country, the element attribute information is the agent's country; for example, assuming that the business characteristic information is the recharge method, the element attribute information is the agent's provided recharge method.

[0080] Step 120, determining one or more secondary index lists corresponding to the one or more preset business characteristic information from the set of sorted list elements, each secondary index list including one or more index values.

[0081] The list processing system can also provide one or more business characteristic information corresponding to the current business, wherein the business characteristic information is used to describe different business dimensions of the list under the current business, and the business characteristic information is also associated with the business. Different businesses can have different business characteristic information. For example, in the recharge business, the business characteristic information can include but is not limited to: country, region, recharge method, family contract or not, etc.

[0082] The secondary index list can be used for subsequent secondary indexing. The index values in the secondary index list are associated with the service feature information. For example, if the service feature information is "country", the index value is the value corresponding to the "country" feature, such as global, China, Malaysia, etc. existing in the country name of the to-be-ordered list element set.

[0083] In an embodiment, step 120 can further include the following steps:

[0084] For each service feature information, the attribute value related to the current service feature information is obtained from the element attribute information of each to-be-ordered list element, as the index value related to the current service feature information. After the index values are de-duplicated, the secondary index list of the service feature information is organized.

[0085] For example, assuming that the service feature information is "country", the element attribute information associated with "country" in each to-be-ordered element can be determined from the to-be-ordered list element set of the current user, such as "country of the agent", and the attribute value (such as country name) of the associated element attribute information in each to-be-ordered element is read as the index value. Then, the index values obtained by the current user under the current service feature information are de-duplicated to obtain the secondary index list of the current user under the current service feature information, such as the secondary index list under the service feature information of "country" including multiple country names.

[0086] For example, referring to Figure 2 According to one or more service feature information, the index values corresponding to each service feature information can be extracted from the to-be-ordered list element set to generate the secondary index list of different service feature information, such as Figure 2 "C11, C12, C13, …", "C21, C22, C23, …", "C31, C32, C33, …", etc. in

[0087] Step 130, filtering the list elements corresponding to each index value from the to-be-ordered list element set, and sorting the filtered list elements to generate an initial ordered list.

[0088] After obtaining the secondary index list of each user identification for each service feature information, for each index value in each secondary index list, the list element matching each index value can be filtered from the to-be-ordered list element set.

[0089] In one embodiment, the step of filtering the list elements corresponding to each index value from the set of list elements to be sorted may further include the following steps:

[0090] Obtain attribute values ​​related to the current business characteristics from the element attribute information of each unsorted list element, compare them with the index value, and obtain the list element that matches the index value as the filtered list element.

[0091] For example, if the business characteristic information is "country" and the selected index value in its secondary index list is "China (CN)," then the list elements with the attribute value of "China" associated with the element attribute information of the unsorted list elements can be found from the set of elements to be sorted, and used as the list elements filtered for the current index value.

[0092] The list generation service allows you to pre-set sorting rules or other filtering conditions to sort the filtered data elements and obtain an initial ordered list corresponding to the current index value.

[0093] In one embodiment, the list processing system may further include a weight processing service. This service acquires business data for each element in the list to be sorted under different business characteristic information, and determines the sorting weight of each element based on the acquired business data under different business characteristic information. Therefore, the step of sorting the selected list elements to generate an initial ordered list may further include the following steps:

[0094] Based on the business characteristic information of each selected list element, obtain the sorting weight of each selected list element from the weight processing service; sort the selected list elements according to the sorting weight to generate an initial ordered list.

[0095] Because the weighting service pre-calculates and stores the sorting weights of each element in the list under various business features, the list generation service can directly query the sorting weights of each list element from the weighting service and then sort the selected list elements according to these weights. For example, in... Figure 2 In the process, for one of the index values ​​C31 in the secondary index list "C31, C32, C33, ...", after searching for the list element corresponding to index value C31, the selected list elements are sorted in descending order of sorting weight to obtain the initial ordered list "7, 9, 11, 19, 20, 23, 27, ..." corresponding to the current index value. This can reduce the computational load of the list generation service and improve the efficiency of list generation.

[0096] In step 140, the secondary index list of each user identifier under each service feature information and the initial ordered list corresponding to each index value of each secondary index list are stored in association.

[0097] In an implementation, the secondary index list of each user identifier under each service feature information and the initial ordered list corresponding to each index value of each secondary index list can be stored in association by using a Codis cluster.

[0098] In an embodiment, step 140 can further include the following steps:

[0099] The secondary index list of each user identifier under each service feature information is stored by using a core hash table, in which the user identifier and the service feature information are used as keys and the secondary index list under the service feature information is used as a value; each index value in the secondary index list and the initial ordered list corresponding thereto are stored by using an auxiliary hash table, in which the index value is used as a key and the initial ordered list is used as a value.

[0100] This embodiment stores the list by using the secondary storage structure of the core hash table and the auxiliary hash table, which facilitates the subsequent quick acquisition of the secondary index list and the initial ordered list. For example, referring to Figure 3 A structure diagram of list storage is shown, in which the user identifier and the corresponding multiple secondary index lists (such as C11, C12, C13, …, “C21, C22, C23, …”, “C31, C32, C33, …”) are stored by using a core hash table, and then each index value in the secondary index list and the initial ordered list corresponding thereto are stored by using an auxiliary hash table.

[0101] In other implementations, the same hash table can also be used to store the above list data, as long as the secondary index list and the initial ordered list can be quickly found according to the key-value pair form.

[0102] In an embodiment, the list processing system can further include a sorting configuration service, and the present example can further include:

[0103] The initial ordered list corresponding to each index value of the secondary index list of each user identifier under each service feature information is sent to the sorting configuration service. The sorting configuration service is used to display the initial ordered list in a sorting configuration page, detect the sorting configuration information set by the user on the list element in the initial ordered list, and store the sorting configuration information and the corresponding list element in association. Thus, it is possible for the user (such as an operation user) to customize the list, and the operation efficiency and operation experience of the operation user are improved.

[0104] It should be noted that when the list generation service generates the initial ordered list according to the user identifier, the service characteristic information, the secondary index list and the index value, if a performance bottleneck is encountered or a new user identifier needs to be added, the list generation speed can be increased through horizontal expansion service to meet the list update requirement. In one implementation, the upper limit of expansion = "number of user identifiers" * "number of service characteristic information" * "number of index values".

[0105] The embodiment provides a special list generation service to generate an initial ordered list corresponding to each index value under each service characteristic information for each user. If a new user identifier, or new service characteristic information or new index value is added subsequently, the list generation service can be horizontally expanded to realize fast generation or fast update of the list, thereby improving the maintenance effect and efficiency of the list.

[0106] By generating the initial ordered list in advance, the initial ordered list can be directly read in the subsequent list display scenario, thereby improving the efficiency of list acquisition.

[0107] Embodiment Two

[0108] Figure 4 A flowchart of a list processing method is provided for the second embodiment of the present application. The embodiment can be applied to a list processing system which can process a list to be displayed to a user and can also provide a function of customizing the list. The list processing system includes a list lookup service which is configured to respond to a query from a user, find a matched list from a list generation service for processing, and send the processed ordered list to a business process for display.

[0109] As shown in Figure 4 , the embodiment can include the following steps:

[0110] In step 210, in response to index information sent by a business process, a pre-generated database is queried to obtain an initial ordered list corresponding to the index information. The index information includes a target user identifier and a target service characteristic information.

[0111] In implementation, when a user queries, the business process can display a list of service characteristic information corresponding to the current business through a business page for the user to select, and detect the service characteristic information selected by the user as the target service characteristic information. Then, the user identifier of the current user is obtained. For convenience of distinction, the user identifier is referred to as the target user identifier, and the user is referred to as the target user. Then, the service characteristic information and the target user identifier are organized into index information, and the pre-generated database is queried to obtain an initial ordered list corresponding to the index information.

[0112] In an embodiment, the index information can further include a secondary index value, which is data used for secondary indexing in a subsequent indexing. Step 210 can further include the following steps:

[0113] Step 210-1, receiving the target user identification sent by the service process, and target service feature information input by the target user corresponding to the target user identification.

[0114] Step 210-2, searching the database with the target user identification and the target service feature information as a primary index value to obtain a secondary index list corresponding to the primary index value.

[0115] In an embodiment, the list processing system further includes a list generation service, and the database is a database corresponding to the list generation service. Step 210-2 can further include the following steps:

[0116] sending the target user identification and the target service feature information to the list generation service, and obtaining the secondary index list returned by the list generation service. The list generation service is configured to search the database with the target user identification and the target service feature information as a primary index value to obtain a secondary index list corresponding to the primary index value.

[0117] Step 210-3, returning the secondary index list to the service process, and the service process is configured to display the secondary index list to the target user and detect a secondary index value selected by the target user from the secondary index list.

[0118] Step 210-4, receiving the secondary index value sent by the service process, and searching the database according to the primary index value and the secondary index value to obtain a corresponding initial ordered list.

[0119] In an embodiment, step 210-4 can further include the following steps:

[0120] sending the target user identification, the target service feature information, and the secondary index value to the list generation service, and obtaining the initial ordered list returned by the list generation service. The list generation service is configured to search the database according to the target user identification, the target service feature information, and the secondary index value to obtain a corresponding initial ordered list.

[0121] Specifically, corresponding to the two-level storage mode of the list generation service in the first embodiment, a two-level query mode can also be used in the process of list query by the list lookup service. First, the "target user identifier + target service characteristic information" is sent to the list generation service, and the list generation service takes the "target user identifier + target service characteristic information" as a first index value to perform retrieval in the Codis cluster to obtain a two-level index list matched with the "target user identifier + target service characteristic information". The two-level index list can include one or more two-level index values. Then the list generation service can return the matched two-level index list to the list lookup service, and the list lookup service sends the two-level index list to the service process, and the service process displays the two-level index list to the target user. The target user can select one or more two-level index values from the two-level index list. Then the service process sends the selected one or more two-level index values to the list lookup service, and the list lookup service sends the "target user identifier + target service characteristic information + selected one or more two-level index values" to the list generation service, and the list generation service performs retrieval in the Codis cluster to obtain a matched initial ordered list, and then the list generation service can return the matched initial ordered list to the list lookup service.

[0122] For example, referring to Figure 5 An example is shown in FIG. 6, which shows a process diagram of searching an initial ordered list by the list lookup service. It is assumed that the user C selects the service characteristic 2 (such as "country") in the given service characteristic information list. Then the list lookup service performs query in the Codis cluster according to "user C + service characteristic 2" to obtain a corresponding two-level index list "ALL, C21, C22, C23, …". After the two-level index list is displayed to the target user, the target user selects the filter item C22. Then the list lookup service further performs query in the Codis cluster according to "user C + service characteristic 2 + C22" to obtain a corresponding initial ordered list "1, 2, 3, 4, …".

[0123] It should be noted that if the two-level index list cannot be found, an empty list can be returned.

[0124] The data displayed to the user in this embodiment, such as the two-level index list and the final ordered list, are returned based on the Codis cache data, so that the performance index can be greatly improved, and the user can find the required list data through multiple layers of hash indexes. The data stored by Codis can be synchronized subsequently, for example, global synchronization.

[0125] In step 220, it is determined whether the initial ordered list has a sorting configuration.

[0126] After obtaining the initial ordered list, it is further determined whether each list element in the initial ordered list has a sorting configuration, which is a configuration information that can affect the sorting of the list and is customized by the operator according to the operation demand.

[0127] In an embodiment, the list processing system can further include a sorting configuration service configured to provide an interface for a user to make sorting configuration to adjust the sequence of one or more list elements.

[0128] Step 220 can further include the following steps:

[0129] The index information is sent to the sorting configuration service, which is configured to search the index information in a pre-generated configuration database and generate a search result; the search result returned by the sorting configuration service is received, and if the search result is a search success result, it is determined that the initial ordered list has a sorting configuration, and if the search result is a search failure result, it is determined that the initial ordered list does not have a sorting configuration.

[0130] Specifically, after obtaining the initial ordered list, the list search service can query from the sorting configuration service whether the initial ordered list has a sorting configuration. In implementation, the list search service can send "target user identifier + target service feature information + secondary index value" (i.e. index information) to the sorting configuration service. After receiving the index information, the sorting configuration service searches the index information in a pre-generated configuration database, generates a search success result if the search is successful, and generates a search failure result if the search fails, and then returns the search success result or the search failure result to the list search service. The list search service identifies whether the received search result is a search success result or a search failure result, and if it is a search success result, it is determined that the current initial ordered list has a sorting configuration, and if it is a search failure result, it is determined that the current initial ordered list does not have a sorting configuration.

[0131] In other embodiments, the index information sent by the list search service to the sorting configuration service can further include the unique ID of each list element in the initial ordered list, i.e. the index information is "target user identifier + target service feature information + secondary index value + unique ID of list element". If the sorting configuration service finds that any list element has a sorting configuration, it returns a search success result, and if all list elements are not found, it returns a search failure result.

[0132] Step 230, if the initial ordered list has a sorting configuration, the initial ordered list is adjusted according to the sorting configuration.

[0133] In an embodiment, the finding success result can further include sorting configuration information of the list element in the initial ordered list that has the sorting configuration, and the sorting configuration information can include a specified sorting position.

[0134] Then, step 230 can further include the following steps:

[0135] According to the order of the list elements in the initial ordered list, the sorting configuration information is judged one by one, and for the current sorting configuration information, the list element to which the sorting configuration information belongs is moved to the sequence position corresponding to the specified sorting position corresponding to the sorting configuration information.

[0136] For example, as shown in Figure 6 , it is assumed that in an initial ordered list, the list elements are defined in order of position (pos) such as 1, 2, 3, 4, and so on. It is assumed that at least the 2nd, 5th, and 8th list elements have sorting configurations, such as the specified sorting position set for the 2nd list element is 200, the specified sorting position set for the 5th list element is 1, and the specified sorting position set for the 8th list element is 2. In the traversal, according to the order of the list elements in the initial ordered list, the order of the list elements processed is: first, the 2nd list element is moved to the 200th position, then the 5th list element is moved to the 1st position of the list, then the 8th list element is moved to the 2nd position of the list, and the positions behind are directly moved one position. It should be noted that, if there is no conflict configuration, and the specified sorting position exceeds the list range, the corresponding list element can be placed at the last side of the list, such as the number of list elements in the current ordered list is less than 200, then the 2nd list element can be moved to the last of the list, i.e., moved to the back of the 12th list element, and the adjusted ordered list is as shown in Figure 7 .

[0137] In an embodiment, the sorting configuration information can further include a valid time interval, the valid time interval includes a start time and an end time, and the time period from the start time to the end time constitutes the valid time interval. Then, step 230 can further include the following steps:

[0138] It is judged whether the current real-time time is within the valid time interval corresponding to the sorting configuration information. If yes, it is determined that the current sorting configuration information is valid, and the step of moving the list element to which the sorting configuration information belongs to the sequence position corresponding to the specified sorting position corresponding to the sorting configuration information is executed. If no, it is determined that the current sorting configuration information is invalid, and the sorting configuration information is ignored.

[0139] The embodiment restricts the valid period of the sorting configuration by the valid time interval, avoids the case that a list element uses one sorting configuration to occupy a fixed position for a long time, and enables the ordered queue to dynamically change.

[0140] In step 240, the adjusted ordered list is sent to the service process, and the service process is used to determine a final ordered list according to the adjusted ordered list and display the final ordered list to the target user corresponding to the target user identifier.

[0141] After the initial ordered list is adjusted according to each sorting configuration, the list search service can return the adjusted ordered list to the service process. The service process determines a final ordered list according to the adjusted ordered list and displays the final ordered list to the target user.

[0142] For the service process, when the ordered list is received, a final ordered list used for display can be generated according to the ordered list, and the final ordered list is displayed to the target user for selection. In implementation, the service process can adjust the received ordered list according to a preset filtering or sorting rule to obtain the final ordered list. For example, one implementation manner can be as follows: a dynamic service value of each list element in the ordered list associated with a demand service value input by the target user is obtained according to the demand service value; the list element with a dynamic service value less than the demand service value is moved to the rear side of the ordered list, and finally the final ordered list is generated.

[0143] For example, as shown in FIG. 8, in the recharge service of the live broadcast system, the currently displayed ordered list is a user selection package A (the implementation process can be as follows: the user enters the home page, selects a package with a corresponding number of diamonds to perform recharge, and after clicking, automatically jumps to the agent list page as shown in FIG. 9) and a selection service area of global (the implementation process can be as follows: in the agent list page as shown in FIG. 9, the user selects a service area of global, and after clicking, automatically jumps to the agent list page as shown in FIG. 10). Figure 8 Figure 8 Figure 8 ​​After selecting the "Regional" business characteristic information in the "Select Agent" field and setting the field value to "Global", the system queries an ordered list of agents based on the user's identifier. Through processing operations across various services, this ordered list can support switching regions and is displayed quickly. In this example, if the required business value is the user's selected package A (e.g., 71 diamonds), the business process, after obtaining the ordered list, can determine whether the total rechargeable amount (i.e., dynamic business value) offered by each agent in the list exceeds the number of diamonds selected by the user. If the total rechargeable amount of an agent is less than the number of diamonds selected by the user, it means that the agent does not meet the target user's needs and can be placed at the bottom. Thus, for the business process, only simple list filtering or sorting based on the real-time scenario is required, without the need for weight calculations, initial data sorting, or secondary sorting, reducing the processing load on the business process.

[0144] In one embodiment, step 240 may further include the following steps:

[0145] Determine if any of the first few list elements in the adjusted ordered list have sorting configuration information; if so, add a setting label to the list element with sorting configuration information; and send the adjusted ordered list with the setting label to the business process.

[0146] For the business process, when displaying the final ordered list, if it is determined that a set label exists among the first few list elements in the final ordered list, then the set label is displayed at the designated position of the corresponding list element. For example, such as... Figure 8 As shown, the label can be set to "Recommended," meaning the word "Recommended" will be displayed in a designated position (such as on the left) of the list element. This makes users more likely to select list elements with the "Recommended" label, thereby improving the operational effectiveness of that list element.

[0147] This embodiment provides a dedicated list search service to implement the list query function. The list search service can directly obtain the initial ordered list from the list generation service, without the need for complex work such as weight calculation and data collection, thus improving the efficiency of list acquisition.

[0148] Example 3

[0149] Figure 9 This application provides a schematic diagram of the structure of a list processing system according to Embodiment 3. The list processing system may include a list generation service 310, a list search service 320, and a business process 330.

[0150] The list generation service 310 is used for:

[0151] Determine the set of unsorted list elements corresponding to each user identifier in the list processing system;

[0152] From the set of elements in the unsorted list, determine a set of secondary indexes corresponding to one or more preset business feature information, each of which includes one or more index values;

[0153] Select the list elements corresponding to each index value from the set of elements to be sorted, and sort the selected list elements to generate an initial ordered list;

[0154] The secondary index list of each user identifier under each business feature information, and the initial ordered list corresponding to each index value of each secondary index list are stored together.

[0155] The list lookup service 320 is used for:

[0156] In response to the index information sent by the business process, an initial ordered list corresponding to the index information is obtained from the list generation service. The index information includes the target user identifier and the target business feature information.

[0157] Determine whether the initially ordered list has a sorting configuration;

[0158] If the initial ordered list has a sorting configuration, then the initial ordered list is adjusted according to the sorting configuration;

[0159] The adjusted ordered list is sent to the business process.

[0160] The business process 330 is used for:

[0161] Send index information to the list lookup service and receive the ordered list returned by the list lookup service based on the index information. Determine the final ordered list based on the ordered list and display the final ordered list to the target user corresponding to the target user identifier.

[0162] For a detailed description of the list generation service 310, the list search service 320, and the business process 330, please refer to the relevant descriptions in Embodiment 1 and Embodiment 2. This embodiment will not repeat these details.

[0163] In one embodiment, such as Figure 10 As shown, the list processing system may also include a weight processing service 340, which is used to obtain business data of each list element under different business characteristic information, and determine the sorting weight of each list element under different business characteristic information based on the business data.

[0164] Specifically, the weight processing service 340 can obtain one or more service characteristic information corresponding to the current service from the list processing system, and then obtain the full list elements provided by the list processing system for the current service, and then obtain the service data generated by each list element under each service characteristic information according to the service characteristic information as the dimension. For example, assuming that the current service characteristic information is "recharge method", the service data can be the 30-day sales of the agent under a certain recharge method. Then the ranking weight of the list element can be calculated according to the service data, for example, the 30-day sales can be directly used as the ranking weight, or the result of normalizing the 30-day sales can be used as the ranking weight.

[0165] In the calculation of the ranking weight, the weight processing service 340 can also combine the user identifier, and the service data can be the service data related to the user identifier and the service characteristic information. For example, assuming that the current service characteristic information is "family contract or not", the service data can be whether the current user performs a family contract in the current agent. According to the judgment result, the ranking weight can be determined, for example, if yes, the ranking weight is 1, and if no, the ranking weight is 0.

[0166] It should be noted that different service characteristic information has different weight calculation methods, which are not limited in this embodiment.

[0167] After obtaining the ranking weight of each list element, the service characteristic information, the list element, and the ranking weight can be associated and stored. In one implementation, the Codis cluster can be used to associate and store the above information, for example, one way of associated storage is shown in the following table:

[0168]

[0169] In this embodiment, the ranking weight of each list element is calculated in advance by the weight processing service and stored, so that the weight calculation process is decoupled from other services, thereby improving the efficiency of ranking calculation.

[0170] In one embodiment, as shown in Figure 10 The list processing system can also include a ranking configuration service 350 for displaying an initial ordered list in a ranking configuration page, detecting the ranking configuration information set by the user on the list elements in the initial ordered list, and associating and storing the ranking configuration information with the corresponding list elements.

[0171] In this embodiment, the user of the sorting configuration service 350 can be an operation personnel. In one implementation, the sorting configuration service 350 can obtain all the initial ordered lists from the list generation service 310, and present the summary information (such as index information) of all the initial ordered lists when triggered by the user, and present the list elements of the initial ordered list when the user selects the index information of the initial ordered list. In another implementation, the user can also specify the user identity, business feature and secondary index value in the sorting configuration page to obtain the initial ordered list that needs to be sorted, so as to ensure that the sorting configuration has unique dimensionality specification.

[0172] When the list elements are presented, the sorting configuration button can also be added to the list elements. When the user triggers a sorting configuration button, it means that the list element corresponding to the sorting configuration button needs to be sorted, and then the specific configuration page is presented, which includes the sorting position field and the valid time interval field, and the valid time interval field can include the start time and the end time. When the user fills in the sorting position, the start time and the end time and other information, clicks the "complete" button in the specific configuration page to complete the configuration of the list element. After the sorting configuration service 350 receives the sorting configuration information input by the user, the sorting configuration information is associated with the corresponding list element and stored in the Codis cluster.

[0173] Through the sorting configuration service 350, the operation user can realize real-time and free configuration of the ordered list, and the operation can arbitrarily adjust the position of each element in the generated list, thereby improving the operation experience. In addition, the sorting configuration service 350 can also be used as a reward mechanism for table elements, thereby providing a basis for subsequent customized revenue activities.

[0174] In this embodiment, the list processing system completes the processing of the list data through multiple services, and the services are independent of each other, thereby realizing the decoupling of the services. The services can save a large number of time-consuming processing operations through decoupling, and experiments prove that the time consumption for processing the list is reduced from 1500 ms to 100 ms.

[0175] In addition, the decoupling of the services at each level makes the services independent and scalable. Originally, the services depended on the number of API physical machines, but now they are not limited by the physical machines, and can completely meet the list generation requirements. In addition, each service can independently provide data support to other businesses, thereby improving the support capability of the services to the outside.

[0176] Further, from the generation of the initial ordered list to the presentation of the final ordered list, each processing link is completed by the service and the business process, the processing link is flexible and controllable, and the efficiency of the list processing is improved.

[0177] Embodiment Four

[0178] Figure 11 A structure schematic diagram of a list processing device provided for Embodiment Four of the present application is applied to a list processing system including a service process and a list lookup service. The list processing device is located in the list lookup service and can include the following modules:

[0179] An initial ordered list obtaining module 410 is configured to query a pre-generated database in response to index information sent by a service process to obtain an initial ordered list corresponding to the index information. The index information includes a target user identifier and target service characteristic information.

[0180] A sorting configuration judging module 420 is configured to judge whether the initial ordered list has a sorting configuration.

[0181] An ordered list adjusting module 430 is configured to adjust the initial ordered list according to the sorting configuration if the initial ordered list has the sorting configuration.

[0182] An ordered list issuing module 440 is configured to send the adjusted ordered list to the service process. The service process is configured to determine a final ordered list according to the adjusted ordered list and display the final ordered list to a target user corresponding to the target user identifier.

[0183] In an embodiment, the index information further includes a secondary index value. The initial ordered list obtaining module 410 can further include the following modules:

[0184] An information receiving module is configured to receive a target user identifier sent by the service process and target service characteristic information input by a target user corresponding to the target user identifier.

[0185] A primary index module is configured to search the database with the target user identifier and the target service characteristic information as a primary index value to obtain a secondary index list corresponding to the primary index value.

[0186] An index list sending module is configured to return the secondary index list to the service process. The service process is configured to display the secondary index list to the target user and detect a secondary index value selected by the target user from the secondary index list.

[0187] A secondary index module is configured to receive the secondary index value sent by the service process and search the database with the primary index value and the secondary index value to obtain a corresponding initial ordered list.

[0188] In an embodiment, the list processing system further includes a list generation service. The database is a database corresponding to the list generation service.

[0189] The first index module is specifically configured to:

[0190] send the target user identifier and the target service characteristic information to the list generation service, which is configured to search the database according to the target user identifier and the target service characteristic information as a first index value, to obtain a second index list corresponding to the first index value;

[0191] obtain the second index list returned by the list generation service;

[0192] The second index module is specifically configured to:

[0193] send the target user identifier, the target service characteristic information, and the second index value to the list generation service, which is configured to search the database according to the target user identifier, the target service characteristic information, and the second index value, to obtain a corresponding initial ordered list;

[0194] obtain the initial ordered list returned by the list generation service.

[0195] In an embodiment, the list processing system further includes a sorting configuration service, and the sorting configuration judgment module 420 is specifically configured to:

[0196] send the index information to the sorting configuration service, which is configured to search the pre-generated configuration database according to the index information, and generate a search result;

[0197] receive the search result returned by the sorting configuration service, and determine that the initial ordered list has sorting configuration if the search result is a search success result, or determine that the initial ordered list does not have sorting configuration if the search result is a search failure result.

[0198] In an embodiment, the search success result includes sorting configuration information of a list element in the initial ordered list that has sorting configuration; and the sorting configuration information includes a specified sorting position.

[0199] The ordered list adjustment module 430 is specifically configured to:

[0200] judge the sorting configuration information one by one according to the order of the list elements in the initial ordered list, and move a list element to which the sorting configuration information belongs to a sequence position corresponding to a specified sorting position of the sorting configuration information according to the sorting configuration information corresponding to the current sorting configuration information.

[0201] In an embodiment, the ordering configuration information further comprises a valid time interval; the ordered list adjustment module 430 is further configured to:

[0202] determine whether the current real-time time is within the valid time interval corresponding to the ordering configuration information;

[0203] if yes, determine that the current ordering configuration information is valid, and perform the step of moving the list element to which the ordering configuration information belongs to the sequence position corresponding to the specified ordering position corresponding to the ordering configuration information;

[0204] if no, determine that the current ordering configuration information is invalid, and ignore the ordering configuration information.

[0205] In an embodiment, the ordered list delivery module 440 is specifically configured to:

[0206] determine whether there is a list element with the ordering configuration information in the first several list elements in the adjusted ordered list;

[0207] if yes, add a set tag to the list element with the ordering configuration information;

[0208] send the adjusted ordered list carrying the set tag to the service process, and the service process is configured to, when displaying the final ordered list, if it is determined that there is the set tag in the first several list elements in the final ordered list, display the set tag at the set position of the corresponding list element.

[0209] The list processing device provided in the embodiments of the present application can perform the list processing method provided in Embodiment Two of the present application, and has the corresponding function modules and beneficial effects of the execution method.

[0210] Embodiment Five

[0211] Figure 12 FIG. 1 is a structural schematic diagram of a list processing device provided in Embodiment Five of the present application, which is applied in a list processing system including a list generation service, and the list processing device is located in the list generation service and can include the following modules:

[0212] a to-be-ordered list element determination module 510 configured to determine a set of to-be-ordered list elements corresponding to each user identifier in the list processing system;

[0213] a secondary index list determination module 520 configured to determine, from the set of to-be-ordered list elements, one or more secondary index lists corresponding to one or more preset service feature information respectively, and each secondary index list includes one or more index values;

[0214] The initial ordered list generation module 530 is configured to filter out list elements corresponding to the index values from the list element set to be sorted, and sort the filtered list elements to generate an initial ordered list.

[0215] The association storage module 540 is configured to store the secondary index list of each user identifier under each service feature information and the initial ordered list corresponding to the index value of each secondary index list in association.

[0216] In an embodiment, the list processing system further comprises a weight processing service configured to obtain service data of each list element under different service feature information, and determine the sorting weight of each list element under different service feature information according to the service data.

[0217] The initial ordered list generation module 530 is specifically configured to:

[0218] According to the service feature information to which each filtered list element belongs, obtain the sorting weight of each filtered list element from the weight processing service;

[0219] Sort the filtered list elements according to the sorting weight to generate an initial ordered list.

[0220] In an embodiment, the list element to be sorted carries element attribute information, and the secondary index list determination module 520 is specifically configured to:

[0221] For each service feature information, obtain the attribute value related to the service feature information from the element attribute information of each list element to be sorted as the index value related to the service feature information.

[0222] After deduplication, organize the index values into the secondary index list of the service feature information.

[0223] In an embodiment, the initial ordered list generation module is specifically configured to:

[0224] Obtain the attribute value related to the current service feature information from the element attribute information of each list element to be sorted, compare it with the index value, and obtain the list element matching the index value as the filtered list element.

[0225] In an embodiment, the list element to be sorted determination module 510 is specifically configured to:

[0226] Obtain user attribute information of each user identifier;

[0227] Filter out list elements matching the user attribute information from the full list elements provided by the list processing system to form a list element set to be sorted.

[0228] In an embodiment, the association storage module 540 is specifically configured to:

[0229] store the user identifier and the secondary index list under each service feature information by using a core hash table, in which the user identifier and the service feature information are used as keys, and the secondary index list under the service feature information is used as a value;

[0230] store each index value in the secondary index list and its corresponding initial ordered list by using an auxiliary hash table, in which the index value is used as a key, and the initial ordered list is used as a value.

[0231] In an embodiment, the list processing system further comprises a sorting configuration service, and the apparatus further comprises:

[0232] a data sending module configured to send the initial ordered list corresponding to each index value in the secondary index list under each service feature information of each user identifier to the sorting configuration service, the sorting configuration service is configured to display the initial ordered list in a sorting configuration page, detect sorting configuration information set by a user on a list element in the initial ordered list, and store the sorting configuration information in association with the corresponding list element.

[0233] The list processing apparatus provided in the embodiments of the present application can execute the list processing method provided in Embodiment One of the present application, and has the corresponding function modules and beneficial effects of the execution method.

[0234] Embodiment Six

[0235] Figure 13 A structural schematic diagram of a list processing device 10 that can be used to implement the method embodiments of the present application is shown. As shown in the figure, Figure 13 The list processing device 10 includes at least one processor 11, and a storage device such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc. in communication connection with the at least one processor 11, wherein the storage device stores one or more computer programs that can be executed by the at least one processor. The processor 11 can execute various appropriate actions and processes according to the computer programs stored in the read-only memory (ROM) 12 or loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the list processing device 10 can also be stored.

[0236] In some embodiments, a list processing method can be implemented as a computer program tangibly embodied in a computer readable storage medium, such as storage unit 18. In some embodiments, parts or all of the computer program can be loaded and / or installed onto the list processing device 10 via, for example, ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of a list processing method as described above can be performed.

[0237] In some embodiments, a list processing method can be implemented as a computer program product comprising computer executable instructions operable to perform one or more steps of a list processing method as described above when executed by a computer.

Claims

1. A list processing method characterized by, Applied to a list processing system, the list processing system comprising a service process and a list lookup service, the method is executed by the list lookup service, the method comprising: In response to index information sent by the service process, querying in a pre-generated database to obtain an initial ordered list corresponding to the index information, the index information comprising a target user identifier and target service characteristic information; Determining whether the initial ordered list has a sorting configuration, the sorting configuration being configuration information that can affect list sorting and is customized by an operator according to operational requirements; If the initial ordered list has a sorting configuration, adjusting the initial ordered list according to the sorting configuration; Sending the adjusted ordered list to the service process, the service process being configured to determine a final ordered list according to the adjusted ordered list and display the final ordered list to a target user corresponding to the target user identifier; The list processing system further comprises a sorting configuration service, and the determining whether the initial ordered list has a sorting configuration comprises: Sending the index information to the sorting configuration service, the sorting configuration service being configured to search the index information in a pre-generated configuration database and generate a search result; Receiving the search result returned by the sorting configuration service, if the search result is a search success result, determining that the initial ordered list has a sorting configuration, and if the search result is a search failure result, determining that the initial ordered list does not have a sorting configuration.

2. The method of claim 1, wherein, The index information further comprises a secondary index value; and the querying in the pre-generated database to obtain the initial ordered list corresponding to the index information in response to the index information sent by the service process comprises: Receiving the target user identifier sent by the service process and target service characteristic information input by a target user corresponding to the target user identifier; Searching the database with the target user identifier and the target service characteristic information as a primary index value to obtain a secondary index list corresponding to the primary index value; Returning the secondary index list to the service process, the service process being configured to display the secondary index list to the target user and detect a secondary index value selected by the target user from the secondary index list; Receiving the secondary index value sent by the service process and searching the database with the primary index value and the secondary index value to obtain a corresponding initial ordered list.

3. The method of claim 2, wherein, The list processing system further comprises a list generation service, and the database is a database corresponding to the list generation service; The searching the database with the target user identifier and the target service characteristic information as a primary index value to obtain a secondary index list corresponding to the primary index value comprises: sending the target user identifier and the target service characteristic information to the list generation service, the list generation service being configured to search the database as a first index value to obtain a second index list corresponding to the first index value; obtaining the second index list returned by the list generation service; the searching the database according to the first index value and the second index value to obtain a corresponding initial ordered list, comprising: sending the target user identifier, the target service characteristic information and the second index value to the list generation service, the list generation service being configured to search the database according to the target user identifier, the target service characteristic information and the second index value to obtain a corresponding initial ordered list; obtaining the initial ordered list returned by the list generation service.

4. The method according to any one of claims 1 to 3, characterized in that, the finding success result includes sorting configuration information of a list element in the initial ordered list having a sorting configuration; the sorting configuration information includes a specified sorting position; the adjusting the initial ordered list according to the sorting configuration, comprising: judging the sorting configuration information one by one according to the order of each list element in the initial ordered list, and moving the list element to which the sorting configuration information belongs to the sequence position corresponding to the specified sorting position of the sorting configuration information according to the specified sorting position of the current sorting configuration information.

5. The method of claim 4, wherein, the sorting configuration information further includes a valid time interval; the adjusting the initial ordered list according to the sorting configuration further comprises: judging whether the current real-time time is within the valid time interval corresponding to the sorting configuration information; if yes, determining that the current sorting configuration information is valid, and executing the step of moving the list element to which the sorting configuration information belongs to the sequence position corresponding to the specified sorting position of the sorting configuration information; if no, determining that the current sorting configuration information is invalid, and ignoring the sorting configuration information.

6. The method of claim 4, wherein, the sending the adjusted ordered list to the service process, comprising: judging whether there is a list element having the sorting configuration information in a plurality of list elements sorted in front in the adjusted ordered list; if yes, adding a setting label to the list element having the sorting configuration information; sending the adjusted ordered list carrying the setting label to the service process, the service process being configured to, when displaying the final ordered list, if it is determined that there is the setting label in a plurality of list elements sorted in front in the final ordered list, displaying the setting label at a specified position of the corresponding list element.

7. A list processing method characterized by, application in a list processing system, the list processing system comprising a list generation service, the method being executed by the list generation service, and the method comprising: determining a set of list elements to be sorted corresponding to each user identifier in the list processing system; determine, from the set of list elements to be sorted, a secondary index list corresponding to each of one or more preset service characteristic information, each of the secondary index lists including one or more index values; screen, from the set of list elements to be sorted, a list element corresponding to each of the index values, and sort the screened list elements to generate an initial ordered list; store, in association, the secondary index list of each of the user identifiers under each of the service characteristic information, and the initial ordered list corresponding to each of the index values of each of the secondary index lists.

8. The method of claim 7, wherein, The list processing system further includes a weight processing service configured to obtain service data of each list element under different service characteristic information, and determine a sorting weight of each list element under different service characteristic information according to the service data; The sorting of the screened list elements to generate an initial ordered list includes: obtaining, from the weight processing service, a sorting weight of each of the screened list elements at least according to the service characteristic information to which each of the screened list elements belongs; sorting the screened list elements according to the sorting weight to generate an initial ordered list.

9. The method according to any of claims 7 or 8, characterized in that, The list elements to be sorted carry element attribute information, and the determination of the secondary index list corresponding to each of one or more preset service characteristic information from the set of list elements to be sorted includes: for each service characteristic information, obtaining an attribute value related to the service characteristic information from the element attribute information of each list element to be sorted as an index value related to the service characteristic information; organizing the index values into a secondary index list of the service characteristic information after deduplication.

10. The method of claim 9, wherein, The screening of a list element corresponding to each of the index values from the set of list elements to be sorted includes: obtaining an attribute value related to a current service characteristic information from the element attribute information of each list element to be sorted, comparing the attribute value with the index value, obtaining a list element matching the index value as a screened list element.

11. The method of claim 9, wherein, The determination of the set of list elements to be sorted corresponding to each user identifier in the list processing system includes: obtaining user attribute information of each user identifier; screening, from the full list elements provided by the list processing system, a list element matching the user attribute information to form a set of list elements to be sorted.

12. The method of claim 7, wherein, The association storage of the secondary index list of each of the user identifiers under each of the service characteristic information, and the initial ordered list corresponding to each of the index values of each of the secondary index lists includes: storing the secondary index list of each of the user identifiers and each of the service characteristic information in a core hash table, in which the user identifier and the service characteristic information are used as keys, and the secondary index list under the service characteristic information is used as a value; storing each of the index values in the secondary index list and the initial ordered list corresponding thereto in an auxiliary hash table, in which the index value is used as a key, and the initial ordered list is used as a value.

13. The method according to claim 7 or 8 or 12, characterized in that, The list processing system further includes a sorting configuration service, and the method further includes: The initial ordered list corresponding to each index value of each secondary index list of each user identifier under each service feature information is sent to the sorting configuration service, and the sorting configuration service is configured to display the initial ordered list in a sorting configuration page, detect sorting configuration information set by a user on a list element in the initial ordered list, and store the sorting configuration information in association with the corresponding list element.

14. A list processing system characterized by comprising: The list processing system comprises a list generation service, a list search service, and a service process, wherein, The list generation service is configured to: determine a set of list elements to be sorted corresponding to each user identifier in the list processing system; determine, from the set of list elements to be sorted, a secondary index list corresponding to each of one or more preset service feature information, each secondary index list comprising one or more index values; select, from the set of list elements to be sorted, a list element corresponding to each index value, and sort the selected list elements to generate an initial ordered list; store the secondary index list of each user identifier under each service feature information and the initial ordered list corresponding to each index value of each secondary index list in association; The list search service is configured to: in response to index information sent by the service process, obtain an initial ordered list corresponding to the index information from the list generation service, the index information comprising a target user identifier and a target service feature information; determine whether the initial ordered list has a sorting configuration, the sorting configuration being configuration information that can affect list sorting and is customized by an operator according to operational requirements; if the initial ordered list has a sorting configuration, adjust the initial ordered list according to the sorting configuration; send the adjusted ordered list to the service process; The service process is configured to: send index information to the list search service, receive an ordered list returned by the list search service based on the index information, determine a final ordered list based on the ordered list, and display the final ordered list to a target user corresponding to the target user identifier. The list processing system further comprises a sorting configuration service, and the determination of whether the initial ordered list has a sorting configuration comprises: sending the index information to the sorting configuration service, the sorting configuration service being configured to search the index information in a pre-generated configuration database and generate a search result; receiving the search result returned by the sorting configuration service, and determining that the initial ordered list has a sorting configuration if the search result is a search success result, and determining that the initial ordered list does not have a sorting configuration if the search result is a search failure result.

15. A list processing apparatus characterized by comprising: The list processing device is applied to a list processing system, the list processing system comprising a service process and a list search service, and the list processing device is located in the list search service and comprises: An initial ordered list obtaining module is configured to query a pre-generated database in response to index information sent by a service process to obtain an initial ordered list corresponding to the index information, the index information including a target user identifier and target service characteristic information; An ordering configuration judging module is configured to judge whether the initial ordered list has an ordering configuration, the ordering configuration being a configuration information that can affect list ordering and is customized by an operation personnel according to operation demand; An ordered list adjusting module is configured to adjust the initial ordered list according to the ordering configuration if the initial ordered list has the ordering configuration; An ordered list issuing module is configured to send the adjusted ordered list to the service process, the service process being configured to determine a final ordered list according to the adjusted ordered list and display the final ordered list to a target user corresponding to the target user identifier; The list processing system further includes an ordering configuration service, and the ordering configuration judging module is further configured to: send the index information to the ordering configuration service, the ordering configuration service being configured to find the index information in a pre-generated configuration database and generate a finding result; receive the finding result returned by the ordering configuration service, and determine that the initial ordered list has the ordering configuration if the finding result is a finding success result, and determine that the initial ordered list does not have the ordering configuration if the finding result is a finding failure result.

16. A list processing apparatus characterized by comprising: The list processing device is applied to a list processing system, the list processing system including a list generating service, and the list processing device is located in the list generating service and includes: A to-be-ordered list element determining module is configured to determine a to-be-ordered list element set corresponding to each user identifier in the list processing system; A secondary index list determining module is configured to determine, from the to-be-ordered list element set, a secondary index list corresponding to each of one or more preset service characteristic information, each secondary index list including one or more index values; An initial ordered list generating module is configured to filter out list elements corresponding to each index value from the to-be-ordered list element set, and sort the filtered list elements to generate an initial ordered list; An association storage module is configured to store the secondary index list of each service characteristic information of each user identifier and the initial ordered list corresponding to each index value of each secondary index list in association.

17. A list processing device, characterized by The list processing device includes: one or more processors; a storage device configured to store one or more programs, when the one or more programs are executed by the one or more processors, the one or more processors implement the method of any one of claims 1-13.

18. A computer readable storage medium having stored thereon a computer program, characterized in that, The program is executed by the processor to implement the method of any one of claims 1-13.

19. A computer program product, the computer program product comprising computer executable instructions that, when executed, implement the method of any one of claims 1-13.

Citation Information

Patent Citations

  • Product display method and device, computer equipment and storage medium

    CN110223133A

  • Flow regulation and control method and system, intelligent terminal and storage medium

    CN114255097A