CN114372792A - Transaction processing method, apparatus, device and medium applied to distributed system - Google Patents

Transaction processing method, apparatus, device and medium applied to distributed system Download PDF

Info

Publication number
CN114372792A
CN114372792A CN202210019138.0A CN202210019138A CN114372792A CN 114372792 A CN114372792 A CN 114372792A CN 202210019138 A CN202210019138 A CN 202210019138A CN 114372792 A CN114372792 A CN 114372792A
Authority
CN
China
Prior art keywords
information
account
transaction
processing result
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210019138.0A
Other languages
Chinese (zh)
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.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
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 Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202210019138.0A priority Critical patent/CN114372792A/en
Publication of CN114372792A publication Critical patent/CN114372792A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/10Payment architectures specially adapted for electronic funds transfer [EFT] systems; specially adapted for home banking systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/085Payment architectures involving remote charge determination or related payment systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/389Keeping log of transactions for guaranteeing non-repudiation of a transaction

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The present disclosure provides a transaction processing method, apparatus, device and medium applied to a distributed system, which can be applied to the technical field of big data and the technical field of finance. The method comprises the following steps: responding to a transaction request instruction initiated by a first account terminal to a second account terminal, and acquiring first state information of the first account terminal and second state information of the second account terminal; under the condition that the first state information and the second state information meet preset conditions, first information comprising the first state information and transaction amount information is sent to a first account terminal; receiving first processing result information obtained by changing balance information of a first account end according to transaction amount information under the condition that the current state information of the first account end is the same as the first state information by the first account end; and sending second information to the second account terminal under the condition that the first processing result information is successful in transaction, wherein the second information comprises transaction amount information so that the second account terminal can obtain the second processing result information.

Description

Transaction processing method, apparatus, device and medium applied to distributed system
Technical Field
The present disclosure relates to the field of big data technologies, and in particular, to a transaction processing method, apparatus, device, medium, and program product applied to a distributed system.
Background
The transfer transaction is generally conducted on one side at the payer and the payee, respectively. With the introduction of the distributed system, one application is split into a plurality of nodes and services which can be independently deployed, so that a payer and a payee are not necessarily on the same service node in the distributed system, and different nodes need to remotely assist in completing transaction operations through a network. During peak transactions, it is difficult to maintain the same consistent results as the monomer application.
Disclosure of Invention
In view of the above, the present disclosure provides a transaction processing method, apparatus, device, medium, and program product applied to a distributed system.
According to a first aspect of the present disclosure, there is provided a transaction processing method applied to a distributed system, including:
responding to a transaction request instruction initiated by a first account terminal to a second account terminal, and acquiring first state information of the first account terminal and second state information of the second account terminal;
under the condition that the first state information and the second state information meet preset conditions, first information is sent to a first account terminal, wherein the first information comprises the first state information and transaction amount information;
receiving first processing result information, wherein the first processing result information is obtained by changing balance information of a first account end according to transaction amount information under the condition that the current state information of the first account end is the same as the first state information;
and sending second information to the second account terminal under the condition that the first processing result information is successful in transaction, wherein the second information comprises transaction amount information, so that the second account terminal changes balance information of the second account according to the transaction amount information to obtain second processing result information.
According to an embodiment of the present disclosure, the first information and the second information each include transaction identification information, and the transaction identification information is used to represent transaction information in the request instruction, and the transaction processing method applied to the distributed system further includes:
recording the first processing result information and the transaction identification information in a transaction log of the first account end;
and recording the second processing result information and the transaction identification information in a transaction log of the second account terminal.
According to an embodiment of the present disclosure, the transaction processing method applied to the distributed system further includes:
sending third information to the first account side under the condition that the first processing result information is not received within preset time, wherein the third information comprises first state information, transaction amount information, transaction identification information and repeated marks of the first account side;
and receiving third processing result information, wherein the third processing result information is obtained by changing balance information of the first account end according to the transaction amount information by the first account end under the condition that the current state information of the first account end is the same as the first state information and the transaction identification information does not exist in the transaction log of the first account end.
According to an embodiment of the present disclosure, the transaction processing method applied to the distributed system further includes: and receiving first processing result information recorded in the transaction log of the first account end under the condition that the current state information of the first account end is the same as the first state information and the transaction identification information exists in the transaction log of the first account end.
According to an embodiment of the present disclosure, the transaction processing method applied to the distributed system further includes:
sending fourth information to the second account terminal under the condition that second processing result information is not received within preset time, wherein the fourth information comprises transaction amount information, transaction identification information and repeated marks;
and receiving fourth processing result information, wherein the fourth processing result information is obtained by the second account terminal changing the balance information of the second account terminal according to the transaction amount information under the condition that the transaction identification information does not exist in the transaction log of the second account terminal.
According to an embodiment of the present disclosure, the transaction processing method applied to the distributed system further includes:
under the condition that the second processing result information is that the transaction is failed, sending fifth information to the first account terminal, wherein the fifth information comprises transaction amount information;
and receiving fifth processing result information, wherein the fifth processing result information is obtained by the first account according to the transaction amount information and the balance information of the first account.
According to an embodiment of the present disclosure, wherein the preset condition includes: the account states of the first account terminal and the second account terminal are normal; the account balance of the first account end is larger than the transaction amount in the transaction request instruction.
A second aspect of the present disclosure provides a transaction processing apparatus applied to a distributed system, including: the device comprises a first acquisition module, a first sending module, a first receiving module and a second sending module. The first obtaining module is configured to obtain first state information of the first account terminal and second state information of the second account terminal in response to a transaction request instruction initiated by the first account terminal to the second account terminal. The first sending module is used for sending first information to the first account terminal under the condition that the first state information and the second state information meet preset conditions, wherein the first information comprises the first state information and transaction amount information. The first receiving module is used for receiving first processing result information, and the first processing result information is obtained by changing balance information of the first account end according to transaction amount information under the condition that the current state information of the first account end is the same as the first state information of the first account end. And the second sending module is used for sending second information to the second account terminal under the condition that the first processing result information is successful in transaction, wherein the second information comprises transaction amount information, so that the second account terminal can change balance information of a second account according to the transaction amount information to obtain second processing result information.
According to an embodiment of the present disclosure, the transaction processing apparatus applied to the distributed system further includes: the device comprises a first recording module and a second recording module. The first recording module is used for recording the first processing result information and the transaction identification information in a transaction log of the first account end, and the second recording module is used for recording the second processing result information and the transaction identification information in a transaction log of the second account end.
According to an embodiment of the present disclosure, the transaction processing apparatus applied to the distributed system further includes: a third sending module and a second receiving module. The third sending module is configured to send third information to the first account side in a preset time without receiving the first processing result information, where the third information includes first state information of the first account side, transaction amount information, transaction identification information, and a duplicate flag. And the second receiving module is used for receiving third processing result information, wherein the third processing result information is obtained by changing the balance information of the first account end according to the transaction amount information under the condition that the current state information of the first account end is the same as the first state information and the transaction log of the first account end does not have the transaction identification information.
According to an embodiment of the present disclosure, the transaction processing apparatus applied to the distributed system further includes: and the third receiving module is used for receiving the first processing result information recorded in the transaction log of the first account terminal under the condition that the current state information of the first account terminal is the same as the first state information and the transaction identification information exists in the transaction log of the first account terminal.
According to an embodiment of the present disclosure, the transaction processing apparatus applied to the distributed system further includes: a fourth sending module and a fourth receiving module. And the fourth sending module is used for sending fourth information to the second account terminal under the condition that the second processing result information is not received within the preset time, wherein the fourth information comprises transaction amount information, transaction identification information and repeated marks. And the fourth receiving module is used for receiving fourth processing result information, wherein the fourth processing result information is obtained by the second account terminal changing the balance information of the second account terminal according to the transaction amount information under the condition that the transaction log of the second account terminal does not have the transaction identification information.
According to an embodiment of the present disclosure, the transaction processing apparatus applied to the distributed system further includes: a fifth sending module and a fifth receiving module. And the fifth sending module is used for sending fifth information to the first account terminal under the condition that the second processing result information is the transaction failure, wherein the fifth information comprises transaction amount information. And the fifth receiving module is used for receiving fifth processing result information, wherein the fifth processing result information is obtained by the first account terminal according to the transaction amount information and the balance information of the first account terminal.
A third aspect of the present disclosure provides an electronic device, comprising: one or more processors; a memory for storing one or more programs, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the above-described transaction processing method applied to the distributed system.
A fourth aspect of the present disclosure also provides a computer-readable storage medium having stored thereon executable instructions that, when executed by a processor, cause the processor to perform the above-described transaction processing method applied to a distributed system.
A fifth aspect of the present disclosure also provides a computer program product comprising a computer program which, when executed by a processor, implements the above-described transaction processing method applied to a distributed system.
According to the embodiment of the disclosure, by acquiring the first state information of the first account end and the second state information of the second account end, sending the first information to the first account end under the condition that the first state information and the second state information meet the preset condition, and sending the second information to the second account end under the condition that the processing result information of successful transaction fed back by the first account end is received, so that the second account end changes the balance information of the second account according to the transaction amount information to obtain the technical means of the second processing result information, by checking the state information of the first account end and then sending the first information to the first account end, the transaction can be effectively prevented from being processed repeatedly, and the final consistency of unilateral transaction information processed by the two account ends is ensured.
Drawings
The foregoing and other objects, features and advantages of the disclosure will be apparent from the following description of embodiments of the disclosure, which proceeds with reference to the accompanying drawings, in which:
FIG. 1 schematically illustrates an application scenario diagram of a transaction processing method, apparatus, device, medium and program product applied to a distributed system, according to an embodiment of the present disclosure;
FIG. 2 schematically illustrates a flow chart of a transaction processing method applied to a distributed system according to an embodiment of the present disclosure;
FIG. 3 schematically illustrates a logical block diagram of a transaction processing method applied to a distributed system according to an embodiment of the present disclosure;
FIG. 4 schematically illustrates an exemplary architecture of an application distributed system of transaction processing methods according to embodiments of the disclosure;
FIG. 5 is a schematic diagram of an application scenario for implementing embodiments of the present disclosure in the same organization
FIG. 6 is a schematic diagram of an application scenario for implementing embodiments of the present disclosure at different facilities
Fig. 7 schematically shows a block diagram of a transaction processing device applied to a distributed system according to an embodiment of the present disclosure; and
fig. 8 schematically shows a block diagram of an electronic device adapted to implement a transaction processing method applied to a distributed system according to an embodiment of the present disclosure.
Detailed Description
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood that the description is illustrative only and is not intended to limit the scope of the present disclosure. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present disclosure.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The terms "comprises," "comprising," and the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It is noted that the terms used herein should be interpreted as having a meaning that is consistent with the context of this specification and should not be interpreted in an idealized or overly formal sense.
Where a convention analogous to "at least one of A, B and C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B and C" would include but not be limited to systems that have a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.).
It should be noted that the transaction processing method and apparatus applied to the distributed system of the present disclosure may be applied to the financial field and the field of big data technology, and may also be applied to any field other than the financial field.
In the technical scheme of the disclosure, the collection, storage, use, processing, transmission, provision, disclosure, application and other processing of the personal information of the related user are all in accordance with the regulations of related laws and regulations, necessary confidentiality measures are taken, and the customs of the public order is not violated.
In the technical scheme of the disclosure, before the personal information of the user is acquired or collected, the authorization or the consent of the user is acquired.
The embodiment of the disclosure provides a transaction processing method applied to a distributed system, which includes that first state information of a first account end and second state information of a second account end are obtained, the first information is sent to the first account end under the condition that the first state information and the second state information meet preset conditions, the second information is sent to the second account end under the condition that processing result information of successful transaction fed back by the first account end is received, so that the second account end changes balance information of a second account according to transaction amount information, a technical means of second processing result information is obtained, the state information of the first account end is checked, the first information is sent to the first account end, repeated transaction can be effectively avoided, and final consistency of unilateral transaction information processed by the two account ends is ensured.
Fig. 1 schematically shows an application scenario diagram of a transaction processing method applied to a distributed system according to an embodiment of the present disclosure.
As shown in fig. 1, the application scenario 100 according to this embodiment may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. The terminal devices 101, 102, 103 may have installed thereon various communication client applications, such as shopping-like applications, web browser applications, search-like applications, instant messaging tools, mailbox clients, social platform software, etc. (by way of example only).
The terminal devices 101, 102, 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 105 may be a server providing various services, such as a background management server (for example only) providing support for websites browsed by users using the terminal devices 101, 102, 103. The background management server may analyze and perform other processing on the received data such as the user request, and feed back a processing result (e.g., a webpage, information, or data obtained or generated according to the user request) to the terminal device.
It should be noted that the transaction processing method applied to the distributed system provided by the embodiment of the present disclosure may be generally executed by the server 105. Accordingly, the transaction processing device applied to the distributed system provided by the embodiment of the present disclosure may be generally disposed in the server 105. The transaction processing method applied to the distributed system provided by the embodiment of the present disclosure may also be executed by a server or a server cluster which is different from the server 105 and can communicate with the terminal devices 101, 102, 103 and/or the server 105. Accordingly, the transaction processing device applied to the distributed system provided by the embodiment of the present disclosure may also be disposed in a server or a server cluster different from the server 105 and capable of communicating with the terminal devices 101, 102, 103 and/or the server 105.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
A transaction processing method applied to a distributed system of the disclosed embodiment will be described in detail below with reference to fig. 2 to 4 based on the scenario described in fig. 1.
Fig. 2 schematically shows a flow chart of a transaction processing method applied to a distributed system according to an embodiment of the present disclosure.
As shown in fig. 2, the transaction processing method applied to the distributed system of this embodiment includes operations S210 to S240.
In operation S210, in response to a transaction request instruction initiated by a first account to a second account, first state information of the first account and second state information of the second account are obtained.
In embodiments of the present disclosure, prior to obtaining information of a user, consent or authorization of the user may be obtained. For example, a request for obtaining user information may be issued to the user before operation S210. In case that the user information can be acquired with the user' S consent or authority, the operation S210 is performed.
According to an embodiment of the present disclosure, for example: the transaction request command initiated by the first account terminal to the second account terminal may be shifted to 10 ten thousand yuan from account a to account B. At this time, the acquired first state information of the first account-side account a may include whether the account a exists, whether the account a is in a normal state, and a balance state in the account a. The second status information of the second account-side account B may include whether the account B exists, whether the account B is in a normal status, a balance status in the account B, and the like.
In operation S220, in a case that the first state information and the second state information satisfy a preset condition, first information is sent to the first account terminal, where the first information includes the first state information and transaction amount information.
According to an embodiment of the present disclosure, for example: the first status information is that account a exists and is normal, and the balance of account a is 50 ten thousand yuan. The second state information is that account B exists and is normal, and the balance of account B is 5 ten thousand yuan. At this time, the account a and the account B exist and are normal, the balance of the account a is 50 ten thousand yuan greater than the transaction amount by 10 ten thousand yuan, and the first information may be sent to the first account side. The first information may include status information of account a: account a exists and is normal, the balance of account a is 50 ten thousand dollars, and account a deducts 10 ten thousand dollars of transaction amount.
According to an embodiment of the present disclosure, for example: the first state information is that the account A exists and is normal, and the balance of the account A is 5 ten thousand yuan. The second state information is that account B exists and is normal, and the balance of account B is 5 ten thousand yuan. At this time, the balance in the account a is less than 10 ten thousand yuan less than the transaction balance, and the transaction fails if the transaction amount is not deducted enough.
In operation S230, first processing result information is received, where the first processing result information is obtained by the first account terminal changing balance information of the first account terminal according to the transaction amount information when the current state information of the first account terminal is the same as the first state information.
According to an embodiment of the present disclosure, for example: the current state information of the first account end is that the account a exists and is normal, and the balance is 50 ten thousand yuan, then the current state information of the first account end is the same as the first state information, and the balance information of the account a is 40 ten thousand yuan after the transaction amount is deducted from the account a according to the transaction amount of 10 ten thousand yuan. The received first processing result information may be a transaction success or a balance change success.
According to an embodiment of the present disclosure, for example: and if the current state information of the first account end is that the account A exists and is normal, and the balance is 30 ten thousand yuan, the current state information of the first account end is different from the first state information, and the balance change operation is not executed. The first account side feeds back the processing result information of the transaction failure or the balance change to the server side.
In operation S240, when the first processing result information is that the transaction is successful, second information is sent to the second account terminal, where the second information includes transaction amount information, so that the second account terminal changes balance information of the second account according to the transaction amount information to obtain second processing result information.
According to an embodiment of the present disclosure, for example: and sending second information to a second account side account B under the condition that the first processing result information is that the transaction is successful, wherein the second information can be that 10 ten thousand yuan is transferred to the account B, and the balance information of the account B is changed into 15 ten thousand yuan after the transaction amount is added to the account B according to the transaction amount of 10 ten thousand yuan by the second account side account B.
According to the embodiment of the disclosure, by acquiring the first state information of the first account end and the second state information of the second account end, sending the first information to the first account end under the condition that the first state information and the second state information meet the preset condition, and sending the second information to the second account end under the condition that the processing result information of successful transaction fed back by the first account end is received, so that the second account end changes the balance information of the second account according to the transaction amount information to obtain the technical means of the second processing result information, by checking the state information of the first account end and then sending the first information to the first account end, the transaction can be effectively prevented from being processed repeatedly, and the final consistency of unilateral transaction information processed by the two account ends is ensured.
According to the embodiment of the present disclosure, the first information and the second information each include transaction identification information, and the transaction identification information is used for characterizing the transaction information in the request instruction, and further includes:
recording the first processing result information and the transaction identification information in a transaction log of the first account end;
and recording the second processing result information and the transaction identification information in a transaction log of the second account terminal.
According to an embodiment of the present disclosure, for example: the transaction identification information may be identified by a hash value of the transaction information in the request instruction as a key value. Under the condition that the first processing result information and the second processing result information are both successful in transaction, key, time, success > can be recorded in a transaction log of the first account end; recording < key, timestamp, success > in the transaction log of the second account terminal. The transaction log may include time information initiated by the transaction request command, so as to distinguish different transactions with the same transaction information. Different transactions with the same transaction information but different transaction time can also be distinguished by the transaction identification information and a hash algorithm.
According to the embodiment of the disclosure, the processing results and the transaction identification information of the two account ends are respectively recorded in the respective transaction logs, and whether the transaction is processed or not is identified through the transaction identification information, so that repeated processing or missed processing of the transaction can be effectively avoided.
According to an embodiment of the present disclosure, the transaction processing method applied to the distributed system further includes:
sending third information to the first account side under the condition that the first processing result information is not received within preset time, wherein the third information comprises first state information, transaction amount information, transaction identification information and repeated marks of the first account side;
and receiving third processing result information, wherein the third processing result information is obtained by changing balance information of the first account end according to the transaction amount information by the first account end under the condition that the current state information of the first account end is the same as the first state information and the transaction identification information does not exist in the transaction log of the first account end.
According to the embodiment of the disclosure, due to communication problems such as network timeout, the server does not receive the first processing result information fed back by the first account within the preset time, and may send third information to the first account again, for example: the third information may include the first status information that account a is present and normal and the balance is 50 ten thousand yuan, and the transaction amount information that account a deducts 10 ten thousand yuan, and further includes the transaction identification information key value and the repeat flag repeat.
According to the embodiment of the disclosure, when the first account end receives the third information with the repeat mark repeat, it is necessary to check whether the current state of the account a of the first account end is the same as the first state information of the account a in the third information, if so, then check whether a key value representing transaction identification information exists in a transaction log of the first account end, and if not, process the transaction, that is, change the balance information of the account a from 50 ten thousand to 40 ten thousand according to 10 ten thousand dollars of transaction amount information.
According to the embodiment of the disclosure, when the first account side receives the third information with the repeat mark repeat, if the current state of the first account side account a is different from that in the third information, the first account side account a is treated as a new transaction.
According to the embodiment of the disclosure, under the condition that the current state information of the first account end is the same as the first state information and the transaction identification information exists in the transaction log of the first account end, first processing result information recorded in the transaction log of the first account end is received.
According to an embodiment of the present disclosure, for example: when the first account end receives the third information with the repeat mark repeat, if the current state of the account A of the first account end is the same as the first state information of the third information, and a key value representing the transaction identification information exists in the transaction log of the first account end. The transaction success and the processing result information recorded in the transaction log of the first account side, that is, the balance information of the account a is changed to 40 ten thousand, which are fed back to the server side.
According to the embodiment of the disclosure, by checking the state of the information with the repeated mark and the transaction identification information, the problem that the transaction information repeatedly sent by the server is repeatedly processed due to the fact that the processing result is fed back to the server overtime due to network communication and the like can be effectively avoided.
According to the embodiment of the disclosure, in the preset time, under the condition that the second processing result information is not received, fourth information is sent to the second account terminal, wherein the fourth information comprises transaction amount information, transaction identification information and a repeated mark;
and receiving fourth processing result information, wherein the fourth processing result information is obtained by the second account terminal changing the balance information of the second account terminal according to the transaction amount information under the condition that the transaction identification information does not exist in the transaction log of the second account terminal.
According to the embodiment of the disclosure, due to communication problems such as network timeout, the server does not receive the second processing result information fed back by the second account within the preset time, and may send the fourth information to the second account again, for example: the fourth information may include transaction amount information for 10 ten thousand dollars transferred to account B, and further include a transaction identification information key value and a repeat flag repeat.
According to the embodiment of the disclosure, when the second account receives the fourth information sent by the server, it needs to check whether a key value representing the transaction identification information exists in the transaction log of the second account, and if not, the balance of the account B is continuously changed, and the balance of the account B is changed from 5 ten thousands to 15 thousands.
According to the embodiment of the disclosure, if the key value representing the transaction identification information exists in the transaction log of the second account, which indicates that the transaction is processed, the second processing result information recorded in the transaction log may be fed back to the server.
According to the embodiment of the disclosure, by checking the information transaction identification information with the repeated mark, the situation that the transaction information repeatedly sent by the server is repeatedly processed due to the fact that the processing result is fed back to the server overtime due to network communication and the like can be effectively avoided.
According to the embodiment of the disclosure, when the second processing result information is the transaction failure, fifth information is sent to the first account terminal, wherein the fifth information comprises transaction amount information;
and receiving fifth processing result information, wherein the fifth processing result information is obtained by the first account according to the transaction amount information and the balance information of the first account.
According to an embodiment of the present disclosure, for example: the second processing result information is transaction failure, which generally occurs when the account B is cancelled in a short time, so that the posting transaction of the second account end cannot be completed. When the situation happens, the server side sends fifth information to the first account side and initiates a reverse transaction. The fifth information may include a transaction amount of 10 ten thousand dollars transferred to account a. The first account side changes the balance of account A from 40 ten thousand to 50 ten thousand yuan.
According to the embodiment of the disclosure, the server monitors the transaction processing result of the second account, performs reverse transaction on the transaction of which the account entry of the second account fails, and returns the money deducted from the corresponding account of the first account in time without influencing the execution of other transactions.
According to an embodiment of the present disclosure, the preset conditions include: the account states of the first account terminal and the second account terminal are normal; the account balance of the first account end is larger than the transaction amount in the transaction request instruction.
According to an embodiment of the present disclosure, for example: the server side can pay 10 ten thousand yuan for the account A to the account B after receiving the transaction request instruction, and the server side can determine whether to execute the transaction by acquiring the state information of the first account side and the second account side. If the state of the account A is normal and the state of the account B is logout, the preset condition is not met, and the service end does not execute the transaction processing operation in the embodiment of the disclosure. If the account a and the account B are normal, but the account balance of the account a is 5 ten thousand yuan and less than 10 ten thousand yuan, the preset condition is not satisfied, and the server does not execute the transaction processing operation in the embodiment of the present disclosure.
According to the embodiment of the disclosure, by setting the preset condition, the account state related to the transaction is inquired and judged before the transaction processing is executed, so that invalid transaction processing information sent by the server to the first account terminal or the second account terminal can be effectively reduced, and the timeliness of the transaction processing of the whole distributed system is improved.
Fig. 3 schematically shows a logic block diagram of a transaction processing method applied to a distributed system according to an embodiment of the present disclosure.
As shown in fig. 3, this embodiment includes operations S301 to S310.
In operation S301, in response to a transaction request instruction initiated by a first account to a second account, first state information of the first account and second state information of the second account are obtained.
In operation S302, determining whether the first state information and the second state information satisfy a preset condition, and if so, performing operation S303; if not, executing operation S304; .
In operation S303, first processing result information is received, where the first processing result information is obtained by the first account changing the balance information of the first account according to the transaction amount information when the current state information of the first account is the same as the first state information.
In operation S304, a transaction failure is fed back to the client;
in operation S305, first process result information is identified; if the first processing result information is a successful transaction, performing operation S306; if the first processing result information is a transaction failure, performing operation S304;
in operation S306, sending second information to the second account, where the second information includes transaction amount information, so that the second account changes balance information of the second account according to the transaction amount information to obtain second processing result information;
receiving and recognizing second process result information in operation S307; if the second processing result information is a transaction success, the operation S308 is performed, and if the second processing result information is a transaction failure, the operations S304 and S309 are performed
In operation S308, a transaction success is fed back to the client;
in operation S309, transmitting fifth information to the first account terminal, where the fifth information includes transaction amount information;
in operation S310, fifth processing result information is received, where the fifth processing result information is obtained by the first account according to the transaction amount information and the balance information of the first account.
Fig. 4 schematically shows an exemplary architecture of an application distributed system of a transaction processing method according to an embodiment of the present disclosure.
As shown in fig. 4, the distributed system 400 includes a client 401, a server 402, a first account 403, and a second account 404.
The client 401 initiates a transaction request from the first account-side 402 to the second account-side 403. After receiving the transaction request, the server 402 obtains status information of the first account 403 and the second account 404, where the status information of the first account 403 and the second account 404 may be va、vb
Under the condition that the preset condition is met, the server 402 assembles transaction information according to the transaction request and records the transaction log, for example:<key,trade(va,vb),timestamp>。
the key in the transaction log is used as the unique transaction identification information for identifying the transaction in the distributed system. The transaction information may be assembled into a transaction package:
<key:(P:xa←xa-x|va)∩(Q:xb←xb+x)>。
wherein, P represents a first account terminal, namely a payment account; q represents the second account side, i.e. the collection account.
The server 402 executes the transaction processing method applied to the distributed system of the embodiment of the present disclosure to process the transaction. For example: sending first information to a first account side: p: x is the number ofa←xa-x|va
After receiving the transaction success information fed back by the first account terminal 403, the server terminal 402 sends second information to the second account terminal 404: q: x is the number ofb←xb+x。
After receiving the information on the successful transaction fed back by the second account 404, the server 402 feeds back the information on the successful transaction to the client 401. If the information of the transaction failure fed back by the second account side 404 is received, the server side 402 sends back the anti-transaction information (fifth information) to the first account side 403, and feeds back the processing result of the first account side to the client side 401.
According to the embodiment of the present disclosure, the transaction account information recorded by the first account side 403 and the second account side 404 is shown in the following table:
Figure BDA0003460172420000151
FIG. 5 schematically illustrates an application scenario for implementing an embodiment of the present disclosure at the same facility;
as shown in fig. 5, the application scenario 500 includes a client 501, a server 502, a client group a503, a client group B504, and a client group C505.
Under the same organization, the clients can be grouped through the account information, a distributed system of node final consistency is established, and the accounts of the client group A503, the client group B504 and the client group C505 do not want to be exchanged.
The client 501 initiates a request for a transfer transaction among the client group a503, the client group B504, and the client group C505, and the server 502 executes the transaction processing method applied to the distributed system provided by the embodiment of the present disclosure, and is responsible for sending transaction information to the client group a503, the client group B504, and the client group C505 and receiving information fed back by the client group a503, the client group B504, and the client group C505, respectively, and feeding back transaction processing result information to the client 501 according to a final transaction processing result.
FIG. 6 schematically illustrates an application scenario for implementing embodiments of the present disclosure at a different facility;
as shown in fig. 6, the application scenario 600 includes a server 601, a client a602, a client B603, and an internal transition user 604.
The server 601 may respectively process the client a602 and the client B603 according to the transaction processing method applied to the distributed system provided by the embodiment of the present disclosure, and when both the client a602 and the client B603 feed back information of successful transaction to the server 601, the server 601 sends a transaction information packet to the internal transition user 604:
<key: (P: Success) U (Q: Success) U (R: by x)a←xa-x, credit: x is the number ofb←xb+x)>
The internal transitive account 604 processes the transaction amount information in the transaction information packet according to a final consistency algorithm to obtain the transaction account information of the internal transitive account 604 as shown in the following table:
Figure BDA0003460172420000161
if the server does not receive the information fed back by the internal transit user 604 within the preset time, the transaction information packet with the repeated mark is retransmitted to the internal transit user 604. When the internal transitive user 604 receives the transaction information packet with the repeated mark, the transaction log is queried, and if the key value in the transaction information packet exists in the transaction log, the result is fed back to the server 601 according to the transaction log. And if the key value in the transaction information packet does not exist in the transaction log, processing according to a final consistency algorithm.
According to the embodiment of the disclosure, the invention can provide an adaptive processing scheme for the scenes of 'one borrow and one credit', 'one borrow and multiple credits', 'multiple borrow and one credit' in the transfer transaction. For example, in the scenario of "one loan and multiple credits", the second information may be sent to the collection account concurrently after the single-sided transaction at the payment account. For the scenario of "borrow and loan more", the scenario can be divided into a plurality of scenarios of borrow and loan for processing.
Based on the transaction processing method applied to the distributed system, the disclosure also provides a transaction processing device applied to the distributed system. The apparatus will be described in detail below with reference to fig. 8.
Fig. 7 schematically shows a block diagram of a transaction processing apparatus applied to a distributed system according to an embodiment of the present disclosure.
As shown in fig. 7, the transaction processing apparatus 700 applied to the distributed system of this embodiment includes: a first obtaining module 701, a first sending module 702, a first receiving module 703 and a second sending module 704.
The first obtaining module 701 is configured to obtain first state information of the first account and second state information of the second account in response to a transaction request instruction initiated by the first account to the second account.
The first sending module 702 is configured to send first information to the first account terminal when the first status information and the second status information meet a preset condition, where the first information includes the first status information and transaction amount information.
The first receiving module 703 is configured to receive first processing result information, where the first processing result information is obtained by the first account changing, according to the transaction amount information, balance information of the first account when the current state information of the first account is the same as the first state information of the first account.
The second sending module 704 is configured to send second information to the second account terminal when the first processing result information is that the transaction is successful, where the second information includes transaction amount information, so that the second account terminal changes balance information of the second account according to the transaction amount information to obtain second processing result information.
According to an embodiment of the present disclosure, the transaction processing apparatus 700 applied to the distributed system further includes: the device comprises a first recording module and a second recording module. The first recording module is used for recording the first processing result information and the transaction identification information in a transaction log of the first account end, and the second recording module is used for recording the second processing result information and the transaction identification information in a transaction log of the second account end.
According to an embodiment of the present disclosure, the transaction processing apparatus 700 applied to the distributed system further includes: a third sending module and a second receiving module. The third sending module is configured to send third information to the first account side in a preset time without receiving the first processing result information, where the third information includes first state information of the first account side, transaction amount information, transaction identification information, and a duplicate flag. And the second receiving module is used for receiving third processing result information, wherein the third processing result information is obtained by changing the balance information of the first account end according to the transaction amount information under the condition that the current state information of the first account end is the same as the first state information and the transaction log of the first account end does not have the transaction identification information.
According to an embodiment of the present disclosure, the transaction processing apparatus 700 applied to the distributed system further includes: and the third receiving module is used for receiving the first processing result information recorded in the transaction log of the first account terminal under the condition that the current state information of the first account terminal is the same as the first state information and the transaction identification information exists in the transaction log of the first account terminal.
According to an embodiment of the present disclosure, the transaction processing apparatus 700 applied to the distributed system further includes: a fourth sending module and a fourth receiving module. And the fourth sending module is used for sending fourth information to the second account terminal under the condition that the second processing result information is not received within the preset time, wherein the fourth information comprises transaction amount information, transaction identification information and repeated marks. And the fourth receiving module is used for receiving fourth processing result information, wherein the fourth processing result information is obtained by the second account terminal changing the balance information of the second account terminal according to the transaction amount information under the condition that the transaction log of the second account terminal does not have the transaction identification information.
According to an embodiment of the present disclosure, the transaction processing apparatus 700 applied to the distributed system further includes: a fifth sending module and a fifth receiving module. And the fifth sending module is used for sending fifth information to the first account terminal under the condition that the second processing result information is the transaction failure, wherein the fifth information comprises transaction amount information. And the fifth receiving module is used for receiving fifth processing result information, wherein the fifth processing result information is obtained by the first account terminal according to the transaction amount information and the balance information of the first account terminal.
According to the embodiment of the present disclosure, any multiple modules of the first obtaining module 701, the first sending module 702, the first receiving module 703 and the second sending module 704 may be combined into one module to be implemented, or any one module thereof may be split into multiple modules. Alternatively, at least part of the functionality of one or more of these modules may be combined with at least part of the functionality of the other modules and implemented in one module. According to the embodiment of the present disclosure, at least one of the first obtaining module 701, the first sending module 702, the first receiving module 703 and the second sending module 704 may be implemented at least partially as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented by hardware or firmware in any other reasonable manner of integrating or packaging a circuit, or implemented by any one of three implementation manners of software, hardware and firmware, or implemented by any suitable combination of any of the three. Alternatively, at least one of the first obtaining module 701, the first sending module 702, the first receiving module 703 and the second sending module 704 may be at least partially implemented as a computer program module, which, when executed, may perform a corresponding function.
Fig. 8 schematically shows a block diagram of an electronic device adapted to implement a transaction processing method applied to a distributed system according to an embodiment of the present disclosure.
As shown in fig. 8, an electronic device 800 according to an embodiment of the present disclosure includes a processor 801 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)802 or a program loaded from a storage section 808 into a Random Access Memory (RAM) 803. The processor 801 may include, for example, a general purpose microprocessor (e.g., a CPU), an instruction set processor and/or associated chipset, and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), among others. The processor 801 may also include onboard memory for caching purposes. The processor 801 may include a single processing unit or multiple processing units for performing different actions of the method flows according to embodiments of the present disclosure.
In the RAM 803, various programs and data necessary for the operation of the electronic apparatus 800 are stored. The processor 801, the ROM802, and the RAM 803 are connected to each other by a bus 804. The processor 801 performs various operations of the method flows according to the embodiments of the present disclosure by executing programs in the ROM802 and/or RAM 803. Note that the programs may also be stored in one or more memories other than the ROM802 and RAM 803. The processor 801 may also perform various operations of method flows according to embodiments of the present disclosure by executing programs stored in the one or more memories.
Electronic device 800 may also include input/output (I/O) interface 805, input/output (I/O) interface 805 also connected to bus 804, according to an embodiment of the present disclosure. Electronic device 800 may also include one or more of the following components connected to I/O interface 805: an input portion 806 including a keyboard, a mouse, and the like; an output section 807 including a signal such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 808 including a hard disk and the like; and a communication section 809 including a network interface card such as a LAN card, a modem, or the like. The communication section 809 performs communication processing via a network such as the internet. A drive 810 is also connected to the I/O interface 805 as necessary. A removable medium 811 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 810 as necessary, so that a computer program read out therefrom is mounted on the storage section 808 as necessary.
The present disclosure also provides a computer-readable storage medium, which may be contained in the apparatus/device/system described in the above embodiments; or may exist separately and not be assembled into the device/apparatus/system. The computer-readable storage medium carries one or more programs which, when executed, implement the method according to an embodiment of the disclosure.
According to embodiments of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, which may include, for example but is not limited to: 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), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. For example, according to embodiments of the present disclosure, a computer-readable storage medium may include the ROM802 and/or RAM 803 described above and/or one or more memories other than the ROM802 and RAM 803.
Embodiments of the present disclosure also include a computer program product comprising a computer program containing program code for performing the method illustrated in the flow chart. When the computer program product runs in a computer system, the program code is used for causing the computer system to realize the item recommendation method provided by the embodiment of the disclosure.
The computer program performs the above-described functions defined in the system/apparatus of the embodiments of the present disclosure when executed by the processor 801. The systems, apparatuses, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the present disclosure.
In one embodiment, the computer program may be hosted on a tangible storage medium such as an optical storage device, a magnetic storage device, or the like. In another embodiment, the computer program may also be transmitted in the form of a signal on a network medium, distributed, downloaded and installed via communication section 809, and/or installed from removable media 811. The computer program containing program code may be transmitted using any suitable network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
In such an embodiment, the computer program can be downloaded and installed from a network through the communication section 809 and/or installed from the removable medium 811. The computer program, when executed by the processor 801, performs the above-described functions defined in the system of the embodiments of the present disclosure. The systems, devices, apparatuses, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the present disclosure.
In accordance with embodiments of the present disclosure, program code for executing computer programs provided by embodiments of the present disclosure may be written in any combination of one or more programming languages, and in particular, these computer programs may be implemented using high level procedural and/or object oriented programming languages, and/or assembly/machine languages. The programming language includes, but is not limited to, programming languages such as Java, C + +, python, the "C" language, or the like. The program code may execute entirely on the user computing device, partly on the user device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Those skilled in the art will appreciate that various combinations and/or combinations of features recited in the various embodiments and/or claims of the present disclosure can be made, even if such combinations or combinations are not expressly recited in the present disclosure. In particular, various combinations and/or combinations of the features recited in the various embodiments and/or claims of the present disclosure may be made without departing from the spirit or teaching of the present disclosure. All such combinations and/or associations are within the scope of the present disclosure.
The embodiments of the present disclosure have been described above. However, these examples are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although the embodiments are described separately above, this does not mean that the measures in the embodiments cannot be used in advantageous combination. The scope of the disclosure is defined by the appended claims and equivalents thereof. Various alternatives and modifications can be devised by those skilled in the art without departing from the scope of the present disclosure, and such alternatives and modifications are intended to be within the scope of the present disclosure.

Claims (11)

1. A transaction processing method applied to a distributed system, comprising:
responding to a transaction request instruction initiated by a first account terminal to a second account terminal, and acquiring first state information of the first account terminal and second state information of the second account terminal;
under the condition that the first state information and the second state information meet preset conditions, first information is sent to the first account terminal, wherein the first information comprises the first state information and transaction amount information;
receiving the first processing result information, wherein the first processing result information is obtained by changing balance information of the first account end according to the transaction amount information under the condition that the current state information of the first account end is the same as the first state information of the first account end by the first account end;
and sending second information to the second account terminal under the condition that the first processing result information is successful in transaction, wherein the second information comprises the transaction amount information, so that the second account terminal changes balance information of the second account according to the transaction amount information to obtain second processing result information.
2. The method of claim 1, wherein the first information and the second information each include transaction identification information, and the transaction identification information is used to characterize the transaction information in the request instruction, and further comprising:
recording the first processing result information and the transaction identification information in a transaction log of the first account end;
and recording the second processing result information and the transaction identification information in a transaction log of the second account terminal.
3. The method of claim 2, further comprising:
sending third information to the first account side under the condition that the first processing result information is not received within preset time, wherein the third information comprises first state information of the first account side, the transaction amount information, the transaction identification information and a repeated mark;
and receiving third processing result information, wherein the third processing result information is obtained by changing balance information of the first account according to the transaction amount information when the current state information of the first account is the same as the first state information and the transaction identification information does not exist in a transaction log of the first account by the first account.
4. The method of claim 3, further comprising:
and receiving the first processing result information recorded in the transaction log of the first account terminal under the condition that the current state information of the first account terminal is the same as the first state information and the transaction identification information exists in the transaction log of the first account terminal.
5. The method of claim 3, further comprising:
sending fourth information to the second account terminal under the condition that the second processing result information is not received within preset time, wherein the fourth information comprises the transaction amount information, the transaction identification information and the repeated mark;
and receiving fourth processing result information, wherein the fourth processing result information is obtained by the second account terminal changing balance information of the second account terminal according to the transaction amount information under the condition that the transaction identification information does not exist in a transaction log of the second account terminal.
6. The method of claim 1, further comprising:
sending fifth information to the first account terminal under the condition that the second processing result information is transaction failure, wherein the fifth information comprises the transaction amount information;
and receiving fifth processing result information, wherein the fifth processing result information is obtained by the first account according to the transaction amount information and balance information of the first account.
7. The method of claim 1, wherein the preset conditions include:
the account states of the first account terminal and the second account terminal are normal;
and the account balance of the first account end is larger than the transaction amount in the transaction request instruction.
8. A transaction processing apparatus for use in a distributed system, comprising:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for responding to a transaction request instruction initiated by a first account terminal to a second account terminal to acquire first state information of the first account terminal and second state information of the second account terminal;
the first sending module is used for sending first information to the first account terminal under the condition that the first state information and the second state information meet preset conditions, wherein the first information comprises the first state information and transaction amount information;
a first receiving module, configured to receive the first processing result information, where the first processing result information is obtained by the first account changing, according to the transaction amount information, balance information of the first account when current state information of the first account is the same as the first state information;
and the second sending module is used for sending second information to the second account terminal under the condition that the first processing result information is successful in transaction, wherein the second information comprises the transaction amount information, so that the second account terminal can change balance information of the second account according to the transaction amount information.
9. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the method of any of claims 1-7.
10. A computer readable storage medium having stored thereon executable instructions which, when executed by a processor, cause the processor to perform the method of any one of claims 1 to 7.
11. A computer program product comprising a computer program which, when executed by a processor, implements a method according to any one of claims 1 to 7.
CN202210019138.0A 2022-01-07 2022-01-07 Transaction processing method, apparatus, device and medium applied to distributed system Pending CN114372792A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210019138.0A CN114372792A (en) 2022-01-07 2022-01-07 Transaction processing method, apparatus, device and medium applied to distributed system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210019138.0A CN114372792A (en) 2022-01-07 2022-01-07 Transaction processing method, apparatus, device and medium applied to distributed system

Publications (1)

Publication Number Publication Date
CN114372792A true CN114372792A (en) 2022-04-19

Family

ID=81143316

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210019138.0A Pending CN114372792A (en) 2022-01-07 2022-01-07 Transaction processing method, apparatus, device and medium applied to distributed system

Country Status (1)

Country Link
CN (1) CN114372792A (en)

Similar Documents

Publication Publication Date Title
CN112163946A (en) Accounting processing method and device based on distributed transaction system
CN112288577B (en) Transaction processing method, device, electronic equipment and medium for distributed service
CN114022031A (en) Data processing method, data processing apparatus, electronic device, medium, and computer program product
CN110223179B (en) Data processing method, device, system and medium for fund
CN113706155A (en) Network financial anti-fraud method, apparatus, device, medium, and program product
CN114004701A (en) Method and device for generating transaction result, electronic equipment and storage medium
CN110889682A (en) Payment information processing method, device, medium and equipment based on block chain
WO2023197917A1 (en) Payment security management method and apparatus and payment system
CN113132400A (en) Business processing method, device, computer system and storage medium
CN116757816A (en) Information approval method, device, equipment and storage medium
CN116451938A (en) Task processing method and device, electronic equipment and storage medium
CN113592645B (en) Data verification method and device
CN107209885A (en) The payment serviced for consumer remote and the system of communication connection
CN114372792A (en) Transaction processing method, apparatus, device and medium applied to distributed system
CN111415245B (en) Account opening method and device
CN115471228A (en) Financial business certificate checking method, device, equipment and storage medium
CN113436000A (en) Remittance processing method, remittance processing apparatus, electronic device, and readable storage medium
CN113989046A (en) Transaction processing method, apparatus, electronic device, storage medium, and program product
CN114037523A (en) Letter service test method, device, equipment, medium and program product
CN114372800A (en) Transaction processing method, apparatus, device, medium and product
CN112613980A (en) Transaction processing method and device, electronic equipment and computer-readable storage medium
CN112184406A (en) Data processing method, system, electronic device and computer readable storage medium
CN113778631A (en) Distributed transaction compensation method and device, electronic equipment and readable storage medium
CN111242753A (en) Cross-platform operation control method and system
CN113706045B (en) Funds payment method, apparatus, device, medium and program product

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