CN117421254B - Automatic test method and system for reconciliation business - Google Patents

Automatic test method and system for reconciliation business Download PDF

Info

Publication number
CN117421254B
CN117421254B CN202311748949.5A CN202311748949A CN117421254B CN 117421254 B CN117421254 B CN 117421254B CN 202311748949 A CN202311748949 A CN 202311748949A CN 117421254 B CN117421254 B CN 117421254B
Authority
CN
China
Prior art keywords
account
abnormal
account checking
determining
different
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
CN202311748949.5A
Other languages
Chinese (zh)
Other versions
CN117421254A (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.)
Hangyin Consumer Finance Co ltd
Original Assignee
Hangyin Consumer Finance Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangyin Consumer Finance Co ltd filed Critical Hangyin Consumer Finance Co ltd
Priority to CN202311748949.5A priority Critical patent/CN117421254B/en
Publication of CN117421254A publication Critical patent/CN117421254A/en
Application granted granted Critical
Publication of CN117421254B publication Critical patent/CN117421254B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention provides an automatic test method and system for account checking business, which belongs to the technical field of data processing, and specifically comprises the following steps: constructing a visual page, determining account checking test service requirements of a designated account in response to user operation data, automatically generating an automatic test script based on the account checking test service requirements and abnormal server nodes, acquiring account checking service data of different server nodes according to a preset sequence and the abnormal server nodes, determining account checking files of different server nodes and account checking results among the server nodes, acquiring abnormal account checking results of different server nodes under different historical test times, and optimizing the preset sequence by combining account change records and account checking processing priorities under the historical test times corresponding to the abnormal account checking results, so that the processing efficiency of the account checking service is improved.

Description

Automatic test method and system for reconciliation business
Technical Field
The invention belongs to the technical field of data processing, and particularly relates to an automatic test method and system for reconciliation business.
Background
Different from other financial loan businesses, the consumption loan business has the characteristics of convenience and flexibility of support, but at the same time, the account number and the data volume of the reconciliation process are huge, so that the complexity of the reconciliation process is high, and therefore, how to improve the efficiency and the accuracy of the reconciliation process becomes a technical problem to be solved urgently.
In order to solve the technical problem of automatic test of reconciliation business, the prior art scheme configures error scenes by using encapsulated scripts in the invention patent CN202311018631.1, a test method for reconciliation verification and error handling of a bank payment system; the test of daytime error processing and daily final account checking of various businesses of the bank payment system is carried out under the configured error scene, but at the same time, the following technical problems exist:
the test flexibility is insufficient, the test cost is high, the preparation of file data is needed to be carried out according to different service interfaces in advance when the reconciliation test is carried out, the time consumption is long, errors are prone to occurring, and therefore the efficiency of the reconciliation test processing is difficult to meet the requirements.
Aiming at the technical problems, the invention provides an automatic test method and system for reconciliation business.
Disclosure of Invention
In order to achieve the purpose of the invention, the invention adopts the following technical scheme:
according to one aspect of the present invention, an automated testing method for a reconciliation service is provided.
An automated testing method for reconciliation business, comprising the steps of:
s1, constructing a visual page, responding to user operation data to determine account checking test business requirements of a designated account, determining account similarity with other accounts and similar historical accounts based on account change logs of the designated account, and determining account checking abnormal values and abnormal server nodes of different server nodes according to abnormal conditions of account checking results of the similar historical accounts;
s2, automatically generating an automatic test script based on the reconciliation test service requirements, acquiring reconciliation service data of different server nodes according to a preset sequence and abnormal server nodes, determining reconciliation files of different server nodes and reconciliation results among the server nodes, and entering a next step when server nodes with response time not meeting requirements or account abnormality exist;
s3, determining abnormal response time values of different server nodes and account checking processing priorities of different server nodes according to response time of different server nodes under different historical test times and historical test times of which the response time does not meet requirements;
s4, obtaining abnormal account checking results of different server nodes under different historical test times, and optimizing the preset sequence by combining account change records under the historical test times corresponding to the abnormal account checking results and account checking processing priorities.
The invention has the beneficial effects that:
1. according to the abnormal conditions of the account checking results of the similar historical accounts, abnormal account checking processing values of different server nodes and abnormal server nodes are determined, the technical problem that the account checking results are inaccurate due to low accuracy of the input server nodes in user operation data of users is avoided, screening of the abnormal server nodes from the angle of the similar historical accounts is achieved, and accuracy of results of account checking test processing is further improved.
2. And acquiring the reconciliation business data of different server nodes according to a preset sequence, and automatically generating the reconciliation files of different server nodes and the reconciliation results among the server nodes, so that the automatic reconciliation files and the reconciliation results are generated according to the test requirements of users, and the efficiency of the reconciliation test processing is improved.
3. According to the method, the preset sequence is optimized according to the abnormal account checking results, the similarity and the account checking processing priority under different historical test times, the abnormal situation of the account checking results of the server nodes under different historical test times is considered, meanwhile, screening of the abnormal test results with higher similarity is achieved by further combining with the account checking test business requirements of the current user through the consideration of the similarity, and further combining with the response situation, so that the test processing efficiency and accuracy are improved to a certain extent.
The user operation data comprises effective identity information of the appointed account and a server node appointed for checking.
The further technical scheme is that the preset sequence is determined according to the data volume of the account checking service data of the server node, wherein the more the data volume of the account checking service data of the server node is, the more the sequence of the server node is.
The further technical scheme is that optimizing the preset sequence specifically comprises:
determining account variation times of different abnormal account checking results according to account variation records under the historical test times corresponding to the different abnormal account checking results, and determining weight values of the different abnormal account checking results according to the account variation times;
and determining the comprehensive abnormal value of the server node through the weight value of the abnormal account checking result and the historical test times corresponding to the abnormal account checking result, determining the test sequence of the server node through the comprehensive abnormal value and the account checking processing priority, and optimizing the preset sequence based on the test sequence.
On the other hand, the invention provides an automatic test system for reconciliation business, which adopts the automatic test method for reconciliation business and is characterized by comprising the following steps:
the system comprises a data acquisition module, a checking processing module, a processing priority evaluation module and a test sequence optimization module;
the data acquisition module is responsible for constructing a visual page, determining account checking test business requirements of a designated account in response to user operation data, determining account similarity with other accounts and similar historical accounts based on account change logs of the designated account, and determining account checking abnormal values and abnormal server nodes of different server nodes according to abnormal conditions of account checking results of the similar historical accounts;
the account checking processing module is responsible for automatically generating an automatic test script based on the account checking test service requirement, and acquiring account checking service data of different server nodes according to a preset sequence and abnormal server nodes, so as to determine account checking files of different server nodes and account checking results among the server nodes;
the processing priority evaluation module is responsible for determining response time abnormal values of different server nodes and checking processing priorities of different server nodes according to response time of different server nodes under different historical test times and the historical test times of which the response time does not meet requirements;
the test sequence optimization module is responsible for acquiring abnormal account checking results of different server nodes under different historical test times, and optimizing the preset sequence by combining account change records under the historical test times corresponding to the abnormal account checking results and account checking processing priorities.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the invention as set forth hereinafter.
In order to make the above objects, features and advantages of the present invention more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
The above and other features and advantages of the present invention will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings;
FIG. 1 is a flow chart of an automated test method for reconciliation business;
FIG. 2 is a flow chart of a method of determining similar history accounts;
FIG. 3 is a flow chart of a method of determination of an anomalous server node;
FIG. 4 is a flow chart of a method of determination of reconciliation processing priority of a server node;
fig. 5 is a block diagram of an automated test system for reconciliation business.
Detailed Description
In order to make the technical solutions in the present specification better understood by those skilled in the art, the technical solutions in the embodiments of the present specification will be clearly and completely described below with reference to the drawings in the embodiments of the present specification, and it is obvious that the described embodiments are only some embodiments of the present specification, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, shall fall within the scope of the present disclosure.
In general, when performing the reconciliation test processing of the user, since there is a certain degree of difference between server nodes corresponding to account change data of different users, there is a certain degree of difference between server nodes that need to perform the reconciliation processing, so if the reconciliation processing file of the server node cannot be automatically generated, and the server nodes that perform the priority processing according to response data of different server nodes and account abnormality conditions, it is difficult to satisfy the requirements of the reconciliation processing efficiency.
In order to solve the technical problems, the invention adopts the following technical scheme:
firstly, constructing a visual page, determining account checking test business requirements of a designated account in response to user operation data, determining account similarity and similar historical accounts of other accounts based on account change logs of the designated account, specifically determining account checking processing server nodes corresponding to different account change times through the account change logs of the designated account, determining account change similarity of different account change times according to the similar quantity of the account checking processing server nodes corresponding to the different account change times, finally determining account similarity and similar historical users according to the account change similarity of the different account change times, determining account checking processing abnormal values of different server nodes and abnormal server nodes according to abnormal conditions of account checking results of the similar historical accounts, specifically determining account checking processing abnormal values of the server nodes according to the account checking accounts of the different server nodes in the similar historical accounts, and taking the server nodes with larger account checking processing priority values as the abnormal server nodes;
then automatically generating an automatic test script based on the account checking test service requirement, acquiring account checking service data of different server nodes according to a preset sequence and abnormal server nodes, determining account checking files of different server nodes and account checking results among the server nodes, specifically, firstly acquiring the account checking service data of the abnormal server nodes and automatically generating the account checking results among the abnormal server nodes, and when no server node with account abnormality exists in the abnormal server nodes, acquiring the account checking service data of the rest server nodes and automatically generating the account checking results among the rest server nodes and the abnormal server nodes according to the preset sequence, and entering the next step when the response time does not meet the requirement or the server nodes with account abnormality exist;
determining abnormal response time values of different server nodes and checking processing priorities of different server nodes according to response times of different server nodes under different historical test times and historical test times with response times not meeting requirements, specifically determining abnormal response time values of different server nodes according to products of the ratios of the response times of different server nodes under different historical test times and the ratios of the response times of different server nodes under different historical test times, and determining corresponding checking processing priorities according to intervals where the abnormal response time values are located;
obtaining abnormal account checking results of different server nodes under different historical test times, determining account changing times of different abnormal account checking results according to account changing records under the historical test times corresponding to the different abnormal account checking results, determining weight values of the different abnormal account checking results according to the account changing times, determining comprehensive abnormal values of the server nodes according to the weight values of the abnormal account checking results and the historical test times corresponding to the abnormal account checking results, determining test sequences of the server nodes according to the comprehensive abnormal values and the account checking processing priorities, and optimizing the preset sequences based on the test sequences.
In order to solve the above-mentioned problems, according to one aspect of the present invention, as shown in fig. 1, there is provided an automated testing method for reconciliation business, which is characterized by comprising:
s1, constructing a visual page, responding to user operation data to determine account checking test business requirements of a designated account, determining account similarity with other accounts and similar historical accounts based on account change logs of the designated account, and determining account checking abnormal values and abnormal server nodes of different server nodes according to abnormal conditions of account checking results of the similar historical accounts;
the user operation data includes valid identity information of the designated account and a server node designated to perform reconciliation processing.
In a possible embodiment, as shown in fig. 2, the method for determining the similar history accounts in the step S1 is:
s11, determining account variation times of the designated account through an account variation log of the designated account, determining basic similarity between the designated account and other accounts through the account variation times, and screening the other accounts based on the basic similarity to obtain screened similar accounts;
s12, determining account variation similarity of different account variation times based on the designated account and server nodes related to the different account variation times of the screening similar accounts, judging whether the proportion of the account variation times meeting the requirement of the account variation similarity is larger than a preset proportion, if so, entering the next step, and if not, determining that the screening similar accounts do not belong to similar historical accounts;
s13, taking the account variation times of which the account variation similarity meets the requirement as similar account variation times, and determining the comprehensive variation similarity of the designated account and the screened similar accounts based on the similar account variation times, the duty ratio of the similar account variation times and the account variation similarities of different account variation times;
s14, determining the account similarity of the screened similar accounts through the comprehensive variation similarity and the basic similarity, and determining similar historical accounts based on the account similarity.
In a possible embodiment, as shown in fig. 3, the method for determining the abnormal server node in the step S1 is:
s111, determining server nodes with abnormal account checking results according to abnormal conditions of account checking results of different similar historical accounts, taking the server nodes with abnormal account checking results as nodes to be detected, judging whether the account checking processing times of the account checking results with abnormal account checking results of the nodes to be detected are larger than preset times, if so, determining that the nodes to be detected belong to abnormal server nodes, and if not, entering the next step;
s112, acquiring the account checking processing times of the nodes to be detected, determining whether the account checking processing times of the abnormal account checking results of the nodes to be detected meet the requirements or not based on the account checking processing times, if so, determining that the nodes to be detected do not belong to abnormal server nodes, and if not, entering the next step;
it should be noted that, in the above step, determining whether the number of accounting processing times of the abnormal accounting result of the node to be detected meets the requirement based on the number of accounting processing times specifically includes:
and determining the account checking processing times of the abnormal account checking results of the nodes to be detected according to the account checking processing times of the abnormal account checking results of the nodes to be detected and the account checking processing times of the abnormal account checking results of the nodes to be detected, and determining whether the account checking processing times of the abnormal account checking results of the nodes to be detected meet the requirement or not based on the account checking processing times of the abnormal account checking results of the nodes to be detected.
S113, taking the account checking processing times of the abnormal account checking results of the nodes to be detected as the abnormal account checking processing times of the nodes to be detected, determining the similarity of different abnormal account checking processing times based on the similarity of different abnormal account checking processing times and different account checking processing times of the designated account, and determining the comprehensive similarity of the abnormal account checking processing times through the average value of the similarity of different abnormal account checking processing times, the abnormal account checking processing times of which the similarity meets the requirement and the account checking processing times of the designated account of which the similarity with the abnormal account checking processing times meets the requirement;
s114, judging whether the comprehensive similarity meets the requirement, if so, determining that the node to be detected belongs to an abnormal server node, if not, determining weights of different similar historical users according to the abnormal account checking processing times of different similar historical accounts and the account similarity of different similar historical accounts, determining account checking abnormal values of the node to be detected according to the number of the similar historical users and the comprehensive similarity of the abnormal account checking processing times, and determining the abnormal server node through the account checking abnormal values.
It may be understood that the determining of the abnormal server node by the reconciliation processing abnormal value in the above steps specifically includes:
and when the account checking processing abnormal value of the node to be detected is larger than a preset abnormal threshold value, determining that the node to be detected is an abnormal server node.
In another possible embodiment, the method for determining the abnormal server node in the step S1 is:
determining server nodes with abnormal account checking results according to abnormal conditions of the account checking results of different similar historical accounts, and taking the server nodes with abnormal account checking results as nodes to be detected, and acquiring account checking processing times of the nodes to be detected and account checking processing times with abnormal account checking results;
when the ratio of the account checking processing times of the abnormal account checking results of the nodes to be detected to the account checking processing times of the nodes to be detected is greater than the maximum limiting amount of the proportion, determining that the nodes to be detected belong to an abnormal server node;
when the ratio of the number of the reconciliation processes of the abnormal reconciliation result of the node to be detected to the number of the reconciliation processes of the node to be detected is not greater than the maximum limit amount of the proportion, judging whether the number of the reconciliation processes of the abnormal reconciliation result of the node to be detected is smaller than the limit value of the predicted reconciliation number, if yes, determining that the node to be detected does not belong to an abnormal server node, and if not, entering the next step;
taking the account checking processing times of the abnormal account checking results of the nodes to be detected as the abnormal account checking processing times of the nodes to be detected, determining the similarity of different abnormal account checking processing times based on the similarity of different abnormal account checking processing times and different account checking processing times of the designated account, and determining the comprehensive similarity of the abnormal account checking processing times through the average value of the similarity of different abnormal account checking processing times, the abnormal account checking processing times of which the similarity meets the requirement and the account checking processing times of the designated account of which the similarity with the abnormal account checking processing times meets the requirement;
and judging whether the comprehensive similarity meets the requirement, if so, determining that the node to be detected belongs to an abnormal server node, if not, determining weights of different similar historical users according to the abnormal account checking processing times of different similar historical accounts and the account similarity of different similar historical accounts, determining an account checking abnormal value of the node to be detected according to the number of the similar historical users and the comprehensive similarity of the abnormal account checking processing times, and determining the abnormal server node through the account checking abnormal value.
S2, automatically generating an automatic test script based on the reconciliation test service requirements, acquiring reconciliation service data of different server nodes according to a preset sequence and abnormal server nodes, determining reconciliation files of different server nodes and reconciliation results among the server nodes, and entering a next step when server nodes with response time not meeting requirements or account abnormality exist;
it should be noted that, the preset sequence is determined according to the data amount of the accounting service data of the server node, where the more the data amount of the accounting service data of the server node is, the more the sequence of the server node is.
Firstly, the accounting service data of the abnormal server nodes are acquired, the accounting results among the abnormal server nodes are automatically generated, and when the server nodes with account abnormality do not exist in the abnormal server nodes, the accounting service data of the rest server nodes are acquired according to a preset sequence, and the accounting results among the rest server nodes and the abnormal server nodes are automatically generated.
S3, determining abnormal response time values of different server nodes and account checking processing priorities of different server nodes according to response time of different server nodes under different historical test times and historical test times of which the response time does not meet requirements;
in a possible embodiment, as shown in fig. 4, the method for determining the reconciliation processing priority of the server node in the step S3 is as follows:
s31, acquiring response time of different server nodes under different historical test times, determining response failure times of the different server nodes based on the response time, judging whether the response failure times exist in the server nodes, if so, entering step S33, and if not, entering the next step;
s32, taking the historical test times of which the response time does not meet the requirements as the historical overtime test times, judging whether the proportion of the historical overtime test times on the server node meets the requirements or not, if so, setting the reconciliation processing priority of the server node as a first level, and if not, entering the next step;
s33, acquiring response failure times of the server node, determining an abnormal response evaluation value of the server node by combining the historical overtime test times of the server node and the average response time of the historical overtime test times, judging whether the abnormal response evaluation value of the server node is larger than a preset value, if so, setting the reconciliation processing priority of the server node as a second level, and if not, entering the next step;
s34, carrying out historical test times and average response time of different historical test times of the server node based on response time of different server nodes under different historical test times, carrying out determination of a comprehensive response evaluation value of the server node by combining an abnormal response evaluation value of the server node, and carrying out determination of a reconciliation processing priority of the server node through the comprehensive response evaluation value.
In another possible embodiment, the method for determining the reconciliation processing priority of the server node in the step S3 is as follows:
acquiring response time of different server nodes under different historical test times, determining response failure times of different server nodes based on the response time, and taking the historical test times of which the response time does not meet the requirement as historical overtime test times;
determining the ratio of the abnormal response times of the server node according to the historical timeout test times and the response failure times, and when the ratio of the abnormal response times of the server node meets the requirement:
acquiring response failure times of the server node, determining an abnormal response evaluation value of the server node by combining the historical overtime test times of the server node and the average response time of the historical overtime test times, judging whether the abnormal response evaluation value of the server node is larger than a preset value, if so, setting the reconciliation processing priority of the server node as a second level, and if not, entering the next step;
performing historical test times and average response time of different historical test times of the server node based on response time of different server nodes under different historical test times, determining a comprehensive response evaluation value of the server node by combining an abnormal response evaluation value of the server node, and determining a reconciliation processing priority of the server node through the comprehensive response evaluation value;
when the duty ratio of the abnormal response times of the server node does not meet the requirement:
setting the reconciliation processing priority of the server node to a second level.
S4, obtaining abnormal account checking results of different server nodes under different historical test times, and optimizing the preset sequence by combining account change records under the historical test times corresponding to the abnormal account checking results and account checking processing priorities.
Specifically, the optimizing the preset sequence in the step S4 specifically includes:
determining account variation times of different abnormal account checking results according to account variation records under the historical test times corresponding to the different abnormal account checking results, and determining weight values of the different abnormal account checking results according to the account variation times;
and determining the comprehensive abnormal value of the server node through the weight value of the abnormal account checking result and the historical test times corresponding to the abnormal account checking result, determining the test sequence of the server node through the comprehensive abnormal value and the account checking processing priority, and optimizing the preset sequence based on the test sequence.
On the other hand, as shown in fig. 5, the present invention provides an automated testing system for reconciliation business, and the automated testing method for reconciliation business is characterized by comprising:
the system comprises a data acquisition module, a checking processing module, a processing priority evaluation module and a test sequence optimization module;
the data acquisition module is responsible for constructing a visual page, determining account checking test business requirements of a designated account in response to user operation data, determining account similarity with other accounts and similar historical accounts based on account change logs of the designated account, and determining account checking abnormal values and abnormal server nodes of different server nodes according to abnormal conditions of account checking results of the similar historical accounts;
the account checking processing module is responsible for automatically generating an automatic test script based on the account checking test service requirement, and acquiring account checking service data of different server nodes according to a preset sequence and abnormal server nodes, so as to determine account checking files of different server nodes and account checking results among the server nodes;
the processing priority evaluation module is responsible for determining response time abnormal values of different server nodes and checking processing priorities of different server nodes according to response time of different server nodes under different historical test times and the historical test times of which the response time does not meet requirements;
the test sequence optimization module is responsible for acquiring abnormal account checking results of different server nodes under different historical test times, and optimizing the preset sequence by combining account change records under the historical test times corresponding to the abnormal account checking results and account checking processing priorities.
Through the above embodiments, the present invention has the following beneficial effects:
1. according to the abnormal conditions of the account checking results of the similar historical accounts, abnormal account checking processing values of different server nodes and abnormal server nodes are determined, the technical problem that the account checking results are inaccurate due to low accuracy of the input server nodes in user operation data of users is avoided, screening of the abnormal server nodes from the angle of the similar historical accounts is achieved, and accuracy of results of account checking test processing is further improved.
2. And acquiring the reconciliation business data of different server nodes according to a preset sequence, and automatically generating the reconciliation files of different server nodes and the reconciliation results among the server nodes, so that the automatic reconciliation files and the reconciliation results are generated according to the test requirements of users, and the efficiency of the reconciliation test processing is improved.
3. According to the method, the preset sequence is optimized according to the abnormal account checking results, the similarity and the account checking processing priority under different historical test times, the abnormal situation of the account checking results of the server nodes under different historical test times is considered, meanwhile, screening of the abnormal test results with higher similarity is achieved by further combining with the account checking test business requirements of the current user through the consideration of the similarity, and further combining with the response situation, so that the test processing efficiency and accuracy are improved to a certain extent.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for apparatus, devices, non-volatile computer storage medium embodiments, the description is relatively simple, as it is substantially similar to method embodiments, with reference to the section of the method embodiments being relevant.
The foregoing describes specific embodiments of the present disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
The foregoing is merely one or more embodiments of the present description and is not intended to limit the present description. Various modifications and alterations to one or more embodiments of this description will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, or the like, which is within the spirit and principles of one or more embodiments of the present description, is intended to be included within the scope of the claims of the present description.

Claims (8)

1. An automated testing method for reconciliation business, comprising the steps of:
constructing a visual page, responding to user operation data to determine account checking test business requirements of a designated account, determining account similarity with other accounts and similar historical accounts based on account change logs of the designated account, and determining account checking processing abnormal values and abnormal server nodes of different server nodes according to abnormal conditions of account checking results of the similar historical accounts;
automatically generating an automatic test script based on the reconciliation test service demand, acquiring the reconciliation service data of different server nodes according to a preset sequence and abnormal server nodes, thereby determining the reconciliation files of different server nodes and the reconciliation results among the server nodes, and entering the next step when the server nodes with response time not meeting the demand or account abnormality exist;
determining response time abnormal values of different server nodes and reconciliation processing priorities of different server nodes according to response time of different server nodes under different historical test times and historical test times of which the response time does not meet requirements;
obtaining abnormal account checking results of different server nodes under different historical test times, and optimizing the preset sequence by combining account change records under the historical test times corresponding to the abnormal account checking results and account checking processing priorities;
the user operation data comprise effective identity information of the appointed account and server nodes appointed for reconciliation processing;
optimizing the preset sequence specifically comprises the following steps:
determining account variation times of different abnormal account checking results according to account variation records under the historical test times corresponding to the different abnormal account checking results, and determining weight values of the different abnormal account checking results according to the account variation times;
and determining the comprehensive abnormal value of the server node through the weight value of the abnormal account checking result and the historical test times corresponding to the abnormal account checking result, determining the test sequence of the server node through the comprehensive abnormal value and the account checking processing priority, and optimizing the preset sequence based on the test sequence.
2. The automated test method for reconciliation of claim 1, wherein the method of determining the similar historical account is:
determining account variation times of the designated account through an account variation log of the designated account, determining basic similarity between the designated account and other accounts through the account variation times, and screening the other accounts based on the basic similarity to obtain screened similar accounts;
determining account variation similarity of different account variation times based on the designated account and server nodes related to the different account variation times of the screening similar accounts, judging whether the proportion of the account variation times of which the account variation similarity meets the requirement is larger than a preset proportion, if so, entering the next step, and if not, determining that the screening similar accounts do not belong to similar historical accounts;
taking the account variation times of which the account variation similarity meets the requirement as similar account variation times, and determining the comprehensive variation similarity of the designated account and the screened similar accounts based on the similar account variation times, the duty ratio of the similar account variation times and the account variation similarities of different account variation times;
and determining the account similarity of the screened similar accounts according to the comprehensive variation similarity and the basic similarity, and determining similar historical accounts based on the account similarity.
3. The automated test method for reconciliation of claim 1, wherein the method of determining the anomaly server node is:
determining server nodes with abnormal account checking results according to abnormal conditions of account checking results of different similar historical accounts, taking the server nodes as nodes to be detected, judging whether the account checking processing times of the account checking results with abnormal account checking results of the nodes to be detected are larger than preset times, if so, determining that the nodes to be detected belong to abnormal server nodes, and if not, entering the next step;
acquiring the account checking processing times of the nodes to be detected, determining whether the account checking processing times of the abnormal account checking results of the nodes to be detected meet the requirements or not based on the account checking processing times, if so, determining that the nodes to be detected do not belong to abnormal server nodes, and if not, entering the next step;
taking the account checking processing times of the abnormal account checking results of the nodes to be detected as the abnormal account checking processing times of the nodes to be detected, determining the similarity of different abnormal account checking processing times based on the similarity of different abnormal account checking processing times and different account checking processing times of the designated account, and determining the comprehensive similarity of the abnormal account checking processing times through the average value of the similarity of different abnormal account checking processing times, the abnormal account checking processing times of which the similarity meets the requirement and the account checking processing times of the designated account of which the similarity with the abnormal account checking processing times meets the requirement;
and judging whether the comprehensive similarity meets the requirement, if so, determining that the node to be detected belongs to an abnormal server node, if not, determining weights of different similar historical users according to the abnormal account checking processing times of different similar historical accounts and the account similarity of different similar historical accounts, determining an account checking abnormal value of the node to be detected according to the number of the similar historical users and the comprehensive similarity of the abnormal account checking processing times, and determining the abnormal server node through the account checking abnormal value.
4. The automated test method for a reconciliation process of claim 3, wherein determining whether the number of reconciliation processes of the abnormal reconciliation result for the node to be detected meets a requirement based on the number of reconciliation processes comprises:
and determining the account checking processing times of the abnormal account checking results of the nodes to be detected according to the account checking processing times of the abnormal account checking results of the nodes to be detected and the account checking processing times of the abnormal account checking results of the nodes to be detected, and determining whether the account checking processing times of the abnormal account checking results of the nodes to be detected meet the requirement or not based on the account checking processing times of the abnormal account checking results of the nodes to be detected.
5. The automated test method for a reconciliation process of claim 3, wherein determining the anomaly server node by the reconciliation process anomaly value comprises:
and when the account checking processing abnormal value of the node to be detected is larger than a preset abnormal threshold value, determining that the node to be detected is an abnormal server node.
6. The automated test method for reconciliation of claim 1, wherein the predetermined order is determined based on a data amount of the reconciliation business data for the server node, wherein the greater the data amount of the reconciliation business data for the server node, the earlier the order for the server node.
7. The automated testing method for a reconciliation process of claim 1, wherein the method of determining the reconciliation process priority for the server node is:
s31, acquiring response time of different server nodes under different historical test times, determining response failure times of the different server nodes based on the response time, judging whether the response failure times exist in the server nodes, if so, entering step S33, and if not, entering the next step;
s32, taking the historical test times of which the response time does not meet the requirements as the historical overtime test times, judging whether the proportion of the historical overtime test times on the server node meets the requirements or not, if so, setting the reconciliation processing priority of the server node as a first level, and if not, entering the next step;
s33, acquiring response failure times of the server node, determining an abnormal response evaluation value of the server node by combining the historical overtime test times of the server node and the average response time of the historical overtime test times, judging whether the abnormal response evaluation value of the server node is larger than a preset value, if so, setting the reconciliation processing priority of the server node as a second level, and if not, entering the next step;
s34, carrying out historical test times and average response time of different historical test times of the server node based on response time of different server nodes under different historical test times, carrying out determination of a comprehensive response evaluation value of the server node by combining an abnormal response evaluation value of the server node, and carrying out determination of a reconciliation processing priority of the server node through the comprehensive response evaluation value.
8. An automated testing system for reconciliation, employing an automated testing method for a reconciliation according to any one of claims 1-7, comprising in particular:
the system comprises a data acquisition module, a checking processing module, a processing priority evaluation module and a test sequence optimization module;
the data acquisition module is responsible for constructing a visual page, determining account checking test business requirements of a designated account in response to user operation data, determining account similarity with other accounts and similar historical accounts based on account change logs of the designated account, and determining account checking abnormal values and abnormal server nodes of different server nodes according to abnormal conditions of account checking results of the similar historical accounts;
the account checking processing module is responsible for automatically generating an automatic test script based on the account checking test service requirement, and acquiring account checking service data of different server nodes according to a preset sequence and abnormal server nodes, so as to determine account checking files of different server nodes and account checking results among the server nodes;
the processing priority evaluation module is responsible for determining response time abnormal values of different server nodes and checking processing priorities of different server nodes according to response time of different server nodes under different historical test times and the historical test times of which the response time does not meet requirements;
the test sequence optimization module is responsible for acquiring abnormal account checking results of different server nodes under different historical test times, and optimizing the preset sequence by combining account change records under the historical test times corresponding to the abnormal account checking results and account checking processing priorities.
CN202311748949.5A 2023-12-19 2023-12-19 Automatic test method and system for reconciliation business Active CN117421254B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311748949.5A CN117421254B (en) 2023-12-19 2023-12-19 Automatic test method and system for reconciliation business

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311748949.5A CN117421254B (en) 2023-12-19 2023-12-19 Automatic test method and system for reconciliation business

Publications (2)

Publication Number Publication Date
CN117421254A CN117421254A (en) 2024-01-19
CN117421254B true CN117421254B (en) 2024-03-22

Family

ID=89528854

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311748949.5A Active CN117421254B (en) 2023-12-19 2023-12-19 Automatic test method and system for reconciliation business

Country Status (1)

Country Link
CN (1) CN117421254B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110287125A (en) * 2019-07-04 2019-09-27 中国工商银行股份有限公司 Software routine test method and device based on image recognition
WO2020151635A1 (en) * 2019-01-23 2020-07-30 腾讯科技(深圳)有限公司 Data processing method and apparatus, computer device, and storage medium
CN112115748A (en) * 2019-06-21 2020-12-22 腾讯科技(深圳)有限公司 Certificate image identification method, certificate image identification device, terminal and storage medium
CN114020578A (en) * 2021-11-16 2022-02-08 平安银行股份有限公司 User portrait-based abnormal account detection method, device, equipment and medium
CN114862587A (en) * 2022-05-27 2022-08-05 中国工商银行股份有限公司 Abnormal transaction account identification method and device and computer readable storage medium
CN115115369A (en) * 2021-03-17 2022-09-27 腾讯科技(深圳)有限公司 Data processing method, device, equipment and storage medium
WO2023109841A1 (en) * 2021-12-15 2023-06-22 中国人民银行数字货币研究所 Blockchain-based reconciliation method, apparatus, and system
CN117149797A (en) * 2023-10-27 2023-12-01 杭银消费金融股份有限公司 Accounting method and system based on multidimensional data monitoring

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20220138857A1 (en) * 2020-10-29 2022-05-05 Adaptive Investment Solutions, LLC System and method for near-instantaneous portfolio protection
US11436206B2 (en) * 2020-12-31 2022-09-06 Capital One Services, Llc Machine-learning based data entry duplication detection and mitigation and methods thereof

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020151635A1 (en) * 2019-01-23 2020-07-30 腾讯科技(深圳)有限公司 Data processing method and apparatus, computer device, and storage medium
CN112115748A (en) * 2019-06-21 2020-12-22 腾讯科技(深圳)有限公司 Certificate image identification method, certificate image identification device, terminal and storage medium
CN110287125A (en) * 2019-07-04 2019-09-27 中国工商银行股份有限公司 Software routine test method and device based on image recognition
CN115115369A (en) * 2021-03-17 2022-09-27 腾讯科技(深圳)有限公司 Data processing method, device, equipment and storage medium
CN114020578A (en) * 2021-11-16 2022-02-08 平安银行股份有限公司 User portrait-based abnormal account detection method, device, equipment and medium
WO2023109841A1 (en) * 2021-12-15 2023-06-22 中国人民银行数字货币研究所 Blockchain-based reconciliation method, apparatus, and system
CN114862587A (en) * 2022-05-27 2022-08-05 中国工商银行股份有限公司 Abnormal transaction account identification method and device and computer readable storage medium
CN117149797A (en) * 2023-10-27 2023-12-01 杭银消费金融股份有限公司 Accounting method and system based on multidimensional data monitoring

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
多线程对账在电子商务系统中的应用;韩晓霞;周映;梁爽;;信息技术与标准化;20160210(第Z1期);全文 *

Also Published As

Publication number Publication date
CN117421254A (en) 2024-01-19

Similar Documents

Publication Publication Date Title
CN116611797B (en) Service tracking and monitoring method, system and storage medium
CN106548402B (en) Resource transfer monitoring method and device
CN117149797B (en) Accounting method and system based on multidimensional data monitoring
US10289464B1 (en) Robust event prediction
CN109509082B (en) Monitoring method and device for bank application system
CN109583731B (en) Risk identification method, device and equipment
US7769651B2 (en) Method and system of processing billing data
CN117421254B (en) Automatic test method and system for reconciliation business
CN107784578B (en) Bank foreign exchange data supervision method and device
CN110532156A (en) A kind of capacity prediction methods and device
CN117009204A (en) Service call tracking-based health evaluation system of credit giving system
CN115391224A (en) Flow playback method and device, computer equipment and readable storage medium
CN111311086B (en) Capacity monitoring method, device and computer readable storage medium
CN114661505A (en) Storage component fault processing method, device, equipment and storage medium
CN117610970B (en) Intelligent evaluation method and system for data migration work
CN108710573A (en) It is a kind of that test method, device, storage medium and terminal a little are buried based on daily record
CN117093652B (en) Offline data synchronization method and system
CN117573728B (en) Information dimension-increasing processing method and system for data information
US9741059B1 (en) System and method for managing website scripts
CN117234806B (en) Automatic restarting method and system for network card
EP3772834A1 (en) A method of predicting the time course of a plurality of data relative to a telephony infrastructure for network function virtualization
CN113448992B (en) Method and device for predicting transaction abnormality based on statistical data in distributed system
CN117876140A (en) Tax information processing method, system and storage medium
CN107508789B (en) Abnormal data identification method and device
CN114169388A (en) Screening method, device, medium and computer equipment for newly added platform 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
GR01 Patent grant
GR01 Patent grant