[go: up one dir, main page]

CN112579468B - A business system testing method and device - Google Patents

A business system testing method and device Download PDF

Info

Publication number
CN112579468B
CN112579468B CN202011582317.2A CN202011582317A CN112579468B CN 112579468 B CN112579468 B CN 112579468B CN 202011582317 A CN202011582317 A CN 202011582317A CN 112579468 B CN112579468 B CN 112579468B
Authority
CN
China
Prior art keywords
data
business
type
service
tag
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011582317.2A
Other languages
Chinese (zh)
Other versions
CN112579468A (en
Inventor
薛莲
徐浩
许蓉蓉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Construction Bank Corp
Original Assignee
China Construction Bank Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Construction Bank Corp filed Critical China Construction Bank Corp
Priority to CN202011582317.2A priority Critical patent/CN112579468B/en
Publication of CN112579468A publication Critical patent/CN112579468A/en
Application granted granted Critical
Publication of CN112579468B publication Critical patent/CN112579468B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/3668Testing of software
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • General Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • Technology Law (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本发明公开了一种业务系统的测试方法和装置,涉及计算机技术领域。该方法的一具体实施方式包括:确定待测试的第一业务系统对应的第一业务类型;根据业务映射关系,确定与第一业务类型对应的第二业务类型;确定在第二业务系统运行的、第二业务类型的业务数据,并将业务数据作为测试数据;利用测试数据对第一业务系统进行测试。该实施方式无需技术人员手动编写测试数据,并且将已有第二业务系统运行得到的业务数据作为测试数据,还能够覆盖更多真实的使用场景,从而能够更加完备地测试第一业务系统,提高测试的准确性和效率。

The present invention discloses a testing method and device for a business system, and relates to the field of computer technology. A specific implementation of the method includes: determining a first business type corresponding to a first business system to be tested; determining a second business type corresponding to the first business type according to a business mapping relationship; determining business data of the second business type running in the second business system, and using the business data as test data; and testing the first business system using the test data. This implementation does not require technicians to manually write test data, and uses the business data obtained from the operation of the existing second business system as test data, and can also cover more real usage scenarios, so that the first business system can be tested more completely, improving the accuracy and efficiency of the test.

Description

Service system testing method and device
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for testing a service system.
Background
In the process of developing a system, testing is a very important link. Technicians are often required to manually write large amounts of test data for a developed system, simulating a usage scenario, to test the relevant functions of the system.
In the process of implementing the present invention, the inventor finds that at least the following problems exist in the prior art:
Due to the preference or capability of the technicians, the test data manually written by the technicians cannot completely cover the actual use scene, so that the related functions of the developed system cannot be tested in a face-to-face manner, and further, the test accuracy and efficiency are low.
Disclosure of Invention
In view of this, the embodiment of the invention provides a method and a device for testing a service system, which can test a first service system by taking service data of a second service type corresponding to a first service type operated by a second service system as test data according to a service mapping relation after determining the first service type corresponding to the first service system to be tested, so that a technician does not need to write the test data manually, and the service data obtained by the operation of the second service system is taken as the test data, and can also cover more real use scenes, thereby testing the first service system more completely and improving the accuracy and efficiency of the test.
In order to achieve the above object, according to an aspect of the embodiments of the present invention, a method for testing a service system is provided.
The testing method of the service system in the embodiment of the invention comprises the following steps:
determining a first service type corresponding to a first service system to be tested;
determining a second service type corresponding to the first service type according to the service mapping relation;
Determining service data of a second service type running in a second service system, and taking the service data as test data;
and testing the first service system by using the test data.
Alternatively, the process may be carried out in a single-stage,
Determining service data of a second service type operating on a second service system, comprising:
determining message data of a second service system;
And extracting service data corresponding to the second service type from the message data.
Alternatively, the process may be carried out in a single-stage,
The service data comprises a data tag and a service value, and the service data is used as test data and comprises the following steps:
for each first traffic type, performing:
determining a first data tag corresponding to the first service type and extracting target service data corresponding to the first service type;
Determining a second data tag corresponding to the first data tag and a second service value corresponding to the second data tag from the target service data according to the first data tag;
and taking the second service value as test data corresponding to the first data tag.
Alternatively, the process may be carried out in a single-stage,
Determining a first data tag to be tested according to a preset error range table, wherein the allowable error range of the first data tag to be tested is larger than a preset threshold value;
And determining a second data tag corresponding to the first data tag to be tested and a second service value corresponding to the second data tag from the target service data.
Alternatively, the process may be carried out in a single-stage,
Determining a second data tag corresponding to the first data tag from the target service data, including:
Determining a plurality of second data tags included in the target service data;
traversing the plurality of second data tags to find a second data tag corresponding to the first data tag.
Alternatively, the process may be carried out in a single-stage,
When the character string corresponding to the second data tag is included in the character string corresponding to the first data tag, determining that the second data tag corresponds to the first data tag.
Alternatively, the process may be carried out in a single-stage,
And determining a second data tag corresponding to the first data tag from the target service data according to a preset tag corresponding table.
Alternatively, the process may be carried out in a single-stage,
Taking the service data as test data, comprising:
determining a first data type required by a first service system;
Determining a second data type of the service data;
And determining whether the first data type and the second data type are the same, if not, converting the service data according to the first data type, and taking the converted service data as test data.
Alternatively, the process may be carried out in a single-stage,
Converting the service data according to the first data type, including:
Constructing a decoding mapping table, wherein the decoding mapping table comprises a plurality of data types, a plurality of characters contained in each data type in the plurality of data types and character correspondence among different data types;
and converting the service data according to the decoding mapping table.
Alternatively, the process may be carried out in a single-stage,
Converting the service data according to the decoding mapping table, including:
Determining a second data type corresponding to the service data from the decoding mapping table, and determining a plurality of characters to be converted included in the service data from a plurality of characters corresponding to the second data type;
Determining a plurality of characters corresponding to the first data type in a decoding mapping table;
And respectively determining a target character corresponding to each character to be converted in a plurality of characters corresponding to the first data type according to the character corresponding relation between the first data type and the second data type in the decoding mapping table so as to convert the service data.
Alternatively, the process may be carried out in a single-stage,
The first business system and the second business system are financial transaction systems;
the first business type includes any one or more of contract-level accounting, channel-out accounting, cash flow accounting, and detail accounting.
Alternatively, the process may be carried out in a single-stage,
In the case where the first business type is contract-level accounting,
And testing the foreign exchange transaction and the borrowing transaction by using the test data.
Alternatively, the process may be carried out in a single-stage,
The first data label corresponding to the foreign exchange transaction comprises any one or more of a product type corresponding to the foreign exchange transaction, a transaction date, an expiration date, a transaction opponent short name, a transaction currency pair, a transaction direction, a currency, an amount corresponding to the currency, a payment date, a pricing exchange rate and a no-principal-exchange long-term foreign exchange transaction fixed interest days;
And/or the number of the groups of groups,
The first data label corresponding to the borrowing transaction comprises any one or more of a product type, a transaction date, a start date, an expiration date, a transaction opponent abbreviation, a currency code, a transaction amount, an expired repayment amount, interest, an interest rate type, a fixed interest rate value, a fixed interest rate rule, a floating interest rate standard, a difference of interest, a floating interest rule, an interest calculation mode, a reset frequency, a reset holiday, a reset period, a payment holiday rule, an interest frequency, an interest adjustment mode, an interest calendar and an interest setting mode corresponding to the borrowing transaction.
Alternatively, the process may be carried out in a single-stage,
In the case where the first traffic type is out-of-channel accounting,
The first data tag includes any one or more of a clearing currency code, an actual clearing amount, a report line number, a payer name, a payer account number, a payer account opening line name, a payee line number, a payee account name, a payee address, a payee account number, a payee account opening line name.
Alternatively, the process may be carried out in a single-stage,
In the case where the first service type is cash flow accounting,
The first data tag comprises any one or more of a business type corresponding to cash flow, a transaction opponent short name, a clearing currency code, a sink custom name and a clearing path category code.
Alternatively, the process may be carried out in a single-stage,
In the case where the first traffic type is detail accounting,
The first data tag includes any one or more of accounting date, product contract number, transaction facility number, account facility number, multi-entity identification, currency code, subject generation direction code, natural subject number, list subject flag, detail record transaction generation amount, account responsibility center number, public client type code, business to business organization number, general account deadline code.
In order to achieve the above object, according to still another aspect of the embodiments of the present invention, there is provided a testing apparatus for a service system.
The testing device of the service system comprises a first type confirming module, a second type confirming module, a testing data determining module and a testing module, wherein the testing device comprises:
The first type confirmation module is used for determining a first service type corresponding to a first service system to be tested;
The second type confirming module is used for determining a second service type corresponding to the first service type according to the service mapping relation;
The test data determining module is used for determining service data of a second service type running in a second service system and taking the service data as test data;
And the test module is used for testing the first service system by using the test data.
To achieve the above object, according to still another aspect of the embodiments of the present invention, there is provided a test electronic device for a service system.
The test electronic equipment of the business system comprises one or more processors and a storage device, wherein the storage device is used for storing one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors realize the test method of the business system.
To achieve the above object, according to still another aspect of the embodiments of the present invention, there is provided a computer-readable storage medium.
A computer readable storage medium of an embodiment of the present invention stores a computer program thereon, which when executed by a processor implements a method for testing a service system of the embodiment of the present invention.
The embodiment of the invention has the advantages that after the first service type corresponding to the first service system to be tested is determined, the service data of the second service type corresponding to the first service type operated by the second service system can be used as test data to test the first service system according to the service mapping relation, so that a technician does not need to write the test data manually, the service data obtained by the operation of the second service system can be used as the test data, more real use scenes can be covered, the first service system can be tested more completely, and the accuracy and the efficiency of the test are improved.
Further effects of the above-described non-conventional alternatives are described below in connection with the embodiments.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
FIG. 1 is a schematic diagram of the main steps of a testing method of a business system according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of the main steps of a method of using business data as test data according to an embodiment of the present invention;
FIG. 3 is an exemplary diagram of a first data tag corresponding to a foreign exchange transaction of a first business system according to an embodiment of the present invention;
FIG. 4 is an exemplary diagram of a first data tag corresponding to a lending transaction of a first business system according to an embodiment of the invention;
FIG. 5 is a schematic diagram of the main steps of a method for converting traffic data according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of extraction rules for message data of a SWIFT channel according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of a rule for matching message data of a second service system with a first service system according to an embodiment of the present invention;
FIG. 8 is a screenshot of test data obtained from message data to perform a comparison test on a first business system;
FIG. 9 is a schematic diagram of extraction rules for CNAPS channels of message data according to an embodiment of the present invention;
FIG. 10 is an exemplary diagram of a first data tag corresponding to a first business system according to an embodiment of the present invention;
FIG. 11 is an exemplary diagram of a first data tag corresponding to another first business system according to an embodiment of the present invention;
FIG. 12 is a schematic diagram of a rule for acquiring business data according to an embodiment of the present invention;
FIG. 13 is an exemplary diagram of a first data tag corresponding to yet another first business system according to an embodiment of the present invention;
FIG. 14 is a schematic diagram of the main modules of a testing apparatus of a business system according to an embodiment of the present invention;
FIG. 15 is an exemplary system architecture diagram in which embodiments of the present invention may be applied;
Fig. 16 is a schematic diagram of a computer system suitable for use in implementing an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present invention will now be described with reference to the accompanying drawings, in which various details of the embodiments of the present invention are included to facilitate understanding, and are to be considered merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
It should be noted that the embodiments of the present invention and the technical features in the embodiments may be combined with each other without collision.
Fig. 1 is a schematic diagram of main steps of a testing method of a service system according to an embodiment of the present invention.
As shown in fig. 1, a testing method of a service system according to an embodiment of the present invention mainly includes the following steps:
step S101, determining a first service type corresponding to a first service system to be tested.
In an embodiment of the present invention, the first business system is a financial transaction system. In a preferred embodiment of the invention, the first business system is a funds transaction operator platform system.
In an embodiment of the invention, the first business type comprises any one or more of contract-level accounting, channel-out accounting, cash flow accounting and detail accounting. The objective of testing the first business type is to automatically compare and analyze the total transaction of one or more days in background processing links such as transaction confirmation, transaction clearing and settlement, transaction accounting and the like of the first business system at a contract level (small account), an external channel message level (large account), a cash flow level and an accounting level (accounting account) and check whether the processing results of the first business system at the four levels meet expectations.
Step S102, according to the service mapping relation, determining a second service type corresponding to the first service type.
In the embodiment of the invention, the service mapping relation between the first service type of the first service system and the second service type of the second service system can be preconfigured, so that after the first service type corresponding to the first service system to be tested is determined, the second service type corresponding to the first service type to be tested can be determined according to the service mapping relation. In a preferred embodiment of the present invention, the service mapping relationship is stored in a service number mapping table.
Step S103, determining service data of a second service type running in a second service system, and taking the service data as test data.
In the embodiment of the invention, the first service system and the second service system are financial transaction systems. In a preferred embodiment of the present invention, the first business system is a funds transaction operator platform system and the second business system is a Opics operator platform system.
In the embodiment of the present invention, the service data may include a data tag and a service value, and a method for using the service data as test data is shown in fig. 2, where the method performs the following steps for each first service type:
Step S201, determining a first data tag corresponding to a first service type and extracted target service data corresponding to the first service type;
step S202, determining a second data label corresponding to the first data label and a second service value corresponding to the second data label from target service data according to the first data label;
and step 203, taking the second service value as the test data corresponding to the first data label.
In the embodiment of the invention, when the second data tag corresponding to the first data tag is determined from the target service data, a plurality of second data tags included in the target service data can be determined first, and then the plurality of second data tags are traversed to find the second data tag corresponding to the first data tag. Specifically, when the character string corresponding to the second data tag is included in the character string corresponding to the first data tag, the second data tag may be determined to correspond to the first data tag, or the second data tag corresponding to the first data tag may be determined from the target service data according to a preset tag correspondence table.
In the embodiment of the invention, the first data label and the second data label which need to be compared in the test can be distinguished and identified according to the dimension of the major class and the minor class of the product.
In an embodiment of the invention, the first business type comprises any one or more of contract-level accounting, channel-out accounting, cash flow accounting and detail accounting.
In the embodiment of the invention, under the condition that the first business type is contract level account following, the test data can be utilized to test the foreign exchange transaction and the borrowing transaction.
When the test data is used for testing the foreign exchange transaction, the first data label corresponding to the foreign exchange transaction can comprise any one or more of a product type corresponding to the foreign exchange transaction, a transaction date, an expiration date, a transaction opponent abbreviation, a transaction currency pair, a transaction direction, a currency, an amount corresponding to the currency, a payment date, a pricing exchange rate and a no-principal-exchange long-term foreign exchange transaction fixed interest days.
For example, as shown in fig. 3, fig. 3 is an exemplary diagram of a first data tag corresponding to a foreign exchange transaction of a first business system (i.e., the "blue core" system in fig. 3). The first data tag is a field name under a column of 'blue core system data', and the second data tag is a field under a column of 'Opics system data', and it can be seen that the first data tag and the second data tag corresponding to the foreign exchange transaction in fig. 3 each include a product type (including a background major product and a background minor product) corresponding to the foreign exchange transaction, a transaction date, an expired transaction, a opponent abbreviation, a transaction currency pair, a transaction direction, a currency (including a currency one code and a currency two code), a currency corresponding amount (including a currency one near end amount, a currency one far end amount, a currency two near end amount, a currency two far end amount), a payment date (including a near end payment date and a far end payment date), a pricing exchange rate, and a no-principal-exchange long-term foreign exchange transaction NDF fixed interest days.
When the lending transaction is tested by using the test data, the first data tag corresponding to the lending transaction can include, but is not limited to, any one or more of a product type, a transaction date, an interest date, an expiration date, a opponent abbreviation, a currency code, a transaction amount, an expired payback amount, an interest type, a fixed interest value, a fixed interest rule, a floating interest criterion, an interest difference, a floating interest rule, an interest calculation mode, a reset frequency, a reset holiday, a reset period, a payment holiday rule, an interest frequency, an interest adjustment mode, an interest calendar, and an interest calculation mode corresponding to the lending transaction.
For example, as shown in fig. 4, fig. 4 is an exemplary diagram of a first data tag corresponding to a borrowing transaction of a first business system (i.e., the "blue core" system in fig. 4). The first data tag, i.e. the field Chinese and/or field name under the column of "blue core system data", and the second data tag, i.e. the field under the column of "Opics system data", can be seen that the first data tag and the second data tag corresponding to the loan transaction in fig. 4 each include a product type corresponding to the loan transaction (including a background major product and a background minor product), a transaction date, an interest date, an expiration date, a transaction opponent abbreviation, a currency code, a transaction amount, an expired payment amount, interest, an interest rate type, a fixed interest rate value, a fixed interest rate rule, a floating interest rate reference, an interest difference, a floating interest rule, an interest calculation mode, a reset frequency, a reset holiday, a reset period, a payment holiday rule, an interest frequency, an interest adjustment mode, an interest calendar and an interest settlement mode.
In fig. 3 and 4, it can be seen that under the column of "alignment", there are "direct alignment", "decoding alignment" and "complex alignment". The method comprises the steps of judging whether a first service system is required to be used for a first service, wherein the first data type required by the first service system is consistent with a second data type of the service data, and the first service system is required to be used for a second service system, wherein the first data type required by the first service system is consistent with the second data type of the service data, the comparison test can be directly carried out, the decoding comparison shows that the first data type is inconsistent with the second data type, the service data needs to be converted so that the service data can be identified by the first service system, and the complex logic is extremely special and needs to be used for respectively processing the service data of different second service types in a targeted mode so that the processed service data can be used as test data of the first service system.
Therefore, in the embodiment of the invention, before the service data of non-complex logic is used as test data, the first data type required by the first service system and the second data type of the service data are required to be determined, and then whether the first data type and the second data type are the same or not is determined.
In the embodiment of the present invention, a method for converting service data is shown in fig. 5, and the method mainly includes the following steps:
step S501, constructing a decoding mapping table, wherein the decoding mapping table comprises a plurality of data types, a plurality of characters contained in each data type in the plurality of data types and character correspondence among different data types;
step S502, determining a second data type corresponding to the service data from the decoding mapping table, and determining a plurality of characters to be converted included in the service data from a plurality of characters corresponding to the second data type;
Step S503, determining a plurality of characters corresponding to the first data type in a decoding mapping table;
Step S504, according to the character corresponding relation between the first data type and the second data type in the decoding mapping table, respectively determining a target character corresponding to each character to be converted in a plurality of characters corresponding to the first data type so as to convert the service data.
In the embodiment of the invention, under the condition that the first service type is the channel external connection account following, the first service system needs to send out the message. The messages sent outwards by the first service system can be divided into a confirmation message and a payment message according to the function classification. The confirmation message of the SWIFT channel is divided into MT300 and MT320 messages due to different foreign exchange and borrowing products, and the payment message of the SWIFT channel is divided into MT202 and MT210 messages due to different receiving and payment directions. The payment message can also comprise CNAPS channels besides the SWIFT channel, which is specially used for the large-amount collection and payment message of the RMB, wherein only the payment message of CNAPS channels is sent outwards.
In the embodiment of the invention, when determining the service data, the message data of the second service system can be determined first, and then the service data corresponding to the second service type is extracted from the message data.
Specifically, for the SWIFT channel, the rule of extracting the message data is shown in fig. 6, and the rule of matching the message data of the second service system with the first service system is shown in fig. 7. After matching, service data corresponding to the second service type can be extracted from the message data to test the first service system.
For example, as shown in fig. 8, fig. 8 is a screenshot of acquiring test data from message data to perform a comparison test on the first service system. The service value corresponding to the first data tag 32A circled in the Opics system M202 packet is used as test data to perform a comparison test on the second data tag tagKey a circled in the "blue core" system M202 packet, and the service value corresponding to the first data tag 22C circled in the 15A field in the Opics system M300 packet is used as test data to perform a comparison test on the second data tag tagkey15a.22c circled in the "blue core" system M300 packet.
For CNAPS channels, the extraction rule of the message data is shown in fig. 9. The first data tag may include any one or more of, but not limited to, a clearing currency code, an actual clearing amount, a report line number, a payer name, a payer account number, a payer account name, a payee account number, a payee address, a payee account number, a payee account name.
For example, as shown in fig. 10, fig. 10 is an exemplary diagram of a first data tag corresponding to a first service system (i.e., the "blue core" system in fig. 10). The first data tag, namely, the field under the column of "blue core system data" and/or the new generation definition, and the second data tag, namely, the field under the column of "fund transaction background data", can be seen that the first data tag and the second data tag in fig. 10 each comprise a clearing currency code, an actual clearing amount, a sending line number, a receiving line number, a payer account opening line name, a receiving line number, a payee account name, a payee address, a payee account number, a payee account opening line number and a payee account opening line name.
In the embodiment of the invention, in the case that the first service type is cash flow accounting, the first data tag can comprise any one or more of, but is not limited to, a service type corresponding to the cash flow, a transaction opponent short name, a clearing currency code, a sink custom name and a clearing path category code.
For example, as shown in fig. 11, fig. 11 is an exemplary diagram of a first data tag corresponding to another first service system. The first data tag, i.e. the blue core plan cash flow comparison field and/or the cash flow comparison field Chinese description, and the second data tag, i.e. the Opics or the corresponding system comparison field and/or the Opics or the corresponding system comparison field Chinese description, are not consistent, and it can be seen that the first data tag and the second data tag in fig. 11 each include a transaction number, a cash flow number, a business type (including a business major class and a business minor class) corresponding to the cash flow, a payment date, a transaction opponent number, a transaction opponent short name, a clearing currency code, a clearing path category code, a clearing account short name, a sink custom name and a cash flow interval type.
In the embodiment of the present invention, in the case that the first service type is detail accounting, a rule of acquiring service data is shown in fig. 12. The first data tag may include any one or more of, but not limited to, accounting date, product contract number, transaction facility number, account facility number, multi-entity identification, currency code, subject generation direction code, natural subject number, list subject flag, detail entry transaction generation amount, account responsibility center number, public customer type code, business to business facility number, general ledger deadline code.
The method and the device for testing the first data label comprise the steps of determining the first data label to be tested according to a preset error range table, wherein the allowable error range of the first data label to be tested is larger than a preset threshold value, the error range table comprises one or more data labels and the allowable error range corresponding to each data label, and determining a second data label corresponding to the first data label to be tested and a second service value corresponding to the second data label from target service data.
For example, as shown in fig. 13, fig. 13 is an exemplary diagram of a first data tag corresponding to a first service system (i.e., the "blue core" system in fig. 13). The first data tag, namely, the field under the column of "blue core system data" and/or the new generation definition, and the second data tag, namely, the field under the column of "Opics system data providing file", can be seen that the first data tag and the second data tag in fig. 13 each comprise accounting date, product contract number, transaction facility number, account facility number, multi-entity identification, currency code, subject generation direction code, natural subject number, list subject mark, detail list transaction generation amount, account responsibility center number, public client type code, in-group past institution number and general account term code.
And step S104, testing the first service system by using the test data.
In the embodiment of the invention, after the test data is determined, the test data can be used for testing the first service system. In a preferred embodiment of the invention, the test sequence is:
Firstly, performing contract level account following test, wherein the expected starting time is when the second round of application assembly test starts, and the function of the FTB platform is relatively stable;
secondly, performing channel external connection account following test, wherein the estimated starting time is the middle and later period of the contract level account following test, and the cooperative payment settlement component and the external connection are relatively stable;
then, carrying out cash flow account following test on the transaction, wherein the estimated starting time is the middle and later period of the contract level account following test, and can be carried out simultaneously with the out-of-channel account following test;
and finally, performing accounting general accounting detail accounting test, wherein the estimated starting time is the second round of user test, and the middle and later stages of the accounting special test are the middle and later stages of the accounting function test.
For example, during the testing process, the first service system may be subjected to the comparison test using the test data according to the "comparison logic" in fig. 3,4, 10, 11, or 13.
In the embodiment of the invention, when the first service system is tested by using the test data, the problems in the test process, the tracking and circulation of the problems can be uniformly managed, and the test problems can be distributed to personnel in the next link. In the execution process, if a tester finds a test problem, the tester should register the test problem in time, track the problem, analyze and solve the process, retest in time, set the problem state as a final state, and a developer should analyze and process the defect in time and record analysis and processing information of the defect according to the requirement.
According to the testing method of the service system, after the first service type corresponding to the first service system to be tested is determined, service data of the second service type corresponding to the first service type and operated by the second service system can be used as testing data to test the first service system according to the service mapping relation, so that a technician does not need to write the testing data manually, service data obtained by operation of the second service system can be used as the testing data, more real use scenes can be covered, the first service system can be tested more completely, and testing accuracy and efficiency are improved.
Fig. 14 is a schematic diagram of main modules of a test apparatus of a service system according to an embodiment of the present invention.
As shown in fig. 14, a test apparatus 1400 of a service system according to an embodiment of the present invention includes a first type confirmation module 1401, a second type confirmation module 1402, a test data determination module 1403, and a test module 1404, wherein:
a first type confirmation module 1401, configured to determine a first service type corresponding to a first service system to be tested;
A second type confirmation module 1402, configured to determine a second service type corresponding to the first service type according to the service mapping relationship;
a test data determining module 1403, configured to determine service data of a second service type running in a second service system, and take the service data as test data;
A test module 1404 for testing the first service system using the test data.
In the embodiment of the present invention, the test data determining module 1403 is further configured to determine the message data of the second service system, and extract the service data corresponding to the second service type from the message data.
In the embodiment of the present invention, the service data includes a data tag and a service value, and the test data determining module 1403 is further configured to determine, for each first service type, a first data tag corresponding to the first service type and extracted target service data corresponding to the first service type, determine, according to the first data tag, a second data tag corresponding to the first data tag and a second service value corresponding to the second data tag from the target service data, and use the second service value as test data corresponding to the first data tag.
In the embodiment of the present invention, the test data determining module 1403 is further configured to determine a first data tag to be tested according to a preset error range table, where an allowable error range of the first data tag to be tested is greater than a preset threshold, the error range table includes one or more data tags and an allowable error range corresponding to each data tag, and determine a second data tag corresponding to the first data tag to be tested and a second service value corresponding to the second data tag from the target service data.
In an embodiment of the present invention, the test data determining module 1403 is further configured to determine a plurality of second data tags included in the target service data, and traverse the plurality of second data tags to find a second data tag corresponding to the first data tag.
In the embodiment of the present invention, the test data determining module 1403 is further configured to determine that the second data tag corresponds to the first data tag when the character string corresponding to the second data tag is included in the character string corresponding to the first data tag.
In the embodiment of the present invention, the test data determining module 1403 is further configured to determine, from the target service data, a second data tag corresponding to the first data tag according to a preset tag correspondence table.
In the embodiment of the present invention, the test data determining module 1403 is further configured to determine a first data type required by the first service system, determine a second data type of the service data, determine whether the first data type and the second data type are the same, and if not, convert the service data according to the first data type, and use the converted service data as the test data.
In the embodiment of the present invention, the test data determining module 1403 is further configured to construct a decoding mapping table, where the decoding mapping table includes a plurality of data types, a plurality of characters included in each of the plurality of data types, and a character correspondence between different data types, and convert the service data according to the decoding mapping table.
In the embodiment of the present invention, the test data determining module 1403 is further configured to determine a second data type corresponding to the service data from the decoding mapping table, determine a plurality of characters to be converted included in the service data from among a plurality of characters corresponding to the second data type, determine a plurality of characters corresponding to the first data type in the decoding mapping table, and determine a target character corresponding to each character to be converted from among the plurality of characters corresponding to the first data type according to a character correspondence between the first data type and the second data type in the decoding mapping table, so as to convert the service data.
In the embodiment of the invention, the first business system and the second business system are financial transaction systems, and the first business type comprises any one or more of contract-level account following, channel external account following, cash flow account following and detail accounting.
In an embodiment of the present invention, the test module 1404 is further configured to test the foreign exchange transaction and the lending transaction using the test data in the case where the first business type is contract-level accounting.
In an embodiment of the invention, the first data tag corresponding to the foreign exchange transaction includes any one or more of a product type corresponding to the foreign exchange transaction, a transaction date, an expiration date, a transaction opponent abbreviation, a transaction currency pair, a transaction direction, a currency corresponding amount, a payment date, a pricing exchange rate, and a no-principal-exchange long-term foreign exchange transaction fixed interest days, and/or,
The first data label corresponding to the borrowing transaction comprises any one or more of a product type, a transaction date, a start date, an expiration date, a transaction opponent abbreviation, a currency code, a transaction amount, an expired repayment amount, interest, an interest rate type, a fixed interest rate value, a fixed interest rate rule, a floating interest rate standard, a difference of interest, a floating interest rule, an interest calculation mode, a reset frequency, a reset holiday, a reset period, a payment holiday rule, an interest frequency, an interest adjustment mode, an interest calendar and an interest setting mode corresponding to the borrowing transaction.
In the embodiment of the invention, when the first service type is channel external connection account following, the first data label comprises any one or more of a clearing currency code, an actual clearing amount, an issuing bank number, a receiving bank number, a payer account opening bank number, a payer account opening name, a receiving bank number, a payee account name, a payee address, a payee account number, a payee account opening bank number and a payee account opening bank name.
In the embodiment of the invention, when the first service type is cash flow account following, the first data tag comprises any one or more of a service type corresponding to the cash flow, a transaction opponent short name, a clearing currency code, a sink custom name and a clearing path category code.
In the embodiment of the invention, when the first business type is detail account following, the first data label comprises any one or more of accounting date, product contract number, transaction mechanism number, account mechanism number, multi-entity identification, currency code, subject generation direction code, natural subject number, list subject mark, detail record transaction generation amount, account responsibility center number, public client type code, business mechanism number and general account deadline code.
According to the testing device of the service system, after the first service type corresponding to the first service system to be tested is determined, service data of the second service type corresponding to the first service type and operated by the second service system can be used as testing data according to the service mapping relation, and the first service system is tested, so that a technician does not need to write the testing data manually, service data obtained by the operation of the second service system is used as the testing data, more real use scenes can be covered, the first service system can be tested more completely, and testing accuracy and efficiency are improved.
Fig. 15 shows an exemplary system architecture 1500 to which a test method of a service system or a test apparatus of a service system of an embodiment of the present invention can be applied.
As shown in fig. 15, system architecture 1500 may include terminal devices 1501, 1502, 1503, a network 1504, and an electronic device 1505. The network 1504 is used to provide a medium for communication links between the terminal devices 1501, 1502, 1503 and the electronic device 1505. The network 1504 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
A user may interact with the electronic device 1505 through the network 1504 using the terminal devices 1501, 1502, 1503 to receive or transmit messages, etc. Various communication client applications such as shopping class applications, web browser applications, search class applications, instant messaging tools, mailbox clients, social platform software, and the like may be installed on the terminal devices 1501, 1502, 1503.
The terminal devices 1501, 1502, 1503 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smartphones, tablets, laptop and desktop computers, and the like.
Electronic device 1505 may be a server that provides various services, such as a background management server that provides support for shopping-type websites that users browse using terminal devices 1501, 1502, 1503. The background management server can analyze and other processing on the received data such as the product information inquiry request and the like, and feed back processing results (such as target push information and product information) to the terminal equipment.
It should be noted that, the testing method of a service system provided by the embodiment of the present invention is generally executed by the electronic device 1505, and accordingly, the testing device of a service system is generally disposed in the electronic device 1505.
It should be understood that the number of terminal devices, networks and electronic devices in fig. 15 is merely illustrative. There may be any number of terminal devices, networks, and electronic devices, as desired for implementation.
Referring now to FIG. 16, there is illustrated a schematic diagram of a computer system 1600 suitable for use in implementing a terminal device of an embodiment of the present invention. The terminal device shown in fig. 16 is only an example, and should not impose any limitation on the functions and the scope of use of the embodiment of the present invention.
As shown in fig. 16, the computer system 1600 includes a Central Processing Unit (CPU) 1601 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 1602 or a program loaded from a storage section 1608 into a Random Access Memory (RAM) 1603. In RAM 1603, various programs and data required for the operation of system 1600 are also stored. The CPU 1601, ROM 1602, and RAM 1603 are connected to each other by a bus 1604. An input/output (I/O) interface 1605 is also connected to the bus 1604.
Connected to the I/O interface 1605 are an input portion 1606 including a keyboard, a mouse, and the like, an output portion 1607 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker, and the like, a storage portion 1608 including a hard disk, and the like, and a communication portion 1609 including a network interface card such as a LAN card, a modem, and the like. The communication section 1609 performs communication processing via a network such as the internet. The drive 1610 is also connected to the I/O interface 1605 as needed. A removable medium 1611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is installed as needed on the drive 1610 so that a computer program read out therefrom is installed into the storage section 1608 as needed.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flow chart. In such embodiments, the computer program may be downloaded and installed from a network via the communication portion 1609, and/or installed from the removable media 1611. The above-described functions defined in the system of the present invention are performed when the computer program is executed by a Central Processing Unit (CPU) 1601.
The computer readable medium shown in the present invention may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of a computer-readable storage medium may include, but are not limited to, an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules involved in the embodiments of the present invention may be implemented in software or in hardware. The described modules may also be provided in a processor, for example, a processor may be described as including a first type of validation module, a second type of validation module, a test data determination module, and a test module. The names of these modules do not in any way constitute a limitation of the module itself, for example a test module may also be described as "a module for testing a first service system with test data".
As a further aspect, the invention also provides a computer readable medium which may be comprised in the device described in the above embodiments or may be present alone without being fitted into the device. The computer readable medium carries one or more programs which, when executed by the apparatus, cause the apparatus to include determining a first service type corresponding to a first service system to be tested, determining a second service type corresponding to the first service type according to a service mapping relationship, determining service data of the second service type running on the second service system, and using the service data as test data, and testing the first service system using the test data.
According to the technical scheme of the embodiment of the invention, after the first service type corresponding to the first service system to be tested is determined, the service data of the second service type corresponding to the first service type and operated by the second service system can be used as test data, and the first service system can be tested, so that a technician does not need to write the test data manually, the service data obtained by the operation of the second service system can be used as the test data, more real use scenes can be covered, the first service system can be tested more completely, and the accuracy and efficiency of the test can be improved.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives can occur depending upon design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (18)

1.一种业务系统的测试方法,其特征在于,包括:1. A method for testing a business system, comprising: 确定待测试的第一业务系统对应的第一业务类型;Determine a first service type corresponding to a first service system to be tested; 根据业务映射关系,确定与所述第一业务类型对应的第二业务类型;Determine, according to the service mapping relationship, a second service type corresponding to the first service type; 确定在第二业务系统运行的、所述第二业务类型的业务数据,并将所述业务数据作为测试数据;其中,所述业务数据包括数据标签和业务值,所述将所述业务数据作为测试数据,包括:针对每一个所述第一业务类型,执行:确定所述第一业务类型对应的第一数据标签,以及提取出的与所述第一业务类型对应的目标业务数据;根据所述第一数据标签,从所述目标业务数据中确定与所述第一数据标签对应的第二数据标签以及所述第二数据标签对应的第二业务值;将所述第二业务值作为第一数据标签对应的测试数据;Determine business data of the second business type running in the second business system, and use the business data as test data; wherein the business data includes a data tag and a business value, and using the business data as test data includes: for each of the first business types, perform: determine a first data tag corresponding to the first business type, and extracted target business data corresponding to the first business type; determine a second data tag corresponding to the first data tag and a second business value corresponding to the second data tag from the target business data according to the first data tag; use the second business value as test data corresponding to the first data tag; 利用所述测试数据对所述第一业务系统进行测试。The first business system is tested using the test data. 2.根据权利要求1所述的方法,其特征在于,所述确定在第二业务系统运行的、所述第二业务类型的业务数据,包括:2. The method according to claim 1, characterized in that the determining of the service data of the second service type running in the second service system comprises: 确定所述第二业务系统的报文数据;Determining message data of the second business system; 从所述报文数据中提取与所述第二业务类型对应的业务数据。The service data corresponding to the second service type is extracted from the message data. 3.根据权利要求1所述的方法,其特征在于,3. The method according to claim 1, characterized in that 根据预设的误差范围表,确定待测试的第一数据标签;其中,所述待测试的第一数据标签的允许误差范围大于预设阈值;所述误差范围表包括:一个或多个数据标签,以及每一个所述数据标签对应的允许误差范围;According to a preset error range table, a first data tag to be tested is determined; wherein the allowable error range of the first data tag to be tested is greater than a preset threshold; the error range table includes: one or more data tags, and an allowable error range corresponding to each of the data tags; 从所述目标业务数据中确定与所述待测试的第一数据标签对应的第二数据标签以及所述第二数据标签对应的第二业务值。A second data tag corresponding to the first data tag to be tested and a second service value corresponding to the second data tag are determined from the target service data. 4.根据权利要求1所述的方法,其特征在于,所述从所述目标业务数据中确定与所述第一数据标签对应的第二数据标签,包括:4. The method according to claim 1, wherein determining the second data tag corresponding to the first data tag from the target business data comprises: 确定所述目标业务数据包括的多个第二数据标签;Determining a plurality of second data tags included in the target business data; 遍历所述多个第二数据标签,以查找与所述第一数据标签对应的第二数据标签。The plurality of second data tags are traversed to find a second data tag corresponding to the first data tag. 5.根据权利要求4所述的方法,其特征在于,5. The method according to claim 4, characterized in that 当所述第二数据标签对应的字符串包含于所述第一数据标签对应的字符串时,确定所述第二数据标签与所述第一数据标签相对应。When the character string corresponding to the second data tag is included in the character string corresponding to the first data tag, it is determined that the second data tag corresponds to the first data tag. 6.根据权利要求4所述的方法,其特征在于,6. The method according to claim 4, characterized in that 根据预设的标签对应表,从所述目标业务数据中确定与所述第一数据标签对应的所述第二数据标签。According to a preset tag correspondence table, the second data tag corresponding to the first data tag is determined from the target business data. 7.根据权利要求1所述的方法,其特征在于,将所述业务数据作为测试数据,包括:7. The method according to claim 1, characterized in that using the business data as test data comprises: 确定所述第一业务系统所需的第一数据类型;Determining a first data type required by the first business system; 确定所述业务数据的第二数据类型;Determining a second data type of the business data; 确定所述第一数据类型和所述第二数据类型是否相同,如果否,根据所述第一数据类型,对所述业务数据进行转换,并将转换后的业务数据作为所述测试数据。Determine whether the first data type and the second data type are the same; if not, convert the business data according to the first data type, and use the converted business data as the test data. 8.根据权利要求7所述的方法,其特征在于,所述根据所述第一数据类型,对所述业务数据进行转换,包括:8. The method according to claim 7, wherein converting the service data according to the first data type comprises: 构建译码映射表;其中,所述译码映射表包括:多种数据类型、所述多种数据类型中每一种数据类型包括的多个字符、以及不同数据类型之间的字符对应关系;Constructing a decoding mapping table; wherein the decoding mapping table includes: multiple data types, multiple characters included in each of the multiple data types, and character correspondences between different data types; 根据所述译码映射表,对所述业务数据进行转换。The service data is converted according to the decoding mapping table. 9.根据权利要求8所述的方法,其特征在于,所述根据所述译码映射表,对所述业务数据进行转换,包括:9. The method according to claim 8, characterized in that the converting of the service data according to the decoding mapping table comprises: 从所述译码映射表中确定与业务数据对应的第二数据类型,并在所述第二数据类型对应的多个字符中,确定所述业务数据包括的多个待转换字符;Determine a second data type corresponding to the service data from the decoding mapping table, and determine a plurality of characters to be converted included in the service data from a plurality of characters corresponding to the second data type; 在所述译码映射表中确定所述第一数据类型对应的多个字符;Determine in the decoding mapping table a plurality of characters corresponding to the first data type; 根据所述译码映射表中第一数据类型与所述第二数据类型之间的字符对应关系,在所述第一数据类型对应的多个字符中,分别确定每一个所述待转换字符对应的目标字符,以对所述业务数据进行转换。According to the character correspondence between the first data type and the second data type in the decoding mapping table, the target character corresponding to each of the characters to be converted is determined among the multiple characters corresponding to the first data type, so as to convert the business data. 10.根据权利要求1至9中任一所述的方法,其特征在于,所述第一业务系统和所述第二业务系统为金融交易系统;10. The method according to any one of claims 1 to 9, characterized in that the first business system and the second business system are financial transaction systems; 所述第一业务类型包括以下任意一种或多种:合约层级跟账、渠道外联跟账、现金流跟账和明细账务。The first business type includes any one or more of the following: contract-level account tracking, channel outreach account tracking, cash flow account tracking and detailed account tracking. 11.根据权利要求1所述的方法,其特征在于,在所述第一业务类型为合约层级跟账的情况下,11. The method according to claim 1, characterized in that, when the first business type is contract-level account tracking, 利用所述测试数据对外汇交易和拆借交易进行测试。The test data is used to test foreign exchange transactions and borrowing transactions. 12.根据权利要求11所述的方法,其特征在于,12. The method according to claim 11, characterized in that 所述外汇交易对应的第一数据标签包括以下任意一个或多个:所述外汇交易对应的产品类型、交易日期、到期交割、交易对手简称、交易货币对、交易方向、币种、所述币种对应的金额、支付日期、定价汇率以及无本金交割远期外汇交易定息日;The first data tag corresponding to the foreign exchange transaction includes any one or more of the following: the product type, transaction date, expiration and delivery, counterparty abbreviation, transaction currency pair, transaction direction, currency, amount corresponding to the currency, payment date, pricing exchange rate and non-deliverable forward foreign exchange transaction interest rate date corresponding to the foreign exchange transaction; 和/或,and/or, 所述拆借交易对应的第一数据标签包括以下任意一个或多个:所述拆借交易对应的产品类型、交易日期、起息日期、到期日期、交易对手简称、币种代码、交易金额、到期还款金额、利息、利率类型、固定利率数值、固息计息规则、浮动利率基准、息差、浮息计息规则、利息计算方式、重置频率、重置节假日、重置时期、支付节假日、支付节假日规则、计息频率、计息调整方式、计息日历、结息方式。The first data tag corresponding to the repo transaction includes any one or more of the following: the product type corresponding to the repo transaction, transaction date, interest accrual date, maturity date, counterparty abbreviation, currency code, transaction amount, maturity repayment amount, interest, interest rate type, fixed interest rate value, fixed interest calculation rules, floating interest rate benchmark, interest spread, floating interest calculation rules, interest calculation method, reset frequency, reset holidays, reset period, payment holidays, payment holiday rules, interest calculation frequency, interest calculation adjustment method, interest calculation calendar, and interest settlement method. 13.根据权利要求1所述的方法,其特征在于,在所述第一业务类型为渠道外联跟账的情况下,13. The method according to claim 1, characterized in that, when the first business type is channel external liaison and account tracking, 第一数据标签包括以下任意一个或多个:清算币种代码、实际清算金额、发报行行号、收报行行号、付款人户名、付款人账号、付款人开户行行号、付款人开户行名称、收款行行号、收款人户名、收款人地址、收款人账号、收款人开户行行号、收款人开户行名称。The first data tag includes any one or more of the following: clearing currency code, actual clearing amount, sending bank number, receiving bank number, payee account name, payee account number, payee account opening bank number, payee account opening bank name, beneficiary bank number, payee account name, beneficiary address, beneficiary account number, beneficiary account opening bank number, and beneficiary account opening bank name. 14.根据权利要求1所述的方法,其特征在于,在所述第一业务类型为现金流跟账的情况下,14. The method according to claim 1, characterized in that, when the first business type is cash flow tracking, 第一数据标签包括以下任意一个或多个:现金流对应的业务类型、交易对手短名、清算币种代码、汇路自定义名称、清算路径类别代码。The first data tag includes any one or more of the following: the business type corresponding to the cash flow, the short name of the counterparty, the clearing currency code, the custom name of the remittance path, and the clearing path category code. 15.根据权利要求1所述的方法,其特征在于,在所述第一业务类型为明细账务跟账的情况下,15. The method according to claim 1, characterized in that, when the first business type is detailed account tracking, 第一数据标签包括以下任意一个或多个:会计日期、产品合约编号、交易机构编号、账户机构编号、多实体标识、币种代码、科目发生方向代码、自然科目编号、表外科目标志、明细分录交易发生额、账户责任中心编号、对公客户类型代码、往来机构编号、总账期限代码。The first data tag includes any one or more of the following: accounting date, product contract number, transaction institution number, account institution number, multi-entity identifier, currency code, account direction code, natural account number, off-balance sheet account mark, detailed entry transaction amount, account responsibility center number, public customer type code, correspondent institution number, and general ledger term code. 16.一种业务系统的测试装置,其特征在于,包括第一类型确认模块、第二类型确认模块、测试数据确定模块以及测试模块;其中:16. A testing device for a business system, characterized by comprising a first type confirmation module, a second type confirmation module, a test data determination module and a test module; wherein: 所述第一类型确认模块,用于确定待测试的第一业务系统对应的第一业务类型;The first type confirmation module is used to determine a first service type corresponding to a first service system to be tested; 所述第二类型确认模块,用于根据业务映射关系,确定与所述第一业务类型对应的第二业务类型;The second type confirmation module is used to determine a second service type corresponding to the first service type according to the service mapping relationship; 所述测试数据确定模块,用于确定在第二业务系统运行的、所述第二业务类型的业务数据,并将所述业务数据作为测试数据;其中,所述业务数据包括数据标签和业务值,所述将所述业务数据作为测试数据,包括:针对每一个所述第一业务类型,执行:确定所述第一业务类型对应的第一数据标签,以及提取出的与所述第一业务类型对应的目标业务数据;根据所述第一数据标签,从所述目标业务数据中确定与所述第一数据标签对应的第二数据标签以及所述第二数据标签对应的第二业务值;将所述第二业务值作为第一数据标签对应的测试数据;The test data determination module is used to determine the business data of the second business type running in the second business system, and use the business data as test data; wherein the business data includes a data tag and a business value, and using the business data as test data includes: for each of the first business types, performing: determining a first data tag corresponding to the first business type, and the extracted target business data corresponding to the first business type; determining a second data tag corresponding to the first data tag and a second business value corresponding to the second data tag from the target business data according to the first data tag; and using the second business value as the test data corresponding to the first data tag; 所述测试模块,用于利用所述测试数据对所述第一业务系统进行测试。The testing module is used to test the first business system using the testing data. 17.一种业务系统的测试电子设备,其特征在于,包括:17. A test electronic device for a business system, comprising: 一个或多个处理器;one or more processors; 存储装置,用于存储一个或多个程序,a storage device for storing one or more programs, 当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-15中任一所述的方法。When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 15. 18.一种计算机可读介质,其上存储有计算机程序,其特征在于,所述程序被处理器执行时实现如权利要求1-15中任一所述的方法。18. A computer-readable medium having a computer program stored thereon, wherein when the program is executed by a processor, the method according to any one of claims 1 to 15 is implemented.
CN202011582317.2A 2020-12-28 2020-12-28 A business system testing method and device Active CN112579468B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011582317.2A CN112579468B (en) 2020-12-28 2020-12-28 A business system testing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011582317.2A CN112579468B (en) 2020-12-28 2020-12-28 A business system testing method and device

Publications (2)

Publication Number Publication Date
CN112579468A CN112579468A (en) 2021-03-30
CN112579468B true CN112579468B (en) 2024-12-27

Family

ID=75140436

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011582317.2A Active CN112579468B (en) 2020-12-28 2020-12-28 A business system testing method and device

Country Status (1)

Country Link
CN (1) CN112579468B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112667513A (en) * 2020-12-31 2021-04-16 长沙市到家悠享网络科技有限公司 Test method, test device, test equipment and storage medium
CN114219640B (en) * 2021-12-16 2025-05-06 中国建设银行股份有限公司 A method and device for data analysis
CN116719743A (en) * 2023-06-28 2023-09-08 中电金信软件有限公司 Baffle data generation method and device, electronic equipment and readable storage medium
CN118365276B (en) * 2024-04-30 2024-10-25 上海中汇亿达金融信息技术有限公司 Method, system and equipment for automating flow of foreign exchange fund business

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105703964A (en) * 2014-11-26 2016-06-22 阿里巴巴集团控股有限公司 Online application system test method and equipment
CN107832212A (en) * 2017-11-02 2018-03-23 浪潮软件集团有限公司 An automated test method, device, readable medium and storage controller

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101272282B (en) * 2008-04-28 2010-08-25 中国移动通信集团设计院有限公司 Method and device for service data statistics
CN102083093A (en) * 2009-11-27 2011-06-01 中国移动通信集团吉林有限公司 Method and device for extracting test data
CN103460231B (en) * 2011-03-03 2017-04-05 惠普发展公司,有限责任合伙企业 Test integrated business system
CN106656319B (en) * 2016-12-31 2019-01-22 瑞斯康达科技发展股份有限公司 A kind of OTN service test method, terminal and system
CN111966597B (en) * 2020-08-18 2024-04-16 中国银行股份有限公司 Test data generation method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105703964A (en) * 2014-11-26 2016-06-22 阿里巴巴集团控股有限公司 Online application system test method and equipment
CN107832212A (en) * 2017-11-02 2018-03-23 浪潮软件集团有限公司 An automated test method, device, readable medium and storage controller

Also Published As

Publication number Publication date
CN112579468A (en) 2021-03-30

Similar Documents

Publication Publication Date Title
CN112579468B (en) A business system testing method and device
US8798354B1 (en) Method and system for automatic correlation of check-based payments to customer accounts and/or invoices
RU2706180C2 (en) Processing of financial transactions
CN112053124A (en) Online on-line payment method and device, electronic equipment and medium
CN111105238A (en) Transaction risk control method and device
US11734693B2 (en) Technologies for preprocessing transaction authorization records
CN114881739B (en) Order event processing method and device, electronic device and storage medium
CN104376452A (en) System and method for managing payment success rate on basis of international card payment channel
US12008577B2 (en) System and method for facilitating reclamation requests
CN109214911A (en) The treating method and apparatus of bill reconciliation exception
CN111899111A (en) Capital matching method, device, server and storage medium
CN110070383B (en) Abnormal user identification method and device based on big data analysis
CN113792267B (en) Method and device for checking digital copyright of card surface picture of payment mechanism
US11979402B2 (en) Method, apparatus and computer program product for exchanging messages across a network
EP4390825A1 (en) Method of allowing selectable currency within an account
CA3056279C (en) System for accessing transactional data
US8566241B2 (en) Deposit pending check clearance
CN116910256A (en) Reconciliation text splitting method, device, equipment and storage medium
US20230325820A1 (en) System and method for tokenization
US20190325410A1 (en) Methods and system for selecting payment system for transaction routing
US8280143B1 (en) Method and system for adding check information to an electronic transaction listing
CN115564415A (en) Method and device for order payment and settlement
JP2023007389A (en) Site selection method based on block chain, device, apparatus, and storage medium
CN115731028A (en) A kind of early warning method, device, electronic equipment and computer readable medium
CN115689570A (en) Business information risk identification method, device, equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant