Product information processing method, device, electronic device and storage medium
Through matching technology based on product popularity value and reserve value, suitable products to be promoted are determined and matched with target users, which solves the problems of low product promotion matching and low conversion rate in live broadcast e-commerce, and improves the promotion effect.
Patent Information
- Application Number
- CN202111017397.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-31
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2041-08-31
AI Technical Summary
In live broadcast e-commerce, it is difficult for anchors to choose suitable products, resulting in low matching and low conversion rates for products to be promoted associated with users. Existing technology cannot effectively solve this problem.
By identifying candidate products from the database based on the product's popularity value and reserve value, and obtaining the attribute information of the target product, it matches the target user and improves the matching accuracy between the product and the user.
It improves the conversion rate of user-related product promotion, determines the target product through popularity value and reserve value, and improves the matching accuracy between products and users through target user promotion.
Smart Images

Figure CN113779390B
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of e-commerce technology, and in particular to a method, device, electronic device and storage medium for processing commodity information. Background Art
[0002] With the popularity of live streaming e-commerce, many anchors on live streaming platforms are promoting products. They usually refer to the product promotion situation of the live streaming platforms, or choose products based on their own understanding of product information. However, since the selected products may not necessarily meet their own attributes, and the products selected by anchors on the same live streaming platform are highly homogeneous, it is difficult to promote the products well.
[0003] Currently, no effective solution has been proposed to solve the problem that it is difficult to determine suitable products to be promoted for users in related technologies, resulting in low matching degree and low conversion rate of products to be promoted associated with users. Summary of the invention
[0004] The present disclosure provides a method, device, electronic device and storage medium for processing product information, so as to at least solve the problem in the related art that it is difficult to determine suitable products to be promoted for users, resulting in low matching degree and low conversion rate of the products to be promoted associated with users. The technical solution of the present disclosure is as follows:
[0005] According to a first aspect of an embodiment of the present disclosure, a method for processing product information is provided, comprising: determining a plurality of candidate products from a plurality of products in a first database based on product popularity values, the product popularity values being used to indicate search popularity of the products in the first database; determining at least one target product from a plurality of candidate products based on product reserve values of the candidate products, the product reserve values being used to indicate reserve quantities of the products in a second database, the first database and the second database being associated with each other; acquiring attribute information of at least one target product, and for any target product, determining a target user matching any target product from a plurality of candidate users based on the attribute information, and using the target user as a user to be associated with any target product.
[0006] According to a second aspect of an embodiment of the present disclosure, a method for processing product information is provided, comprising: determining a plurality of candidate products from a plurality of products in a first database based on product popularity values, the product popularity values being used to indicate search popularity of the products in the first database; determining at least one target product from the plurality of candidate products based on product reserve values of the candidate products, the product reserve value being used to indicate a reserve quantity of the product in a second database, the first database having an associated relationship with the second database; acquiring attribute information of at least one target product, and determining a target recommended product matching a target user from the at least one target product based on the attribute information, and using the target recommended product as a product to be associated with the target user.
[0007] Optionally, multiple candidate products are determined from multiple products in the first database based on the product popularity value, including: obtaining the number of searches corresponding to the characteristic information of each product in the first database, and determining the number of searches as the product popularity value of the product, the characteristic information including at least one of the following: category information corresponding to the product, brand information corresponding to the product, and modification information corresponding to the product; when the product popularity value of a product is greater than a preset popularity value, the product is determined as a candidate product.
[0008] Optionally, at least one target commodity is determined from multiple candidate commodities based on the commodity reserve value of the candidate commodity, including: determining a search keyword that is suitable for the candidate commodity; matching the search keyword with the description information of the commodity in the second database to obtain a matching result; determining the number of commodities corresponding to the description information matching the search keyword based on the matching result, and determining the number as the commodity reserve value of the candidate commodity; when the commodity reserve value of the candidate commodity is less than a preset reserve value, determining the candidate commodity as a target commodity.
[0009] Optionally, the search keyword is matched with the description information of the goods in the second database to obtain a matching result including: setting the description information as a main string and setting the search keyword as a string to be compared; matching the main string with the string to be compared; when the string to be compared exists in the main string, determining that the search keyword matches the description information; when the string to be compared does not exist in the main string, determining that the search keyword does not match the description information.
[0010] Optionally, matching the main string with the string to be compared further includes: when some characters in the string to be compared are the same as some characters in the main string, determining whether there are repeated substrings in the prefix set and the suffix set of the partially identical characters, the prefix set being a set of all substrings consisting of the remaining characters of the partially identical characters except the tail character, and the suffix set being a set of all substrings consisting of the remaining characters of the partially identical characters except the head character; in the case where there are repeated substrings in the prefix set and the suffix set of the partially identical characters, obtaining the longest repeated substring, and determining the target position in the main string by the number of characters included in the longest repeated substring; in the case where there are no repeated substrings in the prefix set and the suffix set of the partially identical characters, determining the target position in the main string by the number of characters included in the string to be compared; obtaining a character string consisting of characters after the target position in the main string to obtain an updated main string, and matching the updated main string with the string to be compared until the main string and the string to be compared are matched.
[0011] Optionally, attribute information of at least one target product is obtained, and for any target product, a target user matching any target product is determined from multiple candidate users based on the attribute information, including: determining multiple candidate users; obtaining users having an association relationship with each candidate user to obtain multiple groups of first-category users, and obtaining attribute information of multiple groups of first-category users to obtain multiple groups of first attribute information; obtaining users having an association relationship with the target product to obtain second-category users, and obtaining attribute information of the second-category users to obtain second attribute information; matching multiple groups of first attribute information and second attribute information respectively to obtain multiple matching results; and determining a target user matching the target product from multiple candidate users based on the multiple matching results.
[0012] Optionally, multiple groups of first attribute information and second attribute information are matched respectively to obtain multiple matching results, including: determining multiple groups of first label data of multiple dimensions based on each first attribute information, and determining multiple dimensions of second label data through the second attribute information; respectively calculating the similarity between the multiple groups of first label data corresponding to each first attribute information and the label data in the second label data that are in the same dimension and under the same label to obtain multiple similarity values, wherein each similarity is used to indicate the matching result between each first attribute information and the second attribute information.
[0013] Optionally, a target user matching the target product is determined from multiple candidate users based on multiple matching results, including: determining a target similarity value greater than a preset similarity value from multiple similarity values, and determining a first category of users to which first attribute information corresponding to the target similarity value belongs as a target first category of users; and determining a candidate user having an association relationship with the target first category of users as a target user.
[0014] Optionally, obtaining attribute information of at least one target product, and determining a target recommended product that matches the target user from the at least one target product based on the attribute information includes: obtaining users who have an association relationship with the target user to obtain a first category of users, and obtaining attribute information of the first category of users to obtain first attribute information; obtaining users who have an association relationship with each target product to obtain multiple groups of second category users, and obtaining attribute information of multiple groups of second category users to obtain multiple groups of second attribute information; matching the first attribute information with the multiple groups of second attribute information to obtain multiple matching results; and determining a target recommended product that matches the target user from the at least one target product based on the multiple matching results.
[0015] According to a third aspect of an embodiment of the present disclosure, a device for processing product information is provided, including a candidate product determination unit, configured to determine multiple candidate products from multiple products in a first database based on product popularity values, the product popularity values being used to indicate search popularity of the products in the first database; a target product determination unit, configured to determine at least one target product from multiple candidate products based on product reserve values of the candidate products, the product reserve values being used to indicate reserve quantities of the products in a second database, the first database and the second database having an associated relationship; a target user determination unit, configured to obtain attribute information of at least one target product, and for any target product, determine a target user matching any target product from multiple candidate users based on the attribute information, and use the target user as a user to be associated with any target product.
[0016] According to a fourth aspect of an embodiment of the present disclosure, a device for processing product information is provided, including a candidate product determination unit, configured to determine a plurality of candidate products from a plurality of products in a first database based on product popularity values, wherein the product popularity values are used to indicate the search popularity of the products in the first database; a target product determination unit, configured to determine at least one target product from a plurality of candidate products based on product reserve values of the candidate products, wherein the product reserve values are used to indicate the reserve quantity of the product in a second database, and the first database and the second database have an associated relationship; a target recommended product determination unit, configured to obtain attribute information of at least one target product, and determine a target recommended product matching a target user from the at least one target product based on the attribute information, and use the target recommended product as a product to be associated with the target user.
[0017] Optionally, the candidate product determination unit includes: a product popularity value determination module, configured to obtain the number of searches corresponding to the characteristic information of each product searched in the first database, and determine the number of searches as the product popularity value of the product, the characteristic information including at least one of the following: category information corresponding to the product, brand information corresponding to the product, and modification information corresponding to the product; the candidate product determination module, configured to determine the product as a candidate product when the product popularity value of the product is greater than a preset popularity value.
[0018] Optionally, the target product determination unit includes: a search keyword determination module, configured to determine the search keywords that are suitable for the candidate products; a first matching module, configured to match the search keywords with the description information of the products in the second database to obtain a matching result; a product reserve value determination module, configured to determine the number of products corresponding to the description information matching the search keywords based on the matching result, and determine the number as the product reserve value of the candidate product; a target product module, configured to determine the candidate product as the target product when the product reserve value of the candidate product is less than a preset reserve value.
[0019] Optionally, the first matching module includes: a setting submodule, configured to set the description information as the main string and set the search keyword as the string to be compared; a matching submodule, configured to match the main string with the string to be compared; a matching determination submodule, configured to determine that the search keyword matches the description information when the string to be compared exists in the main string; and a mismatch determination submodule, configured to determine that the search keyword does not match the description information when the string to be compared does not exist in the main string.
[0020] Optionally, the matching submodule includes: a judgment submodule, configured to judge whether there is a repeated substring in the prefix set and the suffix set of the partially identical characters when some characters in the string to be compared are the same as some characters in the main string, the prefix set is a set of all substrings consisting of the remaining characters of the partially identical characters except the tail character, and the suffix set is a set of all substrings consisting of the remaining characters of the partially identical characters except the head character; an acquisition submodule, configured to obtain the longest repeated substring when there is a repeated substring in the prefix set and the suffix set of the partially identical characters, and determine the target position in the main string by the number of characters contained in the longest repeated substring; a target position determination submodule, configured to determine the target position in the main string by the number of characters contained in the string to be compared when there is no repeated substring in the prefix set and the suffix set of the partially identical characters; an update submodule, configured to obtain a character string consisting of characters after the target position in the main string, obtain an updated main string, and match the updated main string with the string to be compared until the main string and the string to be compared are matched.
[0021] Optionally, the target user determination unit includes: a candidate user determination module, configured to determine multiple candidate users; a first information acquisition module, configured to acquire users who have an association relationship with each candidate user, obtain multiple groups of first-category users, and acquire attribute information of multiple groups of first-category users, obtain multiple groups of first attribute information; a second information acquisition module, configured to acquire users who have an association relationship with the target product, obtain second-category users, and acquire attribute information of the second-category users, obtain second attribute information; a second matching module, configured to match multiple groups of first attribute information and second attribute information respectively, obtain multiple matching results; and a target user determination module, configured to determine a target user that matches the target product from multiple candidate users based on multiple matching results.
[0022] Optionally, the second matching module includes: a label data determination submodule, configured to determine multiple groups of first label data of multiple dimensions based on each first attribute information, and determine multiple dimensions of second label data through the second attribute information; a calculation submodule, configured to respectively calculate the similarities between the multiple groups of first label data corresponding to each first attribute information and the label data in the second label data that are in the same dimension and under the same label, and obtain multiple similarity values, wherein each similarity is used to indicate the matching result between each first attribute information and the second attribute information.
[0023] Optionally, the target user determination module includes: a target first-category user determination submodule, configured to determine a target similarity value greater than a preset similarity value from multiple similarity values, and determine the first-category user to which the first attribute information corresponding to the target similarity value belongs as the target first-category user; a target user determination submodule, configured to determine a candidate user who has an association relationship with the target first-category user as the target user.
[0024] Optionally, the target recommended product determination unit includes: a third information acquisition module, configured to acquire users who have an association relationship with the target user, obtain first-category users, and acquire attribute information of the first-category users, obtain first attribute information; a fourth information acquisition module, configured to acquire users who have an association relationship with each target product, obtain multiple groups of second-category users, and acquire attribute information of multiple groups of second-category users, obtain multiple groups of second attribute information; a third matching module, configured to match the first attribute information with multiple groups of second attribute information, and obtain multiple matching results; a target recommended product determination module, configured to determine a target recommended product that matches the target user from at least one target product based on multiple matching results.
[0025] According to a fifth aspect of an embodiment of the present disclosure, an electronic device for a method for processing commodity information is provided, comprising: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement any one of the above-mentioned methods for processing commodity information.
[0026] According to the sixth aspect of an embodiment of the present disclosure, a storage medium is provided. When instructions in the storage medium are executed by a processor of an electronic device of an information processing method, the electronic device of the information processing method can execute any one of the above-mentioned methods for processing commodity information.
[0027] According to a seventh aspect of an embodiment of the present disclosure, there is provided a computer program product which, when executed on a data processing device, is suitable for executing a program for initializing any one of the above-mentioned methods for processing commodity information.
[0028] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects:
[0029] The present disclosure determines multiple candidate commodities from multiple commodities in a first database based on commodity popularity values, where the commodity popularity values are used to indicate the search popularity of the commodities in the first database; determines at least one target commodity from multiple candidate commodities based on commodity reserve values of the candidate commodities, where the commodity reserve values are used to indicate the reserve quantity of the commodity in a second database, and the first database and the second database have an associated relationship; obtains attribute information of at least one target commodity, and for any target commodity, determines a target user matching any target commodity from multiple candidate users based on the attribute information, and uses the target user as a user to be associated with any target commodity, thereby solving the problem in the related art that it is difficult to determine suitable commodities to be promoted for users, resulting in low matching degree and low conversion rate of commodities to be promoted associated with users, determines the target commodity through the commodity popularity value and reserve value, determines the target user matching the target commodity, and promotes the target commodity through the target user, thereby improving the matching accuracy between the target user and the target commodity to be promoted, and thereby improving the promotion conversion rate of commodities associated with users.
[0030] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.
[0032] Figure 1 The present invention is a hardware structure block diagram of a computer terminal showing a method for processing commodity information according to an exemplary embodiment.
[0033] Figure 2 The figure is a flowchart of a method for processing commodity information according to an exemplary embodiment.
[0034] Figure 3 The diagram is a schematic diagram of the search popularity of a commodity category in a method for processing commodity information according to an exemplary embodiment.
[0035] Figure 4 The diagram is a schematic diagram of the search popularity of brand information of commodities in the same category in a method for processing commodity information according to an exemplary embodiment.
[0036] Figure 5 The present invention is a schematic diagram of matching search keywords with description information in a method for processing commodity information according to an exemplary embodiment. Figure 1 .
[0037] Figure 6The present invention is a schematic diagram of matching search keywords with description information in a method for processing commodity information according to an exemplary embodiment. Figure 2 .
[0038] Figure 7 The diagram is a schematic diagram of the search popularity of a commodity category in a method for processing commodity information according to an exemplary embodiment.
[0039] Figure 8 The present invention is a block diagram of a device for processing commodity information according to an exemplary embodiment.
[0040] Fig. 9 The figure is a block diagram of another device for processing commodity information according to an exemplary embodiment.
[0041] Fig.10 It is a block diagram of a terminal according to an exemplary embodiment. DETAILED DESCRIPTION
[0042] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.
[0043] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0044] The method embodiment provided in the first embodiment of the present disclosure may be executed in a mobile terminal or a computer terminal. Figure 1 is a hardware structure block diagram of a computer terminal (or mobile device) according to an exemplary embodiment showing a method for determining a user activity status. Figure 1As shown, the computer terminal 10 (or mobile device 10) may include one or more (shown as 102a, 102b, ..., 102n in the figure) processors 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 104 for storing data, and a transmission device for communication functions. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the BUS bus), a network interface, a power supply and / or a camera. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations shown.
[0045] It should be noted that the one or more processors 102 and / or other data processing circuits described above may generally be referred to herein as "data processing circuits". The data processing circuits may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. In addition, the data processing circuit may be a single independent processing module, or may be incorporated in whole or in part into any of the other components in the computer terminal 10 (or mobile device). As involved in the embodiments of the present disclosure, the data processing circuit acts as a processor control (e.g., selection of a variable resistor terminal path connected to an interface).
[0046] The memory 104 can be used to store software programs and modules of application software, such as the program instructions / data storage device corresponding to the method for determining the user activity status in the embodiment of the present disclosure. The processor 102 executes various functional applications and data processing by running the software programs and modules stored in the memory 104, that is, to achieve the above-mentioned cache. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the computer terminal 10 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0047] The transmission device is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the computer terminal 10. In one example, the transmission device includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device can be a radio frequency (Radio Frequency, RF) module, which is used to communicate with the Internet wirelessly.
[0048] The display may be, for example, a touch screen liquid crystal display (LCD) that enables a user to interact with a user interface of the computer terminal 10 (or mobile device).
[0049] It should be noted that, in some optional embodiments, the above Figure 1 The computer device (or mobile device) shown may include hardware elements (including circuits), software elements (including computer code stored on a computer-readable medium), or a combination of hardware elements and software elements. It should be noted that Figure 1 This is merely one example of a particular embodiment and is intended to illustrate the types of components that may be present in the above-described computer device (or mobile device).
[0050] Figure 2 is a flowchart of a method for processing commodity information according to an exemplary embodiment. Figure 2 As shown, the method for processing commodity information is used in a mobile terminal or a computer terminal, and includes the following steps.
[0051] In step S201, a plurality of candidate commodities are determined from a plurality of commodities in a first database based on commodity popularity values, where the commodity popularity values are used to indicate the search popularity of the commodities in the first database.
[0052] It should be noted that multiple products are stored in the first database. Before obtaining the required products, the user searches from the products in the first database to determine whether the required products exist. A search record is generated during the search. The search popularity of the same product can represent the product popularity value of the product. If the search record indicates that the product has been searched a high number of times, it means that the search popularity of the product is high and the product popularity value of the product is high.
[0053] Specifically, the product heat value of each product in the first database is obtained, and the product heat values can be sorted. The products corresponding to the first N product heat values in the sorting result can be determined as candidate products. Products with product heat values greater than a preset product heat value can also be determined as candidate products. Multiple candidate products are obtained, and the candidate products are products with high product heat values, that is, products with high user demand.
[0054] In step S202, at least one target commodity is determined from a plurality of candidate commodities based on the commodity reserve value of the candidate commodities, the commodity reserve value is used to indicate the reserve amount of the commodity in the second database, and the first database and the second database are associated with each other.
[0055] It should be noted that the first database can be a database for users to search and obtain commodities, and the second database can be a database for reserve commodities. Users can also search and obtain reserve commodities from the second database, and the same commodities exist in the first database and the second database. The first commodity database corresponds to a large number of commodities and a large user base, and the commodity popularity value in the first database can be used to represent the demand for commodities in the second database.
[0056] Specifically, the target product may be a product to be promoted in the second database. Since when the popularity of a product in the first database is high, the product reserve value of the product in the second database may not be high, before determining the product to be promoted in the second database, it is necessary to determine the product reserve value of each candidate product, and then determine the product to be promoted from the candidate products based on the product reserve value.
[0057] In step S203, attribute information of at least one target product is obtained, and for any target product, a target user matching any target product is determined from multiple candidate users based on the attribute information, and the target user is used as a user to be associated with any target product.
[0058] Specifically, the associated users of the target product may be determined from multiple candidate users according to the attribute information of the target product, and the target product may be promoted through the associated users to improve the promotion conversion rate of the target product.
[0059] The present disclosure determines multiple candidate commodities from multiple commodities in a first database based on commodity popularity values, where the commodity popularity values are used to indicate the search popularity of the commodities in the first database; determines at least one target commodity from multiple candidate commodities based on commodity reserve values of the candidate commodities, where the commodity reserve values are used to indicate the reserve quantity of the commodity in a second database, and the first database and the second database have an associated relationship; obtains attribute information of at least one target commodity, and for any target commodity, determines a target user matching any target commodity from multiple candidate users based on the attribute information, and uses the target user as a user to be associated with any target commodity, thereby solving the problem in the related art that it is difficult to determine suitable commodities to be promoted for users, resulting in low matching degree and low conversion rate of commodities to be promoted associated with users, determines the target commodity through the commodity popularity value and reserve value, determines the target user matching the target commodity, and promotes the target commodity through the target user, thereby improving the matching accuracy between the target user and the target commodity to be promoted, and thereby improving the promotion conversion rate of commodities associated with users.
[0060] Each product has multiple feature information, and users can search for desired products by searching the feature information of the products. Optionally, in the product information processing method shown in the embodiment of the present disclosure, multiple candidate products are determined from multiple products in the first database based on the product popularity value, including: obtaining the number of searches corresponding to the feature information of each product in the first database, and determining the number of searches as the product popularity value of the product, the feature information including at least one of the following: category information corresponding to the product, brand information corresponding to the product, and modification information corresponding to the product; when the product popularity value of the product is greater than the preset popularity value, the product is determined as a candidate product.
[0061] Specifically, each product has multiple feature information, and users can search for the same product by searching different feature information. When a product is found through one feature information, this search is determined as a search behavior corresponding to the product, and the search count corresponding to the product is increased by one.
[0062] Within a period of time, the number of searches for the characteristic information corresponding to each product in the first database is counted, and the corresponding number of searches is used as the product popularity value of the product. A preset popularity value can be set in advance, and products with a popularity value greater than the preset popularity value are determined as candidate products.
[0063] The dimensions of the characteristic information of a product include, but are not limited to, the category information corresponding to the product, the brand information corresponding to the product, and the modification information corresponding to the product. The modification information corresponding to the product may be descriptive information of the product attributes.
[0064] In an optional implementation, taking the commodity category of moon cakes as an example, Figure 3As shown, the number of searches by users using the keyword "moon cake" within a period of time can be obtained.
[0065] Furthermore, in addition to considering the overall popularity of mooncakes, we can also consider the popularity of mooncake brand words and modifiers, such as Figure 4 As shown, taking the brand word of mooncake as an example, the number of searches under different brand words is obtained respectively, so that the popularity of the product can be understood from a finer granularity.
[0066] When determining the commodity reserve value of each candidate commodity, it is necessary to match the candidate commodity with the commodities in the second database. Optionally, in the commodity information processing method shown in the embodiment of the present disclosure, at least one target commodity is determined from multiple candidate commodities based on the commodity reserve value of the candidate commodity, including: determining the search keywords adapted for the candidate commodity; matching the search keywords with the description information of the commodities in the second database to obtain a matching result; determining the number of commodities corresponding to the description information matching the search keywords based on the matching result, and determining the number as the commodity reserve value of the candidate commodity; when the commodity reserve value of the candidate commodity is less than the preset reserve value, determining the candidate commodity as the target commodity.
[0067] Specifically, when a user searches for a product in the second database, whether the product is the required product is determined based on the match between the search keywords and the product description information in the second database. Therefore, when determining the product reserve value of the candidate product, it is necessary to match the search keywords of the candidate product with the product description information in the second database, and use the successfully matched products as candidate products. The number of all successfully matched products is the number of candidate products in the second database, that is, the reserve value.
[0068] Furthermore, a preset reserve value is set. When the product reserve value of a candidate product is less than the preset reserve value, it indicates that the product popularity value of the candidate product is high, the product reserve value is low, and the supply exceeds the demand. The candidate product can be determined as a target product to be promoted.
[0069] In order to improve the matching efficiency between search keywords and description information of goods, optionally, in the method for processing product information shown in the embodiment of the present disclosure, the search keywords are matched with the description information of the goods in the second database, and the matching result obtained includes: setting the description information as the main string, and setting the search keyword as the string to be compared; matching the main string with the string to be compared; when the string to be compared exists in the main string, determining that the search keyword matches the description information; when the string to be compared does not exist in the main string, determining that the search keyword does not match the description information.
[0070] Specifically, the search keywords for the candidate product can be one or more of category information keywords, brand information keywords, and multiple modification information keywords. For example, if the alternative product is black trousers, the search keywords are "black" and "trousers". If "black" and "trousers" both appear in the description information of product A in the second database, it means that the search keywords of the candidate product match the description information of product A.
[0071] It should be noted that when determining whether the search keyword of the candidate product is close to the product description in the second database, the character string to be compared corresponding to the search keyword can be matched with the main character string corresponding to the product description one by one. However, since there are many product descriptions, this matching method is inefficient.
[0072] In order to improve the matching efficiency, optionally, in the method for processing product information shown in the embodiment of the present disclosure, matching the main string with the string to be compared also includes: when some characters in the string to be compared are the same as some characters in the main string, judging whether there are repeated substrings in the prefix set and the suffix set of the partially identical characters, the prefix set is a set of all substrings composed of the remaining characters of the partially identical characters except the tail characters, and the suffix set is a set of all substrings composed of the remaining characters of the partially identical characters except the head characters; in the case where there are repeated substrings in the prefix set and the suffix set of the partially identical characters, obtaining the longest repeated substring, and determining the target position in the main string by the number of characters included in the longest repeated substring; in the case where there are no repeated substrings in the prefix set and the suffix set of the partially identical characters, determining the target position in the main string by the number of characters included in the string to be compared; obtaining a string composed of characters after the target position in the main string to obtain an updated main string, and matching the updated main string with the string to be compared until the main string and the string to be compared are matched.
[0073] Specifically, in order to improve the efficiency of matching, the specific position of moving backward is realized by the maximum repeating substring. The maximum repeating substring is: if the length of the longest repeated substring in the prefix set and suffix set of the substring is k, then the next matching substring with different symbol bits j can be moved to the kth position. The prefix set here refers to the set of all substrings after removing the last character, and the suffix set refers to the set of substrings after removing the first character. For example, in the substring "aba", the prefix set is the substring set {a,ab} after removing the last character 'a', and the suffix set is the substring set {a,ba} after removing the first character a, then the longest repeating substring of the two is a, k = 1; for another example, in the substring "ababa", the prefix set is {a,ab,aba,abab}, and the suffix set is {a,ba,aba,baba}, and the longest repeating substring of the two is aba, k = 3.
[0074] like Figure 5 As shown in the figure, assuming that the string ABCABCDHIJK at the top is the product description string, that is, the main string, and the string ABCABB at the bottom is the search keyword string, that is, the string to be compared. When matching, it is found that the character at position i and the character at position j do not match, and it is necessary to move backward. At position j, the substring before j is ABCAB. Therefore, the prefix set of some identical characters is {A, AB, ABC, ABCA}, and the suffix set is {B, AB, CAB, BCAB}. The maximum repeated substring is AB, and the number is 2 characters. For example, Figure 6 As shown, j is moved backward to the second position (the first position is the 0th position by default). In the case that there is no repeated substring in the prefix set and suffix set of some identical characters, the number of bits corresponding to the number of characters in the string to be compared is moved backward, and the characters after the string to be compared are determined as the updated main string. The updated main string is matched with the string to be compared until the main string and the string to be compared are matched. Such matching is repeated, and finally it can be determined whether the two strings match.
[0075] Through the disclosed embodiments, the KMP algorithm (single pattern matching) is used to match the string to be compared corresponding to the search keyword with the main string corresponding to the product description. If the string to be compared appears at the beginning of the main string, its specific position is returned; otherwise, it is moved backward until it appears, or moved to the end of the main string, thereby improving the matching efficiency while ensuring accurate matching.
[0076] Optionally, in the method for processing product information shown in the embodiment of the present disclosure, attribute information of at least one target product is obtained, and for any target product, a target user matching any target product is determined from multiple candidate users based on the attribute information, including: determining multiple candidate users; obtaining users who have an association relationship with each candidate user to obtain multiple groups of first-category users, and obtaining attribute information of multiple groups of first-category users to obtain multiple groups of first attribute information; obtaining users who have an association relationship with the target product to obtain second-category users, and obtaining attribute information of the second-category users to obtain second attribute information; matching multiple groups of first attribute information and second attribute information respectively to obtain multiple matching results; and determining a target user matching the target product from multiple candidate users based on the multiple matching results.
[0077] It should be noted that each candidate user is associated with multiple users, and the associated multiple users can convert the products promoted by the candidate user. At the same time, each product is also associated with multiple users, who can be the target promotion users of the product, for example, users who have promoted the target product. Therefore, the matching relationship between the multiple users associated with the candidate user and the multiple users associated with the target product can affect the promotion conversion of the target product.
[0078] Specifically, first attribute information of multiple users associated with the candidate user and second attribute information of multiple users associated with the target product are obtained respectively, and the first attribute information corresponding to each candidate user is matched with the second attribute information corresponding to the target product to obtain the similarity, and the candidate user with high similarity is determined as the target user. Since the attribute information of multiple users associated with the target user and the attribute information of multiple users associated with the target product are highly similar, the matching accuracy between the target user and the target product to be promoted is improved, and then promoting the target product through the target user can improve the promotion conversion rate of the target product.
[0079] The attribute information includes label information of multiple dimensions. Optionally, in the method for processing product information shown in the embodiment of the present disclosure, multiple groups of first attribute information and second attribute information are matched respectively to obtain multiple matching results, including: determining multiple groups of first label data of multiple dimensions based on each first attribute information, and determining multiple dimensions of second label data through the second attribute information; calculating the similarity between the multiple groups of first label data corresponding to each first attribute information and the label data in the second label data that are in the same dimension and under the same label, and obtaining multiple similarity values, wherein each similarity is used to indicate the matching result between each first attribute information and the second attribute information.
[0080] For example, the attribute information may be user portrait data. The portrait information of a user may include but is not limited to the label data of the following dimensions: gender and age. When the target product is moon cakes, the label data under the gender dimension of the user associated with the moon cakes may be the number of moon cakes purchased by users of different genders, and the label data under the age dimension may be the number of moon cakes purchased by users of different ages.
[0081] Furthermore, when obtaining the tag data of the user associated with the target user and the tag data of the user associated with the target product, the cosine theorem may be used to calculate the similarity between the tag data of the two users.
[0082] For example, if vector N(a) represents the tag of user a and vector N(b) represents the tag of user b, then the similarity between the tag of user a and the tag of user b can be calculated by the law of cosines:
[0083]
[0084] Wab represents the angle between vector N(a) and vector N(b). Since the smaller the angle between vectors, the closer the two vectors are, the smaller the value of Wab is, the higher the similarity between the labels of user a and user b at the same latitude is.
[0085] Furthermore, the similarity of the label data of different dimensions of the users is calculated by the cosine theorem, and the similarity of the label data of different dimensions is weighted averaged to obtain the similarity of all labels of user a and user b, that is, the attribute information matching result of user a and user b. The matching result can be used to quantify the overlap of user attribute information.
[0086] Optionally, in the method for processing product information shown in the embodiment of the present disclosure, a target user matching the target product is determined from multiple candidate users based on multiple matching results, including: determining a target similarity value greater than a preset similarity value from multiple similarity values, and determining the first category of users to which the first attribute information corresponding to the target similarity value belongs as the target first category of users; and determining the candidate users who have an association relationship with the target first category of users as the target users.
[0087] Specifically, when the information similarity between multiple users associated with the candidate user and multiple users associated with the target product is higher than a preset similarity value, the candidate user can be determined as the target user. Since the attribute information of the multiple users associated with the target user and the attribute information of the multiple users associated with the target product are highly similar, the matching accuracy between the target user and the target product to be promoted is improved, and then promoting the target product through the target user can improve the promotion conversion rate of the target product.
[0088] Figure 7is a flowchart of a method for processing commodity information according to an exemplary embodiment. Figure 7 As shown, the method for processing commodity information is used in a mobile terminal or a computer terminal, and includes the following steps.
[0089] In step S701, a plurality of candidate commodities are determined from a plurality of commodities in a first database based on commodity popularity values, where the commodity popularity values are used to indicate the search popularity of the commodities in the first database.
[0090] It should be noted that multiple products are stored in the first database. Before obtaining the required products, the user searches from the products in the first database to determine whether the required products exist. A search record is generated during the search. The search popularity of the same product can represent the product popularity value of the product. If the search record indicates that the product has been searched a high number of times, it means that the search popularity of the product is high and the product popularity value of the product is high.
[0091] Specifically, the product heat value of each product in the first database is obtained, and the product heat values can be sorted. The products corresponding to the first N product heat values in the sorting result can be determined as candidate products. Products with product heat values greater than a preset product heat value can also be determined as candidate products. Multiple candidate products are obtained, and the candidate products are products with high product heat values, that is, products with high user demand.
[0092] In step S702, at least one target commodity is determined from a plurality of candidate commodities based on the commodity reserve value of the candidate commodities, the commodity reserve value is used to indicate the reserve amount of the commodity in the second database, and the first database and the second database are associated with each other.
[0093] It should be noted that the first database can be a database for users to search and obtain commodities, and the second database can be a database for reserve commodities. Users can also search and obtain reserve commodities from the second database, and the same commodities exist in the first database and the second database. The first commodity database corresponds to a large number of commodities and a large user base, and the commodity popularity value in the first database can be used to represent the demand for commodities in the second database.
[0094] Specifically, the target product may be a product to be promoted in the second database. Since when the popularity of a product in the first database is high, the product reserve value of the product in the second database may not be high, before determining the product to be promoted in the second database, it is necessary to determine the product reserve value of each candidate product, and then determine the product to be promoted from the candidate products based on the product reserve value.
[0095] In step S703, attribute information of at least one target product is obtained, and a target recommended product matching the target user is determined from the at least one target product based on the attribute information, and the target recommended product is used as a product to be associated with the target user.
[0096] Specifically, a target user may be determined, and a target recommended product matching the target user may be determined from at least one target product based on the attribute information of the target product. The target product may be promoted through the target user to improve the promotion conversion rate of the target product.
[0097] The present disclosure determines multiple candidate commodities from multiple commodities in a first database based on commodity popularity values, wherein the commodity popularity values are used to indicate the search popularity of the commodities in the first database; determines at least one target commodity from multiple candidate commodities based on commodity reserve values of the candidate commodities, wherein the commodity reserve values are used to indicate the reserve quantity of the commodity in a second database, and the first database and the second database have an associated relationship; obtains attribute information of at least one target commodity, and determines a target recommended commodity matching a target user from at least one target commodity based on the attribute information, and uses the target recommended commodity as a commodity to be associated with the target user, thereby solving the problem in the related art that it is difficult to determine suitable commodities to be promoted for users, resulting in low matching degree and low conversion rate of commodities to be promoted associated with users; determines the target commodity through the commodity popularity value and reserve value, determines the target user matching the target commodity, and promotes the target commodity through the target user, thereby improving the matching accuracy between the target user and the target commodity to be promoted, and thereby improving the promotion conversion rate of commodities associated with users.
[0098] Each product has multiple feature information, and users can search for desired products by searching the feature information of the products. Optionally, in the product information processing method shown in the embodiment of the present disclosure, multiple candidate products are determined from multiple products in the first database based on the product popularity value, including: obtaining the number of searches corresponding to the feature information of each product in the first database, and determining the number of searches as the product popularity value of the product, the feature information including at least one of the following: category information corresponding to the product, brand information corresponding to the product, and modification information corresponding to the product; when the product popularity value of the product is greater than the preset popularity value, the product is determined as a candidate product.
[0099] Specifically, each product has multiple feature information, and users can search for the same product by searching different feature information. When a product is found through one feature information, this search is determined as a search behavior corresponding to the product, and the search count corresponding to the product is increased by one.
[0100] Within a period of time, the number of searches for the characteristic information corresponding to each product in the first database is counted, and the corresponding number of searches is used as the product popularity value of the product. A preset popularity value can be set in advance, and products with a popularity value greater than the preset popularity value are determined as candidate products.
[0101] The dimensions of the characteristic information of a product include, but are not limited to, the category information corresponding to the product, the brand information corresponding to the product, and the modification information corresponding to the product. The modification information corresponding to the product may be descriptive information of the product attributes.
[0102] In an optional implementation, taking the commodity category of moon cakes as an example, Figure 3 As shown, the number of searches by users using the keyword "moon cake" within a period of time can be obtained.
[0103] Furthermore, in addition to considering the overall popularity of mooncakes, we can also consider the popularity of mooncake brand words and modifiers, such as Figure 4 As shown, taking the brand word of mooncake as an example, the number of searches under different brand words is obtained respectively, so that the popularity of the product can be understood from a finer granularity.
[0104] When determining the commodity reserve value of each candidate commodity, it is necessary to match the candidate commodity with the commodities in the second database. Optionally, in the commodity information processing method shown in the embodiment of the present disclosure, at least one target commodity is determined from multiple candidate commodities based on the commodity reserve value of the candidate commodity, including: determining the search keywords adapted for the candidate commodity; matching the search keywords with the description information of the commodities in the second database to obtain a matching result; determining the number of commodities corresponding to the description information matching the search keywords based on the matching result, and determining the number as the commodity reserve value of the candidate commodity; when the commodity reserve value of the candidate commodity is less than the preset reserve value, determining the candidate commodity as the target commodity.
[0105] Specifically, when a user searches for a product in the second database, whether the product is the required product is determined based on the match between the search keywords and the product description information in the second database. Therefore, when determining the product reserve value of the candidate product, it is necessary to match the search keywords of the candidate product with the product description information in the second database, and use the successfully matched products as candidate products. The number of all successfully matched products is the number of candidate products in the second database, that is, the reserve value.
[0106] Furthermore, a preset reserve value is set. When the product reserve value of a candidate product is less than the preset reserve value, it indicates that the product popularity value of the candidate product is high, the product reserve value is low, and the supply exceeds the demand. The candidate product can be determined as a target product to be promoted.
[0107] In order to improve the matching efficiency between search keywords and description information of goods, optionally, in the method for processing product information shown in the embodiment of the present disclosure, the search keywords are matched with the description information of the goods in the second database, and the matching result obtained includes: setting the description information as the main string, and setting the search keyword as the string to be compared; matching the main string with the string to be compared; when the string to be compared exists in the main string, determining that the search keyword matches the description information; when the string to be compared does not exist in the main string, determining that the search keyword does not match the description information.
[0108] Specifically, the search keywords for the candidate product can be one or more of category information keywords, brand information keywords, and multiple modification information keywords. For example, if the alternative product is black trousers, the search keywords are "black" and "trousers". If "black" and "trousers" both appear in the description information of product A in the second database, it means that the search keywords of the candidate product match the description information of product A.
[0109] It should be noted that when determining whether the search keyword of the candidate product is close to the product description in the second database, the character string to be compared corresponding to the search keyword can be matched with the main character string corresponding to the product description one by one. However, due to the large number of product descriptions, this matching method is inefficient.
[0110] In order to improve the matching efficiency, optionally, in the method for processing product information shown in the embodiment of the present disclosure, matching the main string with the string to be compared also includes: when some characters in the string to be compared are the same as some characters in the main string, judging whether there are repeated substrings in the prefix set and the suffix set of the partially identical characters, the prefix set is a set of all substrings composed of the remaining characters of the partially identical characters except the tail characters, and the suffix set is a set of all substrings composed of the remaining characters of the partially identical characters except the head characters; in the case where there are repeated substrings in the prefix set and the suffix set of the partially identical characters, obtaining the longest repeated substring, and determining the target position in the main string by the number of characters included in the longest repeated substring; in the case where there are no repeated substrings in the prefix set and the suffix set of the partially identical characters, determining the target position in the main string by the number of characters included in the string to be compared; obtaining a string composed of characters after the target position in the main string to obtain an updated main string, and matching the updated main string with the string to be compared until the main string and the string to be compared are matched.
[0111] Specifically, in order to improve the efficiency of matching, the specific position of moving backward is realized by the maximum repeating substring. The maximum repeating substring is: if the length of the longest repeated substring in the prefix set and suffix set of the substring is k, then the next matching substring with different symbol bits j can be moved to the kth position. The prefix set here refers to the set of all substrings after removing the last character, and the suffix set refers to the set of substrings after removing the first character. For example, in the substring "aba", the prefix set is the substring set {a,ab} after removing the last character 'a', and the suffix set is the substring set {a,ba} after removing the first character a, then the longest repeating substring of the two is a, k = 1; for another example, in the substring "ababa", the prefix set is {a,ab,aba,abab}, and the suffix set is {a,ba,aba,baba}, and the longest repeating substring of the two is aba, k = 3.
[0112] like Figure 5 As shown in the figure, assuming that the string ABCABCDHIJK at the top is the product description string, that is, the main string, and the string ABCABB at the bottom is the search keyword string, that is, the string to be compared. When matching, it is found that the character at position i and the character at position j do not match, and it is necessary to move backward. At position j, the substring before j is ABCAB. Therefore, the prefix set of some identical characters is {A, AB, ABC, ABCA}, and the suffix set is {B, AB, CAB, BCAB}. The maximum repeated substring is AB, and the number is 2 characters. For example, Figure 6 As shown, j is moved backward to the second position (the first position is the 0th position by default). In the case that there is no repeated substring in the prefix set and suffix set of some identical characters, the number of bits corresponding to the number of characters in the string to be compared is moved backward, and the characters after the string to be compared are determined as the updated main string. The updated main string is matched with the string to be compared until the main string and the string to be compared are matched. Such matching is repeated, and finally it can be determined whether the two strings match.
[0113] Through the disclosed embodiments, the KMP algorithm (single pattern matching) is used to match the string to be compared corresponding to the search keyword with the main string corresponding to the product description. If the string to be compared appears at the beginning of the main string, its specific position is returned; otherwise, it is moved backward until it appears, or moved to the end of the main string, thereby improving the matching efficiency while ensuring accurate matching.
[0114] Optionally, in the method for processing product information shown in the embodiment of the present disclosure, obtaining attribute information of at least one target product, and determining a target recommended product that matches the target user from the at least one target product based on the attribute information includes: obtaining users who have an association relationship with the target user to obtain a first type of user, and obtaining attribute information of the first type of users to obtain first attribute information; obtaining users who have an association relationship with each target product to obtain multiple groups of second type users, and obtaining attribute information of multiple groups of second type users to obtain multiple groups of second attribute information; matching the first attribute information with the multiple groups of second attribute information to obtain multiple matching results; and determining a target recommended product that matches the target user from the at least one target product based on the multiple matching results.
[0115] Specifically, when the information similarity between multiple users associated with the target product and multiple users associated with the target user is greater than a preset similarity, the target user product can be determined as a target recommended product that matches the target user. Since the attribute information of the multiple users associated with the target user and the attribute information of the multiple users associated with the target product are highly similar, the matching accuracy between the target user and the target product to be promoted is improved, and further, promoting the target product through the target user can improve the promotion conversion rate of the target product.
[0116] Figure 8 is a block diagram of a device for processing commodity information according to an exemplary embodiment. Figure 8 , the device includes:
[0117] The candidate commodity determining unit 801 is configured to determine a plurality of candidate commodities from a plurality of commodities in the first database based on commodity popularity values, where the commodity popularity values are used to indicate search popularity of the commodities in the first database.
[0118] The target commodity determining unit 802 is configured to determine at least one target commodity from a plurality of candidate commodities based on the commodity reserve value of the candidate commodities, wherein the commodity reserve value is used to indicate the reserve amount of the commodity in the second database, and the first database and the second database are associated with each other.
[0119] The target user determination unit 803 is configured to obtain attribute information of at least one target product, and for any target product, determine a target user matching any target product from multiple candidate users based on the attribute information, and use the target user as a user to be associated with any target product.
[0120] Optionally, in the product information processing device shown in the embodiment of the present disclosure, the candidate product determination unit 801 includes: a product popularity value determination module, configured to obtain the number of searches corresponding to the characteristic information of each product searched in the first database, and determine the number of searches as the product popularity value of the product, the characteristic information includes at least one of the following: category information corresponding to the product, brand information corresponding to the product, and modification information corresponding to the product; the candidate product determination module is configured to determine the product as a candidate product when the product popularity value of the product is greater than a preset popularity value.
[0121] Optionally, in the product information processing device shown in the embodiment of the present disclosure, the target product determination unit 802 includes: a search keyword determination module, configured to determine the search keyword that matches the candidate product; a first matching module, configured to match the search keyword with the description information of the product in the second database to obtain a matching result; a product reserve value determination module, configured to determine the number of products corresponding to the description information matching the search keyword based on the matching result, and determine the number as the product reserve value of the candidate product; a target product module, configured to determine the candidate product as the target product when the product reserve value of the candidate product is less than a preset reserve value.
[0122] Optionally, in the product information processing device shown in the embodiment of the present disclosure, the first matching module includes: a setting submodule, configured to set the description information as the main string, and set the search keyword as the string to be compared; a matching submodule, configured to match the main string with the string to be compared; a matching determination submodule, configured to determine that the search keyword matches the description information when the string to be compared exists in the main string; and a mismatch determination submodule, configured to determine that the search keyword does not match the description information when the string to be compared does not exist in the main string.
[0123] Optionally, in the commodity information processing device shown in the embodiment of the present disclosure, the matching submodule includes: a judgment submodule, configured to judge whether there is a repeated substring in the prefix set and the suffix set of the partially identical characters when some characters in the string to be compared are the same as some characters in the main string, the prefix set is a set of all substrings consisting of the remaining characters of the partially identical characters except the tail character, and the suffix set is a set of all substrings consisting of the remaining characters of the partially identical characters except the head character; an acquisition submodule, configured to obtain the longest repeated substring when there is a repeated substring in the prefix set and the suffix set of the partially identical characters, and determine the target position in the main string by the number of characters contained in the longest repeated substring; a target position determination submodule, configured to determine the target position in the main string by the number of characters contained in the string to be compared when there is no repeated substring in the prefix set and the suffix set of the partially identical characters; an update submodule, configured to obtain a string consisting of characters after the target position in the main string, obtain an updated main string, and match the updated main string with the string to be compared until the main string and the string to be compared are matched.
[0124] Optionally, in the product information processing device shown in the embodiment of the present disclosure, the target user determination unit 803 includes: a candidate user determination module, configured to determine multiple candidate users; a first information acquisition module, configured to acquire users having an association relationship with each candidate user, to obtain multiple groups of first-category users, and acquire attribute information of multiple groups of first-category users, to obtain multiple groups of first attribute information; a second information acquisition module, configured to acquire users having an association relationship with the target product, to obtain second-category users, and acquire attribute information of the second-category users, to obtain second attribute information; a second matching module, configured to match multiple groups of first attribute information and second attribute information, respectively, to obtain multiple matching results; a target user determination module, configured to determine a target user matching the target product from multiple candidate users based on multiple matching results.
[0125] Optionally, in the commodity information processing device shown in the embodiment of the present disclosure, the second matching module includes: a label data determination submodule, configured to determine multiple groups of first label data of multiple dimensions based on each first attribute information, and determine multiple dimensions of second label data through the second attribute information; a calculation submodule, configured to respectively calculate the similarity between the multiple groups of first label data corresponding to each first attribute information and the label data in the second label data that are in the same dimension and under the same label, to obtain multiple similarity values, wherein each similarity is used to indicate the matching result between each first attribute information and the second attribute information.
[0126] Optionally, in the commodity information processing device shown in the embodiment of the present disclosure, the target user determination module includes: a target first-category user determination submodule, configured to determine a target similarity value greater than a preset similarity value from multiple similarity values, and determine the first-category user to whom the first attribute information corresponding to the target similarity value belongs as the target first-category user; a target user determination submodule, configured to determine a candidate user who has an association relationship with the target first-category user as the target user.
[0127] Fig. 9 is a block diagram of a device for processing commodity information according to an exemplary embodiment. Fig. 9 , the device includes:
[0128] The candidate commodity determining unit 901 is configured to determine a plurality of candidate commodities from a plurality of commodities in the first database based on commodity popularity values, wherein the commodity popularity values are used to indicate search popularity of the commodities in the first database.
[0129] The target commodity determining unit 902 is configured to determine at least one target commodity from a plurality of candidate commodities based on the commodity reserve value of the candidate commodities, wherein the commodity reserve value is used to indicate the reserve amount of the commodity in the second database, and the first database and the second database are associated with each other.
[0130] The target recommended product determination unit 903 is configured to obtain attribute information of at least one target product, and determine a target recommended product matching the target user from the at least one target product based on the attribute information, and use the target recommended product as a product to be associated with the target user.
[0131] Optionally, in the product information processing device shown in the embodiment of the present disclosure, the candidate product determination unit 901 includes: a product popularity value determination module, configured to obtain the number of searches corresponding to the characteristic information of each product searched in the first database, and determine the number of searches as the product popularity value of the product, the characteristic information includes at least one of the following: category information corresponding to the product, brand information corresponding to the product, and modification information corresponding to the product; the candidate product determination module is configured to determine the product as a candidate product when the product popularity value of the product is greater than a preset popularity value.
[0132] Optionally, in the product information processing device shown in the embodiment of the present disclosure, the target product determination unit 902 includes: a search keyword determination module, configured to determine the search keyword that is suitable for the candidate product; a first matching module, configured to match the search keyword with the description information of the product in the second database to obtain a matching result; a product reserve value determination module, configured to determine the number of products corresponding to the description information matching the search keyword based on the matching result, and determine the number as the product reserve value of the candidate product; a target product module, configured to determine the candidate product as the target product when the product reserve value of the candidate product is less than a preset reserve value.
[0133] Optionally, in the product information processing device shown in the embodiment of the present disclosure, the first matching module includes: a setting submodule, configured to set the description information as the main string, and set the search keyword as the string to be compared; a matching submodule, configured to match the main string with the string to be compared; a matching determination submodule, configured to determine that the search keyword matches the description information when the string to be compared exists in the main string; and a mismatch determination submodule, configured to determine that the search keyword does not match the description information when the string to be compared does not exist in the main string.
[0134] Optionally, in the commodity information processing device shown in the embodiment of the present disclosure, the matching submodule includes: a judgment submodule, configured to judge whether there is a repeated substring in the prefix set and the suffix set of the partially identical characters when some characters in the string to be compared are the same as some characters in the main string, the prefix set is a set of all substrings consisting of the remaining characters of the partially identical characters except the tail character, and the suffix set is a set of all substrings consisting of the remaining characters of the partially identical characters except the head character; an acquisition submodule, configured to obtain the longest repeated substring when there is a repeated substring in the prefix set and the suffix set of the partially identical characters, and determine the target position in the main string by the number of characters contained in the longest repeated substring; a target position determination submodule, configured to determine the target position in the main string by the number of characters contained in the string to be compared when there is no repeated substring in the prefix set and the suffix set of the partially identical characters; an update submodule, configured to obtain a string consisting of characters after the target position in the main string, obtain an updated main string, and match the updated main string with the string to be compared until the main string and the string to be compared are matched.
[0135] Optionally, in the product information processing device shown in the embodiment of the present disclosure, the target recommended product determination unit 903 includes: a third information acquisition module, configured to acquire users who have an association relationship with the target user, obtain first-category users, and acquire attribute information of the first-category users, and obtain first attribute information; a fourth information acquisition module, configured to acquire users who have an association relationship with each target product, obtain multiple groups of second-category users, and acquire attribute information of multiple groups of second-category users, and obtain multiple groups of second attribute information; a third matching module, configured to match the first attribute information with multiple groups of second attribute information, and obtain multiple matching results; a target recommended product determination module, configured to determine a target recommended product that matches the target user from at least one target product based on multiple matching results.
[0136] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0137] In an exemplary embodiment, an electronic device for a method for processing commodity information is also provided, comprising: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to execute instructions to implement any of the above commodity information processing methods.
[0138] In an exemplary embodiment, a storage medium is also provided, and when the instructions in the storage medium are executed by the processor of the electronic device of the information processing method, the electronic device of the information processing method can perform any of the above-mentioned methods for processing commodity information. Optionally, the storage medium can be a non-temporary computer-readable storage medium, for example, the non-temporary computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0139] In an exemplary embodiment, a computer program product is also provided, which, when executed on a data processing device, is suitable for executing a program for initializing any of the above-mentioned methods for processing commodity information. The computer product may be a terminal, which may be any computer terminal device in a computer terminal group. Optionally, in the embodiment of the present disclosure, the above-mentioned terminal may also be a terminal device such as a mobile terminal.
[0140] Optionally, in the embodiment of the present disclosure, the terminal may be located in at least one network device among a plurality of network devices of the computer network.
[0141] Optionally, Fig.10 FIG. 1 is a block diagram of a terminal according to an exemplary embodiment. Fig.10As shown, the terminal may include: one or more (only one is shown in the figure) processors 101, and a memory 103 for storing processor executable instructions; wherein the processor is configured to execute instructions to implement any of the above page processing methods.
[0142] Among them, the memory can be used to store software programs and modules, such as program instructions / modules corresponding to the page processing method and device in the embodiment of the present disclosure. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory, that is, realizing the above-mentioned page processing method. The memory may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include a memory remotely arranged relative to the processor, and these remote memories can be connected to the computer terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0143] It can be understood by those skilled in the art that Fig.10 The structure shown is for illustration only, and the computer terminal may also be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a handheld computer, a mobile Internet device (Mobile Internet Devices, MID), a PAD, or other terminal devices. Fig.10 The structure of the electronic device is not limited. For example, the terminal 10 may also include Fig.10 More or fewer components (such as network interfaces, display devices, etc.) shown in, or having Fig.10 Different configurations shown.
[0144] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0145] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
[0146] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0147] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A method for processing commodity information, characterized in that: include: Determine multiple candidate commodities from multiple commodities in the first database based on commodity popularity values, wherein the commodity popularity values are used to indicate the search popularity of commodities in the first database, wherein the first database corresponds to a large number of commodities and a large user base, and the commodity popularity values in the first database are used to represent the demand for commodities in the second database, and the candidate commodities are commodities with high user demand; Determine at least one target commodity from the plurality of candidate commodities based on the commodity reserve value of the candidate commodities, the commodity reserve value is used to indicate the reserve amount of the commodity in the second database, the first database and the second database have an associated relationship, wherein the target commodity is a commodity to be promoted in the second database, and the candidate commodity whose commodity reserve value is less than the preset reserve value is determined as the target commodity; Acquire attribute information of at least one target product, and for any target product, determine a target user matching any target product from multiple candidate users based on the attribute information, and use the target user as a user to be associated with any target product, wherein the user associated with the target product is used to promote the target product.
2. A method for processing commodity information, characterized in that: include: Determine multiple candidate commodities from multiple commodities in the first database based on commodity popularity values, wherein the commodity popularity values are used to indicate the search popularity of commodities in the first database, the first database corresponds to a large number of commodities and a large user base, and the commodity popularity values in the first database are used to represent the demand for commodities in the second database, and the candidate commodities are commodities with high user demand; Determine at least one target commodity from the plurality of candidate commodities based on the commodity reserve value of the candidate commodities, the commodity reserve value is used to indicate the reserve amount of the commodity in the second database, the first database and the second database have an associated relationship, wherein the target commodity is a commodity to be promoted in the second database, and the candidate commodity whose commodity reserve value is less than the preset reserve value is determined as the target commodity; Acquire attribute information of the at least one target product, and determine a target recommended product matching a target user from the at least one target product based on the attribute information, and use the target recommended product as a product to be associated with the target user, wherein the target user is used to promote the target product.
3. The method for processing commodity information according to claim 1 or 2, characterized in that: The determining of a plurality of candidate commodities from a plurality of commodities in the first database based on commodity popularity values includes: Obtaining the number of searches corresponding to the characteristic information of each product in the first database, and determining the number of searches as the product popularity value of the product, wherein the characteristic information includes at least one of the following: category information corresponding to the product, brand information corresponding to the product, and modification information corresponding to the product; When the commodity heat value of the commodity is greater than a preset heat value, the commodity is determined as a candidate commodity.
4. The method for processing commodity information according to claim 1 or 2, characterized in that: The determining at least one target commodity from the plurality of candidate commodities based on the commodity reserve value of the candidate commodities comprises: Determining search keywords suitable for the candidate product; Matching the search keyword with the description information of the product in the second database to obtain a matching result; Determine the number of commodities corresponding to the description information matching the search keyword based on the matching result, and determine the number as the commodity reserve value of the candidate commodity; When the commodity reserve value of the candidate commodity is less than a preset reserve value, the candidate commodity is determined as a target commodity.
5. The method for processing commodity information according to claim 4, characterized in that: The matching process of the search keyword with the description information of the commodity in the second database to obtain the matching result includes: Setting the description information as a main string and setting the search keyword as a string to be compared; Matching the main string with the string to be compared; When the to-be-compared character string exists in the main character string, determining that the search keyword matches the description information; When the character string to be compared does not exist in the main character string, it is determined that the search keyword does not match the description information.
6. The method for processing commodity information according to claim 5, characterized in that: The main string is matched with the string to be compared, and further includes: When some characters in the string to be compared are the same as some characters in the main string, determine whether there are repeated substrings in the prefix set and the suffix set of the partially identical characters, wherein the prefix set is a set of all substrings consisting of the remaining characters of the partially identical characters except the tail character, and the suffix set is a set of all substrings consisting of the remaining characters of the partially identical characters except the head character; When there are repeated substrings in the prefix set and the suffix set of the partially identical characters, obtaining the longest repeated substring, and determining the target position in the main character string according to the number of characters included in the longest repeated substring; In the case where there are no repeated substrings in the prefix set and the suffix set of the partially identical characters, determining the target position in the main string by the number of characters included in the string to be compared; A character string consisting of characters after the target position in the main character string is obtained to obtain an updated main character string, and the updated main character string is matched with the character string to be compared until the main character string and the character string to be compared are completely matched.
7. The method for processing commodity information according to claim 1, characterized in that: The acquiring the attribute information of the at least one target product, and determining, for any target product, a target user matching the any target product from a plurality of candidate users based on the attribute information, includes: Identify multiple candidate users; Acquire users associated with each of the candidate users to obtain multiple groups of first-category users, and acquire attribute information of multiple groups of the first-category users to obtain multiple groups of first attribute information; Acquire users who have an association relationship with the target product to obtain a second type of users, and acquire attribute information of the second type of users to obtain second attribute information; Matching multiple groups of the first attribute information and the second attribute information respectively to obtain multiple matching results; The target user matching the target product is determined from the multiple candidate users based on the multiple matching results.
8. The method for processing commodity information according to claim 7, characterized in that: The matching of the plurality of sets of the first attribute information and the second attribute information respectively to obtain a plurality of matching results includes: Determine multiple groups of first label data of multiple dimensions based on each of the first attribute information, and determine the second label data of the multiple dimensions through the second attribute information; The similarities between the multiple groups of the first label data corresponding to each of the first attribute information and the label data in the second label data that are in the same dimension and under the same label are calculated respectively to obtain multiple similarity values, wherein each of the similarities is used to indicate the matching result between each of the first attribute information and the second attribute information.
9. The method for processing commodity information according to claim 8, characterized in that: The determining, based on the multiple matching results, the target user that matches the target product from the multiple candidate users comprises: Determine a target similarity value greater than a preset similarity value from the multiple similarity values, and determine the first category of users to which the first attribute information corresponding to the target similarity value belongs as target first category users; The candidate user who has an association relationship with the target first-category user is determined as the target user.
10. The method for processing commodity information according to claim 2, characterized in that: The acquiring the attribute information of the at least one target product, and determining a target recommended product matching the target user from the at least one target product based on the attribute information includes: Acquire users associated with the target user to obtain a first type of users, and acquire attribute information of the first type of users to obtain first attribute information; Acquire users associated with each of the target products to obtain multiple groups of second-category users, and acquire attribute information of multiple groups of the second-category users to obtain multiple groups of second attribute information; Matching the first attribute information with multiple groups of the second attribute information to obtain multiple matching results; A target recommended product matching the target user is determined from the at least one target product based on the multiple matching results.
11. A device for processing commodity information, characterized in that: include: a candidate commodity determining unit, configured to determine a plurality of candidate commodities from a plurality of commodities in a first database based on commodity popularity values, wherein the commodity popularity values are used to indicate the search popularity of commodities in the first database, wherein the first database corresponds to a large number of commodities and a large user base, and the commodity popularity values in the first database are used to represent the demand for commodities in the second database, and the candidate commodities are commodities with high user demand; a target commodity determining unit, configured to determine at least one target commodity from the plurality of candidate commodities based on a commodity reserve value of the candidate commodities, the commodity reserve value being used to indicate a reserve amount of a commodity in the second database, the first database being associated with the second database, wherein the target commodity is a commodity to be promoted in the second database, and a candidate commodity whose commodity reserve value is less than a preset reserve value is determined as the target commodity; The target user determination unit is configured to obtain attribute information of at least one target product, and for any target product, determine a target user matching any target product from multiple candidate users based on the attribute information, and use the target user as a user to be associated with any target product, wherein the user associated with the target product is used to promote the target product.
12. A device for processing commodity information, characterized in that: include: A candidate commodity determination unit is configured to determine a plurality of candidate commodities from a plurality of commodities in a first database based on commodity popularity values, wherein the commodity popularity values are used to indicate the search popularity of commodities in the first database, the first database corresponds to a large number of commodities and a large user base, and the commodity popularity values in the first database are used to represent the demand for commodities in the second database, and the candidate commodities are commodities with high user demand; a target commodity determining unit, configured to determine at least one target commodity from the plurality of candidate commodities based on a commodity reserve value of the candidate commodities, the commodity reserve value being used to indicate a reserve amount of a commodity in the second database, the first database being associated with the second database, wherein the target commodity is a commodity to be promoted in the second database, and a candidate commodity whose commodity reserve value is less than a preset reserve value is determined as the target commodity; The target recommended product determination unit is configured to obtain attribute information of the at least one target product, and determine a target recommended product matching a target user from the at least one target product based on the attribute information, and use the target recommended product as a product to be associated with the target user, wherein the target user is used to promote the target product.
13. The commodity information processing device according to claim 11 or 12, characterized in that: The candidate commodity determination unit comprises: a commodity popularity value determination module, configured to obtain a search number corresponding to the feature information of each commodity in the first database, and determine the search number as the commodity popularity value of the commodity, wherein the feature information includes at least one of the following: category information corresponding to the commodity, brand information corresponding to the commodity, and modification information corresponding to the commodity; The candidate commodity determination module is configured to determine the commodity as a candidate commodity when the commodity popularity value of the commodity is greater than a preset popularity value.
14. The commodity information processing device according to claim 11 or 12, characterized in that: The target commodity determination unit includes: A search keyword determination module, configured to determine search keywords suitable for the candidate product; A first matching module is configured to match the search keyword with the description information of the product in the second database to obtain a matching result; a commodity reserve value determination module configured to determine the number of commodities corresponding to the description information matching the search keyword based on the matching result, and determine the number as the commodity reserve value of the candidate commodity; The target commodity module is configured to determine the candidate commodity as the target commodity when the commodity reserve value of the candidate commodity is less than a preset reserve value.
15. The commodity information processing device according to claim 14, characterized in that: The first matching module includes: A setting submodule is configured to set the description information as a main string and set the search keyword as a string to be compared; A matching submodule, configured to match the main string with the string to be compared; a matching determination submodule, configured to determine that the search keyword matches the description information when the to-be-compared character string exists in the main character string; The mismatch determination submodule is configured to determine that the search keyword does not match the description information when the to-be-compared character string does not exist in the main character string.
16. The commodity information processing device according to claim 15, characterized in that: The matching submodule includes: A judgment submodule is configured to judge whether there are repeated substrings in the prefix set and the suffix set of the partially identical characters when some characters in the string to be compared are the same as some characters in the main string, wherein the prefix set is a set of all substrings consisting of the remaining characters of the partially identical characters except the tail characters, and the suffix set is a set of all substrings consisting of the remaining characters of the partially identical characters except the head characters; an acquisition submodule, configured to acquire the longest repeated substring when there are repeated substrings in the prefix set and the suffix set of the partially identical characters, and determine the target position in the main character string according to the number of characters included in the longest repeated substring; a target position determination submodule, configured to determine the target position in the main string by the number of characters included in the string to be compared, when there is no repeated substring in the prefix set and the suffix set of the partially identical characters; The updating submodule is configured to obtain a character string consisting of characters after the target position in the main character string to obtain an updated main character string, and match the updated main character string with the character string to be compared until the main character string and the character string to be compared are matched.
17. The commodity information processing device according to claim 11, characterized in that: The target user determination unit comprises: A candidate user determination module is configured to determine a plurality of candidate users; A first information acquisition module is configured to acquire users associated with each of the candidate users to obtain multiple groups of first-category users, and acquire attribute information of the multiple groups of the first-category users to obtain multiple groups of first attribute information; A second information acquisition module is configured to acquire users associated with the target product to obtain a second type of users, and acquire attribute information of the second type of users to obtain second attribute information; A second matching module is configured to match multiple groups of the first attribute information and the second attribute information respectively to obtain multiple matching results; The target user determination module is configured to determine the target user matching the target product from among the multiple candidate users based on the multiple matching results.
18. The commodity information processing device according to claim 17, characterized in that: The second matching module includes: a label data determination submodule, configured to determine a plurality of groups of first label data of a plurality of dimensions based on each of the first attribute information, and to determine the second label data of the plurality of dimensions through the second attribute information; The calculation submodule is configured to respectively calculate the similarities between the multiple groups of the first label data corresponding to each of the first attribute information and the label data in the second label data that are in the same dimension and under the same label, and obtain multiple similarity values, wherein each of the similarities is used to indicate the matching result between each of the first attribute information and the second attribute information.
19. The commodity information processing device according to claim 18, characterized in that: The target user determination module comprises: a target first category user determination submodule, configured to determine a target similarity value greater than a preset similarity value from the multiple similarity values, and determine the first category user to which the first attribute information corresponding to the target similarity value belongs as a target first category user; The target user determination submodule is configured to determine the candidate user who has an association relationship with the target first-category user as the target user.
20. The commodity information processing device according to claim 12, characterized in that: The target recommended product determination unit includes: A third information acquisition module is configured to acquire users associated with the target user to obtain a first type of user, and acquire attribute information of the first type of user to obtain first attribute information; A fourth information acquisition module is configured to acquire users associated with each of the target products to obtain multiple groups of second-category users, and acquire attribute information of multiple groups of the second-category users to obtain multiple groups of second attribute information; a third matching module, configured to match the first attribute information with multiple groups of the second attribute information to obtain multiple matching results; The target recommended product determination module is configured to determine a target recommended product that matches the target user from the at least one target product based on the multiple matching results.
21. An electronic device for an information processing method, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the method for processing commodity information according to any one of claims 1 to 10.
22. A storage medium, when instructions in the storage medium are executed by a processor of an electronic device of a method for processing commodity information, the electronic device of the method for processing commodity information can execute the method for processing commodity information as claimed in any one of claims 1 to 10.
