Commodity information recommendation method and device, electronic equipment and computer readable medium
By displaying the store recommendation logo in response to the sliding operation on the shopping cart page, and displaying the store recommended products in the same store after triggering, the problem of inability to complete product targeted recommendations in the same store in the prior art is solved, and the accuracy and user experience of recommendations are improved.
Patent Information
- Application Number
- CN202510296824.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-13
- Publication Date
- 2025-06-20
AI Technical Summary
The prior art cannot complete the targeted recommendation of products under the same store on the shopping cart page, resulting in low accuracy and efficiency of recommendations.
By responsive to the preset sliding operation of the main product on the shopping cart page, the store recommendation logo is displayed, and after the triggering operation, the store recommended products of the same store are displayed in the preset position corresponding to the main product.
It realizes targeted recommendations for products in the same store, improves the efficiency and accuracy of product information recommendations, and improves the user's operating experience on the shopping cart page.
Smart Images

Figure CN120181964A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of e-commerce technologies, and in particular, to a method, apparatus, electronic device, and computer-readable medium for recommending product information. Background Art
[0002] When recommending product information to users, a recommended product stream can be presented at the bottom of the shopping cart based on the user's online shopping behavior data. However, the recommended products are highly blind and inaccurate. It is also possible to jump to a recommended page for similar products in the shopping cart to recommend similar products from multiple stores for the products in the shopping cart. The user operations are highly jumpy and involve product recommendations from multiple stores. Therefore, on the shopping cart page, it is impossible to complete the targeted recommendation of products under the same store. Summary of the Invention
[0003] In view of this, embodiments of this application provide a method, apparatus, electronic device, and computer-readable medium for recommending product information, which can solve the problem that on the existing shopping cart page, it is impossible to complete the targeted recommendation of products under the same store.
[0004] To achieve the above object, according to one aspect of the embodiments of this application, a method for recommending product information is provided, including:
[0005] In response to a preset sliding operation on the main product in the shopping cart page, display an in-store recommendation identifier for the main product;
[0006] In response to a trigger operation on the in-store recommendation identifier, display the in-store recommended products of the main product at a preset position corresponding to the main product in the shopping cart page; the in-store recommended products and the main product belong to the products of the same store.
[0007] Optionally, displaying the in-store recommended products of the main product at a preset position corresponding to the main product in the shopping cart page includes:
[0008] Obtain the main product identifier of the main product and query the corresponding in-store recommended product identifier according to the main product identifier;
[0009] Query product information according to the main product identifier and the in-store recommended product identifier;
[0010] Generate a cache key based on the product information;
[0011] Query in-store recommendation relationship information based on the cache key, and display the corresponding in-store recommended products at a preset position corresponding to the main product in the shopping cart page according to the in-store recommendation relationship information.
[0012] Optionally, the product information includes main product information and in-store recommended product information, and generating a cache key includes:
[0013] Obtain the general name of the main product and the general name of the in-store recommended products according to the main product information and the in-store recommended product information;
[0014] Assemble the general name of the main product and the general name of the in-store recommended products to obtain a cache key.
[0015] Optionally, display the corresponding in-store recommended products at a preset position corresponding to the main product on the shopping cart page according to the in-store recommendation relationship information, including:
[0016] Generate in-store recommended product details data according to the in-store recommendation relationship information;
[0017] Based on the in-store recommended product details data, display the corresponding in-store recommended products at a preset position corresponding to the main product on the shopping cart page.
[0018] Optionally, display the in-store recommended products of the main product at a preset position corresponding to the main product on the shopping cart page, including:
[0019] There are multiple side-by-side and slidable in-store recommended product areas set at the preset position, and fill the in-store recommended product details data belonging to the same in-store recommended product into the same in-store recommended product area.
[0020] Optionally, the method further includes:
[0021] In response to a trigger operation on a target control in the in-store recommended product area, display the corresponding in-store recommended product at a target position corresponding to the main product on the shopping cart page, and the target position is located in the main product area of the shopping cart.
[0022] Optionally, the in-store recommended products include at least one of in-store matching products and in-store same-product items.
[0023] Optionally, display the in-store recommended products of the main product at a preset position corresponding to the main product on the shopping cart page, including:
[0024] If the in-store recommendation identifier corresponds to an in-store matching recommendation item, display the in-store matching products of the main product at a preset position corresponding to the main product on the shopping cart page;
[0025] If the in-store recommendation identifier corresponds to an in-store same-product recommendation item, display the in-store same-product items of the main product at a preset position corresponding to the main product on the shopping cart page.
[0026] Optionally, query the in-store recommendation relationship information based on the cache key, including:
[0027] Query the in-store recommendation relationship information from the cache according to the cache key, where the cache is obtained through the following steps:
[0028] Obtain the in-store recommendation relationship data of the uploaded product, parse the in-store recommendation relationship data to obtain the general name of the main product, and then query whether the corresponding in-store recommendation relationship information exists in the database. If so, update the existing in-store recommendation relationship information in the database; if not, add the corresponding in-store recommendation relationship information to the database to obtain the updated database.
[0029] Extract the general name of the main product and the general name of the paired product from the updated database, and then splice them to obtain the cache key. Use the in-store recommendation relationship information corresponding to the general name of the main product and the general name of the paired product in the updated database as the cache value, and store the cache key and the corresponding cache value in the cache.
[0030] In addition, the present application also provides a product information recommendation device, including:
[0031] An in-store recommendation logo display unit, configured to display an in-store recommendation logo for the main product in response to a preset sliding operation on the main product in the shopping cart page;
[0032] An in-store recommended product display unit, configured to display the in-store recommended products of the main product at a preset position corresponding to the main product in the shopping cart page in response to a trigger operation on the in-store recommendation logo; the in-store recommended products and the main product belong to the products of the same store.
[0033] Optionally, the in-store recommended product display unit is further configured to:
[0034] Obtain the main product identifier of the main product and query the corresponding in-store recommended product identifier according to the main product identifier;
[0035] Query product information according to the main product identifier and the in-store recommended product identifier;
[0036] Generate a cache key based on the product information;
[0037] Query the in-store recommendation relationship information based on the cache key, and display the corresponding in-store recommended products at a preset position corresponding to the main product in the shopping cart page according to the in-store recommendation relationship information.
[0038] Optionally, the in-store recommended product display unit is further configured to:
[0039] Obtain the general name of the main product and the general name of the in-store recommended product according to the main product information and the in-store recommended product information;
[0040] Assemble the general name of the main product and the general name of the in-store recommended product to obtain a cache key.
[0041] Optionally, the in-store recommended product display unit is further configured to:
[0042] Generate in-store recommended product detail data based on in-store recommendation relationship information;
[0043] Based on the in-store recommended product detail data, display the corresponding in-store recommended products at the preset position corresponding to the main product on the shopping cart page.
[0044] Optionally, the in-store recommended product display unit is further configured to:
[0045] Set multiple side-by-side and slidable in-store recommended product areas at the preset position, and fill the in-store recommended product detail data belonging to the same in-store recommended product into the same in-store recommended product area.
[0046] Optionally, the in-store recommended product display unit is further configured to:
[0047] In response to a trigger operation on the target control in the in-store recommended product area, display the corresponding in-store recommended product at the target position corresponding to the main product on the shopping cart page, and the target position is located in the main product area of the shopping cart.
[0048] Optionally, the in-store recommended products include at least one of in-store paired products and in-store same-product items.
[0049] Optionally, the in-store recommended product display unit is further configured to:
[0050] If the in-store recommendation identifier corresponds to an in-store pairing recommendation item, display the in-store paired products of the main product at the preset position corresponding to the main product on the shopping cart page;
[0051] If the in-store recommendation identifier corresponds to an in-store same-product recommendation item, display the in-store same-product items of the main product at the preset position corresponding to the main product on the shopping cart page.
[0052] Optionally, the in-store recommended product display unit is further configured to:
[0053] Query the in-store recommendation relationship information from the cache according to the cache key, where the cache is obtained through the following steps:
[0054] Obtain the in-store recommendation relationship data of the uploaded products, parse the in-store recommendation relationship data to obtain the general name of the main product, and then query whether the corresponding in-store recommendation relationship information exists in the database. If so, update the corresponding existing in-store recommendation relationship information in the database. If not, add the corresponding in-store recommendation relationship information to the database to obtain the updated database;
[0055] Extract the common names of the main products and the common names of the paired products in the updated database, and then splice them to obtain a cache key. Use the in-store recommendation relationship information corresponding to the common names of the main products and the paired products in the updated database as the cache value, and store the cache key and the corresponding cache value in the cache.
[0056] In addition, the present application also provides a commodity information recommendation electronic device, including: one or more processors; a storage device for storing one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors implement the commodity information recommendation method as described above.
[0057] In addition, the present application also provides a computer-readable medium, on which a computer program is stored, and when the program is executed by a processor, the commodity information recommendation method as described above is implemented.
[0058] To achieve the above object, according to another aspect of the embodiments of the present application, a computer program product is provided.
[0059] A computer program product of an embodiment of the present application includes a computer program, and when the program is executed by a processor, the commodity information recommendation method provided by the embodiment of the present application is implemented.
[0060] One of the above embodiments of the invention has the following advantages or beneficial effects: The present application shows an in-store recommendation identifier for the main product in response to a preset sliding operation on the main product in the shopping cart page; in response to a trigger operation on the in-store recommendation identifier, the in-store recommended products of the main product are shown at a preset position corresponding to the main product in the shopping cart page; the in-store recommended products and the main product belong to the products of the same store. Thus, it is possible to achieve targeted recommendation of products in the same store, improve the efficiency and accuracy of targeted recommendation of product information, and enhance the operation experience of the user on the shopping cart page during online shopping.
[0061] The further effects of the above non-conventional optional methods will be described in combination with specific embodiments below. BRIEF DESCRIPTION OF THE DRAWINGS
[0062] The drawings are used to better understand the present application and do not constitute an improper limitation to the present application. Among them:
[0063] Figure 1 is a schematic diagram of the main process of the commodity information recommendation method according to an embodiment of the present application;
[0064] Figure 2 is a schematic diagram of the main process of the commodity information recommendation method according to an embodiment of the present application;
[0065] Figure 3It is a schematic diagram of the main process of the product information recommendation method according to an embodiment of the present application;
[0066] Figure 4 It is a schematic diagram of the matching data import process of the product information recommendation method according to an embodiment of the present application;
[0067] Figure 5 It is a schematic diagram of the matching data query process of the product information recommendation method according to an embodiment of the present application;
[0068] Figure 6 It is a schematic diagram of the in-store matching label display of the product information recommendation method according to an embodiment of the present application;
[0069] Figure 7 It is a schematic diagram of the in-store matching information display of the product information recommendation method according to an embodiment of the present application;
[0070] Figure 8 It is a schematic diagram of the effect of adding matching products to the shopping cart of the product information recommendation method according to an embodiment of the present application;
[0071] Figure 9 It is a schematic diagram of the main units of the product information recommendation device according to an embodiment of the present application;
[0072] Figure 10 It is an exemplary system architecture diagram to which the embodiments of the present application can be applied;
[0073] Figure 11 It is a schematic diagram of the structure of a computer system of a terminal device or a server suitable for implementing the embodiments of the present application. Detailed implementation manners
[0074] The following describes exemplary embodiments of the present application in conjunction with the accompanying drawings. Various details of the embodiments of the present application are included to facilitate understanding, and they should be considered merely exemplary. Therefore, those of ordinary skill in the art should recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present application. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description. It should be noted that the acquisition, transmission, storage, use, processing, etc. of data in the technical solution of the present application comply with the relevant provisions of national laws and regulations. It should be noted that in the embodiments of the present application, some industry-existing solutions such as certain software, components, models, etc. may be mentioned, and they should be considered exemplary. The purpose is only to illustrate the feasibility in the implementation of the technical solution of the present application, but it does not mean that the applicant has already or necessarily used this solution. In the technical solution of the present application, aspects such as the collection, gathering, updating, analysis, processing, use, transmission, storage, etc. of the user's personal information comply with the provisions of relevant laws and regulations, are used for legal and reasonable purposes, do not violate public order and good customs, are not shared, leaked, or sold outside these legal uses, etc., and are subject to the supervision and management of the regulatory authorities. Necessary measures are taken for the user's personal information to prevent illegal access to such user personal information data, maintain the security of user personal information, network security, and national security, ensure that the personnel with the right to access personal information data comply with the provisions of relevant laws and regulations, and ensure the security of user personal information. Once these user personal information data are no longer needed, the risk should be minimized by restricting or even prohibiting data collection and / or deleting the data.
[0075] When in use, including in certain related applications, user privacy is protected by de-identifying the data. For example, when in use, the specific identifier is removed, the amount or specificity of the stored data is controlled, how the data is stored is controlled, and / or other methods are used to de-identify.
[0076] When recommending product information to users, the purchase records and historical browsing records of the users can be used as the basis for recommendation, and a recommended product stream is displayed at the bottom of the shopping cart. However, the products recommended in this way are rather blind, and it is impossible to accurately judge the specific types of products that the user wants to purchase. It is also possible to expose the similar product label by swiping the product to the left on the shopping cart product. When the user clicks on the similar product label, they are redirected to the similar product recommendation page of that product. On this similar product recommendation page, similar products from multiple stores can be added to the shopping cart. When returning to the shopping cart page to view the products added to the shopping cart or further filtering the products added to the shopping cart, the positions of the products on the original shopping cart page will jump to new positions, resulting in a sense of jerk in the experience. If the user wants to return to the position of the products on the original shopping cart page, they need to slide the shopping cart page up and down by themselves to find the previous products, and the user experience in operating the shopping cart page is poor. Moreover, it is impossible to achieve targeted recommendation of products under the same store on the shopping cart page. Based on this, the present application provides a product information recommendation method, which displays an in-store recommendation identifier for the main product in response to a preset sliding operation on the main product in the shopping cart page; and in response to a trigger operation on the in-store recommendation identifier, displays the in-store recommended products of the main product at a preset position corresponding to the main product in the shopping cart page; the in-store recommended products and the main product belong to the products of the same store. Thereby, targeted recommendation of products under the same store can be achieved, and the efficiency and accuracy of targeted product information recommendation can be improved, as well as the operation experience of the user on the shopping cart page during online shopping can be enhanced.
[0077] Figure 1 is a schematic diagram of the main process of a product information recommendation method according to an embodiment of the present application, as Figure 1 shown, the product information recommendation method mainly includes the following steps S101-step S102.
[0078] Step S101, in response to a preset sliding operation on the main product in the shopping cart page, display an in-store recommendation identifier for the main product.
[0079] In this embodiment, the execution subject of the product information recommendation method (for example, it can be a server) can, through a wired connection or a wireless connection, display an in-store recommendation identifier for the main product on the shopping cart page when detecting a preset sliding operation (such as a right sliding operation, a left sliding operation, an upward sliding operation, a downward sliding operation, etc., and the present application embodiment does not make specific limitations on the preset sliding operation) for the main product on the shopping cart page (for example, a drug, food, clothes, or other products that have been added to the shopping cart on the page). By way of example, the in-store recommendation identifier can be in-store matching, in-store same product, or other recommendation items. The in-store matching products can be products that are complementary to the main product in function, that is, products that need to be used together to maximize their effectiveness; the in-store same product, that is, in-store similar products, refers to products that are the same or similar in function to the main product and can be substituted for each other.
[0080] Step S102, in response to a trigger operation for the in-store recommendation identifier, display the in-store recommended products of the main product at a preset position corresponding to the main product on the shopping cart page; the in-store recommended products and the main product belong to products of the same store.
[0081] When the execution subject detects a trigger operation (such as a single click operation or a double click operation) by the user for the in-store recommendation identifier (such as in-store matching, in-store same product, etc.) displayed for the main product, it can display the in-store recommended products of the main product at a preset position (such as directly below) corresponding to the main product that has been added to the shopping cart on the shopping cart page. The in-store recommended products and the main product belong to products of the same store, thereby achieving efficient and accurate product targeted recommendation under the same store.
[0082] Specifically, the in-store recommended products include at least one of in-store matching products and in-store same products.
[0083] By way of example, the in-store matching products can be products that are complementary to the main product in function, that is, products that need to be used together to maximize their effectiveness.
[0084] The in-store same product, that is, in-store similar products, refers to products that are the same or similar in function to the main product and can be substituted for each other.
[0085] Specifically, displaying the in-store recommended products of the main product at a preset position corresponding to the main product on the shopping cart page includes: if the in-store recommendation identifier corresponds to the in-store matching recommendation item, display the in-store matching products of the main product at a preset position corresponding to the main product on the shopping cart page; if the in-store recommendation identifier corresponds to the in-store same product recommendation item, display the in-store same products of the main product at a preset position corresponding to the main product on the shopping cart page.
[0086] For example, if the in-store recommendation identifier is in-store matching, then display the in-store matching products of the main product (e.g., the main product is clothes) at the preset position (e.g., directly below) corresponding to the main product on the shopping cart page (e.g., the in-store pants that match the main product clothes). If the in-store recommendation identifier is in-store same product, then display the in-store same product of the main product (e.g., antipyretic 1) at the preset position (e.g., directly below) corresponding to the main product on the shopping cart page (e.g., antipyretic 2 in the store that has the same function as the main product antipyretic 1).
[0087] In the embodiment of the present application, by responding to a preset sliding operation on the main product in the shopping cart page, display the in-store recommendation identifier for the main product; in response to a trigger operation on the in-store recommendation identifier, display the in-store recommended product of the main product at the preset position corresponding to the main product in the shopping cart page; the in-store recommended product and the main product belong to the products of the same store. Thus, it is possible to achieve targeted recommendation of products under the same store, improve the efficiency and accuracy of targeted recommendation of product information, and enhance the operation experience of users on the shopping cart page during online shopping.
[0088] Figure 2 It is a schematic diagram of the main process of the product information recommendation method according to an embodiment of the present application, as Figure 2 shown, the product information recommendation method mainly includes the following steps S201 - step S205.
[0089] Step S201, in response to a preset sliding operation on the main product in the shopping cart page, display the in-store recommendation identifier for the main product.
[0090] When the execution entity detects that the user enters the shopping cart page, it can query the quantity of the in-store recommended products corresponding to the main product (e.g., main product 1) already added to the shopping cart on the current shopping cart page. If the quantity is greater than the preset threshold (e.g., the quantity is greater than 0), then the area where the main product (e.g., main product 1) is located can slide in the preset direction (e.g., slide to the right, slide to the left, etc.). If the quantity is less than or equal to the preset threshold (e.g., the quantity is equal to 0), then the area where the main product (e.g., main product 1) is located cannot slide in the preset direction. When the execution entity detects a preset sliding operation by the user on the main product (e.g., main product 1) in the shopping cart page and the area where the main product (e.g., main product 1) is located actually slides along with the user's preset sliding operation, it indicates that the quantity of the in-store recommended products corresponding to the main product (e.g., main product 1) already added to the shopping cart on the current shopping cart page is greater than the preset threshold (e.g., the quantity is greater than 0). Then, the in-store recommendation identifier for the main product (e.g., it can be in-store matching or in-store same product) can be displayed in the newly exposed area after the main product (e.g., main product 1) slides.
[0091] Step S202: In response to a triggering operation on the in-store recommendation identifier, obtain the main product identifier of the main product and query the corresponding in-store recommended product identifier according to the main product identifier.
[0092] When the user clicks on the displayed in-store recommendation identifier, the execution entity, in response to the triggering operation on the displayed in-store recommendation identifier, obtains the main product identifier of the main product (such as the product code of the main product) and queries the corresponding in-store recommended product identifier according to the main product identifier (such as the product code of the in-store recommended product corresponding to the in-store main product).
[0093] Step S203: Query product information according to the main product identifier and the in-store recommended product identifier.
[0094] Query the product information of the main product according to the main product identifier (such as the product code of the main product), that is, the main product information, such as the product details information of the main product. Query the product information of the in-store recommended product corresponding to the main product according to the in-store recommended product identifier (such as the product code of the in-store recommended product), that is, the in-store recommended product information, such as the product details information of the in-store recommended product corresponding to the main product.
[0095] Step S204: Generate a cache key based on the product information.
[0096] Generally, the functions and main active ingredients of products with the same general name are the same. Specifically, the product information includes the main product information and the in-store recommended product information. Generating a cache key includes: obtaining the general name of the main product and the general name of the in-store recommended product according to the main product information and the in-store recommended product information; assembling the general name of the main product and the general name of the in-store recommended product to obtain the cache key.
[0097] The general name of the main product can be obtained from the main product information, and the general name of the in-store recommended product can be obtained from the in-store recommended product information. Assemble the general name of the main product and the general name of the in-store recommended product to obtain the general name of the main product + the general name of the in-store recommended product, which is the cache key.
[0098] Step S205: Query the in-store recommendation relationship information based on the cache key, and display the corresponding in-store recommended product at the preset position corresponding to the main product on the shopping cart page.
[0099] In the embodiment of the present application, first, the in-store recommendation relationship data of the products uploaded by the operation personnel is stored in the database, and then, based on the data in the database, using the general name of the main product and the general name of the matching product as the key, and the in-store recommendation relationship information in the in-store recommendation relationship data as the value, the key and the corresponding value are synchronized to the cache. Thus, based on the query of the database and the cache, the efficiency and accuracy of data recommendation are improved.
[0100] Specifically, querying in-store recommendation relationship information based on a cache key includes: querying the in-store recommendation relationship information from the cache according to the cache key. The cache is obtained through the following steps: obtaining the in-store recommendation relationship data of the uploaded product, parsing the in-store recommendation relationship data to obtain the common name of the main product, and then querying whether the corresponding in-store recommendation relationship information exists in the database. If so, updating the existing in-store recommendation relationship information corresponding in the database; if not, adding the corresponding in-store recommendation relationship information to the database to obtain an updated database; extracting the common name of the main product and the common name of the paired product from the updated database, and then splicing to obtain the cache key, using the in-store recommendation relationship information corresponding to the common name of the main product and the common name of the paired product in the updated database as the cache value, and storing the cache key and the corresponding cache value in the cache. The in-store recommendation relationship information can be a part of the in-store recommendation relationship data.
[0101] Exemplarily, the in-store recommendation relationship data of the uploaded product can be as follows:
[0102] Common name of main product 1, specification of main product 1, type of main product 1, selling points of main product 1, pharmacist's comment on main product 1, common name of recommended product 1, specification of recommended product 1, type of recommended product 1, selling points of recommended product 1, pharmacist's comment on recommended product 1, person in charge 1;
[0103] Common name of main product 1, specification of main product 1, type of main product 1, selling points of main product 1, pharmacist's comment on main product 1, common name of recommended product 2, specification of recommended product 2, type of recommended product 2, selling points of recommended product 2, pharmacist's comment on recommended product 2, person in charge 2;
[0104] Common name of main product 2, specification of main product 2, type of main product 2, selling points of main product 2, pharmacist's comment on main product 2, common name of recommended product 3, specification of recommended product 3, type of recommended product 3, selling points of recommended product 3, pharmacist's comment on recommended product 3, person in charge 3.
[0105] Parse the uploaded in-store recommendation relationship data to obtain the common name of the main product, and then query the corresponding in-store recommendation relationship information from the database based on the parsed common name of the main product (such as main product 1 - common name, main product 1 - specification, main product 1 - type, main product 1 - selling point, main product 1 - pharmacist's comment, recommended product 1 - common name, recommended product 1 - specification, recommended product 1 - type, recommended product 1 - selling point, recommended product 1 - pharmacist's comment, person in charge 1) to check if it exists. If it exists, update the corresponding existing in-store recommendation relationship information in the database; if it does not exist, add the corresponding in-store recommendation relationship information to the database to obtain an updated database. Extract the common name of the main product and the common name of the paired product from the updated database, and then splice them to obtain the latest cache key. Use the in-store recommendation relationship information (such as main product 1 - common name 1, main product 1 - specification 1, main product 1 - type, main product 1 - selling point, main product 1 - pharmacist's comment, recommended product 1 - common name, recommended product 1 - specification, recommended product 1 - type, recommended product 1 - selling point, recommended product 1 - pharmacist's comment 1, person in charge 1) corresponding to the common name of the main product and the common name of the paired product in the latest cache key in the updated database as the cache value, and store the latest cache key and the cache value corresponding to the latest cache key in the cache.
[0106] Specifically, display the corresponding in-store recommended products at the preset position corresponding to the main product on the shopping cart page according to the in-store recommendation relationship information, including: generate the detailed data of the in-store recommended products according to the in-store recommendation relationship information; display the corresponding in-store recommended products at the preset position corresponding to the main product on the shopping cart page based on the detailed data of the in-store recommended products.
[0107] After obtaining the in-store recommendation relationship information (such as main product 1 - common name 1, main product 1 - specification 1, main product 1 - type, main product 1 - selling point, main product 1 - pharmacist's comment, recommended product 1 - common name, recommended product 1 - specification, recommended product 1 - type, recommended product 1 - selling point, recommended product 1 - pharmacist's comment 1, person in charge 1), supplement the fixed copywriting, selling points, product pictures, product labels, product prices, arrival prices, product names, product types, comments, etc. of the main product and the corresponding in-store recommended products to generate the detailed data of the in-store recommended products, and display the corresponding in-store recommended products at the preset position corresponding to the main product on the shopping cart page based on the obtained detailed data of the in-store recommended products. Specifically, it can display the fixed copywriting, selling points, product pictures, product labels, product prices, arrival prices, product names, product types, comments, etc. of the in-store recommended products corresponding to the generated detailed data of the in-store recommended products.
[0108] Specifically, in a preset position corresponding to the main product on the shopping cart page, in-store recommended products of the main product are displayed, including: multiple side-by-side and slidable in-store recommended product areas are set at the preset position, and the in-store recommended product detail data belonging to the same in-store recommended product are filled into the same in-store recommended product area.
[0109] According to the in-store recommended product detail data, the corresponding in-store recommended products are displayed at a preset position (such as directly below) corresponding to the main product on the shopping cart page. At this preset position (such as directly below), multiple side-by-side and slidable in-store recommended product areas (such as multiple side-by-side and left-right slidable in-store recommended product cards) can be set. In this in-store recommended product area, fixed copywriting, selling points, product pictures, product labels, product prices, price after discounts, product names, product types, reviews, etc. of the in-store recommended products corresponding to the main product can be displayed. The in-store recommended product detail data belonging to the same in-store recommended product (such as the fixed copywriting, selling points, product pictures, product labels, product prices, price after discounts, product names, product types, reviews, etc. of the same in-store recommended product) are filled into the same in-store recommended product area for users to view and select, thereby improving the operation experience of users on the shopping cart page during online shopping. It realizes product targeted recommendation under the same store, increases the convenience of recommended specified products and the continuity of page interaction, and facilitates users to select products.
[0110] Specifically, the product information recommendation method further includes: in response to a trigger operation on a target control in the in-store recommended product area, the corresponding in-store recommended product is displayed at a target position corresponding to the main product on the shopping cart page, and the target position is located in the main product area of the shopping cart.
[0111] In response to a trigger operation (such as a click operation on the add-to-cart button) by the user on a target control (such as the add-to-cart button, that is, the add-to-shopping-cart button) in the in-store recommended product area (such as one or more of the in-store recommended product cards displayed directly below the main product to the user), the corresponding in-store recommended product (that is, the in-store recommended product in the in-store recommended product area where the add-to-cart button clicked by the user is located) is displayed at a target position corresponding to the main product on the shopping cart page (such as directly below the main product affected by the user's preset sliding operation on the shopping cart page). The target position is located in the main product area of the shopping cart. It realizes product targeted recommendation under the same store, increases the convenience of recommended specified products and the continuity of page interaction, and facilitates users to select products.
[0112] In the following embodiments of the present application, the in-store recommended products are taken as in-store matching products as an example for illustration. When the in-store recommended products are in-store same-brand products, the product information recommendation method is similar and will not be elaborated here.
[0113] Figure 3 It is a schematic diagram of the main process of a product information recommendation method according to an embodiment of the present application. As Figure 3 shown, when the execution entity detects that the user enters the shopping cart page, it can query the data of the matching relationship information of the products in the shopping cart from the database, and then determine whether the number of in-store matching products of the currently selected product in the shopping cart of the user (i.e., the target main product, which is also the main product affected by the preset sliding operation of the user on the shopping cart page in the embodiment of the present application) is greater than 0. If not, the currently selected product in the shopping cart (i.e., the target main product, which is also the main product affected by the preset sliding operation of the user on the shopping cart page in the embodiment of the present application) cannot be swiped to the right. If so, the currently selected product in the shopping cart (i.e., the target main product, which is also the main product affected by the preset sliding operation of the user on the shopping cart page in the embodiment of the present application) can be swiped to the right. When the execution entity detects that the user swipes the currently selected product (i.e., the target main product, which is also the main product affected by the preset sliding operation of the user on the shopping cart page in the embodiment of the present application) to the right, it displays an in-store matching label (i.e., the in-store recommendation identifier for the target main product) for the user to continue clicking. When the execution entity detects that the user clicks the in-store matching label (i.e., the in-store recommendation identifier for the target main product), it displays the details data of the in-store matching products queried in the area directly below the currently selected product (i.e., the target main product, which is also the main product affected by the preset sliding operation of the user on the shopping cart page in the embodiment of the present application). When it detects that the user clicks the add-to-cart button (i.e., the button to add to the shopping cart) next to the recommended product (i.e., the in-store matching product), the corresponding in-store recommended product (i.e., the in-store matching product) is displayed directly below the currently selected product (i.e., the target main product, which is also the main product affected by the preset sliding operation of the user on the shopping cart page in the embodiment of the present application). Thus, product targeted recommendation is realized under the same store, increasing the convenience of specified product recommendation and the continuity of page interaction, and facilitating users to select products.
[0114] The embodiments of the present application can improve the convenience of recommended specified products and the continuity of page interaction. The recommendation function part may include recommendation items such as 'in-store combinations' and 'in-store same products'. The page interaction part of the recommendation includes swiping a product on the shopping cart page to the right to expose labels such as 'in-store combinations' and 'in-store same products', and clicking on the corresponding label will display the corresponding paired products or in-store similar products directly below the product. Specifically, taking drugs as an example, in the implementation process of the embodiments of the present application, the operation staff needs to import the pairing relationships of drugs into the database in advance, and this step is completed through the 'pairing information import module'. When entering the shopping cart page, query the paired drug information for the drugs in the shopping cart (this step is completed through the 'pairing information query module'). Determine whether the number of paired drugs is greater than 0. If it is greater than 0, the product can be swiped to the right; otherwise, it cannot be swiped to the right. After swiping to the right, the 'in-store combinations' label is exposed on the left. Clicking on this label will display the 'in-store combinations' information module directly below the current drug, and at the same time, hide the label shown after the right swipe. Clicking on the add-to-cart button next to the paired drug in the 'in-store combinations' information module will display the paired drug directly below the current drug in the shopping cart, and at the same time, hide the 'in-store combinations' information module (this step is completed through the 'pairing information display module').
[0115] Explanation of related terms: Generic name of drug: It is the generic name of drugs with the same ingredient or the same formulation, and it has mandatory and binding properties. Therefore, the generic name must be used on the labels, instructions, or packages of all drugs in circulation. Generally speaking, drugs with the same generic name have the same main active ingredient, while the drug name is the name given by each merchant. Drug name: That is, the trade name, which is determined by the drug manufacturer itself and approved by the drug regulatory department. It has proprietary nature and cannot be imitated. Under one generic name, there can be multiple trade names due to different manufacturers.
[0116] Figure 4It is a schematic diagram of the process for importing matching data of a product information recommendation method according to an embodiment of the present application. The embodiment of the present application is described by taking the example of purchasing medicine when the product is medicine. Specifically, for the import of matching information: The medicine matching relationship is divided into a main product (main product, such as the product in the shopping cart) and a matching product (matching product, such as the matching medicine in the in-store matching information module). One main product can correspond to multiple matching products. For example, in the matching relationship Excel, it can include: Main Product 1 - Generic Name, Main Product 1 - Specification, Main Product 1 - Type, Main Product 1 - Selling Point, Main Product 1 - Pharmacist's Comment, Matching Product 1 - Generic Name, Matching Product 1 - Specification, Matching Product 1 - Type, Matching Product 1 - Selling Point, Matching Product 1 - Pharmacist's Comment, Person in Charge 1; Main Product 1 - Generic Name, Main Product 1 - Specification, Main Product 1 - Type, Main Product 1 - Selling Point, Main Product 1 - Pharmacist's Comment, Matching Product 2 - Generic Name, Matching Product 2 - Specification, Matching Product 2 - Type, Matching Product 2 - Selling Point, Matching Product 2 - Pharmacist's Comment, Person in Charge 2; Main Product 2 - Generic Name, Main Product 2 - Specification, Main Product 2 - Type, Main Product 2 - Selling Point, Main Product 2 - Pharmacist's Comment, Matching Product 3 - Generic Name, Matching Product 3 - Specification, Matching Product 3 - Type, Matching Product 3 - Selling Point, Matching Product 3 - Pharmacist's Comment, Person in Charge 3.
[0117] As Figure 4 shown, after the operation personnel maintain the medicine matching relationship through Excel and upload it, the server parses the medicine matching relationship from the uploaded Excel, and then queries the main medicine according to the generic name of the medicine based on the matching relationship, queries the matching medicine according to the main medicine, and checks whether the current matching medicine already exists in the database. If so, the matching relationship is updated, and the updated matching relationship is stored in the database. If not, a new matching relationship is added, and the new matching relationship is stored in the database. Then the cache is synchronized. In the cache, key: Main Product Generic Name_Matching Product Generic Name, value: Matching Relationship Information Data. For example, in the embodiment of the present application, the main product can be the main medicine, and the matching product can be the matching medicine. For example, the execution entity can query the matching relationship from the database according to the parsed generic name of the main medicine, judge whether the current matching relationship exists. If it exists, the matching relationship is updated. Otherwise, a new matching relationship is added, and the matching relationship information data is synchronized to the cache. The key of the cache is the concatenation of the main product generic name and the matching product generic name, and the value is the relationship information between the main product and the matching product, that is, a piece of data in the Excel.
[0118] Figure 5It is a schematic diagram of the matching data query process for the product information recommendation method according to an embodiment of the present application. When the execution entity detects that the user enters the shopping cart page, it triggers the query of the matching relationship. The input parameter for the query is the product code of the main product. The database is queried based on the product code of the main product to obtain the product codes of the corresponding matching products (i.e., the matching products belonging to the same store as the main product). The general name of the main product is obtained by querying the product information based on the product code of the main product, and the general name of the matching product is obtained by querying the product information based on the product code of the matching product. The general name of the main product and the general name of the matching product are obtained, and then assembled into a cache key as follows: key: general name of the main product_general name of the matching product. And based on this key, the corresponding value is queried from the Redis cache. The query result is: key: general name of the main product_general name of the matching product, value: matching relationship information data. The matching product information is supplemented according to the matching relationship information data to obtain the matching product details data (including the fixed copywriting, selling points, product pictures, product labels, product prices, arrival prices, product names, product types, reviews, etc. of the matching products), and the matching product details data (including the fixed copywriting, selling points, product pictures, product labels, product prices, arrival prices, product names, product types, reviews, etc. of the matching products) is returned to the calling party.
[0119] For example, taking the product as a drug for illustration, where the main product is the main drug and the matching product is the matching drug. For example, when the execution entity detects that the user enters the shopping cart page, it queries the product codes of the corresponding in-store matching drugs for the main drug in the shopping cart (judged by the product identifier (i.e., the product code) in the shopping cart), and then queries the product information of the main drug (i.e., the drug in the shopping cart) and the in-store matching drugs. According to the queried product information, the general name of the main drug and the general name of the in-store matching drugs are taken out, and then spliced into the cache primary key key. Then, the matching relationship information data (i.e., the in-store recommendation relationship information of the present application) is obtained from the cache according to this primary key key. After obtaining the matching relationship information data, the product names, product types, product prices, product pictures, fixed copywriting, selling points, product labels, arrival prices, reviews, etc. of the main drug and the in-store matching drugs are supplemented to obtain the matching drug details data, and finally the matching drug details data is returned to the calling party. Thereby improving the efficiency and accuracy of the matching data query. Realize product targeted recommendation under the same store, increase the convenience of the specified product recommendation and the continuity of the page interaction, and facilitate the user to select products.
[0120] Figure 6 It is a schematic diagram of the in-store matching label display for the product information recommendation method according to an embodiment of the present application. In the embodiment of the present application, the main product is the main product, such as Figure 6As shown in the figure, the main product area (i.e., the main commodity area) of the shopping cart can include: radio buttons, picture area, main product name, promotional offers, and price. The shopping cart interface can also include the store name (e.g., Store Name 1) and delivery time information. When the user swipes a certain main product area of the shopping cart to the right, the 'In-Store Combinations' label will be revealed in the corresponding label area on the left for the user to click and browse and select in-store products. This enhances the user's operation experience on the shopping cart page during online shopping.
[0121] Figure 7 It is a schematic diagram showing the display of in-store combination information of the product information recommendation method according to an embodiment of the present application. Taking the product as medicine as an example, when the execution entity detects that the user clicks on the Figure 6 'In-Store Combinations' label, the shopping cart page will be transformed from Figure 6 to as shown in Figure 7 In the figure, the 'In-Store Combinations' information module is added, and at the same time, the just-revealed 'In-Store Combinations' label is hidden. There are multiple matching medicine cards in the 'In-Store Combinations' information module. The user can swipe left in the 'In-Store Combinations' information module to view different matching medicine cards. The matching medicine card area can include: fixed copy area, accessory selling point area, pharmacist review area, picture area, product label, price, price after discount, accessory product name, and add-to-cart button. The added 'In-Store Combinations' information module is located directly below Store Name 1, close to the medicine already added to the shopping cart in the corresponding store of Store Name 1, and directly above the relevant information corresponding to Store Name 2 (e.g., it can include the radio button corresponding to Store Name 2, delivery time information, and the main product area of the shopping cart composed of a picture area, product name, promotional offers, price, and radio button) to facilitate the user to browse and select medicines under the same store.
[0122] Figure 8 It is a schematic diagram showing the effect of adding a matching product to the shopping cart of the product information recommendation method according to an embodiment of the present application. Taking the product as medicine as an example, when the execution entity detects that the user clicks on the Figure 7 add-to-cart button in the matching medicine card of the 'In-Store Combinations' information module, the matching medicine corresponding to the clicked add-to-cart button will be added directly below the main medicine already added to the shopping cart in the same store, as shown in Figure 8As shown, at the top is the main product area of the shopping cart corresponding to Store Name 1 (including radio buttons, Store Name 1, and delivery time information). Specifically, the shopping cart page contains the main product area of the main products (such as main medicines) in the store corresponding to Store Name 1 (arranged from top to bottom in sequence) (including unit buttons, picture areas, main product names, promotional offers, and prices), and the main product area of the newly added paired products (such as paired medicines) (including unit buttons, picture areas, main product names, promotional offers, and prices). It improves the operation experience of users on the shopping cart page during online shopping.
[0123] For example, taking medicines as an example of the products, the main product is the main commodity, such as the main medicine, and the paired product is the paired commodity, such as the paired medicine. When displaying paired product information, the user swipes the 'Main Product Area of the Shopping Cart' to the right, and the 'In-Store Pairings' label is revealed on the left. Clicking on this label will display the 'In-Store Pairings' information module directly below the current 'Main Product Area of the Shopping Cart', and at the same time, hide the just-revealed 'In-Store Pairings' label. There are multiple 'Paired Medicine Cards' in the 'In-Store Pairings' information module, and you can swipe left to view different paired medicines. The 'Paired Medicine Card' area includes a 'Paired Product Selling Point Area', a 'Fixed Copy Area', a 'Pharmacist Review Area', a 'Picture Area', etc. In the 'In-Store Pairings' information module, clicking the add-to-cart button will display the paired medicine directly below the current 'Main Product Area of the Shopping Cart' (at this time, the paired medicine becomes the main shopping cart medicine), and at the same time, hide the 'In-Store Pairings' information module. It improves the operation experience of users on the shopping cart page during online shopping. The embodiments of this application can achieve product targeted recommendation under the same store, which can increase the convenience of recommended specified products and the continuity of page interaction. When the products are medicines, it is convenient for users to select and purchase medicines.
[0124] Figure 9 It is a schematic diagram of the main units of the product information recommendation device according to the embodiments of this application. As Figure 9 shown, the product information recommendation device 900 includes an in-store recommendation label display unit 901 and an in-store recommendation product display unit 902.
[0125] The in-store recommendation label display unit 901 is configured to display an in-store recommendation label for the main product in response to a preset sliding operation on the main product in the shopping cart page.
[0126] The in-store recommendation product display unit 902 is configured to display the in-store recommended products of the main product at a preset position corresponding to the main product in the shopping cart page in response to a trigger operation on the in-store recommendation label; the in-store recommended products and the main product belong to the products of the same store.
[0127] In some embodiments, the in-store recommended product display unit 902 is further configured to: obtain the main product identifier of the main product and query the corresponding in-store recommended product identifier according to the main product identifier; query product information according to the main product identifier and the in-store recommended product identifier; generate a cache key based on the product information; query the in-store recommended relationship information based on the cache key, and display the corresponding in-store recommended product at a preset position corresponding to the main product on the shopping cart page.
[0128] In some embodiments, the in-store recommended product display unit 902 is further configured to: obtain the common name of the main product and the common name of the in-store recommended product according to the main product information and the in-store recommended product information; assemble the common name of the main product and the common name of the in-store recommended product to obtain a cache key.
[0129] In some embodiments, the in-store recommended product display unit 902 is further configured to: generate in-store recommended product detail data according to the in-store recommended relationship information; display the corresponding in-store recommended product at a preset position corresponding to the main product on the shopping cart page based on the in-store recommended product detail data.
[0130] In some embodiments, the in-store recommended product display unit 902 is further configured to: there are multiple side-by-side and slidable in-store recommended product areas set at the preset position, and fill the in-store recommended product detail data belonging to the same in-store recommended product into the same in-store recommended product area.
[0131] In some embodiments, the in-store recommended product display unit 902 is further configured to: in response to a trigger operation on a target control in the in-store recommended product area, display the corresponding in-store recommended product at a target position corresponding to the main product on the shopping cart page, and the target position is located in the main product area of the shopping cart.
[0132] In some embodiments, the in-store recommended products include at least one of in-store matching products and in-store same-product items.
[0133] In some embodiments, the in-store recommended product display unit 902 is further configured to: if the in-store recommended identifier corresponds to an in-store matching recommendation item, display the in-store matching product of the main product at a preset position corresponding to the main product on the shopping cart page; if the in-store recommended identifier corresponds to an in-store same-product recommendation item, display the in-store same-product item of the main product at a preset position corresponding to the main product on the shopping cart page.
[0134] In some embodiments, the in-store recommended product display unit 902 is further configured to: query the in-store recommendation relationship information from the cache according to the cache key, where the cache is obtained through the following steps: obtain the in-store recommendation relationship data of the uploaded product, parse the in-store recommendation relationship data to obtain the common name of the main product, and then query whether the corresponding in-store recommendation relationship information exists in the database. If so, update the existing in-store recommendation relationship information in the database; if not, add the corresponding in-store recommendation relationship information to the database to obtain the updated database; extract the common name of the main product and the common name of the paired product from the updated database, and then splice them to obtain the cache key. Use the in-store recommendation relationship information corresponding to the common name of the main product and the common name of the paired product in the updated database as the cache value, and store the cache key and the corresponding cache value in the cache.
[0135] It should be noted that the product information recommendation method and the product information recommendation device of the present application have corresponding relationships in terms of specific implementation content, so the repeated content will not be described again.
[0136] Figure 10 An exemplary system architecture 1000 is shown to which the product information recommendation method or the product information recommendation device of the embodiments of the present application can be applied.
[0137] As Figure 10 shown, the system architecture 1000 may include terminal devices 1001, 1002, 1003, a network 1004, and a server 1005. The network 1004 is used to provide a medium for communication links between the terminal devices 1001, 1002, 1003 and the server 1005. The network 1004 may include various connection types, such as wired, wireless communication links, or fiber optic cables, etc.
[0138] Users can use the terminal devices 1001, 1002, 1003 to interact with the server 1005 through the network 1004 to receive or send messages, etc. Various communication client applications may be installed on the terminal devices 1001, 1002, 1003, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only as examples).
[0139] The terminal devices 1001, 1002, 1003 may be various electronic devices with an information recommendation processing screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, and desktop computers, etc.
[0140] The server 1005 may be a server that provides various services. For example, it may be a background management server (merely an example) that supports a preset sliding operation of the user on the main product in the shopping cart page on the terminal devices 1001, 1002, and 1003. The background management server may, in response to the preset sliding operation on the main product in the shopping cart page, display an in-store recommendation identifier for the main product; in response to a trigger operation on the in-store recommendation identifier, display the in-store recommended products of the main product at a preset position corresponding to the main product in the shopping cart page; the in-store recommended products and the main product belong to the products of the same store. Thus, it is possible to achieve targeted product recommendation under the same store, improve the efficiency and accuracy of targeted product information recommendation, and enhance the operation experience of the user on the shopping cart page during online shopping.
[0141] It should be noted that the product information recommendation method provided by the embodiments of the present application is generally executed by the server 1005. Correspondingly, the product information recommendation device is generally set in the server 1005.
[0142] It should be understood that Figure 10 the numbers of the terminal devices, networks, and servers in
[0143] are merely illustrative. According to the implementation requirements, there may be any number of terminal devices, networks, and servers. Figure 11 The following refers to Figure 11 which shows a schematic structural diagram of a computer system 1100 of a terminal device suitable for implementing the embodiments of the present application.
[0144] As Figure 11 shown, the computer system 1100 includes a central processing unit (CPU) 1101, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 1102 or the program loaded from the storage section 1108 into the random access memory (RAM) 1103. In the RAM 1103, various programs and data required for the operation of the computer system 1100 are also stored. The CPU 1101, ROM 1102, and RAM 1103 are connected to each other through a bus 1104. The input / output (I / O) interface 1105 is also connected to the bus 1104.
[0145] The following components are connected to the I / O interface 1105: an input section 1106 including a keyboard, a mouse, etc.; an output section 1107 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc. and a speaker, etc.; a storage section 1108 including a hard disk, etc.; and a communication section 1109 including a network interface card such as a LAN card, a modem, etc. The communication section 1109 performs communication processing via a network such as the Internet. A drive 1110 is also connected to the I / O interface 1105 as required. A removable medium 1111 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc. is installed on the drive 1110 as required so that a computer program read therefrom is installed into the storage section 1108 as required.
[0146] Specifically, according to the embodiments disclosed in the present application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, the embodiments disclosed in the present application include a computer program product that includes a computer program carried on a computer-readable medium, and the computer program includes program codes for performing the methods shown in the flowcharts. In such an embodiment, the computer program can be downloaded and installed from a network via the communication section 1109, and / or installed from the removable medium 1111. When the computer program is executed by a central processing unit (CPU) 1101, the above-described functions defined in the system of the present application are executed.
[0147] It should be noted that the computer-readable medium shown in this application can be a computer-readable signal medium, a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can, for example, include but is not limited to an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of a computer-readable storage medium can include but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this application, a computer-readable storage medium can be any tangible medium that contains or stores a program, which can be used by or in conjunction with an instruction execution system, apparatus, or device. And in this application, a computer-readable signal medium can include a data signal propagated in a baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on a computer-readable medium can be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical fiber, RF, etc., or any suitable combination of the above.
[0148] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram can represent a module, a program segment, or a part of code, and the above-mentioned module, program segment, or part of code contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than marked in the accompanying drawings. For example, two consecutive blocks shown may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram or flowchart, as well as the combination of blocks in the block diagram or flowchart, can be implemented by a dedicated hardware-based system for performing the specified functions or operations, or can be implemented by a combination of dedicated hardware and computer instructions.
[0149] The units involved in the embodiments of the present application can be implemented in software or in hardware. The described units can also be provided in a processor. For example, it can be described as: a processor includes an in-store recommendation logo display unit and an in-store recommended product display unit. Among them, the names of these units do not limit the units themselves in some cases.
[0150] As another aspect, the present application also provides a computer-readable medium, which can be included in the device described in the above embodiments; or it can exist alone without being assembled into the device. The above computer-readable medium carries one or more programs. When the above one or more programs are executed by the device, the device displays an in-store recommendation logo for the main product in response to a preset sliding operation on the main product in the shopping cart page; in response to a trigger operation on the in-store recommendation logo, the in-store recommended products of the main product are displayed at a preset position corresponding to the main product in the shopping cart page; the in-store recommended products and the main product are products of the same store. Thus, product targeted recommendation can be realized under the same store, and the efficiency and accuracy of product information targeted recommendation can be improved, as well as the operation experience of the user on the shopping cart page during online shopping can be enhanced.
[0151] The computer program product of the present application includes a computer program, and the computer program implements the product information recommendation method in the embodiments of the present application when executed by a processor.
[0152] According to the technical solution of the embodiments of the present application, product targeted recommendation can be realized under the same store, and the efficiency and accuracy of product information targeted recommendation can be improved, as well as the operation experience of the user on the shopping cart page during online shopping can be enhanced.
[0153] The above specific embodiments do not limit the protection scope of the present application. Those skilled in the art should understand that various modifications, combinations, sub-combinations and substitutions can occur depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A method for recommending product information, characterized in that: include: In response to a preset sliding operation on a main product in a shopping cart page, displaying an in-store recommendation logo for the main product; In response to a triggering operation on the in-store recommendation logo, an in-store recommended product of the main product is displayed at a preset position corresponding to the main product in the shopping cart page; the in-store recommended product and the main product belong to the same store.
2. The method according to claim 1, characterized in that The displaying of the in-store recommended products of the main product at the preset position corresponding to the main product in the shopping cart page includes: Obtaining a main commodity identification of the main commodity and querying a corresponding in-store recommended commodity identification according to the main commodity identification; Querying product information according to the main product identifier and the in-store recommended product identifier; Generate a cache key based on the product information; The in-store recommendation relationship information is queried based on the cache key, and the corresponding in-store recommended product is displayed at a preset position corresponding to the main product in the shopping cart page according to the in-store recommendation relationship information.
3. The method according to claim 2, characterized in that The product information includes main product information and in-store recommended product information, and generating a cache key includes: According to the main product information and the in-store recommended product information, obtain the main product common name and the in-store recommended product common name; The main product common name and the in-store recommended product common name are assembled to obtain a cache key.
4. The method according to claim 2, characterized in that: The displaying the corresponding in-store recommended product at the preset position corresponding to the main product in the shopping cart page according to the in-store recommendation relationship information includes: Generate in-store recommended product detail data based on the in-store recommendation relationship information; Based on the in-store recommended product detail data, the corresponding in-store recommended product is displayed at a preset position corresponding to the main product in the shopping cart page.
5. The method according to claim 4, characterized in that The displaying of the in-store recommended products of the main product at the preset position corresponding to the main product in the shopping cart page includes: A plurality of in-store recommended product areas that are arranged side by side and are slidable are provided at the preset positions, and the in-store recommended product detail data belonging to the same in-store recommended product is filled into the same in-store recommended product area.
6. The method according to claim 5, characterized in that The method further comprises: In response to a triggering operation on a target control in the in-store recommended product area, the corresponding in-store recommended product is displayed at a target position corresponding to the main product in the shopping cart page, and the target position is located in the main product area of the shopping cart.
7. The method according to claim 1, characterized in that The in-store recommended product includes at least one of an in-store matching product and an in-store same-category product.
8. The method according to claim 7, characterized in that The displaying of the in-store recommended products of the main product at the preset position corresponding to the main product in the shopping cart page includes: If the in-store recommendation mark corresponds to an in-store matching recommendation item, displaying the in-store matching product of the main product at a preset position corresponding to the main product on the shopping cart page; If the in-store recommendation mark corresponds to an in-store same-product recommendation item, the in-store same-product of the main product is displayed at a preset position corresponding to the main product in the shopping cart page.
9. The method according to claim 2, characterized in that: The querying of the in-store recommendation relationship information based on the cache key includes: The in-store recommendation relationship information is queried from the cache according to the cache key, wherein the cache is obtained by the following steps: Obtain in-store recommendation relationship data of the uploaded product, parse the in-store recommendation relationship data to obtain the common name of the main product, and then query from the database whether the corresponding in-store recommendation relationship information exists, if so, update the corresponding existing in-store recommendation relationship information in the database, if not, add the corresponding in-store recommendation relationship information to the database to obtain an updated database; Extract the common names of the main products and the common names of the matching products in the updated database, and then concatenate them to obtain a cache key, use the in-store recommendation relationship information corresponding to the common names of the main products and the common names of the matching products in the updated database as the cache value, and store the cache key and the corresponding cache value in the cache.
10. A commodity information recommendation device, characterized in that: include: An in-store recommendation logo display unit, configured to display an in-store recommendation logo for a main product in a shopping cart page in response to a preset sliding operation for the main product; The in-store recommended product display unit is configured to display the in-store recommended product of the main product at a preset position corresponding to the main product in the shopping cart page in response to a trigger operation for the in-store recommendation logo; the in-store recommended product and the main product belong to the same store.
11. An electronic device for recommending product information, characterized in that: include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 9.
12. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 9 is implemented.
13. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 9 is implemented.