CN116468432A - Order processing method, device, equipment and medium - Google Patents
Order processing method, device, equipment and medium Download PDFInfo
- Publication number
- CN116468432A CN116468432A CN202310250082.4A CN202310250082A CN116468432A CN 116468432 A CN116468432 A CN 116468432A CN 202310250082 A CN202310250082 A CN 202310250082A CN 116468432 A CN116468432 A CN 116468432A
- Authority
- CN
- China
- Prior art keywords
- target
- order
- account
- funds
- sub
- 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.)
- Granted
Links
- 238000003672 processing method Methods 0.000 title description 11
- 238000000034 method Methods 0.000 claims abstract description 46
- 238000012545 processing Methods 0.000 claims abstract description 37
- 230000004044 response Effects 0.000 claims abstract description 9
- 238000012546 transfer Methods 0.000 claims description 126
- 230000008014 freezing Effects 0.000 claims description 95
- 238000007710 freezing Methods 0.000 claims description 95
- 238000004590 computer program Methods 0.000 claims description 12
- 238000012795 verification Methods 0.000 claims description 11
- 238000010586 diagram Methods 0.000 description 11
- 230000000694 effects Effects 0.000 description 9
- 238000004891 communication Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 6
- 238000004458 analytical method Methods 0.000 description 5
- 230000008901 benefit Effects 0.000 description 4
- 239000000284 extract Substances 0.000 description 4
- 238000011161 development Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000002035 prolonged effect Effects 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 238000013475 authorization Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000001953 sensory effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
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/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; 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/12—Payment architectures specially adapted for electronic shopping systems
-
- 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/22—Payment schemes or models
- G06Q20/227—Payment schemes or models characterised in that multiple accounts are available, e.g. to the payer
-
- 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/38—Payment protocols; Details thereof
- G06Q20/387—Payment using discounts or coupons
-
- 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
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Engineering & Computer Science (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Economics (AREA)
- Development Economics (AREA)
- Marketing (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The disclosure provides a method, a device, equipment and a medium for processing orders, relates to the technical field of computers, and in particular relates to the technical fields of virtual cloud business, virtual asset, fund flow, cloud service, cloud computing and the like. The specific implementation scheme is as follows: determining target order attribute information of a target order in response to an order payment request of a target sub-account for the target order; determining a usable target cash coupon from a target main account number to which the target sub-account number belongs according to the target order attribute information; and transferring payment funds to the target sub-account according to the target amount of the target cash coupon, and performing order payment on the target order. The present disclosure improves payment speed and payment efficiency when a sub-account uses a cash coupon of a primary account to make an order payment.
Description
Technical Field
The disclosure relates to the technical field of computers, in particular to the technical fields of virtual cloud merchants, virtual assets, fund flows, cloud services, cloud computing and the like, and particularly relates to a method, a device, equipment and a medium for processing orders.
Background
With the development of computer technology, the scene of purchasing goods through a computer network is more and more frequent. The virtual cloud business is a platform which is built based on the existing cloud service technology, can provide commodity transaction functions, and supports the binding of multiple accounts of users.
The virtual cloud merchant may assign a cash coupon to the user for enticing the user to purchase the good through his primary or secondary account number.
Disclosure of Invention
The disclosure provides a processing method, a device, equipment and a medium for order for improving order payment efficiency.
According to an aspect of the present disclosure, there is provided a method for processing an order, including:
determining target order attribute information of a target order in response to an order payment request of a target sub-account for the target order;
determining a usable target cash coupon from a target main account number to which the target sub-account number belongs according to the target order attribute information;
and transferring payment funds to the target sub-account according to the target amount of the target cash coupon, and performing order payment on the target order.
According to another aspect of the present disclosure, there is provided an order processing apparatus, including:
The order attribute information determining module is used for determining target order attribute information of a target order in response to an order payment request of a target sub-account for the target order;
the target cash coupon determining module is used for determining a usable target cash coupon from a target main account number to which the target sub-account number belongs according to the target order attribute information;
and the fund transfer module is used for transferring payment fund to the target sub-account according to the target amount of the target cash coupon and carrying out order payment on the target order.
According to another aspect of the present disclosure, there is provided an electronic device including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of the present disclosure.
According to another aspect of the present disclosure, there is provided a non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the method of any one of the present disclosure.
According to another aspect of the present disclosure, there is provided a computer program product comprising a computer program which, when executed by a processor, performs the method of any of the present disclosure.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the disclosure, nor is it intended to be used to limit the scope of the disclosure. Other features of the present disclosure will become apparent from the following specification.
Drawings
The drawings are for a better understanding of the present solution and are not to be construed as limiting the present disclosure. Wherein:
FIG. 1 is a flow chart of a method of processing a number of orders disclosed in accordance with an embodiment of the present disclosure;
FIG. 2A is a flow chart of a method of processing other orders disclosed in accordance with an embodiment of the present disclosure;
FIG. 2B is a funding flow diagram of some order payment scenarios disclosed in accordance with embodiments of the present disclosure;
FIG. 3A is a flow chart of a method of processing other orders disclosed in accordance with an embodiment of the present disclosure;
FIG. 3B is a funding flow diagram of some order refund scenarios disclosed in accordance with embodiments of the present disclosure;
FIG. 4A is a flow chart of a method of processing further orders disclosed in accordance with an embodiment of the present disclosure;
FIG. 4B is a schematic funding flow diagram of some merchandise refund scenarios disclosed in accordance with an embodiment of the present disclosure;
FIG. 5 is a schematic diagram of an arrangement of some order processing devices disclosed in accordance with an embodiment of the present disclosure
FIG. 6 is a block diagram of an electronic device for implementing the order processing method disclosed in an embodiment of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present disclosure to facilitate understanding, and should be considered as merely exemplary. Accordingly, one of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
The virtual cloud merchant supports the function of a user for paying orders by using cash coupons across accounts, namely when a main account of the user has cash coupons, the user can use the cash coupons of the main account through the sub-accounts for paying orders initiated by the sub-accounts. The method can accelerate the development of potential customers by users and further assist the vigorous development of virtual cloud providers.
In the prior art, when a user wants to pay an order by using a cash coupon of a primary account through a sub-account, a virtual cloud provider is required to divide a new cash coupon based on the existing cash coupon through the primary account and distribute the new cash coupon to the sub-account, and when the sub-account acquires the new cash coupon, the operation of order payment is executed.
However, this approach requires the operations of cash note division and cash note distribution to be temporarily performed before the order payment operation is performed, which definitely results in a long payment waiting time, making the payment speed and payment efficiency of the order payment by the user through the sub account number low.
Fig. 1 is a flowchart of some order processing methods disclosed in embodiments of the present disclosure, where the present embodiments may be applicable to cases where a sub-account uses a cash-coupon of a primary account to make an order payment. The method of the embodiment can be executed by the order processing device disclosed by the embodiment of the disclosure, and the device can be implemented by software and/or hardware and can be integrated on any electronic equipment with computing capability, for example, integrated in a management platform of a virtual cloud provider.
As shown in fig. 1, the method for processing an order disclosed in this embodiment may include:
s101, determining target order attribute information of a target order in response to an order payment request of a target sub-account for the target order.
The target sub-account is an arbitrary account with a sub-account type registered on the virtual cloud provider platform, the account type of the target sub-account is a certain account (target main account) with a main account type, and information sharing can be performed between the target sub-account and the target sub-account, for example, a cash coupon with the target main account can be shared by the target sub-account.
The target order represents an order aimed by an order payment request initiated by the target sub-account, wherein the target order comprises at least one order item, and any order item comprises at least one order commodity.
The target order attribute information represents basic attribute information associated with the target order, including, but not limited to, order type, order merchandise area, order payment amount, and order payment time, among others.
In one embodiment, a user initiates an order payment request for a target order through a target sub-account, wherein the order payment request carries a target sub-account identifier of the target sub-account and target order attribute information of the target order.
The management platform of the virtual cloud business (hereinafter referred to as management platform) responds to the order payment request, analyzes the order payment request, and obtains the target sub-account identification of the target sub-account from the analysis result. And matching the target sub-account identification with the standard account identification of which the determined account type is the sub-account type, and determining whether the account type of the target sub-account is the sub-account type or not. And when the target sub-account identification is matched with any standard account identification, determining that the account type of the target sub-account is the sub-account type.
For example, assume that the standard account identification for which the account type has been determined to be a child account type includes: "10000", "10001", "10002", and "10003", when the target sub-account number of the target sub-account number is identified as any one of "10000", "10001", "10002", and "10003", the account number type of the target sub-account number is determined to be the sub-account number type.
And under the condition that the account type of the target sub-account is determined to be the sub-account type, the management platform continuously analyzes the order payment request and acquires target order attribute information of the target order from an analysis result.
The target order attribute information of the target order is determined by responding to the order payment request of the target sub-account for the target order, so that the effect of data preparation is achieved, and a data foundation is laid for the subsequent determination of the usable target cash coupon from the target main account based on the target order attribute information.
S102, according to the target order attribute information, determining a usable target cash register from the target main account number to which the target sub-account number belongs.
The target primary account number is an account number which is registered in the virtual cloud quotient platform, has a primary account number type and has a subordinate relation with the target sub-account number. The target sub-account number is covered in the sub-account number included in the target main account number, and the target sub-account number belongs to the target main account number. It will be appreciated that any primary account number may include one sub-account number, or may include multiple sub-account numbers.
And the management platform distributes at least one candidate cash coupon to the target main account number for replacing cash when the target main account number and any sub account number included in the target main account number pay orders. And the target cash coupon indicates a candidate cash coupon for use with the target order. When the target order attribute information of the target order meets the candidate use condition corresponding to any candidate cash coupon, the candidate cash coupon is indicated to be the target cash coupon available for the target order.
In one embodiment, the management platform determines at least one candidate cash coupon included in the target primary account number, and further determines candidate usage conditions corresponding to each candidate cash coupon. And analyzing the candidate use conditions corresponding to the candidate cash coupons, and determining candidate order attribute information included in the candidate use conditions.
And matching the acquired target order attribute information of the target order with candidate order attribute information included in each candidate use condition, and determining the candidate use condition satisfied by the target order attribute information as a target use condition. And taking the candidate cash coupon corresponding to the target use condition as a target cash coupon.
For example, assume that the candidate usage condition corresponding to any one of the candidate vouchers is "order commodity type: digital goods; order payment amount: more than 1000 yuan ", the candidate order attribute information included in the candidate usage condition corresponding to the candidate cash coupon is" order commodity type: digital commodity sum order payment amount: 1000 yuan or more). Assume that the target order attribute information of the target order includes "order commodity type: digital goods "and" order payment amount: 2000 "means that the target order attribute information matches the candidate order attribute information, i.e., the target order attribute information satisfies the candidate usage condition. Further, the candidate use condition is set as a target use condition, and the candidate cash is set as a target cash.
According to the target order attribute information, the usable target cash coupon is determined from the target main account to which the target sub-account belongs, so that the effect of determining the cash coupon available for the target sub-account across accounts is achieved, and the service requirement of sharing the cash coupon across accounts is met.
S103, transferring payment funds to the target sub-account according to the target amount of the target cash coupon, and performing order payment on the target order.
Wherein the target cash coupon is usable instead of cash in order payments for the target order, and the target amount represents a cash coupon amount of the target cash coupon. For example, assuming that the target cash amount of the target cash coupon is "20 yuan", it means that the target cash coupon can replace "20 yuan" cash when making an order payment for the target order, that is, it is equivalent to that the user can pay less "20 yuan" cash.
In one embodiment, the management platform determines a target amount of the target cash coupon, and extracts funds of corresponding amount from the fund vault of the virtual cloud merchant platform as payment funds according to the target amount. The management platform further transfers the payment funds to the target sub-account through a funds transfer interface between the management platform and the target sub-account, and the payment funds are used for carrying out order payment on the target order. For example, assuming that the target cash coupon is "20 yuan", the management platform extracts 20 yuan of payment funds from the fund vault of the virtual cloud merchant platform and transfers the funds into the target sub-account number for order payment of the target order.
In another embodiment, the management platform determines a target amount of the target cash coupon, and extracts funds of corresponding amount from the fund vault of the virtual cloud merchant platform as payment funds according to the target amount. The management platform transfers the payment funds to a funds balance pool in the target main account through a funds transfer interface between the management platform and the target main account, and transfers the payment funds to the target sub account from the funds balance pool based on the funds transfer interface between the target main account and the target sub account, so as to pay the order of the target order. For example, assuming that the target cash of the target cash coupon is "20 yuan", the management platform extracts 20 yuan of payment funds from the fund vault of the virtual cloud merchant platform and transfers the 20 yuan of payment funds into the funds balance pool in the target main account number, and further transfers the 20 yuan of payment funds from the funds balance pool into the target sub account number for order payment of the target order.
According to the method and the device, the target order attribute information of the target order is determined by responding to the order payment request of the target sub-account for the target order, the usable target cash coupon is determined from the target main account to which the target sub-account belongs according to the target order attribute information, and payment funds are transferred to the target sub-account according to the target amount of the target cash coupon and used for carrying out order payment on the target order, so that the effect of using cash coupons across accounts is achieved by directly transferring funds to the target sub-account, the order payment is not required to be carried out in a mode of temporarily transferring the cash coupon to the sub-account through the main account as in the prior art, the order payment flow is simplified, and the payment speed and the payment efficiency when the sub-account uses the cash coupon of the main account for carrying out order payment are improved.
FIG. 2A is a flow chart of a method of processing further orders disclosed in accordance with an embodiment of the present disclosure, further optimized and expanded based on the above-described solution, and may be combined with the various alternative embodiments described above.
As shown in fig. 2A, the method for processing an order disclosed in this embodiment may include:
s201, determining target order attribute information of a target order in response to an order payment request of the target sub-account for the target order.
S202, determining a target sub-account identification of the target sub-account, matching the target sub-account identification with the candidate sub-account identification and the association relation between the candidate main accounts, and determining the target main account to which the target sub-account belongs from the candidate main accounts according to a matching result.
Wherein the target sub-account number identification represents a unique account number identification of the target sub-account number. The candidate primary account number represents an account number of which all account number types registered in the virtual cloud provider platform are primary account number types. And constructing an association relationship between the candidate sub-account identification of each candidate sub-account and each candidate main account according to the candidate sub-account included in each candidate main account in advance, namely directly determining the candidate main account to which the candidate sub-account belongs according to the candidate sub-account identification of any candidate sub-account.
In one embodiment, the management platform determines a target sub-account identifier of the target sub-account, matches the target sub-account identifier with each candidate sub-account identifier, determines a candidate sub-account identifier matched with the target sub-account identifier, and uses the candidate main account associated with the candidate sub-account identifier matched with the target sub-account identifier as the target main account to which the target sub-account belongs according to the association relationship between the candidate sub-account identifier and the candidate main account.
For example, assuming that the target sub-account number of the target sub-account number a is identified as "000001", and that the candidate sub-account number identification "000001" has an association relationship with the candidate primary account number B, the candidate primary account number B is taken as the target primary account number to which the target sub-account number a belongs.
The target sub-account identification of the target sub-account is determined, the target sub-account identification is matched with the candidate sub-account identification and the association relation between the candidate main accounts, the target main account to which the target sub-account belongs is determined from the candidate main accounts according to the matching result, and due to the uniqueness of the account identification, the target main account to which the target sub-account belongs can be determined accurately, and the problem of misuse of cash notes is avoided.
S203, determining candidate cash coupons included in the target primary account number, and determining candidate use conditions corresponding to the candidate cash coupons.
Wherein the candidate use condition indicates an order attribute condition that can use the corresponding candidate cash coupon. Only if the order attribute information of any order meets the candidate use condition of any candidate cash coupon, the order can use the candidate cash coupon.
In one embodiment, the management platform determines the candidate cash-out records included in the target primary account number, and determines candidate use conditions of the candidate cash-out records in the target primary account number according to an association relationship between the preset candidate cash-out records and the candidate use conditions.
S204, matching the target order attribute information with candidate order attribute information included in the candidate use conditions, determining target use conditions met by the target order attribute information from the candidate use conditions according to the matching result, and taking the candidate cash vouchers corresponding to the target use conditions as target cash vouchers.
The candidate use condition is composed of at least one candidate order attribute information, namely, when the order attribute information of any order meets the candidate order attribute information included in any candidate use condition, the candidate order attribute information indicates that the order can use the candidate cash coupon. The candidate order attribute information includes, but is not limited to, order type, order commodity area, order payment amount, order payment time, order payment mode, and the like.
In one embodiment, candidate order attribute information included in candidate usage conditions of each candidate cash coupon is determined, target order attribute information of a target order is matched with each candidate order attribute information, if the target order attribute information is matched with candidate order attribute information included in any candidate usage condition, the candidate usage condition is taken as a target usage condition, and a candidate cash coupon corresponding to the target usage condition is taken as a target cash coupon.
For example, assume that the candidate usage condition of any candidate cash coupon includes candidate order attribute information of "order payment time: 0:00-1:00; order payment amount: 1000 yuan or more; order payment mode: bank card payment or cash payment; order commodity area: the city of B, province a). Assume that target order attribute information of a target order includes "order payment time: 0:30"," order payment amount: 2000 yuan "," order payment mode: bank card payment "," order merchandise area: and A province B city ", wherein the target order attribute information is determined to be matched with the candidate order attribute information, the candidate using condition is used as a target using condition, and the candidate cash is used as a target cash which can be used by the target order.
The candidate cash coupon corresponding to the target main account number is determined, the candidate use condition corresponding to the candidate cash coupon is determined, the target order attribute information is matched with the candidate order attribute information included in the candidate use condition, the target use condition met by the target order attribute information is determined from the candidate use condition according to the matching result, the candidate cash coupon corresponding to the target use condition is used as the target cash coupon, the effect of accurately determining the target cash coupon which can be used by the target order is achieved, the problem that the payment funds of the order are abnormal due to misuse of the cash coupon is avoided, and the reliability and safety of order payment are guaranteed.
S205, determining a first user identifier of a user to which the target cash coupon belongs and a second user identifier of a user to which the target sub-account belongs, comparing the first user identifier with the second user identifier, and performing authority verification on the target sub-account according to a comparison result.
When the cash coupons are distributed to the primary account numbers, the management platform sets a user identifier of the user to which each cash coupon belongs, namely, only the user meeting the user identifier can use the corresponding cash coupon. And for each sub-account, the user identification of the user to which the account belongs is also set during account registration. It can be understood that, in this embodiment, the user identifier of the user to which the target cash coupon belongs is used as the first user identifier, and the user identifier of the user to which the target sub-account belongs is used as the second user identifier.
In one embodiment, the management platform determines a first user identification of a user to whom the target cash coupon belongs and a second user identification of a user to which the target sub-account belongs. Comparing the first user identification with the second user identification, if the first user identification is the same as the second user identification, the user to which the target cash coupon belongs and the user to which the target sub-account belongs are indicated to be the same user, and the target sub-account has permission to use the target cash coupon, namely permission verification is passed; if the first user identification is different from the second user identification, the fact that the user to which the target cash coupon belongs and the user to which the target sub-account belongs are not the same user is indicated, and the target sub-account is not authorized to use the target cash coupon, namely the authorization verification fails.
The first user identification and the second user identification of the user to which the target cash coupon belongs are compared through determining the first user identification of the user to which the target cash coupon belongs and the second user identification of the user to which the target sub-account belongs, and the target sub-account is subjected to authority verification according to the comparison result, so that the target cash coupon can be used only by the same target sub-account of the user to which the target cash coupon belongs, the use safety of the cash coupon is improved, and the order payment safety is further improved.
S206, transferring payment funds into a funds balance pool of the target main account number according to the target amount under the condition that the authority verification is passed.
Each user has a unique fund balance pool, and the fund balance pool is arranged in a primary account number under a user name and used for containing payment funds distributed by a storage management platform.
In one embodiment, the management platform first forwards the paid funds to the external pool of funds for the target primary account number based on the target amount. Each user is provided with a unique fund external pool, and the fund external pool is arranged in a main account number under a user name and used for temporarily storing payment funds distributed by the management platform. For example, assuming that there are three target cash coupons, the target amounts are 10, 15, and 20, respectively, three funds are transferred into the funds external pool, 10, 15, and 20.
The management platform further obtains the payment funds from the external pool of funds and transfers the payment funds further into the balance pool of funds of the target primary account number. For example, assuming that three payment funds of 10, 15 and 20 are temporarily stored in the external fund pool of the target primary account, the management platform transfers the three payment funds to the fund balance pool of the target primary account, respectively.
S207, obtaining payment funds from the funds balance pool, and transferring the payment funds into the second funds transfer pool of the target sub-account through the first funds transfer pool of the target main account.
The first funds transfer pool and the second funds transfer pool can transfer funds into the second funds transfer pool, and the second funds transfer pool can also transfer funds into the first funds transfer pool, so that funds transfer between the target primary account and the target sub-account is realized.
In one embodiment, the management platform obtains the payout funds from the funds balance pool in the target primary account number and transfers the payout funds to the first funds transfer pool in the target primary account number. And transferring the payout funds into the second funds transfer pool in the target sub-account based on the funds transfer capability between the first funds transfer pool and the second funds transfer pool.
S208, obtaining payment funds from the second funds transfer pool, determining a target order freezing pool corresponding to the target order from the candidate order freezing pools of the target sub-account, and transferring the payment funds into the target order freezing pool for order payment of the target order.
Wherein an order corresponds to a candidate order freeze pool for storing total funds paid for the order, thereby freezing the total funds to indicate that the user has completed the payment for the order. I.e., when the total funds paid for any one order is transferred to the candidate order freezing pool corresponding to the order, the user is indicated to have completed the payment operation for the order. Wherein the total paid funds include paid funds generated according to the amount of the cash coupon and cash paid according to the user.
In one embodiment, the management platform obtains payment funds from the second funds transfer pool of the target sub-account, and determines a target order freezing pool corresponding to the target order from candidate order freezing pools of the target sub-account according to the target order identification of the target order.
The management platform further transfers the payment funds into the target order freeze pool and modifies the order status of the target order from an "unpaid status" to a "paid status", indicating that the user has completed the payment operation for the target order. And, the management platform may also adjust the amount of the target primary account number remaining cash coupon according to the target amount of the target cash coupon completed, for example, if the target amount of the target cash coupon completed is "100 yuan", the amount of the target primary account number remaining cash coupon is subtracted by 100 yuan.
The method comprises the steps of transferring payment funds into a funds balance pool of a target main account according to target amount, obtaining the payment funds from the funds balance pool, transferring the payment funds into a second funds transfer pool of a target sub-account through a first funds transfer pool of the target main account, obtaining the payment funds from the second funds transfer pool, determining a target order freezing pool corresponding to a target order from a candidate order freezing pool of the target sub-account, transferring the payment funds into the target order freezing pool, and therefore achieving the effect of using cash coupons to pay an order across accounts through funds flowing among the funds pools.
Optionally, after transferring the payment funds into the target order freezing pool, further comprising:
a1, determining auxiliary cash vouchers used by candidate order commodities from target cash vouchers according to the candidate order commodities contained in the target order, and determining target commodity freezing pools corresponding to the candidate order commodities from candidate commodity freezing pools of target sub-accounts.
The target order comprises at least one candidate order commodity, and the type of the candidate order commodity can be either a physical commodity or a virtual commodity.
The method comprises the steps that a candidate commodity of a candidate order corresponds to a candidate commodity freezing pool, the candidate commodity freezing pool is used for temporarily storing payment sub-funds corresponding to the commodity of the candidate order, namely, the payment funds of a target order are divided according to the commodity of the candidate order, at least one payment sub-funds are obtained, and each payment sub-funds are temporarily stored in the candidate commodity freezing pool corresponding to each commodity of the candidate order.
In one embodiment, the management platform determines at least one candidate order item contained in the target order and determines an auxiliary coupon for use with each candidate order item from the target coupons. For example, assuming that the target order includes candidate order item A, candidate order item B, and candidate order item C, and the target cash coupon includes three of "10-membered", "15-membered", and "20-membered", wherein the "10-membered" target cash coupon is used by candidate order item A, the "10-membered" target cash coupon is taken as an auxiliary cash coupon for candidate order item A; the 15-element target cash coupon is used by the candidate order commodity B, and then the 15-element target cash coupon is used as an auxiliary cash coupon of the candidate order commodity B; and using the 20-element target cash coupon by the candidate order commodity C, and taking the 20-element target cash coupon as an auxiliary cash coupon of the candidate order commodity C.
The management platform further determines a target commodity freezing pool corresponding to the commodity of the candidate order from at least one candidate commodity freezing pool according to the candidate commodity identification of the commodity of any candidate order.
And B1, acquiring the payment sub-funds from the target order freezing pool according to the auxiliary amount of the auxiliary cash coupon, and transferring the payment sub-funds into the target commodity freezing pool.
In one embodiment, the management platform correspondingly acquires the payment sub-funds from the target order freezing pool to which the target order belongs according to the auxiliary amount of the auxiliary cash coupon used by any candidate order commodity, and transfers the payment sub-funds into the target commodity freezing pool corresponding to the candidate order commodity.
And C1, acquiring the payment sub-funds from the target commodity freezing pool, and transferring the payment sub-funds into the commodity owner account number.
The commodity owner account number is an account number of a commodity owner to which the candidate order commodity belongs, and the commodity owner represents a user who sells the candidate order commodity. For example, assuming that the candidate order commodity B is sold by the owner a, the account number of the owner a is taken as the account number of the owner to which the candidate order commodity B belongs.
In one embodiment, the payment sub-funds corresponding to the candidate order commodity are obtained from the target commodity freezing pool corresponding to any candidate order commodity, and the payment sub-funds are transferred to the user consumption pool in the owner account number to which the candidate order commodity belongs, so that the owner obtains the benefit from the order transaction.
The auxiliary cash vouchers used by the candidate order commodities are determined from the target cash vouchers according to the candidate order commodities contained in the target order, the target commodity freezing pools corresponding to the candidate order commodities are determined from the candidate commodity freezing pools of the target sub-accounts, the payment sub-funds are obtained from the target order freezing pools according to the auxiliary amount of the auxiliary cash vouchers, the payment sub-funds are transferred to the target commodity freezing pools, the payment sub-funds are obtained from the target commodity freezing pools, and the payment sub-funds are transferred to commodity owner accounts, so that the owner obtains benefits from the order transaction through the funds flowing between the fund pools, and the whole business chain for obtaining the benefits from the user to pay the owner through order payment is efficient and safe.
Fig. 2B is a funding flow diagram of some order payment scenarios disclosed in accordance with embodiments of the present disclosure, as shown in fig. 2B, including:
and the management platform transfers the payment funds into the funds balance pool of the target primary account number.
And the management platform acquires the payment funds from the funds balance pool and transfers the payment funds to the second funds transfer pool of the target sub-account through the first funds transfer pool of the target main account.
And the management platform acquires the payment funds from the second funds transfer pool, and transfers the payment funds into the target order freezing pool for order payment of the target order.
And the management platform acquires the payment sub-funds from the target order freezing pool and transfers the payment sub-funds into the target commodity freezing pool.
And the management platform acquires the payment sub-funds from the target commodity freezing pool, and transfers the payment sub-funds to a user consumption pool of a commodity owner account number so that the owner obtains the benefits from the order transaction.
The specific implementation manner of each step may refer to descriptions of related contents of the embodiments of the present disclosure, which are not repeated herein.
Fig. 3A is a flowchart of another order processing method disclosed in the embodiment of the present disclosure, where the embodiment may be applicable to a case of performing an order refund across accounts, is further optimized and expanded based on the above technical solution, and may be combined with the above various optional embodiments.
As shown in fig. 3A, the method for processing an order disclosed in this embodiment may include:
s301, determining a target primary account number to which the target sub-account number belongs in response to an order refund request of the target sub-account number for the target order.
In one embodiment, a user initiates an order refund request for a target order through a target sub-account, wherein the order refund request carries a target sub-account identifier of the target sub-account and a target amount of a target cash coupon used by the target order.
And the management platform responds to the order refund request, analyzes the order refund request, and acquires the target sub-account identification of the target sub-account from the analysis result. And matching the target sub-account identification with the standard account identification of which the determined account type is the sub-account type, and determining whether the account type of the target sub-account is the sub-account type or not. And when the target sub-account identification is matched with any standard account identification, determining that the account type of the target sub-account is the sub-account type.
The management platform further matches the target sub-account identification with each candidate sub-account identification, determines the candidate sub-account identification matched with the target sub-account identification, and uses the candidate main account associated with the candidate sub-account identification matched with the target sub-account identification as the target main account to which the target sub-account belongs according to the association relationship between the candidate sub-account identification and the candidate main account.
S302, determining target amount of a target cash coupon used by the target order, acquiring order refund funds from a target sub-account according to the target amount, and transferring the order refund funds into a target main account.
In one embodiment, the management platform continues to parse the order refund request and obtains a target amount of the target cash coupon used by the target order from the parsing result. And the management platform acquires funds with the same amount from the target sub-account number according to the target amount to serve as order refund funds, and further transfers the order refund funds into the target main account number.
The method comprises the steps of responding to an order refund request of a target sub-account for a target order, determining a target main account to which the target sub-account belongs, determining target amount of a target cash coupon used by the target order, acquiring order refund funds from the target sub-account according to the target amount, transferring the order refund funds into the target main account, realizing the effect of carrying out order refund across accounts, meeting the business requirement of a user on a refund scene across accounts, and improving the user experience of the user using a virtual cloud merchant.
Optionally, obtaining the order refund funds from the target sub-account according to the target amount and transferring the order refund funds into the target main account includes:
a2, determining a target order freezing pool corresponding to the target order from the candidate order freezing pools of the target sub-account.
In one embodiment, the management platform determines a target order freezing pool corresponding to the target order from candidate order freezing pools of the target sub-account according to the target order identification of the target order.
And B2, acquiring order refund funds from the target order freezing pool according to the target amount, and transferring the order refund funds into the first funds transfer pool of the target primary account through the second funds transfer pool of the target secondary account.
In one embodiment, the management platform obtains funds of the same amount from the target order freeze pool as order refund funds according to the target amount and transfers the order refund funds to the second funds transfer pool in the target sub-account. And transferring the order refund funds into the first funds transfer pool in the target primary account number based on the funds transfer capability between the second funds transfer pool and the first funds transfer pool.
And C2, acquiring order refund funds from the first funds transfer pool, and transferring the order refund funds into a funds balance pool of the target primary account number.
In one embodiment, the management platform obtains the refund funds of the order from the first funds transfer pool and transfers the refund funds of the order to the funds balance pool of the target primary account number, thereby modifying the order status of the target order from "paid status" to "refund status", indicating that the user has completed refund operations for the target order. And, the management platform may also adjust the amount of the target primary account number remaining cash and the usage time limit according to the target amount of the refund target cash coupon, for example, if the target amount of the refund target cash coupon is "100 yuan", the amount of the target primary account number remaining cash coupon is added with 100 yuan, and the usage time limit of the remaining cash coupon is prolonged by a preset time, for example, by one month.
Determining a target order freezing pool corresponding to a target order from candidate order freezing pools of target sub-accounts, acquiring order refund funds from the target order freezing pool according to target amount, transferring the order refund funds to a first funds transfer pool of a target main account through a second funds transfer pool of the target sub-account, acquiring order refund funds from the first funds transfer pool, and transferring the order refund funds to a funds balance pool of the target main account, thereby realizing the effect of performing order refund across accounts through reverse flow of funds between the funds pools, and being efficient and safe; in addition, the present disclosure relates to only the flow of funds between account numbers, and since funds can be directly combined, the present disclosure can be effectively applied to an order refund scenario, and the problem that in the prior art, if the present disclosure relates to order refund, the present coupon cannot be combined in a manner of paying an order by transferring a cash coupon does not occur.
Fig. 3B is a funding flow diagram of some order refund scenarios disclosed in accordance with an embodiment of the present disclosure, as shown in fig. 3B, including:
and the management platform acquires the order refund funds from the target order freezing pool of the target sub-account, and transfers the order refund funds to the first funds transfer pool of the target main account through the second funds transfer pool of the target sub-account.
And the management platform acquires the order refund funds from the first funds transfer pool and transfers the order refund funds to the funds balance pool of the target primary account number.
The specific implementation manner of each step may refer to descriptions of related contents of the embodiments of the present disclosure, which are not repeated herein.
Fig. 4A is a flowchart of another order processing method disclosed in the embodiment of the present disclosure, where the embodiment may be applicable to a case of performing a refund of a commodity across account numbers, is further optimized and expanded based on the above technical solution, and may be combined with the above various optional embodiments.
As shown in fig. 4A, the method for processing an order disclosed in this embodiment may include:
s401, responding to a commodity refund request of the target sub-account for the candidate order commodity in the target order, determining a target main account to which the target sub-account belongs, and determining an auxiliary cash used by the candidate order commodity from the target cash.
In one embodiment, a user initiates a commodity refund request for a candidate order commodity in a target order through a target sub-account, wherein the commodity refund request carries a target sub-account identification of the target sub-account and an auxiliary cash coupon used by the candidate order commodity.
And the management platform responds to the commodity refund request, analyzes the commodity refund request, and acquires the target sub-account identification of the target sub-account from the analysis result. And matching the target sub-account identification with the standard account identification of which the determined account type is the sub-account type, and determining whether the account type of the target sub-account is the sub-account type or not. And when the target sub-account identification is matched with any standard account identification, determining that the account type of the target sub-account is the sub-account type.
The management platform further matches the target sub-account identification with each candidate sub-account identification, determines the candidate sub-account identification matched with the target sub-account identification, and uses the candidate main account associated with the candidate sub-account identification matched with the target sub-account identification as the target main account to which the target sub-account belongs according to the association relationship between the candidate sub-account identification and the candidate main account.
And the management platform continuously analyzes the commodity refund request and acquires the auxiliary cash coupon used by the commodity of the candidate order form from the analysis result.
And S402, acquiring commodity refund funds from the target sub-account according to the auxiliary amount of the auxiliary cash coupon, and transferring the commodity refund funds into the target main account.
In one embodiment, the management platform obtains funds of the same amount from the target sub-account number as commodity refund funds according to the auxiliary amount, and further transfers the commodity refund funds into the target main account number.
The commodity refund funds are obtained from the target sub-account according to the auxiliary amount of the auxiliary cash register, and transferred into the target main account, so that the effect of commodity refund across accounts is realized, a refund function not only supports order refund, but also supports refund for any commodity in the order, the service requirement of a user on a commodity refund scene across accounts is met, and the user experience of the user using a virtual cloud merchant is improved.
Optionally, acquiring the commodity refund funds from the target sub-account according to the auxiliary amount of the auxiliary cash coupon, and transferring the commodity refund funds into the target main account, including:
a3, determining a target commodity freezing pool corresponding to the commodity of the candidate order from the candidate commodity freezing pools of the target sub-account.
In one embodiment, the management platform determines a target commodity freezing pool corresponding to the candidate commodity of the order from the candidate commodity freezing pools of the target sub-account according to the candidate commodity identification of the candidate commodity of the order.
And B3, acquiring commodity refund funds from the target commodity freezing pool according to the auxiliary amount, and transferring the commodity refund funds into the first funds transfer pool of the target main account through the second funds transfer pool of the target sub-account.
In one embodiment, the management platform obtains funds of the same amount from the target commodity freezing pool as commodity refund funds according to the auxiliary amount, and transfers the commodity refund funds into the second funds transfer pool in the target sub-account. And transferring the commodity refund funds into the first funds transfer pool in the target primary account number based on the funds transfer capability between the second funds transfer pool and the first funds transfer pool.
And C3, acquiring commodity refund funds from the first funds transfer pool, and transferring the commodity refund funds to a funds balance pool of the target primary account number.
In one embodiment, the management platform obtains commodity refund funds from the first funds transfer pool and transfers the commodity refund funds to the funds balance pool of the target primary account number, indicating that the user has completed refund operations for the candidate order commodity. And, the management platform may also adjust the amount of the target primary account number remaining cash and the usage time limit according to the amount of the refund auxiliary cash, for example, if the amount of the refund auxiliary cash is "10 yuan", the amount of the target primary account number remaining cash is added with 10 yuan, and the usage time limit of the remaining cash is prolonged by a preset time, for example, by one month.
Determining a target commodity freezing pool corresponding to a commodity of a candidate order from candidate commodity freezing pools of a target sub-account, acquiring commodity refund funds from the target commodity freezing pool according to auxiliary amount, transferring the commodity refund funds to a first funds transfer pool of a target main account through a second funds transfer pool of the target sub-account, acquiring commodity refund funds from the first funds transfer pool, and transferring the commodity refund funds to a funds balance pool of the target main account, so that the effect of commodity refund across accounts is realized through reverse flow of funds between the funds pools, and the method is efficient and safe; in addition, the present disclosure relates to only the flow of funds between account numbers, and since funds can be directly combined, the present disclosure can be effectively applied to commodity refund scenes, and the problem that in the prior art, if commodity refund is involved, cash vouchers cannot be combined in a manner of paying orders by transferring cash vouchers does not occur.
Fig. 4B is a funding schematic diagram of some merchandise refund scenarios disclosed in accordance with an embodiment of the present disclosure, as shown in fig. 4B, including:
and the management platform acquires commodity refund funds from the target commodity freezing pool and transfers the commodity refund funds to the first funds transfer pool of the target main account through the second funds transfer pool of the target sub-account.
And the management platform acquires commodity refund funds from the first funds transfer pool and transfers the commodity refund funds to the funds balance pool of the target primary account number.
The specific implementation manner of each step may refer to descriptions of related contents of the embodiments of the present disclosure, which are not repeated herein.
The embodiment of the disclosure also discloses a business implementation mode of order payment, which is divided into a stage and a two stage:
in one stage:
1. the management platform determines whether the account type of the target sub-account is the sub-account type, if so, the target main account to which the target sub-account belongs is determined.
2. And the management platform acquires the candidate cash vouchers of the target main account number.
3. And the management platform determines available target cash vouchers from the target primary account numbers according to the target order attribute information.
4. The management platform creates an initial payment ID for the target order.
In two phases:
1. the management platform acquires the target order according to the initial payment ID of the target order in one stage, and locks the target cash coupon.
2. And the management platform performs idempotent examination on the target order, determines whether the order state of the target order is an unpaid state, if so, continues processing, and if not, feeds back a result to the target sub-account. For preventing the problem of repeated processing of the same target order due to unstable network.
3. The management platform compares a first user identifier of a user to which the target cash coupon belongs with a second user identifier of a user to which the target sub-account belongs, and is used for verifying the authority of the target sub-account.
4. And under the condition that the authority verification is passed, the management platform transfers the payment funds from the funds external pool to the funds balance pool.
5. The management platform locks the fund balance pool, the first fund transfer pool, the second fund transfer pool and the target order freezing pool, judges whether the balance of the fund balance pool is positive, and binds the target cash coupon with each fund pool.
6. The management platform obtains the payment funds from the funds balance pool as the transfer entity.
7. And transferring funds by the management platform, namely transferring the payment funds through a funds balance pool, a first funds transfer pool, a second funds transfer pool and a target order freezing pool, and performing order payment on the target order.
8. The management platform creates a funds transfer record.
9. And the management platform records the fund transfer association relation between the target main account number and the target sub account number.
10. The management platform modifies the order state of the target order from an 'unpaid state' to a 'paid state', and adjusts the amount of the target primary account number remaining vouchers according to the target amount of the target vouchers used to be completed.
The specific implementation manner of each step may refer to descriptions of related contents of the embodiments of the present disclosure, which are not repeated herein.
Fig. 5 is a schematic structural diagram of some order processing apparatuses according to an embodiment of the present disclosure, which may be applicable to a case where a sub-account uses a cash coupon of a main account to pay an order. The device of the embodiment can be implemented by software and/or hardware, and can be integrated on any electronic equipment with computing capability.
As shown in fig. 5, the processing apparatus 50 for an order disclosed in this embodiment may include an order attribute information determining module 51, a target coupon determining module 52, and a funds transfer module 53, where:
an order attribute information determining module 51, configured to determine target order attribute information of a target order in response to an order payment request of the target sub-account for the target order;
the target cash register determining module 52 is configured to determine, according to the target order attribute information, a usable target cash register from the target primary account numbers to which the target sub-account numbers belong;
and a funds transfer module 53, configured to transfer payment funds to the target sub-account number according to the target amount of the target cash coupon, and perform order payment on the target order.
Optionally, the device further comprises a target primary account number determining module, specifically configured to:
determining a target sub-account identification of the target sub-account, and matching the target sub-account identification with the candidate sub-account identification and the association relationship between the candidate main accounts;
and determining the target primary account number to which the target sub-account number belongs from the candidate primary account numbers according to the matching result.
Optionally, the target cash coupon determination module 52 is specifically configured to:
determining candidate cash coupons included in the target primary account number, and determining candidate use conditions corresponding to the candidate cash coupons;
matching the target order attribute information with candidate order attribute information included in the candidate use conditions, and determining target use conditions satisfied by the target order attribute information from the candidate use conditions according to the matching result;
and taking the candidate cash coupon corresponding to the target use condition as a target cash coupon.
Optionally, the device further comprises a permission verification module, specifically configured to:
determining a first user identifier of a user to which the target cash coupon belongs and a second user identifier of the user to which the target sub-account belongs;
and comparing the first user identifier with the second user identifier, and performing authority verification on the target sub-account according to the comparison result.
Optionally, the funds transfer module 53 is specifically configured to:
transferring payment funds into a funds balance pool of the target primary account number according to the target amount;
obtaining payment funds from the funds balance pool, and transferring the payment funds to a second funds transfer pool of the target sub-account through a first funds transfer pool of the target main account;
obtaining payment funds from the second funds transfer pool, and determining a target order freezing pool corresponding to the target order from candidate order freezing pools of the target sub-account;
the payment funds are transferred to the target order freeze pool.
Optionally, the device further comprises a manifest account transfer module, specifically configured to:
determining an auxiliary cash coupon used by the candidate order commodity from the target cash coupon according to the candidate order commodity contained in the target order, and determining a target commodity freezing pool corresponding to the candidate order commodity from candidate commodity freezing pools of the target sub-account;
according to the auxiliary amount of the auxiliary cash coupon, acquiring a payment sub-fund from the target order freezing pool, and transferring the payment sub-fund into the target commodity freezing pool;
obtaining payment sub-funds from the target commodity freezing pool, and transferring the payment sub-funds into a commodity owner account;
The commodity owner account number is the account number of the commodity owner of the candidate order commodity.
Optionally, the apparatus further includes an order refund processing module, specifically configured to:
responding to an order refund request of the target sub-account for the target order, and determining a target main account to which the target sub-account belongs;
and determining the target amount of the target cash coupon used by the target order, acquiring order refund funds from the target sub-account according to the target amount, and transferring the order refund funds into the target main account.
Optionally, the order refund processing module is specifically further configured to:
determining a target order freezing pool corresponding to the target order from candidate order freezing pools of the target sub-account;
acquiring order refund funds from the target order freezing pool according to the target amount, and transferring the order refund funds into the first funds transfer pool of the target main account through the second funds transfer pool of the target sub-account;
and obtaining the order refund funds from the first funds transfer pool and transferring the order refund funds to the funds balance pool of the target primary account number.
Optionally, the device further comprises a commodity refund processing module, specifically configured to:
responding to a commodity refund request of the target sub-account for the candidate order commodity in the target order, determining a target main account to which the target sub-account belongs, and determining an auxiliary cash coupon used by the candidate order commodity from the target cash coupon;
And acquiring commodity refund funds from the target sub-account according to the auxiliary amount of the auxiliary cash coupon, and transferring the commodity refund funds into the target main account.
Optionally, the commodity refund processing module is specifically further configured to:
determining a target commodity freezing pool corresponding to the commodity of the candidate order from the candidate commodity freezing pools of the target sub-account;
acquiring commodity refund funds from the target commodity freezing pool according to the auxiliary amount, and transferring the commodity refund funds into the first funds transfer pool of the target main account through the second funds transfer pool of the target sub-account;
and acquiring commodity refund funds from the first funds transfer pool, and transferring the commodity refund funds to a funds balance pool of the target primary account number.
The order processing device 50 disclosed in the embodiment of the present disclosure may execute the order processing method disclosed in the embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method. Reference may be made to the description of embodiments of the disclosed method for details not described in this embodiment.
In the technical scheme of the disclosure, the acquisition, storage, application and the like of the related user personal information all conform to the regulations of related laws and regulations, and the public sequence is not violated.
According to embodiments of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
Fig. 6 illustrates a schematic block diagram of an example electronic device 600 that may be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 6, the apparatus 600 includes a computing unit 601 that can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM) 602 or a computer program loaded from a storage unit 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the device 600 may also be stored. The computing unit 601, ROM 602, and RAM 603 are connected to each other by a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
Various components in the device 600 are connected to the I/O interface 605, including: an input unit 606 such as a keyboard, mouse, etc.; an output unit 607 such as various types of displays, speakers, and the like; a storage unit 608, such as a magnetic disk, optical disk, or the like; and a communication unit 609 such as a network card, modem, wireless communication transceiver, etc. The communication unit 609 allows the device 600 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The computing unit 601 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of computing unit 601 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 601 performs the respective methods and processes described above, for example, the processing method of an order. For example, in some embodiments, the method of processing an order may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as storage unit 608. In some embodiments, part or all of the computer program may be loaded and/or installed onto the device 600 via the ROM 602 and/or the communication unit 609. When the computer program is loaded into RAM 603 and executed by the computing unit 601, one or more steps of the order processing method described above may be performed. Alternatively, in other embodiments, the computing unit 601 may be configured to execute the processing method of the order in any other suitable way (e.g., by means of firmware).
Various implementations of the systems and techniques described here above can be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), complex Programmable Logic Devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for carrying out methods of the present disclosure may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus such that the program code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the internet.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server may be a cloud server, a server of a distributed system, or a server incorporating a blockchain.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps recited in the present disclosure may be performed in parallel or sequentially or in a different order, provided that the desired results of the technical solutions of the present disclosure are achieved, and are not limited herein.
The above detailed description should not be taken as limiting the scope of the present disclosure. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present disclosure are intended to be included within the scope of the present disclosure.
Claims (23)
1. A method of processing an order, comprising:
determining target order attribute information of a target order in response to an order payment request of a target sub-account for the target order;
determining a usable target cash coupon from a target main account number to which the target sub-account number belongs according to the target order attribute information;
and transferring payment funds to the target sub-account according to the target amount of the target cash coupon, and performing order payment on the target order.
2. The method according to claim 1, wherein before determining the available target cash coupon from the target primary account number to which the target sub-account number belongs according to the target order attribute information, the method further comprises:
determining a target sub-account identification of the target sub-account, and matching the target sub-account identification with the candidate sub-account identification and the association relationship between the candidate main accounts;
and determining the target primary account number to which the target sub-account number belongs from the candidate primary account numbers according to the matching result.
3. The method of claim 1, wherein the determining, from the target primary account number to which the target sub-account number belongs, a usable target coupon according to the target order attribute information includes:
determining a candidate cash coupon included in the target main account number, and determining a candidate use condition corresponding to the candidate cash coupon;
matching the target order attribute information with candidate order attribute information included in the candidate use conditions, and determining target use conditions met by the target order attribute information from the candidate use conditions according to a matching result;
and taking the candidate cash coupon corresponding to the target use condition as the target cash coupon.
4. The method of claim 1, the transferring funds to the target sub-account number in accordance with the target amount of the target cash coupon further comprising:
determining a first user identifier of a user to which the target cash coupon belongs and a second user identifier of the user to which the target sub-account belongs;
and comparing the first user identifier with the second user identifier, and performing authority verification on the target sub-account according to the comparison result.
5. The method of claim 1, wherein the transferring funds to the target sub-account number according to the target amount of the target cash coupon comprises:
transferring payment funds into a funds balance pool of the target primary account number according to the target amount;
acquiring the payment funds from the funds balance pool, and transferring the payment funds into a second funds transfer pool of the target sub-account through a first funds transfer pool of the target main account;
acquiring the payment funds from the second funds transfer pool, and determining a target order freezing pool corresponding to the target order from candidate order freezing pools of the target sub-account;
and transferring the payment funds into the target order freezing pool.
6. The method of claim 5, after the transferring the payment funds into the target order freeze pool, further comprising:
determining an auxiliary cash coupon used by the candidate order commodity from the target cash coupon according to the candidate order commodity contained in the target order, and determining a target commodity freezing pool corresponding to the candidate order commodity from candidate commodity freezing pools of the target sub-account;
according to the auxiliary amount of the auxiliary cash coupon, obtaining a payment sub-fund from the target order freezing pool, and transferring the payment sub-fund into the target commodity freezing pool;
acquiring the payment sub-funds from the target commodity freezing pool, and transferring the payment sub-funds into a commodity owner account;
the commodity owner account number is an account number of a commodity owner to which the candidate order commodity belongs.
7. The method of claim 1, further comprising:
responding to an order refund request of a target sub-account for a target order, and determining a target main account to which the target sub-account belongs;
and determining the target amount of the target cash coupon used by the target order, acquiring order refund funds from the target sub-account according to the target amount, and transferring the order refund funds into the target main account.
8. The method of claim 7, wherein the obtaining order refund funds from the target sub-account number according to the target amount and transferring the order refund funds into the target primary account number comprises:
determining a target order freezing pool corresponding to the target order from candidate order freezing pools of the target sub-account;
acquiring the order refund funds from the target order freezing pool according to the target amount, and transferring the order refund funds into a first funds transfer pool of the target primary account through a second funds transfer pool of the target sub-account;
and acquiring the order refund funds from the first funds transfer pool, and transferring the order refund funds into the funds balance pool of the target primary account number.
9. The method of claim 1, further comprising:
responding to a commodity refund request of a target sub-account for a candidate order commodity in a target order, determining a target main account to which the target sub-account belongs, and determining an auxiliary cash register used by the candidate order commodity from the target cash register;
and acquiring commodity refund funds from the target sub-account according to the auxiliary amount of the auxiliary cash coupon, and transferring the commodity refund funds into the target main account.
10. The method of claim 9, wherein the obtaining commodity refund funds from the target sub-account number according to the auxiliary amount of the auxiliary cash coupon and transferring the commodity refund funds into the target primary account number comprises:
determining a target commodity freezing pool corresponding to the commodity of the candidate order from the candidate commodity freezing pools of the target sub-account;
acquiring the commodity refund funds from the target commodity freezing pool according to the auxiliary amount, and transferring the commodity refund funds into a first funds transfer pool of the target primary account through a second funds transfer pool of the target sub-account;
and acquiring the commodity refund funds from the first funds transfer pool, and transferring the commodity refund funds to a funds balance pool of the target primary account number.
11. An order processing apparatus, comprising:
the order attribute information determining module is used for determining target order attribute information of a target order in response to an order payment request of a target sub-account for the target order;
the target cash coupon determining module is used for determining a usable target cash coupon from a target main account number to which the target sub-account number belongs according to the target order attribute information;
And the fund transfer module is used for transferring payment fund to the target sub-account according to the target amount of the target cash coupon and carrying out order payment on the target order.
12. The apparatus of claim 11, further comprising a target primary account number determination module, in particular for:
determining a target sub-account identification of the target sub-account, and matching the target sub-account identification with the candidate sub-account identification and the association relationship between the candidate main accounts;
and determining the target primary account number to which the target sub-account number belongs from the candidate primary account numbers according to the matching result.
13. The apparatus of claim 11, wherein the target coupon determination module is specifically configured to:
determining a candidate cash coupon included in the target main account number, and determining a candidate use condition corresponding to the candidate cash coupon;
matching the target order attribute information with candidate order attribute information included in the candidate use conditions, and determining target use conditions met by the target order attribute information from the candidate use conditions according to a matching result;
and taking the candidate cash coupon corresponding to the target use condition as the target cash coupon.
14. The apparatus according to claim 11, the apparatus further comprising a rights verification module, in particular for:
determining a first user identifier of a user to which the target cash coupon belongs and a second user identifier of the user to which the target sub-account belongs;
and comparing the first user identifier with the second user identifier, and performing authority verification on the target sub-account according to the comparison result.
15. The apparatus of claim 11, wherein the funds transfer module is operable, in particular, to:
transferring payment funds into a funds balance pool of the target primary account number according to the target amount;
acquiring the payment funds from the funds balance pool, and transferring the payment funds into a second funds transfer pool of the target sub-account through a first funds transfer pool of the target main account;
acquiring the payment funds from the second funds transfer pool, and determining a target order freezing pool corresponding to the target order from candidate order freezing pools of the target sub-account;
and transferring the payment funds into the target order freezing pool.
16. The apparatus of claim 15, further comprising a manifest account transfer module, particularly for:
Determining an auxiliary cash coupon used by the candidate order commodity from the target cash coupon according to the candidate order commodity contained in the target order, and determining a target commodity freezing pool corresponding to the candidate order commodity from candidate commodity freezing pools of the target sub-account;
according to the auxiliary amount of the auxiliary cash coupon, obtaining a payment sub-fund from the target order freezing pool, and transferring the payment sub-fund into the target commodity freezing pool;
acquiring the payment sub-funds from the target commodity freezing pool, and transferring the payment sub-funds into a commodity owner account;
the commodity owner account number is an account number of a commodity owner to which the candidate order commodity belongs.
17. The apparatus of claim 11, further comprising an order refund processing module, in particular for:
responding to an order refund request of a target sub-account for a target order, and determining a target main account to which the target sub-account belongs;
and determining the target amount of the target cash coupon used by the target order, acquiring order refund funds from the target sub-account according to the target amount, and transferring the order refund funds into the target main account.
18. The apparatus of claim 17, the order refund processing module being further specifically configured to:
determining a target order freezing pool corresponding to the target order from candidate order freezing pools of the target sub-account;
acquiring the order refund funds from the target order freezing pool according to the target amount, and transferring the order refund funds into a first funds transfer pool of the target primary account through a second funds transfer pool of the target sub-account;
and acquiring the order refund funds from the first funds transfer pool, and transferring the order refund funds into the funds balance pool of the target primary account number.
19. The apparatus of claim 11, further comprising a merchandise refund processing module, in particular for:
responding to a commodity refund request of a target sub-account for a candidate order commodity in a target order, determining a target main account to which the target sub-account belongs, and determining an auxiliary cash register used by the candidate order commodity from the target cash register;
and acquiring commodity refund funds from the target sub-account according to the auxiliary amount of the auxiliary cash coupon, and transferring the commodity refund funds into the target main account.
20. The apparatus of claim 19, the article refund processing module further configured to:
determining a target commodity freezing pool corresponding to the commodity of the candidate order from the candidate commodity freezing pools of the target sub-account;
acquiring the commodity refund funds from the target commodity freezing pool according to the auxiliary amount, and transferring the commodity refund funds into a first funds transfer pool of the target primary account through a second funds transfer pool of the target sub-account;
and acquiring the commodity refund funds from the first funds transfer pool, and transferring the commodity refund funds to a funds balance pool of the target primary account number.
21. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-10.
22. A non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the method of any one of claims 1-10.
23. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any of claims 1-10.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310250082.4A CN116468432B (en) | 2023-03-13 | 2023-03-13 | Order processing method, device, equipment and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310250082.4A CN116468432B (en) | 2023-03-13 | 2023-03-13 | Order processing method, device, equipment and medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116468432A true CN116468432A (en) | 2023-07-21 |
CN116468432B CN116468432B (en) | 2024-02-02 |
Family
ID=87176183
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310250082.4A Active CN116468432B (en) | 2023-03-13 | 2023-03-13 | Order processing method, device, equipment and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116468432B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20030083953A (en) * | 2002-04-24 | 2003-11-01 | 김홍근 | Methods for Immediately Making up account Using Gift Certificate on Credit Card Terminal and Apparatus therefor |
CN108337213A (en) * | 2017-01-20 | 2018-07-27 | 深圳市优朋普乐传媒发展有限公司 | A kind of method and device of account management |
CN109784991A (en) * | 2019-01-04 | 2019-05-21 | 深圳壹账通智能科技有限公司 | Electronic ticket settlement method, system, computer equipment and storage medium |
CN112016946A (en) * | 2019-05-30 | 2020-12-01 | 浙江口碑网络技术有限公司 | Method and device for verifying and selling electronic ticket |
CN113657943A (en) * | 2021-08-24 | 2021-11-16 | 北京百度网讯科技有限公司 | Virtual asset allocation system, method, electronic device and storage medium |
CN114693296A (en) * | 2020-12-30 | 2022-07-01 | 顺丰科技有限公司 | Coupon management method and device, electronic equipment and storage medium |
-
2023
- 2023-03-13 CN CN202310250082.4A patent/CN116468432B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20030083953A (en) * | 2002-04-24 | 2003-11-01 | 김홍근 | Methods for Immediately Making up account Using Gift Certificate on Credit Card Terminal and Apparatus therefor |
CN108337213A (en) * | 2017-01-20 | 2018-07-27 | 深圳市优朋普乐传媒发展有限公司 | A kind of method and device of account management |
CN109784991A (en) * | 2019-01-04 | 2019-05-21 | 深圳壹账通智能科技有限公司 | Electronic ticket settlement method, system, computer equipment and storage medium |
CN112016946A (en) * | 2019-05-30 | 2020-12-01 | 浙江口碑网络技术有限公司 | Method and device for verifying and selling electronic ticket |
CN114693296A (en) * | 2020-12-30 | 2022-07-01 | 顺丰科技有限公司 | Coupon management method and device, electronic equipment and storage medium |
CN113657943A (en) * | 2021-08-24 | 2021-11-16 | 北京百度网讯科技有限公司 | Virtual asset allocation system, method, electronic device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN116468432B (en) | 2024-02-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10789589B2 (en) | Dispute resolution cryptocurrency sidechain system | |
US8266058B1 (en) | Virtual accounts linked to financial accounts | |
AU2019257460A1 (en) | Method and system for processing of a real-time rebate at transaction authorization | |
US20150302400A1 (en) | Distributed crypto currency reputation system | |
US20140188718A1 (en) | Pushing a new card number using a mobile interface | |
US11734760B1 (en) | Systems and methods for operating a math-based currency exchange | |
US9852407B2 (en) | Systems and methods for routing debit transactions | |
US9646297B2 (en) | Method and system of providing financial transaction card related mobile apps | |
US10489787B2 (en) | Multi-leg transaction processing | |
US8655775B1 (en) | Method and system for merchant debit routing table change detection | |
CN111899111A (en) | Capital matching method, device, server and storage medium | |
CA2988443A1 (en) | Cross-funds management server-based payment system, and method, device and server | |
CN116468432B (en) | Order processing method, device, equipment and medium | |
CN111105238A (en) | Transaction risk control method and device | |
CN109214911A (en) | The treating method and apparatus of bill reconciliation exception | |
KR20180130980A (en) | Computing apparatus and method for providing franchise loan services | |
CN113034285A (en) | Request processing method and device, computer equipment and storage medium | |
US20150161599A1 (en) | Management of complex transactions | |
US20150235213A1 (en) | Payment system using spending gates | |
US20200394633A1 (en) | A transaction processing system and method | |
KR102041478B1 (en) | Method of managing payment relation between enterprises and system performing the same | |
US20220374894A1 (en) | Integrated payment travel management system | |
US11074602B2 (en) | Method and system for card link filtering | |
US20230115713A1 (en) | Payment consolidation for a travel management system | |
US11023972B2 (en) | Financial transaction management system and financial transaction management method |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |