CN106845781A - The generation system and method for scene and flow for operational trials - Google Patents

The generation system and method for scene and flow for operational trials Download PDF

Info

Publication number
CN106845781A
CN106845781A CN201611198201.2A CN201611198201A CN106845781A CN 106845781 A CN106845781 A CN 106845781A CN 201611198201 A CN201611198201 A CN 201611198201A CN 106845781 A CN106845781 A CN 106845781A
Authority
CN
China
Prior art keywords
factor
scene
business
type
extracted
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
CN201611198201.2A
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.)
China Citic Bank Corp Ltd
Original Assignee
China Citic Bank Corp 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 China Citic Bank Corp Ltd filed Critical China Citic Bank Corp Ltd
Priority to CN201611198201.2A priority Critical patent/CN106845781A/en
Publication of CN106845781A publication Critical patent/CN106845781A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0633Workflow analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management

Abstract

The present invention provides a kind of system and method for being capable of system and the scene and flow that are reliably produce miscellaneous service test so that can reliable and comprehensively carry out operational trials analysis.The flow generation system of the operational trials includes:Factor storehouse, for storing as forming a factor for the minimal service element of business;Factor extracting unit, extracts the factor matched with the keyword extracted from business expository writing shelves from factor storehouse;Whether scene generation unit, makes the factor that factor extracting unit is extracted according to predetermined for specifying to have between each factor the factor relationships table pack of the relation of can be combined into scene;And scene sequencing unit, make scene generation unit generate scene according to the predetermined scene relation list sorting for the ordering relation between each scene in regulation business product process.

Description

The generation system and method for scene and flow for operational trials
Technical field
The present invention relates to operational trials analysis system, more particularly to the scene and flow that operational trials can be automatically generated for System and method.
Background technology
The need for adapt to business development and risk management, many enterprises all develop or introduce business management system etc., Complexity is different, such as kernel business of bank system because of its class of business, business operation etc. for such business management system, its The heart of banking system running as cash in banks, the important component of loan accounting processing etc., it is all on Deposit, the business operation of loan account are completed in core business system.Its main business for example includes customer information Management, deposit business, loan transaction, general ledger and these are deposited, the daytime operation of loan account etc..
In addition, with the continuous developing and innovation of business, it is often necessary to the software for meeting new business needs more newly developed System etc..When a certain software systems newly developed to meet such service needed, it is necessary to the split software system for distributing System in formal the reach the standard grade business diagnosis of advance row and operational trials, with verify its whether can complete required various functions, with And whether can adapt to the various scenes that may occur when practical business is operated.
Implementing for traditional method for testing and analyzing be:Manual analysis business demand, one by one plucks demand by function point Record, sequence, analysis, form scene requirement documents, and supplement the implicit demands such as industry universal rule, the good entry of all combings Change demand carries out scene sequence according to actual services and functional realiey, then with sorted links be according to carry out flow write and after It is continuous to perform.
The analysis result of this method is heavily dependent on personal work experience and professional knowledge ability, and analysis effect Rate is relatively low.For the tester for being unfamiliar with this project business scope, business demand is taken passages quality and cannot be ensured, implicit demand rule Then supplement cannot be comprehensive, and test analysis coverage rate cannot be up to standard, and project quality cannot be ensured.
In addition, enriching constantly with class of business, project is on the increase, and is needed when starting a new business to original industry Business system carries out adding for New function module etc., when new additional functional module is related to extraction of former functional module or data etc. When, it is necessary to be directed to New function make various tests with flow carry out stability test.Due to what's new and the phase of former function Mutually intersect etc., tester is accomplished by Establishing process and grasps intercrossing of the old and new's function etc. comprehensively, to the industry of tester Business grasp ability proposes requirement very high.Therefore, conventional method cannot adapt to bulk items and combined mega project Test analysis need, and in order to improve analysis efficiency, influence of the individual factor to analysis result are reduced, in the urgent need to one kind can be System and reliably write out the scene and flow of miscellaneous service test so that can reliable and comprehensively carry out operational trials analysis Scene and flow generation system and method.
The content of the invention
For the demand, the present inventor have devised one kind can system and reliably write out miscellaneous service test use Scene and flow scene and flow generation system and method so that can reliable and comprehensively carry out operational trials analysis.
A scheme of the invention is that a kind of scene for operational trials generates system, and it includes:Factor storehouse, for depositing Storage is used as forming a factor for the minimal service element of business;Factor extracting unit, extracts and from originally from factor storehouse The factor that the keyword that the explanation document of business is extracted matches;And scene generation unit, extract factor extracting unit The factor according to predetermined for specifying whether to have between each factor the factor relationships table pack of the relation of can be combined into scene.
In the scene generation system, the factor can carry identification information and show the type letter of the type of the factor Breath;Type at least includes product, role, channel, time, event, condition, the type of result seven;The type information of the factor is used for Show that the factor is at least one in seven type.
In the action of factor extracting unit and scene generation unit, product, role in the factor, channel, time, thing Part, the factor of condition types can be divided into business core layer, business execution level, business genetic horizon, business roles layer to enter Row treatment, wherein business core layer include the product type factor, and business execution level includes event and the condition types factor, business hair Generating layer includes time and the channel type factor, and business roles layer includes the character types factor.
Factor extracting unit can according to business core layer, business execution level, business genetic horizon, business roles layer order Successively decimation factor.
Factor extracting unit can extract the keyword extracted with the explanation document from this business from factor storehouse first The factor of type matching, belonging to business core layer, referring next to factor relationships table, successively extracts and the category for having extracted There is the factor of the relation of can be combined between the factor of the type of preceding layer, and with reference to factor relationships table, extract and extracted The event type factor has the factor of the result type of the relation of can be combined.
Factor extracting unit can belong to the factor of business execution level, business genetic horizon, business roles layer in successively extraction When, factor relationships table is respectively referred to, be can be combined not having between the factor of type that is therein and belonging to this layer and preceding layers The factor of relation is weeded out as redundancy.
Scene generation unit is referred to the factor relationships table, is performed according to business roles layer, business genetic horizon, business Layer, the order of business roles layer make to adhere to the combinations of factors of each layer separately, and are taken according to the condition types factor used in this combination With the corresponding result type factor, scene is generated.
Factor extracting unit can include:Extracted from factor storehouse and matched with the keyword extracted from business expository writing shelves The product type factor module;With reference to factor relationships table, extract has combined pass with the product type factor for having extracted The module of the event type factor of system;With reference to factor relationships table, the event type factor for extracting and having extracted has respectively can The condition types of syntagmatic, time type, channel type, the module of the factor of result type;With reference to factor relationships table, from Having when weeding out different between the three types factor in the condition types, time type, the factor of channel type that extract can The module of the factor of syntagmatic;And with reference to factor relationships table, extract and condition types, time type, the channel after rejecting The factor of type has the module of the character types factor of combined relation simultaneously.
Scene generation unit can make the factor that extracts by character types, time type, channel type, event type, The sequential combination of condition types, product type, and with reference to factor relationships table, according to the condition types factor used in this combination Arrange in pairs or groups the corresponding result type factor, generate scene.
Scene generation system of the invention can also include:Factor maintenance unit, when not said with from business in factor storehouse During the factor that the keyword that plaintext shelves are extracted matches, generate the new factor corresponding with the keyword and store in factor storehouse, and Explanation document according to this business, for each factor and the combined relation updating factor relation table of the new factor.Scene is generated Unit can make the factor that factor extracting unit extracts and the new factor of factor maintenance unit generation according to the factor after renewal Relation table is combined into scene.
Scene generation system of the invention can also include:Scene library, for the scene of saving scenario generation unit generation.
Another program of the present invention is that a kind of flow for operational trials generates system, including:Foregoing scene life Into system;And scene sequencing unit, make the scene that scene generation unit is generated according to each field in the predetermined business for regulation The scene relation list sorting of the ordering relation between scape and form executable flow.
Flow generation system can also include:Flow storehouse, for the flow of saving scenario sequencing unit generation.
Another scheme of the invention is a kind of scene generating method for operational trials, including:Factor extraction step, The factor that the keyword extracted with the explanation document from this business matches is extracted from factor storehouse;Scene generation step, make because The factor that sub- extraction step is extracted is according to predetermined factor relationships table pack into scene.Wherein, the factor is for forming one The minimal service element of business;Whether factor relationships table is used to specify have the relation of can be combined between each factor.
Another scheme of the invention is a kind of flow generation method for operational trials, including:Foregoing field Scape generation method;And scene sequence step, make the scene that scene generation step is generated according in the predetermined business for regulation The scene relation list sorting of the ordering relation between each scene and form executable flow.
By above technical scheme, using the teaching of the invention it is possible to provide a kind of system and reliably to write out the scene of miscellaneous service test And the generation system and method for flow so that can reliable and comprehensively carry out operational trials analysis.
Brief description of the drawings
Fig. 1 is the schematic diagram for illustrating to disassemble into business scene, the concept of the factor.
Fig. 2 is the figure for illustrating factor pattern of the invention.
Fig. 3 is the schematic diagram for illustrating the process of factor extraction of the invention and scene generation.
Fig. 4 is that factor extraction of operational trials flow and combinations thereof into scene is write in explanation by taking bank's related service as an example A figure for example.
Fig. 5 is the figure for illustrating the generating process of the operational trials flow containing the new factor.
Fig. 6 is the functional block diagram for illustrating the system for realizing operational trials flow generation method of the invention.
Specific embodiment
The summary of the generation method of the scene for operational trials of the invention and flow is illustrated first.
Present invention original creation factor scene method.Fig. 1 is the signal for illustrating to disassemble into business scene, the concept of the factor Figure.As shown in figure 1, first, it is several nodes that a business to be tested can be disassembled according to business operation order, and node is Phasic results in whole business, and nodename, node sequence number, service product, stream are included by prespecified The scene relation table of the information such as journey title makes node serial or parallel connection, constitutes whole business.
In each node, for example again may be because of the difference of executive agent, execution time, execution condition etc. comprising several Scene, scene can be normal scene (scene that can smoothly run succeeded), or abnormal scene (i.e. because not meeting Business handling condition etc. and perform failure scene).Annexation between nodename, scene and field where each scene The information such as the operation factor involved by scape are predefined in scene relation table.
Each scene for example by executive agent, perform channel, perform the time, perform condition, perform event, service product, The operation factors such as implementing result are constituted, wherein factor reusable.Operation factor be the Business Entity with practical significance, business move The minimal service element such as work, business rule, each factor is assigned the information such as factor mark, attribute, state according to predetermined rule, And set up database carry out classify storage and management.
Furthermore it is possible to the editor such as the factor data storehouse is increased and decreased or changed according to tested business demand safeguard.Needing When the flow for carrying out operational trials is write, the business with this secondary test is extracted from factor storehouse according to predetermined rule Associated operation factor, and carry out the permutation and combination of correlation factor automatically according to prespecified combinations of factors relation, generate Meet the scene of the operational trials demand, finally couple together to form flow at predetermined regular by the scene of each node.Work as because When there is no the required factor in word bank, in the required factor being filled into factor storehouse, and the mark of its correlation, category are assigned Property, the information such as state, while being updated to the combined relation between the new factor and the existing factor.
In short, the scene generation system for operational trials of the invention includes:Factor storehouse, for storing as use In one factor of the minimal service element of business of formation;Factor extracting unit, extracts and froming the perspective of from this business from factor storehouse The factor that the keyword that plaintext shelves are extracted matches;And scene generation unit, make the factor that factor extracting unit is extracted by According to predetermined for specifying whether to have between each factor the factor relationships table pack of the relation of can be combined into scene.Wherein, the factor It is for forming a minimal service element for business.In addition, make scene generation system combined with scene sequencing unit, then Constitute the flow for operational trials of the invention and generate system.The scene sequencing unit is used to generate scene generation unit Scene form executable according to the predetermined scene relation list sorting for the ordering relation between each scene in regulation business Flow.
In addition, when in factor storehouse not with from business expository writing shelves extract keyword match the factor when, generation with The corresponding new factor storage of the keyword in factor storehouse, and according to the explanation document of this business, for each factor and this it is new because The combined relation updating factor relation table of son.Scene generation unit can make the factor and the factor that factor extracting unit is extracted The new factor of maintenance unit generation is according to the factor relationships table pack after renewal into scene.
The following detailed description of.
(1) operation factor and its classification
Operation factor is the minimal service element of the Business Entity with practical significance, business action, business rule etc..Often Individual operation factor has corresponding data dictionary.Data dictionary can be realized by several fields, and the factor is stored respectively The information such as mark, attribute and state.The identification information of the so-called factor, for example, can be the numbering of the factor, title, definition, affiliated Business etc.;The attribute information of the so-called factor, the factor pattern that can be for example discussed further below etc.;The status information of the so-called factor, For example can be date of formation, maintenance dates, last associated item, factor availability (whether can be used) of the factor etc..Each industry Business the factor pass through its data dictionary field in information and can position, may be updated, reusable.
Database (calling factor storehouse in the following text) is set up for operation factor, and classify storage and management are carried out according to its type.For Raising write testing process efficiency, ensure testing process key element it is comprehensive, preferred pair operation factor is according to such as industry of Fig. 2 Classify as shown in business factor pattern explanatory diagram, specifically, factor pattern can include:
" product ":Business core content.Can be related to certain business bar line, the specific industry of certain class from for operational angle Business product.For example:Fixed deposit business, current deposit business etc..
" role ":Act the executive agent for occurring, it is understood that be the operator or user of system.For example:Handle People, check people etc..
" channel ":Channel or system that action may occur.For example:Web bank, Mobile banking, wechat bank etc..
" time ":Act generable time point or time period.For example:Non operation time, to leave of absence to attend to public affairs day, business hours Deng.
" event ":The action that may truly occur.For example:Withdraw the money, deposit etc..
" condition ":The factor that permission/constraint/influence business, operation are carried out.Account terms, logic can be for example categorized as will Plain condition, physical element condition, mechanism's condition, conjunction rule condition etc..
" result ":The result that action is produced after occurring, including the result obtained after normal/abnormal flow terminates.Result can Can be normal, it is also possible to be exception, it is also possible to be output formula.For example:Success, failure, inspection formula of specific data value etc..
Wherein, on " condition ", for bank's related service, for example, account terms, logical element bar can be included Part, physical element condition, mechanism's condition, conjunction rule condition etc..
So-called account terms, refer to the condition relevant in itself with account, such as account status, Account Type, account balance Whether abundance etc..
So-called logical element condition, refers to the condition related to service logic key element, for example:Bill date of draft can not be big In due date etc..
So-called physical element condition, refers to the condition related to tangible media, such as USBKEY, deposit receipt.
So-called mechanism's condition, refers to the related condition of the mechanism that is related to of business, such as head office, between branch, subbranch;Beijing Between Shanghai etc..
So-called conjunction rule condition, refers to the condition relevant with relevant institutions laws and regulations, and such as system of real name is opened an account.
Classified by the as above factor, the factor is separated, can quickly searched according to demand and extract the required factor, pressed Permutation and combination is carried out according to factor relationships table described later, the efficiency of writing scene and flow has not only been improved but also has been ensured scene and flow Key element it is comprehensive.
In addition, the result produced by the scene that acts of " result " factor representation, represents the end of the scene.At some In the case of, " result " factor of a scene is likely to become " condition " factor of another scene, such as when A scenes turn into B scenes During the precondition of execution, " result " factor of A scenes will turn into " condition " factor of B scenes, i.e. " result " of A scenes because Son is also just into a part for B scenes.This is also described hereinafter.
Herein it should be noted that above-mentioned mode classification covers the required whole fundamentals of business action, but From for the angle of the permutation and combination of the factor, when above-mentioned a certain type only has a factor, do not have various factors it is available, from And when there is multiple combination scheme, the type and its factor just do not have substantive significance for the possibility of permutation and combination , the type and its factor can also be now omitted, it is when complete scene is write, the content of this type and its factor is automatic It is added to flow.
The above factor is stored in the way of database in a computer, and can be set up factor data table and come by type Each factor is stored and manages, the efficiency thus, it is possible to improve factor extraction.
(2) extraction of the factor
For the combined relation of each factor, factor relationships table is set up according to practical business executing rule etc. in advance, the table In define which factor can constitute scene with which combinations of factors, do not show to be combined in the factor relationships table because Son can not be combined.
Fig. 3 is the schematic diagram for illustrating the process of factor extraction of the invention and scene generation.Reference picture 3, it is contemplated that The efficiency of operation factor is extracted according to the screening of factor relationships table, factor type is directed in factor extraction process and scene generating process Type and be divided into business core layer, business execution level, business genetic horizon, business roles layer this four layers and processed.Wherein it is possible to It is operation factor of the business core layer including " product " type, business execution level includes " event " and " condition " two industry of type The business factor, business genetic horizon includes " time " and " channel " two operation factors of type, and business roles layer includes " role " class The operation factor of type.
During decimation factor, preferably according to business core layer, business execution level, business genetic horizon, business roles The order successively decimation factor of layer.First, the keyword phase extracted with the explanation document from this business is extracted from factor storehouse Matching, the factor of type (i.e. " product " type) that is belonging to business core layer, referring next to factor relationships table, successively extract with There is the factor of the relation of can be combined between the factor of the type of preceding layer that what is extracted belong to, and with reference to factor relationships table, extract With the factor of the result type that the event type factor for having extracted has the relation of can be combined.That is, according to the type of adjacent layer Relation can be combined between the factor, successively extract.
Specifically, the explanation document first to business to be measured carries out keyword retrieval, extract its explanation document in The keyword of reflection business core content, will belong to type, i.e. " product " class of business core layer in the keyword and factor storehouse The factor of type is matched, and filters out the factor of whole " product " type of correlation.
Next, with reference to factor relationships table, extract has the relation of can be combined, category with selected " product " the type factor Type, i.e. " event ", the factor of " condition " type in business execution level.Now, extracted and follow-up scene to improve the factor The efficiency of generation, preferably with reference to factor relationships table, by " event " factor and " condition " therebetween without the relation of can be combined The factor is weeded out as redundancy.
Next, with reference to factor relationships table, extraction has respectively with the factor of selected " event ", " condition " type can Syntagmatic, belong to the type of business genetic horizon, i.e. " time ", the factor of " channel " type.Now, it is similarly the raising factor Extract and the generation of follow-up scene efficiency, preferably with reference to factor relationships table, by therebetween without the relation of can be combined " when Between " factor and " channel " factor weed out as redundancy, also, by " time ", the factor of " channel " type with belong to The factor without the relation of can be combined between the type of business core layer, the i.e. factor of " product " type is weeded out as redundancy.
Then, with reference to factor relationships table, extraction has respectively with the factor of selected " time ", " channel " type can group The factor of " role " type of conjunction relation.Now, the efficiency for improving that the factor is extracted and follow-up scene is generated is similarly, is preferably joined According to factor relationships table, by the factor of " role " type with belong to business execution level, the type of business core layer, i.e. " thing The factor without the relation of can be combined between part ", " condition ", the factor of " product " type is weeded out as redundancy.
In addition, with reference to factor relationships table, extracting " the knot that there is the relation of can be combined with selected " event " the type factor Really " the factor of type.
For conclusion, successively taken out according to the order of business core layer, business execution level, business genetic horizon, business roles layer Take the factor.That is, extracted from factor storehouse first it is matching with the keyword extracted from the explanation document of this business, belong to industry The factor of the type of core layer of being engaged in, referring next to factor relationships table, successively extracts and the type for belonging to preceding layer for having extracted The factor between there is the factor of the relation of can be combined, and with reference to factor relationships table, extract and the event type factor tool for having extracted There is the factor of the result type of combined relation.Successively extract belong to business execution level, business genetic horizon, business roles layer During the factor, factor relationships table is respectively referred to, can by not having between the factor of type that is therein and belonging to this layer and preceding layers The factor of syntagmatic is weeded out as redundancy.
Further, since whole business is substantially conspired to create by several events, therefore further to improve what screening was extracted Efficiency, it is also possible to the which first factor based on " product " type extracts " event " the type factor for having combined relation with it, so Afterwards with reference to factor relationships table, " condition ", " time ", " canal respectively with " event " factor with the relation of can be combined are extracted The factor in road ", " result " type, then makees " condition ", the factor without the relation of can be combined between " time ", " channel " three For redundancy is weeded out.Referring next to factor relationships table, extract with remaining " condition ", " time ", " channel " type the factor There is the factor of " role " type of combined relation simultaneously.
(3) generation of scene and flow
After extracting all correlation factors as described above, the execution of the scene for being generated for convenience, preferably as shown in Figure 3 Like that, according to business roles layer, the order of business genetic horizon, business execution level, business core layer, make respectively with reference to factor relationships table Factorial arrangement is combined, and according to the condition types factor corresponding result type factor of collocation used in this combination, is combined into Scene.
For ease of understanding, Fig. 4 shows the example of the scene generation of the operational trials by taking bank's related service as an example.Example As being previously stored with the following factor in factor storehouse:
" role ":Personal A, individual B, to public A, to public B, mechanism A ...
" time ":Business hours on working day, working day non operation time, business hours legal festivals and holidays, legal festivals and holidays Non operation time, securities market time ...
" channel ":Net silver BS, Net silver CS, Mobile banking, cabinet face, self-service terminal machine ...
" event ":Deposit, transfer accounts, finance product is bought, open-ended fund are redeemed, financing ...
" condition ":Account balance is sufficient, account balance is not enough, account is abnormal, medium is abnormal, Ukey certificate expireds ...
" product ":Current deposit, fixed deposit, open-ended fund, expected type finance product, net value type finance product ...
" result ":Postpone purchase, legal festivals and holidays of success, failure, CVV check errors, legal festivals and holidays postpone and redeem Return ...
By taking retail trade as an example, for its service description document, by as above factor extraction process, in having extracted Fig. 4 The factor (be illustrative ease, each type only extracts two factors in example) of grey, and then, all types of combinations of factors go out as Lower scene:
Scene 1:Personal A, the business hours on weekdays, in cabinet face buying expectation type finance product, fills in account balance In the case of foot, buy successfully;
Scene 2:Personal B, in the non operation time of legal festivals and holidays, redeems open-ended fund, in account in Mobile banking In the case of remaining sum abundance, legal festivals and holidays, redemption of postponing are pointed out.
It is combined go out scene sequencing numbers can be endowed by the order based on each node in scene relation table, belong to The scene of same node is identified the upper node number so that sequencing is formed between each scene of adjacent node and front and rear dependence is closed System, ultimately forms flow.The scene for having generated can be stored in standby in scene library so that be carried out for similar business later During operational trials, the scene is directly extracted from scene library, so as to save decimation factor again and be combined into these The process of scape, it is possible to increase the efficiency of operational trials.
In addition, established flow can also be stored in it is standby in flow storehouse so that carried out for similar business later During operational trials, the flow is directly extracted from flow storehouse, the process of these flows is regenerated so as to save, can Improve the efficiency of operational trials.
(4) generation of the scene and flow of new business
When continuous developing and innovation with business occur in that new business, in the service description document of new business It is possible that the new factor in not being embodied in factor storehouse.Now, keyword is extracted from business expository writing shelves, by itself and original There is the factor in factor storehouse to be matched, for the factor that can be matched, phase is extracted from factor storehouse according to as above method The factor answered, and for not matching the keyword of the factor, generate its corresponding new factor and be saved in factor storehouse, while According to the explanation document of this business, for the combined relation updating factor relation table between these new factors and original factor.
Fig. 5 is the figure for illustrating the generating process of the operational trials flow containing the new factor.First, for new industry Business, illustrates that document is updated (not shown) to scene relation table according to it.Then, shown in reference picture 5, by the new factor and from because Extracted in word bank it is related to the business accumulated historical factors together be combined according to the factor relationships table after renewal, New scene of the generation containing the new factor, is saved into scene library.In addition, for not used during combinations of factors The scene of the new factor, directly can extract from the historic scenery of accumulation related to the business.Finally by new scene and accumulate Tired historic scenery is attached according to the scene relation table after renewal, forms new flow.The flow can be stored in flow In storehouse, to need to carry out during the test of related service later, the flow can be directly called from flow storehouse, it is to avoid same The waste and the reduction of operating efficiency that repeatedly generate caused system resource of flow.
(5) system for performing the generation method of above-mentioned scene and flow
Above-mentioned scene and flow generation method can be realized using computer etc. in the way of software and hardware combining.Fig. 6 shows A kind of functional block diagram of the system for realizing above-mentioned scene and flow generation method.
As shown in fig. 6, flow generation system includes execution unit 100 and database 200.Execution unit 100 includes Factor extracting unit 110, scene generation unit 120, scene sequencing unit 130, factor maintenance unit 140.
Database 200 includes scene library 220, the storage of the scene that the factor storehouse 210 of the storage service factor, storage have generated The flow storehouse 230 of the flow for having generated, for specifying all types of factors between combined relation factor relationships table 240, by class Type preserves the factor data tables 250 of information such as the data dictionary corresponding to each factor and between each scene in regulation business Ordering relation scene relation table 260.
Factor extracting unit 110 includes extracting the tested requirement extract function of keyword from business expository writing shelves and presses The factor that the factor matched with the keyword extracted from business expository writing shelves is extracted from factor storehouse according to factor relationships table 240 is taken out Take function.
Scene generation unit 120 includes making the factor that factor extracting unit 110 is extracted be combined according to factor relationships table 240 The scene calling function of the historic scenery for having generated is called into the scene systematic function of scene and from scene library.
The scene for generating scene generation unit 120 that scene sequencing unit 130 includes sort according to scene relation table 260 and The flow systematic function of product process and the process invocation function of the history flow for having generated is called from flow storehouse.
Factor maintenance unit 140 includes the keyword generation extracted from business expository writing shelves according to factor extracting unit 110 The new factor corresponding with the keyword is simultaneously stored to the new factor systematic function in factor storehouse 210, to the factor in factor storehouse 210 Carry out edit-modify factor editting function and according to the explanation document of this business to factor relationships table 240 in each factor Between combined relation enter edlin maintenance factor relationships maintenance function.
In addition, in the above description, illustrating whether to have can be combined between specifying each factor by factor relationships table to close The mode of system, when the factor is more or relation between it is extremely complex, it is also possible to prepare multiple factor relationships tables to specify it Between combined relation, the plurality of table can also Components relation storehouse form.Similarly, for specifying scene between company The scene relation table for connecing relation can also be multiple tables, constitute the form in scene relation storehouse.
In addition, factor relationships table 240, factor data table 250 can also constitute a database, scene with factor storehouse 210 Relation table 260 can also constitute a database with scene library 220.Or, they can also constitute a number with flow storehouse 230 According to storehouse.
The scene and flow generation method and system of operational trials of the invention described above, can constantly update industry Business factor storehouse, scene library, flow storehouse, grow resource accumulation.Due to using by by attribute for example Business Entity, business action etc. carried out The minimal service combinations of factors of Classification Management forms new scene and flow, therefore operation factor extent for multiplexing is high, factor storehouse, field Jing Ku, flow Kucheng are the resource container with duplication of production ability, can make the scene analysis of operational trials more comprehensively, Stabilization, reliability, solve the problems, such as that the flow covering caused by the limitation that individual is understood business is not enough.Due to being to be System automatic batch generation scene and flow, therefore analysis and preparation time before test can be shortened, test analysis efficiency is improved, Compression verification analytical cycle.

Claims (26)

1. a kind of scene for operational trials generates system, it is characterised in that including:
Factor storehouse, for store as formation one factor of the minimal service element of business,
Factor extracting unit, extracted from the factor storehouse with the keyword from the extraction of the explanation document of this business match because Son, and
Scene generation unit, makes the factor that the factor extracting unit is extracted according to predetermined for specifying to be between each factor The no factor relationships table pack with combined relation is into scene.
2. scene as claimed in claim 1 generates system, it is characterised in that
Type information of the factor with identification information and the type for showing the factor;
The type at least includes product, role, channel, time, event, condition, the type of result seven;
The type information of the factor is used to show that the factor is at least one in seven type.
3. scene as claimed in claim 2 generates system, it is characterised in that
In the action of the factor extracting unit and the scene generation unit, product, role, channel in the factor, Time, event, the factor of condition types are divided into business core layer, business execution level, business genetic horizon, business roles layer and come Processed, wherein the business core layer includes the product type factor, the business execution level includes event and condition types The factor, the business genetic horizon includes time and the channel type factor, and the business roles layer includes the character types factor.
4. scene as claimed in claim 3 generates system, it is characterised in that
The factor extracting unit is according to the business core layer, the business execution level, the business genetic horizon, the business The order of role's layer successively extracts the factor.
5. scene as claimed in claim 4 generates system, it is characterised in that
The factor extracting unit extracts the keyword phase extracted with the explanation document from this business from factor storehouse first The factor of type matching somebody with somebody, belonging to the business core layer, referring next to the factor relationships table, successively extracts and has extracted The type for belonging to preceding layer the factor between there is the factor of the relation of can be combined, and with reference to the factor relationships table, extract with The event type factor for extracting has the factor of the result type of the relation of can be combined.
6. scene as claimed in claim 5 generates system, it is characterised in that
The factor extracting unit belongs to the business execution level, the business genetic horizon, the business roles in successively extraction During the factor of layer, the factor relationships table is respectively referred to, by between the factor of type that is therein and belonging to this layer and preceding layers The factor without combined relation is weeded out as redundancy.
7. the scene as described in any one of claim 3 to 6 generates system, it is characterised in that
The scene generation unit with reference to the factor relationships table, according to business roles layer, the business genetic horizon, described Business execution level, the order of business roles layer make to adhere to the combinations of factors of each layer separately, and according to the bar used in this combination The corresponding result type factor of part type factor collocation, generates scene.
8. scene as claimed in claim 2 generates system, it is characterised in that
The factor extracting unit includes:
The module of the product type factor matched with the keyword extracted from business expository writing shelves is extracted from factor storehouse,
With reference to the factor relationships table, the event class that there is the relation of can be combined with the product type factor for having extracted is extracted The module of the type factor,
With reference to the factor relationships table, the bar respectively with the event type factor for having extracted with the relation of can be combined is extracted Part type, time type, channel type, the module of the factor of result type,
With reference to the factor relationships table, rejected from the condition types, time type, the factor of channel type that have extracted The module of the factor with combined relation when falling different between the three types factor, and
With reference to the factor relationships table, extract and the condition types, time type, the factor of channel type after the rejecting There is the module of the character types factor of combined relation simultaneously.
9. scene as claimed in claim 8 generates system, it is characterised in that
The scene generation unit make the factor that extracts by the character types, time type, channel type, event type, The sequential combination of condition types, product type, and with reference to the factor relationships table, according to the condition types used in this combination The corresponding result type factor of factor collocation, generates scene.
10. scene as claimed in claim 1 generates system, it is characterised in that also include:
Factor maintenance unit, it is raw when the factor not matched with the keyword extracted from business expository writing shelves in factor storehouse In into new factor storage corresponding with the keyword to the factor storehouse, and according to the explanation document of this business, for each factor Combined relation with the new factor updates the factor relationships table;
The scene generation unit makes the new of the factor that the factor extracting unit extracts and factor maintenance unit generation The factor is according to the factor relationships table pack after renewal into scene.
11. scene generation systems as claimed in claim 1, it is characterised in that also include:
Scene library, the scene for preserving the scene generation unit generation.
A kind of 12. flows for operational trials generate system, it is characterised in that including:
Scene generation system described in any one of claim 1 to 11, and
Scene sequencing unit, makes the scene of the scene generation unit generation according between each scene in the predetermined business for regulation Ordering relation scene relation list sorting and form executable flow.
13. flow generation systems as claimed in claim 12, it is characterised in that also include:
Flow storehouse, the flow for preserving the scene sequencing unit generation.
A kind of 14. scene generating methods for operational trials, it is characterised in that including:
Factor extraction step, extracts the factor that the keyword extracted with the explanation document from this business matches from factor storehouse,
Scene generation step, makes the factor that the factor extraction step is extracted according to predetermined factor relationships table pack into field Scape;
Wherein, the factor is for forming a minimal service element for business;
Whether the factor relationships table is used to specify have the relation of can be combined between each factor.
15. scene generating methods as claimed in claim 14, it is characterised in that
Type information of the factor with identification information and the type for showing the factor;
The type at least includes product, role, channel, time, event, condition, the type of result seven;
The type information of the factor is used to show that the factor is at least one in seven type.
16. scene generating methods as claimed in claim 15, it is characterised in that
In the factor extraction step and the scene generation step, product, role in the factor, channel, time, thing Part, the factor of condition types are divided into business core layer, business execution level, business genetic horizon, business roles layer to be located Reason, wherein the business core layer includes the product type factor, the business execution level includes event and the condition types factor, institute Stating business genetic horizon includes time and the channel type factor, and the business roles layer includes the character types factor.
17. scene generating methods as claimed in claim 16, it is characterised in that
In the factor extraction step, according to the business core layer, the business execution level, the business genetic horizon, institute The order for stating business roles layer successively extracts the factor.
18. scene generating methods as claimed in claim 17, it is characterised in that
In the factor extraction step, the keyword extracted with the explanation document from this business is extracted from factor storehouse first The factor of type matching, belonging to the business core layer, referring next to the factor relationships table, successively extracts and has taken out There is the factor of the relation of can be combined between the factor of the type for belonging to preceding layer taken out, and with reference to the factor relationships table, extract With the factor of the result type that the event type factor for having extracted has the relation of can be combined.
19. scene generating methods as claimed in claim 18, it is characterised in that
In the factor extraction step, the business execution level, the business genetic horizon, the business are belonged to successively extracting Role layer the factor when, respectively refer to the factor relationships table, by it is therein with belong to this layer and preceding layers type because The factor without the relation of can be combined between son is weeded out as redundancy.
20. scene generating method as described in any one of claim 16 to 19, it is characterised in that
In the scene generation step, with reference to the factor relationships table, occur according to business roles layer, the business Layer, the order of the business execution level, the business roles layer make to adhere to the combinations of factors of each layer separately, and are made according in this combination The corresponding result type factor of condition types factor collocation, generates scene.
21. scene generating methods as claimed in claim 15, it is characterised in that
The factor extraction step includes:
The step of product type factor matched with the keyword extracted from business expository writing shelves is extracted from factor storehouse,
With reference to the factor relationships table, the event class that there is the relation of can be combined with the product type factor for having extracted is extracted The step of type factor,
With reference to the factor relationships table, the bar respectively with the event type factor for having extracted with the relation of can be combined is extracted The step of part type, time type, channel type, factor of result type,
With reference to the factor relationships table, rejected from the condition types, time type, the factor of channel type that have extracted When falling different between the three types factor the step of factor with combined relation, and
With reference to the factor relationships table, extract and the condition types, time type, the factor of channel type after the rejecting The step of there is the character types factor of combined relation simultaneously.
22. scene generating methods as claimed in claim 21, it is characterised in that
In the scene generation step, make the factor for extracting by the character types, time type, channel type, event Type, condition types, the sequential combination of product type, and with reference to the factor relationships table, according to the bar used in this combination The corresponding result type factor of part type factor collocation, generates scene.
23. scene generating methods as claimed in claim 14, it is characterised in that also include:
The factor safeguards step, raw when the factor not matched with the keyword extracted from business expository writing shelves in factor storehouse In into new factor storage corresponding with the keyword to the factor storehouse, and according to the explanation document of this business, for each factor Combined relation with the new factor updates the factor relationships table;
In the scene generation step, the factor and the factor that are extracted in the factor extraction step is set to safeguard step The new factor of middle generation is according to the factor relationships table pack after renewal into scene.
24. scene generating methods as claimed in claim 14, it is characterised in that also include:
Scene preserves step, and the scene generated in the scene generation step is saved in scene library.
A kind of 25. flow generation methods for operational trials, it is characterised in that including:
Scene generating method described in any one of claim 15 to 24, and
Scene sequence step, makes the scene of the scene generation step generation according between each scene in the predetermined business for regulation Ordering relation scene relation list sorting and form executable flow.
26. flow generation methods as claimed in claim 25, it is characterised in that also include:
Flow preserves step, and the flow formed in the scene sequence step is saved in flow storehouse.
CN201611198201.2A 2016-12-22 2016-12-22 The generation system and method for scene and flow for operational trials Pending CN106845781A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611198201.2A CN106845781A (en) 2016-12-22 2016-12-22 The generation system and method for scene and flow for operational trials

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611198201.2A CN106845781A (en) 2016-12-22 2016-12-22 The generation system and method for scene and flow for operational trials

Publications (1)

Publication Number Publication Date
CN106845781A true CN106845781A (en) 2017-06-13

Family

ID=59135878

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611198201.2A Pending CN106845781A (en) 2016-12-22 2016-12-22 The generation system and method for scene and flow for operational trials

Country Status (1)

Country Link
CN (1) CN106845781A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107480067A (en) * 2017-08-18 2017-12-15 中国银行股份有限公司 The method for testing and analyzing and device of a kind of financial products
CN107943705A (en) * 2017-12-08 2018-04-20 中国银行股份有限公司 A kind of test method and device of workflow examination and approval class system
CN109189393A (en) * 2018-07-24 2019-01-11 中国联合网络通信集团有限公司 Method for processing business and device
CN109682411A (en) * 2018-08-20 2019-04-26 深圳壹账通智能科技有限公司 Detection Method of Product Quality, device, equipment and computer readable storage medium
CN110084583A (en) * 2019-04-12 2019-08-02 中国银行股份有限公司 A kind of pressure button stroke accounting data processing method, apparatus and system
CN110247972A (en) * 2019-06-17 2019-09-17 杭州数金在线云科技有限公司 A kind of transaction processing system
CN111274156A (en) * 2020-02-25 2020-06-12 中信银行股份有限公司 Automatic identification method and device compatible with multi-frame page
CN111640019A (en) * 2020-05-12 2020-09-08 中信银行股份有限公司 Method and device for acquiring test data, storage medium and electronic device
CN111640162A (en) * 2020-05-24 2020-09-08 中信银行股份有限公司 Test result display method, device and equipment based on traffic network and computer readable storage medium
CN112346983B (en) * 2020-11-24 2024-05-17 中信银行股份有限公司 Method and system for automatically generating test cases

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101984416A (en) * 2010-11-02 2011-03-09 中兴通讯股份有限公司 Method and device for generating test case
CN102004691A (en) * 2010-11-12 2011-04-06 中兴通讯股份有限公司 Method and system for executing test case
US20140172512A1 (en) * 2012-12-14 2014-06-19 International Business Machines Corporation Efficiently generating test cases
CN104281523A (en) * 2014-10-27 2015-01-14 中国建设银行股份有限公司 Demand testability analysis method and system
CN104331477A (en) * 2014-11-04 2015-02-04 哈尔滨工业大学 Method for testing concurrency property of cloud platform based on federated research
US20150227452A1 (en) * 2014-02-12 2015-08-13 Wipro Limited System and method for testing software applications
CN106201899A (en) * 2016-07-29 2016-12-07 普元信息技术股份有限公司 Realize automatically generating the system and method for test cases based on operational analysis

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101984416A (en) * 2010-11-02 2011-03-09 中兴通讯股份有限公司 Method and device for generating test case
CN102004691A (en) * 2010-11-12 2011-04-06 中兴通讯股份有限公司 Method and system for executing test case
US20140172512A1 (en) * 2012-12-14 2014-06-19 International Business Machines Corporation Efficiently generating test cases
US20150227452A1 (en) * 2014-02-12 2015-08-13 Wipro Limited System and method for testing software applications
CN104281523A (en) * 2014-10-27 2015-01-14 中国建设银行股份有限公司 Demand testability analysis method and system
CN104331477A (en) * 2014-11-04 2015-02-04 哈尔滨工业大学 Method for testing concurrency property of cloud platform based on federated research
CN106201899A (en) * 2016-07-29 2016-12-07 普元信息技术股份有限公司 Realize automatically generating the system and method for test cases based on operational analysis

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
刘振宇: "服务网格环境中场景测试的关键技术研究", 《中国博士学位论文全文数据库 信息科技辑》, 31 January 2012 (2012-01-31), pages 138 - 18 *
张善文 等: "软件测试及其案例分析", 西安:西安电子科技大学出版社, pages: 108 - 109 *
郭雷 等: "基于要因组合的测试用例生成技术研究", 《计算机与数字工程》 *
郭雷 等: "基于要因组合的测试用例生成技术研究", 《计算机与数字工程》, 20 August 2011 (2011-08-20), pages 109 - 111 *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107480067A (en) * 2017-08-18 2017-12-15 中国银行股份有限公司 The method for testing and analyzing and device of a kind of financial products
CN107943705A (en) * 2017-12-08 2018-04-20 中国银行股份有限公司 A kind of test method and device of workflow examination and approval class system
CN109189393A (en) * 2018-07-24 2019-01-11 中国联合网络通信集团有限公司 Method for processing business and device
CN109682411A (en) * 2018-08-20 2019-04-26 深圳壹账通智能科技有限公司 Detection Method of Product Quality, device, equipment and computer readable storage medium
CN110084583A (en) * 2019-04-12 2019-08-02 中国银行股份有限公司 A kind of pressure button stroke accounting data processing method, apparatus and system
CN110247972A (en) * 2019-06-17 2019-09-17 杭州数金在线云科技有限公司 A kind of transaction processing system
CN111274156A (en) * 2020-02-25 2020-06-12 中信银行股份有限公司 Automatic identification method and device compatible with multi-frame page
CN111640019A (en) * 2020-05-12 2020-09-08 中信银行股份有限公司 Method and device for acquiring test data, storage medium and electronic device
CN111640162A (en) * 2020-05-24 2020-09-08 中信银行股份有限公司 Test result display method, device and equipment based on traffic network and computer readable storage medium
CN111640162B (en) * 2020-05-24 2024-01-23 中信银行股份有限公司 Test result display method, device and equipment based on traffic network and computer readable storage medium
CN112346983B (en) * 2020-11-24 2024-05-17 中信银行股份有限公司 Method and system for automatically generating test cases

Similar Documents

Publication Publication Date Title
CN106845781A (en) The generation system and method for scene and flow for operational trials
JP4701510B2 (en) Apparatus and method for aggregating transaction information relating to financial transactions
US5390113A (en) Method and electronic apparatus for performing bookkeeping
Kopanas et al. The role of domain knowledge in a large scale data mining project
An Data analysis
CN107924406A (en) Selection is used for the inquiry performed to real-time stream
Damijan et al. Pass-on trade: why do firms simultaneously engage in two-way trade in the same varieties?
Hobeck et al. Process mining on blockchain data: a case study of Augur
CN107784074A (en) The recognition methods of connected transaction, device and, computer equipment and storage medium
CN108614864A (en) Bank transaction information processing method and processing device
CN112184334A (en) Method, apparatus, device and medium for determining problem users
Lopes et al. Predicting recovery of credit operations on a brazilian bank
Hilary et al. Blockchain and other distributed ledger technologies in finance
US20060129594A1 (en) Computer-implemented method for management of electronic data
US20060143232A1 (en) Computer-implemented method for data management
CN117094764A (en) Bank integral processing method and device
Thiprungsri Cluster analysis for anomaly detection in accounting
Winarso et al. Supplier selection of 40th container in PT Tribudhi Pelita Indonesia using analytical hierarchy process (AHP) method
CN115934515A (en) Internet financial business full-process testing method
Kolahdouz-Rahimi et al. Requirement Formalisation using Natural Language Processing and Machine Learning: A Systematic Review
JP2011040016A (en) Financial management method and system
JP6279782B1 (en) Information processing terminal, information processing method, and program
Carballo et al. Linkages with multinationals: the effects on domestic firms’ exports
Kim et al. Business Process Intelligence Challenge 2019: Process discovery and deviation analysis of purchase order handling process
US11256708B2 (en) Method of creating process protocols

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