Account following test method and device, processor and storage medium
By performing accounting tests on multiple business transactions in the bank information system and updating the number information in the associated records, the problem of low success rate of accounting tests caused by the differences between the new business system and the old business system is solved, and more efficient accounting tests are achieved.
Patent Information
- Application Number
- CN202411738135.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-29
- Publication Date
- 2025-03-18
AI Technical Summary
During the reconstruction and transformation of bank information systems, there are differences between the new business system and the old business system, resulting in a low comparison success rate of accounting tests, requiring manual review, and low efficiency.
By responding to the accounting instructions of multiple business transactions, the accounting test is performed on each business transaction, and whether there is a match in the association record is determined. If it does not exist, the accounting test is directly executed and the return message is obtained. For newly initiated service transactions, update the number information in the association record and compare the return message with the original message.
It improves the success rate of account follow-up comparison, reduces the need for manual review, and improves the efficiency of account follow-up testing.
Smart Images

Figure CN119645860A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of account tracking testing, and in particular, to an account tracking testing method, an account tracking testing device, a processor, a machine-readable storage medium, and a computer program product. Background Art
[0002] The technology stack of the bank's information system is outdated or needs to be adjusted due to regulatory requirements, such as upgrading the client-server architecture to a microservice architecture or localization transformation. The system reconstruction caused by these situations is complex and has a large scope. In order to ensure that the system is successfully switched to the new system, account tracking testing is usually introduced, that is, simulating the transactions of the old business system in the new business system, performing message playback testing, and then comparing the messages of the new and old systems to fully verify the functions of the new system.
[0003] In the prior art, the reconstruction of the new business system is complex and extensive, and the newly established business may be different from the old business system, resulting in a low success rate of account comparison, requiring manual review, resulting in low efficiency of account comparison. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide an account tracking testing method, device, processor, storage medium and machine-readable storage medium.
[0005] In order to achieve the above-mentioned purpose, the first aspect of the present application provides an account tracking test method, which includes: in response to account tracking instructions of multiple business transactions, performing account tracking tests on multiple business transactions; wherein the process of performing account tracking tests on each business transaction includes: when it is determined that there is no matching item corresponding to the account tracking request message of the business transaction in the associated record, directly performing the account tracking test and obtaining the account tracking return message; when it is determined that the business transaction is a newly initiated business transaction, updating the associated record based on the numbering information of the account tracking return message of the business transaction and the numbering information of the original return message corresponding to the account tracking return message; and comparing the account tracking return message of the business transaction with the original return message based on the updated associated record.
[0006] In an embodiment of the present application, the performing of an account tracking test on multiple business transactions includes: determining a transaction process; wherein the transaction process represents a transaction order of newly initiated business transactions and subsequent business transactions that are executed sequentially; determining a newly initiated business transaction and a subsequent business transaction corresponding to the transaction process from multiple business transactions; and performing an account tracking test on the newly initiated business transaction and the subsequent business transaction corresponding to the transaction process in sequence according to the transaction process.
[0007] In an embodiment of the present application, it also includes: determining whether there is a matching item corresponding to the account tracking request message of the business transaction in the associated record, including: determining the tag value and field value of the account tracking request message of the business transaction; wherein the tag value represents the name of the business transaction, and the field value represents the number of the business transaction; detecting whether there is a matching item corresponding to the tag value and field value of the account tracking request message of the business transaction in the associated record; if not, determining that there is no matching item corresponding to the account tracking request message of the business transaction in the associated record.
[0008] In an embodiment of the present application, the method further includes: when it is determined that there is a matching item corresponding to the account tracking request message of the business transaction in the associated record, based on the matching item corresponding to the account tracking request message of the business transaction in the associated record, replacing the number information of the original request message corresponding to the business transaction and the account tracking request message with the number information of the account tracking request message; wherein the original request message corresponding to the account tracking request message is the request message of the business transaction in the old business system.
[0009] In the embodiment of the present application, the replacing the number information of the original request message corresponding to the business transaction and the account tracking request message with the number information of the account tracking request message includes: replacing the label value of the original request message corresponding to the business transaction and the account tracking request message with the label value of the account tracking request message; replacing the field value of the original request message corresponding to the business transaction and the account tracking request message with the field value of the account tracking request message.
[0010] In an embodiment of the present application, the updating of the association record based on the number information of the follow-up return message of the business transaction and the number information of the original return message corresponding to the follow-up return message includes: determining the tag value and field value of the follow-up return message of the business transaction; determining the tag value and field value of the original return message corresponding to the follow-up return message of the business transaction; associating the tag value of the follow-up return message of the business transaction with the tag value of the original return message corresponding to the follow-up return message, and associating the field value of the follow-up return message of the business transaction with the field value of the original return message corresponding to the follow-up return message, and updating in the association record.
[0011] In an embodiment of the present application, the method further includes: when it is determined that the business transaction is not a newly initiated business transaction and there is a matching item corresponding to the account follow-up return message of the business transaction in the associated record, based on the matching item corresponding to the account follow-up return message of the business transaction in the associated record, replacing the number information of the original return message corresponding to the business transaction and the account follow-up return message with the number information of the account follow-up return message.
[0012] A second aspect of the present invention provides an account tracking test device, which is used to respond to account tracking instructions of multiple business transactions and perform account tracking tests on multiple business transactions; wherein the process of performing account tracking tests on each business transaction includes: an account test return message acquisition module, which is used to directly perform the account tracking test and obtain the account tracking return message when it is determined that there is no matching item corresponding to the account tracking request message of the business transaction in the associated record; an associated record update module, which is used to update the associated record based on the number information of the account tracking return message of the business transaction and the number information of the original return message corresponding to the account tracking return message when it is determined that the business transaction is a newly initiated business transaction; and a comparison module, which is used to compare the account tracking return message of the business transaction with the original return message based on the updated associated record.
[0013] In an embodiment of the present application, the performing of an account tracking test on multiple business transactions includes: determining a transaction process; wherein the transaction process represents a transaction order of newly initiated business transactions and subsequent business transactions that are executed sequentially; determining a newly initiated business transaction and a subsequent business transaction corresponding to the transaction process from multiple business transactions; and performing an account tracking test on the newly initiated business transaction and the subsequent business transaction corresponding to the transaction process in sequence according to the transaction process.
[0014] In an embodiment of the present application, it also includes: determining whether there is a matching item corresponding to the account tracking request message of the business transaction in the associated record, including: determining the tag value and field value of the account tracking request message of the business transaction; wherein the tag value represents the name of the business transaction, and the field value represents the number of the business transaction; detecting whether there is a matching item corresponding to the tag value and field value of the account tracking request message of the business transaction in the associated record; if not, determining that there is no matching item corresponding to the account tracking request message of the business transaction in the associated record.
[0015] In an embodiment of the present application, the device also includes: a first replacement module, which is used to replace the numbering information of the original request message corresponding to the business transaction and the account tracking request message with the numbering information of the account tracking request message based on the matching item corresponding to the account tracking request message in the association record when it is determined that there is a matching item corresponding to the account tracking request message of the business transaction in the association record; wherein the original request message corresponding to the account tracking request message is the request message of the business transaction in the old business system.
[0016] In the embodiment of the present application, the replacing the number information of the original request message corresponding to the business transaction and the account tracking request message with the number information of the account tracking request message includes: replacing the label value of the original request message corresponding to the business transaction and the account tracking request message with the label value of the account tracking request message; replacing the field value of the original request message corresponding to the business transaction and the account tracking request message with the field value of the account tracking request message.
[0017] In an embodiment of the present application, the updating of the association record based on the number information of the follow-up return message of the business transaction and the number information of the original return message corresponding to the follow-up return message includes: determining the tag value and field value of the follow-up return message of the business transaction; determining the tag value and field value of the original return message corresponding to the follow-up return message of the business transaction; associating the tag value of the follow-up return message of the business transaction with the tag value of the original return message corresponding to the follow-up return message, and associating the field value of the follow-up return message of the business transaction with the field value of the original return message corresponding to the follow-up return message, and updating in the association record.
[0018] In an embodiment of the present application, the device also includes: a second replacement module, which is used to replace the numbering information of the original return message corresponding to the business transaction and the account return message with the numbering information of the account return message based on the matching item corresponding to the account return message of the business transaction in the association record when it is determined that the business transaction is not a newly initiated business transaction and there is a matching item corresponding to the account return message of the business transaction in the association record.
[0019] A third aspect of the present application provides a processor configured to execute the account tracking test method described above.
[0020] A fourth aspect of the present application provides a machine-readable storage medium having instructions stored thereon, which, when executed by a processor, configure the processor to execute the account tracking test method described above.
[0021] A fifth aspect of the present application provides a computer program product, including a computer program, which implements the account tracking test method described above when executed by a processor.
[0022] Through the technical solution provided by this application, this application has at least the following technical effects:
[0023] The account tracking test method of the present application, when receiving the account tracking instructions of multiple business transactions, performs the account tracking test on the multiple business transactions. For each business transaction, the process of the account tracking test includes: first determine whether there is a matching item corresponding to the account tracking request message of the business transaction in the associated record. If not, directly execute the account tracking test of the business transaction and obtain the account tracking return message. Then determine whether the business transaction is a newly initiated business transaction. If the business transaction is a newly initiated business transaction, the account tracking return message of the business transaction and the original return message corresponding to the account tracking return message update the associated record, and compare the account tracking return message of the business transaction with the original return message based on the updated associated record. Through the account tracking test method provided by the present invention, it is possible to establish an association between the return message of the newly initiated business transaction and the original return message, reduce the difference between the newly initiated business transaction and the business transaction of the old business system, improve the success rate of the account tracking comparison, reduce the probability of manual review, and improve the efficiency of account tracking.
[0024] Other features and advantages of the embodiments of the present application will be described in detail in the subsequent specific implementation section. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] The accompanying drawings are used to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the following specific implementations, they are used to explain the embodiments of the present application, but do not constitute a limitation on the embodiments of the present application. In the accompanying drawings:
[0026] Figure 1 A flowchart of an account tracking test method according to an embodiment of the present application is schematically shown;
[0027] Figure 2 A schematic diagram of an account tracking test device according to an embodiment of the present application is schematically shown;
[0028] Figure 3 The internal structure diagram of a computer device according to an embodiment of the present application is schematically shown.
[0029] Description of Reference Numerals
[0030] 200-account tracking test device; 201-account test return message acquisition module; 202-associated record update module; 203-comparison module; A01-processor; A02-network interface; A03-internal memory; A04-non-volatile storage medium; B01-operating system; B02-computer program. DETAILED DESCRIPTION
[0031] In order to make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the specific implementation methods described herein are only used to illustrate and explain the embodiments of the present application, and are not used to limit the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0032] It should be noted that if the embodiments of the present application involve directional indications (such as up, down, left, right, front, back...), the directional indications are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.
[0033] In addition, if there are descriptions involving "first", "second", etc. in the embodiments of the present application, the descriptions of "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or suggesting their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by this application.
[0034] The acquisition, transmission, storage, use, and processing of data in the technical solution of this application are in compliance with the relevant provisions of national laws and regulations. In addition, it should be noted that in the embodiments of this application, some existing solutions in the industry such as certain software, components, and models may be mentioned, which should be considered as exemplary, and their purpose is only to illustrate the feasibility of the implementation of the technical solution of this application, but it does not mean that the applicant has or will necessarily use the solution.
[0035] Figure 1 The following is a schematic diagram showing a flow chart of an account tracking test method according to an embodiment of the present application. Figure 1As shown, in one embodiment of the present application, an account tracking test method is provided, comprising the following steps: in response to account tracking instructions of multiple business transactions, performing account tracking tests on multiple business transactions; wherein the process of performing the account tracking test on each business transaction comprises: S101: when it is determined that there is no matching item corresponding to the account tracking request message of the business transaction in the associated record, directly performing the account tracking test and obtaining the account tracking return message; S102: when it is determined that the business transaction is a newly initiated business transaction, updating the associated record based on the numbering information of the account tracking return message of the business transaction and the numbering information of the original return message corresponding to the account tracking return message; S103: comparing the account tracking return message of the business transaction with the original return message based on the updated associated record.
[0036] Specifically, in the embodiment of the present invention, when receiving the account tracking instructions of multiple business transactions, multiple business transactions perform the account tracking test, and the specific process of each business transaction performing the account tracking test includes: first searching whether there is a matching item corresponding to the account tracking request message of the business transaction in the associated record, if there is no matching item corresponding to the account tracking request message of the business transaction in the associated record, then directly performing the account tracking test and obtaining the account tracking return message. Then determine whether the business transaction is a newly initiated business transaction, and the newly initiated business transaction is the first business transaction executed in the transaction process, such as the creation of an order, an application form or a task for a business transaction. If the number generation rule of the new business system contains a timestamp or a random number, such as an institution number + a 6-digit random number or an institution number + hours, minutes, seconds and milliseconds, then the generated number is almost impossible to be the same as the old business system, or the system reconstruction number generation mechanism changes, such as a system that uses the sequence of the Oracle database to generate the serial number as part of the number before the transformation, and uses a domestic distributed database after the transformation. The domestic distributed database does not support the sequence, so a snowflake id scheme is used to generate the serial number. In this case, the generated number is almost impossible to be the same. Therefore, if the business transaction initiates a new business transaction, the number information of the account tracking return message of the business transaction is associated with the number information of the account tracking return message, and the associated record is updated. According to the updated associated record, the number information of the original return message is replaced with the number information of the account tracking return message of the business transaction, and then the account tracking return message is compared with the original return message to obtain the result of the account tracking test.
[0037] According to the account tracking test method provided by the present invention, it is possible to establish an association between the return message of the newly initiated business transaction and the original return message, reduce the difference between the newly initiated business transaction and the business transaction of the old business system, improve the success rate of account tracking comparison, reduce the probability of manual review, and improve account tracking efficiency.
[0038] In one embodiment, performing an account tracking test on multiple business transactions includes: determining a transaction process; wherein the transaction process represents a transaction order of newly initiated business transactions and subsequent business transactions that are executed sequentially; determining newly initiated business transactions and subsequent business transactions corresponding to the transaction process from multiple business transactions; and performing an account tracking test on the newly initiated business transactions and subsequent business transactions corresponding to the transaction process in sequence according to the transaction process.
[0039] Specifically, in the implementation mode of the present invention, multiple business transactions may belong to multiple transaction processes respectively, and each transaction process includes a newly initiated business transaction that is first performed, and at least one subsequent business transaction that is performed after the newly initiated business transaction. First, the transaction process to which the business transaction belongs is determined, and then multiple business transactions are divided according to the transaction process, and the newly initiated business transaction under the transaction process and the subsequent business transactions that are executed in sequence are determined. Then, the account tracking test of the newly initiated business transaction and the subsequent business transaction under the transaction process is performed in sequence according to the transaction process.
[0040] The account tracking test method provided by the present invention can avoid problems caused by non-system functions caused by transactions not being executed in sequence, and sequentially execute the account tracking test of business transactions, thereby improving the success rate of the account tracking test and enhancing the account tracking efficiency.
[0041] In one embodiment, it further includes: determining whether there is a matching item corresponding to the account tracking request message of the business transaction in the associated record, including: determining the tag value and field value of the account tracking request message of the business transaction; wherein the tag value represents the name of the business transaction, and the field value represents the number of the business transaction; detecting whether there is a matching item corresponding to the tag value and field value of the account tracking request message of the business transaction in the associated record; if not, determining that there is no matching item corresponding to the account tracking request message of the business transaction in the associated record.
[0042] Specifically, in the implementation mode of the present invention, the tag value and field value of the account tracking request message of the business transaction are first determined, the tag value represents the name of the business transaction, such as the name is teller, and the field value represents the number of the business transaction, such as the number is A, which is unique. It is searched whether there are matching items corresponding to the tag value and the field value respectively in the associated record, if so, it is determined that there is a matching item corresponding to the account tracking request message of the business transaction in the associated record; if not, it is determined that there is no matching item corresponding to the account tracking request message of the business transaction in the associated record, and the account tracking test is directly performed.
[0043] According to the account tracking test method provided by the present invention, it is possible to determine whether there is an associated record based on the tag value and field value of the request message, thereby ensuring that the account tracking request message is associated with the number of the original request message, reducing manual intervention, improving processing speed and efficiency, ensuring the robustness of the business system and the accuracy of customer information, and improving overall operational efficiency and service levels.
[0044] In one embodiment, the method further includes: when it is determined that there is a matching item corresponding to the account tracking request message of the business transaction in the associated record, based on the matching item corresponding to the account tracking request message of the business transaction in the associated record, replacing the number information of the original request message corresponding to the business transaction and the account tracking request message with the number information of the account tracking request message; wherein the original request message corresponding to the account tracking request message is the request message of the business transaction in the old business system.
[0045] In one embodiment, the replacing the number information of the original request message corresponding to the business transaction and the account tracking request message with the number information of the account tracking request message includes: replacing the label value of the original request message corresponding to the business transaction and the account tracking request message with the label value of the account tracking request message; replacing the field value of the original request message corresponding to the business transaction and the account tracking request message with the field value of the account tracking request message.
[0046] Specifically, in the implementation manner of the present invention, for a newly initiated business transaction, the tag value and field value of its account request message and account return message may not be the same, but the tag value and field value of the account request message of the subsequent business transaction corresponding to the newly initiated business transaction and the tag value and field value of the account return message are the same as the tag value and field value of the account return message. Therefore, for the newly initiated business transaction, the matching items corresponding to the tag value and field value are usually not detected in the association record, but after the account return message of the newly initiated business transaction is associated with the original return message, the account request message of the subsequent business transaction can usually query the corresponding matching items in the association record. Then, based on the matching items corresponding to the account request message of the business transaction in the association record, the number information of the original request message of the business transaction in the old business system corresponding to the business transaction and the account request message can be replaced with the number information of the account request message. The tag value of the original request message corresponding to the business transaction and the account tracking request message is replaced with the tag value of the account tracking request message, and the field value of the original request message corresponding to the business transaction and the account tracking request message is replaced with the field value of the account tracking request message.
[0047] According to the account tracking test method provided by the present invention, the account request message can be associated with the original request message, the integrity of the transaction record can be maintained, the accuracy of transaction processing can be ensured, errors caused by information mismatch can be avoided, the robustness of the business system and the accuracy of customer information can be guaranteed, and the overall operational efficiency and customer experience can be improved.
[0048] In one embodiment, the updating of the association record based on the number information of the account follow-up return message of the business transaction and the number information of the original return message corresponding to the account follow-up return message includes: determining a tag value and a field value of the account follow-up return message of the business transaction; determining a tag value and a field value of the original return message corresponding to the account follow-up return message of the business transaction; associating the tag value of the account follow-up return message of the business transaction with the tag value of the original return message corresponding to the account follow-up return message, and associating the field value of the account follow-up return message of the business transaction with the field value of the original return message corresponding to the account follow-up return message, and updating in the association record.
[0049] Specifically, in the embodiment of the present invention, if it is determined that the business transaction is a newly initiated business transaction, the tag value and field value of the account tracking return message of the business transaction are determined, the tag value represents the name of the business transaction, such as the name is an application form, and the field value represents the number of the business transaction, such as the number is 0001. The tag value and field value of the account tracking request message of the subsequent business transaction of the newly initiated business transaction and the tag value and field value of the account tracking return message are the same as the tag value and field value of the account tracking return message, so that the account tracking return message of the business transaction can be distinguished from other business transactions. Then, the tag value and field value of the original return message corresponding to the account tracking return message of the business transaction are determined, the tag value of the account tracking return message of the business transaction is associated with the tag value of the original return message corresponding to the account tracking return message, and the field value of the account tracking return message of the business transaction is associated with the field value of the original return message corresponding to the account tracking return message, and updated in the association record.
[0050] According to the account tracking test method provided by the present invention, it is possible to unify the numbering of the newly initiated business transaction account tracking return message and the original return message, reduce the differences between the newly initiated business transactions and the business transactions of the old business system, improve the success rate of account tracking comparison, reduce the probability of manual review, and improve account tracking efficiency.
[0051] In one embodiment, the method further includes: when it is determined that the business transaction is not a newly initiated business transaction and there is a matching item corresponding to the account follow-up return message of the business transaction in the associated record, based on the matching item corresponding to the account follow-up return message of the business transaction in the associated record, replacing the number information of the original return message corresponding to the business transaction and the account follow-up return message with the number information of the account follow-up return message.
[0052] Specifically, in an implementation manner of the present invention, if the business transaction is not a newly initiated business transaction, that is, the business transaction is a subsequent business transaction, it is determined whether there is a matching item corresponding to the account follow-up return message of the business transaction in the associated record. If there is a matching item corresponding to the account follow-up return message of the business transaction in the associated record, then according to the matching item, the label value of the original return message corresponding to the business transaction and the account follow-up return message is replaced with the label value of the account follow-up return message, and the field value of the original return message corresponding to the business transaction and the account follow-up return message is replaced with the field value of the account return message.
[0053] According to the account tracking test method provided by the present invention, it is possible to unify the numbering of subsequent business transaction account tracking return messages and original return messages, reduce the differences between subsequent business transactions of the new business system and subsequent business transactions of the old business system, improve the success rate of account tracking comparison, reduce the probability of manual review, and improve account tracking efficiency.
[0054] In one embodiment, for subsequent business transactions, such as subsequent query business transactions, the request message may not be associated, and the return message may be associated before comparison; for example, for subsequent approval business transactions, the request message has an associated record, but the return message does not have an associated record. Therefore, there may not be a matching item corresponding to the account tracking return message of the business transaction in the associated record, and the account tracking return message of the subsequent business transaction is directly compared with the original return message.
[0055] Please refer to Figure 2 According to a second aspect of the present invention, there is provided an account tracking test device 200, wherein the account tracking test device 200 is used to perform account tracking tests on multiple business transactions in response to account tracking instructions of multiple business transactions; wherein the process of performing account tracking tests on each business transaction comprises: an account test return message acquisition module 201, which is used to directly perform the account tracking test and obtain the account tracking return message when it is determined that there is no matching item corresponding to the account tracking request message of the business transaction in the associated record; an associated record update module 202, which is used to update the associated record based on the number information of the account tracking return message of the business transaction and the number information of the original return message corresponding to the account tracking return message when it is determined that the business transaction is a newly initiated business transaction; and a comparison module 203, which is used to compare the account tracking return message of the business transaction with the original return message based on the updated associated record.
[0056] In one embodiment, performing an account tracking test on multiple business transactions includes: determining a transaction process; wherein the transaction process represents a transaction order of newly initiated business transactions and subsequent business transactions that are executed sequentially; determining newly initiated business transactions and subsequent business transactions corresponding to the transaction process from multiple business transactions; and performing an account tracking test on the newly initiated business transactions and subsequent business transactions corresponding to the transaction process in sequence according to the transaction process.
[0057] In one embodiment, it further includes: determining whether there is a matching item corresponding to the account tracking request message of the business transaction in the associated record, including: determining the tag value and field value of the account tracking request message of the business transaction; wherein the tag value represents the name of the business transaction, and the field value represents the number of the business transaction; detecting whether there is a matching item corresponding to the tag value and field value of the account tracking request message of the business transaction in the associated record; if not, determining that there is no matching item corresponding to the account tracking request message of the business transaction in the associated record.
[0058] In one embodiment, the device further includes: a first replacement module, which is used to replace the numbering information of the original request message corresponding to the business transaction and the account tracking request message with the numbering information of the account tracking request message based on the matching item corresponding to the account tracking request message in the association record when it is determined that there is a matching item corresponding to the account tracking request message of the business transaction in the association record; wherein the original request message corresponding to the account tracking request message is the request message of the business transaction in the old business system.
[0059] In one embodiment, the replacing the number information of the original request message corresponding to the business transaction and the account tracking request message with the number information of the account tracking request message includes: replacing the label value of the original request message corresponding to the business transaction and the account tracking request message with the label value of the account tracking request message; replacing the field value of the original request message corresponding to the business transaction and the account tracking request message with the field value of the account tracking request message.
[0060] In one embodiment, the updating of the association record based on the number information of the account follow-up return message of the business transaction and the number information of the original return message corresponding to the account follow-up return message includes: determining a tag value and a field value of the account follow-up return message of the business transaction; determining a tag value and a field value of the original return message corresponding to the account follow-up return message of the business transaction; associating the tag value of the account follow-up return message of the business transaction with the tag value of the original return message corresponding to the account follow-up return message, and associating the field value of the account follow-up return message of the business transaction with the field value of the original return message corresponding to the account follow-up return message, and updating in the association record.
[0061] In one embodiment, the device further includes: a second replacement module, which is used to replace the numbering information of the original return message corresponding to the business transaction and the account return message with the numbering information of the account return message based on the matching item corresponding to the account return message of the business transaction in the association record, when it is determined that the business transaction is not a newly initiated business transaction and there is a matching item corresponding to the account return message of the business transaction in the association record.
[0062] The account tracking test device includes a processor and a memory. The account test return message acquisition module, the associated record update module and the comparison module are all stored in the memory as program units, and the processor executes the program modules stored in the memory to implement corresponding functions.
[0063] The processor includes a kernel, which calls the corresponding program unit from the memory. One or more kernels can be set, and the account tracking test method can be implemented by adjusting the kernel parameters.
[0064] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0065] An embodiment of the present application provides a processor configured to execute the account tracking test method described above.
[0066] An embodiment of the present application provides a machine-readable storage medium, on which instructions are stored. When the instructions are executed by a processor, the processor is configured to execute the account tracking test method described above.
[0067] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 3 shown. Figure 3 The internal structure diagram of a computer device according to an embodiment of the present application is schematically shown. The computer device includes a processor A01, a network interface A02, a memory (not shown in the figure) and a database (not shown in the figure) connected via a system bus. Among them, the processor A01 of the computer device is used to provide computing and control capabilities. The memory of the computer device includes an internal memory A03 and a non-volatile storage medium A04. The non-volatile storage medium A04 stores an operating system B01, a computer program B02 and a database (not shown in the figure). The internal memory A03 provides an environment for the operation of the operating system B01 and the computer program B02 in the non-volatile storage medium A04. The network interface A02 of the computer device is used to communicate with an external terminal through a network connection. When the computer program B02 is executed by the processor A01, a method for tracking account testing is implemented.
[0068] Those skilled in the art will understand that Figure 3 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0069] The embodiment of the present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program that is initialized with the following method steps: in response to account tracking instructions of multiple business transactions, performing account tracking tests on multiple business transactions; wherein the process of performing the account tracking test on each business transaction includes: when it is determined that there is no matching item corresponding to the account tracking request message of the business transaction in the associated record, directly performing the account tracking test and obtaining the account tracking return message; when it is determined that the business transaction is a newly initiated business transaction, updating the associated record based on the numbering information of the account tracking return message of the business transaction and the numbering information of the original return message corresponding to the account tracking return message; and comparing the account tracking return message of the business transaction with the original return message based on the updated associated record.
[0070] In one embodiment, performing an account tracking test on multiple business transactions includes: determining a transaction process; wherein the transaction process represents a transaction order of newly initiated business transactions and subsequent business transactions that are executed sequentially; determining newly initiated business transactions and subsequent business transactions corresponding to the transaction process from multiple business transactions; and performing an account tracking test on the newly initiated business transactions and subsequent business transactions corresponding to the transaction process in sequence according to the transaction process.
[0071] In one embodiment, it further includes: determining whether there is a matching item corresponding to the account tracking request message of the business transaction in the associated record, including: determining the tag value and field value of the account tracking request message of the business transaction; wherein the tag value represents the name of the business transaction, and the field value represents the number of the business transaction; detecting whether there is a matching item corresponding to the tag value and field value of the account tracking request message of the business transaction in the associated record; if not, determining that there is no matching item corresponding to the account tracking request message of the business transaction in the associated record.
[0072] In one embodiment, the method further includes: when it is determined that there is a matching item corresponding to the account tracking request message of the business transaction in the associated record, based on the matching item corresponding to the account tracking request message of the business transaction in the associated record, replacing the number information of the original request message corresponding to the business transaction and the account tracking request message with the number information of the account tracking request message; wherein the original request message corresponding to the account tracking request message is the request message of the business transaction in the old business system.
[0073] In one embodiment, the replacing the number information of the original request message corresponding to the business transaction and the account tracking request message with the number information of the account tracking request message includes: replacing the label value of the original request message corresponding to the business transaction and the account tracking request message with the label value of the account tracking request message; replacing the field value of the original request message corresponding to the business transaction and the account tracking request message with the field value of the account tracking request message.
[0074] In one embodiment, the updating of the association record based on the number information of the account follow-up return message of the business transaction and the number information of the original return message corresponding to the account follow-up return message includes: determining a tag value and a field value of the account follow-up return message of the business transaction; determining a tag value and a field value of the original return message corresponding to the account follow-up return message of the business transaction; associating the tag value of the account follow-up return message of the business transaction with the tag value of the original return message corresponding to the account follow-up return message, and associating the field value of the account follow-up return message of the business transaction with the field value of the original return message corresponding to the account follow-up return message, and updating in the association record.
[0075] In one embodiment, the method further includes: when it is determined that the business transaction is not a newly initiated business transaction and there is a matching item corresponding to the account follow-up return message of the business transaction in the associated record, based on the matching item corresponding to the account follow-up return message of the business transaction in the associated record, replacing the number information of the original return message corresponding to the business transaction and the account follow-up return message with the number information of the account follow-up return message.
[0076] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0077] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0078] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0079] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0080] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0081] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0082] Computer readable media include permanent and non-permanent, removable and non-removable media, and can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape, disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0083] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0084] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.
Claims
1. A method for tracking account testing, characterized in that: The account tracking test method comprises: In response to the account tracking instructions of the multiple business transactions, the account tracking test is performed on the multiple business transactions; wherein the process of performing the account tracking test on each business transaction includes: When it is determined that there is no matching item corresponding to the account tracking request message of the business transaction in the associated record, the account tracking test is directly performed and the account tracking return message is obtained; In the case where it is determined that the business transaction is a newly initiated business transaction, updating the association record based on the number information of the account tracking return message of the business transaction and the number information of the original return message corresponding to the account tracking return message; The account tracking return message of the business transaction is compared with the original return message based on the updated associated record.
2. The account tracking test method according to claim 1, characterized in that: The performing of account tracking test on multiple business transactions includes: Determine a transaction process; wherein the transaction process represents the transaction order of the newly initiated business transaction and the subsequent business transactions executed in sequence; Determining a newly initiated business transaction and a subsequent business transaction corresponding to the transaction process from a plurality of business transactions; According to the transaction process, the account tracking test of the newly initiated business transaction and the subsequent business transaction corresponding to the transaction process is performed in sequence.
3. The account tracking test method according to claim 1, characterized in that: Also includes: Determine whether there is a matching item in the associated record that corresponds to the account tracking request message of the business transaction, including: Determine a tag value and a field value of the account tracking request message of the business transaction; wherein the tag value represents the name of the business transaction, and the field value represents the number of the business transaction; Detecting whether there is a matching item in the association record that corresponds to the tag value and field value of the account tracking request message of the business transaction; If not, it is determined that there is no matching item corresponding to the account tracking request message of the business transaction in the associated record.
4. The account tracking test method according to claim 1, characterized in that: The method further comprises: When it is determined that there is a matching item corresponding to the account tracking request message of the business transaction in the association record, based on the matching item corresponding to the account tracking request message of the business transaction in the association record, the number information of the original request message corresponding to the business transaction and the account tracking request message is replaced with the number information of the account tracking request message; wherein the original request message corresponding to the account tracking request message is the request message of the business transaction in the old business system.
5. The account tracking test method according to claim 4, characterized in that: The replacing the serial number information of the original request message corresponding to the business transaction and the account tracking request message with the serial number information of the account tracking request message includes: Replace the tag value of the original request message corresponding to the business transaction and the account tracking request message with the tag value of the account tracking request message; The field value of the original request message corresponding to the business transaction and the account tracking request message is replaced with the field value of the account tracking request message.
6. The account tracking test method according to claim 1, characterized in that: The updating of the association record based on the number information of the account tracking return message of the business transaction and the number information of the original return message corresponding to the account tracking return message includes: Determine the tag value and field value of the account tracking return message of the business transaction; wherein the tag value represents the name of the business transaction, and the field value represents the number of the business transaction; Determine the tag value and field value of the original return message corresponding to the business transaction and the account tracking return message; The tag value of the follow-up return message of the business transaction is associated with the tag value of the original return message corresponding to the follow-up return message, and the field value of the follow-up return message of the business transaction is associated with the field value of the original return message corresponding to the follow-up return message, and updated in the association record.
7. The account tracking test method according to claim 1, characterized in that: The method further comprises: When it is determined that the business transaction is not a newly initiated business transaction and there is a matching item corresponding to the account return message of the business transaction in the associated record, based on the matching item corresponding to the account return message of the business transaction in the associated record, the number information of the original return message corresponding to the business transaction and the account return message is replaced with the number information of the account return message.
8. An account tracking test device, characterized in that: The account tracking test device is used to respond to the account tracking instructions of multiple business transactions and perform account tracking tests on multiple business transactions; wherein the process of performing the account tracking test on each business transaction includes: An account test return message acquisition module is used to directly perform an account tracking test and obtain an account tracking return message when it is determined that there is no matching item corresponding to the account tracking request message of the business transaction in the associated record; An associated record updating module, configured to update the associated record based on the number information of the account tracking return message of the business transaction and the number information of the original return message corresponding to the account tracking return message when determining that the business transaction is a newly initiated business transaction; The comparison module is used to compare the account tracking return message of the business transaction with the original return message based on the updated associated record.
9. The account tracking test device according to claim 8, characterized in that: The performing of account tracking test on multiple business transactions includes: Determine a transaction process; wherein the transaction process represents the transaction order of the newly initiated business transaction and the subsequent business transactions executed in sequence; Determining a newly initiated business transaction and a subsequent business transaction corresponding to the transaction process from a plurality of business transactions; According to the transaction process, the account tracking test of the newly initiated business transaction and the subsequent business transaction corresponding to the transaction process is performed in sequence.
10. The account tracking test device according to claim 8, characterized in that: Also includes: Determine whether there is a matching item in the associated record that corresponds to the account tracking request message of the business transaction, including: Determine a tag value and a field value of the account tracking request message of the business transaction; wherein the tag value represents the name of the business transaction, and the field value represents the number of the business transaction; Detecting whether there is a matching item in the association record that corresponds to the tag value and field value of the account tracking request message of the business transaction; If not, it is determined that there is no matching item corresponding to the account tracking request message of the business transaction in the associated record.
11. The account tracking test device according to claim 8, characterized in that: The device also includes: The first replacement module is used to replace the numbering information of the original request message corresponding to the business transaction and the account tracking request message with the numbering information of the account tracking request message based on the matching item corresponding to the account tracking request message in the association record when it is determined that there is a matching item corresponding to the account tracking request message of the business transaction in the association record; wherein the original request message corresponding to the account tracking request message is the request message of the business transaction in the old business system.
12. The account tracking test device according to claim 11, characterized in that: The replacing the serial number information of the original request message corresponding to the business transaction and the account tracking request message with the serial number information of the account tracking request message includes: Replace the tag value of the original request message corresponding to the business transaction and the account tracking request message with the tag value of the account tracking request message; The field value of the original request message corresponding to the business transaction and the account tracking request message is replaced with the field value of the account tracking request message.
13. The account tracking test device according to claim 8, characterized in that: The updating of the association record based on the number information of the account tracking return message of the business transaction and the number information of the original return message corresponding to the account tracking return message includes: Determine the tag value and field value of the account tracking return message of the business transaction; Determine the tag value and field value of the original return message corresponding to the business transaction and the account tracking return message; The tag value of the follow-up return message of the business transaction is associated with the tag value of the original return message corresponding to the follow-up return message, and the field value of the follow-up return message of the business transaction is associated with the field value of the original return message corresponding to the follow-up return message, and updated in the association record.
14. The account tracking test device according to claim 8, characterized in that: The device also includes: The second replacement module is used to replace the number information of the original return message corresponding to the business transaction and the account return message with the number information of the account return message based on the matching item corresponding to the account return message of the business transaction in the association record, when it is determined that the business transaction is not a newly initiated business transaction and there is a matching item corresponding to the account return message of the business transaction in the association record.
15. A processor, characterized in that: The method is configured to execute the account tracking test method according to any one of claims 1 to 7.
16. A machine-readable storage medium having instructions stored thereon, characterized in that: When the instruction is executed by a processor, the processor is configured to execute the account tracking test method according to any one of claims 1 to 7.
17. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the computer program implements the account tracking test method according to any one of claims 1 to 7.
Citation Information
Cited By
Automatic test verification method for system credential reconstruction
CN121092462A