CN106681909A - Online transaction fault locating method and device - Google Patents

Online transaction fault locating method and device Download PDF

Info

Publication number
CN106681909A
CN106681909A CN201611093792.7A CN201611093792A CN106681909A CN 106681909 A CN106681909 A CN 106681909A CN 201611093792 A CN201611093792 A CN 201611093792A CN 106681909 A CN106681909 A CN 106681909A
Authority
CN
China
Prior art keywords
fault
transaction
data
tracking
tracking data
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
CN201611093792.7A
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.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
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 Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN201611093792.7A priority Critical patent/CN106681909A/en
Publication of CN106681909A publication Critical patent/CN106681909A/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/3688Test management for test execution, e.g. scheduling of test suites
    • 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/02Banking, e.g. interest calculation or account maintenance
    • 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • Technology Law (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The invention provides an online transaction fault location method and a device. The method comprises the steps of receiving fault locating request from a user, based on the fault locating request, collecting and tracking data, based on pre-stored suspicious fault analysis entries, determining the fault information to be solved in the tracked data, conducting analysis, generating fault analysis result, and outputting the result. The online transaction fault location method and the device avoid the manual interception and tracking of data, reduce the communication cost between testers and developers, reduce the times of transaction tests and data preparation responses carried out by the testers, increase the solution efficiency of online transaction problems, provide detailed transaction procedure and resource access information, make the developers and testers to master the whole transaction procedure directly, and enhance the quality of an application version. Moreover, the acquisition of the tracking data is transparent to the transaction operation, and can avoid the problems encountered by using current tracking data collecting devices.

Description

A kind of on-line transaction Fault Locating Method and device
Technical field
The present invention relates to computer interconnection Transaction processing technology field, more particularly to a kind of on-line transaction Fault Locating Method And device.
Background technology
This part is it is intended that the embodiments of the present invention stated in claims provide background or context.Herein Description in being included in this part because just do not recognize it is prior art.
In the on-line Application system of large bank, many faulty behavior problems can be run into on-line transaction, analyzed These problems, conventional method is the EDF (Execution diagnostic facility) or DEBUG for using IBM at present The instruments such as TOOL are tracked transaction by hand, by the methods such as data copy or sectional drawing gather on-line transaction tracking data (such as Routine call relation, the request of routine call and response communication area's data, the input of performed SQL statement and output data etc.), After data acquisition, then case study is carried out by associated program code and data by developer, wherein many data cannot be with Code direct correlation (such as tracking data can only obtain the STATEMET NO of SQL, it is impossible to direct access SQL statement and table information), Developer requires to look up a lot of other datas of control, also needs to do the analysis work that many data are checked, ability in addition Orientation problem reason.
, it is necessary to substantial amounts of artificial operation, the acquisition of an issue track data generally requires to survey whole case study process Examination personnel and developer repeatedly initiate transaction and tracking transaction repeatedly, and it is certain that manual transaction tracking needs developer to grasp Tracking skill, the analysis of an issue track data is also required to the work of many data controls of developer and data-gathering, Case study efficiency will largely depend on the experience of developer, so as to the effect for causing mainframe on-line transaction issues to position Rate is all than relatively low.
Additionally, the transaction tracking of craft needs transaction operation and tracking picture real-time, interactive, i.e., progressively track, transaction tracking Period can pin correlation table resource, cause other to conclude the business it may happen that waiting the problem of lock time-out, have a strong impact on other transaction Exploitation test.
With continuing to develop for banking, mainframe on-line class of business is increasing, large bank's on-line system framework Also become to become increasingly complex with Business Processing, considerably increase the difficulty of on-line transaction trace analysis, depend merely on the transmission nothing of experience Method improves the efficiency of case study and version exploitation, therefore in the urgent need to a kind of method and device of on-line transaction fault location.
The content of the invention
Larger, less efficient in order to solve the problems, such as on-line transaction fault location difficulty of the prior art, the present invention is carried Go out a kind of on-line transaction Fault Locating Method and device.
In order to achieve the above object, the embodiment of the present invention provides a kind of on-line transaction Fault Locating Method, including:Receive and use The fault position request at family;Tracking data is gathered according to the fault position request;Bar is analyzed according to pre-stored suspected fault Mesh determines fault message to be solved in the tracking data, and is analyzed, and generation failure analysis result is simultaneously exported.
Further, in one embodiment, before tracking data is gathered according to the fault position request, also include: The export procedure of trace data collection is embedded into system bottom module and is activated, realize the customization to system bottom module.
Further, in one embodiment, it is described that tracking data is gathered according to the fault position request, including:According to The fault position request opens transaction tracking;According to the mainframe on-line Transaction Name that tracking is specified in the fault position request Routine call information and database access information during to transaction operation are acquired;The gathered database access letter of parsing Breath.
Further, in one embodiment, the pre-stored suspected fault analysis entry of the basis determines the tracking number The fault message to be solved in, and be analyzed, generate failure analysis result and export, including:According to pre-stored suspicious Return code and the application error code of each database access and routine call, judge transaction in the contrast transaction of accident analysis entry With the presence or absence of failure;And corresponding suspected fault letter is determined according to the tracking data and pre-stored experience problem information bank Cease and generate failure analysis result.
Further, in one embodiment, the failure analysis result includes transaction flow figure, the transaction flow icon Know the situation and ordinal relation of each routine call and database access for transaction, and the link for breaking down.
In order to achieve the above object, the embodiment of the present invention also provides a kind of on-line transaction fault locator, including:Request Receiver module, the fault position request for receiving user;Data acquisition module, for being gathered according to the fault position request Tracking data;Failure analysis module, for determining to wait to solve in the tracking data according to pre-stored suspected fault analysis entry Fault message certainly, and be analyzed, generate failure analysis result and export.
Further, in one embodiment, also include:The embedded module of outlet, for according to the fault position request Before collection tracking data, the export procedure of trace data collection is embedded into system bottom module and is activated, realized to system The customization of bottom module.
Further, in one embodiment, the data acquisition module be used for according to the fault position request collection with Track data, it is specifically included:Tracking opening unit, for opening transaction tracking according to the fault position request;Data acquisition Unit, for being adjusted according to the program when mainframe on-line Transaction Name of tracking is specified in the fault position request to transaction operation It is acquired with information and database access information;Data resolution unit, for parsing gathered database access information.
Further, in one embodiment, the failure analysis module is used for according to pre-stored suspected fault analysis bar Mesh determines fault message to be solved in the tracking data, and is analyzed, and generation failure analysis result is simultaneously exported, and its is specific Including:Breakdown judge unit, for according in pre-stored suspected fault analysis entry contrast transaction every time database access and Return code and the application error code of routine call, judge that transaction whether there is failure;And accident analysis unit, for basis The tracking data and pre-stored experience problem information bank determine corresponding suspected fault information and generate failure analysis result.
Further, in one embodiment, the failure analysis result of the accident analysis unit generation includes transaction flow Figure, the transaction flow map logo goes out each routine call of transaction and the situation and ordinal relation of database access, and goes out The link of existing failure.
On-line transaction Fault Locating Method proposed by the invention and device, needed for by gathering on-line transaction fault location Data wanted, and storehouse carries out automated analysis to data based on experience, it is to avoid manual interception tracking data, reduce survey Examination personnel and the communication cost of developer, reduce tester's transaction test and data prepare the number of times of reply, it is to avoid Repeat track, therefore improve the solution efficiency of on-line transaction problem;The method of the present invention can provide detailed transaction flow and Resource access information, allows exploitation tester directly to grasp whole transaction flow, understands Test coverage situation, it is to avoid test leakage, carries Application version quality high;Also, it is transparent to obtain tracking data to transaction operation, can avoid using existing tracking data Sampling instrument problem encountered.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those skilled in the art, without having to pay creative labor, can be with root Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the process chart of the on-line transaction Fault Locating Method of the embodiment of the present invention;
Fig. 2 is the process chart of the step S102 in embodiment illustrated in fig. 1;
Fig. 3 is the process chart of the step S103 in embodiment illustrated in fig. 1;
Fig. 4 is the structural representation of the on-line transaction fault locator of the embodiment of the present invention;
Fig. 5 is the structural representation of the data acquisition module 102 in embodiment illustrated in fig. 4;
Fig. 6 is the structural representation of the failure analysis module 103 in embodiment illustrated in fig. 4;
Fig. 7 is the structural representation of the on-line transaction fault locator of a specific embodiment of the invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
Art technology technical staff knows, embodiments of the present invention can be implemented as a kind of system, device, equipment, Method or computer program product.Therefore, the disclosure can be implemented as following form, i.e.,:It is complete hardware, complete soft Part (including firmware, resident software, microcode etc.), or the form that hardware and software is combined.
Below with reference to some representative embodiments of the invention, principle of the invention and spirit are explained in detail.
The present invention proposes a kind of method and device of on-line transaction fault location, gathers online by according to the request of user Data required for transaction fault location, and storehouse carries out automated analysis to data based on experience, reduce interception by hand with Track data, reduce the experience degree of dependence to analyzing personnel, improve the analysis efficiency of on-line problem reason, shorten version and open The hair cycle.
Fig. 1 is the process chart of the on-line transaction Fault Locating Method of the embodiment of the present invention.As illustrated, including:
Step S101, receives the fault position request of user;
Step S102, tracking data is gathered according to the fault position request;
Step S103, failure letter to be solved in the tracking data is determined according to pre-stored suspected fault analysis entry Breath, and be analyzed, generate failure analysis result and export.
During specific implementation, before step S102, the also trace data collection function including activation system customization.I.e.: The export procedure of trace data collection is embedded into system bottom module, and is activated, realize the customization to system bottom module. When on-line transaction configuration processor is called or triggers export procedure, transaction of the export procedure according to specified by automatically during database access Name is tracked the collection of data, and the operation of the collection process of data to on-line transaction is transparent.In one embodiment, 3 are set Individual outlet module, 3 outlet modules are respectively associated 3 EXIT POINT of CICS, after 3 outlet modules are activated, Outlet module is just embedded into CICS system bottom modules, is respectively completed routine call request LINK, routine call and returns Data acquisition RETURN related to SQL statement.After transaction tracking is set, outlet mold will be automatically called during using transaction operation The communication area data of block, capture program call request and response, the SQL statement of execution, the input data of SQL statement, output number According to, table name and return code, and the tracking data such as the interrupt code that occurs of program.
In the present embodiment, as shown in Fig. 2 gathering the side of tracking data in step S102 according to the fault position request Method, specifically includes following steps:
Step S1021, transaction tracking is opened according to the fault position request;
Step S1022, runs according to the mainframe on-line Transaction Name of tracking is specified in the fault position request to transaction When routine call information and database access information be acquired.In the present embodiment, the tracking data includes:Between program Call, the related data and return code of database access (i.e. the execution of SQL statement), and exception interrupt code etc..
Step S1023, parses gathered database access information.In the present invention, the data of routine call need not Parsing, but export procedure can only get the sequence number of performed SQL statement and can just get tool, it is necessary to be parsed to the sequence number The SQL statement of body, the process of parsing be exactly according to the sequence number of SQL statement found out in DB2 system tables specific SQL statement and SQL types, the sequence number and SQL statement of SQL are associated.
In the present embodiment, as shown in figure 3, in step S103 according to pre-stored suspected fault analysis entry determines The method of fault message to be solved in tracking data, and being analyzed, generation failure analysis result and output, specifically include with Lower step:
Step S1031, according to each database access and program in pre-stored suspected fault analysis entry contrast transaction Return code and the application error code for calling, judge that transaction whether there is failure.For example, database access returns to -805, program Call return PROGRAM ERROR.
Step S1032, corresponding suspected fault is determined according to the tracking data and pre-stored experience problem information bank Information simultaneously generates failure analysis result.For example, it is PROGRAM ERROR, it is necessary to point out the program of the program to determine to check failure Justice or program entity do not exist, it is necessary to the environment that developer logs in correlation is further examined.In the step, the failure point Analysis result includes transaction flow figure, and the transaction flow map logo goes out the situation of each routine call and database access of transaction And ordinal relation, and the link for breaking down, allow developer to become more apparent upon the detailed process of whole transaction so that failure Positioning becomes apparent from and clearly.
In the present embodiment, pre-stored suspected fault analysis entry and solution suggestion includes:
1) application error code, routine call return code, program interrupt code code and exception SQLCODE analyses
Reported an error for each, there is provided describe in detail, navigate to error-reporting routine, there is provided the possible cause of mistake and the solution of suggestion Certainly method, such as routine call return code is PROGRAM ERROR, and solution is to do application definition.
2) area's size the matching analysis are communicated
Each routine call is checked, whether called side is consistent with the communication area size of the side that is called, if inconsistent, just needs Check code.
3) transaction endless loop analysis
Check whether transaction flow continuously repeats and perform some operations, if it is, endless loop may be present, there is provided suspicious Program and associated cyclic operation, code is further analyzed.
4) transaction data updates interpretation of result
Input and output data to the SQL statement of each UPDATE/DELETE/INSERT are analyzed, and check institute more Whether new data are normal.
5) transaction flow analysis
Each routine call and SQL statement are analyzed, check whether transaction flow is consistent with design.
Step S103 generation transaction flow figure after, by suspected fault information, it is proposed that solution and transaction flow Journey figure is all sent to client so that developer refers to, to realize the positioning of on-line transaction failure.
Although it should be noted that the behaviour of on-line transaction Fault Locating Method of the invention is described with particular order in the accompanying drawings Make, but, this does not require that or implies must perform these operations according to the particular order, or have to carry out whole institutes The operation shown could realize desired result.Additionally or alternatively, it is convenient to omit some steps, multiple steps are merged into one Individual step is performed, and/or a step is decomposed into execution of multiple steps.
After the method for describing exemplary embodiment of the invention, next, with reference to Fig. 4 to exemplary reality of the invention The on-line transaction fault locator for applying mode is introduced.The implementation of the device may refer to the implementation of the above method, repeat Part is repeated no more.Term " module " used below and " unit ", can realize the software of predetermined function and/or hard Part.Although the module described by following examples is preferably realized with software, hardware, or software and hardware combination Realization be also that may and be contemplated.
Fig. 4 is the structural representation of the on-line transaction fault locator of the embodiment of the present invention.As illustrated, including:
Request receiving module 101, the fault position request for receiving user;
Data acquisition module 102, for gathering tracking data according to the fault position request;
Failure analysis module 103, for determining to be treated in the tracking data according to pre-stored suspected fault analysis entry The fault message of solution, and be analyzed, generate failure analysis result and export.
In the present embodiment, as shown in figure 5, the data acquisition module 102 is used to be adopted according to the fault position request Collection tracking data, it is specifically included:
Tracking opening unit 1021, for opening transaction tracking according to the fault position request;
Data acquisition unit 1022, for according to the mainframe on-line Transaction Name that tracking is specified in the fault position request Routine call information and database access information during to transaction operation are acquired;
Data resolution unit 1023, for parsing gathered database access information.
In one embodiment, on-line transaction fault locator of the invention also includes the embedded module of outlet, in root Before according to fault position request collection tracking data, the export procedure of trace data collection is embedded into system bottom module And activate, realize the customization to system bottom module.The module can be an independent module, it is also possible to be included in data and adopt Realized in collection module 102.
In the present embodiment, as shown in fig. 6, the failure analysis module 103 is used for according to pre-stored suspected fault point Analysis entry determines fault message to be solved in the tracking data, and is analyzed, and generation failure analysis result is simultaneously exported, its Specifically include:
Breakdown judge unit 1031, for each database in the pre-stored suspected fault analysis entry contrast transaction of basis Return code and the application error code with routine call are accessed, judges that transaction whether there is failure;And
Accident analysis unit 1032, for corresponding with pre-stored experience problem information bank determination according to the tracking data Suspected fault information and generate failure analysis result.
In the present embodiment, the failure analysis result of the generation of accident analysis unit 1032 includes transaction flow figure, institute State transaction flow map logo and go out each routine call of transaction and the situation and ordinal relation of database access, and break down Link.
Although additionally, be referred to some units of on-line transaction fault locator in above-detailed, this Plant and divide not enforceable.In fact, according to the embodiment of the present invention, the feature of above-described two or more units Can be embodied in a unit with function.Equally, the feature and function of an above-described unit can also be further It is divided into by multiple units to embody.
The application of on-line transaction Fault Locating Method of the invention and device is described below by way of a specific embodiment.
It is understood that although title is different, the functional module included by the specific embodiment is real with shown in Fig. 4 Apply the functional module in example be actually it is consistent, only by the feature and function of two or more units in a unit Embody, or, the feature and function of a unit are further divided into being embodied by multiple units.
As shown in fig. 7, the on-line transaction fault locator of the embodiment includes client terminal device 401, service end communication Device 402, trace data collection master control set 403, transacter 404 and data analysis device 405.
Client terminal device 401, the fault position request for receiving user is set up with service end communication device 402 and is connected, Transaction tracking request is initiated, and receives tracking data;
Service end communication device 402, the transaction for receiving client terminal device 401 tracks request, forwards the request to tracking Data acquisition master control set 403, and the tracking data that tracking data collection master control set 403 is returned is received, it is sent to client Device 401;
Tracking data gathers master control set 403, for receiving tracking request, notifies tracking data harvester 404, triggering Tracking, and tracking data return will be collected;
Tracking data harvester 404, is responsible for completing on-line transaction data acquisition, and gathered data is write into tracking data In file.In the present embodiment, tracking data harvester 404 includes 3 outlet modules, and 3 outlet modules are respectively associated To 3 EXIT POINT of CICS, after 3 outlet modules are activated, outlet module is just embedded into CICS system bottom modules In, it is respectively completed routine call request LINK, routine call and returns to the RETURN data acquisitions related to SQL statement, set and hand over Easily after tracking, the communication area number of outlet module, capture program call request and response will be automatically called during using transaction operation According to, the SQL statement of execution, the input data of SQL statement, output data, table name and return code, and the interrupt code that program occurs Etc. tracking data, and write track data file;
Tracking data resolver 405, for reading track data file and doing dissection process, the treatment of parsing is exactly root Specific SQL statement is found out in DB2 system tables according to the sequence number of SQL statement in tracking data, so as to by the sequence number of SQL and SQL statement is associated, and the data after parsing are returned into tracking data collection master control set 403;
Fail analysis device 406, after tracking data returns to client terminal device 401, fail analysis device 406 will be right Data are analyzed, and generate transaction flow figure, and rule of thumb each inspection entry in problem information storehouse is entered to tracking data Row inspection, Mining Problems, there is provided the solution of suggestion, and generate failure analysis result.
On-line transaction Fault Locating Method proposed by the invention and device, needed for by gathering on-line transaction fault location Data wanted, and storehouse carries out automated analysis to data based on experience, it is to avoid manual interception tracking data, reduce survey Examination personnel and the communication cost of developer, reduce tester's transaction test and data prepare the number of times of reply, it is to avoid Repeat track, therefore improve the solution efficiency of on-line transaction problem;The method of the present invention can provide detailed transaction flow and Resource access information, allows exploitation tester directly to grasp whole transaction flow, understands Test coverage situation, it is to avoid test leakage, carries Application version quality high;Also, it is transparent to obtain tracking data to transaction operation, can avoid being adopted using existing tracking data Collection instrument problem encountered, such as tracking process can pin correlation table record, and other transaction are it may happen that wait lock time-out, influence The normal operation of other transaction.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program Product.Therefore, the present invention can be using the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Apply the form of example.And, the present invention can be used and wherein include the computer of computer usable program code at one or more The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) is produced The form of product.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product Figure and/or block diagram are described.It should be understood that every first-class during flow chart and/or block diagram can be realized by computer program instructions The combination of flow and/or square frame in journey and/or square frame and flow chart and/or block diagram.These computer programs can be provided The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced for reality by the instruction of computer or the computing device of other programmable data processing devices The device of the function of being specified in present one flow of flow chart or multiple one square frame of flow and/or block diagram or multiple square frames.
These computer program instructions may be alternatively stored in can guide computer or other programmable data processing devices with spy In determining the computer-readable memory that mode works so that instruction of the storage in the computer-readable memory is produced and include finger Make the manufacture of device, the command device realize in one flow of flow chart or multiple one square frame of flow and/or block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meter Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented treatment, so as in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
Apply specific embodiment in the present invention to be set forth principle of the invention and implementation method, above example Explanation be only intended to help and understand the method for the present invention and its core concept;Simultaneously for those of ordinary skill in the art, According to thought of the invention, will change in specific embodiments and applications, in sum, in this specification Appearance should not be construed as limiting the invention.

Claims (10)

1. a kind of on-line transaction Fault Locating Method, it is characterised in that including:
Receive the fault position request of user;
Tracking data is gathered according to the fault position request;
Fault message to be solved in the tracking data is determined according to pre-stored suspected fault analysis entry, and is divided Analysis, generates failure analysis result and exports.
2. on-line transaction Fault Locating Method according to claim 1, it is characterised in that please according to the fault location Before seeking collection tracking data, also include:
The export procedure of trace data collection is embedded into system bottom module and is activated, realize the client to system bottom module Change.
3. on-line transaction Fault Locating Method according to claim 2, it is characterised in that described according to the fault location Request collection tracking data, including:
Transaction tracking is opened according to the fault position request;
According to the routine call letter when mainframe on-line Transaction Name of tracking is specified in the fault position request to transaction operation Breath and database access information are acquired;
The gathered database access information of parsing.
4. on-line transaction Fault Locating Method according to claim 1, it is characterised in that pre-stored suspicious of the basis Accident analysis entry determines fault message to be solved in the tracking data, and is analyzed, and generation failure analysis result is simultaneously Output, including:
According in pre-stored suspected fault analysis entry contrast transaction every time the return code of database access and routine call with And application error code, judge that transaction whether there is failure;And
Determine corresponding suspected fault information and generate failure according to the tracking data and pre-stored experience problem information bank Analysis result.
5. on-line transaction Fault Locating Method according to claim 1, it is characterised in that the failure analysis result includes Transaction flow figure, the transaction flow map logo goes out each routine call of transaction and the situation of database access and order is closed System, and the link for breaking down.
6. a kind of on-line transaction fault locator, it is characterised in that including:
Request receiving module, the fault position request for receiving user;
Data acquisition module, for gathering tracking data according to the fault position request;
Failure analysis module, for according to pre-stored suspected fault analysis entry determine it is to be solved in the tracking data therefore Barrier information, and be analyzed, generate failure analysis result and export.
7. on-line transaction fault locator according to claim 6, it is characterised in that also include:
The embedded module of outlet, for before tracking data is gathered according to the fault position request, by trace data collection Export procedure is embedded into system bottom module and activates, and realizes the customization to system bottom module.
8. on-line transaction fault locator according to claim 7, it is characterised in that the data acquisition module is used for Tracking data is gathered according to the fault position request, it is specifically included:
Tracking opening unit, for opening transaction tracking according to the fault position request;
Data acquisition unit, for being transported to transaction according to the mainframe on-line Transaction Name of specified tracking in the fault position request Routine call information and database access information during row are acquired;
Data resolution unit, for parsing gathered database access information.
9. on-line transaction fault locator according to claim 6, it is characterised in that the failure analysis module is used for Fault message to be solved in the tracking data is determined according to pre-stored suspected fault analysis entry, and is analyzed, it is raw Into failure analysis result and export, it is specifically included:
Breakdown judge unit, for each database access and journey in the pre-stored suspected fault analysis entry contrast transaction of basis Return code and application error code that sequence is called, judge that transaction whether there is failure;And
Accident analysis unit, for determining corresponding suspicious event according to the tracking data and pre-stored experience problem information bank Barrier information simultaneously generates failure analysis result.
10. on-line transaction fault locator according to claim 6, it is characterised in that the accident analysis unit life Into failure analysis result include transaction flow figure, the transaction flow map logo goes out each routine call and the database of transaction The situation and ordinal relation of access, and the link for breaking down.
CN201611093792.7A 2016-12-02 2016-12-02 Online transaction fault locating method and device Pending CN106681909A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611093792.7A CN106681909A (en) 2016-12-02 2016-12-02 Online transaction fault locating method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611093792.7A CN106681909A (en) 2016-12-02 2016-12-02 Online transaction fault locating method and device

Publications (1)

Publication Number Publication Date
CN106681909A true CN106681909A (en) 2017-05-17

Family

ID=58866247

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611093792.7A Pending CN106681909A (en) 2016-12-02 2016-12-02 Online transaction fault locating method and device

Country Status (1)

Country Link
CN (1) CN106681909A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107992415A (en) * 2017-11-28 2018-05-04 中国银联股份有限公司 The fault location and analysis method and associated server of a kind of transaction system
CN111324480A (en) * 2020-02-24 2020-06-23 中国工商银行股份有限公司 Large host transaction fault positioning system and method
CN111563002A (en) * 2020-05-15 2020-08-21 中国工商银行股份有限公司 Transaction fault processing method and device, electronic equipment and storage medium
CN113282465A (en) * 2021-06-17 2021-08-20 中国建设银行股份有限公司 Fault positioning method and device, electronic equipment and computer storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103955516A (en) * 2014-05-05 2014-07-30 中国工商银行股份有限公司 Method and device for optimizing host computer resource access information in on-line transaction
JP2014203294A (en) * 2013-04-05 2014-10-27 株式会社日立製作所 Failure handling system and failure handling method
CN104360939A (en) * 2014-10-29 2015-02-18 中国建设银行股份有限公司 Method, equipment and system for positioning fault
CN105095052A (en) * 2014-05-22 2015-11-25 阿里巴巴集团控股有限公司 Fault detection method and fault detection device in SOA (Service-Oriented Architecture) environment
CN105590259A (en) * 2015-11-04 2016-05-18 中国银联股份有限公司 Device and method for diagnosis of transaction system
CN105721193A (en) * 2014-12-05 2016-06-29 方正国际软件(北京)有限公司 Method and device for system information monitoring

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014203294A (en) * 2013-04-05 2014-10-27 株式会社日立製作所 Failure handling system and failure handling method
CN103955516A (en) * 2014-05-05 2014-07-30 中国工商银行股份有限公司 Method and device for optimizing host computer resource access information in on-line transaction
CN105095052A (en) * 2014-05-22 2015-11-25 阿里巴巴集团控股有限公司 Fault detection method and fault detection device in SOA (Service-Oriented Architecture) environment
CN104360939A (en) * 2014-10-29 2015-02-18 中国建设银行股份有限公司 Method, equipment and system for positioning fault
CN105721193A (en) * 2014-12-05 2016-06-29 方正国际软件(北京)有限公司 Method and device for system information monitoring
CN105590259A (en) * 2015-11-04 2016-05-18 中国银联股份有限公司 Device and method for diagnosis of transaction system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107992415A (en) * 2017-11-28 2018-05-04 中国银联股份有限公司 The fault location and analysis method and associated server of a kind of transaction system
CN111324480A (en) * 2020-02-24 2020-06-23 中国工商银行股份有限公司 Large host transaction fault positioning system and method
CN111324480B (en) * 2020-02-24 2023-07-25 中国工商银行股份有限公司 Large-scale host transaction fault positioning system and method
CN111563002A (en) * 2020-05-15 2020-08-21 中国工商银行股份有限公司 Transaction fault processing method and device, electronic equipment and storage medium
CN111563002B (en) * 2020-05-15 2023-07-25 中国工商银行股份有限公司 Transaction fault processing method and device, electronic equipment and storage medium
CN113282465A (en) * 2021-06-17 2021-08-20 中国建设银行股份有限公司 Fault positioning method and device, electronic equipment and computer storage medium

Similar Documents

Publication Publication Date Title
US11169906B2 (en) Extraction of problem diagnostic knowledge from test cases
CN107704392B (en) Test case processing method and server
US7895470B2 (en) Collecting and representing knowledge
CN107895286B (en) Claim amount determining method and device, storage medium and electronic equipment
US7003781B1 (en) Method and apparatus for correlation of events in a distributed multi-system computing environment
US20140331203A1 (en) Analysis of source code changes
Qin et al. Testmig: Migrating gui test cases from ios to android
US9311176B1 (en) Evaluating a set of storage devices and providing recommended activities
CN107111544A (en) History controlling stream visualization in production diagnosis
CN106681909A (en) Online transaction fault locating method and device
CN107704393A (en) Data test method, apparatus and electronic equipment
US8302050B1 (en) Automatic debug apparatus and method for automatic debug of an integrated circuit design
US10521331B1 (en) Systems and methods for declarative specification, detection, and evaluation of happened-before relationships
CN103294596A (en) Early warning method for contract-type software fault based on program invariants
Sun et al. Fault localisation for WS-BPEL programs based on predicate switching and program slicing
Virgínio et al. On the test smells detection: an empirical study on the jnose test accuracy
Rong et al. How is logging practice implemented in open source software projects? a preliminary exploration
Huo et al. Autolog: A log sequence synthesis framework for anomaly detection
Jiang et al. A Large-scale Benchmark for Log Parsing
CN110286882B (en) Foreground system design and verification method based on model detection
Palomba et al. Extract package refactoring in aries
Li et al. Automatically generating functional scenarios from SOFL CDFD for specification inspection
Muneer Systematic Review on Automated Testing (Types, Effort and ROI)
Chen Improving the Logging Practices in DevOps
CN110532015A (en) In-orbit upgrade-system towards Space Mission Software

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: 20170517

RJ01 Rejection of invention patent application after publication