Transaction text checking method and device, electronic equipment and storage medium

By differentiating the transmission direction in the bank's transaction system and using distributed and centralized reconciliation systems for verification, the problem of inconsistent verification of transaction texts was solved, achieving efficient and accurate transaction text verification and reducing costs and redundant construction.

CN116777618BActive Publication Date: 2026-11-20BANK OF CHINA
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310715126.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-15
Publication Date
2026-11-20
Estimated Expiration
2043-06-15

AI Technical Summary

Technical Problem

The transition of bank transaction systems from centralized to distributed systems has led to problems such as the inability to uniformly verify transaction texts, resulting in redundant construction, inconsistent rules, poor data consistency, and low verification efficiency.

Method used

By differentiating the transmission direction across multiple transaction systems, and using distributed and centralized reconciliation systems for verification, a unified target verification result is generated, avoiding redundant construction and improving efficiency.

Benefits of technology

It enables unified verification between distributed and centralized systems, reduces verification costs, improves verification efficiency and accuracy, and avoids redundant construction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116777618B_ABST
    Figure CN116777618B_ABST
Patent Text Reader

Abstract

The application provides a transaction text checking method and device, electronic equipment and storage medium, which can be used in a distributed system. The method comprises the following steps: obtaining transaction texts transmitted by each transaction system based on target business transactions, and obtaining a plurality of transaction texts; determining the transmission direction information corresponding to each transaction text; determining the transaction texts corresponding to the first transmission direction and the third transmission direction in the plurality of transaction texts as first transaction texts, and checking the first transaction texts through a first checking system to obtain a first checking result; determining the transaction texts corresponding to the second transmission direction and the fourth transmission direction in the plurality of transaction texts as second transaction texts, and checking the second transaction texts through a second checking system to obtain a second checking result; and obtaining a target checking result of the target business transaction according to the first checking result and the second checking result. The method can improve the checking efficiency of the transaction texts.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to distributed systems, and more particularly to a method, apparatus, electronic device, and storage medium for verifying transaction texts. Background Technology

[0002] Currently, transaction systems in banks are gradually transitioning from centralized old-line systems to distributed new-line systems.

[0003] Because the existing transaction verification systems in banks are still centralized systems, they can no longer meet the distributed requirements of enterprise-level architecture application systems. Therefore, the transaction verification systems in banks are gradually being updated to distributed systems.

[0004] However, it takes time for banks to transition their transaction systems from old to new systems, and many old systems are still in use. This means that transaction texts may pass through both the new and old systems simultaneously, making it impossible to verify them uniformly through a single transaction verification system. Instead, verification needs to be performed in each of the respective transaction systems, leading to redundant construction of transaction verification systems and inconsistent rules. This results in problems such as poor data consistency and high bad debt ratios during the transaction verification process. Summary of the Invention

[0005] This application provides a transaction text verification method to solve the problem of low processing efficiency in the current verification of transaction texts generated in business transactions.

[0006] Firstly, this application provides a method for verifying transaction text, including:

[0007] During the execution of a target business transaction by multiple trading systems, the transaction text transmitted by each trading system based on the target business transaction is obtained, resulting in multiple transaction texts; the multiple trading systems include at least one first trading system and at least one second trading system, wherein the first trading system is a distributed system and the second trading system is a centralized system;

[0008] Determine the transmission direction information corresponding to each transaction text; wherein, the transmission direction information represents the transmission direction of the transaction text between the two transaction systems; the transmission direction information includes a first transmission direction, a second transmission direction, a third transmission direction, and a fourth transmission direction, wherein the first transmission direction represents transmission from the first transaction system to the first transaction system; the second transmission direction represents transmission from the second transaction system to the second transaction system; the third transmission direction represents transmission from the first transaction system to the second transaction system; and the fourth transmission direction represents transmission from the second transaction system to the first transaction system.

[0009] The transaction texts corresponding to the first transmission direction and the third transmission direction in the plurality of transaction texts are determined as the first transaction texts, and the first transaction texts are checked by a preset first verification system to obtain a first verification result; wherein, the first verification system is a distributed reconciliation system, and the first verification result indicates whether the first transaction texts match each other.

[0010] The transaction texts corresponding to the second transmission direction and the fourth transmission direction in the plurality of transaction texts are determined as the second transaction texts, and the second transaction texts are checked through a preset second verification system to obtain a second verification result; wherein, the second verification system is a centralized reconciliation system, and the second verification result indicates whether the second transaction texts match each other;

[0011] Based on the first verification result and the second verification result, the target verification result of the target business transaction is obtained and output; wherein, the target verification result indicates whether the multiple transaction texts match each other.

[0012] Secondly, this application provides a transaction text verification device, comprising:

[0013] The transaction text acquisition module is used to acquire the transaction text transmitted by each of the multiple transaction systems based on the target business transaction during the execution of the target business transaction in multiple transaction systems, thereby obtaining multiple transaction texts; the multiple transaction systems include at least one first transaction system and at least one second transaction system, wherein the first transaction system is a distributed system and the second transaction system is a centralized system;

[0014] A direction information determination module is used to determine the transmission direction information corresponding to each transaction text; wherein, the transmission direction information represents the transmission direction of the transaction text between the two transaction systems, and the transmission direction includes a first transmission direction, a second transmission direction, a third transmission direction, and a fourth transmission direction, wherein the first transmission direction represents transmission from the first transaction system to the first transaction system; the second transmission direction represents transmission from the second transaction system to the second transaction system; the third transmission direction represents transmission from the first transaction system to the second transaction system; and the fourth transmission direction represents transmission from the second transaction system to the first transaction system.

[0015] The first verification module is used to determine the transaction texts corresponding to the first transmission direction and the third transmission direction in the plurality of transaction texts as the first transaction text, and to verify the first transaction text through a preset first verification system to obtain a first verification result; wherein, the first verification system is a distributed reconciliation system, and the first verification result indicates whether the first transaction texts match each other.

[0016] The second verification module is used to identify the transaction texts corresponding to the second transmission direction and the fourth transmission direction in the plurality of transaction texts as the second transaction texts, and to verify the second transaction texts through a preset second verification system to obtain a second verification result; wherein, the second verification system is a centralized reconciliation system, and the second verification result indicates whether the second transaction texts match each other;

[0017] The result acquisition module is used to obtain the target verification result of the target business transaction based on the first verification result and the second verification result, and output the target verification result; wherein, the target verification result indicates whether the multiple transaction texts match each other.

[0018] Thirdly, this application provides an electronic device, including: a processor, and a memory communicatively connected to the processor;

[0019] The memory stores computer-executed instructions;

[0020] The processor executes computer execution instructions stored in the memory to implement the method described in the first aspect.

[0021] Fourthly, this application provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the method described in the first aspect.

[0022] The transaction text verification method, apparatus, electronic device, and storage medium provided in this application obtain multiple transaction texts by acquiring the transaction texts transmitted by each transaction system based on the target business transaction during the execution of a target business transaction in multiple transaction systems. The multiple transaction systems include at least one first transaction system and at least one second transaction system, where the first transaction system is a distributed system and the second transaction system is a centralized system. The method determines the transmission direction information corresponding to each transaction text. The transmission direction information represents the transmission direction of the transaction text between the two transaction systems. The transmission direction information includes a first transmission direction, a second transmission direction, a third transmission direction, and a fourth transmission direction. The first transmission direction represents transmission from the first transaction system to the first transaction system; the second transmission direction represents transmission from the second transaction system to the second transaction system; the third transmission direction represents transmission from the first transaction system to the second transaction system; and the fourth transmission direction represents transmission from the second transaction system to the second transaction system. The transaction system transmits data to the first transaction system; the transaction texts corresponding to the first and third transmission directions from multiple transaction texts are identified as the first transaction texts, and are verified through a preset first verification system to obtain a first verification result; wherein, the first verification system is a distributed reconciliation system, and the first verification result indicates whether the first transaction texts match each other; the transaction texts corresponding to the second and fourth transmission directions from multiple transaction texts are identified as the second transaction texts, and are verified through a preset second verification system to obtain a second verification result; wherein, the second verification system is a centralized reconciliation system, and the second verification result indicates whether the second transaction texts match each other; based on the first and second verification results, the target verification result for the target business transaction is obtained and output; wherein, the target verification result indicates whether multiple transaction texts match each other. In other words, based on the transmission direction information, multiple transaction texts are divided into a first transaction text issued by a distributed system and a second transaction text issued by a centralized system. For the first transaction text, a distributed reconciliation system is used for verification, and for the second transaction text, a centralized reconciliation system is used for verification. Finally, based on the verification results of the first and second transaction texts, the final target verification result is obtained. This avoids the process of verifying transaction texts separately in each transaction system due to the inconsistency of the transaction systems, avoids the duplication of verification system construction, reduces verification costs, and improves verification efficiency. Attached Figure Description

[0023] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0024] Figure 1This is a schematic diagram of the architecture of a transaction verification system according to an exemplary embodiment;

[0025] Figure 2 This is a flowchart illustrating a transaction text verification method according to an exemplary embodiment;

[0026] Figure 3 It is based on Figure 2 An example illustration showing the transmission direction of multiple transaction texts;

[0027] Figure 4 This is a flowchart illustrating a transaction text verification method according to another exemplary embodiment;

[0028] Figure 5 It is based on Figure 4 The embodiments illustrate the identifiers carried by the transaction text under different transmission directions;

[0029] Figure 6 This is a schematic block diagram of a transaction text verification device according to an exemplary embodiment;

[0030] Figure 7 This is a schematic diagram of the structure of an electronic device according to an exemplary embodiment.

[0031] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation

[0032] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0033] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, use and processing of the relevant data must comply with relevant laws, regulations and standards, and corresponding operation entry points are provided for users to choose to authorize or refuse.

[0034] It should be noted that the transaction text verification method of this application can be used in the field of digital currency, or in any field other than digital currency. The application field of the transaction text verification method and device of this application is not limited.

[0035] With the widespread adoption of e-commerce, a large number of business transactions occur every moment in the banking system, generating numerous complex transaction documents. Therefore, the verification of these transaction documents is crucial for banks.

[0036] However, because the existing transaction reconciliation system is a centralized system, it cannot meet the distributed requirements of enterprise-level architecture application systems. Therefore, the current specifications for reconciling transaction texts are also no longer sufficient for enterprise-level architecture requirements. Specifically, as bank transaction systems continuously transition from centralized systems (hereinafter referred to as the old line system) to distributed systems (hereinafter referred to as the new line system), both the old and new line systems coexist within the bank. Consequently, when reconciling transaction texts, since the texts may have passed through both systems simultaneously, unified reconciliation is impossible. Separate reconciliation systems need to be established for each system, leading to redundant system construction, inconsistent rules, and problems such as poor data consistency and high bad debt ratios. Furthermore, the old line system's centralized reconciliation system is slow and inefficient.

[0037] The transaction text verification method provided in this application aims to solve the above-mentioned technical problems of the prior art.

[0038] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.

[0039] The transaction reconciliation method in this embodiment can be applied to a bank terminal. This terminal can be configured with multiple transaction systems, which can jointly execute one or more business transactions. For example, these multiple transaction systems may include: a business system (such as an online banking system) for receiving business transaction data sent from user channels; a bus system for data encapsulation and forwarding; a core system for recording the business transaction data; and so on. Furthermore, the bank terminal is also configured with a transaction reconciliation system for verifying the transaction flow. During a business transaction, each of the aforementioned transaction systems can generate a transaction text based on the transaction flow triggered by that transaction and send the transaction text to the transaction reconciliation system for verification.

[0040] As an example, such as Figure 1 As shown, the transaction reconciliation system may include a first reconciliation system and a second reconciliation system. The first reconciliation system is a distributed reconciliation system, also known as a new-line reconciliation system in banks. Figure 1 The second reconciliation system is represented by T-TCE; it is a centralized reconciliation system, which is the old-line reconciliation system in banks. Figure 1 In Chinese, TRP is used. Please refer to it again. Figure 1 The first verification system mainly consists of a batch verification submodule, an online submodule, and a batch file transfer module.

[0041] The batch verification submodule is the core module of the transaction verification system. Its basic mechanism is to verify and match the transaction details in the verification text from the requester and the service provider, and generate verification result text based on the matching results. Internally, it adopts a layered design and implementation, including a text import layer, a data preprocessing layer, a text verification layer, a result report generation layer, and a result file generation layer.

[0042] The online submodule is used to enable access via an enterprise-level registry (such as...). Figure 1 P5 Registry Center), internal employee channel platforms (such as...) Figure 1 The P2 internal employee channel provides online functions such as debit card transaction verification error query and manual marking of error processing. Internally, it is designed with layers including: business processing layer, service layer, gateway layer, and data access layer.

[0043] The batch file transfer module receives transaction verification texts (including legacy TRPs) from the enterprise data bus and sends the verified verification results back to the data bus for distribution of reconciliation results. This module uses a file management component to ensure the integrity and security of data transmission during the batch file transfer process.

[0044] The aforementioned new line system may include new line system 1, new line system 2, and new line system 3. Figure 1The Newline-Application Component 1, Newline-Application Component 2, and Newline-Application Component 3 in the document correspond to Newline System 1, Newline System 2, and Newline System 3 in the bank, respectively. Figure 1 The P6 information exchange integration platform is equivalent to the bus system mentioned above, and is used to implement data encapsulation and data forwarding functions.

[0045] Figure 2 This is a transaction text verification method illustrated according to an exemplary embodiment, such as... Figure 2 The method may include:

[0046] 110. During the execution of target business transactions by multiple trading systems, obtain the transaction text transmitted by each trading system based on the target business transaction to obtain multiple transaction texts; the multiple trading systems include at least one first trading system and at least one second trading system, the first trading system is a distributed system and the second trading system is a centralized system.

[0047] For example, such as Figure 3 As shown, during the execution of a target business transaction, multiple transaction systems may include Transaction System 1, Transaction System 2, Transaction System 3, Transaction System 4, and Transaction System 5. Transaction System 1 generates Transaction Text 1 and transmits it to Transaction System 2. Transaction Text 1 includes the transaction flow data generated by Transaction System 1 for the target business transaction. Transaction System 2 processes Transaction Text 1 to obtain Transaction Text 2 and transmits it to Transaction System 3. Transaction Text 2 includes the transaction flow data generated by Transaction System 2 for the target business transaction. Transaction System 3 processes Transaction Text 2 to obtain Transaction Text 3 and transmits it to Transaction System 4. Transaction Text 3 includes the transaction flow data generated by Transaction System 3 for the target business transaction. Transaction System 4 processes Transaction Text 3 to obtain Transaction Text 4 and transmits it to Transaction System 5. Transaction Text 4 includes the transaction flow data generated by Transaction System 4 for the target business transaction.

[0048] As an example, let's take trading system 1, trading system 2, and trading system 5 as the first trading system, and trading system 3 and trading system 4 as the second trading system.

[0049] 120. Determine the transmission direction information corresponding to each transaction text; wherein, the transmission direction information represents the transmission direction of the transaction text between two trading systems; the transmission direction information includes a first transmission direction, a second transmission direction, a third transmission direction, and a fourth transmission direction, wherein the first transmission direction represents transmission from the first trading system to the first trading system; the second transmission direction represents transmission from the second trading system to the second trading system; the third transmission direction represents transmission from the first trading system to the second trading system; and the fourth transmission direction represents transmission from the second trading system to the first trading system.

[0050] Using the example above, since transaction text 1 is transmitted from transaction system 1 to transaction system 2, the transmission direction information of transaction text 1 can be determined as the first transmission direction.

[0051] Since transaction text 2 is transmitted from transaction system 2 to transaction system 3, it can be determined that the transmission direction information of transaction text 2 is the third transmission direction.

[0052] Since transaction text 3 is transmitted from transaction system 3 to transaction system 4, it can be determined that the transmission direction information of transaction text 3 is the second transmission direction.

[0053] Since transaction text 4 is transmitted from transaction system 4 to transaction system 5, it can be determined that the transmission direction information of transaction text 5 is the fourth transmission direction.

[0054] 130. The transaction texts corresponding to the first transmission direction and the third transmission direction in the multiple transaction texts are determined as the first transaction text, and the first transaction text is checked through a preset first verification system to obtain the first verification result; wherein, the first verification system is a distributed reconciliation system, and the first verification result indicates whether the first transaction texts match each other.

[0055] Following the example above, the bank terminal can identify transaction text 1 and transaction text 2 as the first transaction text, and verify them through a preset first verification system (such as...). Figure 1 The T-TCE in the process verifies the transaction text 1 and the transaction text 2 to obtain a first verification result. For example, if the transaction details in the transaction text 1 and the transaction details in the transaction text 2 match after verification by the T-TCE, then the first verification result indicates that the first transaction texts are mutually matched.

[0056] 140. The transaction texts corresponding to the second transmission direction and the fourth transmission direction in the multiple transaction texts are determined as the second transaction texts, and the second transaction texts are checked through a preset second verification system to obtain the second verification result; wherein, the second verification system is a centralized reconciliation system, and the second verification result indicates whether the second transaction texts match each other.

[0057] Following the example above, the bank terminal can identify transaction text 3 and transaction text 4 as the second transaction text, and verify them through a preset second verification system (such as...). Figure 1 The TRP (Transaction Processing Unit) in the process checks transaction text 3 and transaction text 4 to obtain a second check result. For example, if the transaction details in transaction text 3 and transaction text 4 match after TRP check, then the second check result indicates that the two transaction texts are mutually matched.

[0058] In one implementation method, in a bank terminal, multiple transaction texts can first be transmitted to a first verification system. The first verification system identifies a first transaction text and a second transaction text, and can directly verify the first transaction text. For the second transaction text, the first verification system can convert the second transaction text into a format corresponding to the second verification system, and then send it back to the second verification system through the bank terminal's bus system, whereby the second verification system will then verify the second transaction text.

[0059] 150. Based on the first and second verification results, obtain the target verification result of the target business transaction and output the target verification result; wherein, the target verification result indicates whether multiple transaction texts match each other.

[0060] Continuing with the example above, if the first verification result indicates that the first transaction texts match each other, and the second verification result indicates that the second transaction texts match each other, then it can be determined that the target verification result indicates that multiple transaction texts match each other. Therefore, based on the target verification result, it can be determined that the transaction flow of the target business transaction is normal.

[0061] If the first verification result indicates that the first transaction texts do not match, or the second verification result indicates that the second transaction texts do not match, then it can be determined that the target verification result indicates that multiple transaction texts do not match. This allows the bank terminal to determine that the transaction flow of the target business transaction is abnormal based on the target verification result and output an error message. Optionally, the bank terminal can output this message through an audio module and / or a video module.

[0062] As can be seen, in this embodiment, during the execution of target business transactions in multiple transaction systems, the transaction text transmitted by each transaction system based on the target business transaction is obtained, resulting in multiple transaction texts. The multiple transaction systems include at least one first transaction system and at least one second transaction system, where the first transaction system is a distributed system and the second transaction system is a centralized system. The transmission direction information corresponding to each transaction text is determined. The transmission direction information represents the transmission direction of the transaction text between the two transaction systems. The transmission direction information includes a first transmission direction, a second transmission direction, a third transmission direction, and a fourth transmission direction. The first transmission direction represents transmission from the first transaction system to the first transaction system; the second transmission direction represents transmission from the second transaction system to the second transaction system; the third transmission direction represents transmission from the first transaction system to the second transaction system; and the fourth transmission direction represents transmission from the second transaction system to the first transaction system. The transaction system identifies the transaction texts corresponding to the first and third transmission directions from multiple transaction texts as the first transaction texts, and verifies them through a preset first verification system to obtain a first verification result. The first verification system is a distributed reconciliation system, and the first verification result indicates whether the first transaction texts match each other. The system then identifies the transaction texts corresponding to the second and fourth transmission directions from multiple transaction texts as the second transaction texts, and verifies them through a preset second verification system to obtain a second verification result. The second verification system is a centralized reconciliation system, and the second verification result indicates whether the second transaction texts match each other. Based on the first and second verification results, the system obtains and outputs the target verification result for the target business transaction. The target verification result indicates whether multiple transaction texts match each other. In other words, based on the transmission direction information, multiple transaction texts are divided into a first transaction text issued by a distributed system and a second transaction text issued by a centralized system. For the first transaction text, a distributed reconciliation system is used for verification, and for the second transaction text, a centralized reconciliation system is used for verification. Finally, based on the verification results of the first and second transaction texts, the final target verification result is obtained. This avoids the process of verifying transaction texts separately in each transaction system due to the inconsistency of the transaction systems. For example, it would be necessary to build verification systems in the aforementioned transaction systems 1 to 5. This avoids the duplication of verification system construction, as only one first verification system and one second verification system need to be reused, reducing verification costs and improving verification efficiency.

[0063] Figure 4 This is a transaction text verification method illustrated according to another exemplary embodiment, which can be applied to the aforementioned bank terminal, such as... Figure 4 As shown, the method includes:

[0064] 210. During the execution of target business transactions by multiple trading systems, acquire the transaction text transmitted by each trading system based on the target business transaction, resulting in multiple transaction texts. The multiple trading systems include at least one first trading system and at least one second trading system, where the first trading system is a distributed system and the second trading system is a centralized system.

[0065] The specific implementation of step 210 can be referred to step 110, so it will not be repeated here.

[0066] 220. If it is determined that the transaction text includes a first identifier, then the transmission direction information corresponding to the transaction text is determined to be either the first transmission direction or the third transmission direction; wherein, the first identifier includes a business unique identifier.

[0067] 230. If it is determined that the transaction text includes a second identifier, then the transmission direction information corresponding to the transaction text is determined to be either the second transmission direction or the fourth transmission direction; wherein, the second identifier includes a universally unique identifier.

[0068] The transmission direction information represents the transmission direction of the transaction text between the two trading systems. The transmission direction information includes a first transmission direction, a second transmission direction, a third transmission direction, and a fourth transmission direction. The first transmission direction represents transmission from the first trading system to the first trading system; the second transmission direction represents transmission from the second trading system to the second trading system; the third transmission direction represents transmission from the first trading system to the second trading system; and the fourth transmission direction represents transmission from the second trading system to the first trading system.

[0069] For example, such as Figure 5 As shown, when sending their respective transaction texts, the new line system (i.e., the first transaction system mentioned above) in multiple transaction systems can add a first identifier (such as a business unique identifier) ​​to its transaction text. For example, when transaction system 1 sends transaction text 1 to transaction system 2, or when transaction system 2 sends transaction text 2 to transaction system 3, it adds a business unique identifier to the transaction text. This business unique identifier is a key value that uniquely identifies a business transaction. In other words, for this transaction text, the business unique identifier can be used for transaction idempotency, reversal, and verification, which is performed by T-TCE for transaction verification.

[0070] In a multi-trading system, the older line system (i.e., the second trading system mentioned above) can add a second identifier (such as a universally unique identifier) ​​to its corresponding transaction text when sending it. For example, when trading system 3 sends transaction text 3 to trading system 4, or when trading system 4 sends transaction text 4 to trading system 5, it adds a universally unique identifier (UUID) to the transaction text. That is, for this transaction text, the UUID can be used for transaction idempotency, reversal, and verification, which is performed by TRP for transaction verification.

[0071] The bank terminal can determine whether the transaction text corresponds to the first or second transaction system by detecting whether it carries the first identifier or the second identifier.

[0072] As can be seen, in this embodiment, by adding a first identifier or a second identifier to the transaction text transmitted by the transaction system, the transmission direction information of the transaction text can be easily and accurately identified based on the added identifier.

[0073] 240. The transaction texts corresponding to the first and third transmission directions from among multiple transaction texts are identified as the first transaction text. The first transaction text is then verified using a pre-set first verification system to obtain a first verification result. Here, the first verification system is a distributed reconciliation system, and the first verification result indicates whether the first transaction texts match each other.

[0074] In some implementations, the number of first transaction texts is multiple, and specific implementations of step 240 may include:

[0075] 241. Among multiple first transaction texts, the first transaction texts that meet the preset rules are identified as transaction texts to be verified, thus obtaining a set of transaction texts to be verified; wherein, the preset rules include the first transaction texts having a specified format and the first transaction texts having a length within a specified length range.

[0076] For example, a bank terminal may have a polling and checking function for transaction texts, which supports multiple texts per day. Specifically, the bank terminal can check each of the multiple first transaction texts to determine whether each first transaction text meets preset rules. For instance, for each of the multiple first transaction texts, if it is determined that the format of the first transaction text is a specified format and the length of the first transaction text is within a specified length range, then the first transaction text can be determined as the transaction text to be checked.

[0077] For example, please refer again Figure 3If the bank terminal detects that transaction text 1 meets the preset rules, it can identify transaction text 1 as the transaction text to be verified. Otherwise, it can report an error for transaction text 1 and control the upstream system (transaction system 1) of transaction system 2 to resend it.

[0078] 242. Import the set of transaction texts to be verified into the first verification system, so that the first verification system can perform verification processing on every two transaction texts in the set of transaction texts to be verified, and obtain the first verification result.

[0079] For example, the bank terminal may also have a function to import transaction texts. This function supports multiple texts per day. Specifically, it can import the transaction texts to be verified from the set of transaction texts to be verified into the first verification system. The first verification system can then perform pairwise verification of the transaction texts to be verified in the set of transaction texts to be verified, record the matching results between the transaction texts to be verified, and then generate the first verification result based on the matching results.

[0080] Optionally, after obtaining the first verification result, the transaction system that reported the error can be identified based on the first verification result, and the first verification result can be provided to the upstream system of the transaction system that reported the error. For example, the transaction system that reported the error is... Figure 3 If the trading system in question is trading system 2, then the upstream system of the trading system that reported the error is trading system 1.

[0081] In some implementations, step 242 may include the following specific implementations:

[0082] 2421. Determine the order in which each transaction text to be verified is transmitted during the target business transaction process.

[0083] For example, please refer again Figure 3 For example, the set of transaction texts to be verified includes Figure 3 The transaction texts are 1, 2, 3, and 4. Figure 3 It can be seen that the order in which each transaction text to be verified in the target business transaction process is transaction text 1 → transaction text 2 → transaction text 3 → transaction text 4.

[0084] 2422. According to the order of transmission, import each transaction text to be verified into the first verification system in turn.

[0085] 2423. Repeat the steps of comparing the currently imported transaction text to be verified with the already imported transaction text to be verified through the first verification system to obtain the sub-verification result corresponding to the currently imported transaction text to be verified, until all transaction texts to be verified in the set of transaction texts to be verified have been imported into the first verification system and multiple sub-verification results have been obtained.

[0086] Continuing with the above example, based on the order of transmission, transaction text 1 is first imported into the first verification system, followed by transaction text 2, allowing transaction text 1 and transaction text 2 to be verified, resulting in the first sub-verification result. Then, transaction text 3 is imported into the first verification system, allowing transaction text 3 to be verified against both transaction text 1 and transaction text 2, resulting in the second sub-verification result. Finally, transaction text 4 is imported into the first verification system, allowing transaction text 4 to be verified against transaction text 1, transaction text 2, and transaction text 3, resulting in the third sub-verification result.

[0087] 2424. Based on the results of multiple sub-checks, the first check result is obtained.

[0088] Using the example above, the bank terminal can obtain the first verification result based on the first sub-verification result, the second sub-verification result, and the third sub-verification result. For example, if each sub-verification result in the first, second, and third sub-verification results indicates that the transaction texts to be verified match each other, i.e., there are no errors, then the first verification result can be determined to be without errors.

[0089] Considering that the verification performance of a bank terminal may be affected when it simultaneously verifies a large number of transaction texts, this embodiment determines the transmission order of each transaction text in the target business transaction process. Based on the transmission order, each transaction text in the transaction text set to be verified is sequentially imported into the first verification system. The step of repeatedly verifying each currently imported transaction text with previously imported transaction texts through the first verification system to obtain the corresponding sub-verification result is repeated until all transaction texts in the transaction text set have been imported into the first verification system, resulting in multiple sub-verification results. Based on these multiple sub-verification results, the first verification result is obtained, thus enabling distributed verification and ensuring that the bank terminal consistently maintains good verification performance, improving verification efficiency and accuracy.

[0090] In some implementations, the method may further include:

[0091] If it is determined that the sub-verification result of the currently imported transaction text to be verified does not match the previously imported transaction text to be verified, then the transaction system corresponding to the currently imported transaction text to be verified is identified as the target transaction system. The sub-verification result is then sent to the transaction system upstream of the target transaction system among multiple transaction systems.

[0092] Continuing with the example above, if it is determined that an error occurred during the verification of transaction text 3, the bank terminal can identify transaction system 3 corresponding to transaction text 3 as the target transaction system, and then send the sub-verification result (i.e., the error result) corresponding to transaction text 3 to transaction systems 1 and 2 upstream of transaction system 3. This can instruct transaction systems 1 and 2 to resend the transaction message.

[0093] In this embodiment, since each transaction text to be verified is sequentially imported into the first verification system according to the order of transmission, when it is determined that the sub-verification result corresponding to the currently imported transaction text does not match the already imported transaction texts, the transaction system corresponding to the currently imported transaction text is determined as the target transaction system. The sub-verification result is sent to the transaction system upstream of the target transaction system among multiple transaction systems, thus avoiding waiting until all transaction texts have been verified before reporting errors, enabling more timely error reporting and improving verification efficiency.

[0094] In some implementations, the bank terminal may also include a scenario polling and checking function that supports multiple scenarios per day. Specifically, the transaction text may also carry a scenario identifier that represents the current business scenario. By identifying the scenario identifier in each transaction text, the current business scenario corresponding to the transaction text can be determined, such as a money transfer scenario.

[0095] In some implementations, the bank terminal may also include a scenario initiation and execution function, which supports multiple scenarios per day. For example, if the current business scenario is determined to be a transfer scenario based on a scenario identifier, and an error is found in one of the transaction systems after verification, the transaction scenario corresponding to the transfer scenario is initiated and the error information is sent to all upstream transaction systems of the error-prone transaction system.

[0096] 250. The transaction texts corresponding to the second and fourth transmission directions from among multiple transaction texts are identified as the second transaction texts. These second transaction texts are then verified using a pre-set second verification system to obtain a second verification result. The second verification system is a centralized reconciliation system, and the second verification result indicates whether the second transaction texts match each other.

[0097] In this case, the specific implementation of step 250 can also refer to the step of importing the first transaction text into the first verification system in step 240 above, to perform the step of importing the second transaction text into the second verification system.

[0098] In some implementations, if different transaction systems correspond to different formats of transaction texts, the bank terminal can unify the formats of the transaction texts before performing the verification process. For example, transaction text 1 includes original table 1, and transaction text 2 includes original table 2. The bank terminal can process original table 1 and original table 2 into a verification table of a specified format before performing the verification process. This processing may include merging tables.

[0099] 260. Based on the first verification result and the second verification result, obtain the target verification result of the target business transaction and output the target verification result; wherein, the target verification result represents whether multiple transaction texts match each other.

[0100] In some implementations, step 260 may include the following specific implementations:

[0101] 261. If it is determined that the first verification result is that the first transaction texts match each other and the second verification result is that the second transaction texts match each other, then the first transaction texts are converted into the format corresponding to the second verification system to obtain the converted first transaction texts.

[0102] 262. The converted first transaction text and second transaction text are verified by a preset second verification system to obtain the target verification result.

[0103] In this embodiment, if the first verification result indicates that the first transaction texts match each other and the second verification result indicates that the second transaction texts match each other, the first transaction texts are converted into a format corresponding to the second verification system to obtain the converted first transaction texts. The converted first transaction texts and second transaction texts are then verified by the preset second verification system to obtain the target verification result, thereby further ensuring the accuracy of the verification result.

[0104] In some implementations, if the first verification result indicates that the first transaction texts match each other and the second verification result indicates that the second transaction texts match each other, then the second transaction texts are converted into a format corresponding to the first verification system to obtain the converted second transaction texts. The converted second transaction texts and the first transaction texts are then verified using a preset first verification system to obtain the target verification result.

[0105] In some implementations, step 260 may further include:

[0106] 263. If it is determined that the first verification result is that the first transaction texts do not match each other and / or the second verification result is that the second transaction texts do not match each other, then the target verification result is determined to be that the multiple transaction texts do not match each other.

[0107] In some implementations, the bank terminal also has a one-sided early warning function. Specifically, the bank terminal can detect and count the historical number of one-sided transactions in a certain business scenario. If a large number of one-sided transactions occur, an early warning will be issued to the operations and maintenance personnel. For example, if transaction system 1 and transaction system 2 in a business scenario need to exchange transaction text, but transaction system 1 has a one-sided transaction count exceeding the transaction count threshold, while transaction system 2 does not have many transactions, it can be determined that transaction system 2 may be malfunctioning, and an early warning will be issued.

[0108] In summary, the transaction text verification method of this application constructs a complete reusable transaction verification system, unifies the transaction verification rules for old and new lines, and designs reconciliation rules for three scenario modes: pure old line, new and old interaction, and pure new line, greatly reducing the reconciliation error rate and the workload of subsequent manual adjustments. Furthermore, this transaction text verification method is compatible with existing bank transaction verification application scenarios and builds a flexible and widely applicable transaction verification mechanism based on our bank's distributed technology foundation. It is implemented with a future distributed technology stack in mind, facilitating the migration of system functions during subsequent distributed cloud transformation and reducing maintenance difficulty and testing risks. In addition, this transaction text verification method unifies a common standard reconciliation design scheme, providing overall guidance for banks' phased transformation and replacement, ultimately achieving a unified enterprise-level solution and processing model.

[0109] Figure 6 This is a transaction text verification device illustrated according to an exemplary embodiment, such as... Figure 6 As shown, the device 300 may include:

[0110] The transaction text acquisition module 310 is used to acquire the transaction text transmitted by each transaction system based on the target business transaction during the execution of the target business transaction in multiple transaction systems, thereby obtaining multiple transaction texts. The multiple transaction systems include at least one first transaction system and at least one second transaction system, wherein the first transaction system is a distributed system and the second transaction system is a centralized system.

[0111] The direction information determination module 320 is used to determine the transmission direction information corresponding to each transaction text. The transmission direction information represents the transmission direction of the transaction text between two trading systems. The transmission direction includes a first transmission direction, a second transmission direction, a third transmission direction, and a fourth transmission direction. The first transmission direction represents transmission from the first trading system to the first trading system. The second transmission direction represents transmission from the second trading system to the second trading system. The third transmission direction represents transmission from the first trading system to the second trading system. The fourth transmission direction represents transmission from the second trading system to the first trading system.

[0112] The first verification module 330 is used to identify the transaction texts corresponding to the first transmission direction and the third transmission direction from multiple transaction texts as the first transaction text, and to verify the first transaction text through a preset first verification system to obtain a first verification result. The first verification system is a distributed reconciliation system, and the first verification result indicates whether the first transaction texts match each other.

[0113] The second verification module 340 is used to identify the transaction texts corresponding to the second and fourth transmission directions from among multiple transaction texts as the second transaction texts, and to verify the second transaction texts through a preset second verification system to obtain the second verification result. The second verification system is a centralized reconciliation system, and the second verification result indicates whether the second transaction texts match each other.

[0114] The result acquisition module 350 is used to obtain the target verification result of the target business transaction based on the first verification result and the second verification result, and output the target verification result. The target verification result indicates whether multiple transaction texts match each other.

[0115] In some implementations, the direction information determination module 320 is specifically used to determine, if the transaction text includes a first identifier, the transmission direction information corresponding to the transaction text as a first transmission direction or a third transmission direction. The first identifier includes a business-unique identifier. If the transaction text includes a second identifier, the transmission direction information corresponding to the transaction text is determined to be a second transmission direction or a fourth transmission direction. The second identifier includes a universally unique identifier.

[0116] In some implementations, the number of first transaction texts is multiple, and the first verification module 330 includes:

[0117] The set determination submodule is used to identify the first transaction texts that meet preset rules from among multiple first transaction texts as the transaction texts to be verified, thus obtaining a set of transaction texts to be verified. The preset rules include that the first transaction texts have a specified format and that their length is within a specified range.

[0118] The import submodule is used to import the set of transaction texts to be verified into the first verification system, so that the first verification system can perform verification processing on every two transaction texts in the set of transaction texts to be verified to obtain the first verification result.

[0119] In some implementations, an import submodule is specifically used to determine the transmission order of each transaction text in the target business transaction process within the transaction text set to be verified. Based on the transmission order, each transaction text in the transaction text set to be verified is sequentially imported into the first verification system. The step of repeatedly verifying each currently imported transaction text with previously imported transaction texts through the first verification system to obtain the corresponding sub-verification result for each currently imported transaction text is repeated until all transaction texts in the transaction text set to be verified have been imported into the first verification system, resulting in multiple sub-verification results. Based on these multiple sub-verification results, the first verification result is obtained.

[0120] In some embodiments, the device 300 may further include:

[0121] The target transaction system module is used to determine the transaction system corresponding to the currently imported transaction text to be checked as the target transaction system if the sub-check result of the currently imported transaction text to be checked is determined to be mismatched with the previously imported transaction text to be checked.

[0122] The sending submodule is used to send the sub-verification results to the trading system located upstream of the target trading system in multiple trading systems.

[0123] In some implementations, the result acquisition module 350 is specifically used to convert the first transaction texts into a format corresponding to the second verification system if the first verification result indicates that the first transaction texts match each other and the second verification result indicates that the second transaction texts match each other, thereby obtaining the converted first transaction texts. The converted first and second transaction texts are then verified using a preset second verification system to obtain the target verification result.

[0124] In some implementations, the result obtaining module 350 is further configured to determine that the target verification result is that the multiple transaction texts do not match each other if the first verification result is determined to be that the first transaction texts do not match each other and / or the second verification result is determined to be that the second transaction texts do not match each other.

[0125] Figure 7 This is a schematic diagram illustrating the structure of an electronic device according to an exemplary embodiment. The electronic device may be a computer, server, etc. Figure 7As shown, the electronic device may specifically include a receiver 40, a transmitter 41, a processor 42, and a memory 43. The receiver 40 and transmitter 41 are used to realize data transmission between the electronic device and an external device (such as a user terminal device). The memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory to implement the variable data processing method in the above embodiment. This electronic device may be equivalent to the aforementioned bank terminal.

[0126] This application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the methods of the above embodiments.

[0127] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this application are indicated by the following claims.

[0128] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.

Claims

1. A method for verifying transaction texts, characterized in that, include: During the execution of a target business transaction by multiple trading systems, the transaction text transmitted by each trading system based on the target business transaction is obtained, resulting in multiple transaction texts; the multiple trading systems include at least one first trading system and at least one second trading system, wherein the first trading system is a distributed system and the second trading system is a centralized system; Determine the transmission direction information corresponding to each transaction text; wherein, the transmission direction information represents the transmission direction of the transaction text between the two transaction systems; the transmission direction information includes a first transmission direction, a second transmission direction, a third transmission direction, and a fourth transmission direction, wherein the first transmission direction represents transmission from the first transaction system to the first transaction system; the second transmission direction represents transmission from the second transaction system to the second transaction system; the third transmission direction represents transmission from the first transaction system to the second transaction system; and the fourth transmission direction represents transmission from the second transaction system to the first transaction system. The transaction texts corresponding to the first transmission direction and the third transmission direction in the plurality of transaction texts are determined as the first transaction texts, and the first transaction texts are checked by a preset first verification system to obtain a first verification result; wherein, the first verification system is a distributed reconciliation system, and the first verification result indicates whether the first transaction texts match each other. The transaction texts corresponding to the second transmission direction and the fourth transmission direction in the plurality of transaction texts are determined as the second transaction texts, and the second transaction texts are checked through a preset second verification system to obtain a second verification result; wherein, the second verification system is a centralized reconciliation system, and the second verification result indicates whether the second transaction texts match each other; Based on the first verification result and the second verification result, the target verification result of the target business transaction is obtained and output; wherein, the target verification result indicates whether the multiple transaction texts match each other.

2. The method according to claim 1, characterized in that, Determining the transmission direction information corresponding to each of the transaction texts includes: If it is determined that the transaction text includes a first identifier, then the transmission direction information corresponding to the transaction text is determined to be either the first transmission direction or the third transmission direction; wherein, the first identifier includes a business unique identifier; If it is determined that the transaction text includes a second identifier, then the transmission direction information corresponding to the transaction text is determined to be either the second transmission direction or the fourth transmission direction; wherein, the second identifier includes a universally unique identifier.

3. The method according to claim 1, characterized in that, The number of the first transaction texts is multiple, and the step of verifying the first transaction texts through a preset first verification system to obtain a first verification result includes: The first transaction texts that meet the preset rules among the multiple first transaction texts are identified as transaction texts to be verified, thus obtaining a set of transaction texts to be verified; wherein, the preset rules include the first transaction texts having a specified format and the first transaction texts having a length within a specified length range; The set of transaction texts to be verified is imported into the first verification system, and the first verification system is used to verify every two transaction texts in the set of transaction texts to be verified, so as to obtain the first verification result.

4. The method according to claim 3, characterized in that, The step of importing the set of transaction texts to be verified into the first verification system, and then using the first verification system to verify the transaction texts in the set of transaction texts to be verified, to obtain the first verification result, includes: Determine the order in which each transaction text to be verified in the target business transaction process is transmitted; According to the transmission order, each transaction text to be verified in the set of transaction texts to be verified is sequentially imported into the first verification system; Repeat the steps of comparing the currently imported transaction text to be verified with the already imported transaction text to be verified through the first verification system to obtain the sub-verification result corresponding to the currently imported transaction text to be verified, until all transaction texts to be verified in the set of transaction texts to be verified have been imported into the first verification system and multiple sub-verification results have been obtained; The first verification result is obtained based on the multiple sub-verification results.

5. The method according to claim 4, characterized in that, The method further includes: If it is determined that the sub-verification result corresponding to the currently imported transaction text to be verified is that the currently imported transaction text to be verified does not match the already imported transaction text to be verified, then the transaction system corresponding to the currently imported transaction text to be verified is determined as the target transaction system. The sub-verification results are sent to the trading system located upstream of the target trading system in the multiple trading systems.

6. The method according to any one of claims 1 to 5, characterized in that, The step of obtaining the target verification result of the target business transaction based on the first verification result and the second verification result includes: If it is determined that the first verification result is that the first transaction texts match each other and the second verification result is that the second transaction texts match each other, then the first transaction texts are converted into a format corresponding to the second verification system to obtain the converted first transaction texts; The converted first transaction text and the second transaction text are verified by the preset second verification system to obtain the target verification result.

7. The method according to any one of claims 1 to 5, characterized in that, The step of obtaining the target verification result of the target business transaction based on the first verification result and the second verification result includes: If it is determined that the first verification result is that the first transaction texts do not match each other and / or the second verification result is that the second transaction texts do not match each other, then the target verification result is determined to be that the plurality of transaction texts do not match each other.

8. A transaction text verification device, comprising: The transaction text acquisition module is used to acquire the transaction text transmitted by each of the multiple transaction systems based on the target business transaction during the execution of the target business transaction in multiple transaction systems, thereby obtaining multiple transaction texts; the multiple transaction systems include at least one first transaction system and at least one second transaction system, wherein the first transaction system is a distributed system and the second transaction system is a centralized system; A direction information determination module is used to determine the transmission direction information corresponding to each transaction text; wherein, the transmission direction information represents the transmission direction of the transaction text between the two transaction systems, and the transmission direction includes a first transmission direction, a second transmission direction, a third transmission direction, and a fourth transmission direction, wherein the first transmission direction represents transmission from the first transaction system to the first transaction system; the second transmission direction represents transmission from the second transaction system to the second transaction system; the third transmission direction represents transmission from the first transaction system to the second transaction system; and the fourth transmission direction represents transmission from the second transaction system to the first transaction system. The first verification module is used to determine the transaction texts corresponding to the first transmission direction and the third transmission direction in the plurality of transaction texts as the first transaction text, and to verify the first transaction text through a preset first verification system to obtain a first verification result; wherein, the first verification system is a distributed reconciliation system, and the first verification result indicates whether the first transaction texts match each other. The second verification module is used to identify the transaction texts corresponding to the second transmission direction and the fourth transmission direction in the plurality of transaction texts as the second transaction texts, and to verify the second transaction texts through a preset second verification system to obtain a second verification result; wherein, the second verification system is a centralized reconciliation system, and the second verification result indicates whether the second transaction texts match each other; The result acquisition module is used to obtain the target verification result of the target business transaction based on the first verification result and the second verification result, and output the target verification result; wherein, the target verification result indicates whether the multiple transaction texts match each other.

9. An electronic device, characterized in that, include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory to implement the method as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Account checking method and account checking device applied to distributed system and electronic equipment

    CN109934712A

  • Transaction data checking method and device, electronic equipment and storage medium

    CN114723560A