CN111476564A - Transaction settlement method and device for commodities to be purchased, storage medium and terminal - Google Patents
Transaction settlement method and device for commodities to be purchased, storage medium and terminal Download PDFInfo
- Publication number
- CN111476564A CN111476564A CN202010175196.3A CN202010175196A CN111476564A CN 111476564 A CN111476564 A CN 111476564A CN 202010175196 A CN202010175196 A CN 202010175196A CN 111476564 A CN111476564 A CN 111476564A
- Authority
- CN
- China
- Prior art keywords
- purchased
- commodities
- commodity
- types
- determining
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 55
- 238000012795 verification Methods 0.000 claims description 27
- 238000013136 deep learning model Methods 0.000 claims description 12
- 230000005484 gravity Effects 0.000 claims description 4
- 238000012549 training Methods 0.000 claims description 3
- 230000009286 beneficial effect Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 238000013135 deep learning Methods 0.000 description 3
- 229910052500 inorganic mineral Inorganic materials 0.000 description 2
- 239000011707 mineral Substances 0.000 description 2
- 238000011160 research Methods 0.000 description 2
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 2
- 241000531116 Blitum bonus-henricus Species 0.000 description 1
- 235000008645 Chenopodium bonus henricus Nutrition 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 239000002131 composite material Substances 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/08—Payment architectures
- G06Q20/20—Point-of-sale [POS] network systems
- G06Q20/208—Input by product or record sensing, e.g. weighing or scanner processing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0633—Lists, e.g. purchase orders, compilation or processing
- G06Q30/0635—Processing of requisition or of purchase orders
- G06Q30/0637—Approvals
Abstract
A transaction settlement method and device, storage medium and terminal for commodities to be purchased are disclosed, the method comprises: identifying one or more commodities to be purchased, and determining the types of the commodities to be purchased and the number of the commodities of each commodity to be purchased; determining whether a pre-purchased commodity exists in the commodities to be purchased according to the type of the commodities to be purchased, wherein the pre-purchased commodity is a commodity which is paid and is not delivered; and if the pre-purchased commodities exist, calculating the consumption amount of the remaining commodities except the pre-purchased commodities according to the types of the commodities to be purchased and the number of the commodities of each commodity to be purchased. The invention can improve the settlement efficiency, improve the accounting efficiency and the accuracy, improve the user experience and reduce the sales loss.
Description
Technical Field
The invention relates to the technical field of computers, in particular to a method and a device for settling transaction of commodities to be purchased, a storage medium and a terminal.
Background
With the increase of the consumption ability of people, the problem of how to improve the settlement efficiency is more and more emphasized.
In a specific implementation manner in the prior art, a user can download a preset intelligent terminal Application (APP) in advance, and then purchase commodities through the APP and perform online payment, and then take entity commodities in a store, and since payment is performed in advance, a payment step is not needed, which helps to improve settlement efficiency to a certain extent. However, the checkout method often requires accounting in a store, and accounting errors are likely to occur, which results in sales loss, and the user needs to carry the intelligent terminal to go to the store, which results in poor user experience.
There is a need for a method for settling the transaction of goods to be purchased, which can improve the settling efficiency, the accounting efficiency and the accuracy, and the user experience, thereby effectively reducing the sales loss.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a method and a device for settling the transaction of commodities to be purchased, a storage medium and a terminal, which can improve the settling efficiency, the accounting efficiency and the accuracy, improve the user experience and reduce the sales loss.
In order to solve the above technical problem, an embodiment of the present invention provides a method for settling a transaction of a to-be-purchased commodity, including the following steps: identifying one or more commodities to be purchased, and determining the types of the commodities to be purchased and the number of the commodities of each commodity to be purchased; determining whether a pre-purchased commodity exists in the commodities to be purchased according to the type of the commodities to be purchased, wherein the pre-purchased commodity is a commodity which is paid and is not delivered; and if the pre-purchased commodities exist, calculating the consumption amount of the remaining commodities except the pre-purchased commodities according to the types of the commodities to be purchased and the number of the commodities of each commodity to be purchased.
Optionally, the identifying one or more goods to be purchased includes: aiming at the commodity to be purchased, a plurality of cameras are adopted to collect camera video streams, and the cameras are located around the commodity to be purchased and face the commodity to be purchased; training a deep learning model based on a commodity set containing the commodities to be purchased; and identifying the camera video stream by adopting the deep learning model so as to determine the types of the commodities to be purchased and the number of the commodities of each type of the commodities to be purchased.
Optionally, the camera is an RGB UVC camera.
Optionally, before determining whether there is a pre-purchased commodity in the commodities to be purchased, the method further includes: and checking the types of the commodities to be purchased and the number of the commodities of each commodity to be purchased.
Optionally, the checking the types of the commodities to be purchased and the number of the commodities of each commodity to be purchased includes: measuring the total weight of the commodities to be purchased and recording as the measured weight; determining the standard weight of various commodities to be purchased according to the types of the commodities to be purchased; calculating the sum of the standard weights of the commodities to be purchased and recording the sum as theoretical weight according to the types of the commodities to be purchased, the standard weight of each commodity to be purchased and the number of the commodities of each commodity to be purchased; and if the deviation of the measured weight and the theoretical weight is within a preset deviation range, determining that the identification result of the commodity to be purchased is correct.
Optionally, measuring the total weight of the goods to be purchased comprises: and measuring the commodity to be purchased by adopting a gravity sensor so as to obtain the total weight of the commodity to be purchased.
Optionally, determining whether there is a pre-purchased commodity in the commodities to be purchased includes: determining a user identification code for purchasing the commodity to be purchased; determining whether a paid commodity without shipment exists according to the purchase record of the user identification code and the type of the commodity to be purchased; if the paid and not shipped commodities exist and at least one part of the paid and not shipped commodities is contained in the commodities to be purchased, the commodities purchased in advance are determined to exist in the commodities to be purchased.
Optionally, determining whether there is a pre-purchased commodity in the commodities to be purchased includes: receiving a verification and cancellation code for purchasing goods in advance; determining that the paid and non-shipped commodities exist according to the verification and cancellation code; and if at least one part of the paid and un-shipped commodities is contained in the commodities to be purchased, determining that the commodities purchased in advance exist in the commodities to be purchased.
Optionally, calculating the consumption amount of the remaining commodities except the pre-purchased commodity comprises: removing the pre-purchased commodities from the commodities to be purchased according to the types of the commodities to be purchased and the commodity number of each commodity to be purchased so as to obtain the types of the remaining commodities and the commodity number of each remaining commodity; and determining the consumption amount of the remaining commodities according to the types of the remaining commodities and the commodity number of each remaining commodity.
Optionally, the transaction settlement method for the to-be-purchased goods further includes: if the number of the remaining commodities is equal to zero, generating a verification order; if the number of the remaining commodities is larger than zero, generating ordering and selling verification orders; the order for checking and canceling is used for indicating that the commodities to be purchased are all commodities purchased in advance, and the order for checking and canceling is used for indicating that one part of the commodities to be purchased is commodities purchased in advance and the other part of the commodities to be purchased is commodities purchased newly.
Optionally, the transaction settlement method for the to-be-purchased goods further includes: and if the commodities purchased in advance do not exist, determining the consumption amount of the commodities to be purchased according to the types of the commodities to be purchased and the commodity number of each commodity to be purchased.
Optionally, the transaction settlement method for the to-be-purchased goods further includes: generating a point purchase order; the ordering order is used for indicating that the commodities to be purchased are all newly purchased commodities.
To solve the above technical problem, an embodiment of the present invention provides a device for settling transaction settlement of a to-be-purchased commodity, including: the identification module is suitable for identifying one or more commodities to be purchased and determining the types of the commodities to be purchased and the number of the commodities of each commodity to be purchased; the pre-purchase determining module is suitable for determining whether pre-purchased commodities exist in the commodities to be purchased according to the types of the commodities to be purchased, wherein the pre-purchased commodities refer to commodities which are paid for and are not delivered; and the residual consumption amount determining module is suitable for calculating the consumption amount of the residual commodities except the pre-purchased commodities according to the types of the commodities to be purchased and the number of the commodities of each commodity to be purchased when the pre-purchased commodities exist.
In order to solve the above technical problem, an embodiment of the present invention provides a storage medium, on which computer instructions are stored, and when the computer instructions are executed, the steps of the above method for settling the transaction of the commodity to be purchased are executed.
In order to solve the above technical problem, an embodiment of the present invention provides a terminal, including a memory and a processor, where the memory stores computer instructions capable of being executed on the processor, and the processor executes the steps of the transaction settlement method for the to-be-purchased goods when executing the computer instructions.
Compared with the prior art, the technical scheme of the embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, the commodity to be purchased is identified, and then the consumption amount of the remaining commodities except the pre-purchased commodity is calculated according to the type of the commodity to be purchased and the number of the commodities of each commodity to be purchased under the condition that the pre-purchased commodity exists, so that the pre-purchased commodity can be automatically accounted.
Further, in the embodiment of the invention, the camera video streams are acquired by adopting the plurality of cameras, the deep learning model is trained, and the camera video streams are identified by adopting the deep learning model to determine the types of the commodities to be purchased and the number of the commodities of each commodity to be purchased, so that the types of the commodities can be rapidly identified at the same time.
Further, in the embodiment of the invention, the standard weight of each commodity to be purchased is determined by measuring the total weight of the commodity to be purchased, the theoretical weight is further calculated, and the identification result of the commodity to be purchased is determined to be correct according to the difference value between the measured weight and the theoretical weight within the preset difference value range, so that the identification result of the commodity can be effectively checked, and the accuracy of the commodity identification is improved.
Further, in the embodiment of the present invention, it is determined whether there is a paid and non-shipped commodity (for example, a commodity that has been paid online but is not received or picked up by a customer) through the user identifier for purchasing the commodity to be purchased, and then it is determined whether there is a pre-purchased commodity in the commodity to be purchased.
Furthermore, in the embodiment of the invention, whether the commodity which is paid for and is not delivered exists is determined through the verification and cancellation code used for purchasing the commodity in advance, and whether the commodity which is purchased in advance exists is further determined.
Further, in the embodiment of the present invention, if the number of the remaining commodities is equal to zero, a verification order is generated; if the number of the remaining commodities is larger than zero, generating ordering and selling verification orders; if no pre-purchased goods exist, a point purchase order is generated. The method can quickly judge which service is currently carried out, for example, quickly identify that the current client operation is under a verification and cancellation service or a point purchase service, effectively realize the business state identification and improve the management and operation capacity.
Drawings
FIG. 1 is a flow chart illustrating a method for settling a transaction for a commodity to be purchased according to an embodiment of the present invention;
FIG. 2 is a flowchart of one embodiment of step S11 of FIG. 1;
FIG. 3 is a flowchart of a checking method for checking the types of commodities to be purchased and the number of commodities for each commodity to be purchased according to an embodiment of the present invention;
FIG. 4 is a flowchart of one embodiment of step S12 of FIG. 1;
FIG. 5 is a flowchart of another embodiment of step S12 of FIG. 1;
FIG. 6 is a diagram illustrating a mapping relationship between order generation conditions according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a transaction settlement device for goods to be purchased according to an embodiment of the present invention.
Detailed Description
As described above, in the conventional checkout technology, there are problems that the settlement efficiency is low, the sales loss is caused by the occurrence of an accounting error, and the like, and the user experience is sometimes affected.
In particular, in one embodiment of the prior art, a self-service checkout machine is generally used to improve customer settlement efficiency. More specifically, the self-service settlement machine which is the mainstream in the market generally adopts a code scanning module, for example, in the form of scanning bar codes of commodities, and one piece of the identified commodities is used for settlement. However, the settlement efficiency of such a settlement method is low.
The inventor of the present invention has found, through research, that in the above-described embodiments, the efficiency is already reduced when commodity settlement is performed piece by piece, and further, in the case where a sales form such as a member is set, it is often necessary to scan a member code again (for example, scan a two-dimensional code through APP), which makes the settlement process increasingly complicated and inefficient.
In another specific implementation mode in the prior art, a user downloads a preset intelligent terminal APP in advance, then purchases commodities through the APP and carries out online payment, then takes entity commodities in a store, and due to payment in advance, a payment step is not needed, and the settlement efficiency is improved. However, the checkout method often requires accounting in a store, and accounting errors are likely to occur, which results in sales loss, and the user needs to carry the intelligent terminal to go to the store, which results in poor user experience.
The inventor of the present invention has found through research that in the above-mentioned specific embodiment, it is often necessary to determine whether the commodity of the paid item is in accordance with the physical commodity to be taken by a manual check method, and since the user often purchases a new commodity in addition to the purchased commodity in a store, an accounting error is very likely to occur, and a sales loss is generated. Further, as the user is required to carry the intelligent terminal to go to a store, if the user entrusts others to take the commodity instead, the problem of mistaking and incapability of taking the commodity instead is more easily sent, so that the problem is further complicated.
In the embodiment of the invention, one or more commodities to be purchased are identified, and the types of the commodities to be purchased and the number of the commodities of each commodity to be purchased are determined; determining whether a pre-purchased commodity exists in the commodities to be purchased according to the type of the commodities to be purchased; and if the pre-purchased commodities exist, calculating the consumption amount of the remaining commodities except the pre-purchased commodities according to the types of the commodities to be purchased and the number of the commodities of each commodity to be purchased. By adopting the method, the commodities to be purchased are identified, and then the consumption amount of the remaining commodities except the pre-purchased commodities is calculated according to the types of the commodities to be purchased and the number of the commodities of each commodity to be purchased under the condition that the pre-purchased commodities exist, so that the pre-purchased commodities can be automatically accounted.
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below.
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for settling a transaction for a commodity to be purchased according to an embodiment of the present invention. The transaction settlement method for the commodity to be purchased may include steps S11 to S13:
step S11: identifying one or more commodities to be purchased, and determining the types of the commodities to be purchased and the number of the commodities of each commodity to be purchased;
step S12: determining whether a pre-purchased commodity exists in the commodities to be purchased according to the type of the commodities to be purchased, wherein the pre-purchased commodity is a commodity which is paid and is not delivered;
step S13: and if the pre-purchased commodities exist, calculating the consumption amount of the remaining commodities except the pre-purchased commodities according to the types of the commodities to be purchased and the number of the commodities of each commodity to be purchased.
In an implementation of step S11, the one or more items to be purchased may be placed on a checkout station to be identified using a sensor disposed independently of or integrated with the checkout station.
The type of the commodity to be purchased can be used for representing various parameters such as the brand, the model and the size of the commodity to be purchased, and different concepts can be set for the type according to the granularity of the consumption amount of the commodity. As a non-limiting example, for mineral water with different brands and models but consistent consumption amount, the consumption amount is considered to have a coarser granularity, and the type is set as "mineral water"; for the smart phone, the consumption amount of the smart phone is influenced by the brand and the model, the granularity of the consumption amount of the smart phone is considered to be fine, and the type of the smart phone is set to be the 'XX brand XX model smart phone'.
Referring to fig. 2, fig. 2 is a flowchart of an embodiment of step S11 in fig. 1. The step of identifying one or more commodities to be purchased may include steps S21 through S23, each of which is described below.
In step S21, for the to-be-purchased goods, a plurality of cameras are used to capture a camera video stream, and the cameras are located around the to-be-purchased goods and all face the to-be-purchased goods.
Specifically, the video stream is a code stream format (Symbol stream), as opposed to a composite stream, for representing a situation with only video images.
In specific implementation, by arranging a plurality of cameras which are positioned around the commodity to be purchased and face the commodity to be purchased, the characteristics of the commodity to be purchased, such as structure, size, color and the like, can be shot and recorded.
It can be understood that the more the number of the cameras, the more the angles around the commodity to be purchased are, the more comprehensive the shot commodity is, and the easier the identification is.
Further, the camera may be a Red Green Blue (RGB) USB Video Class (USB Video Class, UVC) camera.
In the embodiment of the invention, the RGB UVC camera is adopted, the color characteristics of the commodity can be more accurately acquired, and the characteristics of good compatibility and good data transmission real-time performance of the UVC camera are utilized, so that the camera video stream which is more beneficial to identifying the commodity type is acquired.
In step S22, a deep learning model is trained based on the commodity set including the commodity to be purchased.
In particular implementations, learning may be performed based on a collection of commodities using conventional deep learning methods. After deep learning, a model of commodity identification is obtained, and practical engineering applications are that the model can be deployed on various deep learning edge computing devices, for example, the model can be selected from: jetson Nano of great ada (Nvidia), edge tpu of Google (Google), movidias of Intel (Intel), NPU, and SOC, etc. It should be noted that the embodiment of the present invention does not limit the specific learning method.
The commodity set can include the commodities to be purchased, and can be a set of all commodities in a current store and a warehouse by taking a convenience store as an example, so that the comprehensiveness and the accuracy of the deep learning model are improved.
In step S23, the camera video stream is identified by using the deep learning model to determine the category of the to-be-purchased products and the number of the to-be-purchased products.
In specific implementation, a deep learning model obtained based on commodity set training is adopted to identify the video pictures in the camera video stream, so that an identification result can be obtained quickly.
In the embodiment of the invention, the camera video stream is acquired by adopting the plurality of cameras, the deep learning model is trained, and the camera video stream is identified by adopting the deep learning model so as to determine the types of the commodities to be purchased and the number of the commodities of each commodity to be purchased, so that the types of the commodities can be rapidly and simultaneously identified.
With continued reference to fig. 1, prior to step S12, a step of checking the identified merchandise to be purchased may be provided.
Specifically, before determining whether there is a pre-purchased commodity in the commodities to be purchased, the method may further include: and checking the types of the commodities to be purchased and the number of the commodities of each commodity to be purchased.
Referring to fig. 3, fig. 3 is a flowchart of a checking method for checking the types of commodities to be purchased and the number of commodities for each commodity to be purchased according to an embodiment of the present invention. The step of checking the kinds of the commodities to be purchased and the number of commodities per commodity to be purchased may include steps S31 to S34:
in step S31, the total weight of the commodity to be purchased is measured and recorded as the measured weight.
In specific implementation, the weight of the commodity to be purchased can be measured by adopting the existing weight measuring mode.
Further, a gravity sensor can be used for measuring the commodity to be purchased so as to obtain the total weight of the commodity to be purchased.
In the embodiment of the invention, the commodity to be purchased is measured by adopting the gravity sensor, so that the accuracy of weight measurement is improved.
In step S32, the standard weights of the respective commodities to be purchased are determined according to the kinds of the commodities to be purchased.
In specific implementations, a standard weight specified by a commodity manufacturer, for example, a weight recorded on a commodity wrapper, may be used, and a plurality of commodities of the same kind may be weighed in advance as a sample, and an average value or a median value may be used as the standard weight.
In step S33, the total of the standard weights of the commodities to be purchased is calculated and recorded as the theoretical weight based on the type of the commodity to be purchased, the standard weight of each commodity to be purchased, and the number of commodities for each commodity to be purchased.
It will be appreciated that the theoretical weight may be calculated for comparison with the actual measured weight.
In step S34, if the deviation of the measured weight from the theoretical weight is within a preset deviation range, it is determined that the recognition result of the commodity to be purchased is correct.
It should be noted that the deviation may be used to indicate a difference between the measured weight and the theoretical weight, that is, if the difference between the measured weight and the theoretical weight is within a preset difference range, it is determined that the identification result of the to-be-purchased goods is correct; the method can also be used for indicating the quotient of the measured weight and the theoretical weight, namely determining that the identification result of the commodity to be purchased is correct if the quotient of the measured weight and the theoretical weight is within a preset quotient range.
In the embodiment of the invention, the standard weight of each commodity to be purchased is determined by measuring the total weight of the commodity to be purchased, the theoretical weight is further calculated, and the identification result of the commodity to be purchased is determined to be correct according to the fact that the difference value between the measured weight and the theoretical weight is within the preset difference value range, so that the identification result of the commodity can be effectively checked, and the accuracy of commodity identification is improved.
With continued reference to fig. 1, in the specific implementation of step S12, it may be determined whether there is a pre-purchased commodity in the commodities to be purchased in various ways according to the types of the commodities to be purchased.
Referring to fig. 4, fig. 4 is a flowchart of an embodiment of step S12 in fig. 1. The step of determining whether there is a pre-purchased commodity among the commodities to be purchased may include steps S41 to S43, each of which is described below.
In step S41, a user identification code for purchasing the commodity to be purchased is determined.
In a specific implementation, the user identification code may be used to uniquely determine a user who purchases the to-be-purchased goods, for example, a user name, a user ID, a mobile phone number of the user, a member ID, an APP ID, and the like.
In step S42, it is determined whether there is a paid and not shipped commodity according to the purchase record of the user identification code and the kind of the commodity to be purchased.
In particular implementations, the record of the purchase of the subscriber identification number may be determined using existing methods, such as determining whether there are any paid and non-shipped items from a record of items paid for within a predetermined amount of time under the name of the subscriber.
In step S43, if there is a paid and not shipped commodity and at least a part of the paid and not shipped commodity is included in the commodity to be purchased, it is determined that there is a commodity purchased in advance in the commodity to be purchased.
In the embodiment of the invention, whether the commodity which is paid for and is not delivered exists is determined through the user identification code for purchasing the commodity to be purchased, and whether the commodity to be purchased exists in advance is further determined. Furthermore, whether the pre-purchased commodities exist can be automatically determined through the user identification code, and compared with the situation that the user usually needs to be present in the manual accounting process, the scheme of the embodiment of the invention does not limit whether the purchased user is the user, and is beneficial to improving the user experience.
Referring to fig. 5, fig. 5 is a flowchart of another embodiment of step S12 in fig. 1. The step of determining whether there is a pre-purchased commodity among the commodities to be purchased may include steps S51 to S53, each of which is described below.
In step S51, a verification and cancellation code for purchasing the commodity in advance is received.
In particular implementations, the verification and verification code may be used to determine a record of pre-purchased goods, such as a two-dimensional code, or other suitable identification code.
In step S52, it is determined that there is a paid and not shipped commodity based on the verified and cancelled code.
In implementations, it is determined whether there are paid and not shipped items by scanning the underwriting code.
In step S53, if at least a part of the paid-for and non-shipped commodities is included in the commodities to be purchased, it is determined that there is a commodity purchased in advance in the commodities to be purchased.
In the embodiment of the invention, whether the commodity which is paid and is not delivered exists is determined through the verification and cancellation code for purchasing the commodity in advance, and whether the commodity which is purchased in advance exists is further determined. Furthermore, whether the pre-purchased commodities exist can be automatically determined through the verification and cancellation code, and compared with the situation that a user usually needs to visit the user in a manual verification process, the scheme of the embodiment of the invention does not limit whether the purchased user is the user, and is beneficial to improving the user experience.
With continued reference to fig. 1, in the specific implementation of step S13, if there are pre-purchased commodities, the amount of consumption of the remaining commodities other than the pre-purchased commodities is calculated according to the type of the commodities to be purchased and the number of commodities for each commodity to be purchased.
Further, the step of calculating the consumption amount of the remaining goods other than the pre-purchased goods may include: removing the pre-purchased commodities from the commodities to be purchased according to the types of the commodities to be purchased and the commodity number of each commodity to be purchased so as to obtain the types of the remaining commodities and the commodity number of each remaining commodity; and determining the consumption amount of the remaining commodities according to the types of the remaining commodities and the commodity number of each remaining commodity.
In the embodiment of the invention, the remaining commodities can be determined by determining the types of the commodities to be purchased and the number of the commodities of each commodity to be purchased, and then the consumption amount of the commodities can be determined.
Further, the transaction settlement method for the commodity to be purchased may further include: if the number of the remaining commodities is equal to zero, generating a verification order; if the number of the remaining commodities is larger than zero, generating ordering and selling verification orders; the order for checking and canceling is used for indicating that the commodities to be purchased are all commodities purchased in advance, and the order for checking and canceling is used for indicating that one part of the commodities to be purchased is commodities purchased in advance and the other part of the commodities to be purchased is commodities purchased newly.
It should be noted that the verification order is used to indicate that the goods to be purchased are all goods purchased in advance, that is, only verification needs to be performed in a store, and no payment needs to be paid again; the order for ordering and checking out is used for indicating that one part of the commodities to be purchased is commodities purchased in advance, and the other part of the commodities to be purchased is newly purchased, namely, the commodities need to be checked out and paid again in a store.
Further, the transaction settlement method for the commodity to be purchased may further include: and if the commodities purchased in advance do not exist, determining the consumption amount of the commodities to be purchased according to the types of the commodities to be purchased and the commodity number of each commodity to be purchased.
Further, the method for settling the transaction of the commodity to be purchased may further include: generating a point purchase order; the ordering order is used for indicating that the commodities to be purchased are all newly purchased commodities.
It should be noted that the order for ordering is used to indicate that the goods to be purchased are all new goods, that is, no check is needed in the store, and only a fee needs to be paid again.
Referring to fig. 6, fig. 6 is a schematic diagram of a corresponding relationship of order generation conditions in the embodiment of the present invention. If the number of the remaining commodities is equal to zero, generating a verification order; if the number of the remaining commodities is larger than zero, generating ordering and selling verification orders; if no pre-purchased goods exist, a point purchase order is generated.
In the embodiment of the invention, if the number of the remaining commodities is equal to zero, a verification order is generated; if the number of the remaining commodities is larger than zero, generating ordering and selling verification orders; if no pre-purchased goods exist, a point purchase order is generated. The method can quickly judge which service is currently carried out, for example, quickly identify that the current client operation is under a verification and cancellation service or a point purchase service, effectively realize the business state identification and improve the management and operation capacity.
In the embodiment of the invention, the commodity to be purchased is identified, and then the consumption amount of the remaining commodities except the pre-purchased commodity is calculated according to the type of the commodity to be purchased and the number of the commodities of each commodity to be purchased under the condition that the pre-purchased commodity exists, so that the pre-purchased commodity can be automatically accounted.
Referring to fig. 7, fig. 7 is a schematic structural diagram of a transaction settlement device for goods to be purchased according to an embodiment of the present invention. The transaction settlement device for the goods to be purchased may include:
the identification module 71 is adapted to identify one or more commodities to be purchased, and determine the types of the commodities to be purchased and the number of the commodities of each commodity to be purchased;
a pre-purchase determining module 72, adapted to determine whether there is a pre-purchased commodity in the commodities to be purchased according to the type of the commodities to be purchased;
and a remaining consumption amount determining module 73, adapted to calculate, when there are pre-purchased commodities, a consumption amount of remaining commodities except the pre-purchased commodities according to the type of the commodities to be purchased and the number of commodities of each commodity to be purchased.
For the principle, specific implementation and beneficial effects of the transaction settlement device for the to-be-purchased commodities, reference is made to the foregoing and the related description of the transaction settlement method for the to-be-purchased commodities shown in fig. 1 to 6, and details are not repeated here.
The embodiment of the invention also provides a storage medium, wherein computer instructions are stored on the storage medium, and the computer instructions execute the steps of the method when running. The storage medium may be a computer-readable storage medium, and may include, for example, a non-volatile (non-volatile) or non-transitory (non-transitory) memory, and may further include an optical disc, a mechanical hard disk, a solid state hard disk, and the like.
The embodiment of the invention also provides a terminal, which comprises a memory and a processor, wherein the memory is stored with computer instructions capable of running on the processor, and the processor executes the steps of the method when running the computer instructions. The terminal includes, but is not limited to, a mobile phone, a computer, a tablet computer and other terminal devices. In the embodiment of the present invention, the terminal may be a multifunctional device integrated with a checkout station.
Although the present invention is disclosed above, the present invention is not limited thereto. Various changes and modifications may be effected therein by one skilled in the art without departing from the spirit and scope of the invention as defined in the appended claims.
Claims (15)
1. A transaction settlement method for commodities to be purchased is characterized by comprising the following steps:
identifying one or more commodities to be purchased, and determining the types of the commodities to be purchased and the number of the commodities of each commodity to be purchased;
determining whether a pre-purchased commodity exists in the commodities to be purchased according to the type of the commodities to be purchased, wherein the pre-purchased commodity is a commodity which is paid and is not delivered;
and if the pre-purchased commodities exist, calculating the consumption amount of the remaining commodities except the pre-purchased commodities according to the types of the commodities to be purchased and the number of the commodities of each commodity to be purchased.
2. The transaction settlement method for commodities to be purchased according to claim 1, wherein the identifying one or more commodities to be purchased comprises:
aiming at the commodity to be purchased, a plurality of cameras are adopted to collect camera video streams, and the cameras are located around the commodity to be purchased and face the commodity to be purchased;
training a deep learning model based on a commodity set containing the commodities to be purchased;
and identifying the camera video stream by adopting the deep learning model so as to determine the types of the commodities to be purchased and the number of the commodities of each type of the commodities to be purchased.
3. The method for settling a transaction for a commodity to be purchased according to claim 2, wherein the camera is an rgbvvc camera.
4. The transaction settlement method for commodities to be purchased according to claim 1, wherein before determining whether there is a commodity purchased in advance among the commodities to be purchased, the method further comprises:
and checking the types of the commodities to be purchased and the number of the commodities of each commodity to be purchased.
5. The transaction settlement method for the commodities to be purchased according to claim 4, wherein the checking of the kind of the commodities to be purchased and the number of the commodities for each kind of the commodities to be purchased comprises:
measuring the total weight of the commodities to be purchased and recording as the measured weight;
determining the standard weight of various commodities to be purchased according to the types of the commodities to be purchased;
calculating the sum of the standard weights of the commodities to be purchased and recording the sum as theoretical weight according to the types of the commodities to be purchased, the standard weight of each commodity to be purchased and the number of the commodities of each commodity to be purchased;
and if the deviation of the measured weight and the theoretical weight is within a preset deviation range, determining that the identification result of the commodity to be purchased is correct.
6. The transaction settlement method for commodities to be purchased according to claim 5, wherein measuring the total weight of said commodities to be purchased comprises:
and measuring the commodity to be purchased by adopting a gravity sensor so as to obtain the total weight of the commodity to be purchased.
7. The transaction settlement method for commodities to be purchased according to claim 1, wherein determining whether there is a commodity purchased in advance among the commodities to be purchased comprises:
determining a user identification code for purchasing the commodity to be purchased;
determining whether a paid commodity without shipment exists according to the purchase record of the user identification code and the type of the commodity to be purchased;
if the paid and not shipped commodities exist and at least one part of the paid and not shipped commodities is contained in the commodities to be purchased, the commodities purchased in advance are determined to exist in the commodities to be purchased.
8. The transaction settlement method for commodities to be purchased according to claim 1, wherein determining whether there is a commodity purchased in advance among the commodities to be purchased comprises:
receiving a verification and cancellation code for purchasing goods in advance;
determining that the paid and non-shipped commodities exist according to the verification and cancellation code;
and if at least one part of the paid and un-shipped commodities is contained in the commodities to be purchased, determining that the commodities purchased in advance exist in the commodities to be purchased.
9. The transaction settlement method for commodities to be purchased according to claim 1, wherein calculating the consumption amount of remaining commodities other than the commodity purchased in advance comprises:
removing the pre-purchased commodities from the commodities to be purchased according to the types of the commodities to be purchased and the commodity number of each commodity to be purchased so as to obtain the types of the remaining commodities and the commodity number of each remaining commodity;
and determining the consumption amount of the remaining commodities according to the types of the remaining commodities and the commodity number of each remaining commodity.
10. The method for settling transaction of merchandise to be purchased according to claim 1 or 9, further comprising:
if the number of the remaining commodities is equal to zero, generating a verification order;
if the number of the remaining commodities is larger than zero, generating ordering and selling verification orders;
the order for checking and canceling is used for indicating that the commodities to be purchased are all commodities purchased in advance, and the order for checking and canceling is used for indicating that one part of the commodities to be purchased is commodities purchased in advance and the other part of the commodities to be purchased is commodities purchased newly.
11. The method for settling a transaction for a commodity to be purchased according to claim 1, further comprising:
and if the commodities purchased in advance do not exist, determining the consumption amount of the commodities to be purchased according to the types of the commodities to be purchased and the commodity number of each commodity to be purchased.
12. The method for settling a transaction for a commodity to be purchased according to claim 11, further comprising:
generating a point purchase order;
the ordering order is used for indicating that the commodities to be purchased are all newly purchased commodities.
13. A transaction settlement apparatus for an article to be purchased, comprising:
the identification module is suitable for identifying one or more commodities to be purchased and determining the types of the commodities to be purchased and the number of the commodities of each commodity to be purchased;
the pre-purchase determining module is suitable for determining whether pre-purchased commodities exist in the commodities to be purchased according to the types of the commodities to be purchased, wherein the pre-purchased commodities refer to commodities which are paid for and are not delivered;
and the residual consumption amount determining module is suitable for calculating the consumption amount of the residual commodities except the pre-purchased commodities according to the types of the commodities to be purchased and the number of the commodities of each commodity to be purchased when the pre-purchased commodities exist.
14. A storage medium having stored thereon computer instructions, wherein the computer instructions are operable to perform the steps of the method for settling a transaction for an item to be purchased of any of claims 1 to 12.
15. A terminal comprising a memory and a processor, the memory having stored thereon computer instructions executable on the processor, wherein the processor when executing the computer instructions performs the steps of the method for settling a transaction for a commodity to be purchased of any one of claims 1 to 12.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010175196.3A CN111476564A (en) | 2020-03-13 | 2020-03-13 | Transaction settlement method and device for commodities to be purchased, storage medium and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010175196.3A CN111476564A (en) | 2020-03-13 | 2020-03-13 | Transaction settlement method and device for commodities to be purchased, storage medium and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111476564A true CN111476564A (en) | 2020-07-31 |
Family
ID=71748296
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010175196.3A Pending CN111476564A (en) | 2020-03-13 | 2020-03-13 | Transaction settlement method and device for commodities to be purchased, storage medium and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111476564A (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104361693A (en) * | 2014-11-19 | 2015-02-18 | 肖丹 | Intelligent market automatic clearing system and implementation method thereof |
CN105117921A (en) * | 2015-08-28 | 2015-12-02 | 上海容易网电子商务股份有限公司 | Counter commodity online transaction system and transaction method |
CN106504074A (en) * | 2016-11-14 | 2017-03-15 | 上海卓易科技股份有限公司 | A kind of smart shopper method and system |
CN107886655A (en) * | 2017-09-28 | 2018-04-06 | 陈维龙 | The generation method that should be paid one's bill, the matching process that should be paid one's bill and pay one's bill |
CN108806068A (en) * | 2018-04-23 | 2018-11-13 | 深圳正合励道科技有限公司 | Vending machine, sells client and method at sale service device |
CN108875664A (en) * | 2018-06-27 | 2018-11-23 | 北京京东尚科信息技术有限公司 | Recognition methods, device and the vending machine of selective purchase |
CN109102649A (en) * | 2018-09-06 | 2018-12-28 | 北京翰宁智能科技有限责任公司 | A kind of automatic picking shop and its online shopping commodity self-service picking method |
CN109214806A (en) * | 2018-11-20 | 2019-01-15 | 北京京东尚科信息技术有限公司 | Self-help settlement method, apparatus and storage medium |
-
2020
- 2020-03-13 CN CN202010175196.3A patent/CN111476564A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104361693A (en) * | 2014-11-19 | 2015-02-18 | 肖丹 | Intelligent market automatic clearing system and implementation method thereof |
CN105117921A (en) * | 2015-08-28 | 2015-12-02 | 上海容易网电子商务股份有限公司 | Counter commodity online transaction system and transaction method |
CN106504074A (en) * | 2016-11-14 | 2017-03-15 | 上海卓易科技股份有限公司 | A kind of smart shopper method and system |
CN107886655A (en) * | 2017-09-28 | 2018-04-06 | 陈维龙 | The generation method that should be paid one's bill, the matching process that should be paid one's bill and pay one's bill |
CN108806068A (en) * | 2018-04-23 | 2018-11-13 | 深圳正合励道科技有限公司 | Vending machine, sells client and method at sale service device |
CN108875664A (en) * | 2018-06-27 | 2018-11-23 | 北京京东尚科信息技术有限公司 | Recognition methods, device and the vending machine of selective purchase |
CN109102649A (en) * | 2018-09-06 | 2018-12-28 | 北京翰宁智能科技有限责任公司 | A kind of automatic picking shop and its online shopping commodity self-service picking method |
CN109214806A (en) * | 2018-11-20 | 2019-01-15 | 北京京东尚科信息技术有限公司 | Self-help settlement method, apparatus and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11790328B2 (en) | Secondary market and vending system for devices | |
US10825082B2 (en) | Apparatus and method for recycling mobile phones | |
US11861584B2 (en) | Self-service settlement method, apparatus and storage medium | |
US20120173351A1 (en) | Mobile Electronic Shopping | |
CN102246384B (en) | For second-hand market and the automatically vending system of equipment | |
CN108537533B (en) | Self-service shopping settlement method and system | |
US8117071B1 (en) | Method and system for matching via an image search query at a point of sale | |
US9129276B1 (en) | Inventory management | |
US20100228676A1 (en) | Apparatus And Method For Recycling Mobile Phones | |
KR102084125B1 (en) | Vending machine and method for providing online to offline based used goods marketplace platform using thereof | |
US20140040053A1 (en) | Use of optical images to authenticate and enable a return with an electronic receipt | |
CN110942293B (en) | Method, device, storage medium and system for processing article information | |
JP3837475B2 (en) | Automated shopping system | |
CN110264314A (en) | Transaction data processing method and device | |
US20190287113A1 (en) | Customized score-based basket approval system | |
CN111507792A (en) | Self-service shopping method, computer readable storage medium and system | |
CN106339872A (en) | Data processing method and data processing device | |
US9043225B2 (en) | Approximating alternate currency equivalents in digital receipts | |
KR101394666B1 (en) | Apparatus and method for determining input tax amount which is deducted from output tax amount | |
CN111476564A (en) | Transaction settlement method and device for commodities to be purchased, storage medium and terminal | |
CN111507702A (en) | Self-service shopping method for unmanned supermarket, computer readable storage medium and system | |
JP6924333B1 (en) | Invoice management device, invoice management method and program | |
CN114187029A (en) | Method and system for verifying commodity price parameters | |
WO2023188068A1 (en) | Product quantity identification device, product quantity identification method, and recording medium | |
US11727470B2 (en) | Optical scanning for weights and measures |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200731 |