List processing method, device, electronic device and readable storage medium

By calculating the number of occurrences and rankings of attributes of push results in the push list, the first sorting parameters are generated, and the push results are sorted, which solves the problem of crowded push results in the existing technology and improves the user experience.

CN114896290BActive Publication Date: 2025-03-14BEIJING CHENGSHI WANGLIN INFORMATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210454996.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-24
Publication Date
2025-03-14
Estimated Expiration
2042-04-24

AI Technical Summary

Technical Problem

When generating push lists in the prior art, it is easy to cause multiple push results of similar attributes to appear in a crowd, resulting in poor user experience.

Method used

By obtaining the number of occurrences and rankings of attributes for each push result in the push list, a first sorting parameter is calculated, and the push result is sorted according to this parameter to break down the occurrence of similar attributes.

Benefits of technology

It has achieved the dispersion of the attributes that appear in clusters, respecting the original sorting results, and improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114896290B_ABST
    Figure CN114896290B_ABST
Patent Text Reader

Abstract

The embodiment of the present application provides a list processing method, device, electronic device and readable storage medium, the method comprising: obtaining a first push list, the first push list comprising n push results arranged in a first order; when i takes each integer from 1 to n, obtaining the number of occurrences of each attribute of the i-th push result in the i-th set; determining the first sorting parameter of the i-th push result according to the number of occurrences of each attribute of the i-th push result in the i-th set and the ranking of the i-th push result in the first push list; sorting the n push results according to the first sorting parameter of each push result to obtain a second push list. Therefore, in the embodiment of the present application, the problem of multiple push results with similar attributes being clustered is avoided, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a list processing method, device, electronic device and readable storage medium. Background Art

[0002] At present, when the application server generates a push list, it usually pushes it based on correlation conditions such as user portraits. Among them, the push results in the push list can reflect the information that the user is interested in, but this method is too direct and accurate in capturing the user's preference information, which easily leads to the server pushing a large number of push results with similar attributes to the user.

[0003] Therefore, the way that the server directly generates a push list based on correlation conditions such as user portraits is likely to cause multiple push results with similar attributes to appear in a cluster, resulting in a poor user experience. Summary of the invention

[0004] The embodiments of the present application provide a list processing method, device, electronic device and readable storage medium to solve the problem that the existing list processing method easily leads to the clustering of multiple push results with similar attributes.

[0005] In a first aspect, an embodiment of the present application provides a list processing method, the method comprising:

[0006] Obtaining a first push list, wherein the first push list includes n push results arranged in a first order, where n is an integer greater than 1;

[0007] When i is an integer from 1 to n, obtain the number of occurrences of each attribute of the i-th push result in the first push list in the i-th set, wherein the i-th set includes the attributes of the first to i-th push results in the first push list;

[0008] Determine a first sorting parameter of the i-th push result according to the number of occurrences of each attribute of the i-th push result in the i-th set and the ranking of the i-th push result in the first push list;

[0009] The n push results are sorted according to the first sorting parameter of each push result to obtain a second push list.

[0010] In a second aspect, an embodiment of the present application provides a list processing device, the device comprising:

[0011] A push list acquisition module, used to acquire a first push list, wherein the first push list includes n push results arranged in a first order, where n is an integer greater than 1;

[0012] a frequency counting module, used for obtaining the number of occurrences of each attribute of the i-th push result in the first push list in the i-th set when i is an integer from 1 to n, wherein the i-th set includes the attributes of the first to i-th push results in the first push list;

[0013] A first sorting parameter calculation module, configured to determine a first sorting parameter of the i-th push result according to the number of occurrences of each attribute of the i-th push result in the i-th set and the ranking of the i-th push result in the first push list;

[0014] The first sorting module is used to sort the n push results according to the first sorting parameter of each push result to obtain a second push list.

[0015] In a third aspect, an embodiment of the present application provides an electronic device, comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program implements the steps of the above-mentioned list processing method when executed by the processor.

[0016] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above-mentioned list processing method are implemented.

[0017] In an embodiment of the present application, a first push list can be obtained, wherein the first push list includes n push results arranged in a first order, and n is an integer greater than 1; then when i takes each integer from 1 to n, the number of occurrences of each attribute of the ith push result in the first push list in the ith set is obtained, wherein the ith set includes the attributes of the 1st to ith push results in the first push list; then, according to the number of occurrences of each attribute of the ith push result in the ith set and the ranking of the ith push result in the first push list, the first sorting parameter of the ith push result is determined; thereby, according to the first sorting parameter of each of the push results, the n push results are sorted to obtain a second push list.

[0018] Among them, the greater the cumulative number of occurrences of a certain attribute included in a push result, and the later the ranking of the push result in the first push list, the greater the first sorting parameter of the push result. Therefore, in an embodiment of the present application, the first sorting parameter of each push result is calculated based on the ranking of the push result in the first push list and the cumulative number of occurrences of various attributes of the push result, so that the push results are re-sorted according to the first sorting parameter, which can cleverly break up the attributes that appear in a cluster, and respect the results of the original sorting. In this way, when the second push list obtained after the re-sorting is displayed, the user can see the scattered push results, thereby improving the user experience.

[0019] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments of the present application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

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

[0022] Figure 2 It is a schematic diagram of a specific implementation of a list processing method provided in an embodiment of the present application;

[0023] Figure 3 This is a schematic diagram of a first push list provided in an embodiment of the present application;

[0024] Figure 4 is a schematic diagram of the attributes included in each push result and the corresponding first sorting parameters provided in an embodiment of the present application;

[0025] Figure 5 is a schematic diagram of reordering the push results according to the first sorting parameter provided in an embodiment of the present application;

[0026] Figure 6 It is a structural block diagram of a list processing device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0027] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0028] The list processing method of the embodiment of the present application can be run on a terminal device or a server. The terminal device can be a local terminal device. When the method is run on a server, it can be displayed in the cloud.

[0029] In an optional implementation, cloud display refers to an information display method based on cloud computing. In the operation mode of cloud display, the operation subject of the information processing program and the information screen presentation subject are separated, the storage and operation of the display switching method are completed on the cloud display server, and the cloud display client is used to receive and send data and present information screens. For example, the cloud display client can be a display device with data transmission function close to the user side, such as a mobile terminal, a television, a computer, a handheld computer, etc.; but the terminal device for information data processing is a cloud display server in the cloud. When browsing, the user operates the cloud display client to send an operation instruction to the cloud display server. The cloud display server displays information according to the operation instruction, encodes and compresses the data, and returns it to the cloud display client through the network. Finally, the cloud display client decodes and outputs the display content.

[0030] In another optional embodiment, the terminal device may be a local terminal device. The local terminal device stores an application and is used to present an application interface. The local terminal device is used to interact with the user through a graphical user interface, that is, the application is downloaded and installed and run by the conventional electronic device. The local terminal device may provide the graphical user interface to the user in a variety of ways, for example, it may be rendered and displayed on the display screen of the terminal, or provided to the user through a holographic projection. For example, the local terminal device may include a display screen and a processor, the display screen is used to present a graphical user interface, the graphical user interface includes an application screen, and the processor is used to run the application, generate a graphical user interface, and control the display of the graphical user interface on the display screen.

[0031] The embodiment of the present application provides a list processing method, device, electronic device and readable storage medium. In the embodiment of the present application, a first push list can be obtained, wherein the first push list includes n push results arranged in a first order, and n is an integer greater than 1; then when i takes each integer from 1 to n, the number of occurrences of each attribute of the i-th push result in the first push list in the i-th set is obtained, wherein the i-th set includes the attributes of the 1st to i-th push results in the first push list; then according to the number of occurrences of each attribute of the i-th push result in the i-th set and the ranking of the i-th push result in the first push list, the first sorting parameter of the i-th push result is determined; thereby, the n push results are sorted according to the first sorting parameter of each push result to obtain a second push list.

[0032] Among them, the greater the cumulative number of occurrences of a certain attribute included in a push result, and the later the ranking of the push result in the first push list, the greater the first sorting parameter of the push result. Therefore, in an embodiment of the present application, the first sorting parameter of each push result is calculated based on the ranking of the push result in the first push list and the cumulative number of occurrences of various attributes of the push result, so that the push results are re-sorted according to the first sorting parameter, which can cleverly break up the attributes that appear in a cluster, and respect the results of the original sorting. In this way, when the second push list obtained after the re-sorting is displayed, the user can see the scattered push results, thereby improving the user experience.

[0033] In order to facilitate understanding of the list processing method provided in the embodiment of the present application, the following concepts are first explained:

[0034] Attribute: refers to the nature and relationship of things. For example, the building to which the property information belongs, the price and area, etc. are all attributes of the property information.

[0035] Multidimensional: refers to multiple different attributes.

[0036] Scattering: It means first obtaining a list of push results arranged according to user preferences, and then scattering similar attributes in this list to obtain a new list, in which each push result has one or more attributes that need to be distinguished.

[0037] Dynamic configuration: Modify the server configuration dynamically without restarting the server, so that the configuration information in the server takes effect as soon as it is changed.

[0038] Clustering: refers to the continuous display of multiple push results with similar attributes in a list. For example, multiple consecutive listings of the first real estate in a property information list are displayed in order.

[0039] User portrait: refers to an effective tool used to outline target users and connect user demands with design directions. For example, a user clicks on a product or searches for a product. After the system records the user portrait, it is used to capture the user's behavioral preferences.

[0040] Page filtering information: refers to the key search information selected by the user or the key search information preset by the system. For example, if the user selects city F, the list will display the housing information of city F; or if the user is in city G and has not selected other geographical locations, the list will display the housing information of city G.

[0041] The following is a detailed description of the list processing method provided in the embodiment of the present application. The list processing method can be applied to the processing of the house information list, and can also be applied to the processing of the product information list, the advertising information list and any other information list. It is understandable that the application scenario of the list processing method provided in the embodiment of the present application is not limited to this.

[0042] Reference Figure 1 , shows a step flow chart of a list processing method in an embodiment of the present application, and the method may include the following steps 101 to 105.

[0043] Step 101: Obtain a first push list.

[0044] The first push list includes n push results arranged in a first order, where n is an integer greater than 1.

[0045] In the embodiment of the present application, the first push list is a list obtained based on the user portrait and / or page filtering information, and the list includes multiple push results that meet the user's preferences or meet the page filtering information. That is, the first push list can be a list determined based on the user portrait; it can also be a list determined based on the page filtering information (that is, the search key information selected by the user or the pre-set search key information); it can also be a list determined after obtaining the page filtering information and then combined with the user portrait.

[0046] The server may generate the first push list when receiving a list request sent by the terminal device. For example, when the terminal device receives a click operation of a user on a search control displayed on a search page, the server sends the list request; or when the terminal device detects a page refresh operation or a filtering operation on information on the page, the server sends the list request.

[0047] In addition, the push results may be, for example, products on a product page, property information on a property page, and the like.

[0048] Step 102: When i is an integer from 1 to n, obtain the number of occurrences of each attribute of the i-th push result in the first push list in the i-th set, wherein the i-th set includes the attributes of the 1st to i-th push results in the first push list.

[0049] For example, the housing information list includes 3 housing information, among which the attributes of the first housing information are: "first building" and "transfer"; the attributes of the second housing information are: "second building" and "rent"; the attributes of the third housing information are: "first building" and "rent"; when calculating the first sorting parameter of the first housing information, the cumulative number of occurrences of the attribute "first building" in the first housing information is 1, and the cumulative number of occurrences of the attribute "transfer" is 1; when calculating the first sorting parameter of the second housing information, the cumulative number of occurrences of the attribute "second building" in the second housing information is 1, and the cumulative number of occurrences of the attribute "rent" is 1; when calculating the first sorting parameter of the third housing information, the cumulative number of occurrences of the attribute "first building" in the third housing information is 2, and the cumulative number of occurrences of the attribute "rent" is 2.

[0050] Step 103: Determine a first sorting parameter of the i-th push result according to the number of occurrences of each attribute of the i-th push result in the i-th set and the ranking of the i-th push result in the first push list.

[0051] The first order is the ranking order of the push results in the first push list, that is, the original ranking order.

[0052] In addition, in the embodiment of the present application, the greater the cumulative number of occurrences of a certain attribute included in a push result, and the later the ranking of the push result in the first push list, the greater the first sorting parameter of the push result. Therefore, in the embodiment of the present application, the first sorting parameter of each push result is calculated based on the ranking of the push result in the first push list and the cumulative number of occurrences of each attribute of the push result, so that the push results are re-sorted according to the first sorting parameter, which can cleverly break up the attributes that appear in a cluster, and respect the original sorting, that is, the result of the first order, thereby improving the user experience.

[0053] Step 104: Sort the n push results according to the first sorting parameter of each push result to obtain a second push list.

[0054] Among them, the first sorting parameter is used as the basis for sorting the push results in the first push list; specifically, the push results are sorted according to the size of the first sorting parameter of each push result. For example, the push results in the first push list can be sorted in ascending order of the first sorting parameter.

[0055] In addition, the list processing method of the embodiment of the present application can be applied to a server or a terminal device. When applied to a server, the second push list generated in step 104 can be sent by the server to the terminal device for display, and when applied to a terminal device, the second push list generated in step 104 can be directly displayed on the terminal device.

[0056] In the embodiment of the present application, after the push results are sorted according to the first sorting parameter, a second push list is obtained, wherein the push results of multiple attributes contained in the second push list are evenly sorted, without similar attributes being crowded together, and the original ranking order, i.e., the first order, is respected.

[0057] It can be seen from the above steps 101 to 104 that in an embodiment of the present application, a first push list can be obtained, wherein the first push list includes n push results arranged in a first order, and n is an integer greater than 1; then when i takes each integer from 1 to n, the number of occurrences of each attribute of the i-th push result in the first push list in the i-th set is obtained, wherein the i-th set includes the attributes of the 1st to i-th push results in the first push list; then, according to the number of occurrences of each attribute of the i-th push result in the i-th set and the ranking of the i-th push result in the first push list, the first sorting parameter of the i-th push result is determined; thereby, according to the first sorting parameter of each of the push results, the n push results are sorted to obtain a second push list for display, wherein the first push list in the present application is not used for display.

[0058] Among them, the greater the cumulative number of occurrences of a certain attribute included in a push result, and the later the ranking of the push result in the first push list, the greater the first sorting parameter of the push result. Therefore, in an embodiment of the present application, the first sorting parameter of each push result is calculated based on the ranking of the push result in the first push list and the cumulative number of occurrences of various attributes of the push result, so that the push results are re-sorted according to the first sorting parameter, which can cleverly break up the attributes that appear in a cluster, and respect the results of the original sorting. In this way, when the second push list obtained after the re-sorting is displayed, the user can see the scattered push results, thereby improving the user experience.

[0059] Optionally, determining the first sorting parameter of the i-th push result according to the number of occurrences of each attribute of the i-th push result in the i-th set and the ranking of the i-th push result in the first push list includes:

[0060] Determine the first sorting parameter of the i-th push result based on predetermined weight values ​​of different attributes, the number of occurrences of each attribute of the i-th push result in the i-th set, the ranking of the i-th push result in the first push list, and the predetermined weight value of the first order.

[0061] It can be seen that in the embodiment of the present application, the first push list obtained includes multiple push results, and each push result has at least one attribute; when calculating the first sorting parameter, the cumulative number of occurrences of each attribute of the push result in the first push list can be directly obtained; and then according to the weight value of each attribute, the ranking of each push result in the first push list, and the weight value of the first order, the first sorting parameter of each push result can be determined.

[0062] For example, in one example, on the property information page, there are 3 property information, i.e. 3 push results. The attributes of the first property information include: first property, transfer; the second property information includes: second property, for rent; the third property information includes: first property, for rent.

[0063] The data used to calculate the first ranking parameter of each property information is as follows:

[0064] For the first piece of housing information, the data required include: the weight value of the attribute "first property", the weight value of the attribute "transfer", the cumulative number of occurrences of "first property" is 1, the cumulative number of occurrences of "transfer" is 1, the ranking of the first piece of housing information in the first sorting (i.e. 1) and the weight value of the first sorting.

[0065] For the second piece of housing information, the data that needs to be used include: the weight value of the attribute "second property", the weight value of the attribute "for rent", the cumulative number of occurrences of "second property" is 1, the cumulative number of occurrences of "for rent" is 1, the ranking of the second piece of housing information in the first sorting (i.e. 2) and the weight value of the first sorting.

[0066] For the third piece of housing information, the data that needs to be used include: the weight value of the attribute "first property", the weight value of the attribute "for rent", the cumulative number of occurrences of "first property" is 2 times, the cumulative number of occurrences of "for rent" is 2 times, the ranking of the third piece of housing information in the first sorting (i.e. 3) and the weight value of the first sorting.

[0067] The size of the weight value indicates the priority or preference of the dispersion, that is, the larger the weight value, the more priority the push results with the attribute to which the weight value belongs will be dispersed. Optionally, the absolute value of the difference between the predetermined weight values ​​of different attributes is less than a preset threshold, that is, the difference between the predetermined weight values ​​of different attributes is small, so that the calculated first sorting parameters of different push results will not differ greatly, thereby achieving a better dispersion effect.

[0068] Optionally, determining the first sorting parameter of the i-th push result according to predetermined weight values ​​of different attributes, the number of occurrences of each attribute of the i-th push result in the i-th set, the ranking of the i-th push result in the first push list, and the predetermined weight value of the first sequence includes:

[0069] According to the first preset formula Calculate the first sorting parameter f of the i-th push result i ;

[0070] in, represents the predetermined weight value of the jth attribute of the i-th push result, represents the number of occurrences of the j-th attribute of the i-th push result in the i-th set, and w0 represents a predetermined weight value of the first order.

[0071] From the above, it can be seen that in the embodiment of the present application, when determining the first sorting parameter of each push result in the first push list, it is necessary to substitute the cumulative number of occurrences of each attribute of the push result in the first push list, the predetermined weight value of each attribute, the ranking of the push result in the first push list, and the predetermined weight value of the first order into the above-mentioned first preset formula.

[0072] For example, in the above example, there are 3 pieces of property information on the property information page, among which the weight value of the attribute "first property" is 3, the weight value of the attribute "second property" is 5, the weight value of the attribute "transfer" is 2, the weight value of the attribute "rent" is 4, and the weight value of the first order is 3; then the first sorting parameter of each piece of property information can be obtained according to the first preset formula as follows:

[0073] The first sorting parameter of the first house information is: 3*1+2*1+3*1=8;

[0074] The first sorting parameter of the second house information is: 5*1+4*1+3*2=15;

[0075] The first sorting parameter of the third piece of property information is: 3*2+4*2+3*3=23.

[0076] Optionally, determining the first sorting parameter of the i-th push result according to predetermined weight values ​​of different attributes, the number of occurrences of each attribute of the i-th push result in the i-th set, the ranking of the i-th push result in the first push list, and the predetermined weight value of the first sequence includes:

[0077] Acquire request information associated with the first push list, wherein the request information includes at least one of geographic location, device information, category of push results, client information corresponding to the first push list, or other request-related information;

[0078] In a predetermined first correspondence, if there is no preset attribute corresponding to the request information associated with the first push list, the first sorting parameter of the i-th push result is determined according to predetermined weight values ​​of different attributes, the number of occurrences of each attribute of the i-th push result in the i-th set, the ranking of the i-th push result in the first push list and the predetermined weight value of the first order, wherein the first correspondence is a correspondence between the request information and the preset attribute.

[0079] In addition, the geographic location is the geographic location of the terminal device to be pushed, or the geographic location selected by the user; the device information is the parameters of the terminal device to be pushed, such as a computer, a mobile phone, or the model or device identification of the computer or mobile phone, etc.; the category of the push result is the type of push result in the first push list, for example, rental category, sale category; the client information corresponding to the first push list can be the client information sending the request, such as the client identification, version number, etc.

[0080] In the embodiment of the present application, the preset attribute represents the attribute preferred by the user. The preset attribute can be determined according to the user portrait or the page filtering information, that is, the attribute preferred by the user can be determined according to the user portrait, or the attribute selected by the user can be determined according to the page filtering information, which indicates that the user prefers the attribute.

[0081] Among them, a first correspondence between request information and preset attributes is pre-stored, indicating that users prefer different attributes under different request information. When the target attribute does not exist in the first correspondence, it means that the user has not filtered a preferred attribute in the first push list, that is, the first push list is not a list of attributes in which the user has filtered a preferred attribute. Therefore, in this case, the first sorting parameter of each push result can be calculated based on the predetermined first order weight value, the ranking of the push result in the first push list, the predetermined weight values ​​of different attributes, and the cumulative number of occurrences of various attributes of the push result, so as to re-sort the push results according to the first sorting parameter, thereby breaking up the attributes that appear in clusters and respecting the results of the original sorting.

[0082] Optionally, the method further includes:

[0083] In the case where the target attribute exists in the first corresponding relationship, the weight value of the target attribute is set to a first preset value, and the weight values ​​of the attributes of the push result other than the target attribute are set to a second preset value, to obtain updated attribute weight values, wherein the target attribute is a preset attribute corresponding to the request information associated with the first push list, the first preset value is greater than the second preset value, and the difference between the first preset value and the second preset value is greater than a preset difference value;

[0084] Determine a second sorting parameter of the i-th push result according to the updated attribute weight value, the number of occurrences of each attribute of the i-th push result in the i-th set, the ranking of the i-th push result in the first push list, and the predetermined weight value of the first sequence;

[0085] The n push results are sorted according to the second sorting parameter of each push result to obtain a third push list.

[0086] In an embodiment of the present application, when there is a target attribute in the first corresponding relationship, it means that the first push list is a list of a certain preferred attribute filtered by the user. Therefore, in this case, the weight value of the attribute preferred by the user (that is, the above-mentioned target attribute) can be set to a first preset value, and the weight values ​​of other attributes can be set to a second preset value, that is, the weight value of the attribute preferred by the user is increased, and the weight values ​​of other attributes are reduced, and the difference between the weight value of the attribute preferred by the user and the weight values ​​of other attributes is made as large as possible to obtain an updated attribute weight value, and then the second sorting parameter of each push result is calculated according to the predetermined first-order weight value, the ranking of the push result in the first push list, the updated weight value and the cumulative number of occurrences of various attributes of the push result, so as to re-sort the push results according to the second sorting parameter, so as to aggregate and display the push results with the preferred attributes filtered by the user, so that the user can view these push results with attributes that meet their own preferences.

[0087] Optionally, determining the first sorting parameter of the i-th push result according to predetermined weight values ​​of different attributes, the number of occurrences of each attribute of the i-th push result in the i-th set, the ranking of the i-th push result in the first push list, and the predetermined weight value of the first sequence includes:

[0088] Acquire request information associated with the first push list, wherein the request information includes at least one of geographic location, device information, category of push results, client information corresponding to the first push list, or other request-related information;

[0089] In a predetermined third corresponding relationship, when the value of the target parameter corresponding to the request information associated with the first push list is a third preset value, a first sorting parameter of the i-th push result is determined according to predetermined weight values ​​of different attributes, the number of occurrences of each attribute of the i-th push result in the i-th set, the ranking of the i-th push result in the first push list, and the predetermined weight value of the first sequence;

[0090] The third corresponding relationship is a corresponding relationship between the request information and the value of the target parameter.

[0091] In an embodiment of the present application, when the above-mentioned request information includes one of the geographic location, device information, category of push results, and client information corresponding to the first push category, the values ​​of the target parameters corresponding to different request information are different. For example, when the request information includes the geographic location, the values ​​of the target parameters corresponding to different geographic locations are different.

[0092] When the above request information includes at least two of the geographic location, device information, category of push results, and client information corresponding to the first push category, each type of different information can correspond to different target parameter values. For example, when the request information includes geographic location and device information, different geographic locations correspond to different target parameter values, and different device information corresponds to different target parameter values. In this case, the priority of each item of information included in the request information can be pre-set, so that the subsequent process can be executed according to the value of the target parameter corresponding to the information with the highest priority. For example, when the request information includes geographic location and device information, the priority of the geographic location is set higher than the priority of the device information. When both the geographic location and device information associated with the first push list can be obtained, the subsequent process can be executed according to the value of the target parameter corresponding to the geographic location.

[0093] In addition, the value of the target parameter is the third preset value, which means that the push results are scattered normally, that is, the first sorting parameter is calculated based on the cumulative number of occurrences of each attribute of the push results in the first push list, the weight value of each attribute, the ranking of each push result in the first push list, and the weight value of the first order, so as to achieve the effect of scattering the push results according to the first sorting parameter.

[0094] It should be noted that the value of the target parameter corresponding to the request information can be set manually. For example, according to the actual list push requirements, the target parameters corresponding to different request information can be set to the third preset value or the fourth preset value, wherein the third preset value can be 0 or other values, the fourth preset value can be 1 or other values, and the third preset value and the fourth preset value are different.

[0095] Optionally, the method further includes:

[0096] In the third corresponding relationship, when the value of the target parameter corresponding to the request information associated with the first push list is a fourth preset value, and when there is a target attribute in the predetermined first corresponding relationship, the weight value of the target attribute is set to the first preset value, and the weight value of the attribute other than the target attribute in the attributes of the push result is set to the second preset value, to obtain an updated attribute weight value, wherein the first corresponding relationship is a corresponding relationship between request information and preset attributes, the target attribute is a preset attribute corresponding to the request information associated with the first push list, the first preset value is greater than the second preset value, and the difference between the first preset value and the second preset value is greater than the preset difference;

[0097] Determine a second sorting parameter of the i-th push result according to the updated attribute weight value, the number of occurrences of each attribute of the i-th push result in the i-th set, the ranking of the i-th push result in the first push list, and the predetermined weight value of the first sequence;

[0098] sorting the n push results according to the second sorting parameter of each push result to obtain a third push list;

[0099] In the third corresponding relationship, the value of the target parameter corresponding to the request information associated with the first push list is the fourth preset value, and when the target attribute does not exist in the first corresponding relationship, the first sorting parameter of the i-th push result is determined according to the predetermined weight values ​​of different attributes, the number of occurrences of each attribute of the i-th push result in the i-th set, the ranking of the i-th push result in the first push list, and the predetermined weight value of the first order;

[0100] The n push results are sorted according to the first sorting parameter of each push result to obtain a second push list.

[0101] Among them, the value of the target parameter is the fourth preset value, which means that when the preference attribute is predetermined, the push results with the preference attribute are displayed in a cluster, and when the preference attribute is not predetermined, the push results are normally scattered.

[0102] That is, in this case, check whether the above-mentioned target attribute exists in the above-mentioned first corresponding relationship. If it exists, set the weight value of the target attribute to the first preset value, set the weight values ​​of other attributes to the second preset value, and make the difference between the weight value of the target attribute and the weight values ​​of other attributes as large as possible to obtain the updated attribute weight value, and then calculate the second sorting parameter of each push result according to the predetermined first-order weight value, the ranking of the push result in the first push list, the updated weight value and the cumulative number of occurrences of various attributes of the push result, so as to re-sort the push results according to the second sorting parameter, thereby realizing the aggregate display of push results with preferred attributes.

[0103] When the target attribute does not exist in the above-mentioned first correspondence, the first sorting parameter is calculated based on the cumulative number of occurrences of each attribute of the push results in the first push list, the weight value of each attribute, the ranking of each push result in the first push list, and the weight value of the first order, so as to achieve the effect of arranging the push results in a scattered manner according to the first sorting parameter.

[0104] Optionally, determining the second sorting parameter of the i-th push result according to the updated attribute weight value, the number of occurrences of each attribute of the i-th push result in the i-th set, the ranking of the i-th push result in the first push list, and the predetermined weight value of the first sequence includes:

[0105] According to the second preset formula Calculate the second sorting parameter ' of the i-th pushed result;

[0106] in, represents the updated weight value of the j-th attribute of the i-th push result, represents the number of occurrences of the j-th attribute of the i-th push result in the i-th set, and w0 represents a predetermined weight value of the first order.

[0107] From the above, it can be seen that in the embodiment of the present application, when determining the second sorting parameter of each push result in the first push list, it is necessary to substitute the cumulative number of occurrences of each attribute of the push result in the first push list, the updated weight value of each attribute, the ranking of the push result in the first push list, and the predetermined weight value of the first order into the above-mentioned second preset formula.

[0108] Optionally, the first preset value may be 100, and the second preset value may be 1.

[0109] For example, in the example above, there are three pieces of property information on the property information page. The attributes of the first property information include: "first building", "transfer"; the attributes of the second property information include: "second building", "rental"; the attributes of the third property information include: "first building", "rental". Among them, the weight value of the attribute "first building" is predetermined to be 3, the weight value of the attribute "second building" is predetermined to be 5, the weight value of the attribute "transfer" is predetermined to be 2, the weight value of the attribute "rental" is predetermined to be 4, and the weight value of the first order is predetermined to be 3.

[0110] If the first property is the preset attribute, the updated weight values ​​of different attributes are: the weight value of the attribute "first property" is 100, the weight value of the attribute "second property" is 1, the weight value of the attribute "transfer" is 1, the weight value of the attribute "rent" is 1, and the weight value of the first order is 3; according to the first preset formula, the sorting parameters of each property information are obtained as follows:

[0111] The second sorting parameter of the first house information is: 100*1+1*1+3*1=104;

[0112] The second sorting parameter of the second house information is: 1*1+1*1+3*2=8;

[0113] The second sorting parameter of the third piece of property information is: 100*2+1*2+3*3=211.

[0114] Optionally, sorting the n pushed results according to the second sorting parameter of each pushed result includes:

[0115] The push results are sorted in descending order according to the second sorting parameter.

[0116] Among them, when there is a target attribute in the first corresponding relationship, the weight value of the attribute preferred by the user (i.e., the above-mentioned target attribute) is set to the first preset value, and the weight values ​​of other attributes are set to the second preset value, that is, the weight value of the attribute preferred by the user is increased, and the weight values ​​of other attributes are reduced, and the difference between the weight value of the attribute preferred by the user and the weight values ​​of other attributes is made as large as possible, so as to obtain the updated attribute weight value, so that in the second sorting parameter calculated subsequently, the second sorting parameter of the push results with the user preferred attribute is larger, and the second sorting parameter of the push results without the user preferred attribute is smaller. In this way, the push results are sorted in the order of the second sorting parameter from large to small, and the push results with the user preferred attribute can be displayed at the top, so that the user can view the push results that meet his or her preferences.

[0117] In addition, when calculating the second sorting parameter, it is also based on the cumulative number of occurrences of various attributes of the push results and the ranking of the push results in the first push list. The greater the cumulative number of occurrences of a certain attribute included in a push result and the later the ranking of the push result in the first push list, the larger the second sorting parameter of the push result. Therefore, after sorting the push results according to the second sorting parameter, it is possible to not only put the push results with user preference attributes at the top, but also achieve a certain breaking up effect while respecting the original sorting.

[0118] For example, in the above example, the second sorting parameters of the three house listings are 104, 8, and 211 respectively. After sorting the three house listings in descending order according to the second sorting parameters, the sorting results are:

[0119] 1. Article 3 Housing Information (211);

[0120] 2. The first property information (104);

[0121] 3. Article 2 Property Information (8).

[0122] It can be seen that according to the sorting method of the second sorting parameter, the housing information with the first building project preferred by the user can be displayed at the top.

[0123] In summary, in the embodiment of the present application, when the user does not filter a certain preferred attribute in the first push list, the first sorting parameter is calculated in the above-described manner, and the push results are sorted according to the first sorting parameter; when the user filters a certain preferred attribute in the first push list, the weight value of the attribute is updated, and the second sorting parameter is calculated in the above-described manner, and the push results are sorted according to the second sorting parameter. The sorting rules of the first push list are adjusted dynamically in real time, thereby improving development efficiency.

[0124] For example, when user H browses the push list of house information in city F, he does not filter the specific preference attribute, then the push list sorts the push results according to the first sorting parameter; when user H browses the push list of house information in city F, he filters the preference attribute of "shops", then the house information in the list is sorted according to the second sorting parameter, so that the house information of the "shop" type is displayed at the top.

[0125] In addition, after displaying the second push list, the method may further include:

[0126] Receive an input operation of an attribute keyword;

[0127] In response to the input operation, acquiring the input attribute keyword;

[0128] Determining attributes that match the attribute keyword;

[0129] The weight value of the attribute matching the attribute keyword is set to a first preset value, and the weight value of the attribute other than the attribute matching the attribute keyword in the pushed result is set to a second preset value, to obtain an updated attribute weight value, wherein the first preset value is greater than the second preset value, and the difference between the first preset value and the second preset value is greater than a preset difference value;

[0130] When i takes each integer from 1 to n, determine the third sorting parameter of the i-th push result according to the updated attribute weight value, the number of occurrences of each attribute of the i-th push result in the i-th set, the ranking of the i-th push result in the first push list, and the predetermined weight value of the first sequence;

[0131] sorting the push results according to the third sorting parameter to obtain a fourth push list;

[0132] The fourth push list is displayed.

[0133] It can be seen from this that in an embodiment of the present application, after displaying the second push list in which the push results are sorted according to the first sorting parameter, the push results with the specific attributes screened by the user can be displayed at the top, thereby realizing multiple display methods of the push results.

[0134] Optionally, determining the first sorting parameter of the i-th push result according to predetermined weight values ​​of different attributes, the number of occurrences of each attribute of the i-th push result in the i-th set, the ranking of the i-th push result in the first push list, and the predetermined weight value of the first sequence includes:

[0135] Acquire request information associated with the first push list, wherein the request information includes at least one of geographic location, device information, category of push results, client information corresponding to the first push list, or other request-related information;

[0136] Obtaining, from a predetermined second correspondence relationship, a weight value of an attribute corresponding to the request information associated with the first push list, a weight value of an attribute of the push result as a target weight value, wherein the second correspondence relationship is a correspondence relationship between the request information and the weight values ​​of different attributes;

[0137] Determine the first sorting parameter of the i-th push result based on the target weight value, the number of occurrences of each attribute of the i-th push result in the i-th set, the ranking of the i-th push result in the first push list, and the predetermined weight value of the first order.

[0138] As can be seen from the above, in the embodiment of the present application, a second correspondence between request information and weight values ​​of different attributes is pre-stored. That is, under different request information (such as geographic location, device information, category of push results, etc.), the same attribute can have different weight values. For example:

[0139] If the user frequently browses the listings in city F, the weight of the attribute "shop" in city F is 10, and the weight of the attribute "shop" in city G is 4;

[0140] If users often browse property information on mobile phones, the weight of the attribute "shop" on mobile phones is 8, and the weight of the attribute "shop" on computers is 3;

[0141] If users often browse the listings in the rental category, the weight value of the attribute "shop" under the rental category is 6, and the weight value of the attribute "shop" under the sale category is 2.

[0142] From the above, it can be seen that in the embodiment of the present application, a second correspondence between request information and weight values ​​of different attributes is pre-stored, so that under different request information, the same attribute can have different weight values, thereby enriching the sorting method of the first push list and realizing that different sorting methods can run simultaneously.

[0143] Among them, the second corresponding relationship can be pulled by the server from the configuration center, so that the user can modify the second corresponding relationship in the configuration center, for example, modify the request information in the second corresponding relationship, and / or modify the weight value of the attribute corresponding to the request information in the second corresponding relationship.

[0144] In addition, it should be noted that the server can also pull the third correspondence between the first-order weight values, request information and target parameter values ​​mentioned above from the configuration center. Similarly, the user can also modify the first-order weight values, request information and / or target parameter values ​​in the third correspondence in the configuration center.

[0145] Optionally, the method may also be applied to a terminal device; before calculating the first sorting parameter of each of the push results according to the predetermined weight value of the first order and the weight values ​​of different attributes of the push results, the method may further include:

[0146] In the case where the weight value of the attribute of the push result is not stored in the terminal device, sending a weight value request to the server;

[0147] The weight value of the attribute of the push result pre-stored in the server is received and sent by the server.

[0148] The weight values ​​of the attributes of the push results stored in the server may be pulled from the configuration center.

[0149] In an embodiment of the present application, when the first push list is obtained and the weight value of the attribute of the push result in the first push list is not cached in the terminal device, the terminal device can request the weight value of the corresponding attribute from the server and cache it in the terminal device.

[0150] Optionally, the method may also be applied to a terminal device; the method further includes:

[0151] When the weight value of the attribute stored in the server changes, the changed weight value of the attribute sent by the server is received.

[0152] In an embodiment of the present application, when the weight values ​​of different attributes stored in the server change, the terminal device side is updated synchronously.

[0153] It should be noted that, for the method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present application are not limited by the described order of actions, because according to the embodiments of the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present application.

[0154] In summary, if Figure 2 As shown, the specific implementation of the list processing method of the embodiment of the present application can be described as follows H1 to H5:

[0155] H1: receiving a list request sent by a terminal device, and the server generates a first push list according to the user portrait or page screening information, wherein the first push list includes n push results arranged in a first order.

[0156] H2: Check whether the server stores weight values ​​of different attributes corresponding to the request information associated with the first push list. If not, obtain the weight values ​​from the configuration center.

[0157] H3: After the server obtains the weight values ​​of different attributes corresponding to the request information associated with the first push list, it searches whether the server stores the preset attributes corresponding to the request information associated with the first push list. If so, it executes step H5; if not, it executes step H4;

[0158] H4: Calculate the first sorting parameter of each push result based on the weight value of the attribute obtained in step H2, the predetermined first-order weight value, the ranking of the push result in the first push list, and the cumulative number of occurrences of various attributes of the push result, so as to re-sort the push results according to the first sorting parameter, break up the attributes that appear in clusters, and respect the results of the original sorting.

[0159] H5: Set the weight value of the target attribute to a first preset value, and the weight values ​​of the attributes of the push results other than the target attribute to a second preset value, and obtain updated attribute weight values; calculate the second sorting parameter of each push result according to the updated attribute weight values, the predetermined first-order weight values, the ranking of the push results in the first push list, and the cumulative number of occurrences of various attributes of the push results, so as to re-sort the push results according to the second sorting parameter, and achieve the effect of displaying the user's preferred attributes at the top, wherein the first preset value is greater than the second preset value, and the difference between the first preset value and the second preset value is greater than the preset difference; and the target attribute is the preset attribute corresponding to the request information associated with the first push list.

[0160] The following example illustrates the calculation process of the sorting method of the first sorting parameter and the second sorting parameter, as described below:

[0161] For example, the first push list obtained is as follows Figure 3 As shown, there are a total of 8 push results, starting from 1 to 8. Each square represents a push result, and each push result includes multiple attributes, such as the property information, property price, etc.

[0162] For example, the push results in the first push list include four attributes A, B, C, and D, where the four attributes and the weight values ​​of the first order are as follows:

[0163] A attribute weight value: A = 5;

[0164] B attribute weight value: B = 4;

[0165] C attribute weight value: C = 3;

[0166] D attribute weight value: D = 2;

[0167] First order (E) weight value: E = 1.5;

[0168] like Figure 4 As shown, the first push list includes the 1st to 8th push results arranged in a first order.

[0169] Among them, according to the first preset formula The first sorting parameter f of each push result can be calculated i ;in, Indicates the predetermined weight value of the jth attribute of the i-th push result. represents the number of occurrences of the jth attribute of the i-th push result in the i-th set, and w0 represents a predetermined first-order weight value.

[0170] For the first push result, such as Figure 4 As shown in the figure, there are three attributes A, B and D. Because each attribute appears for the first time in the first push result, the weight value of each attribute is multiplied by 1. The ranking of the first push result is 1, and the first order weight value is 1.5. Therefore, the first sorting parameter is:

[0171] f 1 =1*5+1*4+1*2+1*1.5=12.5;

[0172] For the second push result, such as Figure 4 As shown in the figure, there are two attributes, A and C. Attribute A appears twice, and attribute C appears once. The ranking of the first push result is 2, so the first sorting parameter is:

[0173] f 2 =2*5+1*3+2*1.5=16;

[0174] The first sorting parameters for the 3rd to 8th pushed results are as follows:

[0175] f 3 =3*5+2*2+3*1.5=23.5;

[0176] f 4 =4*5+4*1.5=26;

[0177] f 5 =2*4+2*3+5*1.5=21.5;

[0178] f 6 =3*3+3*2+6*1.5=24;

[0179] f 7 =4*3+7*1.5=22.5;

[0180] f 8 =4*2+8*1.5=20;

[0181] After re-sorting in ascending order according to the value of the first sorting parameter, such as Figure 5 Therefore, Figure 5 The sorting of the push results shown achieves uniform sorting of multiple attributes without clustering of similar attributes, and respects the original sorting results.

[0182] In addition, for example, the preset attribute corresponding to the request information associated with the first push list is pre-stored: attribute A, then the weight value of attribute A is set to 100, and the weight values ​​of other attributes of the push result in the first push list are set to 1, and the updated attribute weight values ​​are obtained according to the second preset formula The second sorting parameter f of the i-th push result can be calculated i′ , so as to re-sort the values ​​of the second sorting parameter from large to small, so as to achieve the top sorting of the A attribute; wherein, Indicates the weight value of the jth attribute of the i-th push result after the update. represents the number of occurrences of the jth attribute of the ith push result in the ith set, w0 represents a predetermined weight value of the first order, and the ith set includes the attributes of the 1st to ith push results in the first order.

[0183] It should be noted here that: if there are push results with attribute A in the first push list, the second sorting score of the push results with attribute A can be as low as 100, which is far higher than the push results without attribute A. Therefore, after sorting the push results from large to small according to the second sorting parameter, it is equivalent to arranging the push results with attribute A at the top.

[0184] In addition, the calculation formulas of the above-mentioned first sorting parameter and the second sorting parameter are basically the same, except that the weight values ​​of the specific attributes are different. Therefore, in the embodiments of the present application, even for top sorting and scattered sorting, the same set of codes can be called, thereby saving development costs and improving development efficiency.

[0185] Reference Figure 6 , shows a structural block diagram of a list processing device in an embodiment of the present application. The list processing device 600 may include the following modules:

[0186] The push list acquisition module 601 is used to acquire a first push list, wherein the first push list includes n push results arranged in a first order, where n is an integer greater than 1;

[0187] A frequency counting module 602, configured to obtain the number of occurrences of each attribute of the i-th push result in the first push list in the i-th set when i is an integer from 1 to n, wherein the i-th set includes the attributes of the first to i-th push results in the first push list;

[0188] A first sorting parameter calculation module 603, configured to determine a first sorting parameter of the i-th push result according to the number of occurrences of each attribute of the i-th push result in the i-th set and the ranking of the i-th push result in the first push list;

[0189] The first sorting module 604 is used to sort the n push results according to the first sorting parameter of each push result to obtain a second push list.

[0190] Optionally, the first sorting parameter calculation module 603 includes:

[0191] The first sorting parameter calculation submodule is used to determine the first sorting parameter of the i-th push result based on predetermined weight values ​​of different attributes, the number of occurrences of each attribute of the i-th push result in the i-th set, the ranking of the i-th push result in the first push list, and the predetermined weight value of the first order.

[0192] Optionally, the first sorting parameter calculation submodule is specifically used to:

[0193] According to the first preset formula Calculate the first sorting parameter f of the i-th push result i ;

[0194] in, represents the predetermined weight value of the jth attribute of the i-th push result, represents the number of occurrences of the j-th attribute of the i-th push result in the i-th set, and w0 represents a predetermined weight value of the first order.

[0195] Optionally, the first sorting parameter calculation submodule includes:

[0196] A first request information acquisition unit, configured to acquire request information associated with the first push list, wherein the request information includes at least one of a geographic location, device information, a category of a push result, client information corresponding to the first push list, or other request-related information;

[0197] A first sorting parameter calculation unit is used to determine the first sorting parameter of the i-th push result according to predetermined weight values ​​of different attributes, the number of occurrences of each attribute of the i-th push result in the i-th set, the ranking of the i-th push result in the first push list, and the predetermined weight value of the first order, when there is no preset attribute corresponding to the request information associated with the first push list in a predetermined first corresponding relationship, wherein the first corresponding relationship is a corresponding relationship between the request information and the preset attribute.

[0198] Optionally, the list processing device 600 further includes:

[0199] A first weight value setting module, configured to, when there is a target attribute in the first corresponding relationship, set the weight value of the target attribute to a first preset value, and the weight values ​​of the attributes of the pushed result other than the target attribute to a second preset value, to obtain updated attribute weight values, wherein the target attribute is a preset attribute corresponding to the request information associated with the first push list, the first preset value is greater than the second preset value, and the difference between the first preset value and the second preset value is greater than a preset difference value;

[0200] a second sorting parameter calculation module, configured to determine a second sorting parameter of the i-th push result according to the updated attribute weight value, the number of occurrences of each attribute of the i-th push result in the i-th set, the ranking of the i-th push result in the first push list, and a predetermined weight value of the first sequence;

[0201] The second sorting module is used to sort the n push results according to the second sorting parameter of each push result to obtain a third push list.

[0202] Optionally, the second sorting module is specifically used to:

[0203] The push results are sorted in descending order according to the second sorting parameter.

[0204] Optionally, the first sorting parameter calculation submodule is specifically used to:

[0205] Acquire request information associated with the first push list, wherein the request information includes at least one of geographic location, device information, category of push results, client information corresponding to the first push list, or other request-related information;

[0206] In a predetermined third corresponding relationship, when the value of the target parameter corresponding to the request information associated with the first push list is a third preset value, a first sorting parameter of the i-th push result is determined according to predetermined weight values ​​of different attributes, the number of occurrences of each attribute of the i-th push result in the i-th set, the ranking of the i-th push result in the first push list, and the predetermined weight value of the first sequence;

[0207] The third corresponding relationship is a corresponding relationship between the request information and the value of the target parameter.

[0208] Optionally, the list processing device 600 further includes:

[0209] A second weight value setting module is used for, in the third corresponding relationship, when the value of the target parameter corresponding to the request information associated with the first push list is a fourth preset value, and when there is a target attribute in the predetermined first corresponding relationship, setting the weight value of the target attribute to the first preset value, and the weight value of the attribute other than the target attribute in the attributes of the push result to the second preset value, to obtain an updated attribute weight value, wherein the first corresponding relationship is a corresponding relationship between request information and preset attributes, the target attribute is a preset attribute corresponding to the request information associated with the first push list, the first preset value is greater than the second preset value, and the difference between the first preset value and the second preset value is greater than the preset difference;

[0210] a third sorting parameter calculation module, configured to determine a second sorting parameter of the i-th push result according to the updated attribute weight value, the number of occurrences of each attribute of the i-th push result in the i-th set, the ranking of the i-th push result in the first push list, and a predetermined weight value of the first sequence;

[0211] A third sorting module, configured to sort the n push results according to the second sorting parameter of each push result to obtain a third push list;

[0212] a fourth sorting parameter calculation module, configured to determine, in the third corresponding relationship, a target parameter corresponding to the request information associated with the first push list being the fourth preset value, and, if the target attribute does not exist in the first corresponding relationship, determine a first sorting parameter of the i-th push result according to predetermined weight values ​​of different attributes, the number of occurrences of each attribute of the i-th push result in the i-th set, the ranking of the i-th push result in the first push list, and a predetermined weight value of the first sequence;

[0213] A fourth sorting module sorts the n push results according to the first sorting parameter of each push result to obtain a second push list.

[0214] Optionally, the first sorting parameter calculation submodule includes:

[0215] a second request information acquisition unit, configured to acquire request information associated with the first push list, wherein the request information includes at least one of a geographic location, device information, a category of a push result, client information corresponding to the first push list, or other request-related information;

[0216] an attribute weight value acquiring unit, configured to acquire, from a predetermined second correspondence relationship, a weight value of an attribute corresponding to the request information associated with the first push list, a weight value of an attribute of the push result as a target weight value, wherein the second correspondence relationship is a correspondence relationship between the request information and the weight values ​​of different attributes;

[0217] A second sorting parameter calculation unit is used to determine the first sorting parameter of the i-th push result based on the target weight value, the number of occurrences of each attribute of the i-th push result in the i-th set, the ranking of the i-th push result in the first push list, and the predetermined weight value of the first order.

[0218] Optionally, the method is applied to a terminal device; the list processing device 600 further includes:

[0219] A request sending module, used for sending a weight value request to a server when the weight value of the attribute of the push result is not stored in the terminal device;

[0220] The first receiving module is used to receive the weight value of the attribute of the push result pre-stored in the server and sent by the server.

[0221] Optionally, the list processing device 600 further includes:

[0222] The second receiving module is used to receive the changed attribute weight value sent by the server when the attribute weight value stored in the server changes.

[0223] It can be seen that in an embodiment of the present application, a first push list can be obtained, wherein the first push list includes n push results arranged in a first order, and n is an integer greater than 1; then when i takes each integer from 1 to n, the number of occurrences of each attribute of the ith push result in the first push list in the ith set is obtained, wherein the ith set includes the attributes of the 1st to ith push results in the first push list; then, according to the number of occurrences of each attribute of the ith push result in the ith set and the ranking of the ith push result in the first push list, the first sorting parameter of the ith push result is determined; thereby, the push results are sorted according to the first sorting parameter of each of the push results to obtain a second push list.

[0224] Among them, the greater the cumulative number of occurrences of a certain attribute included in a push result, and the later the ranking of the push result in the first push list, the greater the first sorting parameter of the push result. Therefore, in an embodiment of the present application, the first sorting parameter of each push result is calculated based on the ranking of the push result in the first push list and the cumulative number of occurrences of various attributes of the push result, so that the push results are re-sorted according to the first sorting parameter, which can cleverly break up the attributes that appear in a cluster, and respect the results of the original sorting. In this way, when the second push list obtained after the re-sorting is displayed, the user can see the scattered push results, thereby improving the user experience.

[0225] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0226] The present application also provides an electronic device, including:

[0227] One or more processors; and one or more machine-readable media having instructions stored thereon, which, when executed by the one or more processors, enable the electronic device to execute the method described in the embodiments of the present application.

[0228] The embodiments of the present application also provide one or more machine-readable media on which instructions are stored, which, when executed by one or more processors, enable the processors to execute the methods described in the embodiments of the present application.

[0229] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0230] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, devices, or computer program products. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0231] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0232] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0233] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0234] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present application.

[0235] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.

[0236] The above is a detailed introduction to a list processing method and device provided by the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for those skilled in the art, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A list processing method, characterized in that: The method comprises: Obtaining a first push list, wherein the first push list includes n push results arranged in a first order, where n is an integer greater than 1; When i is an integer from 1 to n, obtain the number of occurrences of each attribute of the i-th push result in the first push list in the i-th set, wherein the i-th set includes the attributes of the first to i-th push results in the first push list; Determining a first sorting parameter of the i-th push result according to the number of occurrences of each attribute of the i-th push result in the i-th set and the ranking of the i-th push result in the first push list, including: determining the first sorting parameter of the i-th push result according to predetermined weight values ​​of different attributes, the number of occurrences of each attribute of the i-th push result in the i-th set, the ranking of the i-th push result in the first push list and the predetermined weight value of the first sequence, wherein the first push list has associated request information, the request information including at least one of a geographic location, device information, a category of the push result, and client information corresponding to the first push list, presetting a first correspondence between the request information and a preset attribute, setting a third correspondence between the request information and a value of a target parameter, setting a second correspondence between the request information and weight values ​​of different attributes, and determining the weight values ​​of different attributes according to the first correspondence, and / or the third correspondence, or the second correspondence; The n push results are sorted according to the first sorting parameter of each push result to obtain a second push list.

2. The list processing method according to claim 1, characterized in that: The determining the first sorting parameter of the i-th push result according to the predetermined weight values ​​of different attributes, the number of occurrences of each attribute of the i-th push result in the i-th set, the ranking of the i-th push result in the first push list, and the predetermined weight value of the first sequence includes: According to the first preset formula Calculate the first sorting parameter f of the i-th push result i ; in, represents the predetermined weight value of the jth attribute of the i-th push result, represents the number of occurrences of the j-th attribute of the i-th push result in the i-th set, and w0 represents a predetermined weight value of the first order.

3. The list processing method according to claim 1, characterized in that: The determining the first sorting parameter of the i-th push result according to the predetermined weight values ​​of different attributes, the number of occurrences of each attribute of the i-th push result in the i-th set, the ranking of the i-th push result in the first push list, and the predetermined weight value of the first sequence includes: Acquire request information associated with the first push list; In a predetermined first correspondence, when there is no preset attribute corresponding to the request information associated with the first push list, the first sorting parameter of the i-th push result is determined based on predetermined weight values ​​of different attributes, the number of occurrences of each attribute of the i-th push result in the i-th set, the ranking of the i-th push result in the first push list, and the predetermined weight value of the first order.

4. The list processing method according to claim 3, characterized in that: The method further comprises: In the case where a target attribute exists in the first corresponding relationship, a weight value of the target attribute is set to a first preset value, and weight values ​​of attributes other than the target attribute in the attributes of the push result are set to a second preset value, to obtain updated attribute weight values, wherein the target attribute is a preset attribute corresponding to the request information associated with the first push list, the first preset value is greater than the second preset value, and a difference between the first preset value and the second preset value is greater than a preset difference value; Determine a second sorting parameter of the i-th push result according to the updated attribute weight value, the number of occurrences of each attribute of the i-th push result in the i-th set, the ranking of the i-th push result in the first push list, and the predetermined weight value of the first sequence; The n push results are sorted according to the second sorting parameter of each push result to obtain a third push list.

5. The list processing method according to claim 4, characterized in that: The step of sorting the n push results according to the second sorting parameter of each push result to obtain a third push list includes: The push results are sorted in descending order according to the second sorting parameter.

6. The list processing method according to claim 1, characterized in that: The determining the first sorting parameter of the i-th push result according to the predetermined weight values ​​of different attributes, the number of occurrences of each attribute of the i-th push result in the i-th set, the ranking of the i-th push result in the first push list, and the predetermined weight value of the first sequence includes: Acquire request information associated with the first push list; In a predetermined third correspondence, when the value of the target parameter corresponding to the request information associated with the first push list is a third preset value, the first sorting parameter of the i-th push result is determined according to the predetermined weight values ​​of different attributes, the number of occurrences of each attribute of the i-th push result in the i-th set, the ranking of the i-th push result in the first push list and the predetermined weight value of the first order.

7. The list processing method according to claim 6, characterized in that: The method further comprises: In the third corresponding relationship, when the value of the target parameter corresponding to the request information associated with the first push list is a fourth preset value, and when there is a target attribute in the predetermined first corresponding relationship, the weight value of the target attribute is set to the first preset value, and the weight value of the attribute other than the target attribute in the attributes of the push result is set to the second preset value, to obtain an updated attribute weight value, wherein the first corresponding relationship is a corresponding relationship between request information and preset attributes, the target attribute is a preset attribute corresponding to the request information associated with the first push list, the first preset value is greater than the second preset value, and the difference between the first preset value and the second preset value is greater than the preset difference; Determine a second sorting parameter of the i-th push result according to the updated attribute weight value, the number of occurrences of each attribute of the i-th push result in the i-th set, the ranking of the i-th push result in the first push list, and the predetermined weight value of the first sequence; sorting the n push results according to the second sorting parameter of each push result to obtain a third push list; In the third corresponding relationship, the value of the target parameter corresponding to the request information associated with the first push list is the fourth preset value, and when the target attribute does not exist in the first corresponding relationship, the first sorting parameter of the i-th push result is determined according to the predetermined weight values ​​of different attributes, the number of occurrences of each attribute of the i-th push result in the i-th set, the ranking of the i-th push result in the first push list, and the predetermined weight value of the first order; The n push results are sorted according to the first sorting parameter of each push result to obtain a second push list.

8. The list processing method according to claim 1, characterized in that: The determining the first sorting parameter of the i-th push result according to the predetermined weight values ​​of different attributes, the number of occurrences of each attribute of the i-th push result in the i-th set, the ranking of the i-th push result in the first push list, and the predetermined weight value of the first sequence includes: Acquire request information associated with the first push list; Acquire the weight value of the attribute of the push result from the weight values ​​of the attributes corresponding to the request information associated with the first push list in the predetermined second corresponding relationship, as the target weight value; Determine the first sorting parameter of the i-th push result based on the target weight value, the number of occurrences of each attribute of the i-th push result in the i-th set, the ranking of the i-th push result in the first push list, and the predetermined weight value of the first order.

9. A list processing device, characterized in that: The device comprises: A push list acquisition module, used to acquire a first push list, wherein the first push list includes n push results arranged in a first order, where n is an integer greater than 1; a frequency counting module, used for obtaining the number of occurrences of each attribute of the i-th push result in the first push list in the i-th set when i is an integer from 1 to n, wherein the i-th set includes the attributes of the first to i-th push results in the first push list; a first sorting parameter calculation module, configured to determine a first sorting parameter of the i-th push result according to the number of occurrences of each attribute of the i-th push result in the i-th set and the ranking of the i-th push result in the first push list, wherein the first sorting parameter calculation module specifically comprises: determining the first sorting parameter of the i-th push result according to predetermined weight values ​​of different attributes, the number of occurrences of each attribute of the i-th push result in the i-th set, the ranking of the i-th push result in the first push list and the predetermined weight value of the first sequence, wherein the first push list has associated request information, the request information comprising at least one of a geographic location, device information, a category of the push result, and client information corresponding to the first push list, presetting a first correspondence between the request information and a preset attribute, setting a third correspondence between the request information and a value of a target parameter, setting a second correspondence between the request information and weight values ​​of different attributes, and determining the weight values ​​of different attributes according to the first correspondence, and / or the third correspondence, or the second correspondence; The first sorting module is used to sort the n push results according to the first sorting parameter of each push result to obtain a second push list.

10. An electronic device, characterized in that: The method comprises a processor, a memory and a computer program stored in the memory and executable on the processor, wherein the computer program implements the steps of the list processing method according to any one of claims 1 to 8 when executed by the processor.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the list processing method according to any one of claims 1 to 8 are implemented.

Citation Information

Patent Citations

  • Article recommendation method and device

    CN108763318A

  • Article recommendation method and device

    CN108960958A