Weighing method, payment method, information acquisition method and device
The terminal equipment collects product image information, and the server calculates the product weight and price, solving the problem of users queuing up to weigh when purchasing fresh fruits, realizing accurate purchases and efficient payments, and improving the shopping experience.
Patent Information
- Application Number
- CN201910748596.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-08-14
- Publication Date
- 2024-12-06
- Estimated Expiration
- 2039-08-14
AI Technical Summary
When purchasing fresh fruits and other products, users need to go to a fewer weighing tables to weigh, which leads to inconvenience in line and cannot know the weight and price of the products in advance, which affects the shopping experience.
The terminal device collects image information of the product, the server identifies the product identification information and volume, calculates weight and price based on density, and sends the information to the terminal device, where the user can view and pay on the terminal device.
Without going to the scale platform to weigh, users can accurately purchase products, save time, improve shopping experience and efficiency.
Smart Images

Figure CN112396647B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a weighing method, a payment method, an information acquisition method and a device. Background Art
[0002] When users buy fresh fruits and other commodities, they often need to go to a weighing station to weigh the commodities in order to know the weight of the commodities they have selected. In addition, in order to save labor costs and space, sellers often only set up a small number of weighing stations. When there are many consumers, users often need to queue up to weigh the commodities, which is very inconvenient. Summary of the invention
[0003] According to one aspect of the present application, a weighing method is provided, comprising:
[0004] Determine, based on the image information collected by the terminal device, the commodity identification information of the commodity corresponding to the image information and the volume of the commodity;
[0005] Acquire density information corresponding to the commodity according to the commodity identification information of the commodity;
[0006] The weight of the commodity is determined according to the density information corresponding to the commodity and the volume of the commodity.
[0007] In a possible implementation, the method further includes:
[0008] Acquiring unit price information of the commodity according to the commodity identification information of the commodity;
[0009] The price of the commodity is determined according to the unit price information of the commodity and the weight of the commodity.
[0010] In a possible implementation, there are multiple commodities, and determining the price of the commodity according to the unit price information of the commodity and the weight of the commodity includes:
[0011] For any commodity, the price of the commodity is determined according to the unit price information of the commodity and the weight of the commodity.
[0012] In a possible implementation, the method further includes:
[0013] Sending product details to the terminal device so that the terminal device displays the product details,
[0014] The commodity details information includes one or more of the commodity identification information, unit price information, weight, and price of the commodity.
[0015] In a possible implementation, the method further includes:
[0016] Receiving an order instruction for the product sent by the terminal device;
[0017] Create corresponding order information according to the order instruction;
[0018] Generate payment information according to the order information, and send the payment information to the terminal device.
[0019] According to another aspect of the present application, a weighing method is provided, the method comprising:
[0020] Collect image information corresponding to the product;
[0021] The image information is sent to a server, so that the server determines the volume of the commodity according to the image information and then determines the weight of the commodity according to the density of the commodity.
[0022] In a possible implementation, the method further includes:
[0023] Receiving product details information sent by a server, the product details information including one or more of product identification information, unit price information, weight, and price of the product;
[0024] Display the product details information.
[0025] In a possible implementation manner, the product details information also includes location information of the product in the image information, and displaying the product details information includes:
[0026] Determine a display position of the product details information according to the position information of the product in the image information;
[0027] The product detail information is displayed at a display position of the product detail information.
[0028] In a possible implementation, the commodity details information includes commodity identification information, unit price information, weight, and price of the commodity, and the method further includes:
[0029] In response to an order operation for the product, obtaining product details information of the product and account information of a user currently logged in at the terminal;
[0030] Send an order instruction to the server according to the product details information and the user account information.
[0031] In a possible implementation, the method further includes:
[0032] Receiving payment information for the product sent by the server;
[0033] In response to a payment operation for the commodity, payment is made for the commodity.
[0034] According to another aspect of the present application, a payment method is provided, comprising:
[0035] Collect image information corresponding to the product;
[0036] Obtaining the weight and price of the commodity according to the image information corresponding to the commodity;
[0037] Payment is made for the goods according to the weight and price of the goods.
[0038] According to another aspect of the present application, there is provided an information acquisition method, comprising:
[0039] In response to an operation to obtain product information, the image information of the product is collected by an information collection device;
[0040] Sending the image information to a server so that the server determines product details information of the product according to the image information, wherein the product details information includes one or more of product identification information, unit price information, weight, and price of the product.
[0041] The weight of the commodity is determined by the server according to the density and volume of the commodity after determining the volume of the commodity according to the image information, and the price of the commodity is determined by the server according to the weight and unit price information of the commodity;
[0042] Receive product details information sent by the server;
[0043] Display the product details information.
[0044] According to another aspect of the present application, there is provided a weighing device, comprising:
[0045] A first determination module, configured to determine, based on the image information collected by the terminal device, the commodity identification information of the commodity corresponding to the image information and the volume of the commodity;
[0046] A first acquisition module, configured to acquire density information corresponding to the commodity according to the commodity identification information of the commodity;
[0047] The second determination module is used to determine the weight of the commodity according to the density information corresponding to the commodity and the volume of the commodity.
[0048] In a possible implementation manner, the device further includes:
[0049] A second acquisition module, used to acquire the unit price information of the commodity according to the commodity identification information of the commodity;
[0050] The third determining module is used to determine the price of the commodity according to the unit price information of the commodity and the weight of the commodity.
[0051] In a possible implementation, there are multiple commodities, and the third determining module is further configured to:
[0052] For any commodity, the price of the commodity is determined according to the unit price information of the commodity and the weight of the commodity.
[0053] In a possible implementation manner, the device further includes:
[0054] The first sending module is used to send the product details information to the terminal device so that the terminal device displays the product details information.
[0055] The commodity details information includes one or more of the commodity identification information, unit price information, weight, and price of the commodity.
[0056] In a possible implementation manner, the device further includes:
[0057] A receiving module, used for receiving an order instruction sent by the terminal device for the commodity;
[0058] A creation module, used to create corresponding order information according to the order instruction;
[0059] The second sending module is used to generate payment information according to the order information and send the payment information to the terminal device.
[0060] According to another aspect of the present application, there is provided a weighing device, comprising:
[0061] A collection module, used to collect image information corresponding to the product;
[0062] The first sending module is used to send the image information to the server, so that the server determines the volume of the commodity according to the image information and then determines the weight of the commodity according to the density of the commodity.
[0063] In a possible implementation manner, the device further includes:
[0064] A first receiving module, configured to receive commodity details information sent by a server, wherein the commodity details information includes one or more of commodity identification information, unit price information, weight, and price of the commodity;
[0065] The display module is used to display the product details information.
[0066] In a possible implementation manner, the product details information also includes location information of the product in the image information, and the display module is further configured to:
[0067] Determine a display position of the product details information according to the position information of the product in the image information;
[0068] The product detail information is displayed at a display position of the product detail information.
[0069] In a possible implementation, the commodity details information includes commodity identification information, unit price information, weight, and price of the commodity, and the device further includes:
[0070] An acquisition module, configured to acquire product details information of the product and user account information currently logged in at the terminal in response to an order operation for the product;
[0071] The second sending module is used to send an order instruction to the server according to the product details information and the user account information.
[0072] In a possible implementation manner, the device further includes:
[0073] A second receiving module, used for receiving payment information for the commodity sent by the server;
[0074] The payment module is used to pay for the commodity in response to a payment operation on the commodity.
[0075] According to another aspect of the present application, a payment device is provided, comprising:
[0076] A collection module, used to collect image information corresponding to the product;
[0077] An acquisition module, used to acquire the weight and price of the commodity according to the image information corresponding to the commodity;
[0078] The payment template is used to pay for the goods according to the weight and price of the goods.
[0079] According to another aspect of the present application, there is provided an information acquisition device, comprising:
[0080] A collection module, used for collecting image information of the commodity through an information collection device in response to an acquisition operation for commodity information;
[0081] a sending module, configured to send the image information to a server, so that the server determines the product details information of the product according to the image information, wherein the product details information includes one or more of the product identification information, unit price information, weight, and price of the product,
[0082] The weight of the commodity is determined by the server according to the density and volume of the commodity after determining the volume of the commodity according to the image information, and the price of the commodity is determined by the server according to the weight and unit price information of the commodity;
[0083] A receiving module, used to receive product details information sent by the server;
[0084] The display module is used to display the product details information.
[0085] According to another aspect of the present application, a weighing device is provided, comprising: a processor; and a memory for storing processor executable instructions; wherein the processor is configured to execute the above-mentioned weighing method.
[0086] According to another aspect of the present application, a payment device is provided, comprising: a processor; and a memory for storing processor-executable instructions; wherein the processor is configured to execute the above-mentioned payment method.
[0087] According to another aspect of the present application, there is provided an information acquisition device, comprising: a processor; and a memory for storing processor-executable instructions; wherein the processor is configured to execute the above-mentioned information providing method.
[0088] According to another aspect of the present application, a non-volatile computer-readable storage medium is provided, on which computer program instructions are stored, wherein the computer program instructions implement the above-mentioned weighing method when executed by a processor.
[0089] According to another aspect of the present application, a non-volatile computer-readable storage medium is provided, on which computer program instructions are stored, wherein the computer program instructions implement the above-mentioned payment method when executed by a processor.
[0090] According to another aspect of the present application, a non-volatile computer-readable storage medium is provided, on which computer program instructions are stored, wherein the computer program instructions implement the above-mentioned information acquisition method when executed by a processor.
[0091] In this way, the server can determine the commodity identification information and the volume of the commodity according to the image information collected by the terminal device, and then obtain the density information corresponding to the commodity according to the commodity identification information, so as to determine the weight of the commodity according to the density information and the volume of the commodity. According to the weighing method and device provided by the present application, the user does not need to go to the scale to weigh the commodity, and can obtain the weight of the commodity by collecting the image information of the commodity through the terminal device, which can help the user to accurately purchase the commodity, save the time spent by the user in purchasing the commodity, and improve the user's shopping experience.
[0092] Other features and aspects of the present application will become apparent from the following detailed description of exemplary embodiments with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0093] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate exemplary embodiments, features, and aspects of the present application and, together with the description, serve to explain the principles of the present application.
[0094] Figure 1 It is an implementation flow chart of a specific application scenario provided by this application;
[0095] Figure 2 A schematic diagram showing an exemplary application scenario provided by the present application;
[0096] Figure 3 A schematic diagram showing an exemplary weighing system provided by the present application;
[0097] Figure 4 A schematic diagram showing an exemplary display interface of the present application is shown;
[0098] Figure 5 A flow chart showing a weighing method provided by an embodiment of the present application is shown;
[0099] Figure 6 A flow chart showing a weighing method provided by an embodiment of the present application is shown;
[0100] Figure 7 A flow chart showing a payment method provided by an embodiment of the present application;
[0101] Figure 8 A flowchart showing an information acquisition method provided by an embodiment of the present application;
[0102] Fig. 9 A structural block diagram of a weighing device provided in one embodiment of the present application is shown;
[0103] Fig.10 A structural block diagram of a weighing device provided in one embodiment of the present application is shown;
[0104] Fig.11 A structural block diagram of a payment device provided by an embodiment of the present application is shown;
[0105] Fig.12 A structural block diagram of an information acquisition device provided by an embodiment of the present application is shown;
[0106] Fig.13 is a block diagram of a terminal device 1500 according to an exemplary embodiment;
[0107] Fig.14is a block diagram of a device 1900 for weighing according to an exemplary embodiment. DETAILED DESCRIPTION
[0108] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.
[0109] In order to facilitate those skilled in the art to understand the technical solution provided by the embodiments of the present application, the technical environment in which the technical solution is implemented is described below.
[0110] Figure 1 This is an implementation flow chart of a specific application scenario provided by this application. Figure 1 As shown, when users buy fresh fruits and other commodities that are priced according to weight and unit price in fresh fruit stores or supermarkets, they usually need to select commodities in the commodity selection area and then go to the weighing platform (a place for weighing commodities) to weigh them in order to know the weight of the selected commodities and the price required to purchase the commodities. However, there are usually few weighing platforms set up by merchants, and users often need to queue up during the weighing process.
[0111] Furthermore, the user cannot know the weight of the goods he / she has selected before weighing, which may result in the weight or price of the goods selected by the user exceeding the user's expectations. In this scenario, the user either directly purchases the goods that exceed the expectations, or goes back and forth between the product selection area and the weighing platform, re-selects goods in the product selection area (or puts the excess part back into the product selection area), and then goes to the weighing platform again for weighing. No matter which method is chosen, it will bring a bad shopping experience to the user.
[0112] Based on actual technical requirements similar to those described above, the weighing method provided in the present application can use a series of process methods. Users can collect image information of goods through terminal devices, and the server can perform image recognition processing on the image information collected by the terminal device, determine the product identification information of the corresponding product and the volume of the product according to the image information (when the product is rice, flour, beans and other products, the product can be packed in a standard container), and obtain the density information corresponding to the product according to the product identification information of the product, and then determine the weight of the product according to the density information of the product and the volume of the product, and further send the weight of the product to the terminal device so that the terminal device can display the weight of the product. In this way, users do not need to go to the scale to weigh the product, and can obtain the weight of the product by collecting image information of the product through the terminal device, which can help users accurately select products, save users the time spent on selecting products, and improve users' shopping experience.
[0113] The following describes the weighing methods provided in various embodiments of the present application through a specific application scenario.
[0114] Figure 2 A schematic diagram showing an exemplary application scenario provided by the present application is shown. Figure 3 A schematic diagram of an exemplary weighing system provided in the present application is shown, the system comprising a terminal device 100 and a server 200, wherein the server 200 locally maintains a commodity information database, the commodity information database storing commodity information of each commodity, which may include commodity identification information (name, commodity code, etc.), commodity unit price information, commodity density information, and other information.
[0115] like Figure 2 and Figure 3 As shown, the user purchases apples in the commodity purchasing area (the commodity is apples as an example in this application, but it can be any commodity that needs to be weighed). The user can collect image information of the commodity apples through the camera of the terminal device 100 and other devices, and send the collected image information to the server 200. After receiving the image information sent by the terminal device 100, the server 200 can perform image recognition processing on the image information, determine that the commodity identification information (commodity name or commodity code information) of the commodity contained in the image information is: Gala apple (commodity code information is 2000838377), and determine that the volume of the commodity is: 180cm 3 The server 200 can find the density information corresponding to the Gala apple from the commodity information database: 0.95 g / cm 3 , the unit price information is: 5.8 yuan / 500g, and then according to the density information and volume of the Gala apples, the weight of the Gala apples purchased by the user is determined to be 171g, and according to the weight and unit price information of the Gala apples purchased by the user, the price is determined to be: 1.98 yuan.
[0116] Figure 4 The server 200 can send the weight of the apples purchased by the user (which can also include product name, unit price information and price information) to the terminal device 100, so that the terminal device 100 can display the weight of the apples purchased by the user on the display interface: 171g (it can also display the name of the apples: Gala apples, unit price information: 5.8 yuan / 500g, price: 1.98 yuan), such as Figure 4 shown.
[0117] After the user determines the weight of the selected apples through the terminal device, the user can determine whether the apples need to be replaced to adjust the weight of the apples. If the apples do not need to be replaced, the purchase process of the product can continue.
[0118] In one possible implementation, the user may use the weight of the apples determined by the terminal device 100 as reference information only. When the user determines that the weight and price of the purchased apples are within the expected range based on the reference information, the user may go to the weighing station for weighing and pay at the checkout counter.
[0119] In another possible implementation, the user can directly complete the Apple payment operation on the terminal device 100. Figure 4 As shown, the terminal device 100 includes the name, weight, unit price information and price of the apple, and also includes a purchase control for triggering the payment operation. The user can trigger the purchase control by clicking or touching, and the terminal device 100 can respond to the trigger operation on the purchase control, obtain the product details information (product identification information, unit price information, weight, price) and the user account information currently logged in to the terminal device 100, and send the corresponding order instruction to the server 200 according to the product details information and user account information. In response to the above order instruction, the server 200 generates the corresponding order information and payment information and sends it to the terminal device 100, so that the user can complete the payment operation of the selected apple on the terminal 100.
[0120] The weighing method described in this application is described in detail below with reference to the accompanying drawings. Figure 5It is a method flow diagram of an embodiment of the weighing method provided by the present application. Although the present application provides the method operation steps as shown in the following embodiments or drawings, more or fewer operation steps may be included in the method based on routine or no creative labor. In the steps where there is no necessary causal relationship logically, the execution order of these steps is not limited to the execution order provided in the embodiment of the present application. When the method is executed in the actual order generation process or the device, it can be executed in the order of the method shown in the embodiment or drawings or in parallel (for example, in a parallel processor or multi-threaded processing environment).
[0121] Figure 5 A flow chart of a weighing method provided in one embodiment of the present application is shown.
[0122] Specifically, an embodiment of the weighing method provided by the present application is as follows: Figure 5 As shown, the method can be applied in a server and may include:
[0123] Step 501: Determine the commodity identification information of the commodity corresponding to the image information and the volume of the commodity according to the image information collected by the terminal device;
[0124] Step 502: Obtain density information corresponding to the commodity according to the commodity identification information of the commodity;
[0125] Step 503: Determine the weight of the commodity according to the density information corresponding to the commodity and the volume of the commodity.
[0126] The terminal device in the present application may be a device with an image acquisition function, such as a mobile phone, a tablet computer, or the like, or the terminal device may also be a device with an image acquisition function and a display interface installed on a shopping cart or a shopping basket, or the terminal device may also be a device with an image acquisition function and a display interface set at a fixed position in a shopping mall, such as a door, a shelf, etc. The user may collect image information of the purchased goods through the terminal device, and the image information may be used for image recognition, for example, the above image information may be a plurality of static pictures corresponding to the goods at different angles (for example, pictures of the goods taken by the terminal device at different positions such as the front, back, left, and right of the goods), or the image information may also be a dynamic 3D panoramic picture of the goods collected by the terminal device, or the image information may also be a 3D model established by the terminal device through the collected image information of the goods, etc. After the terminal device collects the image information of the purchased goods, the image information of the goods may be sent to the server.
[0127] After receiving the image information sent by the terminal device, the server can perform image recognition processing on the image information to determine the commodity identification information and the volume of the commodity. For example, the image features in the image information can be extracted by image recognition technology, and then the commodity in the image information can be identified according to the extracted features to which of the preset multiple commodities the commodity belongs. Specifically, the image information can be identified by a model for commodity identification to determine the commodity identification information of the commodity corresponding to the image information. The commodity identification information can be information for identifying the commodity, which can include: commodity name, commodity code information, etc.
[0128] For example, when collecting image information, the terminal device can also measure the distance to the product, and then determine the length, width and height of the product based on the distance to the product. That is, the image information can include the length, width and height of the product, so that the server can determine the volume of the product, or the server can train a model for product volume recognition, and the server can also recognize the image information through the model for volume recognition to determine the volume of the product corresponding to the image information.
[0129] The server can maintain a commodity information database for storing commodity information locally, and the commodity information database can store relevant information of the commodity, including commodity identification information, commodity density information and commodity unit price information, such as the following Table 1. The density information of the above-mentioned commodity can be obtained by manual precise measurement (for example: the commodity can be sampled, the weight and volume of each sample can be measured in turn, and then the density of each commodity can be determined, and the average of the density of each sample can be used as the density information of the commodity), or the general value of the density of this type of commodity can be used as the density information of the commodity. This application does not specifically limit the method for obtaining the density information of the commodity. The unit price information can be the price of the commodity per unit weight.
[0130] Table 1
[0131] Product Name unit price density Gala Apple 5.8 yuan / 500g <![CDATA[0.95g / cm 3 ]]> Peach 12.8 yuan / 500g <![CDATA[0.99g / cm 3 ]]> Black Watermelon 3.98 Yuan / 500g <![CDATA[1.15g / cm 3 ]]>
[0132] After determining the commodity identification information of the commodity, the server can search for the density information of the commodity from the commodity information database according to the commodity identification information, and further determine the weight of the commodity by multiplying the density information of the commodity and the volume of the commodity.
[0133] In this way, the server can determine the commodity identification information and the volume of the commodity according to the image information collected by the terminal device, and then obtain the density information corresponding to the commodity according to the commodity identification information, so as to determine the weight of the commodity according to the density information and the volume of the commodity. According to the weighing method provided by the present application, the user does not need to go to the scale to weigh the commodity, and can obtain the weight of the commodity by collecting the image information of the commodity through the terminal device, which can help the user to accurately purchase the commodity, save the time spent by the user in purchasing the commodity, and improve the user's shopping experience.
[0134] In a possible implementation, the above method may further include:
[0135] Acquiring unit price information of the commodity according to the commodity identification information of the commodity;
[0136] The price of the commodity is determined according to the unit price information of the commodity and the weight of the commodity.
[0137] After determining the product identification information of the product, the server can also obtain the unit price information of the product from the product information database, and then determine the price of the product based on the unit price information and the weight of the product. In this way, users do not need to go to the scale to weigh the product, and can obtain the price of the product by collecting the image information of the product through the terminal device, which can help users choose products accurately and improve their shopping experience.
[0138] In a possible implementation, there are multiple commodities, and determining the price of the commodity according to the unit price information of the commodity and the weight of the commodity may include:
[0139] For any commodity, the price of the commodity is determined according to the unit price information of the commodity and the weight of the commodity.
[0140] The commodities selected by the user can be multiple, for example, multiple commodities of the same kind (such as 5 apples) or multiple commodities of different kinds (such as 1 apple and 2 peaches), that is, the number of commodities in the image information collected by the terminal device can be multiple, and the server can respectively identify the commodity identification information and the volume of each commodity in the image information through the image recognition technology, thereby determining the weight of each commodity, and determining the price of each commodity in turn according to the unit price information and the weight of each commodity. For example, the server recognizes that the current image information includes: 1 Gala apple and 2 peaches, wherein the unit price of Gala apple is 5.8 yuan / 500g and the weight is 171g, then the price is: 1.98 yuan, the unit price of 2 peaches is 12.8 yuan / 500g, and the weight is 180g and 168g respectively, then the price is: 4.6 yuan and 4.3 yuan respectively.
[0141] In this way, the server can determine the weight and price of each commodity in the image information, so that the user can know more clearly the weight and price of each commodity he / she purchases, and can facilitate the user to more reasonably change the purchased commodities. For example, if the user wants to buy 1 kg of apples, but it is currently 280g overweight, the user can determine which apple to give up or which apple to replace based on the weight of the purchased apples.
[0142] In a possible implementation, the above method may further include:
[0143] Sending product details information to the terminal device so that the terminal device displays the product details information, wherein the product details information includes one or more of the product identification information, unit price information, weight, and price of the product.
[0144] After determining the product identification information and weight of the product, the server may send the weight of the product to the terminal device so that the user can know the weight of the product selected. Alternatively, after determining the product identification information, unit price information, weight and price of the product, the server may generate product details information according to one or more of the product identification information, unit price information, weight and price, and send the information to the terminal device so that the terminal device displays the product details information on a display interface, such as Figure 4 As shown, the user does not need to go to the scale to weigh the goods, but can obtain relevant information of the goods, which can improve the user's shopping experience.
[0145] In a possible implementation, the above method may further include:
[0146] Receiving an order instruction for the product sent by the terminal device;
[0147] Create corresponding order information according to the order instruction;
[0148] Generate payment information according to the order information, and send the payment information to the terminal device.
[0149] After the terminal device displays the product details information of the product, the display interface may also include a purchase control for triggering the sending of an order instruction to the server. The terminal device can respond to the user's trigger operation on the purchase control and send an order instruction to the server. The order instruction may include the product identification information, unit price information, weight and price information of the product and the user account information currently logged in to the terminal device. The server can respond to the order instruction, create corresponding order information, generate corresponding payment information based on the order information, and send the payment information to the terminal device, so that the user can complete the payment of the product online through the terminal device, which can improve the user's shopping efficiency and improve the user's shopping experience.
[0150] Figure 6 A flow chart of a weighing method provided in one embodiment of the present application is shown.
[0151] Specifically, an embodiment of the weighing method provided by the present application is as follows: Figure 6 As shown, the method can be applied to a terminal device and may include:
[0152] Step 601: Collect image information corresponding to the product;
[0153] Step 602: Send the image information to a server, so that the server determines the volume of the product according to the image information and then determines the weight of the product according to the density of the product.
[0154] The terminal device can respond to the image capture operation for the product, collect image information corresponding to the product through a camera or other device (the image information can refer to the aforementioned embodiment, and this application will not repeat it here), and send the image information corresponding to the product to the server, so that the server can determine the product identification information and volume of the product based on the image information, and obtain the density information of the product based on the product identification information, and then determine the weight of the product based on the density information and volume of the product (the specific process can refer to the aforementioned embodiment, and this application will not repeat it here).
[0155] In this way, the terminal device can collect the image information corresponding to the product and send the image information to the server, so that the server can determine the weight of the product based on the image information. According to the weighing method provided by the present application, the user does not need to go to the scale to weigh the product. The weight of the product can be obtained by collecting the image information of the product through the terminal device, which can help the user to accurately purchase the product, save the time spent by the user in purchasing the product, and improve the user's shopping experience.
[0156] In a possible implementation, the above method may include:
[0157] Receiving product details information sent by a server, the product details information including one or more of product identification information, unit price information, weight, and price of the product;
[0158] Display the product details information.
[0159] In this application, the unit price information of the product and the price determination process can refer to the above-mentioned embodiment, and this application will not be repeated here. The terminal device receives the product details information sent by the server and can display the product details information in the display interface, for example: display the product name, unit price information, weight and price of the product, such as Figure 4 As shown, the user does not need to go to the scale to weigh the goods, but can obtain relevant information of the goods, which can improve the user's shopping experience.
[0160] In a possible implementation, the product details information may further include location information of the product in the image information, and the displaying of the product details information may include:
[0161] Determine a display position of the product details information according to the position information of the product in the image information;
[0162] The product detail information is displayed at a display position of the product detail information.
[0163] When the server recognizes the product identification information of the product in the image information, it can also determine the location information of the product in the image information. The product details information sent by the server to the terminal device may include the location information, for example, the coordinates of the product in the image information. When the terminal device displays the product details information, it can determine the display position of the product details information in the image information according to the location information of the product in the image information. For example, it can be determined that the display position of the product name is the upper left of the product location information, the display position of the product weight is the upper right of the product location information, and the display position of the product price is the lower right of the product location information. The terminal device can display the product details information at the display position of the product details information, such as Figure 4 shown.
[0164] In this way, users can clearly obtain product details of each product in the image information, which can improve the user's shopping experience.
[0165] In a possible implementation, the above-mentioned commodity details information includes commodity identification information, unit price information, weight, and price of the commodity, and the method may further include:
[0166] In response to an order operation for the product, obtaining product details information of the product and account information of a user currently logged in at the terminal;
[0167] Send an order instruction to the server according to the product details information and the user account information.
[0168] After receiving the product details of the product, the terminal device can display the product details in a display interface, and the display interface may include a purchase control for triggering the sending of an order instruction to the server. The terminal device can respond to the user's trigger operation on the purchase control to obtain the product details and the user account information currently logged in to the terminal device, and send an order instruction to the server based on the product details and the user account information, so that the server can create corresponding order information based on the order instruction.
[0169] In a possible implementation, the above method may further include:
[0170] Receiving payment information for the product sent by the server;
[0171] In response to a payment operation for the commodity, payment is made for the commodity.
[0172] After the server creates the corresponding order information in response to the order instruction, it can generate the corresponding payment information according to the order information and send the payment information to the terminal device. The terminal device can display the above payment information on the display interface and pay for the goods in response to the user's payment operation. After the payment is completed, the goods are successfully purchased. In this way, the user can complete the payment of the goods online through the terminal device, which can improve the user's shopping efficiency and improve the user's shopping experience.
[0173] Figure 7 A flow chart showing a payment method provided by an embodiment of the present application.
[0174] Specifically, an implementation of the payment method provided by the present application is as follows: Figure 7 As shown, the method can be applied to a terminal device and may include:
[0175] Step 701: Collect image information corresponding to the product;
[0176] Step 702: Obtain the weight and price of the commodity according to the image information corresponding to the commodity;
[0177] Step 703: Pay for the commodity according to the weight and price of the commodity.
[0178] The terminal device can respond to the user's operation of collecting the image information of the product, collect the image information corresponding to the product, and then send the image information of the product to the server, so that the server can determine the weight and price of the product according to the image information of the product (refer to the above embodiment, this application will not repeat it here), and then send the weight and price of the product to the terminal device. The terminal device can display the weight and price of the product, and respond to the user's order operation, send the corresponding order instruction to the server according to the weight and price of the product, and receive the payment information sent by the server to the terminal device in response to the order instruction, and pay for the product according to the payment information in response to the user's payment operation.
[0179] In one possible implementation, when a user shops online, the user can collect image information of the product through the terminal device, and then obtain the weight and price of the product through the image information of the product, and generate a corresponding order based on the weight and price of the product. The merchant can filter products of the same weight and specification for the user based on the order and deliver the product to the user, or the terminal device can generate a corresponding product search request based on the weight and price of the product, so that the server can find products of the same weight and specification and return them to the terminal device for the user to filter and place an order.
[0180] In this way, the terminal device can collect the image information corresponding to the product and send the image information to the server, so that the server can determine the weight and price of the product based on the image information, and pay for the product based on the weight and price of the product. According to the payment method provided by the present application, the user does not need to go to the scale to weigh the product. The weight and price of the product can be obtained by collecting the image information of the product through the terminal device, which can help the user to accurately purchase the product and save the time spent by the user in purchasing the product. In addition, the user can complete the payment of the product online through the terminal device, which can improve the user's shopping efficiency and improve the user's shopping experience.
[0181] Figure 8 A flowchart showing an information acquisition method provided by an embodiment of the present application is shown. Figure 8 , the method may include:
[0182] Step 801: In response to an operation to obtain product information, image information of the product is collected by an information collection device;
[0183] Step 802: Send the image information to a server so that the server determines product details of the product according to the image information, wherein the product details include one or more of product identification information, unit price information, weight, and price of the product.
[0184] The weight of the commodity is determined by the server according to the density and volume of the commodity after determining the volume of the commodity according to the image information, and the price of the commodity is determined by the server according to the weight and unit price information of the commodity;
[0185] Step 803: receiving product details information sent by the server;
[0186] Step 804: Display the product details information.
[0187] For example, the above-mentioned acquisition operation for product information can be an operation that triggers the terminal device to perform image information acquisition. For example, the display interface of the terminal device may include an image information acquisition control, and the above-mentioned acquisition operation for product information can be a trigger operation for the image information acquisition control. In response to the acquisition operation for product information, the terminal device can collect image information of the product through an information acquisition device (for example, a camera) and send the image information to the server. After receiving the image information, the server can determine one or more of the product identification information, unit price information, weight, and price of the product based on the image information, and generate product details information based on one or more of the product identification information, unit price information, weight, and price of the product and return it to the terminal device (the specific process can refer to the above-mentioned embodiment). After the terminal device receives the product details information, it can display the product details information on the display interface so that the user can determine whether to purchase the product based on the product details information.
[0188] In this way, the terminal device can respond to the user's acquisition operation for product information, collect the image information of the product, and send the image information of the product to the server, so that the server can determine the product identification information, the unit price information of the product and the volume of the product according to the image information collected by the terminal device, and then obtain the density information corresponding to the product according to the product identification information of the product, so as to determine the weight of the product according to the density information of the product and the volume of the product, and determine the price of the product according to the unit price information of the product and the weight of the product. Receive the product details information including one or more of the product identification information, unit price information, weight, and price of the above-mentioned product sent by the server, and display the product details information. According to the information acquisition method provided by the present application, the user does not need to go to the scale to weigh the product, and can obtain the product details information of the product by collecting the image information of the product through the terminal device, which can help the user to accurately purchase the product, save the time spent by the user in purchasing the product, and improve the user's shopping experience.
[0189] Fig. 9 A structural block diagram of a weighing device provided in one embodiment of the present application is shown.
[0190] like Fig. 9 As shown, the present application provides a weighing device, which may include:
[0191] The first determination module 901 may be used to determine the commodity identification information of the commodity corresponding to the image information and the volume of the commodity according to the image information collected by the terminal device;
[0192] The first acquisition module 902 may be used to acquire density information corresponding to the commodity according to the commodity identification information of the commodity;
[0193] The second determination module 903 may be configured to determine the weight of the commodity according to the density information corresponding to the commodity and the volume of the commodity.
[0194] In this way, the server can determine the commodity identification information and the volume of the commodity according to the image information collected by the terminal device, and then obtain the density information corresponding to the commodity according to the commodity identification information, so as to determine the weight of the commodity according to the density information and the volume of the commodity. According to the weighing device provided by the present application, the user does not need to go to the scale to weigh the commodity, and can obtain the weight of the commodity by collecting the image information of the commodity through the terminal device, which can help the user to accurately purchase the commodity, save the time spent by the user in purchasing the commodity, and improve the user's shopping experience.
[0195] In a possible implementation, the above device may further include:
[0196] A second acquisition module, used to acquire the unit price information of the commodity according to the commodity identification information of the commodity;
[0197] The third determining module is used to determine the price of the commodity according to the unit price information of the commodity and the weight of the commodity.
[0198] In a possible implementation, there are multiple commodities, and the third determining module may also be used to:
[0199] For any commodity, the price of the commodity is determined according to the unit price information of the commodity and the weight of the commodity.
[0200] In a possible implementation manner, the device further includes:
[0201] The first sending module is used to send the product details information to the terminal device so that the terminal device displays the product details information.
[0202] The commodity details information includes one or more of the commodity identification information, unit price information, weight, and price of the commodity.
[0203] In a possible implementation, the device may further include:
[0204] A receiving module, used for receiving an order instruction sent by the terminal device for the commodity;
[0205] A creation module, used to create corresponding order information according to the order instruction;
[0206] The second sending module is used to generate payment information according to the order information and send the payment information to the terminal device.
[0207] Fig.10A structural block diagram of a weighing device provided in one embodiment of the present application is shown.
[0208] like Fig.10 As shown, the present application provides a weighing device, which may include:
[0209] The acquisition module 1001 can be used to acquire image information corresponding to the product;
[0210] The first sending module 1002 may be used to send the image information to a server, so that the server determines the volume of the commodity according to the image information and then determines the weight of the commodity according to the density of the commodity.
[0211] In this way, the terminal device can collect the image information corresponding to the product and send the image information to the server, so that the server can determine the weight of the product based on the image information. According to the weighing device provided by the present application, the user does not need to go to the scale to weigh the product. The weight of the product can be obtained by collecting the image information of the product through the terminal device, which can help the user to accurately purchase the product, save the time spent by the user in purchasing the product, and improve the user's shopping experience.
[0212] In a possible implementation, the device may further include:
[0213] A first receiving module may be used to receive commodity details information sent by a server, wherein the commodity details information includes one or more of commodity identification information, unit price information, weight, and price of the commodity;
[0214] The display module can be used to display the product details information.
[0215] In a possible implementation, the product details information also includes location information of the product in the image information, and the display module may also be used to:
[0216] Determine a display position of the product details information according to the position information of the product in the image information;
[0217] The product detail information is displayed at a display position of the product detail information.
[0218] In a possible implementation, the commodity details information includes commodity identification information, unit price information, weight, and price of the commodity, and the device may further include:
[0219] An acquisition module, configured to acquire product details information of the product and user account information currently logged in at the terminal in response to an order operation for the product;
[0220] The second sending module is used to send an order instruction to the server according to the product details information and the user account information.
[0221] In a possible implementation, the device may further include:
[0222] A second receiving module may be used to receive payment information for the product sent by the server;
[0223] The payment module can be used to pay for the product in response to a payment operation on the product.
[0224] Fig.11 A structural block diagram of a payment device provided in one embodiment of the present application is shown.
[0225] like Fig.11 As shown, the present application provides a payment device, which may include:
[0226] The acquisition module 1101 can be used to acquire image information corresponding to the product;
[0227] The acquisition module 1102 may be used to acquire the weight and price of the commodity according to the image information corresponding to the commodity;
[0228] The payment template can be used to pay for the goods according to the weight and price of the goods.
[0229] In this way, the terminal device can collect the image information corresponding to the product and send the image information to the server, so that the server can determine the weight and price of the product based on the image information, and pay for the product based on the weight and price of the product. According to the payment device provided by the present application, the user does not need to go to the scale to weigh the product. The weight and price of the product can be obtained by collecting the image information of the product through the terminal device, which can help the user to accurately purchase the product and save the time spent by the user in purchasing the product. In addition, the user can complete the payment of the product online through the terminal device, which can improve the user's shopping efficiency and improve the user's shopping experience.
[0230] Fig.12 A structural block diagram of an information acquisition device provided in one embodiment of the present application is shown.
[0231] The present application embodiment provides an information acquisition device, referring to Fig.12 , the information acquisition device may include:
[0232] The acquisition module 1201 may be used to acquire the image information of the commodity through an information acquisition device in response to an acquisition operation for the commodity information;
[0233] The sending module 1202 may be configured to send the image information to a server so that the server determines the product details information of the product according to the image information, wherein the product details information includes one or more of the product identification information, unit price information, weight, and price of the product.
[0234] The weight of the commodity is determined by the server according to the density and volume of the commodity after determining the volume of the commodity according to the image information, and the price of the commodity is determined by the server according to the weight and unit price information of the commodity;
[0235] The receiving module 1203 may be used to receive product details information sent by the server;
[0236] The display module 1204 may be used to display the product details information.
[0237] In this way, the terminal device can respond to the user's acquisition operation for product information, collect the image information of the product, and send the image information of the product to the server, so that the server can determine the product identification information, the unit price information of the product and the volume of the product according to the image information collected by the terminal device, and then obtain the density information corresponding to the product according to the product identification information of the product, so as to determine the weight of the product according to the density information of the product and the volume of the product, and determine the price of the product according to the unit price information of the product and the weight of the product. Receive the product details information including one or more of the product identification information, unit price information, weight, and price of the above-mentioned product sent by the server, and display the product details information. According to the information acquisition device provided by the present application, the user does not need to go to the scale to weigh the product, and can obtain the product details information of the product by collecting the image information of the product through the terminal device, which can help the user to accurately purchase the product, save the time spent by the user in purchasing the product, and improve the user's shopping experience.
[0238] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0239] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0240] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0241] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0242] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0243] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0244] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0245] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0246] Fig.13 1 is a block diagram of a terminal device 1500 according to an exemplary embodiment. For example, the device 1500 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0247] Reference Fig.13 , device 1500 may include one or more of the following components: a processing component 1502 , a memory 1504 , a power component 1506 , a multimedia component 1508 , an audio component 1510 , an input / output (I / O) interface 1512 , a sensor component 1514 , and a communication component 1516 .
[0248] The processing component 1502 generally controls the overall operation of the device 1500, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 1502 may include one or more processors 1520 to execute instructions to perform all or part of the steps of the above-described method. In addition, the processing component 1502 may include one or more modules to facilitate the interaction between the processing component 1502 and other components. For example, the processing component 1502 may include a multimedia module to facilitate the interaction between the multimedia component 1508 and the processing component 1502.
[0249] The memory 1504 is configured to store various types of data to support the operation of the device 1500. Examples of such data include instructions for any application or method operating on the device 1500, contact data, phone book data, messages, pictures, videos, etc. The memory 1504 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0250] The power supply component 1506 provides power to the various components of the device 1500. The power supply component 1506 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 1500.
[0251] The multimedia component 1508 includes a screen that provides an output interface between the device 1500 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1508 includes a front camera and / or a rear camera. When the device 1500 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0252] The audio component 1510 is configured to output and / or input audio signals. For example, the audio component 1510 includes a microphone (MIC), and when the device 1500 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 1504 or sent via the communication component 1516. In some embodiments, the audio component 1510 also includes a speaker for outputting audio signals.
[0253] I / O interface 1512 provides an interface between processing component 1502 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.
[0254] The sensor assembly 1514 includes one or more sensors for providing various aspects of the status assessment of the device 1500. For example, the sensor assembly 1514 can detect the open / closed state of the device 1500, the relative positioning of components, such as the display and keypad of the device 1500, the sensor assembly 1514 can also detect the position change of the device 1500 or a component of the device 1500, the presence or absence of user contact with the device 1500, the orientation or acceleration / deceleration of the device 1500, and the temperature change of the device 1500. The sensor assembly 1514 can include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1514 can also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1514 can also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0255] The communication component 1516 is configured to facilitate wired or wireless communication between the device 1500 and other devices. The device 1500 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1516 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1516 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0256] In an exemplary embodiment, the apparatus 1500 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above methods.
[0257] In an exemplary embodiment, a non-volatile computer-readable storage medium is also provided, such as a memory 1504 including computer program instructions, which can be executed by the processor 1520 of the device 1500 to perform the above method.
[0258] Fig.14 1 is a block diagram of a device 1900 for weighing according to an exemplary embodiment. For example, the device 1900 may be provided as a server. Fig.14 , the apparatus 1900 includes a processing component 1922, which further includes one or more processors, and a memory resource represented by a memory 1932 for storing instructions, such as an application, that can be executed by the processing component 1922. The application stored in the memory 1932 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 1922 is configured to execute instructions to perform the above method.
[0259] The device 1900 may also include a power supply component 1926 configured to perform power management of the device 1900, a wired or wireless network interface 1950 configured to connect the device 1900 to a network, and an input / output (I / O) interface 1958. The device 1900 may operate based on an operating system stored in the memory 1932, such as Windows Server™, MacOS X™, Unix™, Linux™, FreeBSD™, or the like.
[0260] In an exemplary embodiment, a non-volatile computer-readable storage medium is also provided, such as a memory 1932 including computer program instructions, which can be executed by the processing component 1922 of the device 1900 to perform the above method.
[0261] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0262] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims
1. A weighing method, characterized in that: Applied to a server, the method comprises: Determine, based on the image information collected by the terminal device, the commodity identification information of the commodity corresponding to the image information and the volume of the commodity, wherein the image information is identified using a trained model for commodity volume identification to determine the volume of the commodity corresponding to the image information; querying a commodity information database maintained locally by the server according to the commodity identification information of the commodity to obtain density information corresponding to the commodity, wherein the commodity information database stores relevant information of each commodity, and the relevant information of the commodity includes commodity identification information and commodity density information; The weight of the commodity is determined according to the density information corresponding to the commodity and the volume of the commodity.
2. The method according to claim 1, characterized in that The method further comprises: Acquiring unit price information of the commodity according to the commodity identification information of the commodity; The price of the commodity is determined according to the unit price information of the commodity and the weight of the commodity.
3. The method according to claim 2, characterized in that The number of the commodities is multiple, and determining the price of the commodities according to the unit price information of the commodities and the weight of the commodities includes: For any commodity, the price of the commodity is determined according to the unit price information of the commodity and the weight of the commodity.
4. The method according to claim 2 or 3, characterized in that: The method further comprises: Sending product details to the terminal device so that the terminal device displays the product details, The commodity details information includes one or more of the commodity identification information, unit price information, weight, and price of the commodity.
5. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: Receiving an order instruction for the product sent by the terminal device; Create corresponding order information according to the order instruction; Generate payment information according to the order information, and send the payment information to the terminal device.
6. A weighing method, characterized in that: Applied to a terminal device, the method comprises: Collect image information corresponding to the product; The image information is sent to a server so that the server determines the volume of the product according to the image information and then determines the weight of the product according to the density of the product, wherein the server recognizes the image information using a trained model for product volume recognition, determines the volume of the product corresponding to the image information, queries a product information database locally maintained by the server according to the product identification information of the product, so as to obtain density information corresponding to the product, wherein the product information database stores relevant information of each product, wherein the relevant information of the product includes product identification information and product density information, and determines the weight of the product according to the density information corresponding to the product and the volume of the product.
7. The method according to claim 6, characterized in that The method further comprises: Receiving product details information sent by a server, the product details information including one or more of product identification information, unit price information, weight, and price of the product; Display the product details information.
8. The method according to claim 7, characterized in that The product details information also includes the location information of the product in the image information, and the display of the product details information includes: Determine a display position of the product details information according to the position information of the product in the image information; The product detail information is displayed at a display position of the product detail information.
9. The method according to claim 7 or 8, characterized in that: The commodity details information includes commodity identification information, unit price information, weight, and price of the commodity, and the method further includes: In response to an order operation for the product, obtaining product details information of the product and account information of a user currently logged in at the terminal; Send an order instruction to the server according to the product details information and the user account information.
10. The method according to claim 9, characterized in that The method further comprises: Receiving payment information for the product sent by the server; In response to a payment operation for the commodity, payment is made for the commodity.
11. A payment method, characterized in that: include: Collect image information corresponding to the product; The weight and price of the commodity are obtained according to the image information corresponding to the commodity, wherein the server recognizes the image information using a trained model for commodity volume recognition, determines the volume of the commodity corresponding to the image information, queries a commodity information database maintained locally by the server according to the commodity identification information of the commodity, so as to obtain density information and unit price information corresponding to the commodity, wherein the commodity information database stores relevant information of each commodity, and the relevant information of the commodity includes commodity identification information, commodity density information, and commodity unit price information; determines the weight of the commodity according to the density information corresponding to the commodity and the volume of the commodity; determines the price of the commodity according to the unit price information of the commodity and the weight of the commodity; Payment is made for the goods according to the weight and price of the goods.
12. A method for obtaining information, characterized in that: include: In response to an operation to obtain product information, the image information of the product is collected by an information collection device; Sending the image information to a server so that the server determines product details information of the product according to the image information, wherein the product details information includes one or more of product identification information, unit price information, weight, and price of the product. Receive product details information sent by the server; Displaying detailed information of the product; The server uses a trained model for commodity volume recognition to recognize the image information, determines the volume of the commodity corresponding to the image information, queries a commodity information database maintained locally by the server according to the commodity identification information of the commodity, so as to obtain density information and unit price information corresponding to the commodity, wherein the commodity information database stores relevant information of each commodity, and the relevant information of the commodity includes commodity identification information, commodity density information, and commodity unit price information; determines the weight of the commodity according to the density information corresponding to the commodity and the volume of the commodity; and determines the price of the commodity according to the unit price information of the commodity and the weight of the commodity.
13. A weighing device, characterized in that: Applied to a server, the device comprises: A first determination module is used to determine, based on the image information collected by the terminal device, the commodity identification information of the commodity corresponding to the image information and the volume of the commodity, wherein the image information is identified using a trained model for commodity volume recognition to determine the volume of the commodity corresponding to the image information; A first acquisition module is used to query a commodity information database maintained locally by the server according to the commodity identification information of the commodity to obtain density information corresponding to the commodity, wherein the commodity information database stores relevant information of each commodity, and the relevant information of the commodity includes commodity identification information and commodity density information; The second determination module is used to determine the weight of the commodity according to the density information corresponding to the commodity and the volume of the commodity.
14. A weighing device, characterized in that: Applied to a terminal device, the device comprises: A collection module, used to collect image information corresponding to the product; A sending module is used to send the image information to a server, so that the server determines the volume of the product according to the image information and then determines the weight of the product according to the density of the product, wherein the server recognizes the image information using a trained model for product volume recognition, determines the volume of the product corresponding to the image information, queries a product information database locally maintained by the server according to the product identification information of the product, so as to obtain density information corresponding to the product, wherein the product information database stores relevant information of each product, wherein the relevant information of the product includes product identification information and product density information, and determines the weight of the product according to the density information corresponding to the product and the volume of the product.
15. A payment device, characterized in that: include: A collection module, used to collect image information corresponding to the product; An acquisition module, used to acquire the weight and price of the commodity according to the image information corresponding to the commodity; A payment template is used to pay for the commodity according to the weight and price of the commodity; wherein the server uses a trained model for commodity volume recognition to recognize the image information, determines the volume of the commodity corresponding to the image information, queries a commodity information database locally maintained by the server according to the commodity identification information of the commodity, so as to obtain density information corresponding to the commodity, the commodity information database stores relevant information of each commodity, the relevant information of the commodity includes commodity identification information and commodity density information, and determines the weight of the commodity according to the density information corresponding to the commodity and the volume of the commodity.
16. An information acquisition device, characterized in that: include: A collection module, used for collecting image information of the commodity through an information collection device in response to an acquisition operation for commodity information; a sending module, configured to send the image information to a server, so that the server determines the product details information of the product according to the image information, wherein the product details information includes one or more of the product identification information, unit price information, weight, and price of the product, A receiving module, used to receive product details information sent by the server; A display module, used to display the product details; The server uses a trained model for commodity volume recognition to recognize the image information, determines the volume of the commodity corresponding to the image information, queries a commodity information database maintained locally by the server according to the commodity identification information of the commodity, so as to obtain density information and unit price information corresponding to the commodity, wherein the commodity information database stores relevant information of each commodity, and the relevant information of the commodity includes commodity identification information, commodity density information, and commodity unit price information; determines the weight of the commodity according to the density information corresponding to the commodity and the volume of the commodity; and determines the price of the commodity according to the unit price information of the commodity and the weight of the commodity.
17. A weighing device, characterized in that: include: processor; a memory for storing processor-executable computer instructions; Wherein, when the processor runs the computer instructions, the steps of the weighing method according to any one of claims 1 to 10 are executed.
18. A payment device, characterized in that: include: processor; a memory for storing processor-executable computer instructions; Wherein, when the processor runs the computer instructions, the steps of the payment method of claim 11 are executed.
19. An information providing device, characterized in that: include: processor; a memory for storing processor-executable computer instructions; Wherein, when the processor runs the computer instructions, the steps of the information acquisition method according to claim 12 are executed.
20. A non-volatile computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the method according to any one of claims 1 to 10 is implemented.
21. A non-volatile computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the method of claim 11 is implemented.
