+

CN113610530A - Account multi-level linkage system and method across old and new systems - Google Patents

Account multi-level linkage system and method across old and new systems Download PDF

Info

Publication number
CN113610530A
CN113610530A CN202110993481.0A CN202110993481A CN113610530A CN 113610530 A CN113610530 A CN 113610530A CN 202110993481 A CN202110993481 A CN 202110993481A CN 113610530 A CN113610530 A CN 113610530A
Authority
CN
China
Prior art keywords
linkage
account
transaction
linked
atomic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110993481.0A
Other languages
Chinese (zh)
Other versions
CN113610530B (en
Inventor
熊维
戈星晨
刘楠楠
邢海岚
杨小芳
赵书祥
简季铭
孙龙堂
闫琨
王汝娇
张阳
戴雪梅
杨毅刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN202110993481.0A priority Critical patent/CN113610530B/en
Publication of CN113610530A publication Critical patent/CN113610530A/en
Application granted granted Critical
Publication of CN113610530B publication Critical patent/CN113610530B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/386Payment protocols; Details thereof using messaging services or messaging apps
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/382Payment protocols; Details thereof insuring higher security of transaction

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Engineering & Computer Science (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer And Data Communications (AREA)

Abstract

本发明提供了一种跨新旧系统的账户多级联动系统及方法,可用于分布式技术领域,该系统包括:多个联动节点,用于:接收对应的系统发送的当前账户的交易成功消息;查询联动参数表,判断当前账户是否满足触发条件,若是,读取对应的系统的联动参数表,获得被联动账户;生成当前账户对应的原子交易和被联动账户对应的原子交易;将当前账户对应的原子交易发送至对应的系统;将被联动账户对应的原子交易发送至被联动账户对应的系统对应的联动节点;在接收到对应的系统返回的当前账户对应的原子交易的交易成功消息后,发送至被联动账户对应的系统对应的联动节点;接收联动结果。本发明可以实现跨新旧系统的账户多级联动。

Figure 202110993481

The invention provides a system and method for multi-level linkage of accounts across new and old systems, which can be used in the field of distributed technology. The system includes: a plurality of linkage nodes for: receiving the transaction success message of the current account sent by the corresponding system; Query the linkage parameter table to determine whether the current account meets the trigger conditions. If so, read the linkage parameter table of the corresponding system to obtain the linked account; generate the atomic transaction corresponding to the current account and the atomic transaction corresponding to the linked account; Send the atomic transaction corresponding to the linked account to the corresponding system; send the atomic transaction corresponding to the linked account to the linkage node corresponding to the system corresponding to the linked account; after receiving the transaction success message of the atomic transaction corresponding to the current account returned by the corresponding system, Send to the linkage node corresponding to the system corresponding to the linked account; receive the linkage result. The present invention can realize multi-level linkage of accounts across new and old systems.

Figure 202110993481

Description

Account multi-stage linkage system and method across old system and new system
Technical Field
The invention relates to the technical field of distribution, in particular to an account multi-stage linkage system and method for crossing old and new systems.
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, a multi-level linkage method for accounts crossing new and old systems is lacking at present.
Disclosure of Invention
The embodiment of the invention provides an account multi-stage linkage system across new and old systems, which is used for realizing the account multi-stage linkage across the new and old systems and comprises the following components:
the system comprises a plurality of linkage nodes, a plurality of communication nodes and a plurality of communication nodes, wherein each linkage node corresponds to a new system or an old system;
a linkage node for:
receiving a transaction success message of a current account sent by a corresponding system, wherein the system is a new system or an old system;
inquiring the linkage parameter table, judging whether the current account meets the triggering condition, if so, reading the linkage parameter table of the corresponding system, and obtaining a linked account;
generating 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 system;
sending the atomic transaction corresponding to the linked account to a linkage node corresponding to a system corresponding to the linked account;
after receiving a transaction success message of the atomic transaction corresponding to the current account returned by the corresponding system, sending the transaction success message of the atomic transaction corresponding to the current account to a linkage node corresponding to the system corresponding to the linked account; the linkage node corresponding to the system corresponding to the linked account returns a linkage result according to the transaction result of the atomic transaction corresponding to the linked account and the transaction success message of the atomic transaction corresponding to the current account;
and receiving a linkage result returned by the linkage node corresponding to the system corresponding to the linked account.
The embodiment of the invention provides an account multi-stage linkage method across new and old systems, which is applied to the system and used for realizing the account multi-stage linkage across the new and old systems, and comprises the following steps:
receiving a transaction success message of a current account sent by a corresponding system, wherein the system is a new system or an old system;
inquiring the linkage parameter table, judging whether the current account meets the triggering condition, if so, reading the linkage parameter table of the corresponding system, and obtaining a linked account;
generating 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 system;
sending the atomic transaction corresponding to the linked account to a linkage node corresponding to a system corresponding to the linked account;
after receiving a transaction success message of the atomic transaction corresponding to the current account returned by the corresponding system, sending the transaction success message of the atomic transaction corresponding to the current account to a linkage node corresponding to the system corresponding to the linked account; the linkage node corresponding to the system corresponding to the linked account returns a linkage result according to the transaction result of the atomic transaction corresponding to the linked account and the transaction success message of the atomic transaction corresponding to the current account;
and receiving a linkage result returned by the linkage node corresponding to the system corresponding to the linked account.
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 processor realizes the multi-level linkage method of the accounts crossing the old system and the new system when executing 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 crossing the old system and the new system.
In the embodiment of the invention, each linkage node corresponds to a new system or an old system; a linkage node for: receiving a transaction success message of a current account sent by a corresponding system, wherein the system is a new system or an old system; inquiring the linkage parameter table, judging whether the current account meets the triggering condition, if so, reading the linkage parameter table of the corresponding system, and obtaining a linked account; generating 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 system; sending the atomic transaction corresponding to the linked account to a linkage node corresponding to a system corresponding to the linked account; after receiving a transaction success message of the atomic transaction corresponding to the current account returned by the corresponding system, sending the transaction success message of the atomic transaction corresponding to the current account to a linkage node corresponding to the system corresponding to the linked account; the linkage node corresponding to the system corresponding to the linked account returns a linkage result according to the transaction result of the atomic transaction corresponding to the linked account and the transaction success message of the atomic transaction corresponding to the current account; and receiving a linkage result returned by the linkage node corresponding to the system corresponding to the linked account. 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 across old and new systems in an embodiment of the present invention;
FIG. 2 is a schematic diagram of a specific application of the multi-level linkage system of the account across the old system and the new system in the embodiment of the present invention;
FIG. 3 is a flow chart of a method for multi-level linkage of accounts across old and new systems in an embodiment of the present invention;
FIG. 4 is another flow chart of a method for multi-level linkage of accounts across old and new systems in 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 across old and new systems in an embodiment of the present invention, as shown in fig. 1, the system includes:
the system comprises a plurality of linkage nodes, a plurality of communication nodes and a plurality of communication nodes, wherein each linkage node corresponds to a new system or an old system;
a linkage node for:
receiving a transaction success message of a current account sent by a corresponding system, wherein the system is a new system or an old system;
inquiring the linkage parameter table, judging whether the current account meets the triggering condition, if so, reading the linkage parameter table of the corresponding system, and obtaining a linked account;
generating 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 system;
sending the atomic transaction corresponding to the linked account to a linkage node corresponding to a system corresponding to the linked account;
after receiving a transaction success message of the atomic transaction corresponding to the current account returned by the corresponding system, sending the transaction success message of the atomic transaction corresponding to the current account to a linkage node corresponding to the system corresponding to the linked account; the linkage node corresponding to the system corresponding to the linked account returns a linkage result according to the transaction result of the atomic transaction corresponding to the linked account and the transaction success message of the atomic transaction corresponding to the current account;
and receiving a linkage result returned by the linkage node corresponding to the system corresponding to the linked account.
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.
Table 1 is an example of the linkage parameter table.
TABLE 1
Figure BDA0003233115520000041
In specific implementation, each linkage node corresponds to a new system or an old system, and the new systems or the old systems do not communicate with each other but pass through the linkage nodes. And the new system or the old system normally carries out transaction, and when the transaction is successful and every time the transaction is carried out, a transaction success message is sent to the corresponding linkage node.
In one embodiment, the transaction success message 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 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 spans new and old systems, is independent from the existing new and old systems, has centralized multi-stage linkage account processing logic and can improve the processing efficiency.
Multiple linkage nodes may form a P2P sub-network for a small number of complex internal interactive uses. Each linkage node may be served by an internal interaction module attached to the new or old system. Therefore, the hardware complexity of the original system is not increased, and the peer-to-peer network interaction speed of the P2P sub-network is fastest. Although seemingly complex, in practice, if there are N systems, only N-1 connections per node need to be managed.
It should be noted that each new system or old system only operates the linkage of the account of the system and the next account, and since the transfer operation of the two accounts requires the consistency of things, the transfer operation must be completed at the same initiating terminal, but the linkage operation of the next account is moved to the system to which the next account belongs. This has the advantage that each account and its associated parameters do not have to be replicated and synchronized across the system, but rather are stored locally. The method provides convenience for the division of the account and the linkage parameters thereof according to the system by regions.
In one embodiment, the linkage node is specifically configured to:
sending the received atomic transaction corresponding to the linked account to a corresponding system;
after receiving a transaction success message of the atomic transaction corresponding to the linked account returned by the corresponding system, reading a linkage parameter table of the corresponding system, and judging whether the linked account meets a trigger condition;
if the linked account meets the triggering condition, waiting for a transaction success message of the atomic transaction corresponding to the current account;
when a transaction success message of the atomic transaction corresponding to the current account is received, reading a linkage parameter table of a corresponding system to obtain a linked account of the corresponding system;
when the transaction success message of the atomic transaction corresponding to the current account is received and is timed out, determining that the linkage result is a linkage failure message, and sending the linkage failure message to a linkage node corresponding to a system corresponding to the current account;
and if the linked account does not meet the triggering condition, determining that the linkage result is a linkage success message, and sending the linkage success message to a linkage node corresponding to the system corresponding to the current account.
In the above embodiment, when the transaction success message of the atomic transaction corresponding to the current account is received, the linkage parameter table of the corresponding system is read, and the linked account of the corresponding system is obtained, so that the multi-level linkage of the accounts can be continued according to the method, and the linkage result is sent to the previous linkage node regardless of the success or failure of the linkage, and therefore, the linkage result is collected to the first linkage node.
In one embodiment, the linkage node is further configured to:
after a transaction success message of the atomic transaction corresponding to the current account returned by the corresponding system is received, recording a linkage operation log;
and recording a linkage operation log after receiving the linkage result.
In the above embodiment, the first linkage node records the linkage operation log for subsequent review and verification.
In one embodiment, the linkage node 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 corresponding system according to the transaction sequence, and the atomic transaction corresponding to the linked account is sent to the linkage node corresponding to the system corresponding to the linked account.
A specific embodiment is given below to illustrate a specific application of the system proposed by the embodiment of the present invention.
Fig. 2 is a schematic diagram of a specific application of an account multi-stage linkage system across new and old systems in an embodiment of the present invention, where the account multi-stage linkage system across new and old systems includes 4 linkage nodes 1, which are respectively a linkage node 1, a linkage node 2, a linkage node 3, and a linkage node 4, and respectively correspond to systems of 4 banks, which are respectively an old system 1, a new system 2, a new system 3, and a new system 4.
The linkage node 1 receives a transaction success message of the account 1 sent by the old system 1, inquires the linkage parameter table 1, judges that the account 1 meets a trigger condition, reads the linkage parameter table 1 corresponding to the system 1, and obtains a linked account 2; generating an atomic transaction corresponding to the account 1 and an atomic transaction corresponding to the linked account 2; sending the atomic transaction corresponding to the account 1 to the old system 1; sending the atomic transaction corresponding to the linked account 2 to the linked node 2 corresponding to the new system 2 corresponding to the linked account 2; after receiving a transaction success message of the atomic transaction corresponding to the account 1 returned by the old system 1, sending the transaction success message of the atomic transaction corresponding to the account 1 to the linkage node 2; the linkage result 1 is received.
The linkage node 2 sends the received atomic transaction corresponding to the linked account 2 to the new system 2; after receiving a transaction success message of the atomic transaction corresponding to the linked account returned by the new system 2, reading the linkage parameter table 2 of the new system 2, and judging whether the linked account 2 meets the triggering condition;
if the linked account 2 meets the trigger condition, waiting for a transaction success message of the atomic transaction corresponding to the account 1;
when a transaction success message of the atomic transaction corresponding to the account 1 is received, reading the linkage parameter table 2 of the new system 2, obtaining a linked account 3 of the new system 2, and then continuing to perform linkage aiming at the linked account 2 and the linked account 3 to obtain a linkage result 2;
when the transaction success message of the atomic transaction corresponding to the account 1 is received and is timed out, determining that the linkage result 1 is a linkage failure message, and sending the linkage failure message to the linkage node 1 corresponding to the old system 1 corresponding to the account 1;
and if the linked account 2 does not meet the triggering condition, determining that the linkage result 1 is a linkage success message, and sending the linkage success message to the linkage node 1 corresponding to the old system 1 corresponding to the account 1.
And the linkage node 1 records the linkage operation log according to the linkage result 1 and the transaction success message of the atomic transaction corresponding to the account 1.
In summary, in the system provided in the embodiment of the present invention, each linkage node corresponds to a new system or an old system; a linkage node for: receiving a transaction success message of a current account sent by a corresponding system, wherein the system is a new system or an old system; inquiring the linkage parameter table, judging whether the current account meets the triggering condition, if so, reading the linkage parameter table of the corresponding system, and obtaining a linked account; generating 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 system; sending the atomic transaction corresponding to the linked account to a linkage node corresponding to a system corresponding to the linked account; after receiving a transaction success message of the atomic transaction corresponding to the current account returned by the corresponding system, sending the transaction success message of the atomic transaction corresponding to the current account to a linkage node corresponding to the system corresponding to the linked account; and the linkage node corresponding to the system corresponding to the linked account returns a linkage result according to the transaction result of the atomic transaction corresponding to the linked account and the transaction success message of the atomic transaction corresponding to the current account. 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. The connectivity of the P2P network formed by multiple linkage nodes is not complex in nature and has good performance. 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 crossing the new system and the old system, the principle of which is similar to that of the account multi-stage linkage system crossing the new system and the old system, and the details are not repeated here.
Fig. 3 is a flowchart of an account multi-level linkage method across old and new systems in the embodiment of the present invention, as shown in fig. 3, including:
step 301, receiving a transaction success message of a current account sent by a corresponding system, wherein the system is a new system or an old system;
step 302, inquiring a linkage parameter table, judging whether the current account meets a trigger condition, if so, reading a linkage parameter table of a corresponding system, and obtaining a linked account;
303, generating an atomic transaction corresponding to the current account and an atomic transaction corresponding to the linked account;
step 304, sending the atomic transaction corresponding to the current account to a corresponding system;
step 305, sending the atomic transaction corresponding to the linked account to a linkage node corresponding to a system corresponding to the linked account;
step 306, after receiving a transaction success message of the atomic transaction corresponding to the current account returned by the corresponding system, sending the transaction success message of the atomic transaction corresponding to the current account to a linkage node corresponding to the system corresponding to the linked account; the linkage node corresponding to the system corresponding to the linked account returns a linkage result according to the transaction result of the atomic transaction corresponding to the linked account and the transaction success message of the atomic transaction corresponding to the current account;
and 307, receiving a linkage result returned by the linkage node corresponding to the system corresponding to the linked account.
Fig. 4 is another flowchart of an account multi-level linkage method across old and new systems according to an embodiment of the present invention, in an embodiment, the method further includes:
step 401, sending the received atomic transaction corresponding to the linked account to a corresponding system;
step 402, after receiving a transaction success message of the atomic transaction corresponding to the linked account returned by the corresponding system, reading a linkage parameter table of the corresponding system, and judging whether the linked account meets a trigger condition;
step 4021, if the linked account meets the trigger condition, waiting for a transaction success message of the atomic transaction corresponding to the current account;
step 40211, when receiving a transaction success message of the atomic transaction corresponding to the current account, reading the linkage parameter table of the corresponding system to obtain the linked account of the corresponding system;
step 40212, when the time of receiving the transaction success message of the atomic transaction corresponding to the current account is out, determining that the linkage result is the linkage failure message, and sending the linkage failure message to the linkage node corresponding to the system corresponding to the current account;
step 4022, if the linked account does not meet the triggering condition, determining that the linkage result is a linkage success message, and sending the linkage success message to the linkage node corresponding to the system corresponding to the current account.
In one embodiment, the sending the atomic transaction corresponding to the current account to the corresponding system, and the sending the atomic transaction corresponding to the linked account to the linkage node corresponding to the system corresponding to the linked account includes:
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 corresponding system according to the transaction sequence, and the atomic transaction corresponding to the linked account is sent to the linkage node corresponding to the system corresponding to the linked account.
In an embodiment, the method further comprises:
after a transaction success message of the atomic transaction corresponding to the current account returned by the corresponding system is received, recording a linkage operation log;
and recording a linkage operation log after receiving the linkage result.
In summary, in the method provided in the embodiment of the present invention, a transaction success message of a current account sent by a corresponding system is received, where the system is a new system or an old system; inquiring the linkage parameter table, judging whether the current account meets the triggering condition, if so, reading the linkage parameter table of the corresponding system, and obtaining a linked account; generating 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 system; sending the atomic transaction corresponding to the linked account to a linkage node corresponding to a system corresponding to the linked account; after receiving a transaction success message of the atomic transaction corresponding to the current account returned by the corresponding system, sending the transaction success message of the atomic transaction corresponding to the current account to a linkage node corresponding to the system corresponding to the linked account; and the linkage node corresponding to the system corresponding to the linked account returns a linkage result according to the transaction result of the atomic transaction corresponding to the linked account and the transaction success message of the atomic transaction corresponding to the current account. 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. The connectivity of the P2P network formed by multiple linkage nodes is not complex in nature and has good performance. 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 across new and old systems 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, the processor implements all the steps in the multi-level linkage method for accounts crossing new and old systems in the above embodiments.
The embodiment of the present invention further provides a computer-readable storage medium, which can implement all the steps of the account multi-level linkage method across the old and new systems in the above embodiment, and 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 across the old and new systems 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.一种跨新旧系统的账户多级联动系统,其特征在于,包括:多个联动节点,其中,每个联动节点对应一个新系统或旧系统;1. A multi-level linkage system for accounts across old and new systems, comprising: a plurality of linkage nodes, wherein each linkage node corresponds to a new system or an old system; 联动节点,用于:Linkage node for: 接收对应的系统发送的当前账户的交易成功消息,所述系统为新系统或旧系统;Receive the transaction success message of the current account sent by the corresponding system, where the system is a new system or an old system; 查询联动参数表,判断当前账户是否满足触发条件,若是,读取对应的系统的联动参数表,获得被联动账户;Query the linkage parameter table to determine whether the current account meets the triggering conditions, and if so, read the linkage parameter table of the corresponding system to obtain the linked account; 生成当前账户对应的原子交易和被联动账户对应的原子交易;Generate the atomic transaction corresponding to the current account and the atomic transaction corresponding to the linked account; 将当前账户对应的原子交易发送至对应的系统;Send the atomic transaction corresponding to the current account to the corresponding system; 将被联动账户对应的原子交易发送至被联动账户对应的系统对应的联动节点;Send the atomic transaction corresponding to the linked account to the linkage node corresponding to the system corresponding to the linked account; 在接收到对应的系统返回的当前账户对应的原子交易的交易成功消息后,将当前账户对应的原子交易的交易成功消息发送至被联动账户对应的系统对应的联动节点;所述被联动账户对应的系统对应的联动节点根据被联动账户对应的原子交易的交易结果和当前账户对应的原子交易的交易成功消息返回联动结果;After receiving the transaction success message of the atomic transaction corresponding to the current account returned by the corresponding system, the transaction success message of the atomic transaction corresponding to the current account is sent to the linkage node corresponding to the system corresponding to the linked account; the linked account corresponds to The linkage node corresponding to the system of the linked account returns the linkage result according to the transaction result of the atomic transaction corresponding to the linked account and the transaction success message of the atomic transaction corresponding to the current account; 接收被联动账户对应的系统对应的联动节点返回的联动结果。Receive the linkage result returned by the linkage node corresponding to the system corresponding to the linked account. 2.如权利要求1所述的跨新旧系统的账户多级联动系统,其特征在于,联动节点具体用于:2. The account multi-level linkage system across old and new systems as claimed in claim 1, wherein the linkage node is specifically used for: 将接收到的被联动账户对应的原子交易发送至对应的系统;Send the received atomic transaction corresponding to the linked account to the corresponding system; 在接收到对应的系统返回的被联动账户对应的原子交易的交易成功消息后,读取对应的系统的联动参数表,判断被联动账户是否满足触发条件;After receiving the transaction success message of the atomic transaction corresponding to the linked account returned by the corresponding system, read the linkage parameter table of the corresponding system to determine whether the linked account meets the trigger conditions; 若被联动账户满足触发条件,等待当前账户对应的原子交易的交易成功消息;If the linked account meets the trigger conditions, wait for the transaction success message of the atomic transaction corresponding to the current account; 在接收到当前账户对应的原子交易的交易成功消息时,读取对应的系统的联动参数表,获得对应的系统的被联动账户;When receiving the transaction success message of the atomic transaction corresponding to the current account, read the linkage parameter table of the corresponding system, and obtain the linked account of the corresponding system; 在接收当前账户对应的原子交易的交易成功消息超时时,确定联动结果为联动失败消息,并发送至当前账户对应的系统对应的联动节点;When receiving the transaction success message of the atomic transaction corresponding to the current account times out, determine that the linkage result is a linkage failure message, and send it to the linkage node corresponding to the system corresponding to the current account; 若被联动账户不满足触发条件,确定联动结果为将联动成功消息,并发送至当前账户对应的系统对应的联动节点。If the linked account does not meet the triggering conditions, it is determined that the linkage result is a linkage success message and sent to the linkage node corresponding to the system corresponding to the current account. 3.如权利要求1所述的跨新旧系统的账户多级联动系统,其特征在于,联动节点还用于:3. the account multi-level linkage system across old and new systems as claimed in claim 1, is characterized in that, linkage node is also used for: 在当前账户对应的原子交易和被联动账户对应的原子交易有多个时,根据交易顺序,将当前账户对应的原子交易发送至对应的系统,将被联动账户对应的原子交易发送至被联动账户对应的系统对应的联动节点。When there are multiple atomic transactions corresponding to the current account and atomic transactions corresponding to the linked account, according to the transaction sequence, the atomic transaction corresponding to the current account is sent to the corresponding system, and the atomic transaction corresponding to the linked account is sent to the linked account. The linkage node corresponding to the corresponding system. 4.如权利要求1所述的跨新旧系统的账户多级联动系统,其特征在于,联动节点还用于:4. the account multi-level linkage system across old and new systems as claimed in claim 1, is characterized in that, linkage node is also used for: 在接收到对应的系统返回的当前账户对应的原子交易的交易成功消息后,记录联动操作日志;After receiving the transaction success message of the atomic transaction corresponding to the current account returned by the corresponding system, record the linkage operation log; 在接收到联动结果后,记录联动操作日志。After receiving the linkage result, record the linkage operation log. 5.如权利要求1所述的跨新旧系统的账户多级联动系统,其特征在于,所述交易成功消息是通过消息队列发送的。5 . The account multi-level linkage system across new and old systems according to claim 1 , wherein the transaction success message is sent through a message queue. 6 . 6.一种跨新旧系统的账户多级联动方法,其特征在于,应用于权利要求1-5任一项所述的系统,包括:6. A method for multi-level linkage of accounts across old and new systems, characterized in that, applied to the system according to any one of claims 1-5, comprising: 接收对应的系统发送的当前账户的交易成功消息,所述系统为新系统或旧系统;Receive the transaction success message of the current account sent by the corresponding system, where the system is a new system or an old system; 查询联动参数表,判断当前账户是否满足触发条件,若是,读取对应的系统的联动参数表,获得被联动账户;Query the linkage parameter table to determine whether the current account meets the triggering conditions, and if so, read the linkage parameter table of the corresponding system to obtain the linked account; 生成当前账户对应的原子交易和被联动账户对应的原子交易;Generate the atomic transaction corresponding to the current account and the atomic transaction corresponding to the linked account; 将当前账户对应的原子交易发送至对应的系统;Send the atomic transaction corresponding to the current account to the corresponding system; 将被联动账户对应的原子交易发送至被联动账户对应的系统对应的联动节点;Send the atomic transaction corresponding to the linked account to the linkage node corresponding to the system corresponding to the linked account; 在接收到对应的系统返回的当前账户对应的原子交易的交易成功消息后,将当前账户对应的原子交易的交易成功消息发送至被联动账户对应的系统对应的联动节点;所述被联动账户对应的系统对应的联动节点根据被联动账户对应的原子交易的交易结果和当前账户对应的原子交易的交易成功消息返回联动结果;After receiving the transaction success message of the atomic transaction corresponding to the current account returned by the corresponding system, the transaction success message of the atomic transaction corresponding to the current account is sent to the linkage node corresponding to the system corresponding to the linked account; the linked account corresponds to The linkage node corresponding to the system of the linked account returns the linkage result according to the transaction result of the atomic transaction corresponding to the linked account and the transaction success message of the atomic transaction corresponding to the current account; 接收被联动账户对应的系统对应的联动节点返回的联动结果。Receive the linkage result returned by the linkage node corresponding to the system corresponding to the linked account. 7.如权利要求6所述的跨新旧系统的账户多级联动方法,其特征在于,还包括:7. The multi-level linkage method for accounts across old and new systems as claimed in claim 6, further comprising: 将接收到的被联动账户对应的原子交易发送至对应的系统;Send the received atomic transaction corresponding to the linked account to the corresponding system; 在接收到对应的系统返回的被联动账户对应的原子交易的交易成功消息后,读取对应的系统的联动参数表,判断被联动账户是否满足触发条件;After receiving the transaction success message of the atomic transaction corresponding to the linked account returned by the corresponding system, read the linkage parameter table of the corresponding system to determine whether the linked account meets the trigger conditions; 若被联动账户满足触发条件,等待当前账户对应的原子交易的交易成功消息;If the linked account meets the trigger conditions, wait for the transaction success message of the atomic transaction corresponding to the current account; 在接收到当前账户对应的原子交易的交易成功消息时,读取对应的系统的联动参数表,获得对应的系统的被联动账户;When receiving the transaction success message of the atomic transaction corresponding to the current account, read the linkage parameter table of the corresponding system, and obtain the linked account of the corresponding system; 在接收当前账户对应的原子交易的交易成功消息超时时,确定联动结果为联动失败消息,并发送至当前账户对应的系统对应的联动节点;When receiving the transaction success message of the atomic transaction corresponding to the current account times out, determine that the linkage result is a linkage failure message, and send it to the linkage node corresponding to the system corresponding to the current account; 若被联动账户不满足触发条件,确定联动结果为将联动成功消息,并发送至当前账户对应的系统对应的联动节点。If the linked account does not meet the triggering conditions, it is determined that the linkage result is a linkage success message and sent to the linkage node corresponding to the system corresponding to the current account. 8.如权利要求6所述的跨新旧系统的账户多级联动方法,其特征在于,将当前账户对应的原子交易发送至对应的系统,将被联动账户对应的原子交易发送至被联动账户对应的系统对应的联动节点,包括:8. The method for multi-level linkage of accounts across old and new systems as claimed in claim 6, wherein the atomic transaction corresponding to the current account is sent to the corresponding system, and the atomic transaction corresponding to the linked account is sent to the linked account corresponding to The linkage nodes corresponding to the system, including: 在当前账户对应的原子交易和被联动账户对应的原子交易有多个时,根据交易顺序,将当前账户对应的原子交易发送至对应的系统,将被联动账户对应的原子交易发送至被联动账户对应的系统对应的联动节点。When there are multiple atomic transactions corresponding to the current account and atomic transactions corresponding to the linked account, according to the transaction sequence, the atomic transaction corresponding to the current account is sent to the corresponding system, and the atomic transaction corresponding to the linked account is sent to the linked account. The linkage node corresponding to the corresponding system. 9.如权利要求6所述的跨新旧系统的账户多级联动方法,其特征在于,还包括:9. The method for multi-level linkage of accounts across old and new systems as claimed in claim 6, further comprising: 在接收到对应的系统返回的当前账户对应的原子交易的交易成功消息后,记录联动操作日志;After receiving the transaction success message of the atomic transaction corresponding to the current account returned by the corresponding system, record the linkage operation log; 在接收到联动结果后,记录联动操作日志。After receiving the linkage result, record the linkage operation log. 10.如权利要求6所述的跨新旧系统的账户多级联动方法,其特征在于,所述交易成功消息是通过消息队列发送的。10 . The method for multi-level linkage of accounts across new and old systems according to claim 6 , wherein the transaction success message is sent through a message queue. 11 . 11.一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现权利要求6至10任一项所述方法。11. A computer device, comprising a memory, a processor and a computer program stored on the memory and running on the processor, wherein the processor implements any one of claims 6 to 10 when the processor executes the computer program method described in item. 12.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有执行权利要求6至10任一项所述方法的计算机程序。12. A computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for executing the method of any one of claims 6 to 10.
CN202110993481.0A 2021-08-27 2021-08-27 Account multi-level linkage system and method across new and old systems Active CN113610530B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110993481.0A CN113610530B (en) 2021-08-27 2021-08-27 Account multi-level linkage system and method across new and old systems

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110993481.0A CN113610530B (en) 2021-08-27 2021-08-27 Account multi-level linkage system and method across new and old systems

Publications (2)

Publication Number Publication Date
CN113610530A true CN113610530A (en) 2021-11-05
CN113610530B CN113610530B (en) 2025-05-06

Family

ID=78309492

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110993481.0A Active CN113610530B (en) 2021-08-27 2021-08-27 Account multi-level linkage system and method across new and old systems

Country Status (1)

Country Link
CN (1) CN113610530B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100085499A (en) * 2009-01-20 2010-07-29 주식회사 우리은행 Account managing system linked credit card information
CN104318473A (en) * 2014-10-30 2015-01-28 中国建设银行股份有限公司 Multi-stage funds management method and system
CN111369368A (en) * 2018-12-26 2020-07-03 触信(厦门)智能科技有限公司 Account balance general certification management method and system
CN111833037A (en) * 2020-07-01 2020-10-27 中国建设银行股份有限公司 A method and device for account management
CN112102083A (en) * 2020-08-31 2020-12-18 东莞市龙兴基石智能科技有限公司 Multi-account linkage transaction method, transaction system, equipment and storage medium
CN112215701A (en) * 2020-10-13 2021-01-12 中国银行股份有限公司 Method and device for flexibly managing funds among multiple accounts
CN112634011A (en) * 2020-12-14 2021-04-09 中国建设银行股份有限公司 Multi-account linkage deposit method and device, electronic equipment and storage medium
CN112651724A (en) * 2020-04-28 2021-04-13 北京邮电大学 Cross-chain interaction method, device and system
CN113052594A (en) * 2021-04-30 2021-06-29 中国银行股份有限公司 Multi-card cooperative payment method and device based on block chain

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100085499A (en) * 2009-01-20 2010-07-29 주식회사 우리은행 Account managing system linked credit card information
CN104318473A (en) * 2014-10-30 2015-01-28 中国建设银行股份有限公司 Multi-stage funds management method and system
CN111369368A (en) * 2018-12-26 2020-07-03 触信(厦门)智能科技有限公司 Account balance general certification management method and system
CN112651724A (en) * 2020-04-28 2021-04-13 北京邮电大学 Cross-chain interaction method, device and system
CN111833037A (en) * 2020-07-01 2020-10-27 中国建设银行股份有限公司 A method and device for account management
CN112102083A (en) * 2020-08-31 2020-12-18 东莞市龙兴基石智能科技有限公司 Multi-account linkage transaction method, transaction system, equipment and storage medium
CN112215701A (en) * 2020-10-13 2021-01-12 中国银行股份有限公司 Method and device for flexibly managing funds among multiple accounts
CN112634011A (en) * 2020-12-14 2021-04-09 中国建设银行股份有限公司 Multi-account linkage deposit method and device, electronic equipment and storage medium
CN113052594A (en) * 2021-04-30 2021-06-29 中国银行股份有限公司 Multi-card cooperative payment method and device based on block chain

Also Published As

Publication number Publication date
CN113610530B (en) 2025-05-06

Similar Documents

Publication Publication Date Title
CN111459418B (en) An RDMA-based key-value storage system transmission method
CN103442049B (en) The mixed clouds operating system architecture of a kind of component-oriented and communication means thereof
CN111600936B (en) Asymmetric processing system based on multiple containers and suitable for ubiquitous electric power internet of things edge terminal
CN112583931B (en) Message processing method, message middleware, electronic device, and storage medium
US20130227568A1 (en) Systems and methods involving virtual machine host isolation over a network
CN110457337A (en) Link aggregation method, system and equipment
CN103442036A (en) System integrating design development, post production and data storage and based on cloud platform
CN110210845B (en) Method, apparatus, medium, and computing device for blockchain data migration
CN115098594A (en) Method, blockchain system and node for executing transactions in a blockchain system
CN111638972A (en) Request response method, system, equipment and storage medium based on micro-service
CN113407512A (en) Block chain-based distributed storage system, method, device and storage medium
CN112596801B (en) Transaction processing method, device, equipment, storage medium and database
WO2025158261A1 (en) Request processing method and apparatus, and task execution method and apparatus
WO2020042929A1 (en) Block chain system
EP2979196B1 (en) System and method for network provisioning
CN111708835B (en) Blockchain data storage method and device
CN117294757B (en) Complex service splitting execution method, system, equipment and medium based on block chain
CN113610530A (en) Account multi-level linkage system and method across old and new systems
CN116596533B (en) Transaction-oriented payment method and system
CN108228644A (en) For method and device derived from report
CN111209263A (en) Data storage method, device, equipment and storage medium
WO2024174258A1 (en) Deep neural network checkpoint optimization system and method based on nonvolatile memory
CN113448991A (en) Account multi-stage linkage system and method
CN116701452A (en) Data processing method, related device, storage medium and program product
CN115883653A (en) Request processing method, device, electronic device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载