CN113448991A - Account multi-stage linkage system and method - Google Patents

Account multi-stage linkage system and method Download PDF

Info

Publication number
CN113448991A
CN113448991A CN202110780222.XA CN202110780222A CN113448991A CN 113448991 A CN113448991 A CN 113448991A CN 202110780222 A CN202110780222 A CN 202110780222A CN 113448991 A CN113448991 A CN 113448991A
Authority
CN
China
Prior art keywords
linkage
account
transaction
linked
bank system
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
CN202110780222.XA
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.)
Bank of China Ltd
Original Assignee
Bank of China 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 Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202110780222.XA priority Critical patent/CN113448991A/en
Publication of CN113448991A publication Critical patent/CN113448991A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/02Banking, e.g. interest calculation or account maintenance
    • 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Abstract

The invention provides an account multistage linkage system and method, which can be used in the field of distributed technology, and the system comprises: a linkage parameter setting module for: setting a field value of each bank system in the linkage parameter table; a linkage for: after receiving a linkage request sent by a bank system, inquiring a linkage parameter table, judging whether a current account of the bank system meets a trigger condition, if so, reading the linkage parameter table, and obtaining a linked account of the current account of the bank system; generating a linkage transaction; dispensing means for: splitting the linkage transaction into an atomic transaction corresponding to the current account and an atomic transaction corresponding to the linked account; sending the atomic transaction corresponding to the current account to the bank system, and receiving a transaction result; sending the atomic transaction corresponding to the linked account to a bank system corresponding to the linked account, and receiving a transaction result; and generating a linkage transaction result and sending the linkage transaction result to the linkage device. The invention can realize multi-level linkage of the account.

Description

Account multi-stage linkage system and method
Technical Field
The invention relates to the technical field of distribution, in particular to an account multi-stage linkage system and method.
Background
In a large-scale system, high-performance national large-traffic service is provided. New systems have been developed in large systems, requiring a switch from part to part for security. Since the handoff period may be long (e.g., 1-2 years), any transaction will not only consider processing by a single old system or processing by a single new system (distributed), but also transactions across old and new systems. Since the account causing the multi-level linkage is not within the transaction element, there is a problem that it cannot be routed in advance, and additionally the linked account may exist in a new system and an old system. If the system is a host system, callouts may not be allowed due to transaction security concerns. The multi-stage linkage is limited by the balance of the account, the balance transferred into the account and the linkage conditions, so that the multi-stage linkage can be only in sequence. Therefore, an account multi-level linkage method is lacked at present.
Disclosure of Invention
The embodiment of the invention provides an account multistage linkage system, which is used for realizing account multistage linkage and comprises:
a linkage parameter setting module for: setting a field value of each bank system in the linkage parameter table;
a linkage for: after receiving a linkage request sent by a bank system, inquiring a linkage parameter table, judging whether a current account of the bank system meets a trigger condition, if so, reading the linkage parameter table, and obtaining a linked account of the current account of the bank system; generating linkage transaction according to the current account and the linked account; receiving a linkage transaction result;
dispensing means for: splitting the linkage transaction into an atomic transaction corresponding to the current account and an atomic transaction corresponding to the linked account; sending the atomic transaction corresponding to the current account to the bank system, and receiving a returned transaction result of the atomic transaction corresponding to the current account; sending the atomic transaction corresponding to the linked account to a bank system corresponding to the linked account, and receiving a transaction result of the atomic transaction corresponding to the linked account; and splicing the transaction result of the atomic transaction corresponding to the current account and the transaction result of the atomic transaction corresponding to the linked account to generate a linked transaction result, and sending the linked transaction result to the linkage device.
The embodiment of the invention provides an account multi-stage linkage method, which is used for realizing account multi-stage linkage and comprises the following steps:
setting a field value of each bank system in the linkage parameter table;
after receiving a linkage request sent by a bank system, inquiring a linkage parameter table, judging whether a current account of the bank system meets a trigger condition, if so, reading the linkage parameter table, and obtaining a linked account of the current account of the bank system;
generating linkage transaction according to the current account and the linked account;
splitting the linkage transaction into an atomic transaction corresponding to the current account and an atomic transaction corresponding to the linked account;
sending the atomic transaction corresponding to the current account to the bank system, and receiving a returned transaction result of the atomic transaction corresponding to the current account;
sending the atomic transaction corresponding to the linked account to a bank system corresponding to the linked account, and receiving a transaction result of the atomic transaction corresponding to the linked account;
and splicing the transaction result of the atomic transaction corresponding to the current account and the transaction result of the atomic transaction corresponding to the linked account to generate a linked transaction result, and sending the linked transaction result to the linkage device.
The embodiment of the invention also provides computer equipment which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the multi-level linkage method of the account is realized when the processor executes the computer program.
The embodiment of the invention also provides a computer readable storage medium, and the computer readable storage medium stores a computer program for executing the account multi-stage linkage method.
In an embodiment of the present invention, the linkage parameter setting module is configured to: setting a field value of each bank system in the linkage parameter table; a linkage for: after receiving a linkage request sent by a bank system, inquiring a linkage parameter table, judging whether a current account of the bank system meets a trigger condition, if so, reading the linkage parameter table, and obtaining a linked account of the current account of the bank system; generating linkage transaction according to the current account and the linked account; receiving a linkage transaction result; dispensing means for: splitting the linkage transaction into an atomic transaction corresponding to the current account and an atomic transaction corresponding to the linked account; sending the atomic transaction corresponding to the current account to the bank system, and receiving a returned transaction result of the atomic transaction corresponding to the current account; sending the atomic transaction corresponding to the linked account to a bank system corresponding to the linked account, and receiving a transaction result of the atomic transaction corresponding to the linked account; and splicing the transaction result of the atomic transaction corresponding to the current account and the transaction result of the atomic transaction corresponding to the linked account to generate a linked transaction result, and sending the linked transaction result to the linkage device. In the process, the multi-level linkage does not need to synchronize the accounts across the system, and the performance of the original account operation of the original system is not influenced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts. In the drawings:
FIG. 1 is a schematic diagram of an account multi-level linkage system in accordance with an embodiment of the present invention;
FIG. 2 is another schematic view of an account multi-stage linkage system according to an embodiment of the present invention;
FIG. 3 is a flowchart of a multi-level linkage method for an account according to an embodiment of the present invention;
FIG. 4 is another flowchart of a multi-level linkage method for accounts according to an embodiment of the present invention;
FIG. 5 is a diagram of a computer device in an embodiment of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the embodiments of the present invention are further described in detail below with reference to the accompanying drawings. The exemplary embodiments and descriptions of the present invention are provided to explain the present invention, but not to limit the present invention.
In the description of the present specification, the terms "comprising," "including," "having," "containing," and the like are used in an open-ended fashion, i.e., to mean including, but not limited to. Reference to the description of the terms "one embodiment," "a particular embodiment," "some embodiments," "for example," etc., means that a particular feature, structure, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. The sequence of steps involved in the embodiments is for illustrative purposes to illustrate the implementation of the present application, and the sequence of steps is not limited and can be adjusted as needed.
Fig. 1 is a schematic diagram of an account multi-stage linkage system according to an embodiment of the present invention, and as shown in fig. 1, the system includes:
a linkage parameter setting module for: setting a field value of each bank system in the linkage parameter table;
a linkage for: after receiving a linkage request sent by a bank system, inquiring a linkage parameter table, judging whether a current account of the bank system meets a trigger condition, if so, reading the linkage parameter table, and obtaining a linked account of the current account of the bank system; generating linkage transaction according to the current account and the linked account; receiving a linkage transaction result;
dispensing means for: splitting the linkage transaction into an atomic transaction corresponding to the current account and an atomic transaction corresponding to the linked account; sending the atomic transaction corresponding to the current account to the bank system, and receiving a returned transaction result of the atomic transaction corresponding to the current account; sending the atomic transaction corresponding to the linked account to a bank system corresponding to the linked account, and receiving a transaction result of the atomic transaction corresponding to the linked account; and splicing the transaction result of the atomic transaction corresponding to the current account and the transaction result of the atomic transaction corresponding to the linked account to generate a linked transaction result, and sending the linked transaction result to the linkage device.
In the embodiment of the invention, the multi-level linkage does not need to synchronize accounts across systems, and the performance of the original account operation of the original system is not influenced.
In specific implementation, the multi-level linkage of the account refers to that in some large-scale enterprises, there are multi-level mechanisms for enterprise management and corresponding multi-level accounts, and in order to implement account balance management, a multi-level linkage mechanism of account balance, such as 4-level linkage, is used in a bank. A < -B < -C < -D. For example, when the balance of account D exceeds a certain upper limit, the balance is transferred to account C according to a certain rule, and account C and account B use the same mechanism. This may allow a transaction to implicitly trigger an account linking operation that is not readily apparent to the user. The linkage of the account and the account are managed separately, and the operation and the management of the account are still managed according to each bank system or distributed management strategies in the bank systems.
In addition, in the embodiment of the present invention, the banking system may be an old system or a new system, and there may be a plurality of new systems if the new systems are deployed in a distributed manner. Table 1 is an example of the linkage parameter table. The account number is a current account number, that is, an account initiating linkage, and there are various linkage ways, for example, pushing a balance to a linked account, or vice versa. The trigger condition may be, for example, the balance at which the trigger condition is reached, and the post-trigger result may be, for example, the balance remaining after the transfer. The linkage parameter setting module is used for setting field values in the table 1, the table 1 is updated in real time by a plurality of account numbers of a plurality of banking systems, and the table 1 can be synchronized to all the banking systems. The linkage parameter setting module can be deployed in a system with low pressure and a central geographic position (relatively close to machine rooms of other systems), and the efficiency of synchronizing to all bank systems can be improved.
TABLE 1
Figure BDA0003156434370000041
Figure BDA0003156434370000051
FIG. 2 is another schematic diagram of a multi-stage linkage system of an account according to an embodiment of the present invention, in which in an embodiment, there are a plurality of linkage devices, a plurality of dispensing devices, and a plurality of linkage parameter tables, wherein a bank system corresponds to one linkage device, one dispensing device, and one linkage parameter table, respectively;
the linkage parameter setting module is specifically used for: setting a field value of a linkage parameter table corresponding to each bank system;
the linkage is specifically configured to: after receiving a linkage request sent by a corresponding bank system, inquiring a corresponding linkage parameter table, judging whether the current account of the corresponding bank system meets a trigger condition, if so, reading the corresponding linkage parameter table, and obtaining a linked account of the current account of the bank system; generating linkage transaction according to the current account and the linked account; receiving a linkage transaction result;
the dispensing device is specifically configured to: splitting the linkage transaction into an atomic transaction corresponding to the current account and an atomic transaction corresponding to the linked account; sending the atomic transaction corresponding to the current account to a corresponding bank system, and receiving a returned transaction result of the atomic transaction corresponding to the current account; sending the atomic transaction corresponding to the linked account to a bank system corresponding to the linked account, and receiving a transaction result of the atomic transaction corresponding to the linked account; and splicing the transaction result of the atomic transaction corresponding to the current account and the transaction result of the atomic transaction corresponding to the linked account to generate a linked transaction result, and sending the linked transaction result to the corresponding linkage device.
The biggest difference between fig. 1 and fig. 2 is that the account multi-stage linkage systems are deployed differently, in fig. 1, the linkage device and the distribution device can both communicate with all the bank systems, the linkage device can receive linkage requests sent by all the bank systems, and the linkage parameter table stores field values of all the bank systems. In fig. 2, the linkage device only communicates with the corresponding banking systems and only receives linkage requests from the corresponding banking systems, the distribution device can communicate with a plurality of banking systems, and the linkage parameter table only stores field values of the corresponding banking systems.
In an embodiment, the distribution means is further adapted to:
when the atomic transaction corresponding to the current account and the atomic transaction corresponding to the linked account are multiple, the atomic transaction corresponding to the current account is sent to the bank system according to the transaction sequence, and the atomic transaction corresponding to the linked account is sent to the bank system corresponding to the linked account.
In one embodiment, the linkage is further configured to:
and recording a linkage operation log after receiving a linkage transaction result.
In one embodiment, the linkage request is sent through a message queue. The message queue is one-way asynchronous operation, and avoids the host calling operation of a new system or an old system. In high performance operation of the host, no performance bottleneck is created for the existing transaction. When the message queue is unblocked, the connection speed is very fast. In the account multi-stage linkage system shown in fig. 1, after each bank system processes one transaction (or atomic transaction), a linkage request is sent to the linkage device, the linkage device is used for judging whether the triggering condition is met, if the triggering condition is met all the time, multi-stage account linkage can be realized until the current account of a certain bank system does not meet the triggering condition, and linkage is finished. In the account multi-stage linkage system of fig. 2, the principle of multi-stage linkage is consistent, but each bank system sends a linkage request to the corresponding linkage device after processing one transaction (or atomic transaction).
In addition, in the new and old systems of the bank, the multi-level linkage accounts are in a small proportion, so the main logic of modifying the new and old systems can cause the performance of other transactions to be reduced. Therefore, the embodiment of the invention provides an account multi-stage linkage system, which is independent from the existing new and old systems, has more centralized multi-stage linkage account processing logic and can improve the processing efficiency.
In summary, in the system provided in the embodiment of the present invention, the linkage parameter setting module is configured to: setting a field value of each bank system in the linkage parameter table; a linkage for: after receiving a linkage request sent by a bank system, inquiring a linkage parameter table, judging whether a current account of the bank system meets a trigger condition, if so, reading the linkage parameter table, and obtaining a linked account of the current account of the bank system; generating linkage transaction according to the current account and the linked account; receiving a linkage transaction result; dispensing means for: splitting the linkage transaction into an atomic transaction corresponding to the current account and an atomic transaction corresponding to the linked account; sending the atomic transaction corresponding to the current account to the bank system, and receiving a returned transaction result of the atomic transaction corresponding to the current account; sending the atomic transaction corresponding to the linked account to a bank system corresponding to the linked account, and receiving a transaction result of the atomic transaction corresponding to the linked account; and splicing the transaction result of the atomic transaction corresponding to the current account and the transaction result of the atomic transaction corresponding to the linked account to generate a linked transaction result, and sending the linked transaction result to the linkage device. In the process, the multi-level linkage does not need to synchronize the accounts across the system, and the performance of the original account operation of the original system is not influenced. In addition, the transfer-out operation of the account and the transfer-in operation of the other account can easily realize the object consistency due to single-point control, and if a certain linkage link fails, the successful linkage operation is complete. Finally, a complete multi-stage linkage operation state is provided, and subsequent lookup and debugging are facilitated.
The embodiment of the invention also provides an account multi-stage linkage method, the principle of which is similar to that of an account multi-stage linkage system, and the details are not repeated here.
Fig. 3 is a flowchart of an account multi-level linkage method according to an embodiment of the present invention, as shown in fig. 3, including:
step 301, setting a field value of each bank system in a linkage parameter table;
step 302, after receiving a linkage request sent by a bank system, inquiring a linkage parameter table, judging whether the current account of the bank system meets a trigger condition, if so, reading the linkage parameter table, and obtaining a linked account of the current account of the bank system;
303, generating linkage transaction according to the current account and the linked account;
step 304, splitting the linkage transaction into an atomic transaction corresponding to the current account and an atomic transaction corresponding to the linked account;
step 305, sending the atomic transaction corresponding to the current account to the bank system, and receiving a returned transaction result of the atomic transaction corresponding to the current account;
step 306, sending the atomic transaction corresponding to the linked account to a bank system corresponding to the linked account, and receiving a transaction result of the atomic transaction corresponding to the linked account;
and 307, splicing the transaction result of the atomic transaction corresponding to the current account and the transaction result of the atomic transaction corresponding to the linked account to generate a linked transaction result, and sending the linked transaction result to the linkage device.
Fig. 4 is another flowchart of an account multi-level linkage method according to an embodiment of the present invention, in an embodiment, the method further includes:
step 401, setting a field value of a linkage parameter table corresponding to each bank system;
step 402, after receiving a linkage request sent by a corresponding bank system, inquiring a corresponding linkage parameter table, judging whether the current account of the corresponding bank system meets a trigger condition, if so, reading the corresponding linkage parameter table, and obtaining a linked account of the current account of the bank system;
step 403, generating a linkage transaction according to the current account and the linked account;
step 404, splitting the linkage transaction into an atomic transaction corresponding to the current account and an atomic transaction corresponding to the linked account;
step 405, sending the atomic transaction corresponding to the current account to a corresponding bank system, and receiving a returned transaction result of the atomic transaction corresponding to the current account;
step 406, sending the atomic transaction corresponding to the linked account to a bank system corresponding to the linked account, and receiving a transaction result of the atomic transaction corresponding to the linked account;
and 407, splicing the transaction result of the atomic transaction corresponding to the current account and the transaction result of the atomic transaction corresponding to the linked account to generate a linked transaction result.
In an embodiment, the method further comprises:
when the atomic transaction corresponding to the current account and the atomic transaction corresponding to the linked account are multiple, the atomic transaction corresponding to the current account is sent to the bank system according to the transaction sequence, and the atomic transaction corresponding to the linked account is sent to the bank system corresponding to the linked account.
In an embodiment, the method further comprises:
and recording a linkage operation log after receiving a linkage transaction result.
In one embodiment, the linkage request is sent through a message queue.
In summary, in the method provided in the embodiment of the present invention, the field value of each bank system in the linkage parameter table is set; after receiving a linkage request sent by a bank system, inquiring a linkage parameter table, judging whether a current account of the bank system meets a trigger condition, if so, reading the linkage parameter table, and obtaining a linked account of the current account of the bank system; generating linkage transaction according to the current account and the linked account; splitting the linkage transaction into an atomic transaction corresponding to the current account and an atomic transaction corresponding to the linked account; sending the atomic transaction corresponding to the current account to the bank system, and receiving a returned transaction result of the atomic transaction corresponding to the current account; sending the atomic transaction corresponding to the linked account to a bank system corresponding to the linked account, and receiving a transaction result of the atomic transaction corresponding to the linked account; and splicing the transaction result of the atomic transaction corresponding to the current account and the transaction result of the atomic transaction corresponding to the linked account to generate a linked transaction result, and sending the linked transaction result to the linkage device. In the process, the multi-level linkage does not need to synchronize the accounts across the system, and the performance of the original account operation of the original system is not influenced. In addition, the transfer-out operation of the account and the transfer-in operation of the other account can easily realize the object consistency due to single-point control, and if a certain linkage link fails, the successful linkage operation is complete. Finally, a complete multi-stage linkage operation state is provided, and subsequent lookup and debugging are facilitated.
An embodiment of the present invention further provides a computer device, and fig. 5 is a schematic diagram of the computer device in the embodiment of the present invention, where the computer device is capable of implementing all steps in the account multi-level linkage method in the embodiment, and the computer device specifically includes the following contents:
a processor (processor)501, a memory (memory)502, a communication Interface (Communications Interface)503, and a communication bus 504;
the processor 501, the memory 502 and the communication interface 503 complete mutual communication through the communication bus 504; the communication interface 503 is used for implementing information transmission between related devices such as server-side devices, detection devices, and user-side devices;
the processor 501 is configured to call the computer program in the memory 502, and when the processor executes the computer program, all the steps in the account multi-level linkage method in the above embodiments are implemented.
An embodiment of the present invention further provides a computer-readable storage medium, which can implement all the steps in the account multi-level linkage method in the above embodiment, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the computer program implements all the steps of the account multi-level linkage method in the above embodiment.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (12)

1. An account multi-level linkage system, comprising:
a linkage parameter setting module for: setting a field value of each bank system in the linkage parameter table;
a linkage for: after receiving a linkage request sent by a bank system, inquiring a linkage parameter table, judging whether a current account of the bank system meets a trigger condition, if so, reading the linkage parameter table, and obtaining a linked account of the current account of the bank system; generating linkage transaction according to the current account and the linked account; receiving a linkage transaction result;
dispensing means for: splitting the linkage transaction into an atomic transaction corresponding to the current account and an atomic transaction corresponding to the linked account; sending the atomic transaction corresponding to the current account to the bank system, and receiving a returned transaction result of the atomic transaction corresponding to the current account; sending the atomic transaction corresponding to the linked account to a bank system corresponding to the linked account, and receiving a transaction result of the atomic transaction corresponding to the linked account; and splicing the transaction result of the atomic transaction corresponding to the current account and the transaction result of the atomic transaction corresponding to the linked account to generate a linked transaction result, and sending the linked transaction result to the linkage device.
2. The multi-stage linkage system for accounts according to claim 1, wherein the linkage device is provided in plurality, the dispensing device is provided in plurality, and the linkage parameter table is provided in plurality, wherein one bank system corresponds to one linkage device, one dispensing device and one linkage parameter table respectively;
the linkage parameter setting module is specifically used for: setting a field value of a linkage parameter table corresponding to each bank system;
the linkage is specifically configured to: after receiving a linkage request sent by a corresponding bank system, inquiring a corresponding linkage parameter table, judging whether the current account of the corresponding bank system meets a trigger condition, if so, reading the corresponding linkage parameter table, and obtaining a linked account of the current account of the bank system; generating linkage transaction according to the current account and the linked account; receiving a linkage transaction result;
the dispensing device is specifically configured to: splitting the linkage transaction into an atomic transaction corresponding to the current account and an atomic transaction corresponding to the linked account; sending the atomic transaction corresponding to the current account to a corresponding bank system, and receiving a returned transaction result of the atomic transaction corresponding to the current account; sending the atomic transaction corresponding to the linked account to a bank system corresponding to the linked account, and receiving a transaction result of the atomic transaction corresponding to the linked account; and splicing the transaction result of the atomic transaction corresponding to the current account and the transaction result of the atomic transaction corresponding to the linked account to generate a linked transaction result, and sending the linked transaction result to the corresponding linkage device.
3. The account multi-stage linkage system of claim 1, wherein the dispensing device is further configured to:
when the atomic transaction corresponding to the current account and the atomic transaction corresponding to the linked account are multiple, the atomic transaction corresponding to the current account is sent to the bank system according to the transaction sequence, and the atomic transaction corresponding to the linked account is sent to the bank system corresponding to the linked account.
4. The account multi-stage linkage system of claim 1, wherein the linkage is further configured to:
and recording a linkage operation log after receiving a linkage transaction result.
5. The account multi-stage linkage system of claim 1, wherein the linkage request is sent through a message queue.
6. An account multi-level linkage method, comprising:
setting a field value of each bank system in the linkage parameter table;
after receiving a linkage request sent by a bank system, inquiring a linkage parameter table, judging whether a current account of the bank system meets a trigger condition, if so, reading the linkage parameter table, and obtaining a linked account of the current account of the bank system;
generating linkage transaction according to the current account and the linked account;
splitting the linkage transaction into an atomic transaction corresponding to the current account and an atomic transaction corresponding to the linked account;
sending the atomic transaction corresponding to the current account to the bank system, and receiving a returned transaction result of the atomic transaction corresponding to the current account;
sending the atomic transaction corresponding to the linked account to a bank system corresponding to the linked account, and receiving a transaction result of the atomic transaction corresponding to the linked account;
and splicing the transaction result of the atomic transaction corresponding to the current account and the transaction result of the atomic transaction corresponding to the linked account to generate a linked transaction result, and sending the linked transaction result to the linkage device.
7. The account multi-level linkage method of claim 6, further comprising:
setting a field value of a linkage parameter table corresponding to each bank system;
after receiving a linkage request sent by a corresponding bank system, inquiring a corresponding linkage parameter table, judging whether the current account of the corresponding bank system meets a trigger condition, if so, reading the corresponding linkage parameter table, and obtaining a linked account of the current account of the bank system;
generating linkage transaction according to the current account and the linked account;
splitting the linkage transaction into an atomic transaction corresponding to the current account and an atomic transaction corresponding to the linked account;
sending the atomic transaction corresponding to the current account to a corresponding bank system, and receiving a returned transaction result of the atomic transaction corresponding to the current account;
sending the atomic transaction corresponding to the linked account to a bank system corresponding to the linked account, and receiving a transaction result of the atomic transaction corresponding to the linked account;
and splicing the transaction result of the atomic transaction corresponding to the current account and the transaction result of the atomic transaction corresponding to the linked account to generate a linked transaction result.
8. The account multi-level linkage method of claim 6, further comprising:
when the atomic transaction corresponding to the current account and the atomic transaction corresponding to the linked account are multiple, the atomic transaction corresponding to the current account is sent to the bank system according to the transaction sequence, and the atomic transaction corresponding to the linked account is sent to the bank system corresponding to the linked account.
9. The account multi-level linkage method of claim 6, further comprising:
and recording a linkage operation log after receiving a linkage transaction result.
10. The account multi-level linkage method of claim 6, wherein the linkage request is sent through a message queue.
11. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method of any of claims 6 to 10 when executing the computer program.
12. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program for executing the method of any one of claims 6 to 10.
CN202110780222.XA 2021-07-09 2021-07-09 Account multi-stage linkage system and method Pending CN113448991A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110780222.XA CN113448991A (en) 2021-07-09 2021-07-09 Account multi-stage linkage system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110780222.XA CN113448991A (en) 2021-07-09 2021-07-09 Account multi-stage linkage system and method

Publications (1)

Publication Number Publication Date
CN113448991A true CN113448991A (en) 2021-09-28

Family

ID=77815822

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110780222.XA Pending CN113448991A (en) 2021-07-09 2021-07-09 Account multi-stage linkage system and method

Country Status (1)

Country Link
CN (1) CN113448991A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100017325A1 (en) * 2008-07-17 2010-01-21 International Business Machines Corporation Multiple financial account transaction processing
CN101950402A (en) * 2010-09-01 2011-01-19 中国建设银行股份有限公司 Method and system for realizing two accounts of one bank card
CN107103530A (en) * 2017-04-10 2017-08-29 中国工商银行股份有限公司 A kind of many account trading method and system of bank individual
CN111681105A (en) * 2020-06-08 2020-09-18 中国银行股份有限公司 Account management method and device
CN112215701A (en) * 2020-10-13 2021-01-12 中国银行股份有限公司 Method and device for flexibly managing funds among multiple accounts
CN112330444A (en) * 2020-12-31 2021-02-05 北京快成科技股份公司 Platform multi-bank access calling method, system and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100017325A1 (en) * 2008-07-17 2010-01-21 International Business Machines Corporation Multiple financial account transaction processing
CN101950402A (en) * 2010-09-01 2011-01-19 中国建设银行股份有限公司 Method and system for realizing two accounts of one bank card
CN107103530A (en) * 2017-04-10 2017-08-29 中国工商银行股份有限公司 A kind of many account trading method and system of bank individual
CN111681105A (en) * 2020-06-08 2020-09-18 中国银行股份有限公司 Account management method and device
CN112215701A (en) * 2020-10-13 2021-01-12 中国银行股份有限公司 Method and device for flexibly managing funds among multiple accounts
CN112330444A (en) * 2020-12-31 2021-02-05 北京快成科技股份公司 Platform multi-bank access calling method, system and device

Similar Documents

Publication Publication Date Title
TWI679547B (en) Block chain business acceptance and business consensus method and device
CN108805702B (en) Transaction buffering/accelerating method based on block chain and block chain transaction processing system
US7415470B2 (en) Capturing and re-creating the state of a queue when migrating a session
JP3762846B2 (en) Data processing apparatus and method for managing workload related to a group of servers
CN103309738B (en) User job dispatching method and device
US20060129528A1 (en) Database load reducing system and load reducing program
CN103986694B (en) Control method of multi-replication consistency in distributed computer data storing system
EP2954424B1 (en) Method, device, and system for peer-to-peer data replication and method, device, and system for master node switching
CN104348793B (en) The storage method of storage server system and data message
CN105119997A (en) Data processing method of cloud computing system
CN109144785A (en) Method and apparatus for Backup Data
US10341176B2 (en) System and method for network provisioning
CN102904961A (en) Method and system for scheduling cloud computing resources
CN112615793A (en) Data current limiting method and device
CN111343102A (en) Flow rate control method, server-side server, client-side server and system
CN113687964A (en) Data processing method, data processing apparatus, electronic device, storage medium, and program product
CN106874341B (en) Database synchronization method
JP2022521412A (en) Asynchronous storage management in distributed systems
CN110311826B (en) Network equipment configuration method and device
CN113448991A (en) Account multi-stage linkage system and method
CN109992575B (en) Distributed storage system for big data
CN112950349B (en) Method and system for processing base distributed system flushing quadrature easy time sequence exception
CN113610530A (en) Account multi-stage linkage system and method across old system and new system
CN108228644A (en) For method and device derived from report
CN114500416A (en) Delivery method and delivery system for at most one message delivery

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