Right and interest search recommendation method and device, computer equipment and readable storage medium
By matching the equity data sets of the business equity system and ranking the maximum heap, the equity that has been associated the most is preferred, solving the problem of reduced equity search accuracy and improving the recommendation accuracy of search results.
Patent Information
- Application Number
- CN202411242286.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-04
- Publication Date
- 2024-12-27
AI Technical Summary
In the business equity system, with the increase of equity and equity packages, the accuracy of users' search for equity decreases, and how to improve the accuracy of equity search has become an important issue.
By obtaining the stake search information requested by the user, the stake data set of the business stake system is matched, the stake search results list matching the search information is obtained, and the target maximum heap is obtained from the maximum heap set, and the stake is sorted according to the number of times the stake is associated. , display the user-matched equity recommendation list, and give priority to the equity that has been associated with the most times.
It improves the recommendation accuracy of equity search results, especially the most associated equity is selected in the result list, thereby improving the user experience.
Smart Images

Figure CN119202379A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a rights search and recommendation method, device, computer equipment and computer-readable storage medium. Background Art
[0002] There are many business rights in the business rights system (such as video membership rights and audio membership rights). Multiple rights are packaged into a new rights package. Different users can obtain different service contents or have different qualifications for services based on different rights. As the business needs of the business rights system continue to iterate, there are more and more rights and rights packages in the business rights system. When users search for rights, the accuracy of the rights search results is getting lower and lower. Therefore, how to improve the accuracy of rights search has become an important issue in the management of the business rights system. Summary of the invention
[0003] The present application provides a rights search recommendation method, device, computer equipment and computer-readable storage medium, which can improve the recommendation accuracy of rights search results.
[0004] In a first aspect, the present application provides a rights search and recommendation method, the method comprising:
[0005] In response to a user search request of the business rights and interests system, obtaining rights and interests search information of the user search request;
[0006] According to the equity search information, matching processing is performed on the equity data set of the business equity system to obtain an equity search result list matching the equity search information;
[0007] Acquire a target maximum heap matching the equity search information from the maximum heap set of the business equity system, wherein the target maximum heap includes multiple equity nodes, and the position order of each equity node is determined based on the number of times the equity corresponding to each equity node is associated;
[0008] According to the target maximum heap and the benefit search result list, a benefit recommendation list matching the user search request is displayed.
[0009] In a second aspect, the present application provides a rights search and recommendation device, the rights search and recommendation device comprising:
[0010] A first acquisition unit, configured to respond to a user search request of the business rights and interests system and acquire rights and interests search information of the user search request;
[0011] A matching unit, configured to perform matching processing on a rights and interests data set of the business rights and interests system according to the rights and interests search information, and obtain a rights and interests search result list matching the rights and interests search information;
[0012] A second acquisition unit is used to acquire a target maximum heap matching the equity search information from the maximum heap set of the business equity system, wherein the target maximum heap includes multiple equity nodes, and the position sorting of each equity node is determined based on the number of times the equity corresponding to each equity node is associated;
[0013] A recommendation unit is used to display a benefit recommendation list matching the user search request according to the target maximum heap and the benefit search result list.
[0014] In a third aspect, the present application also provides a computer device, which includes a memory and a processor; the memory is used to store a computer program; the processor is used to execute the computer program and implement the equity search recommendation method when executing the computer program.
[0015] In a fourth aspect, the present application further provides a computer-readable storage medium on which a computer program is stored, and the computer program is loaded by a processor to execute the equity search recommendation method.
[0016] The present application first matches the equity data set of the business equity system according to the equity search information to obtain a list of equity search results that matches the equity search information, and obtains a target maximum heap that matches the equity search information; then, based on the equity search result list and the target maximum heap, obtains a list of equity recommendation that matches the user search request for display. Since the position sorting of each equity node in the target maximum heap is determined based on the number of times the equity corresponding to each equity node is associated, the equity search results can be recommended based on the number of times the equity is associated. From the candidate equity in the equity search result list, the equity at the top of the target maximum heap is quickly screened, added to the equity recommendation list as a priority recommended equity and displayed, thereby giving priority to recommending the equity with the most equity associations, thereby improving the recommendation accuracy of the equity search results (especially when the equity search result list contains multiple candidate equity). BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0018] Figure 1 This is a flowchart of a rights search and recommendation method provided in an embodiment of the present application;
[0019] Figure 2An illustrative schematic diagram of maintaining N maximum heaps for equity names provided in an embodiment of the present application;
[0020] Figure 3 An illustrative schematic diagram of maintaining M maximum heaps for equity description provided in an embodiment of the present application;
[0021] Figure 4 This is a flowchart of an embodiment of step 102 in the embodiment of the present application;
[0022] Figure 5 It is a schematic diagram of the structure of an embodiment of the rights search and recommendation device provided in the embodiment of the present application;
[0023] Figure 6 It is a schematic block diagram of the structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0024] 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 only 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 those skilled in the art without creative work are within the scope of protection of this application.
[0025] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may also be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions.
[0026] In the description of the embodiments of the present application, it should be understood that the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present application, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.
[0027] In order to enable any person skilled in the art to implement and use the present application, the following description is provided. In the following description, details are listed for the purpose of explanation. It should be understood that those of ordinary skill in the art can recognize that the present application can also be implemented without using these specific details. In other examples, the known process will not be elaborated in detail to avoid unnecessary details that make the description of the present application embodiment obscure. Therefore, the present application is not intended to be limited to the embodiments shown, but is consistent with the widest range of principles and features disclosed in accordance with the embodiments of the present application.
[0028] Embodiments of the present application provide a rights search recommendation method, apparatus, computer device, and computer-readable storage medium.
[0029] The executor of the rights search recommendation method in the embodiment of the present application may be the rights search recommendation device provided in the embodiment of the present application, or the computer device provided in the embodiment of the present application, wherein the rights search recommendation device may be implemented in hardware or software.
[0030] Some embodiments of the present application are described in detail below in conjunction with the accompanying drawings. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.
[0031] See also Figure 1 , Figure 1 1 is a flowchart of a rights search and recommendation method provided in an embodiment of the present application. The rights search and recommendation method includes steps 101 to 104, wherein:
[0032] 101. In response to a user search request of a business rights and interests system, obtain a rights and interests search name of the user search request.
[0033] In order to better understand the embodiments of the present application, some names involved in the embodiments are introduced below:
[0034] 1. Rights and interests: refers to the service content obtained by users, or the qualifications for services enjoyed by users, including but not limited to video rights, audio rights, reading rights, etc.
[0035] 2. Equity package: multiple equity packages are packaged to form a new equity package. For example, equity id1 and equity id2 can be packaged to form a new equity package (such as an equity package with equity identifier "id3").
[0036] 3. Rights name (referred to as name): is the name of the rights, for example, A platform video rights.
[0037] Similarly, equity package name: is the name of the equity package.
[0038] 4. Benefit description: This is a field that describes the benefits, for example, "A platform video monthly benefits", "A platform video weekly benefits", "B platform audio monthly benefits", "B platform audio weekly benefits", "C platform reading monthly benefits", "C platform reading weekly benefits", etc.
[0039] Similarly, the equity package description is a field that describes the equity package.
[0040] 5. Rights and interests identification (represented as ID): It is the identification of rights and interests, which is used to distinguish different rights and interests (i.e., uniquely identify a right and interest). For example, the rights and interests whose name is "A platform monthly rights and interests" and whose description is "video" have a rights and interests identification ID of "id1", and the rights and interests whose name is "A platform weekly rights and interests" and whose description is "membership" have a rights and interests identification ID of "id2". For the sake of convenience in this article, the term "rights and interests + rights and interests identification (ID)" refers to the rights and interests of the rights and interests identification (ID). For example, rights and interests id1 refers to the rights and interests whose rights and interests identification (ID) is "id1".
[0041] Similarly, the equity package identifier: is the identifier of the equity package.
[0042] It is understandable that a benefit name can be associated with multiple benefits with different benefit identifiers. For example, the benefit name "Video Member" can be associated with a benefit with the benefit identifier "id1" and a benefit with the benefit identifier "id2". Similarly, a benefit package name can be associated with multiple benefit packages with different benefit package identifiers.
[0043] 6. Number of times a benefit is associated: This is the number of times a benefit is used cumulatively. For example, the number of times a benefit with benefit id 1 is associated can be the number of times a user searches and chooses to use benefit package "id1".
[0044] Similarly, the number of times the equity package is associated is the cumulative number of times the equity package has been used.
[0045] Among them, the business rights system is a customer-oriented service system with multiple rights, which can be a banking system, a cinema system, a game system, or various ticket purchasing systems, etc. For different rights in the business rights system (such as video membership rights, audio membership rights), the service content that users can obtain or the qualifications for the services they can enjoy are different.
[0046] The rights and interests search information includes at least one of a rights and interests search name and a rights and interests search description.
[0047] The equity search name is the equity name carried in the user search request. The equity search name may specifically be the equity name of the equity that the user wants to search for.
[0048] The rights search description is the rights description carried in the user search request. The rights search description may specifically be the rights name of the rights that the user wants to search for.
[0049] Exemplarily, first, a display page of the business rights and interests system is displayed, wherein a search control such as a search bar can be set in the display page; then, the user can enter the rights and interests search information in the search control of the display page of the business rights and interests system, thereby triggering a user search request of the business rights and interests system, and at this time, the user search request carrying the rights and interests search information can be received by the business rights and interests system.
[0050] 102. According to the rights search name, match the rights data set of the business rights system to obtain a rights search result list matching the rights search information.
[0051] The rights and interests search result list is a list of all rights and interests obtained by searching the rights and interests search name. Each right and interest in the rights and interests search result list is used as a candidate right and interest.
[0052] Among them, the equity data set is a collection of all equity (including equity and equity packages) in the business equity system.
[0053] The target equity refers to an equity in the equity data set of the business equity system, where the equity name is the same as the equity search name (or the equity description is the same as the equity search description).
[0054] Among them, the initial screening equity identifier refers to the equity identifier of the target equity.
[0055] The target equity package refers to an equity package in the equity data set of the business equity system, which contains the equity whose equity identifier is the target initial screening equity identifier.
[0056] There are many ways to obtain the rights and interests search result list in step 102, illustratively including:
[0057] (1) The rights search result list is a list of initially screened rights identifications. At this time, step 102 may specifically include the following steps 1021A to 1022A:
[0058] 1021A. Obtain at least one preliminary screening benefit identifier associated with the benefit search information from a benefit data set of the business benefit system.
[0059] 1022A. Form a list based on the at least one initially screened equity identifier as an equity search result list matching the equity search information.
[0060] Take the case where the rights search information is the rights search name as an example. First, in the rights data set of the business rights system, the rights with the same rights name as the rights search name are taken as the target rights. Since one rights name can correspond to multiple rights with different rights identifiers, one or more target rights are obtained. Then, the rights identifier of each target right is obtained as the preliminary screening rights identifier, thereby obtaining at least one preliminary screening rights identifier. For example, the user enters the rights search name "video member", and finds from the rights data set of the business rights system that the rights names of rights id1, rights id2, and rights id3 are all "video member", so the rights identifiers of rights id1, rights id2, and rights id3 (such as: id1, id2, id3, respectively) can be used as the preliminary screening rights identifier associated with the rights search name (i.e. "video member"). Thus, three preliminary screening rights identifiers (i.e.: id1, id2, id3) associated with the rights search name (i.e. "video member") are obtained. Finally, the three preliminary screening rights identifiers (i.e.: id1, id2, id3) associated with the rights search name (i.e. "video member") can be formed into a rights search result list matching the rights search name.
[0061] Take the case where the rights search information is a rights search description as an example. First, in the rights data set of the business rights system, the rights with the same rights description as the rights search description are taken as the target rights. Since one rights description can correspond to multiple rights with different rights identifiers, one or more target rights are obtained. Then, the rights identifier of each target right is obtained as the preliminary screening rights identifier, thereby obtaining at least one preliminary screening rights identifier. For example, the user enters the rights search description "video", and finds from the rights data set of the business rights system that the rights descriptions of rights id4, rights id5, and rights id6 are all "video members". Therefore, the rights identifiers of the rights with the same rights name as the rights search name (such as: id4, id5, id6 respectively) can be used as the preliminary screening rights identifier associated with the rights search description (i.e. "video"). Thus, three preliminary screening rights identifiers (i.e.: id4, id5, id6) associated with the rights search description (i.e. "video") are obtained. Finally, the three preliminary screening rights identifiers (i.e.: id4, id5, id6) associated with the rights search description (i.e. "video") can be formed into a rights search result list matching the rights search description.
[0062] (2) The equity search result list is a list containing the initial screening equity identifiers and the equity package identifiers containing the target equity package. The target equity matching the equity search information and the equity package containing the target equity appear in the equity search result list, thereby improving the comprehensiveness of the equity search results. For example, at this time, if Figure 4 As shown, step 102 may specifically include the following steps 1021B to 1023B:
[0063] 1021B. Obtain at least one preliminary screening rights identification associated with the rights search information from the rights data set of the business rights system.
[0064] 1022B. Query the target equity package whose equity package identifier matches the initially screened equity identifier from the equity package mapping relationship table of the business equity system.
[0065] The equity package mapping relationship table is used to associate the equity identifier of the target equity package with the equity identifier of the referenced equity of the target equity package.
[0066] 1023B. Based on the initial screening rights identification and the rights package identification of the target rights package, obtain a rights search result list matching the rights search name.
[0067] In some embodiments, in steps 1021B to 1023B, the search can be performed by utilizing the copyField attribute and the multiValued attribute of the search engine Elasticsearch. At this time, the equity search recommendation method further includes: configuring the field of the equity name, the field of the equity package name, and the field of the equity and package description; configuring the field of the equity name, the field of the equity package name, and the field of the equity and package description to the target field to obtain the configured target field. At this time, step 1021B can be specifically as follows: index processing is performed based on the equity data set of the business equity system, the equity search information, and the configured target field to obtain at least one preliminary screening equity identifier associated with the equity search information. At this time, step 1022B can be specifically as follows: index processing is performed based on the equity package mapping relationship table, the equity package identifier, and the configured target field to obtain a target equity package whose equity package identifier matches the preliminary screening equity identifier.
[0068] A specific implementation example of steps 1021B to 1023B may be as follows: search using the copyField attribute and multiValued attribute of the search engine Elasticsearch. First, scan the equity data set of the business equity system, and associate the equity identifiers of the equity and the equity package identifiers of the equity packages that have a reference relationship. Specifically, configure the fields of the equity name (such as atomicRihgtsName), the field of the equity package name (such as pkg), and the fields of both the equity description and the equity package description (such as tag), and set whether the fields are indexed and whether they are stored, as shown in the following pseudo code 1. Then, specify how to copy the content of one field to another field, that is, the field of the equity name (such as atomicRihgtsName) , the field of the equity package name (such as pkg), and the field of the equity and package description (i.e., both the equity description and the equity package description) (such as tag) are copied to the target field (such as suggest), as shown in the following pseudo code 2. By copying the field of the equity name (such as atomicRihgtsName), the field of the equity package name (such as pkg), and the fields of the equity description and the equity package description (such as tag) to the target field (such as suggest), when the user searches and enters the equity name or equity description, the search can be performed by combining the field of the equity name, the field of the equity package name, and the field of the equity and package description (i.e., both the equity description and the equity package description). Therefore, when the user searches for the equity name or the description field, all possible equity can be fully searched, thereby improving the comprehensiveness of the equity search.
[0069] Pseudocode 1:
[0070] <field name="atomicRihgtsName"type="string"indexed="true"stored="true" / >
[0071] / / name="atomicRihgtsName" indicates the field for configuring the rights name, type="string" indicates that the field stores string data, indexed="true" indicates that the value of the field will be indexed (i.e. the content of the field will be stored in the index for quick search), and stored="true" indicates that the value of the field will be stored (i.e. the original data of the field will be saved in the document for easy access to the original content during retrieval)
[0072] <field name="pkg"type="string"indexed="true"stored="false"multiValued="true" / >
[0073] / / name="pkg" indicates the field for configuring the equity package name, stored="false" indicates that the value of this field will not be stored (i.e. the value of this field will not be retained in the document and is only used for indexing), and multiValued="true" indicates that this field can contain multiple values (i.e. the pkg field in each document can store multiple string values)
[0074] <field name="tag"type="string"indexed="true"stored="false"multiValued="true" / >
[0075] / / name="tag" indicates the fields for configuring both benefit description and benefit package description
[0076] Pseudocode 2:
[0077] <copyField source="atomicRihgtsName"dest="suggest" / >
[0078] / / Copy the contents of the atomicRihgtsName field to the suggest field
[0079] <copyField source="pkg"dest="suggest" / >
[0080] / / Copy the contents of the pkg field to the suggest field
[0081] <copyField source="tag"dest="suggest" / >
[0082] / / Copy the content in the tag field to the suggest field
[0083] First, since the configured target field contains the field of the equity name, when the equity search information is the equity search name, through the configured target field, first, the equity data center of the business equity system can be concentrated, and the equity with the same equity name as the equity search name can be used as the target equity. Since one equity name can correspond to and be associated with multiple equity with different equity identifiers, one or more target equity can be obtained; then, the equity identifier of each target equity is obtained as the preliminary screening equity identifier, thereby obtaining at least one preliminary screening equity identifier.
[0084] Secondly, since the configured target field contains fields for equity and package descriptions, when the equity search information is the equity description name, through the configured target field, first, in the equity data center of the business equity system, the equity with the same equity description as the equity search description is taken as the target equity. Since one equity description can correspond to and be associated with multiple equity with different equity identifiers, one or more target equity are obtained; then, the equity identifier of each target equity is obtained as the preliminary screening equity identifier, thereby obtaining at least one preliminary screening equity identifier.
[0085] Thirdly, since the configured target field contains the field of the equity package name, when the equity search information is the equity search package name, the configured target field can also be used to find the equity package that matches the equity search package name from the equity data set of the business equity system.
[0086] Fourthly, since the configured target field includes fields for the rights and interests name, fields for the rights and interests and package descriptions, and fields for the rights and interests package name, through the configured target field, first, in the rights and interests data collection of the business rights and interests system, after searching out the rights and interests with the same rights and interests description as the target rights and interests, or searching out the rights and interests with the same rights and interests description as the target rights and interests, it is possible to search out the target rights and interests package whose rights and interests package identifier matches the preliminary screening rights and interests identifier based on the rights and interests package mapping relationship table and the rights and interests identifier of the target rights and interests (i.e., the preliminary screening rights and interests identifier), thereby achieving that when only the rights and interests name or rights and interests description is entered as the search information, in addition to finding the rights and interests that match the search information, the rights and interests packages that match the search information can also be found, thereby improving the comprehensiveness of the rights and interests search results.
[0087] 103. Acquire a target maximum heap matching the equity search information from the maximum heap set of the business equity system.
[0088] Among them, the target maximum heap contains multiple equity nodes, each equity node corresponds to a equity tuple, the equity tuple of each equity node is the equity identifier corresponding to the equity node and the number of times the equity corresponding to the equity node is associated, and the position sorting of each equity node is determined based on the number of times the equity corresponding to each equity node is associated.
[0089] Among them, the maximum heap set is the maximum heap set of the business equity system. Each maximum heap contains multiple equity nodes, each equity node corresponds to a equity tuple, and the equity tuple of each equity node is the equity identifier of the equity node and the number of times the equity is associated; among them, the equity nodes in the maximum heap are sorted according to the number of times the equity is associated, and the more times the equity is associated, the higher the top of the maximum heap.
[0090] The heap identification information is information used to distinguish different maximum heaps, and may be a benefit name or benefit description.
[0091] Among them, each maximum heap in the maximum heap set is stored in the search engine memory of the business equity system. Since the design of the maximum heap is a pure memory design, there is no need to introduce any other third-party components, and maintenance is simpler.
[0092] There are many ways to implement step 103, illustratively including:
[0093] (1) In some embodiments, the equity search information is the equity search name. N maximum heaps are maintained for the equity data set, and all the equity with the same equity name in the equity data set are maintained in the same maximum heap (in this case, the heap identification information is the equity name). Figure 2 , Figure 2 is a schematic diagram illustrating the maximum heap provided in the embodiments of the present application, for example, Figure 2 As shown, for the rights and interests data set (such as rights and interests id1, id2, ..., id19, the number of times the rights and interests of rights and interests id1, id2, ..., id19 are associated increases in sequence), a maximum heap a1 is maintained for the rights and interests named "video member" (rights and interests id1, id2, ..., id7), a maximum heap a2 is maintained for the rights and interests named "reading member" (rights and interests id7, id8, ..., id12), and so on, a maximum heap aN is maintained for the rights and interests named "audio member" (rights and interests id13, id14, ..., id19). At this time, step 103 can specifically include the following step 1031A:
[0094] 1031A. From the maximum heap set of the business equity system, obtain the maximum heap with the highest similarity between the heap identification information and the equity search name as the target maximum heap matching the equity search information.
[0095] (2) In some embodiments, the equity search information is an equity search description. M maximum heaps are maintained for the equity data set, and all the equity with the same equity description in the equity data set are maintained in the same maximum heap (in this case, the heap identification information is the equity description). Figure 3 , Figure 3 is a schematic diagram illustrating the maximum heap provided in the embodiments of the present application, for example, Figure 3As shown, for the rights and interests data set (such as rights and interests id1, id2, ..., id19, the number of times the rights and interests of rights and interests id1, id2, ..., id19 are associated increases in sequence), a maximum heap b1 is maintained for the rights and interests described as "video" (rights and interests id1, id2, ..., id6), a maximum heap b2 is maintained for the rights and interests described as "reading" (rights and interests id7, id8, ..., id12), a maximum heap b3 (not shown in the figure) is maintained for the rights and interests described as "members" (rights and interests id1, id2, ..., id19), ... and so on, a maximum heap bM is maintained for the rights and interests described as "audio" (rights and interests id13, id14, ..., id19). At this time, step 103 can specifically include the following step 1031B:
[0096] 1031B. From the maximum heap set of the business equity system, obtain the maximum heap with the highest similarity between the heap identification information and the equity search description as the target maximum heap matching the equity search information.
[0097] (3) In some embodiments, the equity search information may be an equity search name or an equity search description. N+M maximum heaps are maintained for the equity data set, wherein M maximum heaps are maintained for the equity data set, and all the equity with the same equity description in the equity data set are maintained in the same maximum heap; N maximum heaps are maintained for the equity data set, and all the equity with the same equity name in the equity data set are maintained in the same maximum heap (in this case, the heap identification information is the equity description or the equity name). Exemplarily, in this case, step 103 may specifically include the following steps 1031C to 1032C:
[0098] 1031C. Obtain the similarity between the equity search information and the heap identification information of each maximum heap in the maximum heap set as the similarity of each maximum heap.
[0099] For example, Figure 2 As shown, the heap identification information of the maximum heap a1, a2, ..., aN are respectively: video membership, reading membership, ..., audio membership. Figure 3 As shown, the heap identification information of the maximum heaps b1, b2, ..., bM are respectively: video, reading, ..., audio.
[0100] 1032C. Based on the similarity of each maximum heap, obtain the maximum heap with the highest matching similarity from the maximum heap set of the business equity system as the target maximum heap matching the equity search information.
[0101] For example, Figure 2 and Figure 3As shown, the maximum heap with the highest similarity between the equity search information and the heap identification information of each maximum heap in the maximum heap set (such as maximum heaps a1, a2, ..., aN, b1, b2, ..., bM) is used as the target maximum heap (such as maximum heap a1) that matches the equity search information. It can be understood that, Figure 2 and Figure 3 This is mainly used as an example. In fact, the structure of each max heap and the location of the stake nodes may be different. Figure 2 and Figure 3 Not the same.
[0102] 104. Display a benefit recommendation list matching the user search request according to the target maximum heap and the benefit search result list.
[0103] The candidate interests refer to the interests in the interest search result list.
[0104] For example, in step 104, the ranking of each candidate interest in the interest search result list in the target maximum heap can be obtained to obtain the heap ranking of each candidate interest; based on the heap ranking of each candidate interest, the top n candidate interests are obtained as the target recommended interests that match the user search request; based on the names of the target recommended interests, a list of recommended interests that match the user search request is obtained. Figure 2 As shown, assuming that the target maximum heap is maximum heap a1, the candidate interests in the interest search result list are: interest id1, id3, id4, id5, and the top n=1 candidate interests can be obtained as the target recommended interests (such as interest id1) that match the user's search request, and the interest name of interest id1 is added to the interest recommendation list, so that when the interest recommendation list is displayed, the interest name of interest id1 can be displayed to the user as recommended content.
[0105] Furthermore, after displaying the equity recommendation list that matches the user's search request, the user can select an equity from the equity recommendation list, and can also perform equity association operations (i.e., associating the selected equity to other equity packages) for the selected equity in the equity recommendation list (i.e., associating the selected equity with other equity packages). In order to better maintain the equity node sorting of the maximum heap and improve the speed of determining the subsequent equity recommendation list, when an association operation is detected for the selected equity in the equity recommendation list, the number of equity associations of the selected equity is updated in response to the association operation for the selected equity in the equity recommendation list, and the updated number of associations of the selected equity is obtained; according to the updated number of associations of the selected equity, the node sorting of the selected equity in the target maximum heap is updated.
[0106] From the above content, it can be seen that by first matching the equity data set of the business equity system according to the equity search information, a list of equity search results matching the equity search information is obtained, and a target maximum heap matching the equity search information is obtained; then based on the equity search result list and the target maximum heap, an equity recommendation list matching the user search request is obtained for display. On the one hand, since the position sorting of each equity node in the target maximum heap is determined based on the number of times the equity corresponding to each equity node is associated, the equity search results can be recommended in combination with the number of times the equity is associated, and the equity search results can be quickly selected from the candidate equity in the equity search result list. The equity at the top of the target maximum heap is added to the equity recommendation list as a priority recommended equity and displayed, so that the equity with the most equity association times can be recommended first, thereby improving the recommendation accuracy of the equity search results (especially when the equity search result list contains multiple candidate equity). On the second hand, since the target maximum heap is the maximum heap matching the equity search information in the maximum heap set maintained by the business equity system, the maximum heap that better matches the equity search information can be used to recommend the equity search results, thereby improving the recommendation accuracy of the equity search results.
[0107] In addition, in order to better implement the equity search recommendation method in the embodiment of the present application, based on the equity search recommendation method, the embodiment of the present application also provides an equity search recommendation device, such as Figure 5 FIG. 1 is a schematic diagram of a structure of an embodiment of a rights search and recommendation device provided in an embodiment of the present application. The rights search and recommendation device 500 includes:
[0108] The first acquisition unit 501 is used to respond to a user search request of the business rights and interests system and acquire the rights and interests search information of the user search request;
[0109] A matching unit 502 is used to perform matching processing on the rights and interests data set of the business rights and interests system according to the rights and interests search information, and obtain a rights and interests search result list matching the rights and interests search information;
[0110] A second acquisition unit 503 is configured to acquire a target maximum heap matching the equity search information from the maximum heap set of the business equity system, wherein the target maximum heap includes multiple equity nodes, and the position order of each equity node is determined based on the number of times the equity corresponding to each equity node is associated;
[0111] The recommendation unit 504 is configured to display a list of recommended benefits that match the user search request according to the target maximum heap and the list of benefit search results.
[0112] In some embodiments, the second acquiring unit 503 is specifically configured to:
[0113] Acquire the similarity between the equity search information and the heap identification information of each maximum heap in the maximum heap set as the similarity of each maximum heap;
[0114] Based on the similarity of each maximum heap, the maximum heap with the highest matching similarity is obtained from the maximum heap set of the business equity system as a target maximum heap matching the equity search information.
[0115] In some embodiments, the recommendation unit 504 is specifically used to:
[0116] Obtaining the ranking of each candidate interest in the interest search result list in the target maximum heap, and obtaining the heap ranking of each candidate interest;
[0117] According to the heap sorting of the candidate rights, the top n candidate rights are obtained as target recommended rights that match the user search request;
[0118] Based on the name of the target recommended benefit, a benefit recommendation list matching the user search request is obtained.
[0119] In some embodiments, the equity search recommendation device further includes an updating unit (not shown in the figure), which is specifically used to:
[0120] In response to an association operation on a selected interest in the interest recommendation list, updating the number of times the selected interest is associated, and obtaining an updated number of times the selected interest is associated;
[0121] According to the number of times the selected interest is associated after being updated, the node sorting of the selected interest in the target maximum heap is updated.
[0122] In some embodiments, the matching unit 502 is specifically configured to:
[0123] Acquire at least one preliminary screening benefit identifier associated with the benefit search information from a benefit data set of the business benefit system, wherein the benefit search information includes at least one of a benefit search name and a benefit search description;
[0124] Querying a target equity package whose equity package identifier matches the pre-screened equity identifier from an equity package mapping relationship table of the business equity system, wherein the equity package mapping relationship table is used to associate the equity identifier of the target equity package with the equity identifier of the referenced equity of the target equity package;
[0125] Based on the initially screened equity identifier and the equity package identifier of the target equity package, a list of equity search results matching the equity search name is obtained.
[0126] In some embodiments, the matching unit 502 is specifically configured to:
[0127] Configure the fields of the equity name, equity package name, and equity and package description;
[0128] Configure the field of the equity name, the field of the equity package name, and the field of the equity and package description into the target field to obtain the configured target field;
[0129] Performing index processing based on the equity data set of the business equity system, the equity search information and the configured target field to obtain at least one preliminary screening equity identifier associated with the equity search information;
[0130] Index processing is performed based on the equity package mapping relationship table, the equity package identifier and the configured target field to obtain a target equity package whose equity package identifier matches the initially screened equity identifier.
[0131] In some embodiments, each maximum heap in the maximum heap set is stored in the search engine memory of the business equity system, and the matching unit 502 is specifically used to store each maximum heap in the maximum heap set in the search engine memory of the business equity system.
[0132] In specific implementation, the above units can be implemented as independent entities, or can be arbitrarily combined and implemented as the same or several entities. The specific implementation of the above units can refer to the above equity search recommendation method embodiment, which will not be repeated here.
[0133] See also Figure 6 , Figure 6 A schematic block diagram of the structure of a computer device provided in an embodiment of the present application. The computer device may be a server.
[0134] like Figure 6 As shown, the computer device includes a processor, a memory, and a network interface connected via a system bus, wherein the memory may include a non-volatile storage medium and an internal memory.
[0135] The non-volatile storage medium can store an operating system and a computer program. The computer program includes program instructions, and when the program instructions are executed, the processor can execute any one of the equity search recommendation methods.
[0136] The processor is used to provide computing and control capabilities and support the operation of the entire computer equipment.
[0137] The internal memory provides an environment for the operation of the computer program in the non-volatile storage medium. When the computer program is executed by the processor, the processor can execute any one of the equity search recommendation methods.
[0138] The network interface is used for network communication, such as sending assigned tasks, etc. Those skilled in the art will appreciate that Figure 6 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0139] It should be understood that the processor may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0140] In one embodiment, the processor is used to run a computer program stored in the memory to implement the following steps:
[0141] In response to a user search request of a business rights and interests system, rights and interests search information of the user search request is obtained; according to the rights and interests search information, a matching process is performed on the rights and interests data set of the business rights and interests system to obtain a rights and interests search result list that matches the rights and interests search information; from the maximum heap set of the business rights and interests system, a target maximum heap that matches the rights and interests search information is obtained, wherein the target maximum heap contains multiple rights and interests nodes, and the position sorting of each rights and interests node is determined based on the number of times the rights and interests corresponding to each rights and interests node are associated; according to the target maximum heap and the rights and interests search result list, a rights and interests recommendation list that matches the user search request is displayed.
[0142] In one embodiment, the processor is used to run a computer program stored in the memory to implement the following steps:
[0143] The similarity between the equity search information and the heap identification information of each maximum heap in the maximum heap set is obtained as the similarity of each maximum heap; based on the similarity of each maximum heap, the maximum heap with the highest matching similarity is obtained from the maximum heap set of the business equity system as the target maximum heap matching the equity search information.
[0144] In one embodiment, the processor is used to run a computer program stored in the memory to implement the following steps:
[0145] Obtain the ranking of each candidate interest in the interest search result list in the target maximum heap to obtain the heap ranking of each candidate interest; obtain the top n candidate interests as target recommended interests matching the user search request based on the heap ranking of each candidate interest; and obtain a recommended interest list matching the user search request based on the name of the target recommended interest.
[0146] In one embodiment, the processor is used to run a computer program stored in the memory to implement the following steps:
[0147] In response to an association operation for a selected interest in the interest recommendation list, the number of times the interest of the selected interest is associated is updated to obtain the updated number of times the selected interest is associated; and according to the updated number of times the selected interest is associated, the node sorting of the selected interest in the target maximum heap is updated.
[0148] In one embodiment, the processor is used to run a computer program stored in the memory to implement the following steps:
[0149] From the equity data set of the business equity system, at least one preliminary screening equity identifier associated with the equity search information is obtained, wherein the equity search information includes at least one of an equity search name and an equity search description; from the equity package mapping relationship table of the business equity system, a target equity package whose equity package identifier matches the preliminary screening equity identifier is queried, wherein the equity package mapping relationship table is used to associate the equity identifier of the target equity package with the equity identifier of the referenced equity of the target equity package; based on the preliminary screening equity identifier and the equity package identifier of the target equity package, a list of equity search results matching the equity search name is obtained.
[0150] In one embodiment, the processor is used to run a computer program stored in the memory to implement the following steps:
[0151] Configure the fields of the equity name, equity package name, and equity and package description;
[0152] The field of the equity name, the field of the equity package name and the field of the equity and package description are configured into the target field to obtain the configured target field; index processing is performed based on the equity data set of the business equity system, the equity search information and the configured target field to obtain at least one preliminary screening equity identifier associated with the equity search information; index processing is performed based on the equity package mapping relationship table, the equity package identifier and the configured target field to obtain a target equity package whose equity package identifier matches the preliminary screening equity identifier.
[0153] In one embodiment, each maximum heap in the maximum heap set is stored in a search engine memory of the business equity system, and the processor is used to run a computer program stored in the memory to implement the following steps:
[0154] Each maximum heap in the maximum heap set is stored in the search engine memory of the business equity system.
[0155] A person of ordinary skill in the art will appreciate that all or part of the steps in the above-mentioned equity search recommendation method may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.
[0156] To this end, an embodiment of the present application provides a computer-readable storage medium, in which multiple computer programs are stored. The computer programs can be loaded by a processor to execute any of the equity search recommendation methods provided in the embodiments of the present application.
[0157] The computer-readable storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0158] In the above-mentioned equity search recommendation device and computer-readable storage medium embodiments, the description of each embodiment has its own emphasis. For parts not described in detail in a certain embodiment, reference can be made to the relevant description of other embodiments. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process and beneficial effects of the equity search recommendation device, computer-readable storage medium and its corresponding units described above can refer to the description of the equity search recommendation method in the above embodiment, and will not be repeated here.
[0159] The above is a detailed introduction to a rights search recommendation method, device, computer equipment and computer-readable storage medium provided in an embodiment of 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 technical personnel in this field, 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 rights search and recommendation method, characterized in that: The method comprises: In response to a user search request of the business rights and interests system, obtaining rights and interests search information of the user search request; According to the equity search information, matching processing is performed on the equity data set of the business equity system to obtain an equity search result list matching the equity search information; Acquire a target maximum heap matching the equity search information from the maximum heap set of the business equity system, wherein the target maximum heap includes multiple equity nodes, and the position order of each equity node is determined based on the number of times the equity corresponding to each equity node is associated; According to the target maximum heap and the benefit search result list, a benefit recommendation list matching the user search request is displayed.
2. The rights search and recommendation method according to claim 1, characterized in that: The step of acquiring a target maximum heap matching the equity search information from the maximum heap set of the business equity system includes: Acquire the similarity between the equity search information and the heap identification information of each maximum heap in the maximum heap set as the similarity of each maximum heap; Based on the similarity of each maximum heap, the maximum heap with the highest matching similarity is obtained from the maximum heap set of the business equity system as a target maximum heap matching the equity search information.
3. The rights search and recommendation method according to claim 1, characterized in that: The step of displaying a benefit recommendation list matching the user search request according to the target maximum heap and the benefit search result list includes: Obtaining the ranking of each candidate interest in the interest search result list in the target maximum heap, and obtaining the heap ranking of each candidate interest; According to the heap sorting of the candidate rights, the top n candidate rights are obtained as target recommended rights that match the user search request; Based on the name of the target recommended benefit, a benefit recommendation list matching the user search request is obtained.
4. The rights search and recommendation method according to claim 1, characterized in that: The method further comprises: In response to an association operation on a selected interest in the interest recommendation list, updating the number of times the selected interest is associated, and obtaining an updated number of times the selected interest is associated; According to the number of times the selected interest is associated after being updated, the node sorting of the selected interest in the target maximum heap is updated.
5. The rights search and recommendation method according to claim 1, characterized in that: The matching process is performed on the rights and interests data set of the business rights and interests system according to the rights and interests search name to obtain a rights and interests search result list matching the rights and interests search information, including: Acquire at least one preliminary screening benefit identifier associated with the benefit search information from a benefit data set of the business benefit system, wherein the benefit search information includes at least one of a benefit search name and a benefit search description; Querying a target equity package whose equity package identifier matches the pre-screened equity identifier from an equity package mapping relationship table of the business equity system, wherein the equity package mapping relationship table is used to associate the equity identifier of the target equity package with the equity identifier of the referenced equity of the target equity package; Based on the initially screened equity identifier and the equity package identifier of the target equity package, a list of equity search results matching the equity search name is obtained.
6. The rights search and recommendation method according to claim 5, characterized in that: The method further comprises: Configure the fields of the equity name, equity package name, and equity and package description; Configure the field of the equity name, the field of the equity package name, and the field of the equity and package description into the target field to obtain the configured target field; The acquiring, from the rights and interests data set of the business rights and interests system, at least one preliminary screening rights and interests identification associated with the rights and interests search information comprises: Performing index processing based on the equity data set of the business equity system, the equity search information and the configured target field to obtain at least one preliminary screening equity identifier associated with the equity search information; The querying of the target rights package whose rights package identifier matches the initially screened rights identifier from the rights package mapping relationship table of the business rights system comprises: Index processing is performed based on the equity package mapping relationship table, the equity package identifier and the configured target field to obtain a target equity package whose equity package identifier matches the initially screened equity identifier.
7. The rights search and recommendation method according to claim 1, characterized in that: Each maximum heap in the maximum heap set is stored in the search engine memory of the business rights system.
8. A rights search and recommendation device, characterized in that: The rights and interests search and recommendation device comprises: A first acquisition unit, configured to respond to a user search request of the business rights and interests system and acquire rights and interests search information of the user search request; A matching unit, configured to perform matching processing on a rights and interests data set of the business rights and interests system according to the rights and interests search information, and obtain a rights and interests search result list matching the rights and interests search information; A second acquisition unit is used to acquire a target maximum heap matching the equity search information from the maximum heap set of the business equity system, wherein the target maximum heap includes multiple equity nodes, and the position sorting of each equity node is determined based on the number of times the equity corresponding to each equity node is associated; A recommendation unit is used to display a benefit recommendation list matching the user search request according to the target maximum heap and the benefit search result list.
9. A computer device, characterized in that: The computer device includes a memory and a processor; The memory is used to store computer programs; The processor is configured to execute the computer program and implement the rights search and recommendation method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and the computer program is loaded by a processor to execute the rights search and recommendation method according to any one of claims 1 to 7.
