User behavior characteristic processing method, equipment and medium

By obtaining the target item category set associated with the specified item category, filtering the user identity associated with it, and selecting similar user behavior feature vectors through the global user behavior feature vector set, the problem of how to accurately select more users to improve the scale and accuracy of information push is solved, and user identity selection with high matching degree is achieved.

CN119863293AActive Publication Date: 2025-04-22ZHEJIANG MEIRI HUDONG NETWORK TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202411969394.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-30
Publication Date
2025-04-22
Estimated Expiration
2044-12-30

AI Technical Summary

Technical Problem

In user behavior characteristic processing technology, how to accurately select more users to improve the scale and accuracy of information push related to specific item categories, especially when the number of users associated with item categories is small.

Method used

By obtaining the target item category set formed by the specified item category and its associated item category, filtering the user ID associated with the target item category set, obtaining the specified user ID set, and selecting the user behavior feature vector that is most similar to the specified user behavior feature vector through the global user behavior feature vector set, appending it to the target user ID set, and finally determining the user ID that best matches the specified item category.

Benefits of technology

In the information push scenario related to specific item categories, the user ID of the preset target number is accurately selected to improve the scale and accuracy of information push, and the matching between user ID and item categories is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119863293A_ABST
    Figure CN119863293A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of electric digital data processing, in particular to a user behavior characteristic processing method and device and a medium. The method comprises the following steps: acquiring a target article category set according to a specified article category and an associated article category list; acquiring a specified user identifier set according to the first user list and the target article category set; acquiring a specified user behavior feature vector set corresponding to the specified user identifier set; obtaining a first preset number of global user behavior feature vectors with the maximum similarity with each specified user behavior feature vector in a global user behavior feature vector set, and adding user identifiers and similarity values corresponding to the global user behavior feature vectors to a target user identifier set; and determining the user identifier corresponding to the similarity value of the maximum previous preset target user number in the target user identifier set as the target user identifier corresponding to the specified article category. According to the invention, the pushing scale and accuracy of the related information of the specified article category can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electronic digital data processing, and in particular to a method, device and medium for processing user behavior characteristics. Background Art

[0002] The characteristics of a user can be determined based on his or her behavior. For example, the consumption preferences of a user can be determined based on his or her consumption behavior. After obtaining the consumption preferences of a user, matching item information can be pushed to the user, that is, item information that meets the user's consumption preferences can be pushed to the user. The consumption behavior of a user can be represented by the name of the item purchased by the user. Each item has its own item category. Based on the user's consumption behavior, the user can be associated with the item category to form a user list that stores the association. For a scenario in which information is pushed to a specific item category, the number of users in the user list who are associated with the specific item category may be relatively small. How to accurately select more users and improve the scale and accuracy of information push related to a specific item category is an urgent problem to be solved. Summary of the invention

[0003] The purpose of the present invention is to provide a method, device and medium for processing user behavior characteristics so as to accurately select more users and improve the scale and accuracy of information push related to specific item categories.

[0004] According to a first aspect of the present invention, a method for processing user behavior characteristics is provided, the method comprising the following steps:

[0005] A target item category set is obtained according to a specified item category and an associated item category list; the target item category set includes the specified item category and item categories associated with the specified item category, the associated item category list includes a plurality of records, and any record includes an item category and an item category associated with the item category.

[0006] A designated user identification set is obtained according to a first user list and a target item category set; the first user list includes a plurality of records, any record includes a user identification and an item category set corresponding to the user identification; the item category set corresponding to any user identification includes a plurality of item categories; the designated user identification set includes a plurality of designated user identifications, and the item category set corresponding to any designated user identification includes at least one item category in the target item category set.

[0007] A designated user behavior feature vector set corresponding to the designated user identification set is obtained; the designated user behavior feature vector set includes a designated user behavior feature vector corresponding to each designated user identification.

[0008] A preset first number of global user behavior feature vectors having the greatest similarity with each designated user behavior feature vector in the global user behavior feature vector set are obtained, and user identifiers and similarity values ​​corresponding to the global user behavior feature vectors are added to a target user identifier set; the designated user behavior feature vector set is a subset of the global user behavior feature vector set, and the product of the preset first number and the number of designated user identifiers is greater than a preset number of target users.

[0009] The user identification corresponding to the similarity value of the largest number of pre-set target users in the target user identification set is determined as the target user identification corresponding to the designated item category.

[0010] According to a second aspect of the present invention, there is provided an electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned method for processing user behavior characteristics when executing the computer program.

[0011] According to a third aspect of the present invention, there is provided a computer-readable storage medium storing a computer program, wherein the computer program implements the above-mentioned method for processing user behavior characteristics when executed by a processor.

[0012] Compared with the prior art, the present invention has at least the following beneficial effects:

[0013] The present invention obtains other item categories associated with the designated item category according to the designated item category, thereby obtaining a target item category set, wherein any item category in the target item category set is relatively similar to the designated item category; the present invention screens user identifiers associated with the target item category set from a first user list based on the target item category set, thereby obtaining a designated user identifier set, wherein any designated user in the designated user identifier set has a behavior related to at least one item category in the target item category set; the present invention further obtains a designated user behavior feature vector corresponding to each user identifier in the designated user identifier set, and the designated user behavior feature vector can be used to characterize the behavior characteristics of the corresponding user; by selecting the first preset number of user behavior feature vectors that are most similar to each designated user behavior feature vector from the global user behavior feature vector, the present invention obtains user behavior feature vectors that are similar to the designated user behavior feature vector in the designated user behavior feature vector set that exceed the preset target number of users, and further obtains the preset target number of user identifiers that are most matched with the item category in the target item category set by comparing the similarity as a whole, thereby not only achieving the purpose of obtaining the preset target number of user identifiers, but also the obtained preset target number of user identifiers have a high matching degree with the designated item category, and can improve the scale and accuracy of pushing information related to the designated item category. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0015] Figure 1 A flowchart of a method for processing user behavior characteristics provided in Embodiment 1 of the present invention;

[0016] Figure 2 A flowchart of the steps of obtaining a designated user identification set according to a first user list and a target item category set provided in the first embodiment of the present invention;

[0017] Figure 3 A flowchart of a process for acquiring a global user behavior feature vector set provided in the first embodiment of the present invention;

[0018] Figure 4 A flowchart of the steps of obtaining a global user behavior feature vector corresponding to a user identifier included in a first record provided in the first embodiment of the present invention;

[0019] Figure 5 A flowchart of the steps of obtaining a first preset number of global user behavior feature vectors having the greatest similarity to each designated user behavior feature vector in a global user behavior feature vector set provided in the first embodiment of the present invention. DETAILED DESCRIPTION

[0020] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0021] Embodiment 1:

[0022] According to this embodiment, Figure 1 As shown, a method for processing user behavior characteristics is provided, and the method comprises the following steps:

[0023] S100, obtaining a target item category set according to a designated item category and a list of associated item categories; the target item category set includes the designated item category and item categories associated with the designated item category, the list of associated item categories includes a plurality of records, and any record includes an item category and an item category associated with the item category.

[0024] In this embodiment, the designated item category is the item category for which information is to be pushed.

[0025] In this embodiment, the associated item category list is a pre-established list. For example, the designated item category is the chewing gum category, and the item categories associated with it include the bubble gum category, the QQ candy category, the chewable tablet category, and the mouth freshener category.

[0026] S200, obtaining a designated user identification set according to a first user list and a target item category set; the first user list includes a plurality of records, any record includes a user identification and an item category set corresponding to the user identification; the item category set corresponding to any user identification includes a plurality of item categories; the designated user identification set includes a plurality of designated user identifications, and the item category set corresponding to any designated user identification includes at least one item category in the target item category set.

[0027] In this embodiment, the first user list is a known list and can be directly obtained through a third party. The third party can know the consumption behaviors of a large number of users, that is, know the names and purchase times of items purchased by a large number of users.

[0028] In this embodiment, the user identifier is a user ID, different records in the first user list include different user identifiers, and the item category set included in any record of the first user list is a set of item categories to which items purchased by the user identifier included in the record within a certain period of time belong. It should be noted that the designated user identifier is also a user identifier, wherein the designated user identifier is specifically used to refer to a user identifier of at least one item category in the target item category set in the corresponding item category set in the first user list.

[0029] As a specific implementation, Figure 2 As shown, obtaining a designated user identification set according to the first user list and the target item category set includes:

[0030] S210, traversing the first user list, if a record included in the first user list includes at least one item category in the target item category set, appending the user identifier included in the record to a preset user identifier set; the preset user identifier set is initialized to an empty set.

[0031] S220, after the traversal is completed, the preset user identification set is determined as the designated user identification set.

[0032] Based on S210 - S220 , the specified user identification set can be accurately obtained.

[0033] S300, obtaining a designated user behavior feature vector set corresponding to a designated user identification set; the designated user behavior feature vector set includes a designated user behavior feature vector corresponding to each designated user identification.

[0034] In this embodiment, user behavior refers to the consumption behavior of the user, and the user behavior feature vector is used to represent the consumption preference of the corresponding user (i.e., the habit of purchasing which categories of goods). The consumption preferences of the two users corresponding to two user behavior feature vectors with high similarity are similar, and the consumption preferences of the two users corresponding to two user behavior feature vectors with low similarity are quite different. It should be noted that the designated user behavior feature vector in this embodiment is also a user behavior feature vector, in which the designated one is used to specifically refer to the user behavior feature vector corresponding to the above-mentioned designated user identifier.

[0035] In this embodiment, a global user behavior feature vector set is pre-constructed, and any global user behavior feature vector in the global user behavior feature vector set corresponds to a user, and the number of global user behavior feature vectors included in the global user behavior feature vector set is the number of user identifiers that appear in all user lists. It should be noted that the global user behavior feature vector in this embodiment is also a user behavior feature vector, where global is used to represent all, and any user identifier has a corresponding global user behavior feature vector; it should be understood that the specified user behavior feature vector of the same user identifier and the global user behavior feature vector are the same user behavior feature vector.

[0036] In this embodiment, the designated user behavior feature vector set is a subset of the global user behavior feature vector set. It is known which user identifier each global user behavior feature vector in the global user behavior feature vector set corresponds to. When the designated user identifier set is known, the designated user behavior feature vector set corresponding to the designated user identifier set can be filtered out from the global user behavior feature vector set.

[0037] S400, obtaining a preset first number of global user behavior feature vectors in the global user behavior feature vector set that have the greatest similarity to each designated user behavior feature vector, and appending the user identifier and similarity value corresponding to the global user behavior feature vector to the target user identifier set; the designated user behavior feature vector set is a subset of the global user behavior feature vector set, and the product of the preset first number and the number of designated user identifiers is greater than the preset number of target users.

[0038] In this embodiment, the target user identification set is initialized as an empty set, and the preset first number and the preset target user number are empirical values; preferably, the preset first number is the product of the ratio of the preset target user number to the number of designated user identifications and the preset target multiple, and the preset target multiple is a multiple of 10. As a specific implementation, the number of designated user identifications is 1 million, the preset target user number is 10 million, and the preset first number is 100. Then, for each designated user behavior feature vector, the top 100 global user behavior feature vectors with the greatest similarity to it are selected from the global user behavior feature vector set, so that the number of target identifications finally included in the target user identification set is 100 million. In this embodiment, the product of the preset first number and the number of designated user identifications is greater than the preset target user number, which is conducive to improving the matching degree between the target user identification and the designated item category in the target user identification set finally obtained.

[0039] In this embodiment, when the user identification and the similarity value are added to the target user identification set, any user identification and the corresponding similarity value are constructed into a tuple including two elements.

[0040] Those skilled in the art know that any method for obtaining the similarity between two vectors in the prior art falls within the protection scope of the present invention.

[0041] As a preferred specific implementation, any record included in the first user list also includes an item name set, and the item name set includes a number of item names; Figure 3 As shown, the process of obtaining the global user behavior feature vector set includes:

[0042] S401, input each item name in the item name set included in the first record into the trained neural network model respectively, and obtain the sub-feature vector corresponding to each item name in the item name set included in the first record; the first record is any record in the first user list; the trained neural network model is used to obtain the sub-feature vector corresponding to the input item name.

[0043] In this embodiment, the trained neural network model is a CoRom model, which has the ability to infer a sub-feature vector corresponding to the input item name, and the sub-feature vector can represent the information of the input item name, and the sub-feature vector is 768-dimensional. Those skilled in the art know that any method for training a neural network model in the prior art falls within the protection scope of the present invention.

[0044] It should be understood that if the number of item names in the item name set included in the first record is 20, then it needs to be input 20 times, and the number of sub-feature vectors obtained is also 20.

[0045] S402: Obtain the item category corresponding to each item name in the item name set included in the first record.

[0046] In this embodiment, there is a corresponding relationship between the item category set and the item name set included in any record in the first user list, that is, the item category to which any item name in the item name set included in any record in the first user list belongs is a certain item category in the item category set included in the record; therefore, it is sufficient to select the item category corresponding to each item name in the item name set from the item category set included in the first record.

[0047] S403: Obtain the frequency of occurrence of the item category corresponding to each item name in the item name set included in the first record in the first user list.

[0048] In this embodiment, the same item categories may exist in the item category sets included in different records in the first user list. The more frequently a certain item category appears in the first user list, the more likely it is that most users need to purchase items in this category, and this item category is a category with relatively small differences among users; the less frequently a certain item category appears in the first user list, the more likely it is that only a small number of users need to purchase items in this category, and this item category is a category with relatively large differences among users.

[0049] S404, obtaining a weight corresponding to each item name in the item name set included in the first record according to the frequency; the weight corresponding to any item name in the item name set included in the first record is negatively correlated with the frequency of the item name appearing in the first user list.

[0050] As a preferred specific implementation, the total number of item names in the item name set included in the first record is n, and the frequency of the item category corresponding to the i-th item name in the item name set included in the first record appearing in the first user list is f. i , then the weight corresponding to the i-th item name in the item name set included in the first record is w i , w i =(1-f i / ∑ n i=1 f i ) / (n-1). Thus, the greater the frequency of a certain item name in the first user list included in the item name set of the first record, the smaller the weight corresponding to the item name.

[0051] S405: Obtain a global user behavior feature vector corresponding to the user identifier included in the first record according to the weight and sub-feature vector corresponding to each item name in the item name set included in the first record.

[0052] As a preferred specific implementation, a weighted sum formula is used to obtain a global user behavior feature vector corresponding to the user identifier included in the first record. If the sub-feature vector corresponding to the i-th item name in the item name set included in the first record is H i , then the global user behavior feature vector corresponding to the user identifier included in the first record is G, G = ∑ n i=1 (H i × i ). Thus, the global user behavior feature vector corresponding to the user identifier included in the first record obtained in this embodiment can more accurately represent the behavior feature corresponding to the user identifier.

[0053] As a more preferred specific implementation, any record included in the first user list also includes time information; Figure 4 As shown, obtaining the global user behavior feature vector corresponding to the user identifier included in the first record according to the weight and sub-feature vector corresponding to each item name in the item name set included in the first record includes:

[0054] S4051: If there are other user lists except the first user list, determine whether there is a record including a first user identifier in the other user list; the first user identifier is a user identifier included in the first record.

[0055] In this embodiment, if there is no other user list except the first user list, S4052-S4053 are no longer executed, but the weighted sum formula is used to obtain the global user behavior feature vector corresponding to the user identifier included in the first record. If the sub-feature vector corresponding to the i-th item name in the item name set included in the first record is H i , then the global user behavior feature vector corresponding to the user identifier included in the first record is G, G = ∑ n i=1 (H i × i ); Thus, the global user behavior feature vector corresponding to the user identifier included in the first record obtained in this embodiment can more accurately represent the behavior feature corresponding to the user identifier.

[0056] S4052, if the other user list includes a record of the first user identifier, then obtain a first behavior feature vector corresponding to the first user identifier based on the weight and sub-feature vector corresponding to each item name in the item name set included in the first record, and obtain other behavior feature vectors corresponding to the first user identifier based on the other user list; the number of other behavior feature vectors is equal to the number of user lists in the other user list that include records of the first user identifier; any record included in the other user list includes time information.

[0057] In this embodiment, if there are user lists in the user table other than the first user list, it may be the case that some records in the first user list include the same user identifier as some records in other user lists. In this case, it is necessary not only to determine the global user behavior feature vector corresponding to the user identifier based on the first user list, but also to determine the global user behavior feature vector corresponding to the user identifier in combination with other user lists.

[0058] In this embodiment, if there is a user table user list other than the first user list, the weighted sum formula is used to obtain the first behavior feature vector. If the sub-feature vector corresponding to the i-th item name in the item name set included in the first record is H i , then the first behavior feature vector corresponding to the user identifier included in the first record is P, P = ∑ n i=1 (H i × i ).

[0059] In this embodiment, the process of obtaining the behavior feature vector corresponding to the first user identifier according to any user list is similar to the process of obtaining the first behavior feature vector corresponding to the first user identifier described above, and will not be repeated here. It should be understood that if the number of user lists in which records corresponding to the first user identifier exist in other user lists is m, then the number of other behavior feature vectors obtained is also m. It should be noted that the process of obtaining the first behavior feature vector and other behavior feature vectors is similar, where the first and other are only used to distinguish whether the behavior feature vector is obtained according to the first user list or according to other lists other than the first user list.

[0060] In this embodiment, if there is no record corresponding to the first user identifier in the list of other users, the first behavior feature vector corresponding to the first user identifier is determined as the global user behavior feature vector corresponding to the first user identifier, and the step of obtaining other behavior feature vectors corresponding to the first user identifier and S4053 are no longer performed.

[0061] S4053, obtaining a global user behavior feature vector corresponding to the first user identifier based on the first behavior feature vector corresponding to the first user identifier, other behavior feature vectors, time information included in the first record, and time information included in the target record in other user lists; the target record is a record including the first user identifier.

[0062] As a preferred specific implementation, the weight of the first behavior feature vector and the weights of other behavior feature vectors are determined based on the time information included in the first record and the time information included in the target record in other user lists, wherein the later the time corresponding to the included time information, the greater the weight of the behavior feature vector.

[0063] As a preferred specific implementation, a weighted sum formula is used to obtain the global user behavior feature vector G corresponding to the first user identifier, G = P × c + ∑ z j=1 (D j ×b j ), c is the weight of the first line feature vector, b j is the weight of the jth other behavior feature vector, D j is the jth other behavior feature vector, the value range of j is 1 to z, z is the number of other user lists except the first user list, c+∑ z j=1 b j =1, c and b j are all greater than 0. It should be understood that D j It is obtained based on the jth user list except the first user list.

[0064] As a preferred specific embodiment, Figure 5 As shown, obtaining a first preset number of global user behavior feature vectors in the global user behavior feature vector set having the greatest similarity to each designated user behavior feature vector includes:

[0065] S410, clustering the global user behavior feature vector set using a clustering algorithm to obtain a number of clusters.

[0066] Optionally, use the k-means clustering algorithm for clustering.

[0067] S420, obtaining the similarity between the first designated user behavior feature vector and the central vector of each cluster, if the similarity between the first designated user behavior feature vector and the central vector of a cluster is greater than or equal to a preset similarity threshold, then determining the cluster as a cluster associated with the first designated user behavior feature vector.

[0068] In this embodiment, the center vector of any cluster is the average of the global user behavior feature vectors included in the cluster.

[0069] In this embodiment, the preset similarity threshold is an empirical value. If the similarity between two user behavior feature vectors is greater than or equal to the preset similarity threshold, it means that the two user behavior feature vectors are relatively similar and the corresponding user behavior features are relatively similar.

[0070] S430: Perform dimensionality reduction processing on the first designated user behavior feature vector to obtain a first dimensionality reduced user behavior feature vector.

[0071] In this embodiment, the product quantization (PQ) method is used to achieve dimensionality reduction processing; those skilled in the art know that the process of dimensionality reduction processing by the PQ method is a prior art and will not be repeated here. As a specific implementation, the first designated user behavior feature vector is 768-dimensional, and the first reduced-dimensionality user behavior feature vector is 16-dimensional.

[0072] S440: Perform dimensionality reduction processing on the global user behavior feature vectors included in all clusters associated with the first specified user behavior feature vector to obtain a set of reduced-dimensional user behavior feature vectors.

[0073] S450, obtaining a preset first number of reduced dimensionality user behavior feature vectors in the reduced dimensionality user behavior feature vector set that have the greatest similarity to the first reduced dimensionality user behavior feature vector, and determining the global user behavior feature vectors corresponding to the preset first number of reduced dimensionality user behavior feature vectors as the preset first number of global user behavior feature vectors that have the greatest similarity to the first specified user behavior feature vector.

[0074] This embodiment obtains a preset first number of global user behavior feature vectors with the greatest similarity to the first specified user behavior feature vector based on the first reduced-dimensionality user behavior feature vector and the reduced-dimensionality user behavior feature vector set, and can quickly obtain a preset first number of global user behavior feature vectors with the greatest similarity to the first specified user behavior feature vector.

[0075] S500: Determine the user identifier corresponding to the similarity value of the largest number of pre-set target users in the target user identifier set as the target user identifier corresponding to the designated item category.

[0076] In this embodiment, the target user identifier corresponding to the designated item category is the object to which information related to the designated item category is to be pushed.

[0077] This embodiment obtains other item categories associated with the designated item category according to the designated item category, thereby obtaining a target item category set, wherein any item category in the target item category set is relatively similar to the designated item category; this embodiment selects user identifiers associated with the target item category set from the first user list based on the target item category set, thereby obtaining a designated user identifier set, wherein any designated user in the designated user identifier set has a behavior related to at least one item category in the target item category set; this embodiment further obtains a designated user behavior feature vector corresponding to each user identifier in the designated user identifier set, and the designated user behavior feature vector can be used to characterize the behavior characteristics of the corresponding user; by selecting the first preset number of user behavior feature vectors that are most similar to each designated user behavior feature vector from the global user behavior feature vector, this embodiment obtains user behavior feature vectors that are similar to the designated user behavior feature vector in the designated user behavior feature vector set that exceed the preset target number of users, and further obtains the preset target number of user identifiers that are most matched with the item category in the target item category set by comparing the similarity as a whole, thereby, this embodiment not only achieves the purpose of obtaining the preset target number of user identifiers, but also the matching degree of the obtained preset target number of user identifiers with the designated item category is relatively high, which can improve the scale and accuracy of the push of information related to the designated item category.

[0078] Embodiment 2:

[0079] This embodiment provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the following steps are implemented:

[0080] A target item category set is obtained according to a specified item category and an associated item category list; the target item category set includes the specified item category and item categories associated with the specified item category, the associated item category list includes a plurality of records, and any record includes an item category and an item category associated with the item category.

[0081] A designated user identification set is obtained according to a first user list and a target item category set; the first user list includes a plurality of records, any record includes a user identification and an item category set corresponding to the user identification; the item category set corresponding to any user identification includes a plurality of item categories; the designated user identification set includes a plurality of designated user identifications, and the item category set corresponding to any designated user identification includes at least one item category in the target item category set.

[0082] A designated user behavior feature vector set corresponding to the designated user identification set is obtained; the designated user behavior feature vector set includes a designated user behavior feature vector corresponding to each designated user identification.

[0083] A preset first number of global user behavior feature vectors having the greatest similarity with each designated user behavior feature vector in the global user behavior feature vector set are obtained, and user identifiers and similarity values ​​corresponding to the global user behavior feature vectors are added to a target user identifier set; the designated user behavior feature vector set is a subset of the global user behavior feature vector set, and the product of the preset first number and the number of designated user identifiers is greater than a preset number of target users.

[0084] The user identification corresponding to the similarity value of the largest number of pre-set target users in the target user identification set is determined as the target user identification corresponding to the designated item category.

[0085] Embodiment three:

[0086] This embodiment provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented:

[0087] A target item category set is obtained according to a specified item category and an associated item category list; the target item category set includes the specified item category and item categories associated with the specified item category, the associated item category list includes a plurality of records, and any record includes an item category and an item category associated with the item category.

[0088] A designated user identification set is obtained according to a first user list and a target item category set; the first user list includes a plurality of records, any record includes a user identification and an item category set corresponding to the user identification; the item category set corresponding to any user identification includes a plurality of item categories; the designated user identification set includes a plurality of designated user identifications, and the item category set corresponding to any designated user identification includes at least one item category in the target item category set.

[0089] A designated user behavior feature vector set corresponding to the designated user identification set is obtained; the designated user behavior feature vector set includes a designated user behavior feature vector corresponding to each designated user identification.

[0090] A preset first number of global user behavior feature vectors having the greatest similarity with each designated user behavior feature vector in the global user behavior feature vector set are obtained, and user identifiers and similarity values ​​corresponding to the global user behavior feature vectors are added to a target user identifier set; the designated user behavior feature vector set is a subset of the global user behavior feature vector set, and the product of the preset first number and the number of designated user identifiers is greater than a preset number of target users.

[0091] The user identification corresponding to the similarity value of the largest number of pre-set target users in the target user identification set is determined as the target user identification corresponding to the designated item category.

[0092] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0093] Although some specific embodiments of the present invention have been described in detail by way of example, it will be appreciated by those skilled in the art that the above examples are for illustration only and are not intended to limit the scope of the present invention. It will also be appreciated by those skilled in the art that various modifications may be made to the embodiments without departing from the scope and spirit of the present invention. The scope of the present invention is defined by the appended claims.

Claims

1. A method for processing user behavior characteristics, characterized in that: The processing method comprises the following steps: Acquire a target item category set according to a specified item category and a list of associated item categories; the target item category set includes the specified item category and item categories associated with the specified item category, the list of associated item categories includes a plurality of records, and any record includes an item category and an item category associated with the item category; Acquire a designated user identification set according to a first user list and a target item category set; the first user list includes a plurality of records, any record includes a user identification and an item category set corresponding to the user identification; the item category set corresponding to any user identification includes a plurality of item categories; the designated user identification set includes a plurality of designated user identifications, and the item category set corresponding to any designated user identification includes at least one item category in the target item category set; Obtaining a specified user behavior feature vector set corresponding to a specified user identification set; the specified user behavior feature vector set includes a specified user behavior feature vector corresponding to each specified user identification; Obtaining a preset first number of global user behavior feature vectors with the greatest similarity to each designated user behavior feature vector in the global user behavior feature vector set, and appending the user identifiers and similarity values ​​corresponding to the global user behavior feature vectors to the target user identifier set; the designated user behavior feature vector set is a subset of the global user behavior feature vector set, and the product of the preset first number and the number of designated user identifiers is greater than the preset number of target users; The user identification corresponding to the similarity value of the largest number of pre-set target users in the target user identification set is determined as the target user identification corresponding to the designated item category.

2. The method for processing user behavior characteristics according to claim 1, characterized in that: Any record included in the first user list also includes an item name set, and the item name set includes several item names; the acquisition process of the global user behavior feature vector set includes: Input each item name in the item name set included in the first record into the trained neural network model, and obtain a sub-feature vector corresponding to each item name in the item name set included in the first record; the first record is any record in the first user list; the trained neural network model is used to obtain the sub-feature vector corresponding to the input item name; Obtain the item category corresponding to each item name in the item name set included in the first record; Obtaining the frequency of occurrence of an item category corresponding to each item name in the item name set included in the first record in the first user list; Obtaining a weight corresponding to each item name in the item name set included in the first record according to the frequency; the weight corresponding to any item name in the item name set included in the first record is negatively correlated with the frequency of the item name appearing in the first user list; A global user behavior feature vector corresponding to the user identifier included in the first record is obtained according to the weight and the sub-feature vector corresponding to each item name in the item name set included in the first record.

3. The method for processing user behavior characteristics according to claim 1, characterized in that: Any record included in the first user list also includes time information; obtaining a global user behavior feature vector corresponding to the user identifier included in the first record according to the weight and sub-feature vector corresponding to each item name in the item name set included in the first record includes: If there are other user lists except the first user list, determining whether there is a record including a first user identifier in the other user lists; the first user identifier is a user identifier included in the first record; If the other user list includes a record of the first user identifier, a first behavior feature vector corresponding to the first user identifier is obtained according to a weight and a sub-feature vector corresponding to each item name in the item name set included in the first record, and other behavior feature vectors corresponding to the first user identifier are obtained according to the other user list; the number of other behavior feature vectors is equal to the number of user lists including the record of the first user identifier in the other user list; any record included in the other user list includes time information; The global user behavior feature vector corresponding to the first user identifier is obtained according to the first behavior feature vector corresponding to the first user identifier, other behavior feature vectors, time information included in the first record and time information included in the target record in other user lists; the target record is a record including the first user identifier.

4. The method for processing user behavior characteristics according to claim 1, characterized in that: Obtaining a first preset number of global user behavior feature vectors having the greatest similarity to each designated user behavior feature vector in the global user behavior feature vector set includes: Use clustering algorithm to cluster the global user behavior feature vector set to obtain several clusters; Obtaining the similarity between the first designated user behavior feature vector and the central vector of each cluster, if the similarity between the first designated user behavior feature vector and the central vector of a cluster is greater than or equal to a preset similarity threshold, determining the cluster as a cluster associated with the first designated user behavior feature vector; the first designated user behavior feature vector is any designated user behavior feature vector; Performing dimensionality reduction processing on the first specified user behavior feature vector to obtain a first dimensionality reduced user behavior feature vector; Performing dimensionality reduction processing on the global user behavior feature vectors included in all clusters associated with the first specified user behavior feature vector to obtain a set of reduced-dimensional user behavior feature vectors; A preset first number of reduced dimensionality user behavior feature vectors having the greatest similarity to the first reduced dimensionality user behavior feature vector in the reduced dimensionality user behavior feature vector set are obtained, and a global user behavior feature vector corresponding to the preset first number of reduced dimensionality user behavior feature vectors is determined as a preset first number of global user behavior feature vectors having the greatest similarity to the first specified user behavior feature vector.

5. The method for processing user behavior characteristics according to claim 1, characterized in that: The preset first number is the product of the ratio of the preset target number of users to the number of designated user identifiers and a preset target multiple, where the preset target multiple is a multiple of ten.

6. The method for processing user behavior characteristics according to claim 3, characterized in that: Obtaining the global user behavior feature vector corresponding to the user identifier included in the first record based on the weight and sub-feature vector corresponding to each item name in the item name set included in the first record also includes: if there are no other user lists except the first user list, determining the first behavior feature vector corresponding to the first user identifier as the global user behavior feature vector corresponding to the first user identifier.

7. The method for processing user behavior characteristics according to claim 3, characterized in that: Obtaining the global user behavior feature vector corresponding to the user identifier included in the first record based on the weight and sub-feature vector corresponding to each item name in the item name set included in the first record also includes: if there is no record corresponding to the first user identifier in the other user list, determining the first behavior feature vector corresponding to the first user identifier as the global user behavior feature vector corresponding to the first user identifier.

8. The method for processing user behavior characteristics according to claim 1, characterized in that: Acquiring a designated user identification set according to the first user list and the target item category set includes: Traversing the first user list, if a record included in the first user list includes at least one item category in the target item category set, then appending the user identifier included in the record to a preset user identifier set; the preset user identifier set is initialized to an empty set; After the traversal is completed, the preset user identification set is determined as the designated user identification set.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method for processing user behavior characteristics as described in any one of claims 1 to 8 is implemented.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method for processing user behavior characteristics as described in any one of claims 1 to 8 is implemented.

Citation Information

Patent Citations

  • Product information recommendation method and device

    CN111861569A

  • Consumer purchase intention prediction method and device, electronic equipment and storage medium

    CN115456656A

  • Product recommendation method and device, storage medium and electronic equipment

    CN117132329A

  • Product information transmission method and device, equipment and storage medium

    CN117575655A

  • Commodity recommendation model training and application method and electronic equipment

    CN118586979A