KR101528071B1 - Method for gathering error context information of application software and middleware - Google Patents
Method for gathering error context information of application software and middleware Download PDFInfo
- Publication number
- KR101528071B1 KR101528071B1 KR1020130163200A KR20130163200A KR101528071B1 KR 101528071 B1 KR101528071 B1 KR 101528071B1 KR 1020130163200 A KR1020130163200 A KR 1020130163200A KR 20130163200 A KR20130163200 A KR 20130163200A KR 101528071 B1 KR101528071 B1 KR 101528071B1
- Authority
- KR
- South Korea
- Prior art keywords
- service
- execution
- information
- error
- request
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
A method for collecting error status information of an application software and a middleware according to an embodiment of the present invention is a method for collecting error status information of application software and middleware in which at least one history The method of claim 1, further comprising the steps of: generating one or more transactions from the at least one history information when an error occurs during generation of the service request information, wherein the configured transaction is provided to an automatic analysis module, And is displayed on the screen of the automatic analysis module and used for error analysis.
Description
The present invention relates to a method for collecting error status information of application software and middleware, and more particularly, to a method for collecting error status information of application software and middleware for collecting error status information of application software and middleware for use in error analysis.
In the steel process middleware system, tasks are developed using middleware services. Here, the service provided by the middleware may be interrupted due to a user's erroneous use or an error caused by the system (hardware, operating system, network, etc.) or an error in the service itself. In this case, the error value of the error of the middleware service is delivered to the task, and since the task developer can not know the internal operation of the middleware for providing the service, the error processing code Should be. However, since there is not enough information to analyze the cause of the error and the avoidance method of the error situation, it takes a long time for the task developer to develop the error handling code. Therefore, an environment capable of providing sufficient information on an error situation is required.
Also, since the middleware service determines whether the entire task is operated, it is necessary to guarantee the stability / performance of the developed middleware service. To this end, a middleware service developer develops a code that assumes a middleware service usage pattern by a task developer, and based on this, ensures the stability of the middleware service. The middleware service thus developed is applied to a task development site. However, in task development, task developers use middleware services in unexpected patterns, often resulting in service failures. In order to analyze such errors, it is necessary not only the error situation information generated by the middleware itself, but also information on the usage pattern of the middleware service by the task developer. Accordingly, when the task developer does not separately manage the information on the usage pattern of the middleware service, the middleware service developer has difficulty in analyzing the error. Accordingly, regardless of whether the task developer separately manages the information on the middleware service use pattern, the middleware itself generates information about the usage pattern of the middleware service by the task developer, and the information is automatically generated An environment that can be correlated and analyzed is required.
There is a need in the art for a method for collecting error situation information of application software and middleware for collecting error situation information of application software and middleware for use in error analysis.
In order to solve the above problems, a first aspect of the present invention provides a method for collecting error situation information of application software. The method comprising the steps of: generating at least one history information during generation of service request information according to a request for a middleware service of a task; and generating, when an error occurs during generation of the service request information, And configuring a transaction with at least one history information, wherein the configured transaction is provided to an automatic analysis module and displayed on a screen of the automatic analysis module and used for error analysis.
A second aspect of the present invention provides a method for collecting error status information of a middleware. The method includes the steps of generating at least one piece of history information while processing service request information of a task, and generating at least one piece of history information that is generated when an error occurs during processing of the service request information And configuring one transaction, wherein the configured transaction is provided to an automatic analysis module and displayed on a screen of the automatic analysis module and used for error analysis.
In addition, the solution of the above-mentioned problems does not list all the features of the present invention. The various features of the present invention and the advantages and effects thereof will be more fully understood by reference to the following specific embodiments.
The time required for task developers and middleware service developers to develop or review task and middleware services is provided by collecting error status information of application software and middleware and providing error status information collection method of application software and middleware for error analysis. Can be reduced.
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing the configuration of a steelworking middleware system according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a method for collecting error status information of application software according to an embodiment of the present invention;
3 is a flowchart illustrating a method of collecting error status information of a middleware according to an embodiment of the present invention; and
4 is a flowchart illustrating a method of analyzing error situation information of an automatic analysis module according to an embodiment of the present invention.
Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings. However, the embodiments of the present invention can be modified into various other forms, and the scope of the present invention is not limited to the embodiments described below. Further, the embodiments of the present invention are provided to more fully explain the present invention to those skilled in the art. The shape and size of elements in the drawings may be exaggerated for clarity.
Hereinafter, a method of collecting error status information of application software and middleware, which is an embodiment of the present invention, will be described.
In the following description, each component may be constituted by a software module.
FIG. 1 is a block diagram showing an apparatus configuration of a steel processing middleware system according to an embodiment of the present invention.
1, the steel processing middleware system includes an
First, the detailed configuration of the
Each of the plurality of
The API 103 is a set of programming functions called by the
The
The request
The API launcher-request
The requested execution error context
The assigned
In addition, the assigned
If an error does not occur until the generation of the service request information is completed, the assigned
The
The error
Next, the detailed configuration of the
The
The
The
The service
The service launcher-service
The service execution error context
The allocated
In addition, the allocated
If an error does not occur until the processing of the service request information is completed, the allocated
The history information in the
The error
Next, a detailed configuration of the
The
The
The
2 is a flowchart illustrating a method of collecting error status information of application software according to an embodiment of the present invention.
Referring to FIG. 2, in
Then, in
Then, in
In
In
Then, in
In
If an error occurs during the generation of the service request information in
On the other hand, if no error occurs during the generation of the service request information in
In
On the other hand, if it is determined in
In
In
On the other hand, if the service completion information including the code value for the service failure is received in
Thereafter, the application software terminates the algorithm according to the present invention.
According to the embodiment, the request execution ID assigned to the task is transmitted to the middleware when the service request information of the task is transmitted to the middleware, and the service execution ID assigned to the task by the middleware is transferred to the request execution ID May be included. In this case, a transaction configured by the application software and a transaction configured by the middleware due to an error generated during the processing of the service request information are collected periodically or in real time by the automatic analysis module, Integrated by the service execution ID, and displayed on the console or GUI screen of the automatic analysis module.
Alternatively, according to another embodiment, the service completion information including the code value for the service failure further includes a service execution ID assigned to the task by the middleware, and the service completion information including the code value for the service failure Information on the service execution ID may be further included in the request execution ID of the transaction when the application software configures the transaction according to the reception of the information. In this case, a transaction configured by the application software and a transaction configured by the middleware due to an error generated during the processing of the service request information are collected periodically or in real time by the automatic analysis module, Integrated by the service execution ID, and displayed on the console or GUI screen of the automatic analysis module.
3 is a flowchart illustrating a method of collecting error status information of a middleware according to an embodiment of the present invention.
Referring to FIG. 3, in
Then, in
In
In
In
In
In
In
In
On the other hand, if an error does not occur during the processing of the service request information in
If the process of the service request information is not completed in
On the other hand, if an error does not occur until the process of the service request information is completed, that is, until the process of the service request information is completed in
In
Thereafter, the middleware ends the algorithm according to the present invention.
According to the embodiment, the request execution ID assigned to the task by the application software is received by the middleware together with the service request information, and the service execution ID assigned to the task by the middleware is the information about the request execution ID . In this case, the transaction configured by the middleware and the transaction configured by the application software are collected periodically or in real time by the automatic analysis module, and are integrated synchronously by the request execution ID and the service execution ID, Console or GUI screen.
Alternatively, according to another embodiment, the service completion information including the code value for the service failure further includes a service execution ID assigned to the task by the middleware, and the service completion information including the code value for the service failure Information on the service execution ID may be further included in the request execution ID of the transaction constituted by the application software when the transaction is configured by the application software according to the reception of the information. In this case, the transaction configured by the middleware and the transaction configured by the application software are collected periodically or in real time by the automatic analysis module, and are integrated synchronously by the request execution ID and the service execution ID, Console or GUI screen.
4 is a flowchart illustrating a method of analyzing error situation information of an automatic analysis module according to an embodiment of the present invention.
Referring to FIG. 4, in
In
To this end, in one embodiment, the request execution ID assigned to the task by the application software is transmitted to the middleware when the service request information of the task is transmitted to the middleware, and the service execution information The ID may include information on the request execution ID. In this case, the automatic analysis module collects the transaction configured by the middleware and the transaction configured by the application software, acquires the information on the request execution ID from the service execution ID of the transaction configured by the middleware, The history information in the transaction and the history information in the transaction corresponding to the request execution ID can be integrated synchronously.
Alternatively, the service completion information including the code value for the service failure may further include a service execution ID assigned to the task by the middleware, and the service completion information including the code value for the service failure When a transaction is configured by the application software according to reception, information on the service execution ID may be further included in a request execution ID of a transaction constituted by the application software. In this case, the automatic analysis module collects the transactions constituted by the middleware and the transactions constituted by the application software, acquires information on the service execution ID from the request execution ID of the transaction configured by the application software, The history information in the transaction corresponding to the request execution ID and the history information in the transaction corresponding to the request execution ID can be synchronously integrated.
Then, in
Thereafter, the automatic analysis module terminates the algorithm according to the present invention.
While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is to be understood that the invention is not limited to the disclosed exemplary embodiments, but, on the contrary, It will be obvious to those of ordinary skill in the art.
100: Application Software
101: Task
103: API
105: API Launcher Manager
107: API launcher pool
111: Request execution ID manager
113: Request execution ID pool
117: API Launcher - Request Execution ID Mapper
119: Request execution error Context pool access coordinator
121: Request Execution Error Context Pool
123: Error Context Manager
125: Error Level Value Manager
130: Middleware
131: Service Agent
132: Service Manager
133: Service Launcher Manager
135: Service launcher pool
139: Service execution ID manager
141: Service execution ID pool
145: Service Launcher - Service Execution ID Mapper
147: Service execution error Context pool access coordinator
149: Service Execution Error Context Pool
151: Error Context Manager
153: Error Level Value Manager
160: Automatic analysis module
161: Error Context Collector
163: Integrated Synchronizer
165: Analysis screen provider
Claims (14)
Configuring one transaction with the generated at least one history information when an error occurs during generation of the service request information;
Invoking an application programming interface (API) of a middleware service required by a task,
Assigning an API executor to the task;
Assigning a request execution ID to the task;
Mapping the assigned API launcher to the request execution ID; and
And starting generation of service request information using the API library module through the assigned API launcher,
Wherein the configured transaction is provided to an automatic analysis module and displayed on a screen of the automatic analysis module and used for error analysis.
The generating of the history information includes generating at least one history information during generation of the service request information and storing the generated at least one history information in the request execution error context pool,
Wherein the request execution ID includes at least one of a service request time, a task number, a thread number for performing a task, and a random number generated according to a probability.
When an error occurs during the generation of the service request information, one transaction is configured with the history information of the desired error level value among the history information in the request execution error context pool and transmitted to the disk without sending the service request information, The history information stored in the pool is deleted,
Wherein the transaction is identified by the request execution ID, And the history information is arranged in accordance with the generation order.
The API library module includes a plurality of codes including at least one history information generation code. When the processing order of the history information generation code among the codes in the API library module comes, the history information is generated,
The history information includes at least one of intermediate input data required for executing the current library module, intermediate output data after execution, explanatory text for the execution details, explanatory text for the error generated during execution, code value for the error, Wherein the error information includes at least one of the following:
Transmitting the service request information of the task to the middleware if an error does not occur until generation of the service request information is completed;
Checking whether service completion information including a code value for service success is received from the middleware;
Deleting the history information stored in the request execution error context pool when the service completion information including the code value for the service success is received,
When the service completion information including the code value for the service failure is received, one transaction is configured with the history information of the desired error level value among the history information in the request execution error context pool and stored in the disk, and the request execution error context pool Further comprising the step of deleting the stored history information.
The request execution ID assigned to the task is transmitted to the middleware when the service request information of the task is transmitted to the middleware, and information on the request execution ID is included in the service execution ID assigned to the task by the middleware ,
The transaction configured and configured by the middleware due to an error generated during the processing of the service request information is periodically collected by the automatic analysis module and is integrated synchronously by the request execution ID and the service execution ID, And displaying the error condition information on the screen of the module.
Wherein the service completion information including a code value for a service failure further includes a service execution ID assigned to a task by the middleware, and upon receipt of service completion information including a code value for the service failure, , The request execution ID of the transaction further includes information on the service execution ID,
The transaction configured and configured by the middleware due to an error generated during the processing of the service request information is periodically collected by the automatic analysis module and is integrated synchronously by the request execution ID and the service execution ID, And displaying the error condition information on the screen of the module.
Configuring one transaction with the generated at least one history information when an error occurs during processing of the service request information;
Receiving service request information of the task from application software;
Assigning a service executor to the task and creating a communication channel between the task and the service executor;
Assigning a service execution ID to the task;
Mapping the assigned service executor to a service execution ID;
And starting the processing of the service request information using the service related module through the assigned service launcher,
Wherein the configured transaction is provided to an automatic analysis module and displayed on a screen of the automatic analysis module and used for error analysis.
Generating the history information includes generating at least one history information during processing of the service request information and storing the generated at least one history information in the service execution error context pool,
Wherein the service execution ID includes at least one of a service request information processing time, a request execution ID assigned to a task by an application software, and a thread number for performing a service.
The service related module includes a plurality of codes including at least one history information generating code. When the processing order of the history information generating code among the codes in the service related module comes, the history information is generated,
The history information includes at least one of intermediate input data necessary for executing the current service related module, intermediate output data after execution, descriptive text of the execution details, explanatory text of the error generated during execution, code value of the error, The method of claim 1,
If an error occurs during the processing of the service request information, one transaction is configured with the history information of the desired error level value among the history information in the service execution error context pool and stored in the disk, and the history information stored in the service execution error context pool is deleted However,
Wherein the transaction is divided into the service execution IDs, and the history information of the desired error level values is arranged according to a generation order.
Transmitting service completion information including a code value for a service failure to a task via the communication channel if an error occurs during processing of the service request information;
If an error does not occur until the processing of the service request information is completed, service completion information including a code value for service success is transmitted to the task through the communication channel, and history information stored in the service execution error context pool is deleted The method of claim 1, further comprising the steps of:
Wherein the service completion information including a code value for a service failure further includes a service execution ID assigned to the task, and wherein upon receipt of service completion information including a code value for the service failure, The information about the service execution ID is further included in the request execution ID of the transaction constituted by the application software,
Wherein the configured transaction and the transaction configured by the application software are periodically collected by the automatic analysis module and are integratedly synchronized by the request execution ID and the service execution ID and displayed on the screen of the automatic analysis module A method for collecting error situation information.
Wherein the request execution ID assigned to the task by the application software is received together with the service request information, and the service execution ID assigned to the task includes information about the request execution ID,
Wherein the configured transaction and the transaction configured by the application software are periodically collected by the automatic analysis module and are integratedly synchronized by the request execution ID and the service execution ID and displayed on the screen of the automatic analysis module A method for collecting error situation information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020130163200A KR101528071B1 (en) | 2013-12-24 | 2013-12-24 | Method for gathering error context information of application software and middleware |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020130163200A KR101528071B1 (en) | 2013-12-24 | 2013-12-24 | Method for gathering error context information of application software and middleware |
Publications (1)
Publication Number | Publication Date |
---|---|
KR101528071B1 true KR101528071B1 (en) | 2015-06-10 |
Family
ID=53505821
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020130163200A KR101528071B1 (en) | 2013-12-24 | 2013-12-24 | Method for gathering error context information of application software and middleware |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101528071B1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017069468A1 (en) * | 2015-10-21 | 2017-04-27 | 주식회사 포스코 | Event service method of steel process middleware, and framework system |
CN109885419A (en) * | 2019-02-21 | 2019-06-14 | 广东电网有限责任公司信息中心 | A kind of automatic management method for middle wound middleware Fault Isolation and reparation |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20050055240A (en) * | 2003-12-05 | 2005-06-13 | 제노시스 주식회사 | Integrated management system for matadata and method thereof |
KR101271821B1 (en) * | 2011-12-23 | 2013-06-07 | 주식회사 포스코 | Steel process middleware application error analysis system and error analysis method using the same |
-
2013
- 2013-12-24 KR KR1020130163200A patent/KR101528071B1/en active IP Right Grant
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20050055240A (en) * | 2003-12-05 | 2005-06-13 | 제노시스 주식회사 | Integrated management system for matadata and method thereof |
KR101271821B1 (en) * | 2011-12-23 | 2013-06-07 | 주식회사 포스코 | Steel process middleware application error analysis system and error analysis method using the same |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017069468A1 (en) * | 2015-10-21 | 2017-04-27 | 주식회사 포스코 | Event service method of steel process middleware, and framework system |
CN109885419A (en) * | 2019-02-21 | 2019-06-14 | 广东电网有限责任公司信息中心 | A kind of automatic management method for middle wound middleware Fault Isolation and reparation |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104536899B (en) | A kind of software deployment and its maintaining method based on Intelligent cluster | |
US20150100829A1 (en) | Method and system for selecting and executing test scripts | |
US12007866B2 (en) | System and method for database replication benchmark testing using a pipeline-based microservices model | |
US20150100832A1 (en) | Method and system for selecting and executing test scripts | |
US8584079B2 (en) | Quality on submit process | |
US10430172B2 (en) | Re-configuration in cloud computing environments | |
US20150100830A1 (en) | Method and system for selecting and executing test scripts | |
US20150100831A1 (en) | Method and system for selecting and executing test scripts | |
CN111125444A (en) | Big data task scheduling management method, device, equipment and storage medium | |
CN111800354B (en) | Message processing method and device, message processing equipment and storage medium | |
US8046638B2 (en) | Testing of distributed systems | |
CN110474822A (en) | A kind of block chain link point detecting method, device, equipment and medium | |
CN108694118A (en) | A kind of application testing method and device | |
US20140067886A1 (en) | Information processing apparatus, method of outputting log, and recording medium | |
CN113778486A (en) | Containerization processing method, device, medium and equipment for code pipeline | |
CN111506358B (en) | Method and device for updating container configuration | |
JP6615071B2 (en) | Computer system and test case management method | |
CN109885612A (en) | The synchronization take-effective method and device of block chain intelligence contract | |
KR101528071B1 (en) | Method for gathering error context information of application software and middleware | |
JP2015049876A (en) | Test system and method | |
CN114218072A (en) | Test script generation method and device, storage medium and computer equipment | |
CN109002305A (en) | A kind of update method and its system of device program | |
CN111209125B (en) | Multi-process command line implementation method | |
JP6642024B2 (en) | Management device, management method and management program | |
KR20150030297A (en) | Verification apparatus, terminal device, system, method and computer-readable medium for verifying application |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20180605 Year of fee payment: 4 |