CN115713330B - Multi-payment-item split payment method, system, equipment and storage medium - Google Patents

Multi-payment-item split payment method, system, equipment and storage medium Download PDF

Info

Publication number
CN115713330B
CN115713330B CN202211510179.6A CN202211510179A CN115713330B CN 115713330 B CN115713330 B CN 115713330B CN 202211510179 A CN202211510179 A CN 202211510179A CN 115713330 B CN115713330 B CN 115713330B
Authority
CN
China
Prior art keywords
payment
target
item
bit code
items
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.)
Active
Application number
CN202211510179.6A
Other languages
Chinese (zh)
Other versions
CN115713330A (en
Inventor
黄忠林
李柱良
赵宏鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Guangfa Bank Co Ltd
Original Assignee
China Guangfa Bank Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by China Guangfa Bank Co Ltd filed Critical China Guangfa Bank Co Ltd
Priority to CN202211510179.6A priority Critical patent/CN115713330B/en
Publication of CN115713330A publication Critical patent/CN115713330A/en
Application granted granted Critical
Publication of CN115713330B publication Critical patent/CN115713330B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention relates to the technical field of computer payment, in particular to a multi-payment-item split payment method, a system, equipment and a storage medium, which comprise the following steps: acquiring at least one payment item in a payment service, and generating an initial payment item set bit code according to a preset payment item bit code rule; analyzing the target order, acquiring payment information of payment item splitting, and acquiring a target payment item set bit code according to the payment information of payment item splitting and the initial payment item set bit code; serial payment is carried out by utilizing the target payment item set bit codes, and the target payment items which are successfully paid are classified into the bit code attribute set; and when detecting that the target payment items with the payment failure exist, flushing all the target payment items in the bit code attribute set. The invention completes the payment item split payment and the abnormal payment positive processing through the payment item set bit code, realizes the safe and rapid multi-payment item split payment, and ensures the consistency of transaction states.

Description

Multi-payment-item split payment method, system, equipment and storage medium
Technical Field
The present invention relates to the field of computer payment technologies, and in particular, to a method, a system, an apparatus, and a storage medium for split payment of multiple payment items.
Background
Electronic payment refers to that a consumer, a merchant and a financial institution use secure electronic means to transmit payment information to a bank or a corresponding processing mechanism through a network, so as to realize money payment or fund flow, and along with the development of electronic payment, the electronic payment is expanded from an initial single payment item scene of pure cash payment to a mixed payment scene of cash, points, coupons, marketing activities and the like, and the complexity is higher, so that a solution for splitting payment of multiple payment items and ensuring the consistency of transaction states is needed.
However, conventional split payment methods generally employ a micro-service design, and in the event of an anomaly, such as: database anomalies, service anomalies, etc., require corresponding compensation mechanisms to handle in order to ensure consistency of transaction states, which increases program complexity.
Disclosure of Invention
The invention aims to provide a multi-payment-item split payment method, a system, equipment and a storage medium, which can safely and quickly realize multi-payment-item split payment and ensure consistency of transaction states.
In order to solve the technical problems, the invention provides a multi-payment-item split payment method, a system, equipment and a storage medium.
In a first aspect, the present invention provides a multi-payment split payment method, the method comprising the steps of:
acquiring at least one payment item in a payment service, and generating an initial payment item set bit code according to a preset payment item bit code rule;
analyzing the target order, acquiring payment information of payment item splitting, and acquiring a target payment item set bit code according to the payment information of payment item splitting and the initial payment item set bit code;
serial payment is carried out by utilizing the target payment item set bit codes, and the target payment items which are successfully paid are classified into the bit code attribute set;
and when detecting that the target payment items with the payment failure exist, flushing all the target payment items in the bit code attribute set.
In a further embodiment, the method further comprises: and carrying out bit operation on the bit codes of the target payment item set and the bit codes corresponding to any payment item so as to determine the target payment item for target order payment.
In a further embodiment, the preset payment term bit code rules include encoding all payment terms ordered with preset priorities in binary form.
In a further embodiment, the step of obtaining the target payment term set bit code by splitting the payment information and the initial payment term set bit code according to the payment term comprises:
determining target payment items required by the target order according to the payment item splitting payment information;
and updating the initial payment item set bit code according to the target payment item to obtain the target payment item set bit code.
In further embodiments, the payment terms include credit card payment terms, debit card payment terms, other line card payment terms, point of sale payment terms, single Zhang Youhui coupon payment terms, at least two coupon payment terms, merchant installment payment terms, event statement deduction payment terms, postal installment payment terms, cash register full deduction payment terms, and cash register random deduction payment terms.
In a second aspect, the present invention provides a multi-payment split payment system, the system comprising:
the initial bit code generation module is used for acquiring at least one payment item in the payment service and generating an initial payment item set bit code according to a preset payment item bit code rule;
the target position code determining module is used for analyzing the target order, acquiring payment information of payment item splitting, and acquiring a target payment item set position code according to the payment information of payment item splitting and the initial payment item set position code;
the payment item splitting payment module is used for carrying out serial payment by utilizing the target payment item set bit codes and classifying the successfully paid target payment items into a bit code attribute set;
and the payment item alignment module is used for aligning all the target payment items in the bit code attribute set when detecting that the target payment items with payment failure exist.
In a third aspect, the present invention also provides a computer device, including a processor and a memory, where the processor is connected to the memory, the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the computer device performs steps for implementing the method.
In a fourth aspect, the present invention also provides a computer readable storage medium having stored therein a computer program which when executed by a processor performs the steps of the above method.
The invention provides a multi-payment-item split payment method, a system, equipment and a storage medium, wherein the method utilizes a preset payment-item bit code rule to generate an initial payment-item set bit code, simultaneously analyzes a target order, acquires payment-item split payment information, and acquires the target payment-item set bit code according to the payment-item split payment information and the initial payment-item set bit code; serial payment is carried out by utilizing the target payment item set bit codes, and the target payment items which are successfully paid are classified into the bit code attribute set; when detecting that the target payment items with the payment failure exist, all the target payment items in the bit code attribute set are positively aligned, so that the effects of safely and rapidly realizing split payment of multiple payment items and ensuring consistency of transaction states are realized. Compared with the prior art, the multi-payment-item payment splitting method provided by the method utilizes the binary payment item bit code set, reduces the complexity of mixed payment, and improves the convenience and the working efficiency of order payment.
Drawings
FIG. 1 is a schematic flow chart of a multi-payment split payment method according to an embodiment of the present invention;
FIG. 2 is a bit pattern diagram of an initial payment entry bit pattern set provided by an embodiment of the present invention;
FIG. 3 is a schematic diagram of a bit operation according to an embodiment of the present invention;
FIG. 4 is a block diagram of a multiple payment term split payment system provided by an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a computer device according to an embodiment of the present invention.
Detailed Description
The following examples are given for the purpose of illustration only and are not to be construed as limiting the invention, including the drawings for reference and description only, and are not to be construed as limiting the scope of the invention as many variations thereof are possible without departing from the spirit and scope of the invention.
Referring to fig. 1, an embodiment of the present invention provides a multi-payment-item split payment method, as shown in fig. 1, including the steps of:
s1, acquiring at least one payment item in a payment service, and generating an initial payment item set bit code according to a preset payment item bit code rule.
In this embodiment, the preset payment term bit code rule includes encoding all payment terms ordered with preset priorities in binary form.
As shown in fig. 2, the payment terms include, but are not limited to, credit card payment terms, debit card payment terms, other line card payment terms, credit payment terms, single Zhang Youhui coupon payment terms, at least two coupon payment terms, merchant installment payment terms, event statement deduction payment terms, postal installment payment terms, cash register full deduction payment terms, and cash register random deduction payment terms.
S2, analyzing the target order, obtaining payment information of the payment item splitting, and obtaining a target payment item set bit code according to the payment information of the payment item splitting and the initial payment item set bit code.
In one embodiment, the step of obtaining the target payment term set bit code by splitting the payment information and the initial payment term set bit code according to the payment term includes:
determining target payment items required by the target order according to the payment item splitting payment information;
and updating the initial payment item set bit code according to the target payment item to obtain the target payment item set bit code and the target payment item bit code.
S3, serial payment is carried out by utilizing the target payment item set bit codes, and the target payment items which are successfully paid are classified into the bit code attribute set.
S4, when detecting that the target payment items with the payment failure exist, flushing all the target payment items in the bit code attribute set.
The present embodiment stores the target payment term set bit codes in a decimal format in a database for program use and database records, and sets bit code attribute sets when serial payment of the payment term is employed, such as: the method comprises the steps of registering a target payment item bit code of a corresponding target payment item into a bit code attribute set when each payment item is successfully paid, sending an asynchronous positive flushing message (comprising a transaction serial number, information such as a ' successful payment item bit code, a ' successful payment item ' and the like) when a certain payment item fails, and flushing the payment item which is successfully paid before according to the bit code attribute set when a consumer service of the positive flushing message receives the message.
In one embodiment, the method further comprises: and carrying out bit operation on the bit codes of the target payment item set and the bit codes corresponding to any payment item so as to determine the target payment item for target order payment.
Specifically, as shown in fig. 3, the present embodiment assumes that the payment item split payment information in the target order includes three payment items of credit card cash, points and coupons, and according to the initial payment item set bit code, a binary target payment item set bit code is obtained as follows: 11001, which corresponds to decimal 25; and operation is carried out on the bit codes corresponding to the target payment item set bit codes 11001 and the integral payment items, if the bit operation result is larger than 0, the target payment item set bit codes are indicated to contain the integral payment items, and the decimal lower operation demonstration is carried out: 25&8>0; similarly, the manner of determining the cash of the credit card and the payment terms of the coupon is the same as the manner of determining the payment terms of the credit card, which will not be described herein, and in this embodiment, when the order is to be analyzed, the payment terms included in the payment order may be determined by the payment term set bit code.
It should be noted that, in this embodiment, the payment items included in the payment order are registered by the payment item set bit code, so that the payment items in the payment scene of the combination of multiple payment items are conveniently registered, in a certain order transaction, if multiple payment items exist, some payment items can succeed, some payment items fail, and once one failed payment item is detected, all payment successful payment items in the certain order transaction are aligned.
The embodiment provides a multi-payment-item splitting payment method, which comprises the steps of generating an initial payment-item set bit code according to a preset payment-item bit code rule, splitting payment information and the initial payment-item set bit code according to a payment item of a target order, and obtaining a target payment-item set bit code; and carrying out serial payment by utilizing the bit codes of the target payment item set, classifying the target payment items which are successfully paid into the bit code attribute set, and flushing all the target payment items in the bit code attribute set when detecting that the target payment items which are failed to be paid exist. Compared with the prior art, the method provides a simple identification method for the follow-up multi-payment-item split payment through the payment item bit code rule, and is matched with the payment-item split payment, and the abnormal correction processing scheme ensures the consistency of transaction states.
It should be noted that, the sequence number of each process does not mean that the execution sequence of each process is determined by the function and the internal logic, and should not limit the implementation process of the embodiment of the present application.
In one embodiment, as shown in fig. 4, an embodiment of the present invention provides a multi-payment split payment system, the system comprising:
the initial bit code generation module 101 is configured to obtain at least one payment item in a payment service, and generate an initial payment item set bit code according to a preset payment item bit code rule;
the target position code determining module 102 is configured to parse the target order, obtain payment information of the payment item splitting, and obtain a target payment item set position code according to the payment information of the payment item splitting and the initial payment item set position code;
the payment term splitting payment module 103 is used for carrying out serial payment by utilizing the target payment term set bit code and classifying the target payment term successfully paid into a bit code attribute set;
and the payment item alignment module 104 is configured to align all target payment items in the bit code attribute set when detecting that there is a target payment item with a payment failure.
For a specific definition of a multi-payment splitting payment system, reference may be made to the definition of a multi-payment splitting payment method described above, and further description is omitted here. Those of ordinary skill in the art will appreciate that the various modules and steps described in connection with the embodiments disclosed herein may be implemented as hardware, software, or a combination of both. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The embodiment of the invention provides a multi-payment-item split payment system, wherein the initial bit code generation module provides a simple identification method for a multi-payment-item combined payment scene through a payment item bit code rule, and reduces the complexity of multi-payment-item split payment; the target bit code determining module splits payment information through payment items to obtain a target payment item set bit code; the payment item splitting payment module and the payment item charging module realize multi-payment item splitting payment and abnormal charging, ensure consistency of transaction states and improve payment safety.
FIG. 5 is a diagram of a computer device including a memory, a processor, and a transceiver connected by a bus, according to an embodiment of the present invention; the memory is used to store a set of computer program instructions and data and the stored data may be transferred to the processor, which may execute the program instructions stored by the memory to perform the steps of the above-described method.
Wherein the memory may comprise volatile memory or nonvolatile memory, or may comprise both volatile and nonvolatile memory; the processor may be a central processing unit, a microprocessor, an application specific integrated circuit, a programmable logic device, or a combination thereof. By way of example and not limitation, the programmable logic device described above may be a complex programmable logic device, a field programmable gate array, general purpose array logic, or any combination thereof.
In addition, the memory may be a physically separate unit or may be integrated with the processor.
It will be appreciated by those of ordinary skill in the art that the structure shown in fig. 5 is merely a block diagram of some of the structures associated with the present application and is not limiting of the computer device to which the present application may be applied, and that a particular computer device may include more or fewer components than shown, or may combine certain components, or have the same arrangement of components.
In one embodiment, an embodiment of the present invention provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the above-described method.
According to the multi-payment-item split payment method, the system, the equipment and the storage medium, which are provided by the embodiment of the invention, the multi-payment-item split payment method sets the payment item bit code rule, a simple identification mode is provided for the subsequent multi-payment-item split payment, and the convenience of electronic payment is greatly improved and the flexibility of payment operation is improved through the payment-item split payment and abnormal positive processing mode. Compared with the prior art, the method provided by the embodiment of the invention has the advantages of safety, convenience and the like.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, produces a flow or function in accordance with embodiments of the present invention, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another, e.g., from one website, computer, server, or data center, via a wired (e.g., coaxial cable, fiber optic, digital subscriber line, or wireless (e.g., infrared, wireless, microwave, etc.) connection to another website, computer, server, or data center.
Those skilled in the art will appreciate that implementing all or part of the above described embodiment methods may be accomplished by way of a computer program stored on a computer readable storage medium, which when executed, may comprise the steps of embodiments of the methods described above.
The foregoing examples represent only a few preferred embodiments of the present application, which are described in more detail and are not thereby to be construed as limiting the scope of the invention. It should be noted that modifications and substitutions can be made by those skilled in the art without departing from the technical principles of the present invention, and such modifications and substitutions should also be considered to be within the scope of the present application. Therefore, the protection scope of the patent application is subject to the protection scope of the claims.

Claims (6)

1. A multi-payment item split payment method, comprising the steps of:
acquiring at least one payment item in a payment service, and generating an initial payment item set bit code according to a preset payment item bit code rule;
analyzing the target order, acquiring payment information of payment item splitting, and acquiring a target payment item set bit code according to the payment information of payment item splitting and the initial payment item set bit code;
serial payment is carried out by utilizing the target payment item set bit codes, and the target payment items which are successfully paid are classified into the bit code attribute set;
when detecting that the target payment items with the payment failure exist, flushing all the target payment items in the bit code attribute set;
the step of obtaining the target payment item set bit code comprises the following steps of:
determining target payment items required by the target order according to the payment item splitting payment information;
updating the initial payment item set bit code according to the target payment item to obtain a target payment item set bit code and a target payment item bit code;
the method further comprises the steps of: and carrying out bit operation on the bit codes of the target payment item set and the bit codes corresponding to any payment item to determine the target payment item for target order payment, wherein the bit operation is an AND operation.
2. A multi-payment splitting payment method as recited in claim 1, wherein: the preset payment item bit code rule comprises the step of coding all payment items ordered according to preset priorities in a binary form.
3. A multi-payment splitting payment method as recited in claim 1, wherein: the payment items include credit card payment items, debit card payment items, other line card payment items, loyalty payment items, single Zhang Youhui coupon payment items, at least two coupon payment items, merchant staged payment items, active title deduction payment items, postal staging payment items, cash register full deduction payment items, and cash register random deduction payment items.
4. A multiple payment terms split payment system, the system comprising:
the initial bit code generation module is used for acquiring at least one payment item in the payment service and generating an initial payment item set bit code according to a preset payment item bit code rule;
the target position code determining module is used for analyzing the target order, acquiring payment information of payment item splitting, and acquiring a target payment item set position code according to the payment information of payment item splitting and the initial payment item set position code;
the payment item splitting payment module is used for carrying out serial payment by utilizing the target payment item set bit codes and classifying the successfully paid target payment items into a bit code attribute set;
the payment item alignment module is used for aligning all target payment items in the bit code attribute set when detecting that the target payment items with payment failure exist;
the method comprises the steps of dividing payment information and an initial payment item set bit code according to a payment item to obtain a target payment item set bit code, wherein the method specifically comprises the following steps:
determining target payment items required by the target order according to the payment item splitting payment information;
updating the initial payment item set bit code according to the target payment item to obtain a target payment item set bit code and a target payment item bit code;
the system further comprises: and carrying out bit operation on the bit codes of the target payment item set and the bit codes corresponding to any payment item to determine the target payment item for target order payment, wherein the bit operation is an AND operation.
5. A computer device, characterized by: comprising a processor and a memory, the processor being connected to the memory, the memory being for storing a computer program, the processor being for executing the computer program stored in the memory to cause the computer device to perform the method of any one of claims 1 to 3.
6. A computer-readable storage medium, characterized by: the computer readable storage medium having stored therein a computer program which, when executed, implements the method of any of claims 1 to 3.
CN202211510179.6A 2022-11-29 2022-11-29 Multi-payment-item split payment method, system, equipment and storage medium Active CN115713330B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211510179.6A CN115713330B (en) 2022-11-29 2022-11-29 Multi-payment-item split payment method, system, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211510179.6A CN115713330B (en) 2022-11-29 2022-11-29 Multi-payment-item split payment method, system, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115713330A CN115713330A (en) 2023-02-24
CN115713330B true CN115713330B (en) 2023-07-21

Family

ID=85235239

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211510179.6A Active CN115713330B (en) 2022-11-29 2022-11-29 Multi-payment-item split payment method, system, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115713330B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20210075463A (en) * 2019-12-13 2021-06-23 엔에이치엔페이코 주식회사 Method for providing integrated payment service suing a plurality of mobile coupons

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150221025A1 (en) * 2014-02-03 2015-08-06 Amadeus S.A.S. Method, system, and computer program product for determining a payment strategy
CN107506991A (en) * 2017-07-21 2017-12-22 中国建设银行股份有限公司 A kind of method of payment for supporting a variety of means of payment, system, device and storage medium
CN109074558A (en) * 2017-09-29 2018-12-21 深圳市大疆创新科技有限公司 A kind of method and relevant apparatus of the determining means of payment
CN112270536B (en) * 2020-10-29 2022-02-15 广东通莞科技股份有限公司 POS-based aggregated payment method, system and related device
CN115689539A (en) * 2021-05-11 2023-02-03 支付宝(中国)网络技术有限公司 Payment method, device and equipment
CN113837746A (en) * 2021-09-24 2021-12-24 商派软件有限公司 Method and system for multi-channel simultaneous payment

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20210075463A (en) * 2019-12-13 2021-06-23 엔에이치엔페이코 주식회사 Method for providing integrated payment service suing a plurality of mobile coupons

Also Published As

Publication number Publication date
CN115713330A (en) 2023-02-24

Similar Documents

Publication Publication Date Title
RU2693271C1 (en) Method and system for authenticating a token requester
CN109214792B (en) Method and system for electronic vouchers via a blockchain
JP6563132B2 (en) Whole settlement method and system by using opaque blockchain
US9983982B1 (en) Testing software code in a production environment
US20190287111A1 (en) Payer-controlled payment processing
US10693637B2 (en) System and method for composite-key based blockchain device control
US20120030116A1 (en) System and apparatus for transaction fraud processing
CN108352019B (en) Method and system for fraud detection using mobile communication devices
WO2016149142A1 (en) Device with multiple identifiers
US11797650B2 (en) Data value routing system and method
KR20230030633A (en) Method and system for merchant acceptance of cryptocurrency through payment rails
CN110651292B (en) Method and system for transmitting machine-readable code data via a payment network
KR20190108666A (en) Apparatus and method for automated deposit and withdrawal of funds for cryptocurrency transactions and computer program for the same
US11271934B2 (en) System for data set translation of accounts
RU2690204C1 (en) Machine rules for applying rules from a verification network to signals from a source network
CN115713330B (en) Multi-payment-item split payment method, system, equipment and storage medium
US20220366407A1 (en) Method and system for privacy oriented provenance at the point of sale
CN113095835A (en) Data consistency verification method, device and system
US20230196345A1 (en) Method and system of integrating blockchain technology with existing computer architecture
RU2780821C2 (en) Adapter for providing unified transaction interface
CN117743282A (en) Transaction data sharing method and device
CN113222733A (en) Loan transaction processing method, device, equipment and storage medium
KR20230029843A (en) Method and system for merchant acceptance of cryptocurrency through payment rails
CN116645093A (en) Bank cross-border remittance processing method, device, equipment and storage medium
CN114792268A (en) Bill pushing method, device, equipment, product and readable storage medium

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