CN115511586A - Method, system, terminal device and storage medium for automatic account checking based on jmeter - Google Patents
Method, system, terminal device and storage medium for automatic account checking based on jmeter Download PDFInfo
- Publication number
- CN115511586A CN115511586A CN202211140467.7A CN202211140467A CN115511586A CN 115511586 A CN115511586 A CN 115511586A CN 202211140467 A CN202211140467 A CN 202211140467A CN 115511586 A CN115511586 A CN 115511586A
- Authority
- CN
- China
- Prior art keywords
- data
- reconciliation
- account checking
- account
- standard
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/12—Accounting
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
Abstract
The invention provides a method, a system, terminal equipment and a storage medium for automatic account checking based on a meter, relating to the field of computer systems. The invention can simplify the disassembly of complex logic, acquire the reconciliation data from the data source, decouple the reconciliation data from the actual service to obtain the standard reconciliation data, and disassemble the reconciliation logic according to the reconciliation rule with different systems: according to the difference of the systems, transaction data of the combined transaction system are automatically generated, and account checking files of a downstream system are generated according to account checking rules, so that the transaction system and the account checking system are decoupled, and the account checking efficiency is improved; the system is suitable for combined payment such as cash register, sequential deduction, point consumption, financial sub-combination cash withdrawal, credit consumption and the like, single payment and sequential deduction scenes, and realizes account checking with downstream systems such as an account management system, a payment system, a digital RMB (national currency), a financial sub-system and the like, so that the account checking efficiency is greatly improved, the system stability is improved, and automatic account checking of a service system is completed.
Description
Technical Field
The invention relates to the field of computer systems, in particular to a method, a system, terminal equipment and a storage medium for automatic account checking based on a meter.
Background
At present, account checking rules can be formulated in the intersystem account checking processes of most transaction systems according to business processes, for example, whether account checking amounts of transactions are consistent, whether states are consistent, whether unilateral transactions exist, and the like, and the overall account checking processes are all based on data of transaction ground of the system and account checking data (mostly in an account checking file format) pushed by a downstream system, so that the coupling ratio of the account checking data and the actual business is high.
For more complex systems, it is common to reconcile multiple systems; in addition, when account checking data is constructed, different data needs to be constructed according to different service scenes. At present, account checking data or all or part of the account checking data depend on a business system, and the account checking data and the business system are not completely decoupled, so that for the whole account checking process, the higher the complexity of the system is, the longer the time for constructing the account checking data is, and the lower the efficiency is.
Therefore, for the combined transaction system, the combined transaction scenario has certain complexity, and different combined transaction scenarios have different action book logics, different action book items and different transaction rules, so that the scenario is more and the time consumption is longer when the transaction is initiated from the system to construct the reconciliation data. However, no matter how the combined transaction scene changes and is complex, when the reconciliation is carried out, the reconciliation is still carried out according to the system and the downstream system by the system dimension principle.
Disclosure of Invention
The embodiment of the invention provides a method, a system, terminal equipment and a storage medium for automatic account checking based on a meter.
An automatic account checking method based on a meter comprises the following specific steps:
s01, acquiring account checking data from a data source, and decoupling the account checking data from actual business to obtain standard account checking data;
in the step, account checking data are obtained from a data source by using a JdbcRequest inserting function of a meter, and then are imported into a database according to a standard data template, so that service data of the system are generated, namely the standard account checking data;
s02, generating a reconciliation script according to the standard reconciliation data, and acquiring external data according to the reconciliation script when a preset reconciliation condition is triggered;
in the step, firstly, a standard file format pushed by an account management is obtained, and then a script is compiled to generate a file through a BeanShell Sampler function of a meter according to an account management reconciliation rule, wherein a transaction serial number is consistent with a source data construction, so that a reconciliation script is obtained;
step S03, executing the account checking script, and comparing external data acquired by the account checking script with standard account checking data to obtain an account checking result;
in the step, the generated account checking file is uploaded to a specified account checking file storage directory through ftp, the generated account checking file comprises external data and standard account checking data, and finally, an inter-system account checking task is triggered according to the uploaded transaction date to finish account checking with account management;
in order to verify the accuracy of the reconciliation data, the transaction serial number can be stored in a file at the same time when the reconciliation file is generated for the subsequent checking of the reconciliation result. In the process, whether the corresponding transaction serial number is successfully checked or not can be inquired by using the inquiry function of the JdbcRquest of the meter according to the account checking rule of the account transaction system and the account management.
Further: an automatic account checking system based on a meter comprises a business system and an account checking system;
the business system comprises an account management system, a payment system, a financing subsystem, a Pay accompanying system and the like;
the reconciliation system is used for constructing source data: importing the data into a database according to a standard data template by using a JdbcRequest inserting function of a meter so as to generate service data of the system;
and the construction of the account checking file for account management: and acquiring a standard file format pushed by the account management, and writing a script to generate a file through a BeanShell Sampler function of a jmeter according to the rule of account management reconciliation.
And further: the terminal device may include: the device comprises a processor, a storage medium and a bus, wherein the storage medium stores machine readable instructions executable by the processor, when the terminal device runs, the processor and the storage medium are communicated through the bus, and the processor executes the machine readable instructions to execute the steps of the deep learning model training method in the embodiment.
And further: a storage medium storing a computer program which, when executed by a processor, performs the steps of the method described above.
The invention has the beneficial effects that: the invention can simplify the disassembly of complex logic, and the reconciliation logic is disassembled according to the reconciliation rules of different systems: according to the difference of the systems, transaction data of the combined transaction system are automatically generated, and account checking files of a downstream system are generated according to account checking rules, so that the transaction system and the account checking system are decoupled, and the account checking efficiency is improved; the system is suitable for combined payment such as cash register, sequential deduction, point consumption, financial sub-combination cash withdrawal, credit consumption and the like, single payment and sequential deduction scenes, and realizes account checking with downstream systems such as an account management system, a payment system, a digital RMB (national currency), a financial sub-system and the like, so that the account checking efficiency is greatly improved, the system stability is improved, and automatic account checking of a service system is completed.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
FIG. 1 shows a schematic flow diagram of the process of the present invention;
FIG. 2 shows a schematic of the composition of the system of the present invention;
fig. 3 shows a schematic composition diagram of the terminal device of the present invention;
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it should be understood that the drawings in the present invention are only for the purpose of illustration and description and are not intended to limit the scope of the present invention. Additionally, it should be understood that the schematic drawings are not necessarily drawn to scale. The flowcharts used in this disclosure illustrate operations implemented according to some embodiments of the present invention. It should be understood that the operations of the flow diagrams may be performed out of order, and steps without logical context may be performed in reverse order or simultaneously. In addition, one skilled in the art, under the direction of the present disclosure, may add one or more other operations to the flowchart, or may remove one or more operations from the flowchart.
In addition, the described embodiments of the present invention are only some embodiments of the present invention, and not all embodiments of the present invention. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the term "comprising" will be used in the embodiments of the invention to indicate the presence of the features stated hereinafter, but does not exclude the addition of further features. It should also be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. In the description of the present invention, it should also be noted that the terms "first", "second", "third", and the like are used for distinguishing the description, and are not intended to indicate or imply relative importance.
Fig. 1 shows a flow chart of the steps of the method of the invention.
The method comprises the following specific steps:
s01, obtaining account checking data from a data source, and decoupling the account checking data from actual business to obtain standard account checking data;
in the step, account checking data are obtained from a data source by using a JdbcRequest insertion function of a meter, and then are imported into a database according to a standard data template, so that service data of the system are generated, namely the standard account checking data;
s02, generating a reconciliation script according to the standard reconciliation data, and acquiring external data according to the reconciliation script when a preset reconciliation condition is triggered;
in the step, firstly, a standard file format pushed by an account management is obtained, and then a script is compiled to generate a file through a BeanShell Sampler function of a meter according to an account management reconciliation rule, wherein a transaction serial number is consistent with a source data construction, so that a reconciliation script is obtained;
s03, executing the account checking script, and comparing external data acquired by the account checking script with standard account checking data to obtain an account checking result;
in the step, the generated account checking file is uploaded to a specified account checking file storage directory through ftp, the generated account checking file comprises external data and standard account checking data, and finally, an inter-system account checking task is triggered according to the uploaded transaction date to finish account checking with account management;
in order to verify the accuracy of the reconciliation data, the transaction serial number can be stored in a file at the same time when the reconciliation file is generated for the subsequent checking of the reconciliation result. In the process, whether the corresponding transaction serial number is successfully checked or not can be inquired by using the inquiry function of the JdbcRquest of the meter according to the account checking rule of the account transaction system and the account management.
In the application of the method in an actual scene, account checking logic exists in both a combined transaction system and multiple systems, and the account checking of the combined transaction and account checking system is taken as an example for introduction:
firstly, before writing a reconciliation script, making clear the reconciliation rule of the reconciliation management and acquiring a real standard data template, for example, the reconciliation rule of the reconciliation management is as follows:
and (4) checking the amount: if the amounts are inconsistent, the order fund goes wrong;
unilateral scene reconciliation:
unilateral on other side: the account checking is not carried out;
one side of our square: i, successful order fund entry error;
if the party fails, the fund of the order is wrongly entered;
in the processing of the party, the fund state is changed into failure, and account checking errors in the system are waited;
and (4) checking state inconsistency:
the method has the advantages that the method is successful in the aspects of our parties, the account management is successful, and no error is introduced;
if my party fails, the account is failed, and the account is not as good as the error;
the final state of the client is inconsistent with the account checking state, and the fund of the order is in error;
in my party processing and account management processing, errors are made in order funds;
in the process of processing the party, the account management terminal state is changed into the account management state, and account checking errors in the system are waited.
In the process of processing the party, the account management terminal state is changed into the account management state, and account checking errors in the system are waited.
And writing source data of the system and account checking files of the account checking pipe respectively according to the acquired standard data template, wherein at the moment, basic service data of the system and the account checking pipe for performing account checking are constructed. It should be noted that in order to ensure the consistency of data, account information, transaction serial number, order number, transaction date, reconciliation date and the like of the system and a downstream system need to be parameterized respectively, which is also beneficial to one-key generation of a later reconciliation file.
As shown in fig. 2, the system includes a business system and a reconciliation system;
the business system comprises an account management system, a payment system, a financing subsystem, a Pay accompanying system and the like;
the reconciliation system is used for constructing source data: importing the data into a database according to a standard data template by using a JdbcRequest inserting function of a jmeter so as to generate service data of the system;
and the construction of the reconciliation file for the account management: and acquiring a standard file format pushed by the account management, and writing a script to generate a file through a BeanShell Sampler function of a jmeter according to the rule of account management reconciliation.
As shown in fig. 3, the terminal device 6 may include: a processor 601, a storage medium 602 and a bus 603, wherein the storage medium 602 stores machine-readable instructions executable by the processor 601, when the terminal device runs, the processor 601 and the storage medium 602 communicate with each other through the bus 603, and the processor 601 executes the machine-readable instructions to execute the steps of the deep learning model training method as described in the foregoing embodiments. The specific implementation and technical effects are similar, and are not described herein again.
For ease of explanation, only one processor is described in the above terminal device. However, it should be noted that in some embodiments, the terminal device in the present invention may further include multiple processors, and thus, the steps performed by one processor described in the present invention may also be performed by multiple processors in combination or individually.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and the present invention shall be covered thereby. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (9)
1. An automatic account checking method based on a meter is characterized by comprising the following steps:
s01, obtaining account checking data from a data source, and decoupling the account checking data from actual business to obtain standard account checking data;
s02, generating a reconciliation script according to the standard reconciliation data, and acquiring external data according to the reconciliation script when a preset reconciliation condition is triggered;
and S03, executing the account checking script, and comparing the external data acquired by the account checking script with the standard account checking data to obtain an account checking result.
2. The method of claim 1, wherein the generated reconciliation file is uploaded to a designated reconciliation file deposit directory by ftp.
3. The method as claimed in claim 1, wherein a standard file format pushed by the account management is obtained, and then a script is written through a BeanShell Sampler function of a meter according to a rule for reconciling with the account management to generate a file, so as to obtain a reconciliation script.
4. The method of claim 1, wherein the business data of the system, namely the standard reconciliation data, is generated by using a JdbcRequest insertion function of a meter to obtain the reconciliation data from a data source and then importing the reconciliation data into a database according to a standard data template.
5. The method of claim 2, wherein the inter-system reconciliation task is triggered to complete the reconciliation with the accounting pipe based on the transaction date sent.
6. The method of claim 2, wherein the generated reconciliation file comprises external data and standard reconciliation data.
7. An automatic account checking system based on a meter is characterized by comprising a business system and an account checking system;
the business system comprises an account management system, a payment system, a financing subsystem and a Pay accompanying system;
the reconciliation system is used for constructing source data: importing the data into a database according to a standard data template by using a JdbcRequest inserting function of a jmeter so as to generate service data of the system;
and the construction of the reconciliation file for the account management: and acquiring a standard file format pushed by the account management, and writing a script to generate a file through a BeanShell Sampler function of a jmeter according to the rule of account management reconciliation.
8. A terminal device, comprising: a processor, a storage medium and a bus, the storage medium storing machine-readable instructions executable by the processor, the processor and the storage medium communicating via the bus when the terminal device is operating, the processor executing the machine-readable instructions to perform the steps of the method according to any one of claims 1 to 6 when executed.
9. A storage medium, characterized in that the storage medium has stored thereon a computer program which, when being executed by a processor, performs the steps of the method according to any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211140467.7A CN115511586A (en) | 2022-09-20 | 2022-09-20 | Method, system, terminal device and storage medium for automatic account checking based on jmeter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211140467.7A CN115511586A (en) | 2022-09-20 | 2022-09-20 | Method, system, terminal device and storage medium for automatic account checking based on jmeter |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115511586A true CN115511586A (en) | 2022-12-23 |
Family
ID=84503474
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211140467.7A Pending CN115511586A (en) | 2022-09-20 | 2022-09-20 | Method, system, terminal device and storage medium for automatic account checking based on jmeter |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115511586A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115984022A (en) * | 2023-03-17 | 2023-04-18 | 梅州客商银行股份有限公司 | Unified account checking method and device for distributed payment system |
-
2022
- 2022-09-20 CN CN202211140467.7A patent/CN115511586A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115984022A (en) * | 2023-03-17 | 2023-04-18 | 梅州客商银行股份有限公司 | Unified account checking method and device for distributed payment system |
CN115984022B (en) * | 2023-03-17 | 2023-07-14 | 梅州客商银行股份有限公司 | Unified account checking method and device for distributed payment system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110263024B (en) | Data processing method, terminal device and computer storage medium | |
WO2018142259A1 (en) | Computer-implemented system and method for determining the state of a machine executable contract implemented using a blockchain | |
CN111784510B (en) | Account checking method and device | |
CN115409590A (en) | Unified account checking method, device, equipment and storage medium | |
CN115511586A (en) | Method, system, terminal device and storage medium for automatic account checking based on jmeter | |
CN111444073A (en) | Method, device and system for testing performance of financial database | |
CN108762895B (en) | Method and device for processing distributed transaction | |
CN112053232A (en) | Self-service equipment business account consistency processing method and device | |
CN107016613B (en) | Data modification method and device | |
CN117094764A (en) | Bank integral processing method and device | |
CN114969127A (en) | Reconciliation method, reconciliation system and storage medium for automatically combining reconciliation transactions | |
CN115018621A (en) | Contract changing method, device, equipment and medium | |
CN112990922A (en) | Batch payment method, device, equipment and storage medium | |
CN112419052A (en) | Transaction testing method and device, electronic equipment and readable storage medium | |
CN112991029A (en) | Account checking method and device | |
CN112488814A (en) | Method, device, electronic equipment and medium for automatically generating accounting entry | |
CN114155081B (en) | Consensus and transaction separation system and method based on five Merkle tree structures | |
CN111967963B (en) | Pre-authorized accounting processing method and device | |
CN113724082B (en) | Accounting processing method, device, equipment and storage medium | |
CN111797590B (en) | Data checking method, device and equipment | |
CN111754240B (en) | Bank card state verification method and device | |
CN113111631A (en) | Data processing method, device, equipment, storage medium and program product | |
CN117493156A (en) | Payment system testing method and device, electronic equipment and readable storage medium | |
CN113724082A (en) | Accounting processing method, device, equipment and storage medium | |
CN116883145A (en) | Loan fund convergence link generation method and device and electronic equipment |
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 |