CN110309052A - A kind of data verification method and relevant device - Google Patents

A kind of data verification method and relevant device Download PDF

Info

Publication number
CN110309052A
CN110309052A CN201910427735.5A CN201910427735A CN110309052A CN 110309052 A CN110309052 A CN 110309052A CN 201910427735 A CN201910427735 A CN 201910427735A CN 110309052 A CN110309052 A CN 110309052A
Authority
CN
China
Prior art keywords
target
parameter
target flow
test
flow nodes
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
Application number
CN201910427735.5A
Other languages
Chinese (zh)
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.)
Wuhan Yingfengjuzhi Technology Co ltd
Original Assignee
Wuhan Yingfengjuzhi Technology 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 Wuhan Yingfengjuzhi Technology Co ltd filed Critical Wuhan Yingfengjuzhi Technology Co ltd
Priority to CN201910427735.5A priority Critical patent/CN110309052A/en
Publication of CN110309052A publication Critical patent/CN110309052A/en
Pending legal-status Critical Current

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/3684Test management for test design, e.g. generating new test cases
    • 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

Abstract

The embodiment of the invention provides a kind of data verification method and relevant devices, for calling testing process template to test database, and checking process are called to verify test result.This method comprises: obtaining target database, the target database is database to be tested;It instructs depending on the user's operation and obtains the corresponding target flow template of the target database from local data base, the multiple flow templates being stored in the local data base including the target flow template;Parameter in target flow nodes is configured, the target flow nodes are the flow nodes in the target flow template;The target database is tested by the target flow nodes after configuration parameter, obtains test result;The test result is verified by verifying service procedure, to complete the test to the target database.

Description

A kind of data verification method and relevant device
Technical field
The present invention relates to testing field more particularly to a kind of data verification methods and relevant device.
Background technique
While economic development, every rapid technological improvement, computer technology is widely used and develops.Soft While part is continually developed, the problem of following various aspects, is also gradually highlighted.Seriously affect the use and exploitation of software.
By the research to software, developer compares the function and encoded test for paying attention to software in the exploitation of software Research.But but ignoring the key element of software --- the quality of the performance of software, software performance decides the use of software Service life and economic benefit, therefore, it is necessary to strictly pay attention to the exploitation of software performance.Data library test is the base to software performance detection The performance of plinth, its performance quality and software is closely related.So to the test of database be also particularly important with caution.And And manual test is just less important in the test of performance, it is desirable that the software test of automation.Such as simulation hundreds of thousands Or million user data access, manual test is obviously unworkable, needs by automatic test.
Currently, there are many data base automatic testing tools on the market, when doing multiple databases using these tools When test, the quality of test result can not be measured, lacks comparison and measurement to test result.
Summary of the invention
The embodiment of the invention provides a kind of data verification method and relevant devices, for calling testing process template logarithm It is tested according to library, and checking process is called to verify test result.
The first aspect of the embodiment of the present invention provides a kind of data verification method, comprising:
Target database is obtained, the target database is database to be tested;
It instructs depending on the user's operation and obtains the corresponding target flow template of the target database from local data base, The multiple flow templates being stored in the local data base including the target flow template;
Parameter in target flow nodes is configured, the target flow nodes are in the target flow template Flow nodes;
The target database is tested by the target flow nodes after configuration parameter, obtains test knot Fruit;
The test result is verified by verifying service procedure, to complete the test to the target database.
Optionally, after the parameter in target flow nodes configures, the method also includes:
Parameter in the target flow nodes is verified;
When the parameter verification in the target flow nodes passes through, determines and complete to the ginseng in the target flow nodes Several configurations.
Optionally, the parameter in the target flow nodes, which verify, includes:
Judge whether the parameter configured in the target flow nodes meets preset rules;
If so, determination passes through the parameter verification of typing in the target data library test;
If not, it is determined that the parameter verification of typing in the target data library test is not passed through.
Optionally, the method also includes:
When the parameter verification of typing does not pass through in the target data library test, again to the target flow nodes Parameter configured.
Optionally, after the determining completion is to the test of the target database, the method also includes:
Export the test result to the target database.
Second aspect of the embodiment of the present invention provides a kind of data calibration device, comprising:
Acquiring unit, for obtaining target database, the target database is database to be tested;
The acquiring unit, is also used to instruct depending on the user's operation and obtains the target database from local data base Corresponding target flow template, the multiple process moulds being stored in the local data base including the target flow template Plate;
Configuration unit, for configuring to the parameter in target flow nodes, the target flow nodes are the mesh Mark the flow nodes in flow template;
Test cell, for being surveyed by the target flow nodes after configuration parameter to the target database Examination, obtains test result;
Verification unit, for being verified by verifying service procedure to the test result, to complete to the target data The test in library.
Optionally, verification unit is also used to:
Parameter in the target flow nodes is verified;
When the parameter verification in the target flow nodes passes through, determines and complete to the ginseng in the target flow nodes Several configurations.
Optionally, the verification unit, which verify to the parameter in the target flow nodes, includes:
Judge whether the parameter configured in the target flow nodes meets preset rules;
If so, determination passes through the parameter verification of typing in the target data library test;
If not, it is determined that the parameter verification of typing in the target data library test is not passed through.
Optionally, the configuration unit is also used to:
When the parameter verification of typing does not pass through in the target data library test, again to the target flow nodes Parameter configured.
Optionally, described device further include: output unit, the output unit, for exporting to the target database Test result.
Third aspect present invention provides a kind of electronic equipment, including memory, processor, which is characterized in that the place Reason device realizes the data check as described in above-mentioned any one when being used to execute the computer management class method stored in memory The step of method.
Fourth aspect present invention provides a kind of computer readable storage medium, is stored thereon with computer management class Sequence, it is characterised in that: the data as described in above-mentioned any one are realized when the computer management class method is executed by processor The step of method of calibration.
In view of the foregoing it is apparent that being configured with multiple surveys in the local database in advance in embodiment provided by the invention Flow template is tried, corresponding testing process template can be selected to be tested according to the demand of user in test, passed through simultaneously Checking process verifies test result.It can solve and propose in the prior art, the quality of test result can not be measured Problem.
Detailed description of the invention
Fig. 1 is a kind of flow diagram of data verification method provided in an embodiment of the present invention;
Fig. 2 is a kind of embodiment schematic diagram of data calibration device provided in an embodiment of the present invention;
Fig. 3 is a kind of hardware structural diagram of data calibration device provided in an embodiment of the present invention;
Fig. 4 is the embodiment schematic diagram of a kind of electronic equipment provided in an embodiment of the present invention;
Fig. 5 is a kind of embodiment schematic diagram of computer readable storage medium provided in an embodiment of the present invention.
Specific embodiment
The embodiment of the invention provides a kind of data verification method and relevant devices, for calling testing process template logarithm It is tested according to library, and checking process is called to verify test result.
Description and claims of this specification and term " first ", " second ", " third ", " in above-mentioned attached drawing The (if present)s such as four " are to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should manage The data that solution uses in this way are interchangeable under appropriate circumstances, so that the embodiments described herein can be in addition to illustrating herein Or the sequence other than the content of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that Cover it is non-exclusive include, for example, containing the process, method, system, product or equipment of a series of steps or units need not limit In step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, produce The other step or units of product or equipment inherently.Following will be combined with the drawings in the embodiments of the present invention, in the embodiment of the present invention Technical solution be clearly and completely described, it is clear that described embodiments are only a part of the embodiments of the present invention, and The embodiment being not all of.
Data verification method is illustrated from the angle of data calibration device below, which can be clothes Business device, or the service unit in server, specifically without limitation.
Data calibration device in the present invention is applied to data base management system automatic test platform (Database Automation Testing Platform, DBTP), DBTP platform integrated application data test and monitoring resource function help User controls data resource, the quality of data, data safety comprehensively, and the database product for needing to provide before construction for user selects Data in type, construction administer the full construction life cycle service of the system optimization upgrading after supervision, construction.The DBTP platform packet Include following design constraint:
It 1, should be according to TPC series of reference and database design specification, from database practical application scene angle, design With the automated test frame of exploitation database;
2, should be using practical business scene as starting point, specialty characteristics, working method, the Business Stream of combined data library test Journey carries out systemic software development using general technology and product as far as possible;
3, the software and model of system development should make every effort to the high start and advance of technique direction under the premise of practical, And the development trend of adaptive technique, to guarantee that system has open, expandability and longer life cycle;
4, the design and exploitation of system are carried out using open structure;Under the hardware environment with expandability, System can constantly add new service module function in the process of running.
The logical architecture of DBTP platform is illustrated below, the logical architecture of the DBTP platform includes ontology definition clothes Business, modelling service, service construction service, process design service, application execution service and system administration services, wherein The DBTP platform can integrate multiple testing tools, such as TPC-E tool (for the test benchmark of online transaction performance), TPC- DS tool (for the test benchmark of on-line analysis performance), ACID tool (four fundamentals that db transaction correctly executes Abbreviation, include: atomicity (Atomicity), consistency (Consistency), isolation (Isolation), persistence (Durability)) it and the tools such as field testing tool, can also also be added according to the demand of user certainly, specifically not It limits.In addition, the DBTP platform includes multiple platform databases, such as ontology library, model library, service library, process library etc..
Each service in DBTP platform is illustrated below:
1, ontology definition service:
Form a set of body design data structure, the i.e. definition procedure of class, including attribute definition, action definition and reality Existing, ontology is the basic data refined according to platform feature, and it includes a variety of attributes: characteristic attribute, functional attributes, wherein feature Attribute is its essential attribute (namely static attribute), and user can directly define, and attribute value passes through service assignment;And function category Property, it is the derivative of characteristic attribute, need to be got according to characteristic attribute progress operation (i.e. dynamic attribute, according to the demand of user not Define together different), it can be defined by model, service assignment.Ontology movement definition include movement coding, denomination of dive, Act the definition of API (Application Programming Interface, application programming interface) etc..
2, modelling service:
Modelling is the static attribute or dynamic attribute for single ontology or multiple ontologies, carries out series of computation (arithmetic operator, set operation, functional operation, relational calculus, database table operation), redefines the process of ontology.It designs Model can provide computing capability and the different ontology of combination to construct new ontology.
(1) computing capability is provided:
A series of operations are carried out to one or more Noumenon properties (such as dynamic attribute), as arithmetic operator (add, subtract, multiply, Except), set operation (intersecting and merging, benefit, difference), functional operation (maximum, minimum, average, summation etc.), relational calculus (be greater than, be less than, Not equal to etc.) and the calculating of database table operation (selection, projection, connection) support.
(2) combined body constructs new ontology:
Ontology can be redefined by modelling.The advantage of doing so is that when the requirement of user changes, only Ontology need to be redefined, the attribute value of the ontology can be calculated by original Noumenon property value to be directly obtained, without more Change original ontology definition or programmed logic, substantially increases the scalability of platform.
3, service construction service:
To the process of instances of ontology object value.Service may include: (TPC-E test, TPC-DS are surveyed for testing service Examination, ACID test, field test etc.), configuration service, monitoring service, statistical fractals, Visualization Service, log services, report take Business, rule service, verification service and other services etc., specifically without limitation.
4, process design service:
The components such as metaflow, relation line and logic judgment are provided, when process design select first metaflow configuration ontology or Then multiple configured metaflows are formed an executable stream using relation line and logic judgment combination layout by service Journey.The design of DBTP supporting node, verification, debugging function, the process after debugging successfully can save as flow template, comprising: TPC-E testing process simulated templates, TPC-DS testing process template, ACID testing process template, cluster testing process template, number According to standardized test flow template, monitoring class testing flow template, can also also be designed according to the demand of user certainly.
5, application execution service:
Process is combined actual test environment and test/business datum by DBTP platform, is counted in the actual environment According to the process that verifying and operation execute, output form can be shown by DBTP platform as a result, or being taken by DBTP platform Business interface output.
6, system administration services:
For being managed to system user, role and permission.
Below with reference to Fig. 1, the testing process of database provided in an embodiment of the present invention is described in detail, figure is please referred to 1, Fig. 1 is one embodiment schematic diagram of data verification method provided in an embodiment of the present invention, comprising:
101, target database is obtained.
In the present embodiment, the available target database of data calibration device, the target database is data to be tested Library does not limit the mode of acquisition specifically herein.
It should be noted that may include at least one of following test to the test of target database: TPC-E is surveyed Examination, TPC-DS test, ACID test, cluster test, data normalization test, monitoring class testing, can also also there is other certainly Test, specifically without limitation.
102, it instructs depending on the user's operation from local data base and obtains the corresponding target flow template of target database.
In the present embodiment, after getting target database, the operational order of user can receive, and according to user's Operational order obtains the corresponding target flow template of target database from local data base, is stored with packet in the local data base Multiple flow templates including target flow template are included, specific: all flow template information are obtained by call flow interface, Selection target flow template is needed according to user later.Such as user needs to carry out TPC-E test to target database, then from this Ground database finds the template of the TPC-E testing process, and following testing process template: TPC- is included at least in the ontology database E testing process template, TPC-DS testing process template, ACID testing process template, cluster testing process template, data normalization Testing process template, monitoring class testing flow template.
It should be noted that herein according to the operational order of user, that target database is obtained from local data base is corresponding When target flow template, the title of target flow template can also be inputted, the entitled building of the target flow template process It is inputted when template.
It should be noted that data calibration device instructs depending on the user's operation obtains target data from local data base Before the corresponding target flow template in library, also perform the following operations:
Configure the flow template in local data base.Such as by (executing node, relation line, logic judgment to metaflow Deng) selection services or ontology, verifies ontology and whether service definition/interface matches, form an executable testing process.
It should be noted that the service for needing to use in building testing process template, general test requirements of process configuration clothes Business, testing service, report services and log services also can also be increased or be subtracted to service according to actual needs certainly It is few.Such as the service such as increase monitoring service, specifically without limitation.
It is illustrated so that TPC-E is serviced as an example below:
The corresponding ontology of TPC-E is obtained first, increases configuration service, testing service, report services and log services later, Wherein, the essential information of service can be inputted during the service of configuration, testing service, report services and log services (such as service name, service type, service order and the API of service (Application Programming Interface, application programming interface).In addition, configuration service includes Service Properties and service function, wherein the clothes Business attribute can choose static attribute (such as server configuration, length of testing speech, the rising duration and database of TPC-E ontology Static attributes, the service functions such as configuration (configuration that database configuration may include user name, password, IP address etc.) can be with Including numerical check, server verification and SQL (Structured Query Language, structured query language) verification Etc.;The testing service includes Service Properties, the Service Properties of the testing service be used to select the static attribute of TPC-E (such as Test result etc.), which also includes Service Properties, and the Service Properties of the log services are for selecting such as log knot The static attribute of fruit, the Service Properties of this report service are used to select the report template of TPC-E ontology to identify static attribute.
Several typical verification service procedures are illustrated so that TPC-E is tested as an example below:
1, correctness verifies service procedure;
TPC-E correctness is called to verify service interface, the Ontology example that input parameter is TPC-E, data are surveyed later Trial assembly, which is set, calls TPC-E correctness verification starting interface, and TPC-E tool executes correctness verification start command and executes verification, when Error message is returned when inactive, calls TPC-E tool to obtain correctness check results interface upon start up, when never call success When return to error message (including error code and error message), TPC-E test result and TPC-E are tested into knot when calling successfully Fruit sample (such as: SQLSERVER or Oracle) compares, and arrives the verification comparison result setting of TPC-E correctness if if comparing In TPC-E ontology, output parameter is TPC-E Ontology example, and is return success.
2, testing service checking process:
TPC-E testing service interface, the Ontology example that input parameter is TPC-E are called, TPC-E tool executes starting Order is judged whether to start successfully with executing test, when inactive success, returns to error message, when starting successfully, is adjusted Test result interface is obtained with TPC-E, and judges to obtain whether test result interface succeeds, if not successfully, returning to wrong letter Breath, and recursive call, when calling successfully, TPC-E test result are arranged into TPC-E test bodies until calling successfully, The parameter of output is TPC-E Ontology example, and is return success.
3, log services process:
TPC-E log services interface is called, data test device calls TPC-E log interface, and returns to daily record data, it Data test device obtains service construction module log information afterwards, and the log of TPC-E tool and the setting of DBTP daily record data are arrived In TPC-E ontology, return parameters are TPC-E Ontology example, and are return success.
4, rule verification service procedure:
TPC-E rule is called to verify service interface, input parameter is TPC-E Ontology example, passes through service structure respectively Whether modeling block check mixed proportion, verification response time, check results precision and check test duration meet TPC-E result Outputting standard, if it is not, error message is then returned to, if so, return parameters are TPC-E Ontology example.
5, report services process:
Data calibration device calls TPC-E report services interface, and input parameter is TPC-E Ontology example, passes through clothes Business building module parses TPC-E ontology character string test result, calculates TPC-E handling capacity, raw by service construction module later It is reported at TPC-E, TPC-E report path is arranged into TPC-E ontology, return parameters are TPC-E ontology character string.
103, the parameter in target flow nodes is configured.
In the present embodiment, data calibration device, can be in target flow nodes after obtaining target flow template Parameter is configured, which is the flow nodes in target flow template.Specifically, can be with typing target process Node parameter configuration (such as server configuration, database configuration, type of database, length of testing speech, report path, report mould Plate etc. parameter), it saves later, and tested.
It should be noted that after being configured to the parameter in target flow nodes, it can also be to target process section Parameter in point is verified, with judge to the parameter in the target flow nodes whether configuration successful.Specifically, can sentence Whether the parameter configured in disconnected target flow nodes meets preset rules;If so, determining typing in target data library test Parameter verification pass through namely the target flow nodes in parameter configuration success;If not, it is determined that recorded in target data library test The parameter verification entered do not pass through namely the target flow nodes in parameter success is not configured.
It should be noted that the preset rules can be to judge whether the parameter configured in target flow nodes meets non-empty Verification, numerical check, server verification and SQL (Structured Query Language, structured query language) verification Deng, must such as fill out parameter whether non-empty, if meet parameter definition constraint, if effectively can access or communicate, if it is SQL statement It then verifies and whether meets SQL syntax rule, can also also be configured according to the actual situation certainly, specifically without limitation.
It should be noted that when the parameter verification in target flow nodes does not pass through, again in target flow nodes Parameter configured, until target flow nodes in parameter configuration success.
104, target database is tested by the target flow nodes after configuration parameter, obtains test result.
In the present embodiment, target database can be tested by the target result of flow after configuration parameter, be obtained Test result.
105, test result is verified by verification service procedure, to complete the test to target database.
In the present embodiment, test result can be verified by verifying service procedure, be verified and taken with TPC-E correctness Be illustrated for business: can call TPC-E correctness verify service interface, input parameter be TPC-E Ontology example (i.e. Test result), data test device calls TPC-E correctness verification starting interface later, and TPC-E tool executes correctness verification Start command executes verification, when inactive, returns to error message, upon start up, TPC-E tool is called to obtain correctness school Result interface is tested, when never call success, error message is returned to, when calling successfully, by TPC-E correctness check results and sample This test result compares, and passes through if comparing, and TPC-E correctness verification comparison result is arranged into TPC-E ontology, output ginseng Number is TPC-E Ontology example, and is return success.
It should be noted that the test to target database can also be exported after the target database tests completion As a result, the verification to test result can also be exported simultaneously, such as verify successfully, test result meets user demand.Such as it is right Target database carries out TPC-E test, then can export TPC-E test result, can be exported by 3 kinds of modes: platform It shows, file output and/or data-interface export.
In view of the foregoing it is apparent that being configured with multiple surveys in the local database in advance in embodiment provided by the invention Flow template is tried, corresponding testing process template can be selected to be tested according to the demand of user in test, passed through simultaneously Checking process verifies test result.It can solve and propose in the prior art, the quality of test result can not be measured Problem.
Data verification method in the embodiment of the present invention is described above, below to the data in the embodiment of the present invention Calibration equipment is described.
Referring to Fig. 2, in the embodiment of the present invention data calibration device one embodiment, which includes:
Acquiring unit 201, for obtaining target database, the target database is database to be tested;
The acquiring unit 201, is also used to instruct depending on the user's operation and obtains the number of targets from local data base According to the corresponding target flow template in library, multiple streams for being stored in the local data base including the target flow template Journey template;
Configuration unit 202, for configuring to the parameter in target flow nodes, the target flow nodes are described Flow nodes in target flow template;
Test cell 203, for being carried out by the target flow nodes after configuration parameter to the target database Test, obtains test result;
Verification unit 204, for being verified by verifying service procedure to the test result, to complete to the number of targets According to the test in library.
Optionally, the verification unit 204 is also used to:
Parameter in the target flow nodes is verified;
When the parameter verification in the target flow nodes passes through, determines and complete to the ginseng in the target flow nodes Several configurations.
Optionally, the verification unit 204, which verify to the parameter in the target flow nodes, includes:
Judge whether the parameter configured in the target flow nodes meets preset rules;
If so, determination passes through the parameter verification of typing in the target data library test;
If not, it is determined that the parameter verification of typing in the target data library test is not passed through.
Optionally, the configuration unit 202 is also used to:
When the parameter verification of typing does not pass through in the target data library test, again to the target flow nodes Parameter configured.
Optionally, described device further include: output unit 205, the output unit 205, for exporting to the target The test result of database.
Above figure 2 retouches the data calibration device in the embodiment of the present invention from the angle of modular functionality entity It states, the data calibration device in the embodiment of the present invention is described in detail from the angle of hardware handles below, referring to Fig. 3, 300 one embodiment of data calibration device in the embodiment of the present invention, comprising:
(wherein the quantity of processor 303 can be with for input unit 301, output device 302, processor 303 and memory 304 One or more, in Fig. 3 by taking a processor 303 as an example).In some embodiments of the invention, input unit 301, output Device 302, processor 303 and memory 304 can be connected by bus or other means, wherein to be connected by bus in Fig. 3 For.
Wherein, the operational order stored by calling memory 304, processor 303, for executing following steps:
Target database is obtained, the target database is database to be tested;
It instructs depending on the user's operation and obtains the corresponding target flow template of the target database from local data base, The multiple flow templates being stored in the local data base including the target flow template;
Parameter in target flow nodes is configured, the target flow nodes are in the target flow template Flow nodes;
The target database is tested by the target flow nodes after configuration parameter, obtains test knot Fruit;
The test result is verified by verifying service procedure, to complete the test to the target database.
In the specific implementation process, when processor 320 executes computer program 311, the corresponding embodiment of Fig. 1 may be implemented Middle any embodiment.
As shown in figure 4, the embodiment of the invention provides a kind of electronic equipment, including memory 410, processor 420 and deposit The computer program 411 that can be run on memory 420 and on processor 420 is stored up, processor 420 executes computer program It is performed the steps of when 411
Target database is obtained, the target database is database to be tested;
It instructs depending on the user's operation and obtains the corresponding target flow template of the target database from local data base, The multiple flow templates being stored in the local data base including the target flow template;
Parameter in target flow nodes is configured, the target flow nodes are in the target flow template Flow nodes;
The target database is tested by the target flow nodes after configuration parameter, obtains test knot Fruit;
The test result is verified by verifying service procedure, to complete the test to the target database.
In the specific implementation process, when processor 420 executes computer program 411, the corresponding embodiment of Fig. 1 may be implemented Middle any embodiment.
Since the electronic equipment that the present embodiment is introduced is adopted by data calibration device a kind of in the implementation embodiment of the present invention Equipment, so based on method described in the embodiment of the present invention, those skilled in the art can understand this implementation The specific embodiment and its various change form of the electronic equipment of example, so how to realize this for the electronic equipment herein Method in inventive embodiments is no longer discussed in detail, as long as those skilled in the art implement the method in the embodiment of the present invention Used equipment belongs to the range of the invention to be protected.
Referring to Fig. 5, Fig. 5 is a kind of embodiment signal of computer readable storage medium provided in an embodiment of the present invention Figure.
As shown in figure 5, present embodiments providing a kind of computer readable storage medium 500, it is stored thereon with computer journey Sequence 511, the computer program 511 realize following steps when being executed by processor:
Target database is obtained, the target database is database to be tested;
It instructs depending on the user's operation and obtains the corresponding target flow template of the target database from local data base, The multiple flow templates being stored in the local data base including the target flow template;
Parameter in target flow nodes is configured, the target flow nodes are in the target flow template Flow nodes;
The target database is tested by the target flow nodes after configuration parameter, obtains test knot Fruit;
The test result is verified by verifying service procedure, to complete the test to the target database.
In the specific implementation process, Fig. 1 corresponding embodiment may be implemented when which is executed by processor Middle any embodiment.
It should be noted that in the above-described embodiments, all emphasizing particularly on different fields to the description of each embodiment, in some embodiment The part being not described in may refer to the associated description of other embodiments.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that each process in flowchart and/or the block diagram can be realized by computer program instructions And/or the combination of the process and/or box in box and flowchart and/or the block diagram.It can provide these computer programs to refer to Enable the processor of general purpose computer, special purpose computer, embedded computer or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
The embodiment of the invention also provides a kind of computer program product, which includes computer software Instruction, when computer software instructions are run on a processing device, so that processing equipment is executed such as the number in Fig. 1 corresponding embodiment According to the process in method of calibration.
The computer program product includes one or more computer instructions.Load and execute on computers the meter When calculation machine program instruction, entirely or partly generate according to process or function described in the embodiment of the present invention.The computer can To be general purpose computer, special purpose computer, computer network or other programmable devices.The computer instruction can be deposited Storage in a computer-readable storage medium, or from a computer readable storage medium to another computer readable storage medium Transmission, for example, the computer instruction can pass through wired (example from a web-site, computer, server or data center Such as coaxial cable, optical fiber, Digital Subscriber Line (digital subscriber line, DSL)) or wireless (such as infrared, wireless, Microwave etc.) mode transmitted to another web-site, computer, server or data center.It is described computer-readable to deposit Storage media can be any usable medium that computer can store or include the integrated clothes of one or more usable mediums The data storage devices such as business device, data center.The usable medium can be magnetic medium, (for example, floppy disk, hard disk, tape), Optical medium (for example, DVD) or semiconductor medium (such as solid state hard disk (solid state disk, SSD)) etc..
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided by the present invention, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the present invention Portion or part steps.And storage medium above-mentioned include: USB flash disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. are various can store program The medium of code.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although referring to before Stating embodiment, invention is explained in detail, those skilled in the art should understand that: it still can be to preceding Technical solution documented by each embodiment is stated to carry out repairing this or equivalent replacement of some of the technical features;And these Repair this or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.

Claims (10)

1. a kind of data verification method characterized by comprising
Target database is obtained, the target database is database to be tested;
It instructs depending on the user's operation and obtains the corresponding target flow template of the target database from local data base, it is described The multiple flow templates being stored in local data base including the target flow template;
Parameter in target flow nodes is configured, the target flow nodes are the process in the target flow template Node;
The target database is tested by the target flow nodes after configuration parameter, obtains test result;
The test result is verified by verifying service procedure, to complete the test to the target database.
2. the method according to claim 1, wherein the parameter in target flow nodes carries out configuring it Afterwards, the method also includes:
Parameter in the target flow nodes is verified;
When the parameter verification in the target flow nodes passes through, determines and complete to the parameter in the target flow nodes Configuration.
3. according to the method described in claim 2, it is characterized in that, the parameter in the target flow nodes carries out school It tests and includes:
Judge whether the parameter configured in the target flow nodes meets preset rules;
If so, determination passes through the parameter verification of typing in the target data library test;
If not, it is determined that the parameter verification of typing in the target data library test is not passed through.
4. according to the method in claim 2 or 3, which is characterized in that the method also includes:
When the parameter verification of typing does not pass through in the target data library test, again to the ginseng of the target flow nodes Number is configured.
5. according to the method in any one of claims 1 to 3, which is characterized in that the determining completion is to the number of targets After the test in library, the method also includes:
Export the test result to the target database.
6. a kind of data calibration device characterized by comprising
Acquiring unit, for obtaining target database, the target database is database to be tested;
The acquiring unit, is also used to instruct that the target database is obtained from local data base is corresponding depending on the user's operation Target flow template, the multiple flow templates being stored in the local data base including the target flow template;
Configuration unit, for configuring to the parameter in target flow nodes, the target flow nodes are the target stream Flow nodes in journey template;
Test cell is obtained for being tested by the target flow nodes after configuration parameter the target database To test result;
Verification unit, for being verified by verifying service procedure to the test result, to complete to the target database Test.
7. device according to claim 6, which is characterized in that the verification unit is also used to:
Parameter in the target flow nodes is verified;
When the parameter verification in the target flow nodes passes through, determines and complete to the parameter in the target flow nodes Configuration.
8. device according to claim 7, which is characterized in that the verification unit is to the ginseng in the target flow nodes Number carries out verification
Judge whether the parameter configured in the target flow nodes meets preset rules;
If so, determination passes through the parameter verification of typing in the target data library test;
If not, it is determined that the parameter verification of typing in the target data library test is not passed through.
9. a kind of electronic equipment, including memory, processor, which is characterized in that the processor is deposited for executing in memory The step of data verification method as described in any one of claim 1 to 5 is realized when the computer management class method of storage.
10. a kind of computer readable storage medium is stored thereon with computer management class method, it is characterised in that: the calculating Machine management class method realizes the step of the data verification method as described in any one of claim 1 to 5 when being executed by processor Suddenly.
CN201910427735.5A 2019-05-22 2019-05-22 A kind of data verification method and relevant device Pending CN110309052A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910427735.5A CN110309052A (en) 2019-05-22 2019-05-22 A kind of data verification method and relevant device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910427735.5A CN110309052A (en) 2019-05-22 2019-05-22 A kind of data verification method and relevant device

Publications (1)

Publication Number Publication Date
CN110309052A true CN110309052A (en) 2019-10-08

Family

ID=68075490

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910427735.5A Pending CN110309052A (en) 2019-05-22 2019-05-22 A kind of data verification method and relevant device

Country Status (1)

Country Link
CN (1) CN110309052A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110781191A (en) * 2019-10-30 2020-02-11 聚好看科技股份有限公司 Processing method of layout data and server
CN111953354A (en) * 2020-06-30 2020-11-17 上海美仁半导体有限公司 Testing method of verification algorithm, chip, storage medium and household appliance
CN112069054A (en) * 2020-07-22 2020-12-11 北京思特奇信息技术股份有限公司 Method and system for end-to-end configuration test of configuration requirement class
CN112532447A (en) * 2020-11-27 2021-03-19 锐捷网络股份有限公司 RDMA parameter configuration method, device and storage medium
CN113051008A (en) * 2021-04-01 2021-06-29 金蝶软件(中国)有限公司 Interface request processing method and device, computer equipment and storage medium
CN113704123A (en) * 2021-08-31 2021-11-26 平安银行股份有限公司 Interface test method, device, equipment and storage medium
CN114138577A (en) * 2021-11-29 2022-03-04 苏州浪潮智能科技有限公司 TPC-H testing method and device, computer equipment and storage medium
CN114388053A (en) * 2022-01-04 2022-04-22 北京得瑞领新科技有限公司 SSD data testing method and device, storage medium and testing equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100070713A (en) * 2008-12-18 2010-06-28 주식회사 코아로직 Method and system for automatically testing database system based on scenario
US20110088014A1 (en) * 2009-10-08 2011-04-14 International Business Machines Corporation Automated test execution plan generation
CN105138685A (en) * 2015-09-17 2015-12-09 福建新大陆软件工程有限公司 HBase-oriented performance testing system
CN108255712A (en) * 2017-12-29 2018-07-06 曙光信息产业(北京)有限公司 The test system and test method of data system
CN109213685A (en) * 2018-09-29 2019-01-15 阿里巴巴集团控股有限公司 Service logic test method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100070713A (en) * 2008-12-18 2010-06-28 주식회사 코아로직 Method and system for automatically testing database system based on scenario
US20110088014A1 (en) * 2009-10-08 2011-04-14 International Business Machines Corporation Automated test execution plan generation
CN105138685A (en) * 2015-09-17 2015-12-09 福建新大陆软件工程有限公司 HBase-oriented performance testing system
CN108255712A (en) * 2017-12-29 2018-07-06 曙光信息产业(北京)有限公司 The test system and test method of data system
CN109213685A (en) * 2018-09-29 2019-01-15 阿里巴巴集团控股有限公司 Service logic test method and device

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110781191A (en) * 2019-10-30 2020-02-11 聚好看科技股份有限公司 Processing method of layout data and server
CN111953354A (en) * 2020-06-30 2020-11-17 上海美仁半导体有限公司 Testing method of verification algorithm, chip, storage medium and household appliance
CN112069054A (en) * 2020-07-22 2020-12-11 北京思特奇信息技术股份有限公司 Method and system for end-to-end configuration test of configuration requirement class
CN112069054B (en) * 2020-07-22 2023-11-21 北京思特奇信息技术股份有限公司 Method and system for testing end-to-end configuration of configuration requirement class
CN112532447A (en) * 2020-11-27 2021-03-19 锐捷网络股份有限公司 RDMA parameter configuration method, device and storage medium
CN113051008A (en) * 2021-04-01 2021-06-29 金蝶软件(中国)有限公司 Interface request processing method and device, computer equipment and storage medium
CN113704123A (en) * 2021-08-31 2021-11-26 平安银行股份有限公司 Interface test method, device, equipment and storage medium
CN113704123B (en) * 2021-08-31 2024-04-23 平安银行股份有限公司 Interface testing method, device, equipment and storage medium
CN114138577A (en) * 2021-11-29 2022-03-04 苏州浪潮智能科技有限公司 TPC-H testing method and device, computer equipment and storage medium
CN114138577B (en) * 2021-11-29 2024-01-19 苏州浪潮智能科技有限公司 TPC-H test method and device, computer equipment and storage medium
CN114388053A (en) * 2022-01-04 2022-04-22 北京得瑞领新科技有限公司 SSD data testing method and device, storage medium and testing equipment

Similar Documents

Publication Publication Date Title
CN110309052A (en) A kind of data verification method and relevant device
CN105580032B (en) For reducing instable method and system when upgrading software
US7188061B2 (en) Simulation monitors based on temporal formulas
CN111722839B (en) Code generation method and device, electronic equipment and storage medium
CN108345532A (en) A kind of automatic test cases generation method and device
CN107844424A (en) Model-based testing system and method
CN112052172B (en) Rapid test method and device for third-party channel and electronic equipment
CN105868956A (en) Data processing method and device
CN111309581B (en) Application performance detection method and device in database upgrading scene
CN113868120A (en) Industrial software debugging method and device, computer equipment and storage medium
CN115145817A (en) Software testing method, device, equipment and readable storage medium
US20070180411A1 (en) Method and apparatus for comparing semiconductor-related technical systems characterized by statistical data
CN112600936B (en) Quantification and evaluation method for cloud computing system service
CN115248782B (en) Automatic testing method and device and computer equipment
Mirzapourrezaei et al. Simulation of a manufacturing assembly line based on witness
CN111767218A (en) Automatic testing method, equipment and storage medium for continuous integration
Chai et al. Modeling distributed platforms from application traces for realistic file transfer simulation
CN110321280A (en) A kind of data processing method and relevant device
Patel et al. A study of component based software system metrics
CN113986753A (en) Interface test method, device, equipment and storage medium
CN110334003A (en) A kind of flow designing method and relevant device
CN114595216A (en) Data verification method and device, storage medium and electronic equipment
Nicolaescu et al. The ARAMIS Workbench for Monitoring, Analysis and Visualization of Architectures based on Run-time Interactions.
CN110334002A (en) A kind of design methods and relevant device
CN113392436A (en) CAE analysis software and office software integrated control method and platform

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20191008

RJ01 Rejection of invention patent application after publication