KR101234701B1 - Error processing system for server platform - Google Patents

Error processing system for server platform Download PDF

Info

Publication number
KR101234701B1
KR101234701B1 KR1020110084351A KR20110084351A KR101234701B1 KR 101234701 B1 KR101234701 B1 KR 101234701B1 KR 1020110084351 A KR1020110084351 A KR 1020110084351A KR 20110084351 A KR20110084351 A KR 20110084351A KR 101234701 B1 KR101234701 B1 KR 101234701B1
Authority
KR
South Korea
Prior art keywords
error
server platform
api
processing
storage unit
Prior art date
Application number
KR1020110084351A
Other languages
Korean (ko)
Inventor
정훈
Original Assignee
주식회사 미니게이트
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 주식회사 미니게이트 filed Critical 주식회사 미니게이트
Priority to KR1020110084351A priority Critical patent/KR101234701B1/en
Application granted granted Critical
Publication of KR101234701B1 publication Critical patent/KR101234701B1/en

Links

Images

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/3664Environments for testing or debugging software
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/28Error detection; Error correction; Monitoring by checking the correct order of processing

Abstract

PURPOSE: An error processing system of a server platform is provided to increase development efficiency as an exception analyzer processes error processing and definition based on error processing and definition defined in a database. CONSTITUTION: A service code processing unit(220) processes processing information by calling an API according to the processing information. A server platform API storage unit(240) stores an API which is a set of class libraries in a server platform. An external library API storage unit(260) is included in the outside of the server platform to store the API. An error database stores an error occurring in an API calling process on the server platform and an error report about the error. An exception analyzer(280) searches the error database for an error object to provide an error report about the error report to a client. [Reference numerals] (100) Client; (200) Server platform; (220) Service code processing unit; (240) Server platform API; (260) External library API; (300) Server platform; (AA) Standardized server platform definition error report; (BB) Information request; (CC) Error report; (DD) Calling the server platform API; (EE,GG) Error generated; (FF) Calling the external library API; (HH) Transmitting/processing all errors generated; (II) Conversion

Description

서버 플랫폼의 오류 처리 시스템 {ERROR PROCESSING SYSTEM FOR SERVER PLATFORM}Error handling system on server platform {ERROR PROCESSING SYSTEM FOR SERVER PLATFORM}

본 발명은 자바 서버 플랫폼의 오류처리에 관한 것으로, 더욱 상세하게는 자바 서버 플랫폼에서 서비스 개발시 발생되는 오류를 예외처리 기법을 사용하여 개발자가 정의하지 않고 플랫폼에서 처리할 수 있는 오류 처리 시스템에 관한 것이다.
The present invention relates to error handling of a Java server platform, and more particularly, to an error handling system that can handle an error generated when a service is developed in a Java server platform in a platform without a developer using an exception handling technique. will be.

도 1은 자바 서버의 일반적인 서비스 개발 레이어를 도시한 개념도이고, 도 2는 종래 기술에 의한 자바 서버 플랫폼의 오류 처리 시스템을 도시한 블록도이며, 도 3은 종래기술에 의한 자바 오류 처리의 일 예를 도시한 예시도이다.1 is a conceptual diagram illustrating a general service development layer of a Java server, FIG. 2 is a block diagram illustrating an error processing system of a Java server platform according to the prior art, and FIG. 3 is an example of Java error processing according to the prior art. It is an exemplary diagram showing the.

먼저, 도 1에 도시한 바와 같이, 일반적인 자바 서비스 개발은 각각 탑재되는 OS(Operating system)에 따라 해당 OS에 적합한 JDK(Java Development Kit)를이용하여 서버플랫폼을 구성한다. 즉, 구체적으로 설명하면, 서버 플랫폼 개발은 JDK의 API로 작성되고 서비스 개발은 서버 platform의 API로 개발된다.First, as shown in FIG. 1, in general Java service development, a server platform is configured using a JDK (Java Development Kit) suitable for a corresponding OS according to an operating system (OS) mounted thereon. In other words, the server platform development is written in the JDK API and the service development is developed in the API of the server platform.

상기 JDK(Java Development Kit)는 자바 개발자를 대상으로 제공된 개발툴이다.The JDK (Java Development Kit) is a development tool provided for Java developers.

한편, 도 2에 도시된 바와 같이, 종래기술에 의한 자바 서버 플랫폼의 오류 처리 시스템은 서비스 코드 처리부(22)와 서버 플랫폼 API 저장부(24), 외부 라이브러리 API 저장부(26)를 포함하여 구성되는 서버 플랫폼(20)을 포함하여 구성된다.Meanwhile, as shown in FIG. 2, the error processing system of the Java server platform according to the related art includes a service code processor 22, a server platform API storage unit 24, and an external library API storage unit 26. It is configured to include a server platform 20.

이때, 상기 클라이언트(10)로부터 정보가 요청되면, 상기 서비스 코드 처리부(22)는 상기 정보 요청에 따라 상기 서버 플랫폼 API 저장부(24)로부터 API를 호출하거나, 외부 라이브러리 API 저장부(26)로부터 API를 호출하여 요청된 정보를 처리하게 된다.In this case, when information is requested from the client 10, the service code processor 22 calls an API from the server platform API storage 24 according to the information request, or from an external library API storage 26. Call the API to process the requested information.

상기 API의 호출과정에서 다양한 이유에 의해 오류(error)가 발생되는데, 발생된 오류에 대하여는 상기 서비스 코드 처리부(22)가 해당 오류의 내용을 분석하여 클라이언트(10)로 전송하게 된다.An error is generated for various reasons in the calling process of the API, and the service code processor 22 analyzes the content of the error and transmits the error to the client 10.

여기서, 상기 서비스 코드 처리부(22)가 오류를 처리하기 위해서는, 서비스 개발자가 상기 서버 플랫폼(20)에 각각의 오류에 대하여 미리 정의를 하여야하고, 이는 개발 서비스에 대하여 각각 별개로 정의되어야 한다. 이에 의해 상기 서비스 코드 처리부(22)는 상기 개발자가 정의한 대로 클라이언트에 오류보고를 실행하게 된다.Here, in order for the service code processor 22 to process an error, a service developer must predefine each error in the server platform 20, which must be defined separately for each development service. As a result, the service code processor 22 executes an error report to the client as defined by the developer.

상기 개발자가 오류 처리를 위하여 오류에 대하여 정의하는 내용을 설명하면, 도 3에 도시한 바와 같이, 상기 서비스 개발자가 catch(ArithmeticException ae), catch(SQLException sqle) 및 catch(Exception)과 같이 각각 발생될 수 있는 에러의 종류를 정의하고, 이들에 대하여 각각 잘못된 숫자를 입력하셨습니다, DB관련예외발생 및 예외발생과 같이 각 오류 상황에 대한 설명을 정의하여야 한다.When the developer describes the contents defined for the error for error handling, as shown in FIG. 3, the service developer may be generated such as catch (ArithmeticException ae), catch (SQLException sqle), and catch (Exception). You have defined the types of errors that you can do, and you have entered the wrong number for them. You should define the description of each error situation, such as DB related exceptions and exceptions.

그러나, 실제 서비스 개발시에는 오류 처리에 대하여 정의해야할 사항이 무수히 많고, 이에 대하여 실제 개발자가 숙지하여 정의하여야 하므로, 서비스 개발환경을 저해시키는 문제점이 있었다.However, in actual service development, there are a lot of things to be defined for error handling, and the actual developer must know and define the problem, thereby hampering the service development environment.

또한, 동일한 내용의 오류에 대하여도, 오류 상황이 개발자별로 각각 다르게 정의되므로 오류 처리에 대하여 비효율적일 뿐만 아니라 처리 내용도 통일화되지 못하는 문제점이 있었다.
In addition, even for the error of the same content, since the error situation is defined differently for each developer, there is a problem that not only is inefficient for error processing but also the processing content is not unified.

대한민국 특허 공개 10-2007-0075871호Republic of Korea Patent Publication 10-2007-0075871

본 발명은 상기와 같은 종래의 문제점을 해결하기 위하여 안출된 것으로, 본 발명의 목적은 자바 서비스 개발에 있어 오류처리를 개발자가 개별적으로 정의하지 않고, 서버 플랫폼에서 처리할 수 있도록 하는 서버 플랫폼의 오류 처리 시스템을 제공하는 것이다.
The present invention has been made to solve the above-mentioned conventional problems, the object of the present invention is the error of the server platform that can be handled in the server platform, the developer does not individually define the error handling in the Java service development To provide a processing system.

상기한 바와 같은 목적을 달성하기 위한 본 발명의 특징에 따르면, 본 발명은 클라이언트로부터 처리 정보를 요청받아 상기 처리 정보에 따라 API를 호출하여 상기 처리 정보를 처리하는 서비스 코드 처리부와; 서버 플랫폼상에 클래스 라이브러리의 집합인 API가 저장되는 서버 플랫폼 API 저장부 또는 상기 서버 플랫폼 외부에 구비되어 클래스 라이브러리의 집합인 API가 저장되는 외부 라이브러리 API 저장부 중 어느 하나 이상과; 서버플랫폼 형태의 오류 및 이에 대한 오류 보고가 저장되는 서버 오류 데이터베이스와; 상기 서비스 코드 처리부가 API를 호출하는 과정에서 발생되는 오류를 전달받고, 오류 객체를 상기 오류 데이터베이스로부터 검색하여 해당 오류 객체에 대한 오류보고를 클라이언트로 제공하는 예외분석기를 포함하여 구성된다.According to a feature of the present invention for achieving the above object, the present invention includes a service code processing unit for receiving the processing information from the client and processing the processing information by calling an API according to the processing information; Any one or more of a server platform API storage unit for storing an API which is a set of class libraries on a server platform or an external library API storage unit which is provided outside the server platform and stores an API which is a set of class libraries; A server error database for storing server platform type errors and error reports thereof; The service code processor is configured to include an exception analyzer that receives an error generated in the process of calling an API, retrieves an error object from the error database, and provides an error report for the corresponding error object to the client.

그리고 상기 서비스 코드 처리부는, 상기 처리정보에 따라 상기 서버 플랫폼 API 저장부 또는 외부 라이브러리 API 저장부 중 어느 하나로부터 상기 API를 호출할 수도 있다.The service code processor may call the API from any one of the server platform API storage unit or the external library API storage unit according to the processing information.

또한, 상기 예외분석기는, 상기 발생된 오류가 상기 외부 라이브러리 API 저장부로부터 API 호출 과정에서 발생된 경우, 오류 객체를 서버 플랫폼의 규격에 맞는 에러로 변환할 수도 있다.In addition, the exception analyzer may convert the error object into an error that conforms to the standard of the server platform when the generated error occurs in the API call process from the external library API storage.

그리고 상기 오류객체의 변환은, 상기 외부 라이브러리에서 발생하는 에러를 서버 platform 에러로 변환하는 proxy 객체 사용하여 처리될 수도 있다.The error object may be converted using a proxy object that converts an error occurring in the external library into a server platform error.

또한, 상기 서비스 코드 처리부는, throw unchecked exception 기법을 통해 상기 오류 객체를 상기 예외분석기로 전달할 수도 있다.
In addition, the service code processor may transmit the error object to the exception analyzer through a throw unchecked exception technique.

위에서 살핀 바와 같은 본 발명에 의한 서버 플랫폼의 오류 처리 시스템에서는 다음과 같은 효과를 기대할 수 있다.In the error handling system of the server platform according to the present invention as described above, the following effects can be expected.

즉, 서비스 개발시 오류 처리 및 정의를 개발자가 하지 않고, 데이터 베이스에 정의된 오류 처리 및 정의를 이용하여 예외분석기가 처리하므로, 개발 효율이 증가되는 장점이 있다.That is, the developer does not perform error handling and definition during service development, and the exception analyzer processes the error processing and definition defined in the database, thereby improving development efficiency.

그리고 본 발명은 동일한 오류 상황에 대하여 동일한 오류 처리가 수행되므로, 통일화된 오류 결과를 보여주는 장점이 있다.
In addition, the present invention has the advantage of showing a uniform error result because the same error processing is performed for the same error situation.

도 1은 자바 서버의 일반적인 개발 레이어를 도시한 개념도.
도 2는 종래 기술에 의한 자바 서버 플랫폼의 오류 처리시스템을 도시한 블록도.
도 3은 종래기술에 의한 자바 오류 처리의 일 예를 도시한 예시도.
도 4는 본 발명에 의한 자바 서버 플랫폼의 오류 처리시스템을 도시한 블록도.
도 5는 본 발명에 의한 자바 오류 처리의 일 예를 도시한 예시도.
도 6은 본 발명에 의한 자바 오류 처리의 다른 예를 도시한 예시도.
도 7은 본 발명에 의한 자바 오류 처리의 또 다른 예를 도시한 예시도.
1 is a conceptual diagram illustrating a general development layer of a Java server.
Figure 2 is a block diagram showing an error processing system of the Java server platform according to the prior art.
Figure 3 is an exemplary view showing an example of Java error processing according to the prior art.
Figure 4 is a block diagram showing an error processing system of the Java server platform according to the present invention.
5 is an exemplary diagram illustrating an example of Java error processing according to the present invention;
6 is an exemplary diagram showing another example of Java error processing according to the present invention;
Figure 7 is an illustration showing another example of Java error processing according to the present invention.

이하에서는 상기한 바와 같은 본 발명에 의한 서버 플랫폼의 오류 처리 시스템의 구체적인 실시예를 첨부된 도면을 참고하여 상세하게 설명한다.Hereinafter, with reference to the accompanying drawings a specific embodiment of the error processing system of the server platform according to the present invention as described above will be described in detail.

도 4는 본 발명에 의한 자바 서버 플랫폼의 오류 처리시스템을 도시한 블록도이다.4 is a block diagram illustrating an error processing system of a Java server platform according to the present invention.

이에 도시한 바와 같이, 본 발명에 의한 자바 서버 플랫폼의 오류 처리시스템은 서비스 코드 처리부(220)와, 서버 플랫폼 API 저장부(240)와, 외부 라이브러리 API 저장부(260)와, 예외분석기(280) 그리고 오류 데이터베이스(300)를 포함하여 구성된다.As shown in the drawing, the error processing system of the Java server platform according to the present invention includes a service code processor 220, a server platform API storage unit 240, an external library API storage unit 260, and an exception analyzer 280. And an error database 300.

상기 서비스 코드 처리부(220)는 클라이언트(100)로부터 처리 정보를 요청받아 이를 처리하는 부분으로, 상기 처리 정보에 따라 서버 플랫폼 API 저장부(240) 또는 외부 라이브러리 API 저장부(260)로부터 API를 호출한다.The service code processor 220 receives the processing information from the client 100 and processes the information. The service code processor 220 calls an API from the server platform API storage 240 or the external library API storage 260 according to the processing information. do.

상기 서버 플랫폼 API 저장부(240)는 서버 플랫폼(200)상에 클래스 라이브러리의 집합인 API를 저장한 것이고, 상기 외부 라이브러리 API 저장부(260)는 플랫폼 외부에 API를 저장한 부분이다.The server platform API storage unit 240 stores an API which is a set of class libraries on the server platform 200, and the external library API storage unit 260 stores a API outside the platform.

따라서 상기 서버 플랫폼 API 저장부(240)는 서버 플랫폼(200)에 포함되어 구성되는 부분이지만, 상기 외부 라이브러리 API 저장부(260)는 상기 서버 플랫폼(200) 외부에 구성되어 상기 서버 플랫폼(200)이 API를 호출하여 사용하는 부분이다.Accordingly, the server platform API storage unit 240 is a part included in the server platform 200, but the external library API storage unit 260 is configured outside the server platform 200 to the server platform 200 This is the part that calls and uses this API.

상기 서버 플랫폼 API 저장부(240) 또는 상기 외부 라이브러리 API 저장부(260)의 채택은 API 호출 방식에 따라 구분되는 것으로, API 호출 방식에 따라 어느 하나를 채택하여 사용하거나 양 방법 중 어느 하나를 채택하여 사용할 수 있다.Adoption of the server platform API storage unit 240 or the external library API storage unit 260 is classified according to an API calling method, and either adopts or uses either method according to the API calling method. Can be used.

한편, 상기 예외분석기(280)는 상기 서비스 코드 처리부가 API를 호출하는 과정에서 발생되는 오류를 전달받아 이에 대한 오류 정의를 판단하고, 이에 대한 오류보고를 클라이언트(100)로 제공하는 역할을 수행한다.Meanwhile, the exception analyzer 280 receives an error generated in the process of calling the API and determines an error definition thereof, and provides an error report to the client 100. .

이때, 상기 오류 데이터베이스(300)는 상기 예외분석기(280)에 기 정의된 오류정의에 대한 오류보고를 제공하는 역할을 수행하는 것으로, 상기 오류 데이터베이스(300)에는 서버플랫폼 형태의 오류 및 이에 대한 오류 보고가 저장된다.In this case, the error database 300 serves to provide an error report for the error definition previously defined in the exception analyzer 280, and the error database 300 includes an error in the form of a server platform and an error thereof. The report is saved.

이하에서 상기 서비스 코드 처리부에서 오류가 발생된 경우, 이의 처리 내용에 대하여 간단히 설명하기로 한다.In the following, when an error occurs in the service code processor, the processing contents thereof will be briefly described.

상기 서비스 코드 처리부(220)가 상기 서버 플랫폼 API 저장부(240) 또는 외부 라이브러리 API 저장부(260)로부터 API를 호출하는 과정에서 오류가 발생되면, 상기 오류를 상기 예외분석기(280)로 전달/처리한다.If an error occurs while the service code processor 220 calls an API from the server platform API storage 240 or an external library API storage 260, the service code processor 220 transmits the error to the exception analyzer 280. Process.

이때, 상기 서비스 코드 처리부(220)가 오류 객체를 예외분석기(280)로 전달하는 방법은, throw unchecked exception 기법을 활용하여 수행된다.In this case, the method of delivering the error object to the exception analyzer 280 by the service code processor 220 is performed by using a throw unchecked exception technique.

한편, 상기 예외 분석기(280)가 상기 오류를 전달받으면, 상기 예외 분석기(280)는 상기 오류가 서버 플랫폼 API의 호출과정에서 발생된 것인지 또는 외부 라이브러리 API의 호출과정에서 발생된 것인지 여부를 판별한다.On the other hand, if the exception analyzer 280 receives the error, the exception analyzer 280 determines whether the error occurred in the process of calling the server platform API or in the process of calling the external library API. .

그리고 상기 오류가 서버 플랫폼 API에 의해 발생 된 것이 아닌 경우, 상기 오류를 서버 플랫폼 오류 형태로 변환한다.If the error is not caused by the server platform API, the error is converted into a server platform error form.

여기서 상기 변환의 구체적인 방법은 이하 오류 처리 예시에서 각각 상세하게 설명하기로 한다.Here, the specific method of the conversion will be described in detail in the following error processing example.

상기 예외 분석기(280)는 전달된 오류객체(또는 변환된 오류 객체)를 오류 데이터베이스(300)로부터 검색하고, 상기 오류 데이터베이스(300)에 저장된 해당 오류에 대한 오류보고를 독출한다.The exception analyzer 280 retrieves the delivered error object (or converted error object) from the error database 300, and reads an error report for the corresponding error stored in the error database 300.

이후, 상기 예외 분석기(280)는 해당 오류에 대한 오류보고를 상기 클라이언트(100)로 전달하여 상기 클라이언트(100)가 상기 오류보고를 표시하도록 한다.Thereafter, the exception analyzer 280 transmits an error report about the corresponding error to the client 100 so that the client 100 displays the error report.

이하에서는 본 발명에 의한 자바 오류 처리의 구체적인 예들로, 오류 처리를 위해 상기 서버 플랫폼의 구체적인 프로그래밍 형태를 설명하기로 한다.Hereinafter, specific examples of Java error processing according to the present invention will be described in the specific programming form of the server platform for error processing.

도 5는 본 발명에 의한 자바 오류 처리의 일 예를 도시한 예시도로, 서버 platform API가 오류를 발생시킨 경우 에러 처리가 가능하도록 프로그래밍된 서버 플랫폼의 일 예를 도시하고 있다.5 is a diagram illustrating an example of Java error processing according to the present invention. FIG. 5 illustrates an example of a server platform programmed to process an error when a server platform API generates an error.

이에 도시된 바와 같이, 발생된 에러가 서버 platform API에 의해 발생된 경우는 가장 기본적인 형태로 모든 서버 platform API는 서비스 개발자가 오류처리를 하지 않는 형태로 만들어져 있다. 즉, 도시된 도면과 같이 에러처리에 대한 명령이 존재하지 않는다.As shown in this figure, when the generated error is generated by the server platform API, the most basic form is that all server platform APIs are made in a form in which the service developer does not handle the error. That is, there is no command for error processing as shown in the figure.

이 경우, 전술한 바와 같이 서버 플랫폼 API호출 도중 발생된 에러 객체는 그대로(가공 없이) 예외 분석기로 전달되어 처리된다.In this case, as described above, the error object generated during the server platform API call is passed to the exception analyzer as it is (without processing) and processed.

도 6은 본 발명에 의한 자바 오류 처리의 다른 예를 도시한 예시도로, 외부 라이브러리에서 오류가 발생 된 경우 에러 처리가 가능하도록 프로그래밍된 서버 플랫폼의 일 예를 도시하고 있다.FIG. 6 is a diagram illustrating another example of Java error processing according to the present invention. FIG. 6 illustrates an example of a server platform programmed to handle error when an error occurs in an external library.

서버 platform API가 아닌 다른 외부 라이브러리에서 발생하는 오류가 상기 클라이언트로 그대로 전달되면, 원인파악이 어려우므로 , 이 경우 발생된 에러를 서버 platform의 규격에 맞는 에러로 변환하여 준다.If an error occurring in an external library other than the server platform API is delivered to the client as it is, it is difficult to determine the cause. In this case, the generated error is converted into an error conforming to the standard of the server platform.

즉, 도 6에 도시된 바와 같이, 서버 platform API가 아닌 다른 외부 라이브러리에서 발생하는 오류는 그냥 전달되면 원인 파악이 어려우므로 에러가 발생하면 예외분석기에서 서버 platform의 규격에 맞는 에러로 변환하여 준다.That is, as shown in FIG. 6, if an error occurring in an external library other than the server platform API is just passed, it is difficult to determine the cause, and when an error occurs, the exception analyzer converts the error to an error that meets the standard of the server platform.

또한, 도 7은 본 발명에 의한 자바 오류 처리의 또 다른 예를 도시한 예시도도로, 라이브러리에서 발생하는 에러를 서버 platform 에러로 변환하는 proxy 객체를 사용하여 처리되도록 프로그래밍된 서버 플랫폼의 일 예를 도시하고 있다.7 is an exemplary diagram showing another example of Java error processing according to the present invention. FIG. 7 is an example of a server platform programmed to be processed using a proxy object that converts an error occurring in a library into a server platform error. It is shown.

외부 라이브러리에서 발생하는 에러 자체 만으로는 정확한 오류의 원인을 알기 어려울 경우가 있다. 이 경우에는 해당 외부 라이브러리객체를 감싸는 proxy 객체를 만들어서 외부 라이브러리에서 에러가 생겼을 때 정확한 원인을 알리는 서버 platform 에러를 다시 발생하도록 변환해준다.In some cases, it may be difficult to determine the exact cause of an error by itself. In this case, create a proxy object that wraps the external library object and convert it to re-occur a server platform error that indicates the exact cause when an error occurs in the external library.

본 발명의 권리는 위에서 설명된 실시예에 한정되지 않고 청구범위에 기재된 바에 의해 정의되며, 본 발명의 분야에서 통상의 지식을 가진 자가 청구범위에 기재된 권리범위 내에서 다양한 변형과 개작을 할 수 있다는 것은 자명하다.
It is to be understood that the invention is not limited to the disclosed embodiment, but is capable of many modifications and variations within the scope of the appended claims. It is self-evident.

본 발명은 자바 서버 플랫폼에서 서비스 개발시 발생되는 오류를 예외처리 기법을 사용하여 개발자가 정의하지 않고 처리할 수 있는 오류 처리 시스템에 관한 것으로, 본 발명에 의하면, 서비스 개발시 오류 처리 및 정의를 개발자가 하지 않고, 데이터 베이스에 정의된 오류 처리 및 정의를 이용하여 예외분석기가 처리하여 개발 효율이 증가되는 장점이 있다.
The present invention relates to an error handling system that can handle an error generated when developing a service on a Java server platform without using an exception handling technique. According to the present invention, an error handling and definition is developed during service development. Rather than using the error processing and definitions defined in the database, the exception analyzer handles the development efficiency.

100 : 클라이언트 200 : 서버 플랫폼
220 : 서비스 코드 처리부 240 : 서버 플랫폼 API 저장부
260 : 외부 라이브러리 API 저장부 280 : 예외분석기
300 : 오류 데이터베이스
100: client 200: server platform
220: service code processing unit 240: server platform API storage unit
260: external library API storage unit 280: exception analyzer
300: error database

Claims (5)

클라이언트로부터 처리 정보를 요청받아 상기 처리 정보에 따라 API를 호출하여 상기 처리 정보를 처리하는 서비스 코드 처리부와;
서버 플랫폼상에 클래스 라이브러리의 집합인 API가 저장되는 서버 플랫폼 API 저장부 또는 상기 서버 플랫폼 외부에 구비되어 클래스 라이브러리의 집합인 API가 저장되는 외부 라이브러리 API 저장부 중 어느 하나 이상과;
서버플랫폼에서 API 호출과정에서 발생되는 오류 및 상기 오류에 대한 오류 보고가 저장되는 오류 데이터베이스와;
상기 서비스 코드 처리부가 API를 호출하는 과정에서 발생되는 오류를 전달받고, 오류 객체를 상기 오류 데이터베이스로부터 검색하여 해당 오류 객체에 대한 오류보고를 클라이언트로 제공하는 예외분석기를 포함하여 구성되고:
상기 예외분석기는,
상기 발생된 오류가 상기 외부 라이브러리 API 저장부로부터 API 호출 과정에서 발생된 경우,
오류 객체를 서버 플랫폼의 규격에 맞는 에러로 변환함을 특징으로 하는 서버 플랫폼의 오류 처리 시스템.
A service code processor for receiving processing information from a client and calling the API according to the processing information to process the processing information;
Any one or more of a server platform API storage unit for storing an API which is a set of class libraries on a server platform or an external library API storage unit which is provided outside the server platform and stores an API which is a set of class libraries;
An error database for storing errors generated during API calls in the server platform and error reports of the errors;
The service code processor is configured to include an exception analyzer that receives an error generated in the process of calling an API, retrieves an error object from the error database, and provides an error report for the corresponding error object to the client:
The exception analyzer,
If the generated error occurs in the API call process from the external library API storage,
Error handling system of the server platform, characterized in that the error object is converted into an error that conforms to the specifications of the server platform.
제 1 항에 있어서,
상기 서비스 코드 처리부는,
상기 처리정보에 따라 상기 서버 플랫폼 API 저장부 또는 외부 라이브러리 API 저장부 중 어느 하나로부터 상기 API를 호출함을 특징으로 하는 서버 플랫폼의 오류 처리 시스템.
The method of claim 1,
The service code processing unit,
The server platform error processing system, characterized in that for calling the API from any one of the server platform API storage unit or an external library API storage unit according to the processing information.
삭제delete 제 2 항에 있어서,
상기 오류객체의 변환은,
상기 외부 라이브러리에서 발생하는 에러를 서버 platform 에러로 변환하는 proxy 객체 사용하여 처리됨을 특징으로 하는 서버 플랫폼의 오류 처리 시스템.
The method of claim 2,
The conversion of the error object,
And a proxy object for converting an error occurring in the external library into a server platform error.
제 4 항에 있어서,
상기 서비스 코드 처리부는,
throw unchecked exception 기법을 통해 상기 오류 객체를 상기 예외분석기로 전달함을 특징으로 하는 서버 플랫폼의 오류 처리 시스템.
The method of claim 4, wherein
The service code processing unit,
Throw unchecked exception The error processing system of the server platform, characterized in that for passing the error object to the exception analyzer.
KR1020110084351A 2011-08-24 2011-08-24 Error processing system for server platform KR101234701B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020110084351A KR101234701B1 (en) 2011-08-24 2011-08-24 Error processing system for server platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020110084351A KR101234701B1 (en) 2011-08-24 2011-08-24 Error processing system for server platform

Publications (1)

Publication Number Publication Date
KR101234701B1 true KR101234701B1 (en) 2013-02-19

Family

ID=47899755

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020110084351A KR101234701B1 (en) 2011-08-24 2011-08-24 Error processing system for server platform

Country Status (1)

Country Link
KR (1) KR101234701B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106055429A (en) * 2016-05-24 2016-10-26 努比亚技术有限公司 Information processing method and apparatus
CN117556809A (en) * 2024-01-11 2024-02-13 上海银基信息安全技术股份有限公司 Parameter verification result generation method and device, verification platform and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080050118A (en) * 2006-12-01 2008-06-05 삼성전자주식회사 Method of error detecting method for embedded sofeware
KR20110072113A (en) * 2009-12-22 2011-06-29 한국전자통신연구원 Platform with api information db and method for calling for an api using api information db

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080050118A (en) * 2006-12-01 2008-06-05 삼성전자주식회사 Method of error detecting method for embedded sofeware
KR20110072113A (en) * 2009-12-22 2011-06-29 한국전자통신연구원 Platform with api information db and method for calling for an api using api information db

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106055429A (en) * 2016-05-24 2016-10-26 努比亚技术有限公司 Information processing method and apparatus
CN106055429B (en) * 2016-05-24 2019-05-24 努比亚技术有限公司 A kind of information processing method and device
CN117556809A (en) * 2024-01-11 2024-02-13 上海银基信息安全技术股份有限公司 Parameter verification result generation method and device, verification platform and storage medium
CN117556809B (en) * 2024-01-11 2024-03-29 上海银基信息安全技术股份有限公司 Parameter verification result generation method and device, verification platform and storage medium

Similar Documents

Publication Publication Date Title
US8621439B2 (en) Modern application tracing
US7774404B2 (en) Managing software component versions within a service oriented architecture
US9135138B2 (en) Method and system for tracing individual transactions over messaging systems without adding tracing information to messages
US10911447B2 (en) Application error fingerprinting
US9678767B2 (en) Unified extensible firmware interface (UEFI) driver and protocol
US10496818B2 (en) Systems and methods for software security scanning employing a scan quality index
CN111198813A (en) Interface testing method and device
CN112313627B (en) Mapping mechanism of event to serverless function workflow instance
JP6401235B2 (en) Operating system support for contracts
US10229273B2 (en) Identifying components for static analysis of software applications
KR101234701B1 (en) Error processing system for server platform
CN113384896A (en) Unity-based resource packaging method, device, equipment and medium
CN111124801B (en) Intelligent system resource monitoring method and device and computer readable storage medium
CN107239298B (en) Application program debugging method and device
CN113050984A (en) Resource calling method and device, electronic equipment and storage medium
US20060271771A1 (en) Exception tagging
CN108446232A (en) Introducing method, device, computing device and the storage medium of self-defined detected rule
CN111913804A (en) Pre-visit report generation method and device, electronic equipment and storage medium
US9154380B2 (en) Rules based fetching of operating platform status
CN115510438A (en) Application risk assessment method, device, medium and equipment
US9959163B2 (en) Processing main cause errors and sympathetic errors in devices in a system
US20090193429A1 (en) Method to identify unique host applications running within a storage controller
CN109308256B (en) Dynamic analysis method, equipment and storage medium for java program
US7185345B2 (en) Data propagation in an activity service
US20050204359A1 (en) Context objects for accessing message content

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20160211

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20190212

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20200114

Year of fee payment: 8