A product recommendation method, server, shopping cart, and shopping system

By collecting product images in the shopping cart and using recognition and recommendation models, it solves the problem in the existing supermarket shopping model that users need to find products by themselves, achieves personalized recommendations, and improves shopping efficiency and user experience.

CN114169952BActive Publication Date: 2024-08-23BOE TECHNOLOGY GROUP CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010951273.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-09-11
Publication Date
2024-08-23
Estimated Expiration
2040-09-11

AI Technical Summary

Technical Problem

The existing supermarket shopping model is primitive, and users need to find products by themselves, which increases time costs and affects the shopping experience, and product prices and promotion information are unclear.

Method used

By collecting product images in the shopping cart, the pre-stored product recognition model is used to identify product information, and the product recommendation model is used to output personalized recommended products based on user information and present them to the user.

Benefits of technology

It improves shopping efficiency and user experience, enhances supermarket operation efficiency, and provides a personalized and convenient shopping experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114169952B
    Figure CN114169952B
Patent Text Reader

Abstract

The present invention discloses a product recommendation method, a server, a shopping cart, a shopping system, a computer-readable storage medium, and a computer device. The product recommendation method comprises: receiving a product image of a product placed in a shopping cart, identifying the product image using a pre-stored product recognition model to obtain product information; outputting a preset number of recommended products according to the product information using a pre-stored product recommendation model; transmitting each recommended product to the shopping cart so that the shopping cart presents the recommended product. The embodiment provided by the present invention provides a new supermarket shopping solution by obtaining product images of products in a shopping cart, identifying and recommending products, and transmitting the recommended products to a shopping cart to present them to a user using the shopping cart, which can change the existing shopping method, improve the shopping efficiency of buyers, and enhance the shopping experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of Internet of Things, and in particular to a commodity recommendation method, a server, a shopping cart, a shopping system, a storage medium and a computer device. Background Art

[0002] The emergence of supermarkets has made people's lives more convenient and enriched. A large number of people choose to shop in supermarkets. People often go to supermarkets not only to buy daily necessities, but also to satisfy the physical shopping experience. However, at present, the shopping model of supermarkets is relatively primitive. Shopping malls and supermarkets only arrange goods by major categories. Users need to find the goods they need by themselves. In addition, the prices and promotional information of goods are not clearly marked. Users need to confirm their purchases multiple times, which not only increases the time cost of shopping, but also causes users to distrust shopping malls and affects the shopping experience. Summary of the invention

[0003] In order to solve at least one of the above problems, the first embodiment of the present invention provides a product recommendation method, which is applied to a server, including: receiving a product image of a product placed in a shopping cart, and using a pre-stored product recognition model to recognize the product image to obtain product information; using a pre-stored product recommendation model to output a preset recommended number of recommended products based on the product information; and transmitting each recommended product to a shopping cart so that the shopping cart presents the recommended product.

[0004] In some optional embodiments, the product image includes images from at least two different perspectives, receiving the product image of the product placed in the shopping cart, and using a pre-stored product recognition model to recognize the product image to obtain product information further includes: obtaining the edge frame of each product in the product image based on the images from at least two different perspectives, and transmitting the edge frame of each product to the product recognition model to obtain product information.

[0005] In some optional embodiments, before receiving a product image of a product placed in a shopping cart and using a pre-stored product recognition model to recognize the product image to obtain product information, the product recommendation method also includes: establishing a product recognition model, the product recognition model including a feature extractor having multiple convolutional neural networks and aggregation units; receiving a first sample image, performing image processing and labeling on the first sample image to output a first training sample, the labeling label of the first training sample including an edge border of the product; amplifying the first training sample; and training the product recognition model using the amplified first training sample.

[0006] In some optional embodiments, before outputting a preset recommended number of recommended commodities according to commodity information using a pre-stored commodity recommendation model, the commodity recommendation method further includes:

[0007] A product recommendation model is established, wherein the product recommendation model includes a product correlation coefficient matrix, which is used to output a preset number of recommended products with high correlation with the product information according to the received product information.

[0008] In some optional embodiments, transferring each of the recommended products to the shopping cart so that the shopping cart presents the recommended products further includes: sorting the recommended products according to sales records and / or promotion strength and transferring them to the shopping cart so that the shopping cart presents the recommended products in ascending order.

[0009] In some optional embodiments,

[0010] Before outputting a preset number of recommended commodities according to commodity information using a pre-stored commodity recommendation model, the commodity recommendation method further includes:

[0011] Receive the identity information of the user using the shopping cart and obtain the user's history based on the identity information

[0012] Shopping information;

[0013] Outputting a preset number of recommended commodities according to commodity information using a pre-stored commodity recommendation model further includes:

[0014] The pre-stored product recommendation model is used to output a preset number of recommended products based on product information and historical shopping information.

[0015] In some optional embodiments, outputting a preset recommended quantity of recommended commodities according to commodity information and historical shopping information using a pre-stored commodity recommendation model further includes:

[0016] Obtain the purchase cycle of product information based on historical shopping information, and output a preset recommended quantity of recommended products that are the same or similar to the purchase cycle according to the historical shopping information;

[0017] and / or

[0018] The product attributes of the product information are obtained according to the historical shopping information, and a preset recommended number of recommended products having the same or similar product attributes are output according to the historical shopping information.

[0019] In some optional embodiments,

[0020] Before outputting a preset number of recommended commodities according to commodity information using a pre-stored commodity recommendation model, the commodity recommendation method further includes:

[0021] Receive the personal information of the user who uses the shopping cart, and use the pre-stored user information to

[0022] User demand model to obtain users' predicted shopping information;

[0023] Outputting a preset number of recommended commodities according to commodity information using a pre-stored commodity recommendation model further includes:

[0024] The pre-stored product recommendation model is used to output a preset number of recommended products based on product information and predicted shopping information.

[0025] In some optional embodiments, before receiving the personal information of a user using a shopping cart and obtaining the user's predicted shopping information based on the personal information using a pre-stored user demand model, the product recommendation method also includes: establishing a user demand model, the user demand model includes a decision tree model, which is used to output corresponding user tags based on the received personal information and output corresponding predicted shopping information based on the user tags.

[0026] The second aspect of the present application provides a product recommendation method, which is applied to a shopping cart, including: collecting product images of products placed in the shopping cart and transmitting them to a server, so that the server obtains product information based on the product images, and outputs a preset recommended number of recommended products based on the product information; receiving and presenting recommended products.

[0027] In some optional embodiments, the product image includes images from at least two different perspectives, and capturing the product image of the product placed in the shopping cart and transmitting it to the server further includes: using at least two capture units at different perspectives placed in the shopping cart to respectively capture images of the product placed in the shopping cart.

[0028] In some optional embodiments,

[0029] Before collecting product images of products placed in the shopping cart and transmitting them to the server so that the server obtains product information according to the product images and outputs a preset recommended quantity of recommended products according to the product information, the product recommendation method further includes:

[0030] Receive the identity information of the user using the shopping cart and transmit it to the server so that the server

[0031] Obtain the user's historical shopping information based on identity information;

[0032] Collecting product images of products placed in the shopping cart and transmitting them to the server, so that the server obtains product information according to the product images, and outputs a preset recommended quantity of recommended products according to the product information further includes:

[0033] The server outputs a preset number of recommendations based on product information and historical shopping information

[0034] commodity;

[0035] or

[0036] Before collecting product images of products placed in the shopping cart and transmitting them to the server so that the server obtains product information according to the product images and outputs a preset recommended quantity of recommended products according to the product information, the product recommendation method further includes:

[0037] Receiving personal information of a user using a shopping cart and transmitting it to a server, so that the server obtains the user's predicted shopping information based on the personal information using a pre-stored user demand model;

[0038] Collecting product images of products placed in the shopping cart and transmitting them to the server, so that the server obtains product information according to the product images, and outputs a preset recommended quantity of recommended products according to the product information further includes:

[0039] The server outputs a preset recommended quantity of recommended commodities according to the commodity information and predicted shopping information.

[0040] The third aspect of the present application provides a server, including a product identification unit, a product recommendation unit and a first communication unit, wherein the first communication unit is used to transmit data with a shopping cart; the product identification unit is used to identify the product image of the product placed in the shopping cart received by the first communication unit using a pre-stored product identification model to obtain product information; the product recommendation unit is used to output a preset recommended number of recommended products based on the product information using a pre-stored product recommendation model, and transmit the recommended products to the shopping cart via the first communication unit to present the recommended products.

[0041] In some optional embodiments, it also includes a historical data unit for obtaining the user's historical shopping information based on the identity information of the user using the shopping cart received by the first communication unit, so that the product recommendation unit uses a pre-stored product recommendation model to output a preset recommended number of recommended products based on the product information and the historical shopping information; or it also includes a prediction data unit for obtaining the user's predicted shopping information based on the personal information of the user using the shopping cart received by the first communication unit and using a pre-stored user demand model based on the personal information, so that the product recommendation unit uses a pre-stored product recommendation model to output a preset recommended number of recommended products based on the product information and the predicted shopping information.

[0042] A fourth aspect of the present application provides a shopping cart, including a collection unit, a display unit and a second communication unit, wherein: the second communication unit is used to transmit data with a server; the collection unit is used to collect product images of products placed in the shopping cart and transmit them to the server through the second communication unit, so that the server uses a pre-stored product recognition model to identify the product image to obtain product information and uses a pre-stored product recommendation model to output a preset recommended number of recommended products based on the product information; the display unit is used to present the recommended products received through the second communication unit.

[0043] In some optional embodiments, an input unit is further included for receiving identity information input by a user using a shopping cart and transmitting the information to the server, so that the server obtains the user's historical shopping information based on the identity information, and outputs a preset recommended number of recommended products based on the product information and the historical shopping information; or for receiving personal information input by a user using a shopping cart and transmitting the information to the server, so that the server obtains the user's predicted shopping information based on the personal information, and outputs a preset recommended number of recommended products based on the product information and the predicted shopping information.

[0044] A fifth aspect of the present application provides a shopping system, comprising the server as described in the third aspect of the present application, and the shopping cart as described in the second aspect of the present application.

[0045] In a sixth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method described in the first aspect of the present application; or, when executed by a processor, implements the method described in the second aspect of the present application.

[0046] In a sixth aspect, the present application provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method described in the first aspect of the present application is implemented; or when the processor executes the program, the method described in the second aspect of the present application is implemented.

[0047] The beneficial effects of the present invention are as follows:

[0048] In view of the existing problems, the present invention develops a product recommendation method, a server, a shopping cart, a shopping system, a storage medium, and a computer device. Specifically, the server interacts with the shopping cart, identifies and recommends products based on the collected images of the products in the shopping cart, and presents the recommended products to the user who uses the shopping cart through the shopping cart, thereby changing the shopping method of the existing supermarkets, providing users with personalized and convenient shopping experience based on user characteristics, thereby improving the purchase demand and shopping efficiency of buyers, and further improving the operating efficiency of supermarkets, and has broad application prospects. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0050] Figure 1 The present invention is an exemplary block diagram of a product recommendation method according to an embodiment of the present application.

[0051] Figure 2 is an exemplary block diagram of a shopping system according to an embodiment of the present application.

[0052] Figure 3 The present invention is an exemplary communication flow diagram of a commodity recommendation method according to an embodiment of the present application.

[0053] Figure 4 Schematic diagram of the structure of a shopping cart according to an embodiment of the present application.

[0054] Figure 5 It is a schematic diagram of the overall structure of a commodity identification model according to an embodiment of the present application.

[0055] Figure 6 is an exemplary block diagram of a server according to an embodiment of the present application.

[0056] Figure 7 is an exemplary block diagram of a shopping cart according to an embodiment of the present application.

[0057] Figure 8 It is a structural schematic diagram of a computer device according to an embodiment of the present application. DETAILED DESCRIPTION

[0058] In order to more clearly illustrate the present application, the present invention is further described below in conjunction with preferred embodiments and accompanying drawings. Similar components in the accompanying drawings are represented by the same reference numerals. It should be understood by those skilled in the art that the content described below is illustrative rather than restrictive, and should not be used to limit the scope of protection of the present application.

[0059] It should be noted that, in the description of the present application, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that the process, method, article or equipment including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or equipment. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the existence of other identical elements in the process, method, article or equipment including the elements.

[0060] like Figure 1As shown, an embodiment of the present invention provides a product recommendation method, which is applied to a server, and includes: receiving a product image of a product placed in a shopping cart, and using a pre-stored product recognition model to recognize the product image to obtain product information; using a pre-stored product recommendation model to output a preset recommended number of recommended products based on the product information; and transmitting each recommended product to a shopping cart so that the shopping cart presents the recommended product.

[0061] In this embodiment, the server interacts with the shopping cart, identifies and recommends products based on the collected images of the products in the shopping cart, and presents the recommended products to the user who uses the shopping cart through the shopping cart, thereby changing the shopping method of existing supermarkets, providing a personalized and convenient shopping experience based on user characteristics, thereby increasing the purchasing needs and shopping efficiency of buyers, and further improving the operating efficiency of supermarkets, which has broad application prospects.

[0062] In a specific example, Figure 2 As shown, Figure 2 A shopping system 10 according to an embodiment of the present application is shown. The shopping system 10 may include a server 100 and multiple shopping carts 200-1, 200-2, 200-3, ..., 200-n, where n is a positive integer, n≥2, and when no distinction is required, the shopping cart is represented by the reference numeral 200. The server 100 of the embodiment of the present application includes a commodity identification unit, a commodity recommendation unit, and a first communication unit. It can be a central server used in a shopping mall, a supermarket or other shopping place, or it can be a cloud server that provides Internet of Things services for the shopping mall, supermarket or other shopping place. The present application does not limit its specific form. Each of the multiple shopping carts 200-1, 200-2, 200-3, ..., 200-n includes a collection unit, a display unit, and a second communication unit. In the present application, the server 100 and the shopping cart 200 in the shopping system 10 can communicate through a wired or wireless network using the first communication unit and the second communication unit.

[0063] Combine the following Figure 3 and Figure 4 Describe a product recommendation method according to an embodiment of the present application. Figure 3 An exemplary communication flow diagram of a commodity recommendation method according to an embodiment of the present application; Figure 4 Schematic diagram of the structure of a shopping cart according to an embodiment of the present application.

[0064] like Figure 3 and Figure 4 As shown, the product recommendation method according to the present application specifically includes:

[0065] In step S103 , after being started, the shopping cart 200 automatically takes pictures at predetermined intervals (eg, every 1 minute or other time intervals) to collect product images of the products in the shopping cart 200 , and transmits the obtained product images to the server 100 via the second communication unit.

[0066] This application does not limit the number of acquisition units. Those skilled in the art should select an appropriate number of acquisition units to acquire product images based on actual application requirements. Preferably, the product image includes at least two images from different perspectives to improve product recognition performance, that is, two acquisition units placed at two different perspectives can be used. For example, those skilled in the art can also use multiple acquisition units to acquire product images in a shopping cart from various angles to further improve product recognition performance based on actual application requirements. Figure 4 , which shows that the shopping cart 200 includes two acquisition units. The acquisition units may be cameras for capturing images. The two cameras capture two product images captured periodically at two different viewing angles. In this example, the two cameras including the top view and the side view capture product images at the top view and the side view. The present application does not limit the type of camera, and those skilled in the art may select as needed, as long as they can obtain images with a clarity that meets the requirements of the designer. In addition, although Figure 4 The figure shows that one of the cameras used as the acquisition unit is set on the long side of the shopping cart body, and the other is set next to the display unit on the short side. The present application is not limited to this. The camera can also be set in other positions as needed to acquire the image of the product from a more comprehensive angle. In addition, when it is necessary to set the camera at the position corresponding to the display unit, the camera can also be integrated with the display unit. The present application does not limit the camera setting form.

[0067] In a specific embodiment, the product image received by the server 100 includes images from at least two different perspectives, and receiving the product image of the product placed in the shopping cart, and using a pre-stored product recognition model to recognize the product image to obtain product information further includes: obtaining the edge frame of each product in the product image based on the images from at least two different perspectives, and transmitting the edge frame of each product to the product recognition model to obtain product information, thereby improving the accuracy of product recognition.

[0068] When the server 100 receives the product image collected in step S103 through the first communication unit, in step S105, the server 100 recognizes the product image using a pre-stored product recognition model to obtain product information, which may be product attributes, product categories, product specifications, etc. In this embodiment, the product information includes product categories.

[0069] In a specific embodiment, before receiving a product image of a product placed in the shopping cart 200 and using a pre-stored product recognition model to recognize the product image to obtain product information, the server 100 first develops a deep learning model for the product recognition model, including the following steps.

[0070] Establish a product recognition model. This step builds the overall framework of the model. Differently, the feature extractor of the product recognition model established in this application includes a plurality of convolutional neural networks and aggregation units, as well as classification and regression fitting units. Figure 5 The schematic diagram of the commodity recognition model shown in the figure can use the object detection model based on the SSD principle to build a deep learning model framework, including: selecting a mixed convolution layer of multiple convolutional neural networks, an aggregation unit for aggregating each convolutional layer, the two as a complete feature extractor, the feature extractor is connected to the convolution layer after the convolution layer, and finally connected to the classification and regression fitting unit, which can use the output of each layer as input data for classification and regression fitting. In this embodiment, 4 mixed different convolutional layers are included, the first convolutional neural network is Inception V3, the second convolutional neural network is Inception V4, the third convolutional neural network is Resnet 50, and the fourth convolutional neural network is Resnet 101 (those skilled in the art should understand that this is only exemplary, and other convolutional neural networks can also be selected). The model framework can also be designed to include a loss function for the classification task (not shown).

[0071] A first sample image is received, and image processing and annotation are performed on the first sample image to output a first training sample. In the present application, the annotation label of the first training sample includes an edge frame of the product and a product category. The first sample image can be a large number of images of products on sale collected, including images of various angles and covering various specifications. In this embodiment, compared with general square labels, irregular labels are obtained by designing a large number of irregular edge frames cut out along the edges of the product to increase the accuracy of the feature learning results.

[0072] The first training sample is expanded. Specifically, in order to enrich the training image data set and cover as many actual usage scenarios as possible, a series of simulation and expansion processing is performed on the image. For example, a single item is divided by the edge frame of the product, and then the images are combined and spliced ​​in random numbers and types, and shadows are added to the edge of a single object to simulate the actual shopping scene; in addition, the entire product image is randomly processed in color, hue, brightness, and Gaussian noise is added. The boundary box of the item becomes the label for actual model training, and each box has a corresponding category. By expanding based on the label obtained by cutting out the edge frame, more scenes can be expanded based on the existing product images, such as image scenes that cannot be captured in real scenes, thereby generating more scene changes, realizing the expansion of the first training sample, and increasing the accuracy of the feature learning results.

[0073] The product recognition model is trained using the amplified first training sample. This step is the training process of the deep learning model. Specifically, this step is based on the overall model framework. Figure 5 In the step process shown in the figure, the first training sample after amplification is input into the product recognition model, and the features of each training sample are extracted respectively through a variety of convolutional neural networks to train the feature extractor, and then the features extracted by each feature extractor are aggregated, and the aggregated features are output to the convolution layer. The output of each layer is input as input data into the classification and regression fitting, CrossEntropy Loss is selected as the loss function of the classification task, and L2loss is used as the loss function of the position regression. The two loss functions are combined as the overall loss function, and the previously amplified data is input for training to obtain a product recognition model that meets the predetermined recognition rate.

[0074] In this embodiment, the accuracy of feature extraction is further improved by building a product recognition model with multiple convolutional layers, which has the characteristics of better flexibility and higher accuracy. At the same time, by using training samples with labels as product edge borders, a variety of combinations can be generated in the combination splicing, increasing the number and types of training samples, effectively adding more shopping scenarios in the model training process, and improving generalization.

[0075] The trained image recognition model is stored in the server 100. When the server 100 receives the commodity image automatically taken by the acquisition unit on the shopping cart 200 in step S103, the image recognition model is used to recognize the received commodity image in step S105, and the recognized commodity information is output, wherein the commodity information at least includes category information. Preferably, only the category information is output. When receiving at least two images of commodities with different perspectives, the results of the image recognition of at least two commodities are combined and stored, and the result is used as a recognition result. Further, the difference between the current recognition result and the last stored recognition result is determined, and the difference between the two commodity recognition results is used as input data of the commodity recommendation model. Those skilled in the art should understand that outputting the difference between the two commodity recognition results is to identify the commodity information of the commodity newly placed in the shopping cart. When the recognition result is a commodity category, the commodity recognition model outputs the commodity category of the commodity newly placed in the shopping cart.

[0076] Further, refer to Figure 3 ,

[0077] In step S107 , the server 100 uses a pre-stored product recommendation model to output a preset recommended number of recommended products according to the product information.

[0078] In step S109 , the recommended products are output to the shopping cart 200 .

[0079] Specifically, before the server 100 uses the pre-stored product recommendation model to output a preset number of recommended products to the shopping cart 200 based on the product information, a product recommendation model is first established. The model includes a product correlation coefficient matrix, which can calculate the correlation between other types of products and each type of product to form a correlation coefficient matrix, which is used to output a preset number of recommended products with high correlation with the product information based on the received product information. Optionally, the product recommendation model can be a data mining model that uses a large number of supermarket shopping records as input and is constructed and trained using the above-mentioned correlation coefficient matrix, but is not limited to this. In addition, when making actual recommendations, optionally, for any product, it can be set to select the five types with the highest correlation coefficients for output. These five types of products are output to the shopping cart 200 to be pushed to the user.

[0080] In an optional embodiment, when each recommended commodity is transmitted to the shopping cart 200 so that the shopping cart 200 presents the recommended commodity, the recommended commodity can also be sorted according to the sales record or the promotion strength, or the sales record and the promotion strength, and transmitted to the shopping cart 200, so that the shopping cart 200 presents the recommended commodity in positive order, and the positive order represents the order of decreasing sales record or promotion strength. Optionally, if the user selects a certain category based on the recommended commodities presented, the promotion information and / or the commodity with the highest sales volume under this category are pushed. Through the recommendation method of this embodiment, more accurate recommendations can be made based on the user's selection, which improves the user's shopping efficiency and improves the user's purchasing experience.

[0081] In order to further accurately recommend products to users, in an optional embodiment, before step S103, the product recommendation method further includes:

[0082] In step S101 , the user may send a login request message to the server 100 via the second communication unit of the shopping cart 200 .

[0083] In this embodiment, when using a shopping cart, a user can log in based on a user account. For example, a user can send a login request message to the server through the user interface on the shopping cart to request to log in to his or her personal user account, and the login request message can be a registered user name and password. It can be understood by those skilled in the art that the user account can be registered before this purchase, can be registered through the user interface on the shopping cart, or can be registered through other user terminals through the online platform of the mall, supermarket or other shopping place or its authorized associated app. It should also be understood by those skilled in the art that when a user is an unregistered user, the user can first apply to the server to register a user account and then request to log in to the user account in the above manner, or can directly use the shopping cart without registering. The shopping cart 200 of the embodiment of the present application includes a display unit. When the display unit is a touch display panel, the user can perform a login / registration operation through the display unit, and the user interface can also be an input interface in other forms, which is not limited by the present application.

[0084] In this embodiment, the user can log in using a user name and password, the first communication unit of the server 100 receives the login request information, the server 100 authorizes the user to log in based on the consistent login request information, and obtains the user's identity information or personal information based on the login request information.

[0085] In an optional embodiment, before the server 100 uses a pre-stored product recommendation model to output a preset number of recommended products to the shopping cart 200 based on product information, it can use the received identity information of the user who uses the shopping cart 200 to retrieve the user's historical shopping information stored in the server 100 based on the identity information, and then use the established product recommendation model to output a preset number of recommended products based on the received product information and historical shopping information.

[0086] Preferably, before outputting the recommended products, the recommendation results are further modified using the user's purchase records in step S107. Specifically, the purchase cycle of each recommended product information can be obtained based on the historical shopping information, and a preset recommended number of recommended products with the same or similar purchase cycle can be output according to the historical shopping information. At the same time, the product attributes of the recommended product information can be obtained from the historical shopping information, and a preset recommended number of recommended products with the same or similar product attributes can be output according to the historical shopping information, wherein the product attributes include attribute information such as brand and specification of the product.

[0087] In this embodiment, the server obtains the user's usage frequency of a daily necessity, such as a certain daily necessity, through the user's historical shopping information, and uses this data to establish a commodity consumption estimation model for the user to estimate the consumption time of the daily necessity. According to the user's purchase record, the commodity consumption evaluation model is used. If the estimation result shows that the user's commonly used daily necessities are about to be used up, the most recommended result will be revised to add such commodities, and the pushed commodities will give priority to the brands and specifications purchased by the user.

[0088] In an optional embodiment, before the server 100 outputs a preset number of recommended commodities to the shopping cart 200 based on the commodity information using the pre-stored commodity recommendation model, the server 100 may also use the received personal information of the user who uses the shopping cart 200, obtain the user's predicted shopping information based on the personal information using the pre-stored user demand model, and then output the preset number of recommended commodities based on the commodity information and the predicted shopping information using the pre-stored commodity recommendation model. The personal information input by the user includes at least one of the user's identity information, age information, gender information, family member information, and work information.

[0089] Specifically, the server 100 can also establish a user demand model before obtaining the user's predicted shopping information based on the personal information using a pre-stored user demand model, and the model includes a decision tree model for outputting corresponding user tags based on the received personal information and outputting corresponding predicted shopping information based on the user tags.

[0090] Specifically, a decision tree model can be established based on supermarket big data. That is, users answer simple judgment questions, and the model is input into the model based on user feedback. For example, a model is established based on factors such as user age, gender, number of family members, nature of work, etc., to classify users, infer the purchase possibility of all products in the supermarket, and calculate the product combination with the maximum probability under each category.

[0091] For each crowd label, a product recommendation combination model can be established based on the 0-1 planning principle:

[0092] max∑p i x i

[0093] stf(x)≤B

[0094] Among them, x i is whether to buy the product of type i, x is its matrix, p i is the profit of product i, f() is the product characteristics, which is fitted according to factors such as sales volume, rating, unit price, etc., and B is the shopping experience index, which is fitted according to factors such as total price and weight of the product and product characteristics.

[0095] Under the above recommendation decision logic, a recommendation combination with the maximum probability is generated, and the product combination recommendation is realized according to the user tag, that is, the shopping information is predicted. When the pre-stored product recommendation model is used to output the preset recommended number of recommended products according to the product information, the pre-stored product recommendation model is used to output the preset recommended number of recommended products according to the product information and the predicted shopping information, that is, the user tag is modified according to the user's actual purchase behavior, and the product recommendation content is modified.

[0096] It is worth noting that in this embodiment, the user's personal information is filled in by the user according to the user information form provided by the supermarket. Those skilled in the art should understand that, as the input of the product recommendation model, the richer the user information, the higher the accuracy of the output recommended products.

[0097] More specifically, in step S111, each recommended product is transmitted to the shopping cart 200, so that the shopping cart 200 presents the recommended product. The server 100 can transmit each recommended product to the shopping cart 200 via the first communication unit, and the shopping cart receives each recommended product via the second communication unit, and can present the recommended product to the user using the display unit.

[0098] In step S113, according to the presentation of the shopping cart 200, the user can select recommended products based on the human-computer interaction interface. For example, when the display unit is a touch display panel, one or more recommended products can be directly selected on the display unit. The shopping cart 200 sends the user's selection to the server 100 through the second communication unit.

[0099] In step S115, based on the received user selection, the server plans the optimal shopping route for the user to obtain one or more items with the user's current location as the starting point and the checkout area as the end point, and displays the shopping route or navigation through the display unit of the shopping cart in step S117.

[0100] The embodiments of the present application collect product images through a shopping cart, and use a pre-established product recognition model to identify product information through a server and use a product recommendation model to recommend products, thereby improving buyers' purchasing needs and shopping efficiency, and based on effective recognition of products and accurate prediction based on user information, customize personalized recommendation services for users, thereby enhancing users' shopping experience and having broad application prospects.

[0101] It is worth noting that when the user has not selected a product, the server has not received the product image, or has not identified a valid product from the received product image, that is, when the input of the server's product recommendation model is empty, the server's product recommendation model can sort according to the current sales record or promotion strength, or sales record and promotion strength, and transmit them to the shopping cart to facilitate the user to select from the recommended products.

[0102] Corresponding to the product recommendation method, such as Figure 6 As shown, an embodiment of the present application also provides a server, including a product identification unit, a product recommendation unit and a first communication unit, wherein the first communication unit is used to transmit data with a shopping cart; the product identification unit is used to identify and obtain product information of the product image based on the product image of the product placed in the shopping cart received by the first communication unit using a pre-stored product identification model; the product recommendation unit is used to output a preset recommended quantity of recommended products based on the product information using a pre-stored product recommendation model, and transmit the recommended products to the shopping cart via the first communication unit to present the recommended products.

[0103] In this embodiment, the server interacts with the shopping cart, identifies and recommends products based on the collected images of the products in the shopping cart, and presents the recommended products to the user using the shopping cart through the shopping cart, thereby changing the shopping method of existing supermarkets, providing a personalized and convenient shopping experience based on user characteristics, thereby improving the purchase demand and shopping efficiency of buyers, and further improving the operating efficiency of supermarkets, which has broad application prospects. The specific implementation of this embodiment is the same as the previous embodiment, and will not be repeated here.

[0104] In an optional embodiment, if Figure 6 As shown, the server also includes:

[0105] A historical data unit, optionally, the historical data unit may be a memory of various types, and is used to obtain the user's historical shopping information according to the identity information of the user using the shopping cart received by the first communication unit, and the product recommendation unit outputs a preset recommended quantity of recommended products using a pre-stored product recommendation model according to the product information and the historical shopping information;

[0106] or

[0107] The prediction data unit is used to obtain the user's predicted shopping information based on the personal information of the user using the shopping cart received by the first communication unit and the pre-stored user demand model based on the personal information. The product recommendation unit uses the pre-stored product recommendation model to output a preset recommended number of recommended products based on the information of each product and the predicted shopping information.

[0108] In the above-described method, the server retrieves historical shopping information by using the identity information of the user of the shopping cart, or the server obtains predicted shopping information by using the personal information of the user of the shopping cart, and further enables the server to output a preset number of recommended commodities based on the commodity information and historical shopping information or predicted shopping information obtained through the commodity recognition model, so that when providing recommended commodities to users, more personalized recommendation services are provided, the purchase demand and shopping efficiency of buyers are improved, and the shopping experience of users is further improved, which has broad application prospects. The specific implementation method of this embodiment is the same as the above-mentioned embodiment, and will not be repeated here.

[0109] An embodiment of the present application further provides a commodity recommendation method, which is applied to a shopping cart, comprising:

[0110] The product images of the products placed in the shopping cart are collected and transmitted to the server, so that the server obtains the product information according to the product images and outputs the recommended products with a preset recommended quantity according to the product information; the recommended products are received and presented.

[0111] In this embodiment, the product images of the products in the shopping cart are collected by a collection unit arranged on the shopping cart, and information is exchanged with the server, and the server uses the product recognition model and the product recommendation model based on the product image to identify the products and further recommend the products, and present the recommended products on the shopping cart, thereby changing the existing shopping method, providing users with a personalized and convenient shopping experience, improving the purchase needs and shopping efficiency of buyers, and further improving the operating efficiency of supermarkets, which has broad application prospects. The specific implementation method of this embodiment is the same as the above-mentioned embodiment, and will not be repeated here.

[0112] In an optional embodiment, the product image includes images from at least two different perspectives, and capturing the product image of the product placed in the shopping cart and transmitting it to the server further includes: using at least two capture units at different perspectives placed in the shopping cart to respectively capture images of the product placed in the shopping cart.

[0113] In this embodiment, different acquisition units are set in the shopping cart to collect at least two images of the shopping cart from different perspectives, and information is exchanged with the server, so that the server can identify the products based on the collected images according to the product recognition model and the product recommendation model and further improve the accuracy of the recommended products.

[0114] In an optional embodiment, before collecting product images of products placed in the shopping cart and transmitting them to the server so that the server obtains product information according to the product images and outputs a preset recommended quantity of recommended products according to the product information, the product recommendation method further includes:

[0115] Receive the identity information of the user using the shopping cart and transmit it to the server, so that the server can

[0116] Identity information obtains the user's historical shopping information;

[0117] Collecting product images of products placed in the shopping cart and transmitting them to the server, so that the server obtains product information according to the product images, and outputs a preset recommended quantity of recommended products according to the product information further includes:

[0118] The server outputs a preset recommended quantity of recommended commodities based on commodity information and historical shopping information.

[0119] The above-described method uses the identity information input by the user of the shopping cart, and the server retrieves the historical shopping information, and further enables the server to output a preset recommended number of recommended commodities based on the commodity information and historical shopping information obtained by the commodity recognition model, so that when providing recommended commodities to users, more personalized recommendation services are provided, which improves the purchase demand and shopping efficiency of buyers, further improves the shopping experience of users, and has broad application prospects. The specific implementation of this embodiment is the same as the above-mentioned embodiment, and will not be repeated here.

[0120] In an optional embodiment, before collecting product images of products placed in the shopping cart and transmitting them to the server so that the server obtains product information according to the product images and outputs a preset recommended quantity of recommended products according to the product information, the product recommendation method further includes:

[0121] Receiving personal information of a user using a shopping cart and transmitting it to a server, so that the server obtains the user's predicted shopping information based on the personal information using a pre-stored user demand model;

[0122] Collecting product images of products placed in the shopping cart and transmitting them to the server, so that the server obtains product information according to the product images, and outputs a preset recommended quantity of recommended products according to the product information further includes:

[0123] The server outputs a preset recommended quantity of recommended commodities based on the commodity information and predicted shopping information.

[0124] In the above-described method, by using the personal information input by the user of the shopping cart, the server obtains predicted shopping information, and further enables the server to output a preset recommended number of recommended commodities based on the commodity information obtained by the commodity recognition model and the predicted shopping information, so that when providing recommended commodities to users, more personalized recommendation services are provided, the purchase demand and shopping efficiency of buyers are improved, and the shopping experience of users is further improved, which has broad application prospects. The specific implementation method of this embodiment is the same as the above-mentioned embodiment, and will not be repeated here.

[0125] Corresponding to the above product recommendation method, such as Figure 7 As shown, an embodiment of the present application also provides a shopping cart, including a collection unit, a display unit and a second communication unit, wherein: the second communication unit is used to transmit data with a server; the collection unit is used to collect product images of products placed in the shopping cart and transmit them to the server through the second communication unit, so that the server uses a pre-stored product recognition model to identify the product image to obtain product information and uses a pre-stored product recommendation model to output a preset recommended number of recommended products according to the product information; the display unit is used to present the recommended products received through the second communication unit.

[0126] In this embodiment, the product images of the products in the shopping cart are collected by the collection unit set in the shopping cart, and by exchanging information with the server, the product recognition model and product recommendation model of the server are used to identify the products and further recommend the products, and the recommended products are presented on the shopping cart, thereby changing the existing shopping method, providing users with a personalized and convenient shopping experience, improving the purchase needs and shopping efficiency of buyers, and further improving the operating efficiency of supermarkets, which has broad application prospects. The specific implementation method of this embodiment is the same as the above embodiment, and will not be repeated here.

[0127] In an optional embodiment, if Figure 7 As shown, the shopping cart also includes an input unit: for receiving identity information input by a user using the shopping cart and transmitting it to a server, so that the server obtains the user's historical shopping information based on the identity information, and outputs a preset recommended number of recommended products based on the information of each product and the historical shopping information.

[0128] In the above-described method, by using the identity information input by the user of the shopping cart, the server retrieves the historical shopping information, and further enables the server to output a preset number of recommended commodities based on the commodity information and historical shopping information obtained by identifying the commodity identification model, so that when providing recommended commodities to users, more personalized recommendation services are provided, the purchase demand and shopping efficiency of buyers are improved, and the shopping experience of users is further improved, which has broad application prospects. The specific implementation of this embodiment is the same as the above-mentioned embodiment, and will not be repeated here.

[0129] In another optional embodiment, Figure 7 As shown, the shopping cart also includes an input unit: for receiving personal information input by a user using the shopping cart and transmitting it to a server, so that the server obtains the user's predicted shopping information based on the personal information, and outputs a preset recommended quantity of recommended products based on the product information and the predicted shopping information.

[0130] In the above-described method, by using the personal information input by the user of the shopping cart, the server obtains predicted shopping information, and further enables the server to output a preset recommended number of recommended commodities based on the commodity information obtained by the commodity recognition model and the predicted shopping information, so that when providing recommended commodities to users, more personalized recommendation services are provided, the purchase demand and shopping efficiency of buyers are improved, and the shopping experience of users is further improved, which has broad application prospects. The specific implementation of this embodiment is the same as the above-mentioned embodiment, and will not be repeated here.

[0131] An embodiment of the present application further provides a shopping system, comprising the server of the above embodiment and multiple shopping carts of the above embodiments.

[0132] In this embodiment, information is exchanged between the server and the shopping cart, and the commodity recognition model and the commodity recommendation model stored in the server are used to recognize the commodities in the shopping cart and make recommendations based on the commodities selected by the user. Specifically, the commodity images of the commodities in the shopping cart are collected, and the commodity images are recognized by the commodity recognition model, and the recognized commodity information is used as the input of the commodity recommendation model to output the recommended commodities for the user's needs, and the recommended commodities are presented on the shopping cart so that the user can select commodities more accurately, thereby changing the existing shopping method, providing users with a personalized and convenient shopping experience, improving the purchase needs and shopping efficiency of buyers, and further improving the operating efficiency of supermarkets, and having broad application prospects. The specific implementation method of this embodiment is the same as the above-mentioned embodiment, and will not be repeated here.

[0133] Another embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements: receiving a product image of a product placed in a shopping cart, recognizing the product image using a pre-stored product recognition model to obtain product information; outputting a preset number of recommended products based on the product information using a pre-stored product recommendation model; and transmitting each recommended product to a shopping cart so that the shopping cart presents the recommended product.

[0134] Another embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements: collecting product images of products placed in a shopping cart and transmitting them to a server, so that the server obtains product information based on the product images, and outputs a preset recommended quantity of recommended products based on the product information; receiving and presenting recommended products.

[0135] In practical applications, the computer-readable storage medium can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present embodiment, the computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.

[0136] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0137] The program code embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[0138] Computer program code for performing the operations of the present invention may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0139] like Figure 8 As shown, a structural schematic diagram of a computer device provided by another embodiment of the present invention. Figure 8 The computer device 12 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0140] like Figure 8 As shown, the computer device 12 is in the form of a general-purpose computing device. The components of the computer device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that connects various system components (including the system memory 28 and the processing unit 16).

[0141] Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor or a local bus using any of a variety of bus architectures. By way of example, these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an Enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.

[0142] The computer device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the computer device 12, including volatile and non-volatile media, removable and non-removable media.

[0143] The system memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. The computer device 12 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 34 may be used to read and write non-removable, non-volatile magnetic media ( Figure 8 not shown, usually called a "hard drive"). Although Figure 8 Not shown in the figure, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, a DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 18 via one or more data medium interfaces. The memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present invention.

[0144] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in the memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. The program modules 42 generally perform the functions and / or methods of the embodiments described herein.

[0145] The computer device 12 may also communicate with one or more external devices 14 (e.g., keyboards, pointing devices, displays 24, etc.), one or more devices that enable a user to interact with the computer device 12, and / or any device that enables the computer device 12 to communicate with one or more other computing devices (e.g., network cards, modems, etc.). Such communication may be performed through an input / output (I / O) interface 22. Furthermore, the computer device 12 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) through a network adapter 20. Figure 8 As shown, the network adapter 20 communicates with other modules of the computer device 12 via the bus 18. It should be understood that although Figure 8 Not shown, other hardware and / or software modules may be used in conjunction with computer device 12, including but not limited to microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0146] The processor unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, such as implementing the commodity recommendation method provided in the embodiment of the present invention.

[0147] In view of the existing problems, the present invention develops a commodity recommendation method, a server, a shopping cart, a shopping system, a storage medium, and a computer device. Specifically, the server interacts with the shopping cart, identifies and recommends commodities based on the collected images of commodities in the shopping cart, and presents the recommended commodities to the user who uses the shopping cart through the shopping cart, thereby changing the shopping mode of the existing supermarkets, providing users with personalized and convenient shopping experience according to user characteristics, thereby improving the purchase demand and shopping efficiency of buyers, and further improving the operating efficiency of supermarkets, and has broad application prospects.

[0148] Obviously, the above embodiments of the present invention are merely examples for clearly illustrating the present invention, and are not limitations on the implementation methods of the present invention. For ordinary technicians in the relevant field, other different forms of changes or modifications can be made based on the above description. It is impossible to list all the implementation methods here. All obvious changes or modifications derived from the technical solution of the present invention are still within the protection scope of the present invention.

Claims

1. A commodity recommendation method, applied to a server, characterized in that: include: Receiving a product image of a product placed in a shopping cart, and recognizing the product image using a pre-stored product recognition model to obtain product information; Outputting a preset recommended quantity of recommended commodities according to the commodity information using a pre-stored commodity recommendation model; Transmitting each of the recommended products to the shopping cart so that the shopping cart presents the recommended products; Before outputting a preset number of recommended commodities according to the commodity information using the pre-stored commodity recommendation model, the commodity recommendation method further includes: Receiving personal information of a user who uses the shopping cart, and obtaining predicted shopping information of the user using a pre-stored user demand model according to the personal information; The step of using the pre-stored product recommendation model to output a preset number of recommended products according to the product information further includes: Outputting a preset recommended quantity of recommended commodities according to the commodity information and the predicted shopping information using a pre-stored commodity recommendation model; Before receiving the personal information of the user who uses the shopping cart and obtaining the user's predicted shopping information by using the pre-stored user demand model according to the personal information, the commodity recommendation method further includes: Establish a user demand model, which includes a decision tree model, which is used to output corresponding user tags according to the received personal information and output corresponding predicted shopping information according to the user tags; the decision tree model is established based on supermarket big data, responds to users answering simple judgment questions and inputs user feedback into the decision tree model, including establishing a model based on user age, gender, number of family members, and nature of work factors, classifying users, and inferring the purchase possibility of all commodities in the supermarket, and calculating the commodity combination with the maximum probability under each category; for each population tag, establish a product recommendation combination model based on the 0-1 planning principle: maxΣpixi; stf(x)≤B; Among them, xi is whether to buy the product of type i, x is its matrix, pi is the profit of product i, f() is the product characteristics, which is fitted according to factors including sales volume, rating, and unit price, and B is the shopping experience index, which is fitted according to factors including total product price, weight and product characteristics.

2. The commodity recommendation method according to claim 1, characterized in that: The product image includes at least two images from different perspectives, and the receiving of the product image of the product placed in the shopping cart and using the pre-stored product recognition model to recognize the product image to obtain product information further includes: The edge frame of each commodity in the commodity image is obtained according to the at least two images from different viewing angles, and the edge frame of each commodity is transmitted to the commodity recognition model to obtain commodity information.

3. The commodity recommendation method according to claim 2, characterized in that: Before receiving the product image of the product placed in the shopping cart and recognizing the product image using a pre-stored product recognition model to obtain product information, the product recommendation method further includes: Establishing the commodity identification model, wherein the commodity identification model includes a feature extractor having multiple convolutional neural networks and aggregation units; receiving a first sample image, performing image processing and labeling on the first sample image to output a first training sample, wherein the labeling label of the first training sample includes an edge frame of the product; Amplifying the first training sample; The commodity recognition model is trained using the amplified first training sample.

4. The commodity recommendation method according to claim 1, characterized in that: Before outputting a preset number of recommended commodities according to the commodity information using the pre-stored commodity recommendation model, the commodity recommendation method further includes: The commodity recommendation model is established, and the commodity recommendation model includes a commodity correlation coefficient matrix, which is used to output a preset recommended number of recommended commodities with high correlation with the commodity information according to the received commodity information.

5. The commodity recommendation method according to claim 4, characterized in that: The step of transmitting each of the recommended products to the shopping cart so that the shopping cart presents the recommended products further comprises: The recommended products are sorted according to sales records and / or promotion strength and transmitted to the shopping cart, so that the shopping cart presents the recommended products in positive order.

6. The commodity recommendation method according to any one of claims 1 to 5, characterized in that: Before outputting a preset number of recommended commodities according to the commodity information using the pre-stored commodity recommendation model, the commodity recommendation method further includes: Receiving identity information of a user using the shopping cart, and acquiring historical shopping information of the user according to the identity information; The step of using the pre-stored product recommendation model to output a preset number of recommended products according to the product information further includes: The pre-stored product recommendation model is used to output a preset recommended quantity of recommended products according to the product information and the historical shopping information.

7. The commodity recommendation method according to claim 6, characterized in that: The step of using the pre-stored product recommendation model to output a preset number of recommended products according to the product information and the historical shopping information further includes: Acquire the purchase cycle of the commodity information according to the historical shopping information, and output a preset recommended quantity of recommended commodities that are the same as or close to the purchase cycle according to the historical shopping information; and / or The commodity attributes of the commodity information are obtained according to the historical shopping information, and a preset recommended number of recommended commodities having the same or similar attributes as the commodity are output according to the historical shopping information.

8. A commodity recommendation method, applied to a shopping cart, characterized in that: include: The product images of the products placed in the shopping cart are collected and transmitted to the server, so that the server obtains product information according to the product images and outputs a preset recommended number of recommended products according to the product information; before the product images of the products placed in the shopping cart are collected and transmitted to the server, so that the server obtains product information according to the product images and outputs a preset recommended number of recommended products according to the product information, the product recommendation method also includes: enabling the server to establish a user demand model, the user demand model includes a decision tree model, which is used to output corresponding user tags according to the received personal information and output corresponding predicted shopping information according to the user tags; the decision tree model is established based on the big data of the supermarket, and responds to the user's answer to a simple judgment question and inputs the user's feedback into the decision tree model, It includes establishing a model based on the user's age, gender, number of family members, and nature of work, classifying users, inferring the purchase possibility of all commodities in the supermarket, and calculating the commodity combination with the maximum probability under each category; for each population label, establishing a product recommendation combination model according to the 0-1 planning principle: maxΣpixi; stf(x)≤B; where xi is whether to purchase a product of type i, x is its matrix, pi is the profit of product i, f() is the commodity characteristic, which is fitted according to factors including sales volume, rating, and unit price, and B is the shopping experience index, which is fitted according to factors including total product price and weight and product characteristics; receiving personal information of the user who uses the shopping cart and transmitting it to the server, so that the server obtains the user's predicted shopping information based on the personal information using a pre-stored user demand model; The collecting of product images of products placed in the shopping cart and transmitting them to the server, so that the server obtains product information according to the product images, and outputs a preset recommended quantity of recommended products according to the product information, further includes: The server outputs a preset recommended quantity of recommended commodities according to the commodity information and the predicted shopping information; The recommended products are received and presented.

9. The commodity recommendation method according to claim 8, characterized in that: The product image includes images from at least two different perspectives, and the step of collecting the product image of the product placed in the shopping cart and transmitting it to the server further includes: using at least two collection units placed in the shopping cart at different perspectives to respectively collect images of the product placed in the shopping cart.

10. The commodity recommendation method according to claim 8, characterized in that: Before collecting the product images of the products placed in the shopping cart and transmitting them to the server so that the server obtains product information according to the product images and outputs a preset recommended quantity of recommended products according to the product information, the product recommendation method further includes: receiving identity information of a user using the shopping cart and transmitting the identity information to the server, so that the server obtains historical shopping information of the user according to the identity information; The collecting of product images of products placed in the shopping cart and transmitting them to the server, so that the server obtains product information according to the product images, and outputs a preset recommended quantity of recommended products according to the product information, further includes: The server outputs a preset recommended quantity of recommended commodities according to the commodity information and the historical shopping information.

11. A server using the commodity recommendation method according to any one of claims 1 to 7, characterized in that: It includes a commodity identification unit, a commodity recommendation unit and a first communication unit, wherein The first communication unit is used to transmit data to and from the shopping cart; The commodity recognition unit is configured to recognize the commodity image of the commodity placed in the shopping cart received by the first communication unit by using a pre-stored commodity recognition model to obtain commodity information; The commodity recommendation unit is used to output a preset recommended quantity of recommended commodities according to the commodity information by using a pre-stored commodity recommendation model, and transmit the recommended commodities to the shopping cart through the first communication unit to present the recommended commodities; It also includes a prediction data unit, which is used to obtain the user's predicted shopping information based on the personal information of the user using the shopping cart received by the first communication unit and using a pre-stored user demand model based on the personal information, so that the product recommendation unit outputs a preset recommended quantity of recommended products based on the product information and the predicted shopping information using a pre-stored product recommendation model.

12. The server according to claim 11, characterized in that It also includes a historical data unit for obtaining the user's historical shopping information based on the identity information of the user who uses the shopping cart received by the first communication unit, so that the product recommendation unit outputs a preset number of recommended products based on the product information and the historical shopping information using a pre-stored product recommendation model.

13. A shopping cart using the commodity recommendation method according to any one of claims 8 to 10, characterized in that: It includes a collection unit, a display unit and a second communication unit, wherein: The second communication unit is used to perform data transmission with the server; The acquisition unit is used to acquire product images of products placed in the shopping cart and transmit them to the server through the second communication unit, so that the server recognizes the product images by using a pre-stored product recognition model to obtain product information and outputs a preset recommended number of recommended products according to the product information by using a pre-stored product recommendation model; The display unit is used to present the recommended products received through the second communication unit; It also includes an input unit for receiving personal information input by a user using the shopping cart and transmitting it to the server, so that the server obtains the user's predicted shopping information based on the personal information, and outputs a preset recommended quantity of recommended products based on the product information and the predicted shopping information.

14. The shopping cart according to claim 13, characterized in that: The input unit is also used to receive identity information input by a user using the shopping cart and transmit it to the server, so that the server obtains the user's historical shopping information based on the identity information, and outputs a preset recommended quantity of recommended products based on the product information and the historical shopping information.

15. A shopping system, characterized in that: It comprises the server as claimed in claim 11 or 12, and a plurality of shopping carts as claimed in claim 13 or 14.

16. A computer-readable storage 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 7 is implemented; or When the program is executed by a processor, the method according to any one of claims 8 to 10 is implemented.

17. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the method according to any one of claims 1 to 7 is implemented; or When the processor executes the program, the method according to any one of claims 8 to 10 is implemented.