Method and device for determining item category

By analyzing user transaction behavior and item description information, we calculate the matching degree between items and categories, solving the problem of inaccurate categories selected by merchants on the e-commerce platform, achieving accurate judgment of item categories and improving the shopping experience.

CN110766486BActive Publication Date: 2024-10-22BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201810743678.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2018-07-09
Publication Date
2024-10-22
Estimated Expiration
2038-07-09

AI Technical Summary

Technical Problem

In the e-commerce platform's product data management, due to the inaccurate selection of categories by merchants, it leads to errors in product classification management and poor customer shopping experience, and it is impossible to effectively judge the accuracy of the category to which the product belongs.

Method used

By analyzing the user's transaction behavior data and preset category data, determine the keywords of each category, determine the keywords of the item based on the item's description information, calculate the matching degree between the item and the category, and objectively determine where the item belongs Categories, optimize the category determination algorithm to improve accuracy.

Benefits of technology

It achieves objective and accurate judgment of item categories, avoids classification management errors and poor shopping experience, and improves the efficiency of the search system and customer satisfaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110766486B_ABST
    Figure CN110766486B_ABST
Patent Text Reader

Abstract

The present invention discloses a method and device for determining the category of an item, and relates to the field of computer technology. A specific implementation of the method includes: determining the keywords of each category based on the transaction behavior data of the user and the preset category data, determining the keywords of the item based on the description information of the item; and determining the category to which the item belongs based on the keywords of each category and the keywords of the item. This implementation objectively and accurately determines the category to which the item belongs by analyzing the existing data, thereby avoiding the errors and inconveniences in the item classification management caused by the merchant's self-selection of the item category, and the poor customer shopping experience caused by the failure to search for the desired item or the searched item not meeting the customer's needs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a method and device for determining an item category. Background Art

[0002] At present, with the development of the e-commerce industry, more and more merchants have begun to sell their products on various e-commerce platforms, which has led to a rapid increase in product data and brought huge challenges to the product data management and application systems of e-commerce platforms. When managing product data, e-commerce platforms generally need to classify products, that is, to classify products using the appropriate basic characteristics of the selected products as classification marks, and gradually classify the products into several smaller sub-aggregates (i.e., categories) with more consistent characteristics, such as major categories, medium categories, minor categories, detailed categories, and even varieties and details, so that all products can be clearly distinguished and systematized.

[0003] The category of a product is a very important product attribute. In the search system, the category of a product, as an important filtering information, largely determines whether the product can be searched by customers. At present, the product category is mainly selected by merchants themselves, and there is no measurement of the accuracy and objective evaluation of the category to which the product belongs. When faced with a huge number of products, there will be a large error if only the categories selected by the merchant are relied upon, which will directly lead to the merchant's products not being searched by customers, or the products searched by users do not meet user needs, which seriously affects the customer's shopping experience. Therefore, how to accurately determine the category of a product has become a problem that needs to be urgently solved by various systems on e-commerce platforms. Summary of the invention

[0004] In view of this, an embodiment of the present invention provides a method and device for determining the category of an item, which can objectively and accurately determine the category to which an item belongs by analyzing existing data, thereby avoiding errors and inconveniences in item classification management caused by merchants selecting item categories on their own, and poor customer shopping experience caused by not being able to search for the desired items or the searched items not meeting customer needs.

[0005] To achieve the above objective, according to one aspect of an embodiment of the present invention, a method for determining an item category is provided.

[0006] A method for determining an item category comprises: determining a keyword for each category based on transaction behavior data of a user and preset category data, and determining the keyword for the item based on description information of the item; and determining the category to which the item belongs based on the keyword for each category and the keyword for the item.

[0007] Optionally, the step of determining the keywords of each category based on the user's transaction behavior data and preset category data includes: obtaining the search term input by the user based on the user's transaction behavior data; for each search term, according to the preset category data, respectively counting the categories to which the items sold according to the search term belong and the transaction data of each category; using the search term as the keyword of the category with transaction data that meets predetermined rules, thereby determining the keyword of each category.

[0008] Optionally, the step of determining keywords of the item based on the description information of the item includes: segmenting the description information of the item, then filtering the words obtained after the segmentation to delete designated words, and using the words obtained after the filtering as keywords of the item.

[0009] Optionally, the step of determining the category to which the item belongs based on the keywords of each category and the keywords of the item includes: respectively calculating the matching degree of the keywords of the item with the keywords of each category; and determining the category corresponding to the keyword whose matching degree with the keyword of the item is not less than a predetermined threshold as the category to which the item belongs.

[0010] Optionally, the matching degree between the keyword of the item and the keyword of the category is calculated by calculating the Jaccard similarity coefficient between the keyword of the item and the keyword of the category.

[0011] Optionally, the method further includes: calculating a correlation score between the item and the category based on a matching degree between the keywords of the item and the keywords of the category to which the item belongs and a sales share of the item in the category, so as to evaluate the degree of correlation between the item and the category.

[0012] According to another aspect of an embodiment of the present invention, a device for determining an item category is provided.

[0013] A device for determining the category of an item, comprising: a keyword determination module, used to determine the keywords of each category based on user transaction behavior data and preset category data, and to determine the keywords of the item based on the description information of the item; and a category determination module, used to determine the category to which the item belongs based on the keywords of each category and the keywords of the item.

[0014] Optionally, the keyword determination module is also used to: obtain the search term input by the user based on the user's transaction behavior data; for each search term, according to preset category data, respectively count the categories to which the items sold according to the search term belong and the transaction data of each category; use the search term as the keyword of the category with transaction data that meets predetermined rules, thereby determining the keyword of each category.

[0015] Optionally, the keyword determination module is further used to: segment the description information of the item, then filter the words obtained after the segmentation to delete designated words, and use the words obtained after the screening as keywords of the item.

[0016] Optionally, the category determination module is further used to: respectively calculate the matching degree between the keyword of the item and the keyword of each category; and determine the category corresponding to the keyword whose matching degree with the keyword of the item is not less than a predetermined threshold as the category to which the item belongs.

[0017] Optionally, the matching degree between the keyword of the item and the keyword of the category is calculated by calculating the Jaccard similarity coefficient between the keyword of the item and the keyword of the category.

[0018] Optionally, the device also includes a correlation evaluation module, which is used to calculate the correlation score between the item and the category based on the matching degree between the keywords of the item and the keywords of the category to which the item belongs and the sales share of the item in the category, so as to evaluate the correlation between the item and the category.

[0019] According to yet another aspect of an embodiment of the present invention, an electronic device for determining a category of an item is provided.

[0020] An electronic device for determining item categories, comprising: one or more processors; a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement a method for determining item categories provided in an embodiment of the present invention.

[0021] According to still another aspect of the embodiments of the present invention, a computer readable medium is provided.

[0022] A computer-readable medium stores a computer program, which, when executed by a processor, implements a method for determining an item category provided in an embodiment of the present invention.

[0023] One embodiment of the above invention has the following advantages or beneficial effects: by analyzing the transaction behavior data of the user and the preset category data to determine the keywords of each category, by analyzing the description information of the item to determine the keywords of each item, and then determining the category to which each item belongs according to the keywords of each category and the keywords of each item, it is realized that by analyzing the existing data, the category to which the item belongs can be objectively and accurately judged, thereby avoiding the errors and inconveniences in the item classification management caused by the merchant's self-selection of the item category, and the poor customer shopping experience caused by the failure to search for the desired item or the searched item not meeting the customer's needs. At the same time, by evaluating the degree of association between the item and the category, the algorithm for determining the item category can be optimized to further improve the accuracy of the determined category to which the item belongs; and by using the evaluation results in the search system, the customer's search and shopping experience can also be improved.

[0024] The further effects of the above-mentioned non-conventional optional manner will be described below in conjunction with the specific implementation manner. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] The accompanying drawings are used to better understand the present invention and do not constitute an improper limitation of the present invention.

[0026] Figure 1 is a schematic diagram of main steps of a method for determining an item category according to an embodiment of the present invention;

[0027] Figure 2 It is a schematic diagram of the implementation principle of an embodiment of the present invention;

[0028] Figure 3 is a schematic diagram of main modules of a device for determining an item category according to an embodiment of the present invention;

[0029] Figure 4 is an exemplary system architecture diagram to which embodiments of the present invention may be applied;

[0030] Figure 5 It is a schematic diagram of the structure of a computer system of a terminal device or a server suitable for implementing an embodiment of the present invention. DETAILED DESCRIPTION

[0031] The following is a description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, including various details of the embodiments of the present invention to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present invention. Similarly, for clarity and conciseness, the description of well-known functions and structures is omitted in the following description.

[0032] In order to solve the problems raised in the prior art, the present invention provides a method for determining the category of an item. The category to which the item belongs can be determined by analyzing the user's transaction behavior data, preset category data and the item's description information. At the same time, the degree of association between existing items and the categories to which they belong can be objectively evaluated to facilitate operations such as modifying the item's category.

[0033] Figure 1 Schematic diagram of the main steps of the method for determining the category of an item according to an embodiment of the present invention. Figure 1 As shown, the method for determining the item category according to the embodiment of the present invention mainly includes the following steps S101 and S102.

[0034] Step S101: determining keywords for each category based on the user's transaction behavior data and preset category data, and determining keywords for items based on the item's description information.

[0035] In the implementation of the present invention, the category corresponding to the goods on the e-commerce platform is taken as an example for introduction. Among them, the transaction behavior data of the user includes, for example, the data of the goods purchased by the user (for example: the name, price, brand, attributes, etc. of the goods), and the search, browsing and other behavior data performed by the user to purchase the goods. In the present invention, the log data of the user's search, browsing, purchase, comment and other behaviors recorded by the log system are aggregated, cleaned, filtered and processed to obtain the user's transaction behavior data.

[0036] Specifically, when cleaning the user's behavior log, you can follow the following rules:

[0037] 1. Delete the user data ranked in the top 1% (which can be adjusted flexibly as needed) in terms of page views. Since most of this data is non-human data, it may be caused by operations such as fake orders;

[0038] 2. Delete data without user identification;

[0039] 3. Delete data whose source cannot be determined, such as data without IP (Internet Protocol, a protocol for interconnecting networks) addresses;

[0040] 4. Delete the access data of the IP addresses included in the blacklist.

[0041] By cleaning the user's behavior log, illegal data can be filtered out, so that when performing data analysis, only legal and real user behavior data can be processed. In addition, after cleaning the user's behavior log, the real user behavior data needs to be screened to obtain the user's transaction behavior data.

[0042] After obtaining the user's transaction behavior data, the keywords of each category can be determined according to the user's transaction behavior data and the preset category data. The preset category data refers to the categories planned by the system for the convenience of classifying and managing items. The present invention is to classify items into preset categories.

[0043] Specifically, when determining the keywords for each category, you can follow the steps below:

[0044] Obtain the search term input by the user according to the user's transaction behavior data;

[0045] For each search term, according to the preset category data, the categories to which the items sold according to the search term belong and the transaction data of each category are counted respectively;

[0046] The search term is used as a keyword for a category having transaction data satisfying a predetermined rule, thereby determining a keyword for each category.

[0047] In one embodiment of the present invention, the transaction behavior data of all users in the recent year saved in the system are selected. For each transaction behavior data, the corresponding search term when the user purchases a product in a certain category can be obtained. By analyzing all transaction behavior data, the search term input by the user when purchasing products in each category can be obtained. Since there are many kinds of products in each category, there will be many search terms input by the user when purchasing products in each category. These search terms constitute a search term set.

[0048] For each search term in the search term set, the transaction data of each category corresponding to the search term can be counted separately. Furthermore, the category corresponding to the search term refers to the category to which the goods sold according to the search term belong. The transaction data includes, for example, the number of transactions, and / or the transaction ratio. Assuming that the user searches for goods and trades through "search term 1", the categories of transactions include category A, category B and category C. By counting the number of goods corresponding to "search term 1" in category A, category B and category C, the number of transactions and the transaction ratio corresponding to the three categories A, category B and category C can be obtained.

[0049] Then, based on the transaction data of each category and the predetermined rules, it can be determined whether the search term should belong to the keyword of a certain category. Specifically, assuming that the predetermined rule that the transaction data must meet is that the transaction ratio is higher than 80%, then when the number of transactions in a certain category corresponding to the search term accounts for 80% or more of the sum of the number of transactions in all categories corresponding to the search term, the search term can be determined as the keyword of the category; assuming that the predetermined rule that the transaction data must meet is the largest number of transactions, then when a certain category has the largest number of transactions among all categories corresponding to the search term, the search term can be determined as the keyword of the category. In the specific application process, the predetermined rules that the transaction data must meet can be flexibly set as needed, and are not limited to the examples listed above.

[0050] Based on the content introduced above, the keywords for each category can be determined based on the user's transaction behavior data and the preset category data.

[0051] According to another embodiment of the present invention, when determining keywords of an item according to the description information of the item, the following steps may be specifically performed:

[0052] The description information of the item is segmented, and then the words obtained after the segmentation are filtered to delete the specified words, and the words obtained after the filtering are used as keywords of the item.

[0053] Specifically, in the field of e-commerce, when segmenting the description information of an item, the main thing is to segment the description information such as the title and attributes of the product. The description information of a product generally includes the name, brand, origin, specifications and other information of the product. When segmenting the description information of a product, different segmentation rules can be formulated according to the characteristics of the usage scenario. For example, the word library corresponding to the commonly used segmentation method is supplemented or modified to obtain an applicable segmentation word library, and then the applicable segmentation word library is used for segmentation. Commonly used segmentation methods such as word segmentation, stuttering segmentation, KCWS segmenter, etc. can all be used to implement the segmentation function of the present invention.

[0054] After the description information of the item is segmented, the words obtained after the segmentation need to be screened. According to the pre-saved specified word list, the specified words included in the words obtained after the segmentation can be deleted, and the remaining words after deleting the specified words are used as keywords of the item. Among them, the specified words generally refer to meaningless words, such as auxiliary words, interjections, punctuation marks, etc. For example: after the description information of the item "Hot selling 10,000 units 32G XX mobile phone red" is segmented, the words obtained are: hot selling, 1W, units, 32G, XX, mobile phone, red, among which "hot selling" is a meaningless word saved in the specified word list and needs to be deleted, so the keywords corresponding to the item are: 1W, units, 32G, XX, mobile phone, red.

[0055] According to the steps described above, the keywords corresponding to the items can be determined according to the description information of the items.

[0056] After obtaining the keywords of each category and the keywords of the item, step S102 may be executed to determine the category to which the item belongs.

[0057] Step S102: Determine the category to which the item belongs based on the keywords of each category and the keywords of the item.

[0058] Specifically, step S102 may be performed in the following manner:

[0059] Calculate the matching degree between the keywords of the item and the keywords of each category respectively;

[0060] The category corresponding to the keyword whose matching degree with the keyword of the item is not less than a predetermined threshold is determined as the category to which the item belongs, thereby determining the category to which the item belongs.

[0061] In one embodiment of the present invention, the matching degree between the keyword of the item and the keyword of the category is calculated by calculating the Jaccard similarity coefficient between the keyword of the item and the keyword of the category.

[0062] The Jaccard similarity coefficient, also known as the Jaccard coefficient, is mainly used to compare the similarities and differences between finite sample sets. The larger the Jaccard coefficient value, the higher the sample similarity. In the embodiment of the present invention, assuming that A is the keyword set of the item and B is the keyword set of the category, the matching degree Score between the keyword of the item and the keyword of the category is jaccard It can be calculated according to the following formula (1):

[0063]

[0064] Among them, |A∩B| refers to the number of words that completely match in A and B, and |A∪B| refers to the number of words in the union of A and B. Since the keywords of the items and the keywords of the categories are both finite sets in the present invention, the Jaccard similarity coefficient is selected to calculate the matching degree between the two, and the processing process is simple, intuitive, efficient, and the calculation result is accurate.

[0065] In addition, when calculating the matching degree between the keywords of the item and the keywords of the category, other similarity comparison methods may be selected as needed, such as: cosine similarity, Manhattan distance, Euclidean distance, etc. Taking the use of cosine similarity to calculate the matching degree between the keywords of the item and the keywords of the category as an example, the corresponding word vectors can be obtained by performing feature extraction on the keywords of the item and the keywords of the category respectively, and then the cosine similarity is calculated based on the word vectors of the keywords of the item and the word vectors of the keywords of the category to obtain the matching degree between the keywords of the item and the keywords of the category. In specific applications, the similarity comparison method can be flexibly selected as needed to calculate the matching degree between the keywords of the item and the keywords of the category, and the present invention does not limit this.

[0066] After obtaining the matching degree between the keyword of the item and the keyword of the category, a predetermined threshold is set to determine the category of the keyword whose matching degree with the keyword of the item is not less than the predetermined threshold as the category to which the item belongs. Assuming that the predetermined threshold is 0.8, the category of the keyword whose matching degree with the keyword of the commodity is higher than 0.8 can be determined as the category to which the item belongs. When setting the predetermined threshold, a value between 0 and 1 that meets the requirements can be selected after analyzing a large amount of data.

[0067] According to the above-mentioned steps S101 and S102, the keywords of each category can be obtained by analyzing the user's transaction behavior data and the preset category data, and the keywords of the item can be obtained by analyzing the description information of the item. Then, the category keywords and the item keywords are used to determine the category to which the item belongs, thereby realizing objective judgment of the category to which the item belongs through analysis of existing data.

[0068] In addition, the present invention can also evaluate the accuracy of the determined categories, that is, evaluate the degree of association between the items and the categories. Application scenarios include: after a period of time (for example, one month), it is necessary to determine whether it is appropriate or accurate to classify an item into the category to which it belongs; another example is: it is necessary to determine whether the category selected by the merchant for the product is accurate; another example is: verifying the algorithm for determining the item category information described in step S101 and step S102 and providing a basis for modification, etc. Therefore, the present application can not only determine the category to which the item belongs, but also improve the accuracy of the category specified for the item by updating the category to which the item belongs. Furthermore, the process of updating the category to which the item belongs can be implemented periodically. When it is detected that the accuracy of an item belonging to a certain category is lower than the accuracy threshold, the item can be automatically updated to a category that better matches it, or a notification can be sent to the merchant or administrator and a category can be recommended so that the merchant or administrator can update the category to which the item belongs.

[0069] Specifically, in the embodiment of the present invention, the accuracy of an item belonging to a certain category is calculated by considering two aspects. First, the accuracy of an item belonging to a certain category is analyzed from the user behavior. Generally, in the search process, if an item has a transaction, it means that the category of the item is credible. Therefore, whether an item has a transaction can indicate to a certain extent whether its corresponding category is accurate; secondly, the accuracy of an item belonging to a certain category is analyzed from the matching degree between the item keyword and the category keyword. By combining the two, the accuracy of an item belonging to a certain category can be accurately and objectively evaluated.

[0070] In an embodiment of the present invention, the correlation score between an item and the category to which it belongs is calculated to evaluate the correlation between the item and the category, that is, the correlation score between the item and the category is calculated based on the matching degree between the keyword of the item and the keyword of the category to which the item belongs and the transaction behavior data of the user, so as to evaluate the correlation between the item and the category, thereby evaluating the accuracy of the determined category.

[0071] In one embodiment of the present invention, the correlation score Score between item i and category j to which it belongs is calculated by the following formula (2): i_j :

[0072]

[0073] Among them, MonthGmv i_j MonthGmv is the sales data (e.g., transaction amount, number of units sold, etc.) of item i under category j in the most recent period (e.g., one month); j Score is the sales data (e.g., transaction amount, sales volume, etc.) of the entire category j in the most recent period (e.g., one month); jaccard is the matching degree between the keywords of item i and the keywords of category j to which it belongs, calculated according to formula (1); α and β are weight coefficients, ranging between 0 and 1, and α+β=1.

[0074] In one embodiment of the present invention, more consideration is given to the impact of the sales proportion of item i under the specified category j on the association score between item i and the category j to which it belongs. Therefore, α is set to 0.7 in the system. This is because analysis of transaction data shows that: the higher the proportion of transaction amount under a specific category, the greater the probability that the item belongs to the specific category. For example: taking the sales proportion of two products under the "mobile phone" category as an example, the sales proportion of product 1 with the title "Hot-selling 10,000 units 32G Huawei mobile phone red" will be much higher than the sales proportion of product 2 with the title "All-inclusive anti-fall frosted hard shell mobile phone case for women". Therefore, the probability that product 1 belongs to the "mobile phone" category is much greater than that of product 2. At the same time, the text relevance must also be considered, that is: the matching degree of item keywords and category keywords, and β can be set to 0.3. Finally, output Score i_j , that is, the correlation between item i and category j to which it belongs, or the accuracy with which item i belongs to category j, where category j is selected by the merchant or previously determined by the system calculation.

[0075] By setting the weight coefficients α and β, we can accurately obtain the correlation score between item i and its category j. i_j The larger it is, the higher the correlation between item i and category j is, and the higher the accuracy of item i belonging to category j is.

[0076] By calculating the correlation score between item i and category j, the category to which the item belongs can be adjusted based on the correlation score. It can also be used to evaluate the accuracy of the category selected by the merchant. In search sorting, the correlation score can be used as an adjustment factor to sort items based on the correlation score in order to recommend items that are likely to be purchased to users, etc.

[0077] Figure 2 Schematic diagram of the implementation principle of an embodiment of the present invention. Figure 2 As shown, by cleaning the user behavior log to delete illegal data, legal user behavior data can be obtained, and then the user's transaction behavior data can be screened out from the legal user behavior data. According to the user's transaction behavior data and the preset category data, the keywords of each category can be analyzed and obtained; by segmenting the description information of the item and deleting the specified meaningless words, the keywords of each item can be obtained; then, by calculating the matching degree between the keywords of each category and the keywords of each item, the category to which each item belongs can be obtained; finally, according to the matching degree between the keywords of the category and the keywords of the item and the user's transaction behavior data, the correlation score between the item and its category can be calculated, thereby evaluating the accuracy of the determined category of the item.

[0078] Figure 3Schematic diagram of the main modules of the device for determining the category of an item according to an embodiment of the present invention. Figure 3 As shown, the device 300 for determining the item category according to the embodiment of the present invention mainly includes a keyword determination module 301 and a category determination module 302 .

[0079] The keyword determination module 301 is used to determine the keywords of each category according to the transaction behavior data of the user and the preset category data, and to determine the keywords of the item according to the description information of the item;

[0080] The category determination module 302 is used to determine the category to which the item belongs based on the keywords of each category and the keywords of the item.

[0081] According to an embodiment of the present invention, the keyword determination module 301 may also be used to:

[0082] Obtain the search term input by the user according to the user's transaction behavior data;

[0083] For each search term, according to the preset category data, the categories to which the items sold according to the search term belong and the transaction data of each category are counted respectively;

[0084] The search term is used as a keyword for a category having transaction data satisfying a predetermined rule, thereby determining a keyword for each category.

[0085] According to another embodiment of the present invention, the keyword determination module 301 may also be used for:

[0086] The description information of the item is segmented, and then the words obtained after the segmentation are filtered to delete the specified words, and the words obtained after the screening are used as keywords of the item.

[0087] According to yet another embodiment of the present invention, the category determination module 302 may also be used to:

[0088] Calculate the matching degree between the keywords of the item and the keywords of each category respectively;

[0089] The category corresponding to the keyword whose matching degree with the keyword of the item is not less than a predetermined threshold is determined as the category to which the item belongs.

[0090] According to the technical solution of the embodiment of the present invention, the matching degree between the keyword of the item and the keyword of the category is calculated by calculating the Jaccard similarity coefficient between the keyword of the item and the keyword of the category.

[0091] In addition, the device 300 for determining the item category in the embodiment of the present invention may further include a correlation evaluation module (not shown in the figure) for:

[0092] Based on the matching degree between the keywords of the item and the keywords of the category to which the item belongs and the sales proportion of the item in the category, the correlation score between the item and the category is calculated to evaluate the degree of correlation between the item and the category.

[0093] According to the technical solution of the embodiment of the present invention, by analyzing the transaction behavior data of the user and the preset category data to determine the keywords of each category, by analyzing the description information of the item to determine the keywords of each item, then according to the keywords of each category and the keywords of each item, the category to which each item belongs is determined, so that the existing data can be analyzed to objectively and accurately determine the category to which the item belongs, thereby avoiding the errors and inconveniences in the item classification management caused by the merchant's self-selection of the item category, and the poor customer shopping experience caused by the search for the desired item or the searched item not meeting the customer's needs. At the same time, by evaluating the degree of association between the item and the category, the algorithm for determining the item category can be optimized to further improve the accuracy of the determined category to which the item belongs; and by using the evaluation results in the search system, the customer's search and shopping experience can also be improved.

[0094] Figure 4 An exemplary system architecture 400 is shown to which the method for determining item categories or the apparatus for determining item categories according to the embodiments of the present invention can be applied.

[0095] like Figure 4 As shown, system architecture 400 may include terminal devices 401, 402, 403, network 404 and server 405. Network 404 is used to provide a medium for communication links between terminal devices 401, 402, 403 and server 405. Network 404 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.

[0096] Users can use terminal devices 401, 402, 403 to interact with server 405 through network 404 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 401, 402, 403, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only as examples).

[0097] The terminal devices 401 , 402 , and 403 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, and desktop computers.

[0098] The server 405 may be a server that provides various services, such as a backend management server (only an example) that provides support for shopping websites browsed by users using the terminal devices 401, 402, and 403. The backend management server may analyze and process the received data such as product information query requests, and feed back the processing results (such as target push information, product information - only an example) to the terminal device.

[0099] It should be noted that the method for determining the item category provided in the embodiment of the present invention is generally executed by the server 405 , and accordingly, the device for determining the item category is generally disposed in the server 405 .

[0100] It should be understood that Figure 4 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.

[0101] Reference below Figure 5 , which shows a schematic diagram of the structure of a computer system 500 of a terminal device or a server suitable for implementing an embodiment of the present invention. Figure 5 The terminal device or server shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0102] like Figure 5 As shown, the computer system 500 includes a central processing unit (CPU) 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage part 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the system 500 are also stored. The CPU 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.

[0103] The following components are connected to the I / O interface 505: an input section 506 including a keyboard, a mouse, etc.; an output section 507 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 508 including a hard disk, etc.; and a communication section 509 including a network interface card such as a LAN card, a modem, etc. The communication section 509 performs communication processing via a network such as the Internet. A drive 510 is also connected to the I / O interface 505 as needed. A removable medium 511, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 510 as needed, so that a computer program read therefrom is installed into the storage section 508 as needed.

[0104] In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 509, and / or installed from the removable medium 511. When the computer program is executed by the central processing unit (CPU) 501, the above-mentioned functions defined in the system of the present invention are executed.

[0105] It should be noted that the computer-readable medium shown in the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0106] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0107] The units or modules involved in the embodiments of the present invention may be implemented in software or hardware. The units or modules described may also be provided in a processor. For example, they may be described as follows: a processor includes a keyword determination module and a category determination module. The names of these units or modules do not, in some cases, constitute limitations on the units or modules themselves. For example, the keyword determination module may also be described as "a module for determining keywords for each category based on user transaction behavior data and preset category data, and determining keywords for the item based on the item's description information."

[0108] As another aspect, the present invention further provides a computer-readable medium, which may be included in the device described in the above embodiment; or may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device includes: determining keywords for each category based on the user's transaction behavior data and preset category data, determining keywords for the item based on the item's description information; and determining the category to which the item belongs based on the keywords for each category and the keywords for the item.

[0109] According to the technical solution of the embodiment of the present invention, by analyzing the transaction behavior data of the user and the preset category data to determine the keywords of each category, by analyzing the description information of the item to determine the keywords of each item, then according to the keywords of each category and the keywords of each item, the category to which each item belongs is determined, so that the existing data can be analyzed to objectively and accurately determine the category to which the item belongs, thereby avoiding the errors and inconveniences in the item classification management caused by the merchant's self-selection of the item category, and the poor customer shopping experience caused by the search for the desired item or the searched item not meeting the customer's needs. At the same time, by evaluating the degree of association between the item and the category, the algorithm for determining the item category can be optimized to further improve the accuracy of the determined category to which the item belongs; and by using the evaluation results in the search system, the customer's search and shopping experience can also be improved.

[0110] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for determining an item category, characterized in that: include: Determine the keywords of each category based on the user's transaction behavior data and preset category data, and determine the keywords of the item based on the item's description information; Determine the category to which the item belongs based on the keywords of each category and the keywords of the item; The step of determining the keywords of each category according to the transaction behavior data of the user and the preset category data includes: obtaining the search words input by the user according to the transaction behavior data of the user; the transaction behavior data includes the behavior data of the user searching, browsing, purchasing and commenting on the goods; for each search word, according to the preset category data, respectively counting the categories to which the items sold according to the search word belong and the transaction data of each category; using the search word as the keyword of the category with transaction data satisfying the predetermined rules, thereby determining the keyword of each category; According to the matching degree between the keywords of the item and the keywords of the category to which the item belongs and the sales proportion of the item in the category, the correlation score between the item and the category is calculated to evaluate the correlation degree between the item and the category.

2. The method according to claim 1, characterized in that: The step of determining the keyword of the item according to the description information of the item includes: The description information of the item is segmented, and then the words obtained after the segmentation are filtered to delete the designated words, and the words obtained after the filtering are used as keywords of the item.

3. The method according to claim 1, characterized in that: The step of determining the category to which the item belongs according to the keywords of each category and the keywords of the item includes: Calculating the matching degree between the keyword of the item and the keyword of each category respectively; The category corresponding to the keyword whose matching degree with the keyword of the item is not less than a predetermined threshold is determined as the category to which the item belongs.

4. The method according to claim 3, characterized in that The matching degree between the keywords of the item and the keywords of the category is calculated by calculating the Jaccard similarity coefficient between the keywords of the item and the keywords of the category.

5. A device for determining the category of an item, characterized in that: include: A keyword determination module, used to determine the keywords of each category based on the user's transaction behavior data and preset category data, and to determine the keywords of the item based on the item's description information; A category determination module, used to determine the category to which the item belongs based on the keywords of each category and the keywords of the item; The keyword determination module is also used to: obtain the search term input by the user according to the transaction behavior data of the user; the transaction behavior data includes the behavior data of the user searching, browsing, purchasing and commenting on the goods; For each search term, according to the preset category data, the categories to which the items sold according to the search term belong and the transaction data of each category are counted respectively; Using the search words as keywords for categories with transaction data that meet predetermined rules, thereby determining keywords for each category; The association degree evaluation module is used to calculate the association degree score between the item and the category according to the matching degree between the keyword of the item and the keyword of the category to which the item belongs and the sales proportion of the item in the category, so as to evaluate the association degree between the item and the category.

6. The device according to claim 5, characterized in that The keyword determination module is also used for: The description information of the item is segmented, and then the words obtained after the segmentation are filtered to delete the designated words, and the words obtained after the filtering are used as keywords of the item.

7. The device according to claim 5, characterized in that The category determination module is also used for: Calculating the matching degree between the keyword of the item and the keyword of each category respectively; The category corresponding to the keyword whose matching degree with the keyword of the item is not less than a predetermined threshold is determined as the category to which the item belongs.

8. The device according to claim 7, characterized in that The matching degree between the keywords of the item and the keywords of the category is calculated by calculating the Jaccard similarity coefficient between the keywords of the item and the keywords of the category.

9. An electronic device for determining the category of an item, characterized in that: include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 4.

10. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 4 is implemented.