CN112418968A - Order data processing method - Google Patents
Order data processing method Download PDFInfo
- Publication number
- CN112418968A CN112418968A CN202010182574.0A CN202010182574A CN112418968A CN 112418968 A CN112418968 A CN 112418968A CN 202010182574 A CN202010182574 A CN 202010182574A CN 112418968 A CN112418968 A CN 112418968A
- Authority
- CN
- China
- Prior art keywords
- order
- commodity
- sold
- information
- payment
- 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
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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—Managing shopping lists, e.g. compiling or processing purchase lists
- G06Q30/0635—Managing shopping lists, e.g. compiling or processing purchase lists replenishment orders; recurring orders
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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/10—Payment architectures specially adapted for electronic funds transfer [EFT] systems; specially adapted for home banking systems
- G06Q20/102—Bill distribution or payments
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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/38—Payment protocols; Details thereof
- G06Q20/40—Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
- G06Q20/405—Establishing or using transaction specific rules
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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/38—Payment protocols; Details thereof
- G06Q20/40—Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
- G06Q20/407—Cancellation of a transaction
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- Economics (AREA)
- Development Economics (AREA)
- Computer Security & Cryptography (AREA)
- Marketing (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses an order data processing method and a system, wherein the method comprises the following steps: acquiring commodity information and preferential information when a user places an order; creating a corresponding order according to the commodity information, and determining the order type of the order; when the order is a mixed order and the order does not comprise spot goods, acquiring a tail order of each pre-sold goods, wherein each tail order of the pre-sold goods comprises a first order placing quantity and a tail amount to be supplemented; and calculating according to the preferential information and the tail payment order of each pre-sold commodity to obtain the payment amount so that the user can pay according to the payment amount. The invention can greatly improve the shopping experience of users, enhance the flexibility and compatibility of the system order data processing, greatly promote the sales volume of platform low-price commodities and cross-class commodities and reduce the supply chain cost.
Description
Technical Field
The invention relates to the technical field of e-commerce, in particular to an order data processing method.
Background
In the current e-commerce purchasing scene, the pre-selling period of the quadratic element IP derivatives is far higher than that of a common e-commerce platform. The waiting period of 70% of the two-dimensional IP derivatives is more than 6 months, and the pre-selling proportion of the new platform product exceeds 50%, so that a user can purchase a plurality of pre-sold products in a longer period, and the larger the purchase quantity is, the larger the proportion of the products for making up the money at the same time is. With the improvement of the quality of low-value commodities, sales are gradually improved, the amount of the tailings of a single commodity is always lower than 100 yuan, and in the existing payment mode of paying for the tailings in a single commodity one by one mode, the payment amount of the single commodity hardly meets the threshold of a platform parcel post, and the requirement of using a coupon cannot be met. The existing payment mode of paying one by one for a single commodity greatly reduces the user experience.
Disclosure of Invention
The invention aims to provide an order data processing method, an order data processing system, a computer device and a readable storage medium, which are used for overcoming the defect of user experience improvement in a payment mode of paying one by one for a single commodity in the prior art.
According to an aspect of the present invention, there is provided an order data processing method including the steps of:
acquiring commodity information and preferential information when a user places an order;
creating a corresponding order according to the commodity information, and determining the order type of the order, wherein the order type comprises a mixed order and a conventional order;
when the order is a mixed order and the order does not comprise spot goods, acquiring a tail order of each pre-sold goods, wherein each tail order of the pre-sold goods comprises a first order placing quantity and a tail amount to be supplemented;
and calculating according to the preferential information and the tail payment order of each pre-sold commodity to obtain the payment amount so that the user can pay according to the payment amount.
Optionally, the determining the type of the order according to the commodity information includes:
if the commodity information comprises a plurality of pre-sold commodities or a combination of at least one pre-sold commodity and at least one spot commodity, determining that the order is the mixed order;
and if the commodity information only comprises one pre-sold commodity or at least one spot commodity, determining that the order is a regular order.
Optionally, when the order is the mixed order and does not include the spot goods, the creating a corresponding order according to the goods information includes:
judging whether each pre-sold commodity is in a tailing supplementing state or not according to the commodity information;
when each pre-sold commodity is in a tailing supplementing state, acquiring a first real library inventory corresponding to each pre-sold commodity from a database;
and when the first real library inventory is greater than or equal to the first order placing quantity, creating a first parent order, and establishing a first association relation between the first parent order and each pre-sold commodity tail order.
Optionally, when the order is the mixed order and the order includes the spot goods, the creating a corresponding order according to the goods information includes:
judging whether the pre-sold commodity is in a tailing supplementing state or not according to the commodity information;
when the pre-sold commodity is in a tailing compensation state, acquiring a first real library inventory, a saleable inventory and a second real library inventory of the pre-sold commodity from a database, wherein the information of the spot commodity comprises the category of the spot commodity and a second ordering quantity;
and when the first real library inventory is larger than or equal to the first ordering quantity and the saleable inventory and the second real library inventory are both larger than the second ordering quantity, creating a second parent order according to the spot commodity information and establishing a second association relationship between the second parent order and the pre-sold commodity tail order.
Optionally, the determining, according to the commodity information, whether the pre-sold commodity is in a tailing fund replenishment state includes:
acquiring and storing the shipment time of the pre-sold commodity;
starting corresponding tailing supplement operation and a tailing supplement deadline according to the delivery and arrival time;
and when the tailing supplement operation is started and is within the tailing supplement operation deadline, judging that the pre-sold commodity is in a tailing supplement state.
Optionally, the method further comprises:
acquiring a tail order of each pre-sold commodity and the selling price amount of each spot commodity;
and calculating according to the discount information, the tail payment order of each pre-sold commodity, the second order placing quantity and the selling price amount to obtain the payment amount, so that the user can pay according to the payment amount.
Optionally, the method further comprises:
and when the payment of the user is finished, deleting the first father order and each pre-sold commodity tail order or the second father order and the pre-sold commodity tail order, and generating and displaying a payment order.
Optionally, the method further comprises:
when the second father order is successfully established, obtaining effective payment time, and judging whether a payment canceling operation is detected or not;
when the valid payment time is exceeded or a cancellation operation is detected within the valid payment time, judging whether the closing deadline of the tailings is expired;
if the ending time limit of the tailing supplement is not expired, deleting the second father order and the second incidence relation;
and if the tailing supplement deadline is due, deleting the second father order, the tailing order of the pre-sold commodity and the second association relation.
In order to achieve the above object, the present invention further provides an order data processing system, which specifically includes the following components:
the acquisition module is used for acquiring commodity information, coupon information and package mail information when a user places an order;
the processing module is used for creating a corresponding order according to the commodity information and determining the order type of the order, wherein the order type comprises a mixed order and a conventional order;
the obtaining module is further configured to obtain a tail order of each pre-sold commodity when the order is a mixed order and the order does not include spot commodities, where each tail order of the pre-sold commodity includes a first order placing quantity and a tail amount to be replenished;
and the calculation module is used for calculating according to the coupon information, the package mail information and the tail order of each pre-sold commodity to obtain the payment amount so that the user can pay according to the payment amount.
In order to achieve the above object, the present invention further provides a computer device, which specifically includes: a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the order data processing method introduced above when executing the computer program.
In order to achieve the above object, the present invention also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the order data processing method introduced above.
According to the order data processing method, the order data processing system, the computer equipment and the readable storage medium, whether the order of the user is a mixed order or not is judged, when the order is the mixed order and the order does not comprise spot commodities, the amounts of tailings to be paid in the tailing orders of all pre-sold commodities are calculated together, and the preferential price is calculated by combining the preferential information to obtain the payment amount, so that the user can pay according to the payment amount. According to the invention, through settlement of a plurality of payment orders together, the payment amount of the user meets the requirement of platform privilege, the shopping experience of the user is greatly improved, the flexibility and compatibility of system order data processing are enhanced, the sales volume of low-price commodities and cross-class commodities of the platform is promoted, and the supply chain cost is greatly reduced.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is an alternative application environment diagram of an order data processing method provided in the embodiment of the present disclosure;
FIG. 2 is a schematic flow chart illustrating an alternative method for processing order data according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram illustrating an alternative specific flowchart of step S102 in fig. 2;
fig. 4 is a schematic diagram of another alternative specific flowchart of step S102 in fig. 2;
FIG. 5 is a schematic diagram illustrating order association when the mixed order does not include a stock-in-stock condition;
fig. 6 is a schematic diagram of another alternative specific flowchart of step S102 in fig. 2;
fig. 7 is a schematic diagram illustrating an alternative specific flowchart of step S300 in fig. 4 or fig. 6;
FIG. 8 is a schematic flow chart of another alternative method for processing order data according to the embodiment of the present disclosure;
FIG. 9 is a schematic flow chart of another alternative method for processing order data according to the embodiment of the present disclosure;
FIG. 10 is a schematic flow chart diagram illustrating an alternative method for processing order data according to an embodiment of the present disclosure;
FIG. 11 is a schematic diagram of alternative program modules for an order data processing system according to an embodiment of the present disclosure;
fig. 12 is a schematic diagram of an alternative hardware architecture of a computer device according to an embodiment of the present disclosure.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The following describes an order data processing method according to the present invention with reference to the drawings.
Fig. 1 is an alternative application environment diagram of the order data processing method of the present invention. In fig. 1, the terminal device and the server are connected in communication via the internet. When a user performs ordering operation on a commodity required by the user on the terminal equipment, the terminal equipment receives an ordering request of the user and generates payment amount through communication connection with the server so that the user completes payment.
Fig. 2 is a schematic flow chart of an alternative order data processing method according to the present invention. It is to be understood that the flow charts in the embodiments of the present method are not used to limit the order of executing the steps, and a computer device is taken as an executing subject to be described as an example below. The computer devices may include mobile terminals such as mobile phones, tablet computers, notebook computers, palmtop computers, Personal Digital Assistants (PDAs), Portable Media Players (PMPs), navigation devices, wearable devices, smart bands, pedometers, and fixed terminals such as Digital TVs, desktop computers, and the like.
As shown in fig. 2, the method specifically includes the following steps:
step S100: and acquiring commodity information and preferential information when the user places an order. Wherein the commodity information may include: one or more pre-sold merchandise information and a combination of at least one of pre-sold merchandise information and spot merchandise information. The offer information may include coupon information and/or package mail information, etc. Wherein, the coupon information is preset with corresponding payment calculation rules, such as: full 300 minus 50, 3 pieces 75. The package mail information is preset with corresponding mail fee deduction and exemption calculation rules, such as: package 200 full.
S102: and creating a corresponding order according to the commodity information and determining the order type of the order, wherein the order type comprises a mixed order and a conventional order.
In an exemplary embodiment, as shown in fig. 3, the step S102 may include a step S200 and a step S202.
Step S200: and if the commodity information comprises a plurality of pre-sold commodities or a combination of at least one pre-sold commodity and at least one spot commodity, determining the order to be the mixed order.
Step S202: and if the commodity information only comprises one pre-sold commodity or at least one spot commodity, determining that the order is a regular order.
Specifically, the commodity information in the order placing by the user may include: one pre-sold item (1 or more), a plurality of pre-sold items, one or more pre-sold items + one or more spot items, one or more spot items. When one pre-sold commodity (1 or more) or one or more spot commodities are included in the commodity information, the created order is judged to be a regular order. And when the commodity information comprises pre-sold commodities, pre-sold commodities or pre-sold commodities and spot commodities, judging that the created order is a mixed order. For example: the pre-sold commodity computer and the pre-sold commodity display are mixed orders, the pre-sold commodity computer and the spot commodity display are mixed orders, the pre-sold commodity computer (with no limitation on quantity) is a conventional order, and the spot commodity display is a conventional order. The steps can accurately judge whether the order is a conventional order or a mixed order, and guarantee the subsequent calculation of the payment amount and the use of the preferential information.
In an exemplary embodiment, as shown in fig. 4, when the order is a mixed order and does not include an in-stock item, the step S102 may further include steps S300 to S304.
Step S300: and judging whether each pre-sold commodity is in a tailing supplementing state or not according to the commodity information.
Step S302: and when each pre-sold commodity is in a tailing supplementing state, acquiring a first real library inventory corresponding to each pre-sold commodity from the database.
Step S304: and when the first real library inventory is greater than or equal to the first order placing quantity, creating a first parent order, and establishing a first association relation between the first parent order and each pre-sold commodity tail order.
Specifically, when the product information only includes a plurality of pre-sold products (that is, does not include the existing product), it is first necessary to determine whether each pre-sold product is in a tailing replenishment state, and determine whether the real inventory of the corresponding pre-sold product satisfies the corresponding order quantity. And only when each pre-sold commodity is in a tail compensation state and the real library inventory of each pre-sold commodity is larger than or equal to the corresponding order placing quantity, creating a first parent order, and associating the first parent order with the tail order (namely a sub order) of each pre-sold commodity, thereby realizing payment of all the pre-sold commodities in the order together. Illustratively, if the order quantity of the pre-sold product 1 is 1, the order quantity of the pre-sold product 2 is also 1, and it is determined that both the pre-sold product 1 and the pre-sold product 2 are in the end-payment state, and it is obtained that the real library inventory of the pre-sold product 1 is 50, the real library inventory of the pre-sold product 2 is 100, and it is determined that both the real library inventory of the pre-sold product 1 and the pre-sold product 2 are greater than the corresponding order quantity, a first parent order is created, and an association relationship between the first parent order and the end-payment order of the pre-sold product 1 and the end-payment order of the pre-sold product 2 is established.
In the order of the tail of the pre-sold product, it is already determined in the deposit stage whether the available stock of the pre-sold product is greater than or equal to the order quantity, and the order quantity is recorded in the sales volume of the pre-sold product, so that the pre-sold product only needs to be determined whether the actual stock of the pre-sold product is greater than or equal to the order quantity in the payment stage.
In this embodiment, after the first parent order is created, the order placing quantity of the corresponding pre-sold product is further locked in the corresponding first real library inventory, the corresponding first order placing quantity is subtracted from the corresponding first real library inventory, and the coupon information and the package post information are simultaneously locked, so that when the user pays and under the condition that the coupon and the package post are used, calculation is performed according to the coupon information and the package post information. The first parent order may include: order number, coupon information, package mail information, and bank payment information. It should be noted that, since the pre-sold commodity orders are all displayed in the form of the sub-orders, no commodity information is displayed in the first parent order. The first parent order is used for associating payment of each pre-sold commodity tail order. In the steps, the tail order of each pre-sold commodity is used as a sub-order to be associated through a mode of virtually combining orders, so that the synchronous ordering of multiple pre-sold commodities is realized, and convenience is provided for payment of users.
Referring to fig. 5, fig. 5 is a schematic diagram illustrating order association when the mixed order does not include the spot goods. In fig. 5, the parent order includes the order number, the child order 1 includes the amount of the deposit and the amount of the payment due for the pre-sold product 1, the child order 2 includes the amount of the deposit and the amount of the payment due for the pre-sold product 2. And establishing the association among the parent order, the child order 1 and the child order 2. Note that the coupon information, package stamp information, and bank payment information are not shown in fig. 5, and fig. 5 illustrates only an example in which an order number is displayed in a parent order.
In an exemplary embodiment, as shown in fig. 6, when the order is a mixed order and the order includes the spot goods, the step S102 may further include a step S300, a step S302 ', and a step S304'.
Step S300: and judging whether the pre-sold commodity is in a tailing supplementing state or not according to the commodity information.
Step S302': and when the pre-sold commodity is in a tailing compensation state, acquiring a first real library inventory of the pre-sold commodity, a saleable inventory of the spot commodity and a second real library inventory from a database, wherein the spot commodity information comprises a spot commodity type and a second ordering quantity.
Step S304': and when the first real library inventory is larger than or equal to the first ordering quantity and the saleable inventory and the second real library inventory are both larger than the second ordering quantity, creating a second parent order according to the spot commodity information and establishing a second association relationship between the second parent order and the pre-sold commodity tail order.
Specifically, when the commodity information includes both pre-sold commodities and spot commodities, it is also necessary to determine whether each pre-sold commodity is in a tailing replenishment state, then determine whether the real library inventory of the corresponding pre-sold commodity meets the corresponding order quantity, and determine that the available inventory and the second real library inventory of each spot commodity are both greater than the corresponding second order quantity. And only when the real library inventory of each corresponding pre-sold commodity is larger than or equal to the corresponding order placing quantity and the available inventory of the spot commodity and the second real library inventory are larger than or equal to the corresponding order placing quantity, establishing a second parent order, and associating the second parent order with the tail order (namely a child order) of the pre-sold commodity, thereby realizing that all the pre-sold commodities and the spot commodity in the order are paid together. Illustratively, if the order quantity of the pre-sold product 1 is 2, the order quantity of the spot product 1 is 1, and it is determined that the pre-sold product 1 is in the tail compensation stage, and it is obtained that the real library inventory of the pre-sold product 1 is 50, the available inventory of the spot product 1 is 50, and the real library inventory is 60, and it is determined that the real library inventory of the pre-sold product 1 is greater than the order quantity of the pre-sold product 1, and both the available inventory and the real library inventory of the spot product are to meet the order quantity of the spot product 1, a second parent order is created, and an association relationship between the second parent order and the tail order of the pre-sold product 1 is established.
In this embodiment, after the second parent order is created, the real library inventory of the pre-sold goods is locked in the same manner as the real library inventory of the pre-sold goods in the above embodiment, which is not described herein again. A corresponding second order quantity is also locked in and subtracted from the saleable inventory and real inventory of the corresponding spot good. Besides, the coupon information and the package mail information are simultaneously locked, so that calculation is carried out according to the coupon information and the package mail information when the user pays and under the condition that the coupon and the package mail are used. The second parent order at least comprises spot commodity information and an order number, and of course, the second parent order also comprises coupon information, package mail information and bank payment information. By the mode of virtually combining orders, the spot commodity order is used as a father order, the tail order of the sub-order of the pre-sold commodity is used as a sub-order to carry out order association, synchronous ordering of the pre-sold commodity and the spot commodity is realized, and convenience is further provided for payment of a user.
It should be noted that the difference between the relationship diagram of the second parent order and the tail order of the pre-sold commodity and fig. 5 is that the second parent order includes the information of the spot commodity, and therefore, the detailed description and the display are omitted here.
In an exemplary embodiment, as shown in fig. 7, the step S300 may further include steps S400 to S404.
Step S400: and acquiring and storing the delivery and arrival time of the pre-sold commodities.
Step S402: and starting corresponding tailing supplement operation and a tailing supplement deadline according to the delivery time.
Step S404: and when the tailing supplement operation is started and is within the tailing supplement operation deadline, judging that the pre-sold commodity is in a tailing supplement state.
Specifically, in an actual e-commerce sales scene, after the pre-sold commodity is shipped, a tailing replenishment operation can be started, an expiration date of the tailing replenishment is set according to the arrival time of the pre-sold commodity, and after the tailing replenishment operation is started and before the expiration date arrives, the user can replenish the pre-sold commodity. The status of the pre-sold product in which the user can perform the replenishment operation is referred to as a replenishment status. The steps can accurately judge whether the pre-sold commodity is in a tailing supplementing state or not so as to ensure the successful creation of a parent order.
Step S104: and when the order is a mixed order and the order does not comprise spot goods, acquiring a tail order of each pre-sold goods, wherein each tail order of the pre-sold goods comprises a first order placing quantity and a tail amount to be supplemented.
Specifically, the amount of the tail to be replenished of each pre-sold commodity can be obtained by obtaining the tail order of the pre-sold commodity, and the total amount of the tail to be replenished of all the pre-sold commodities can be calculated by combining the corresponding first order quantity of each pre-sold commodity.
Step S106: and calculating according to the preferential information and the tail payment order of each pre-sold commodity to obtain the payment amount so that the user can pay according to the payment amount.
Specifically, the total amount of the tailings to be replenished of all the pre-sold commodities is calculated according to each pre-sold commodity tailing order, and the total payment amount is calculated according to the total amount of the tailings to be replenished and the discount information. Through settlement of a plurality of tail orders together, the payment amount of a user meets the requirement of the platform privilege, the commodities with low goods value can easily reach a coupon use threshold through order collection, and can also easily reach a parcel post threshold, the shopping experience of the user is greatly improved, the single consumption (the unit price of customers) of the user is promoted, the flexibility and compatibility of system order data processing are enhanced, the sales volume of the platform commodities with low unit price and cross-product commodities is promoted, and the supply chain cost is greatly reduced.
In an exemplary embodiment, as shown in fig. 8, the method may further include step S500 and step S502.
Step S500: and acquiring a tail payment order of each pre-sold commodity and the selling price amount of each spot commodity.
Step S502: and calculating according to the discount information, the tail payment order of each pre-sold commodity, the second order placing quantity and the selling price amount to obtain the payment amount, so that the user can pay according to the payment amount.
Specifically, when the pre-sold commodities and the spot commodities exist in the order, the order of the tail of each pre-sold commodity and the selling price of each spot commodity need to be acquired simultaneously, and the total amount of the order is calculated by combining the second order placing quantity corresponding to each spot commodity. Then, the total payment amount is calculated according to the total amount and the preferential information. By the method, the shopping experience of the user is improved, the warehousing operation cost is greatly reduced, and the sales volume of cross-product commodities is greatly promoted.
In an exemplary embodiment, as shown in fig. 9, the method may further include step S600.
Step S600: and when the payment of the user is finished, deleting the first father order and each pre-sold commodity tail order or the second father order and the pre-sold commodity tail order, and generating and displaying a payment order.
Specifically, no matter whether existing goods exist in the mixed order, when it is detected that the payment of the user is completed, the corresponding parent order needs to be deleted, and the tail orders (i.e., the child orders) corresponding to all the pre-sold goods generate corresponding payment orders. It should be noted that the payment order may modularly display spot commodity payment information and pre-sold commodity payment information, where the pre-sold commodity payment information includes the pre-sold commodity type, the first order placing amount, the deposit amount, and the end payment amount, and the spot commodity payment information includes payment information. Because the payment order uses the coupon, the payment order can carry out corresponding discount deduction according to the proportion of the amount of the supplementary payment of the pre-sold commodity and the amount of the selling price of the spot commodity, and the amount after deduction is displayed. The method provides convenience for the user to check the payment information of each commodity, and greatly improves the shopping experience of the user.
In an exemplary embodiment, as shown in fig. 10, when the mixed order does not contain the in-stock goods, the method may further include steps S700 to S706.
Step S700: and when the second parent order is successfully created, obtaining effective payment time, and judging whether a payment canceling operation is detected.
Step S702: and when the valid payment time is exceeded or the payment cancellation operation is detected within the valid payment time, judging whether the closing deadline is due, when the closing deadline is due, executing the step S704, otherwise executing the step S706.
Specifically, if a cancellation operation is detected beyond the valid payment time or within the valid time, the mixed order needs to be cancelled on behalf of the user. When the user needs to cancel the mixed order, the judgment of the ending period of the refund ensures that the pre-sold commodity order of which the user has paid a fixed fee is not influenced by the cancellation of the mixed order under the condition that the user only needs to cancel the purchase of the spot commodity, thereby providing great convenience and shopping experience for the purchase of the user and simultaneously ensuring the legal rights and interests of the user.
Step S704: and deleting the second parent order and the second incidence relation.
Step S706: and deleting the second father order, the tail order of the pre-sold commodity and the second association relation.
Specifically, if the deadline of the tailing supplement of all the pre-sold commodities is not expired, only the first parent order and the association relationship between the first parent order and all the child orders are deleted. And if the ending period of the tailing supplement of one of the pre-sold commodities expires, deleting the first parent order, the incidence relation among the first parent order and all the sub orders and the expired tailing order of the pre-sold commodity. And adding the corresponding first real library inventory to the first order placing quantity according to the first order placing quantity of the corresponding pre-sold commodities (namely, returning the pre-sold commodities to the corresponding real library inventory) while deleting the first parent order, and releasing the coupon information and the package mail information.
In an exemplary embodiment, when a spot good exists in the mixed order, the corresponding saleable inventory and the second real inventory are added to the second order placing quantity (i.e., the spot good is returned to the corresponding saleable inventory and the real inventory) according to the second order placing quantity of the corresponding spot good while deleting the association relationship between the second parent order and all the child orders. By releasing the stock, the coupon information and the package post information, the method greatly reduces the memory occupancy of the computer and improves the processing performance of the computer while ensuring the shopping experience of a user.
Based on the order data processing method provided in the foregoing embodiment, an order data processing system is provided in this embodiment, and the order data processing system may be applied to a computer device. In particular, FIG. 11 illustrates an alternative block diagram of the order data processing system, which is partitioned into one or more program modules that are stored in a storage medium and executed by one or more processors to implement the present invention. The program modules referred to in the present invention refer to a series of computer program instruction segments capable of performing specific functions, and are more suitable for describing the execution process of the order data processing system in the storage medium than the program itself, and the following description will specifically describe the functions of each program module in this embodiment.
As shown in fig. 11, the order data processing system specifically includes the following components:
the obtaining module 201 is configured to obtain commodity information and offer information when a user places an order. Wherein the commodity information may include: one or more pre-sold merchandise information and a combination of at least one of pre-sold merchandise information and spot merchandise information. The offer information may include coupon information and/or package mail information, etc. Wherein, the coupon information is preset with corresponding payment calculation rules, such as: full 300 minus 50, 3 pieces 75. The package mail information is preset with corresponding mail fee deduction and exemption calculation rules, such as: package 200 full.
A processing module 202, configured to create a corresponding order according to the commodity information and determine an order type of the order, where the order type includes a mixed order and a conventional order.
In an exemplary embodiment, the processing module 202 is further specifically configured to:
if the commodity information comprises a plurality of pre-sold commodities or a combination of at least one pre-sold commodity and at least one spot commodity, determining that the order is the mixed order; and if the commodity information only comprises one pre-sold commodity or at least one spot commodity, determining that the order is a regular order.
Specifically, the commodity information in the order placing by the user may include: one pre-sold item (1 or more), a plurality of pre-sold items, one or more pre-sold items + one or more spot items, one or more spot items. When one pre-sold item (1 or more) or one or more off-the-shelf items are included in the item information, then the processing module 202 determines that the created order is a regular order. When the commodity information includes a pre-sold commodity + a pre-sold commodity or a pre-sold commodity + an in-stock commodity, the processing module 202 determines that the created order is a mixed order. For example: the pre-sold commodity computer and the pre-sold commodity display are mixed orders, the pre-sold commodity computer and the spot commodity display are mixed orders, the pre-sold commodity computer (with no limitation on quantity) is a conventional order, and the spot commodity display is a conventional order. The steps can accurately judge whether the order is a conventional order or a mixed order, and guarantee the subsequent calculation of the payment amount and the use of the preferential information.
In an exemplary embodiment, when the order is a mixed order and does not include an in-stock item, the processing module 202 further includes a determining unit, an obtaining unit, and a creating unit.
And the judging unit is used for judging whether each pre-sold commodity is in a tailing supplementing state or not according to the commodity information.
The acquisition unit is used for acquiring a first real library inventory corresponding to each pre-sold commodity from the database when each pre-sold commodity is in a tailing supplementing state.
The creating unit is used for creating a first father order and establishing a first association relation between the first father order and each pre-sold commodity tail order when the first real library inventory is larger than or equal to the first order placing quantity.
Specifically, when the product information only includes a plurality of pre-sold products (that is, does not include the current product), the determining unit first needs to determine whether each pre-sold product is in a tail payment compensation state, and respectively determine whether the real inventory of the corresponding pre-sold product satisfies the corresponding order quantity. The creating unit creates a first parent order only when each pre-sold commodity is in a tail compensation state and the real library inventory of each pre-sold commodity is larger than or equal to the corresponding order placing quantity, and associates the first parent order with the tail order (namely, a sub order) of each pre-sold commodity, so that all the pre-sold commodities in the order are paid together. Illustratively, if the order quantity of the pre-sold product 1 is 1, the order quantity of the pre-sold product 2 is also 1, and the judging unit judges that both the pre-sold product 1 and the pre-sold product 2 are in the end payment supplementing state, the acquiring unit acquires that the real library inventory of the pre-sold product 1 is 50 and the real library inventory of the pre-sold product 2 is 100, and the judging unit judges that the real library inventories of the pre-sold product 1 and the pre-sold product 2 are greater than the corresponding order quantity, the creating unit creates the first parent order and establishes the association relationship between the first parent order and the end payment order of the pre-sold product 1 and the end payment order of the pre-sold product 2.
In the order of the tail of the pre-sold product, it is already determined in the deposit stage whether the available stock of the pre-sold product is greater than or equal to the order quantity, and the order quantity is recorded in the sales volume of the pre-sold product, so that the pre-sold product only needs to be determined whether the actual stock of the pre-sold product is greater than or equal to the order quantity in the payment stage.
In this embodiment, after the first parent order is created, the order placing quantity of the corresponding pre-sold product is further locked in the corresponding first real library inventory, the corresponding first order placing quantity is subtracted from the corresponding first real library inventory, and the coupon information and the package post information are simultaneously locked, so that when the user pays and under the condition that the coupon and the package post are used, calculation is performed according to the coupon information and the package post information. The first parent order may include: order number, coupon information, package mail information, and bank payment information. It should be noted that, since the pre-sold commodity orders are all displayed in the form of the sub-orders, no commodity information is displayed in the first parent order. The first parent order is used for associating payment of each pre-sold commodity tail order. In the steps, the tail order of each pre-sold commodity is used as a sub-order to be associated through a mode of virtually combining orders, so that the synchronous ordering of multiple pre-sold commodities is realized, and convenience is provided for payment of users.
Referring to fig. 5, fig. 5 is a schematic diagram illustrating order association when the mixed order does not include the spot goods. In fig. 5, the parent order includes the order number, the child order 1 includes the amount of the deposit and the amount of the payment due for the pre-sold product 1, the child order 2 includes the amount of the deposit and the amount of the payment due for the pre-sold product 2. And establishing the association among the parent order, the child order 1 and the child order 2. Note that the coupon information, package stamp information, and bank payment information are not shown in fig. 5, and fig. 5 illustrates only an example in which an order number is displayed in a parent order.
In an exemplary embodiment, when the order is a hybrid order and the in-stock item is included in the order:
and the judging unit is also used for judging whether the pre-sold commodity is in a tailing supplementing state according to the commodity information.
The obtaining unit is further configured to obtain, from a database, a first real library inventory of the pre-sold commodity, a saleable inventory of the spot commodity, and a second real library inventory when the pre-sold commodity is in a tailing replenishment state, where the spot commodity information includes a spot commodity type and a second ordering amount.
The creating unit is further configured to create a second parent order according to the spot commodity information and establish a second association relationship between the second parent order and the tail order of the pre-sold commodity when the first real library inventory is greater than or equal to the first order quantity and both the saleable inventory and the second real library inventory are greater than the second order quantity.
Specifically, when the commodity information includes both pre-sold commodities and spot commodities, the determining unit also needs to determine whether each pre-sold commodity is in a tailing replenishment state, then respectively determine whether the real library inventory of the corresponding pre-sold commodity meets the corresponding order quantity, and simultaneously determine that the available inventory and the second real library inventory of each spot commodity are both greater than the corresponding second order quantity. The creating unit creates a second parent order and associates the second parent order with the pre-sold commodity tail order (i.e. the sub-order) only when the real library inventory of each corresponding pre-sold commodity is greater than or equal to the corresponding order placing quantity and the available inventory of the spot commodity and the second real library inventory of the spot commodity are greater than or equal to the corresponding order placing quantity, so that all the pre-sold commodities and the spot commodity in the order are paid together. Illustratively, if the order quantity of the pre-sold product 1 is 2, the order quantity of the spot product 1 is 1, and the judging unit judges that the pre-sold product 1 is in the tail payment supplementing stage, the obtaining unit obtains the real library inventory of the pre-sold product 1 as 50, the available inventory of the spot product 1 as 50, and the real library inventory as 60, and the judging unit judges that the real library inventory of the pre-sold product 1 is greater than the order quantity of the pre-sold product 1, and the available inventory and the real library inventory of the spot product both wait for the order quantity of the spot product 1, the creating unit creates a second parent order and establishes an association relationship between the second parent order and the tail payment order of the pre-sold product 1.
In this embodiment, after the second parent order is created, the real library inventory of the pre-sold goods is locked in the same manner as the real library inventory of the pre-sold goods in the above embodiment, which is not described herein again. A corresponding second order quantity is also locked in and subtracted from the saleable inventory and real inventory of the corresponding spot good. Besides, the coupon information and the package mail information are simultaneously locked, so that calculation is carried out according to the coupon information and the package mail information when the user pays and under the condition that the coupon and the package mail are used. The second parent order at least comprises spot commodity information and an order number, and of course, the second parent order also comprises coupon information, package mail information and bank payment information. By the mode of virtually combining orders, the spot commodity order is used as a father order, the tail order of the sub-order of the pre-sold commodity is used as a sub-order to carry out order association, synchronous ordering of the pre-sold commodity and the spot commodity is realized, and convenience is further provided for payment of a user.
It should be noted that the difference between the relationship diagram of the second parent order and the tail order of the pre-sold commodity and fig. 5 is that the second parent order includes the information of the spot commodity, and therefore, the detailed description and the display are omitted here.
In an exemplary embodiment, the determining unit is further configured to:
acquiring and storing the shipment time of the pre-sold commodity; starting corresponding tailing supplement operation and a tailing supplement deadline according to the delivery and arrival time; and when the tailing supplement operation is started and is within the tailing supplement operation deadline, judging that the pre-sold commodity is in a tailing supplement state.
Specifically, in an actual e-commerce sales scene, after the pre-sold commodity is shipped, a tailing replenishment operation can be started, an expiration date of the tailing replenishment is set according to the arrival time of the pre-sold commodity, and after the tailing replenishment operation is started and before the expiration date arrives, the user can replenish the pre-sold commodity. The status of the pre-sold product in which the user can perform the replenishment operation is referred to as a replenishment status. The steps can accurately judge whether the pre-sold commodity is in a tailing supplementing state or not so as to ensure the successful creation of a parent order.
The obtaining module 201 is further configured to obtain a tail order of each pre-sold commodity when the order is a mixed order and the order does not include a spot commodity, where the tail order of each pre-sold commodity includes a first order placing quantity and a tail amount to be replenished.
Specifically, the obtaining module 201 may obtain the amount of the tail to be replenished of each pre-sold commodity by obtaining the tail order of the pre-sold commodity, and may further calculate the total amount of the tail to be replenished of all the pre-sold commodities by combining the corresponding first order placing quantity of each pre-sold commodity.
And the calculating module 203 is used for calculating according to the discount information and the tail payment order of each pre-sold commodity to obtain the payment amount, so that the user can pay according to the payment amount.
Specifically, the calculating module 203 calculates the total amount of the tailings to be replenished of all the pre-sold commodities according to each of the orders of the tailings of the pre-sold commodities, and calculates the total payment amount according to the total amount of the tailings to be replenished and the offer information. The payment amount of the user meets the requirement of the platform privilege by settling a plurality of tail orders together, the commodities with low goods value can easily reach a coupon use threshold through order collection, and can also easily reach a parcel threshold, so that the shopping experience of the user is greatly improved, the flexibility and compatibility of system order data processing are enhanced, the sales volume of the platform low-price commodities and cross-product commodities is promoted, and the supply chain cost is greatly reduced.
In an exemplary embodiment, the obtaining module 201 is further configured to obtain a tail order of each pre-sold item and a selling price amount of each spot item; the calculating module 203 is further configured to calculate according to the discount information, the tail payment order of each pre-sold commodity, the second order placing quantity, and the selling price amount to obtain the payment amount, so that the user pays according to the payment amount.
Specifically, when the pre-sold goods and the spot goods exist in the order, the obtaining module 201 needs to obtain the tail payment order of each pre-sold goods and the selling price amount of each spot goods at the same time, and the calculating module 203 calculates the total amount of the order by combining the second order placing quantity corresponding to each spot goods. Then, the calculating module 203 calculates the total payment amount according to the total amount and the offer information. By the method, the shopping experience of the user is improved, the warehousing operation cost is greatly reduced, and the sales volume of cross-product commodities is greatly promoted.
In an exemplary embodiment, the order data processing system may further include a generation module configured to delete the first parent order and each pre-sold tailed merchandise order or the second parent order and the pre-sold tailed merchandise order when the user payment is completed, and generate and display a payment order.
Specifically, whether existing goods exist in the mixed order, when it is detected that the payment of the user is completed, the generation module needs to delete the corresponding parent order, the tail orders (i.e., the child orders) corresponding to all the pre-sold goods, and generate the corresponding payment orders. It should be noted that the payment order may modularly display spot commodity payment information and pre-sold commodity payment information, where the pre-sold commodity payment information includes the pre-sold commodity type, the first order placing amount, the deposit amount, and the end payment amount, and the spot commodity payment information includes payment information. Because the payment order uses the coupon, the payment order can carry out corresponding discount deduction according to the proportion of the amount of the supplementary payment of the pre-sold commodity and the amount of the selling price of the spot commodity, and the amount after deduction is displayed. The method provides convenience for the user to check the payment information of each commodity, and greatly improves the shopping experience of the user.
In an exemplary embodiment, when the mixed order does not contain the in-stock goods, the order data processing system may further include a determination module and a deletion module.
The judging module is used for acquiring effective payment time when the second father order is successfully established and judging whether a payment canceling operation is detected or not; and when the valid payment time is exceeded or a cancellation payment operation is detected within the valid payment time, judging whether the closing deadline is expired.
Specifically, if a cancellation operation is detected beyond the valid payment time or within the valid time, the mixed order needs to be cancelled on behalf of the user. When the user needs to cancel the mixed order, the judgment of the ending period of the refund ensures that the pre-sold commodity order of which the user has paid a fixed fee is not influenced by the cancellation of the mixed order under the condition that the user only needs to cancel the purchase of the spot commodity, thereby providing great convenience and shopping experience for the purchase of the user and simultaneously ensuring the legal rights and interests of the user.
The deleting module is configured to delete the second parent order and the second association relationship when the deadline of the tailing supplement is not due; and if the tailing supplement deadline is due, deleting the second father order, the tailing order of the pre-sold commodity and the second association relation.
Specifically, if the deadline of the tailing supplement of all the pre-sold commodities is not expired, the deleting module only deletes the first parent order and the association relationship between the first parent order and all the child orders. And if the ending time limit of the tailing supplement of one of the pre-sold commodities expires, the deleting module deletes the first parent order, the incidence relation among the first parent order and all the sub orders and the expired tailing order of the pre-sold commodity. And adding the corresponding first real library inventory to the first order placing quantity according to the first order placing quantity of the corresponding pre-sold commodities (namely, returning the pre-sold commodities to the corresponding real library inventory) while deleting the first parent order, and releasing the coupon information and the package mail information.
In an exemplary embodiment, when a spot good exists in the mixed order, the corresponding saleable inventory and the second real inventory are added to the second order placing quantity (i.e., the spot good is returned to the corresponding saleable inventory and the real inventory) according to the second order placing quantity of the corresponding spot good while deleting the association relationship between the second parent order and all the child orders. By releasing the stock, the coupon information and the package post information, the method greatly reduces the memory occupancy of the computer and improves the processing performance of the computer while ensuring the shopping experience of a user.
The embodiment also provides a computer device, such as a smart phone, a tablet computer, a notebook computer, a desktop computer, a rack server, a blade server, a tower server or a rack server (including an independent server or a server cluster composed of a plurality of servers) capable of executing programs, and the like. As shown in fig. 12, the computer device 30 of the present embodiment includes at least, but is not limited to: a memory 301, a processor 302 communicatively coupled to each other via a system bus. It is noted that FIG. 12 only shows the computer device 30 having the components 301 and 302, but it is understood that not all of the shown components are required to be implemented, and that more or fewer components can be implemented instead.
In this embodiment, the memory 301 (i.e., the readable storage medium) includes a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, and the like. In some embodiments, the storage 301 may be an internal storage unit of the computer device 30, such as a hard disk or a memory of the computer device 30. In other embodiments, the memory 301 may also be an external storage device of the computer device 30, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), or the like, provided on the computer device 30. Of course, the memory 301 may also include both internal and external storage devices for the computer device 30. In the present embodiment, the memory 301 is generally used for storing an operating system installed in the computer device 30 and various types of application software, such as the program codes of the order data processing system of the above-described embodiment. In addition, the memory 301 may also be used to temporarily store various types of data that have been output or are to be output.
Processor 302 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data Processing chip in some embodiments. The processor 302 generally serves to control the overall operation of the computer device 30.
Specifically, in this embodiment, the processor 302 is configured to execute a program of an order data processing method stored in the processor 302, and when executed, the program of the order data processing method implements the following steps:
acquiring commodity information and preferential information when a user places an order;
creating a corresponding order according to the commodity information, and determining the order type of the order, wherein the order type comprises a mixed order and a conventional order;
when the order is a mixed order and the order does not comprise spot goods, acquiring a tail order of each pre-sold goods, wherein each tail order of the pre-sold goods comprises a first order placing quantity and a tail amount to be supplemented;
and calculating according to the preferential information and the tail payment order of each pre-sold commodity to obtain the payment amount so that the user can pay according to the payment amount.
For the specific embodiment of the process of the above method steps, reference may be made to the above embodiments, and details of this embodiment are not repeated herein.
The present embodiments also provide a computer readable storage medium, such as a flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Read Only Memory (ROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a Programmable Read Only Memory (PROM), a magnetic memory, a magnetic disk, an optical disk, a server, an App application mall, etc., having stored thereon a computer program that when executed by a processor implements the method steps of:
acquiring commodity information and preferential information when a user places an order;
creating a corresponding order according to the commodity information, and determining the order type of the order, wherein the order type comprises a mixed order and a conventional order;
when the order is a mixed order and the order does not comprise spot goods, acquiring a tail order of each pre-sold goods, wherein each tail order of the pre-sold goods comprises a first order placing quantity and a tail amount to be supplemented;
and calculating according to the preferential information and the tail payment order of each pre-sold commodity to obtain the payment amount so that the user can pay according to the payment amount.
For the specific embodiment of the process of the above method steps, reference may be made to the above embodiments, and details of this embodiment are not repeated herein.
The order data processing method, the order data processing system, the computer device and the readable storage medium provided by the embodiment judge whether the order of the user is a mixed order, and when the order is the mixed order and the order does not include spot goods, calculate the amounts of tailings to be paid in the tailing orders of all pre-sold goods together, and calculate the preferential price by combining the preferential information to obtain the payment amount, so that the user can pay according to the payment amount. According to the invention, through settlement of a plurality of payment orders, the payment amount of the user meets the requirement of platform privilege, the shopping experience of the user is greatly improved, the single consumption (the unit price of the customer) of the user is promoted, the flexibility and compatibility of system order data processing are enhanced, the sales volume of low-unit-price commodities and cross-class commodities of the platform is promoted, and the supply chain cost is greatly reduced.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.
Claims (10)
1. An order data processing method, characterized in that the method comprises:
acquiring commodity information and preferential information when a user places an order;
creating a corresponding order according to the commodity information, and determining the order type of the order, wherein the order type comprises a mixed order and a conventional order;
when the order is a mixed order and the order does not comprise spot goods, acquiring a tail order of each pre-sold goods, wherein each tail order of the pre-sold goods comprises a first order placing quantity and a tail amount to be supplemented;
and calculating according to the preferential information and the tail payment order of each pre-sold commodity to obtain the payment amount so that the user can pay according to the payment amount.
2. The order data processing method according to claim 1, wherein said determining a type of the order from the commodity information comprises:
if the commodity information comprises a plurality of pre-sold commodities or a combination of at least one pre-sold commodity and at least one spot commodity, determining that the order is the mixed order;
and if the commodity information only comprises one pre-sold commodity or at least one spot commodity, determining that the order is a regular order.
3. The order data processing method according to claim 1, wherein when the order is the mixed order and does not include the in-stock item, the creating a corresponding order according to the item information includes:
judging whether each pre-sold commodity is in a tailing supplementing state or not according to the commodity information;
when each pre-sold commodity is in a tailing supplementing state, acquiring a first real library inventory corresponding to each pre-sold commodity from a database;
and when the first real library inventory is greater than or equal to the first order placing quantity, creating a first parent order, and establishing a first association relation between the first parent order and each pre-sold commodity tail order.
4. The order data processing method according to claim 1, wherein when the order is the hybrid order and the order includes the spot commodity, the creating a corresponding order according to the commodity information includes:
judging whether the pre-sold commodity is in a tailing supplementing state or not according to the commodity information;
when the pre-sold commodity is in a tailing compensation state, acquiring a first real library inventory, a saleable inventory and a second real library inventory of the pre-sold commodity from a database, wherein the information of the spot commodity comprises the category of the spot commodity and a second ordering quantity;
and when the first real library inventory is larger than or equal to the first ordering quantity and the saleable inventory and the second real library inventory are both larger than the second ordering quantity, creating a second parent order according to the spot commodity information and establishing a second association relationship between the second parent order and the pre-sold commodity tail order.
5. The order data processing method according to claim 3 or 4, wherein the determining whether the pre-sold product is in a tailing-out replenishment state according to the product information comprises:
acquiring and storing the shipment time of the pre-sold commodity;
starting corresponding tailing supplement operation and a tailing supplement deadline according to the delivery and arrival time;
and when the tailing supplement operation is started and is within the tailing supplement operation deadline, judging that the pre-sold commodity is in a tailing supplement state.
6. The order data processing method according to claim 4, wherein said method further comprises:
acquiring a tail order of each pre-sold commodity and the selling price amount of each spot commodity;
and calculating according to the discount information, the tail payment order of each pre-sold commodity, the second order placing quantity and the selling price amount to obtain the payment amount, so that the user can pay according to the payment amount.
7. The order data processing method according to claim 3 or 6, wherein the method further comprises:
and when the payment of the user is finished, deleting the first father order and each pre-sold commodity tail order or the second father order and the pre-sold commodity tail order, and generating and displaying a payment order.
8. The order data processing method of claim 6, wherein the method further comprises:
when the second father order is successfully established, obtaining effective payment time, and judging whether a payment canceling operation is detected or not;
when the valid payment time is exceeded or a cancellation operation is detected within the valid payment time, judging whether the closing deadline of the tailings is expired;
if the ending time limit of the tailing supplement is not expired, deleting the second father order and the second incidence relation;
and if the tailing supplement deadline is due, deleting the second father order, the tailing order of the pre-sold commodity and the second association relation.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the order data processing method of any one of claims 1 to 8.
10. A computer device, the computer device comprising: memory, processor and computer program stored on the memory and executable on the processor, characterized in that the steps of the order data processing method of any of claims 1 to 8 are implemented by the processor when executing the computer program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010182574.0A CN112418968A (en) | 2020-03-16 | 2020-03-16 | Order data processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010182574.0A CN112418968A (en) | 2020-03-16 | 2020-03-16 | Order data processing method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112418968A true CN112418968A (en) | 2021-02-26 |
Family
ID=74844068
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010182574.0A Pending CN112418968A (en) | 2020-03-16 | 2020-03-16 | Order data processing method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112418968A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113516460A (en) * | 2021-05-10 | 2021-10-19 | 上海哔哩哔哩科技有限公司 | Prepaid order processing method, client, server and system |
CN118297518A (en) * | 2024-04-25 | 2024-07-05 | 有启(上海)信息科技有限公司 | Warehouse pre-sale order grouping and allocating processing method combining cloud computing |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101136094A (en) * | 2007-09-29 | 2008-03-05 | 腾讯科技(深圳)有限公司 | Electronic commerce trade method and system |
US20120101885A1 (en) * | 2010-10-15 | 2012-04-26 | Kt Corporation | Integrated payment method using near field communication and mobile terminal using the same |
US20120310757A1 (en) * | 2011-06-03 | 2012-12-06 | Lg Electronics Inc. | Method for controlling stores and system for the same |
CN106485558A (en) * | 2015-08-14 | 2017-03-08 | 阿里巴巴集团控股有限公司 | Merchandise items presell information processing method and device |
CN107203917A (en) * | 2016-03-17 | 2017-09-26 | 阿里巴巴集团控股有限公司 | A kind of method for processing business, apparatus and system |
CN107578224A (en) * | 2017-09-13 | 2018-01-12 | 深圳前海乘势科技有限公司 | The method and device that multi-platform polymerization is paid |
CN108038681A (en) * | 2017-12-21 | 2018-05-15 | 知而行(上海)营销咨询有限公司 | cross-merchant transaction payment information processing method |
CN108460586A (en) * | 2018-02-10 | 2018-08-28 | 深圳壹账通智能科技有限公司 | A kind of amount of money preferential measure, device, terminal device and the storage medium of polymerization payment |
CN108564441A (en) * | 2018-04-10 | 2018-09-21 | 合肥美的智能科技有限公司 | Pay for Items method based on unmanned retail units and Pay for Items device and system |
CN109767260A (en) * | 2018-12-15 | 2019-05-17 | 深圳壹账通智能科技有限公司 | Bill discount method, device, device and storage medium based on integrated payment |
-
2020
- 2020-03-16 CN CN202010182574.0A patent/CN112418968A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101136094A (en) * | 2007-09-29 | 2008-03-05 | 腾讯科技(深圳)有限公司 | Electronic commerce trade method and system |
US20120101885A1 (en) * | 2010-10-15 | 2012-04-26 | Kt Corporation | Integrated payment method using near field communication and mobile terminal using the same |
US20120310757A1 (en) * | 2011-06-03 | 2012-12-06 | Lg Electronics Inc. | Method for controlling stores and system for the same |
CN106485558A (en) * | 2015-08-14 | 2017-03-08 | 阿里巴巴集团控股有限公司 | Merchandise items presell information processing method and device |
CN107203917A (en) * | 2016-03-17 | 2017-09-26 | 阿里巴巴集团控股有限公司 | A kind of method for processing business, apparatus and system |
CN107578224A (en) * | 2017-09-13 | 2018-01-12 | 深圳前海乘势科技有限公司 | The method and device that multi-platform polymerization is paid |
CN108038681A (en) * | 2017-12-21 | 2018-05-15 | 知而行(上海)营销咨询有限公司 | cross-merchant transaction payment information processing method |
CN108460586A (en) * | 2018-02-10 | 2018-08-28 | 深圳壹账通智能科技有限公司 | A kind of amount of money preferential measure, device, terminal device and the storage medium of polymerization payment |
CN108564441A (en) * | 2018-04-10 | 2018-09-21 | 合肥美的智能科技有限公司 | Pay for Items method based on unmanned retail units and Pay for Items device and system |
CN109767260A (en) * | 2018-12-15 | 2019-05-17 | 深圳壹账通智能科技有限公司 | Bill discount method, device, device and storage medium based on integrated payment |
Non-Patent Citations (1)
Title |
---|
匿名: ""双11预售尾款可以合并支付吗?"", 《网络杂谈》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113516460A (en) * | 2021-05-10 | 2021-10-19 | 上海哔哩哔哩科技有限公司 | Prepaid order processing method, client, server and system |
CN118297518A (en) * | 2024-04-25 | 2024-07-05 | 有启(上海)信息科技有限公司 | Warehouse pre-sale order grouping and allocating processing method combining cloud computing |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8135621B2 (en) | System and method for supporting anonymous transactions | |
US20120173308A1 (en) | Optimizing package delivery using social networks | |
US20180308050A1 (en) | Purchase assistance system | |
EP4024315A1 (en) | Commodity exchange system, commodity exchange method, and commodity exchange program | |
KR102693086B1 (en) | Method and system for message mapping to handle template changes | |
CN111860890A (en) | Sales management method and equipment | |
CN112418968A (en) | Order data processing method | |
WO2024179445A1 (en) | Cross-border logistics order fulfillment method and device | |
CN112074859A (en) | Welfare type low-price mall system and operation method thereof | |
US20240428258A1 (en) | Methods, systems, and non-transitory computer-readable mediums for product catalog mapping and integration across distributed systems and interfaces, dynamic determination and presentation of customized service offers and lifecycle management of services | |
CN113379508B (en) | Goods resale method, system and storage medium based on space station | |
CN112215544B (en) | Method for secondary commodity transaction, mobile terminal and computer storage medium | |
CN111882257A (en) | Method and device for modifying delivery address | |
CN118886988A (en) | An order management method, system, medium and product based on ToC cycle | |
JP7334921B1 (en) | shipping cost estimator | |
CN106157054A (en) | A kind of transaction data processing method and device | |
US7346554B2 (en) | Online shopping system, information processing apparatus and method, and information processing program recording medium | |
US8612304B1 (en) | Seller to seller transactions | |
CN113379557B (en) | Intelligent gift matching method and system based on space station and storage medium | |
US11080645B1 (en) | Local rating system | |
CN116362847A (en) | Cross-border electronic commerce digital purse net based transaction method and system | |
CN116090934A (en) | Method, device, equipment and storage medium for rapidly delivering pre-sold articles | |
KR101703737B1 (en) | Prodcut pchasing and deliverying method using a moving market | |
JP7560823B2 (en) | Commodity trading system, commodity trading method and commodity trading program | |
JP7259256B2 (en) | Merchandise management system, merchandise management method and program |
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 |