KR20130131615A - Transaction pursuit system and control method thereof - Google Patents

Transaction pursuit system and control method thereof Download PDF

Info

Publication number
KR20130131615A
KR20130131615A KR1020120055291A KR20120055291A KR20130131615A KR 20130131615 A KR20130131615 A KR 20130131615A KR 1020120055291 A KR1020120055291 A KR 1020120055291A KR 20120055291 A KR20120055291 A KR 20120055291A KR 20130131615 A KR20130131615 A KR 20130131615A
Authority
KR
South Korea
Prior art keywords
transaction
key value
unit
database
key
Prior art date
Application number
KR1020120055291A
Other languages
Korean (ko)
Other versions
KR101385608B1 (en
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 KR1020120055291A priority Critical patent/KR101385608B1/en
Publication of KR20130131615A publication Critical patent/KR20130131615A/en
Application granted granted Critical
Publication of KR101385608B1 publication Critical patent/KR101385608B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • 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
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/16Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
    • G06F15/163Interprocessor communication
    • G06F15/173Interprocessor communication using an interconnection network, e.g. matrix, shuffle, pyramid, star, snowflake

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Mathematical Physics (AREA)
  • Economics (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The present invention relates to a transaction tracking system and a control method thereof. The control method of the transaction tracking system according to the present invention comprises steps of: a key generator generating a time based key value: a calling part executing a first program code for processing a first transaction matched with a specific transaction process request event when sensing the request event, transmitting, to a database, call start information including the ID of the first transaction to be executed and the latest key value received by the key generator and calling a called part for executing a second transaction to be processed in succession; the called part executing a second program code for processing the second transaction according to the call of the called part, and transmitting, to the database, the transaction information including the ID of the second transaction and the latest key value received from the key generator; and a transaction tracking part generating a transaction tracking result including inter-transaction connecting relation based on the key value stored at the database. [Reference numerals] (110) Key generator;(120) Database;(130) Calling part;(140) Called part;(150) Transaction tracking part

Description

거래 추적 시스템 및 그 제어방법{TRANSACTION PURSUIT SYSTEM AND CONTROL METHOD THEREOF}Transaction tracking system and its control method {TRANSACTION PURSUIT SYSTEM AND CONTROL METHOD THEREOF}

본 발명은 거래 추적 시스템 및 그 제어방법에 관한 것으로, 보다 상세하게는 시스템 내의 각 장치간 연결을 통해서 이루어지는 트랜잭션을 추적하여 각 장치에서 실행되는 트랜잭션의 연결 상태를 판단하는 거래 추적 시스템 및 그 제어방법에 관한 것이다.The present invention relates to a transaction tracking system and a control method thereof, and more particularly, to a transaction tracking system for determining a connection state of a transaction executed in each device by tracking a transaction made through a connection between devices in the system. It is about.

하나의 트랜잭션을 수행하기 위해서 여러 개의 장치간 협력이 필요할 때가 있는데, 예를 들어 계좌 이체를 위한 금융 거래를 처리함에 있어서 사용자의 입력을 처리하는 장치, 사용자 인증을 처리하는 장치와, 계좌 이체를 처리하는 장치가 서로 협업할 수 있는 것이다.In order to perform a transaction, cooperation between several devices is sometimes necessary. For example, in processing a financial transaction for bank transfer, a device for processing user input, a device for processing user authentication, and a bank transfer are processed. Devices can collaborate with each other.

그런데 상술한 바와 같은 트랜잭션은 전체로 보면 하나의 트랜잭션이지만, 각 장치에서 실행되는 것을 기준으로 따지면 복수 개의 서브 트랜잭션의 모음으로 하나의 주 트랜잭션이 완성된다고 할 수 있다.By the way, although the transaction as described above is a single transaction as a whole, it can be said that one main transaction is completed by a collection of a plurality of sub-transactions based on the execution in each device.

즉, 각 장치에서 수행되는 것은 서브 트랜잭션에 해당되고, 이러한 각 장치에서 이루어지는 서브 트랜잭션의 조합으로 주 트랜잭션이 완성되는 것이다.That is, what is performed in each device corresponds to a sub transaction, and the main transaction is completed by a combination of sub transactions performed in each of these devices.

이처럼 하나의 트랜잭션(주 트랜잭션)이 처리 및 완성되기 위해서는 각 장치마다 필요한 트랜잭션(서브 트랜잭션)이 처리 및 완성되어야 하는데, 문제는 이처럼 하나의 주 트랜잭션의 처리를 위해 각 장치에 분산된 서브 트랜잭션이 처리되어야 하므로 각 장치간의 트랜잭션 연결을 확인할 방법이 없다는 것이다.In order for one transaction (main transaction) to be processed and completed, the required transaction (sub transaction) must be processed and completed for each device. The problem is that a sub transaction distributed to each device is processed to process one main transaction. There is no way to verify transactional connections between devices.

예를 들어 하나의 주 트랜잭션의 처리에 시간 지연과 같은 문제가 발생하는 경우 이러한 시간 지연 문제를 야기하는 장치가 어느 것인지, 또한 해당 장치에서 어떠한 프로그램 코드에 의해 발생하는 것인지를 용이하게 확인할 수 있는 수단이 제공되고 있지 못한 실정이다.For example, if a problem such as a time delay occurs in the processing of one main transaction, a means of easily identifying which device is causing the time delay problem and which program code is caused by the device. This situation has not been provided.

이는 하나의 주 트랜잭션의 처리에 관여하는 각각의 서브 트랜잭션 간의 연결 구조를 관리하고 있지 못하고 있는데 기인한다.This is due to the inability to manage the connection structure between each sub-transaction involved in the processing of one main transaction.

따라서 전체 트랜잭션(주 트랜잭션)의 처리에 관여하는 각 장치에서의 트랜잭션(서브 트랜잭션) 간의 연결을 관리할 수 있는, 특히나 이미 시스템이 구축되어 구동되고 있는 경우 추가 비용을 최소화하면서 각 서브 트랜잭션 간의 연결 구조를 관리할 수 있는 수단의 제시가 요망되고 있다.Therefore, it is possible to manage the connection between transactions (sub-transactions) in each device involved in the processing of the entire transaction (main transaction), especially the connection structure between each sub-transaction while minimizing the additional cost when the system is already built and running. It is desirable to present a means to manage this.

본 발명은 상기한 종래의 필요성을 충족시키기 위해 안출된 것으로서, 주 트랜잭션의 처리에 관여하는 각 장치의 트랜잭션 간의 연결 구조를 판단할 수 있도록 하는 거래 추적 시스템 및 그 제어방법을 제공하는 것이다. SUMMARY OF THE INVENTION The present invention has been made to satisfy the above-mentioned conventional necessity. The present invention provides a transaction tracking system and a control method for determining a connection structure between transactions of each device involved in processing a main transaction.

상기한 목적을 달성하기 위해 본 발명에 따른 거래 추적 시스템은, 시간에 기반한 키 값을 생성하는 키 생성부와; 데이터베이스부와; 특정 거래 처리 요청 이벤트 감지시 해당 특정 거래 처리 요청 이벤트에 대응되는 제1 트랜잭션의 처리를 위한 제1 프로그램 코드를 실행시키고, 상기 실행되는 제1 트랜잭션 아이디와 상기 키 생성부로부터 수신된 가장 최신의 키 값을 포함하는 호출 시작 정보를 상기 데이터베이스부에 전송하고, 이어서 처리되어야 하는 제2 트랜잭션의 실행을 위해 피호출부를 호출하는 호출부와; 상기 호출부의 호출에 따라 제2 트랜잭션의 처리를 위한 제2 프로그램 코드를 실행시키고, 해당 제2 트랜잭션 아이디와 상기 키 생성부로부터 수신된 가장 최신의 키 값을 포함하는 트랜잭션 정보를 상기 데이터베이스부에 전송하는 피호출부와; 상기 데이터베이스부에 저장된 키 값을 기초로 트랜잭션 간 연결 관계를 포함하는 거래 추적 결과를 생성하는 거래 추적부를 포함하여 구성된다.In order to achieve the above object, a transaction tracking system according to the present invention includes a key generation unit for generating a key value based on time; A database unit; When the specific transaction processing request event is detected, the first program code for processing the first transaction corresponding to the specific transaction processing request event is executed, and the first transaction ID and the latest key received from the key generation unit are executed. A calling unit which transmits call start information including a value to said database unit and then calls a called unit for execution of a second transaction to be processed; In response to a call of the calling unit, a second program code for processing a second transaction is executed, and transaction information including a corresponding second transaction ID and the latest key value received from the key generation unit is transmitted to the database unit. To be called; And a transaction tracking unit for generating a transaction tracking result including a connection relationship between transactions based on a key value stored in the database unit.

또, 상기한 목적을 달성하기 위해 본 발명에 따른 거래 추적 시스템이 수행하는 제어방법은, 키 생성부가 시간에 기반한 키 값을 생성하는 단계와; 호출부가 특정 거래 처리 요청 이벤트 감지시 해당 특정 거래 처리 요청 이벤트에 대응되는 제1 트랜잭션의 처리를 위한 제1 프로그램 코드를 실행시키고, 상기 실행되는 제1 트랜잭션 아이디와 상기 키 생성부로부터 수신된 가장 최신의 키 값을 포함하는 호출 시작 정보를 데이터베이스부에 전송하고, 이어서 처리되어야 하는 제2 트랜잭션의 실행을 위해 피호출부를 호출하는 단계와; 피호출부가 상기 호출부의 호출에 따라 제2 트랜잭션의 처리를 위한 제2 프로그램 코드를 실행시키고, 해당 제2 트랜잭션 아이디와 상기 키 생성부로부터 수신된 가장 최신의 키 값을 포함하는 트랜잭션 정보를 상기 데이터베이스부에 전송하는 단계와; 거래 추척부가 상기 데이터베이스부에 저장된 키 값을 기초로 트랜잭션 간 연결 관계를 포함하는 거래 추적 결과를 생성하는 단계를 포함하여 이루어진다.In addition, a control method performed by the transaction tracking system according to the present invention in order to achieve the above object, the key generation unit for generating a key value based on time; When the caller detects a specific transaction processing request event, the caller executes a first program code for processing the first transaction corresponding to the specific transaction processing request event, and executes the first transaction ID and the latest received from the key generator. Sending call start information including a key value of the database unit to thereafter, calling the called unit for execution of a second transaction to be processed; The called part executes the second program code for processing the second transaction according to the call of the calling part, and transmits the transaction information including the corresponding second transaction ID and the latest key value received from the key generation part into the database. Transmitting to the unit; The transaction tracking unit may include generating a transaction tracking result including a connection relationship between transactions based on the key value stored in the database unit.

이상 설명한 바와 같이 본 발명에 따르면, 관리자 등은 특정 트랜잭션의 처리를 위해 각 장치에서 수행되는 개별 트랜잭션들의 관련성을 용이하게 확인할 수 있다. 특히 동적으로 삽입되는 코드의 기능에 따라 상술한 효과를 달성함으로써 기존 시스템의 변경을 최소화하여 비용 절감을 꾀할 수 있다.As described above, according to the present invention, the manager or the like can easily check the relevance of individual transactions executed in each device for processing a specific transaction. In particular, by achieving the above-described effects according to the function of dynamically inserted code, it is possible to reduce the cost by minimizing the change of the existing system.

도 1은 본 발명의 일 실시예에 따른 거래 추적 시스템의 기능 블록도이고,
도 2는 도 1의 각 기능 블록도가 각각의 장치로 대체된 도면이고,
도 3은 도 1의 호출부와 피호출부의 소프트웨어 구성의 일 예이고,
도 4 내지 도 6은 본 발명의 일 실시예에 따른 거래 추적 시스템의 제어 흐름도이고,
도 7은 본 발명의 일 실시예에 따른 거래 추적 시스템의 결과로써 관리자 등이 확인할 수 있는 화면의 일 예를 나타낸 도면이다.
1 is a functional block diagram of a transaction tracking system according to an embodiment of the present invention,
FIG. 2 is a diagram in which each functional block diagram of FIG. 1 is replaced with a respective device;
FIG. 3 is an example of software configuration of the calling unit and the called unit of FIG. 1;
4 to 6 is a control flowchart of a transaction tracking system according to an embodiment of the present invention,
FIG. 7 is a diagram illustrating an example of a screen that can be confirmed by a manager or the like as a result of a transaction tracking system according to an exemplary embodiment of the present invention.

이하에서는 첨부도면을 참조하여 본 발명에 대해 상세히 설명한다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

본 발명의 일 실시예에 따른 거래 추적 시스템을 그 기능을 기준으로 구분하면, 도 1에 도시된 바와 같이 키 생성부(110), 데이터베이스부(120), 호출부(130), 피호출부(140), 거래 추적부(150)를 포함하여 구성될 수 있다.When the transaction tracking system according to an embodiment of the present invention is classified based on its function, as shown in FIG. 1, the key generation unit 110, the database unit 120, the calling unit 130, and the called unit ( 140, the transaction tracking unit 150 may be configured.

이러한 각 기능 블록은 각각의 별개의 장치에 대응되는 것일 수도 있고, 그 중 복수 개의 기능 블록이 어느 하나의 장치에 대응되는 것일 수도 있다.Each functional block may correspond to a separate device, and a plurality of functional blocks may correspond to any one device.

이하에서는 각 기능 블록이 각각 별개의 장치에 해당하는 것을 일 예로 한 도 2를 참조하여 각 장치에서 수행되는 기능을 구체적으로 설명한다.Hereinafter, a function performed in each device will be described in detail with reference to FIG. 2 as an example in which each function block corresponds to a separate device.

키 생성부(110)에 대응하는 키 생성 장치(110)는 시간에 기반한 키 값을 생성하는 기능을 수행한다. 예를 들어 키 생성 장치(110)는 일정한 시간 간격을 두고 시간을 변수로 계산한 키 값을 생성할 수 있다.The key generation device 110 corresponding to the key generation unit 110 performs a function of generating a key value based on time. For example, the key generation device 110 may generate a key value obtained by calculating time as a variable at regular time intervals.

키 생성 장치(110)는 키 값을 생성할 때마다 후술하는 호출 장치(130) 및 피호출 장치(140)에 전송할 수 있다.The key generation device 110 may transmit the key value to the calling device 130 and the called device 140 to be described later each time.

데이터베이스부(120)에 대응하는 데이터베이스 장치(120)는 호출 장치(130) 및 피호출 장치(140)로부터 수신되는 정보를 수신하여 저장하고, 추후 거래 추적 장치(150)에 해당 저장된 정보를 제공하여 거래 추적이 처리되도록 할 수 있다.The database device 120 corresponding to the database unit 120 receives and stores information received from the calling device 130 and the called device 140, and provides the stored information to the transaction tracking device 150 later. Transaction tracking can be processed.

구체적으로 데이터베이스 장치(120)는 호출 장치(130)로부터는 호출 시작 정보와 호출 완료 정보를 수신할 수 있고, 피호출 장치(140)로부터는 트랜잭션 정보와 트랜잭션 완료 정보를 수신할 수 있다.In detail, the database device 120 may receive call start information and call completion information from the call device 130, and receive transaction information and transaction completion information from the called device 140.

이러한 호출 시작 정보, 호출 완료 정보, 트랜잭션 정보, 트랜잭션 완료 정보에는 각 트랜잭션 아이디와 키 생성 장치(110)에 의해 생성된 키 값이 포함될 수 있고, 데이터베이스 장치(120)는 이러한 각 트랜잭션 아이디와 키 값을 서로 매칭시켜 저장하게 된다.Such call start information, call completion information, transaction information, and transaction completion information may include each transaction ID and a key value generated by the key generation device 110, and the database device 120 may determine each such transaction ID and key value. Are matched with each other and stored.

여기서 트랜잭션 아이디는 각 트랜잭션을 구분할 수 있게 하는 것으로서, 거래 추적 시스템을 통틀어 각 트랜잭션 아이디는 유일할 수 있다. 예를 들어 트랜잭션 아이디에는 해당 트랜잭션을 수행하는 장치 번호와 해당 트랜잭션을 수행하는 프로그램 코드 정보 중 적어도 어느 하나가 포함될 수 있다.The transaction ID is used to distinguish each transaction. Each transaction ID may be unique throughout the transaction tracking system. For example, the transaction ID may include at least one of a device number for executing the transaction and program code information for executing the transaction.

호출부(130)에 해당하는 호출 장치(130)는 키 생성 장치(110)로부터 키 값을 수신하는 한편, 특정 거래 처리 요청 이벤트 감지시 해당 특정 거래 처리 요청 이벤트에 대응되는 트랜잭션의 처리를 위한 프로그램 코드를 실행시키는 기능을 수행하고, 이어서 처리되어야 하는 트랜잭션의 실행을 위해 피호출 장치(140)를 호출하는 기능을 수행한다.The calling device 130 corresponding to the calling unit 130 receives a key value from the key generation device 110, and when a specific transaction processing request event is detected, a program for processing a transaction corresponding to the specific transaction processing request event. Performs a function of executing code, and then calls a called device 140 for execution of a transaction to be processed.

여기서 특정 거래 처리 요청 이벤트에는 금융 처리 요청, 상품 주문 요청, 웹 서비스 제공 요청 등 사용자들의 각종 요청 중에서, 해당 요청 처리를 위해 복수 개의 장치에서의 트랜잭션 처리가 필요한 모든 요청에 따른 이벤트 신호를 포함한다.Here, the specific transaction processing request event includes an event signal according to all requests that require transaction processing in a plurality of devices for processing the request, among various requests of users such as a financial processing request, a product order request, and a web service provision request.

따라서 호출 장치(130)는 이러한 특정 거래 처리 요청 이벤트가 감지되는 경우에는 자신이 수행해야 하는 트랜잭션(이하 '제1 트랜잭션'이라 함)의 처리를 위한 프로그램 코드(이하 '제1 프로그램 코드'라 함)를 실행하고, 해당 제1 트랜잭션의 처리가 종료되는 시점에 해당 특정 거래 처리 요청 이벤트에 따라 처리되어야 할 트랜잭션(이하 '제2 트랜잭션'이라 함)의 실행을 위해 피호출 장치(140)를 호출하는 기능을 수행하는 것이다.Therefore, when the call device 130 detects such a specific transaction processing request event, the calling device 130 is referred to as a program code (hereinafter referred to as 'first program code') for processing a transaction that should be performed (hereinafter referred to as 'first transaction'). Call the called device 140 to execute a transaction (hereinafter referred to as a 'second transaction') to be processed according to the specific transaction processing request event when the processing of the first transaction ends. It is to perform the function.

즉, 본 실시예에서는 전체 트랜잭션을 수행하기 위해서는 호출 장치(130)의 제1 트랜잭션과 피호출 장치(140)의 제2 트랜잭션의 처리가 필요한 것을 일 예로 하고 있고, 제1 트랜잭션의 실행 이후에 제2 트랜잭션의 실행이 필요하므로 제1 트랜잭션을 실행한 후 제2 트랜잭션의 실행을 호출하는 장치를 편의상 호출 장치(130)라 칭하고, 호출 장치(130)의 요청에 따라 제2 트랜잭션을 실행하는 장치를 피호출 장치(140)라 칭하였다.That is, in this embodiment, in order to perform the entire transaction, processing of the first transaction of the calling device 130 and the second transaction of the called device 140 is required as an example, and after execution of the first transaction, Since the execution of the second transaction is required, a device for calling the execution of the second transaction after executing the first transaction is called the calling device 130 for convenience, and an apparatus for executing the second transaction at the request of the calling device 130. Called device 140 is called.

호출 장치(130)는 또한 실행되는 제1 트랜잭션 아이디와 키 생성 장치(110)로부터 수신된 가장 최신의 키 값을 포함하는 호출 시작 정보를 데이터베이스 장치(120)에 전송하는 기능도 수행한다.The calling device 130 also performs a function of transmitting call start information including the first transaction ID to be executed and the latest key value received from the key generating device 110 to the database device 120.

여기서 제1 트랜잭션 아이디는 제1 트랜잭션을 다른 트랜잭션과 구분할 수 있도록 하는 것으로서, 호출 장치(130) 정보를 포함하여 구성될 수도 있고, 또는 해당 제1 트랜잭션의 수행을 위한 프로그램 코드 정보(해당 프로그램 아이디 또는 프로그램 파일명)를 포함하여 구성될 수도 있다.Here, the first transaction ID may be configured to distinguish the first transaction from other transactions, and may include the calling device 130 information, or program code information for performing the first transaction (the corresponding program ID or Program file name).

또는 호출 장치(130)는 가장 최신의 키 값에 호출부 정보를 포함시킨 수정 키 값을 생성한 후, 해당 수정 키 값을 호출 시작 정보에 포함시킬 수도 있다. 예를 들어 호출 장치(130)는 자신의 아이피 주소와, 피호출 장치를 호출할 때 이용하는 출발지 포트 번호와 앞서 키 생성 장치(110)로부터 수신한 최신의 키 값을 모두 포함하는 수정 키 값을 생성한 후 호출 시작 정보에 포함시켜 데이터베이스 장치(120)에 전송할 수도 있는 것이다.Alternatively, the calling device 130 may generate a modification key value including the caller information in the most recent key value, and then include the corrected key value in the call start information. For example, the calling device 130 generates a modified key value including both its own IP address, the source port number used when calling the called device, and the latest key value previously received from the key generating device 110. It may be included in the call start information and transmitted to the database device 120.

호출 장치(130)는 상술한 기능을 수행하기 위해 특정 거래 처리 요청 이벤트 감지시에 제1 트랜잭션의 처리를 위한 제1 프로그램 코드에 기 설정된 동적 추가 코드를 삽입할 수 있는데, 호출 시작 정보를 데이터베이스 장치(120)에 전송하는 것은 앞서 삽입된 동적 추가 코드의 실행에 따라 이루어질 수 있다.The calling device 130 may insert the preset dynamic additional code into the first program code for processing the first transaction when detecting a specific transaction processing request event to perform the above-described function. Sending to 120 may be done in accordance with the execution of the dynamic addition code previously inserted.

한편, 피호출부(140)에 대응하는 피호출 장치(140)는, 키 생성 장치(110)로부터 키 값을 수신하는 한편, 호출 장치(130)의 호출에 따라 제2 트랜잭션의 처리를 위한 제2 프로그램 코드를 실행시키고, 해당 제2 트랜잭션 아이디와 키 생성 장치(110)로부터 수신된 가장 최신의 키 값을 포함하는 트랜잭션 정보를 데이터베이스 장치(120)에 전송하는 기능을 수행한다.On the other hand, the called device 140 corresponding to the called unit 140 receives the key value from the key generating device 110 and, upon receiving the call of the calling device 130, the second device for processing the second transaction. 2, the program code is executed, and the transaction information including the corresponding second transaction ID and the latest key value received from the key generation device 110 is transmitted to the database device 120.

즉, 피호출 장치(140)는 호출 장치(130)에서 수행된 제1 트랜잭션에 이어서 수행되어야 하는 제2 트랜잭션을 처리하는 장치로서, 제2 트랜잭션에 대응하는 제2 프로그램 코드를 구비한 상태에서 호출 장치(130)로부터 요청이 있는 경우 제2 프로그램 코드를 실행시키고, 이때 트랜잭션 정보를 데이터베이스 장치(120)에 전송하는 것이다.That is, the called device 140 is a device for processing a second transaction that should be performed after the first transaction performed in the calling device 130, and is called with the second program code corresponding to the second transaction. When there is a request from the device 130, the second program code is executed, and at this time, the transaction information is transmitted to the database device 120.

여기서 트랜잭션 정보에는 제2 트랜잭션 아이디와 최신의 키 값이 포함될 수 있는데, 제2 트랜잭션 아이디는 제2 트랜잭션을 다른 트랜잭션과 구분할 수 있도록 하는 것으로서, 호출 장치(130) 정보를 포함하여 구성될 수도 있고, 또는 해당 제2 트랜잭션의 수행을 위한 프로그램 코드 정보(해당 프로그램 아이디 또는 프로그램 파일명)를 포함하여 구성될 수도 있다.The transaction information may include the second transaction ID and the latest key value. The second transaction ID may be configured to distinguish the second transaction from another transaction, and may include the calling device 130 information. Alternatively, the configuration may include program code information (a corresponding program ID or a program file name) for performing the second transaction.

또는 피호출 장치(140)는 가장 최신의 키 값에 호출부 정보를 포함시킨 수정 키 값을 생성한 후, 해당 수정 키 값을 호출 시작 정보에 포함시킬 수도 있다. 예를 들어 피호출 장치(140)는 자신을 호출한 호출장치(130)의 아이피 주소 및 출발지 포트 번호와 앞서 키 생성 장치(110)로부터 수신한 최신의 키 값을 모두 포함하는 수정 키 값을 생성한 후 호출 시작 정보에 포함시켜 데이터베이스 장치(120)에 전송할 수도 있는 것이다.Alternatively, the called device 140 may generate a modification key value including the call part information in the most recent key value and then include the corrected key value in the call start information. For example, the called device 140 generates a modified key value including both an IP address and a source port number of the calling device 130 calling itself and a latest key value previously received from the key generating device 110. It may be included in the call start information and transmitted to the database device 120.

피호출 장치(140)는 상술한 기능을 수행하기 위해 호출 장치(130)로부터 요청이 있는 경우 제2 트랜잭션의 처리를 위한 제2 프로그램 코드에 기 설정된 동적 추가 코드를 삽입할 수 있고, 트랜잭션 정보를 데이터베이스 장치(120)에 전송하는 것은 상기 삽입된 동적 추가 코드의 실행에 따라 이루어질 수 있다.The called device 140 may insert the predetermined dynamic addition code into the second program code for processing the second transaction when a request is made from the calling device 130 to perform the above-described function, and inserts the transaction information into The transmission to the database device 120 may be made according to the execution of the inserted dynamic addition code.

거래 추적부(150)에 대응되는 거래 추적 장치(150)는 데이터베이스 장치(120)에 저장된 키 값을 기초로 트랜잭션 간 연결 관계를 포함하는 거래 추적 결과를 생성할 수 있다.The transaction tracking device 150 corresponding to the transaction tracking unit 150 may generate a transaction tracking result including a connection relationship between transactions based on a key value stored in the database device 120.

이때 거래 추적 장치(150)는 기 설정된 범위를 기준으로 상기 데이터베이스 장치(120)에 저장된 키 값의 동일성 여부를 판단하고, 해당 판단된 동일한 키 값을 기초로 트랜잭션 간 연결 관계를 포함하는 거래 추적 결과를 생성할 수 있다.At this time, the transaction tracking device 150 determines whether the key values stored in the database device 120 are identical based on a preset range, and a transaction tracking result including a connection relationship between transactions based on the determined same key value. Can be generated.

예를 들어 거래 추적 장치(150)는 정확히 일치하지는 않더라도 일정한 범위에 속하는 키 값을 동일한 것으로 판단한 후 그 동일하다고 판단된 키 값에 매칭된 각 트랜잭션 아이디를 추출하여 트랜잭션 간 연결 관계를 포함하는 거래 추적 결과를 생성할 수 있다.For example, the transaction tracking device 150 determines that the key values belonging to a certain range are the same, even if they are not exactly matched, and then extracts each transaction ID matched to the key value determined to be the same to track transactions including the connection relationship between transactions. Can produce a result.

특히 거래 추적 장치(150)는 데이터베이스 장치(120)에 저장된 수정 키 값들 중 출발지 정보 즉, 호출 장치(130)의 아이피 주소와 포트 번호가 일치하는 수정 키 값들 중 시간 정보에 기초한 최신의 키 값이 일정 범위에 속하는 수정 키 값들을 동일한 것으로 간주 한 후 동일한 수정 키 값에 매칭된 트랜잭션 아이디들을 추적하여 거래 추적 결과를 생성할 수 있는 것이다.In particular, the transaction tracking device 150 is a source key information of the modification key values stored in the database device 120, that is, the latest key value based on the time information among the modification key values matching the IP address and the port number of the calling device 130 After considering the modification key values belonging to a certain range as the same, the transaction tracking result can be generated by tracking the transaction IDs matching the same modification key value.

이러한 거래 추적 장치(150)는 예를 들어 관리자 컴퓨터에 해당할 수 있고, 또는 데이터베이스 장치(120)와 통합 구성될 수도 있다.Such transaction tracking device 150 may correspond to, for example, an administrator computer, or may be integrated with the database device 120.

도 3에는 도 2의 호출 장치(130) 또는 피호출 장치(140)의 프로그램 블록의 일 예가 나타나 있다. 즉, 호출 장치(130) 및 피호출 장치(140)는 모두 JVM(Java Virtual Machine) 환경에서 구동되는 WAS(Web Application Server)를 포함하고 있을 수 있고, 각 트랜잭션에 대응되는 프로그램 코드는 WAS에서 실행되는 JSP(Java Server Page) 확장자를 갖는 파일에 포함되어 실행될 수 있다.3 illustrates an example of a program block of the calling device 130 or the called device 140 of FIG. 2. That is, the calling device 130 and the called device 140 may both include a web application server (WAS) running in a Java virtual machine (JVM) environment, and program code corresponding to each transaction is executed in the WAS. It can be included and executed in a file with a Java Server Page (JSP) extension.

여기서 JSP 파일은 자바(JAVA) 서버 환경에서 사용되는 스크립트 방식의 언어로 작성된 것으로서 서버에서 실행되어 쓰레드 형태로 클라이언트의 요청에 응답하여 서비스를 제공할 수 있도록 하는 것을 의미한다.Here, JSP files are written in a scripting language used in the Java (JAVA) server environment. They are executed on the server and provide services in response to client requests in the form of threads.

이 경우 호출 장치(130)와 피호출 장치(140)는 각각의 JVM에 기반한 WAS 가 구동되고 있고, WAS 간의 통신에 따라 각각의 트랜잭션이 수행되는 것이다.In this case, the calling device 130 and the called device 140 operate the WAS based on each JVM, and each transaction is performed according to communication between the WASs.

여기서 제1 트랜잭션에 대응되는 제1 프로그램 코드(JSP파일에 포함된 프로그램 코드)가 바이트 코드로 이루어진 경우 각 장치들은 코드 위빙(CODE WEAVING) 기술을 이용하여 동적으로 특정 코드를 해당 바이트 코드에 삽입시킬 수 있는데, 코드 위빙 기술 그 자체는 기 공지된 기술에 불과하므로 보다 상세한 설명은 생략한다.In this case, when the first program code (program code included in the JSP file) corresponding to the first transaction is composed of byte codes, each device may dynamically insert a specific code into the corresponding byte code by using code weaving technology. Since the code weaving technology itself is only a known technology, a detailed description thereof will be omitted.

예를 들어 호출 장치(130)는 특정 거래 처리 요청 이벤트 감지시 해당 특정 거래 처리 요청 이벤트에 대응되는 제1 트랜잭션의 처리를 위한 제1 프로그램 코드(바이트 코드)에 기 설정 저장되어 있던 동적 추가 코드를 삽입시키고, 제1 프로그램 코드가 실행되는 동안 해당 삽입된 동적 추가 코드도 실행되도록 하는 것이다.For example, the calling device 130 detects a specific transaction processing request event and adds the dynamic additional code previously stored in the first program code (byte code) for processing the first transaction corresponding to the specific transaction processing request event. And inserts the inserted dynamic addition code while the first program code is executed.

이러한 동적 추가 코드의 실행에 따라 필요시 호출 시작 정보가 데이터베이스 장치(120)에 전송될 수 있는 것이다.According to the execution of this dynamic addition code, call start information may be transmitted to the database device 120 when necessary.

여기서 호출 시작 정보가 데이터베이스 장치(120)에 전송되는 것은 소정의 조건이 만족하는 경우에만 이루어질 수도 있다. 예를 들어 호출 장치(130)의 동적 추가 코드는 특정 피호출 장치(140)가 호출되는 경우에 한하여 호출 시작 정보를 데이터베이스 장치(120)에 전송할 수 있다.In this case, the call start information may be transmitted to the database device 120 only when a predetermined condition is satisfied. For example, the dynamic addition code of the calling device 130 may transmit call start information to the database device 120 only when a specific called device 140 is called.

마찬가지로 피호출 장치(140)는 호출 장치(130)로부터 요청이 있는 경우 요청받은 제2 트랜잭션의 처리를 위한 제2 프로그램 코드(자바 바이트 코드)에 기 설정 저장되어 있던 동적 추가 코드를 삽입시키고, 제2 프로그램 코드가 실행되는 동안 해당 삽입된 동적 추가 코드도 실행되도록 하는 것이다.Similarly, if there is a request from the calling device 130, the called device 140 inserts the dynamic additional code previously stored in the second program code (Java byte code) for processing the requested second transaction. 2 While the program code is running, make sure that the embedded dynamic addition code is also executed.

이러한 동적 추가 코드의 실행에 따라 필요시 트랜잭션 정보가 데이터베이스 장치(120)에 전송될 수 있는 것이다.Transaction information may be transmitted to the database device 120 when necessary according to the execution of this dynamic addition code.

여기서 트랜잭션 정보가 데이터베이스 장치(120)에 전송되는 것은 소정의 조건이 만족하는 경우에만 이루어질 수도 있다. 예를 들어 피호출 장치(140)의 동적 추가 코드는 특정 호출 장치(130)로부터의 요청이 있는 경우에 한하여 트랜잭션 정보를 데이터베이스 장치(120)에 전송할 수 있다.In this case, the transaction information may be transmitted to the database device 120 only when a predetermined condition is satisfied. For example, the dynamic addition code of the called device 140 may transmit the transaction information to the database device 120 only when there is a request from the specific calling device 130.

이하에서는 본 발명의 일 실시예에 따른 거래 추적 시스템의 제어흐름을 도 4 내지 도 6을 참조하여 설명한다.Hereinafter, a control flow of a transaction tracking system according to an embodiment of the present invention will be described with reference to FIGS. 4 to 6.

우선 도 4를 참조하여 키 생성 장치(110)가 호출 장치(130) 및 피호출 장치(140)로 키 값을 전송하는 과정을 살펴본다.First, a process of transmitting a key value to the calling device 130 and the called device 140 will be described with reference to FIG. 4.

키 생성 장치(110)는 시간 정보를 이용하여 키 값을 생성한다(단계 S1).The key generation device 110 generates a key value using the time information (step S1).

이어서 키 생성 장치(110)는 생성한 키 값을 호출 장치(130) 및 피호출 장치(140)로 전송한다(단계 S3).Subsequently, the key generation device 110 transmits the generated key value to the calling device 130 and the called device 140 (step S3).

이후, 키 생성 장치(110)는 기 설정된 시간이 경과하였는지 판단하여(단계 S5) 경과한 경우 다시 현재의 시간 정보를 이용하여 새로운 키 값을 생성하고(단계 S1) 다시 호출 장치(130) 및 피호출 장치(140)로 전송한다(단계 S3). 이러한 과정은 반복 진행될 수 있다.Thereafter, the key generation device 110 determines whether the predetermined time has elapsed (step S5), and if so, generates a new key value using the current time information again (step S1), and again, the call device 130 and the avoided device. Transfer to calling device 140 (step S3). This process can be repeated.

다음으로, 도 5를 참조하여 호출 장치(130)와 피호출 장치(140)가 데이터베이스 장치(120)에 처리하는 트랜잭션 관련한 소정의 정보를 전송하는 과정을 설명한다.Next, a process of transmitting predetermined information related to a transaction processed by the calling device 130 and the called device 140 to the database device 120 will be described with reference to FIG. 5.

호출 장치(130)는 특정 거래 처리 요청 이벤트가 감지되면(단계 S11) 해당 요청 이벤트에 대응되는 트랜잭션(즉, 제1 트랜잭션)과 관련된 프로그램 코드(즉, 제1 프로그램 코드)에 기 설정된 동적 추가 코드를 실시간 동적으로 삽입한 후 실행시킨다(단계 S13).When the calling device 130 detects a specific transaction processing request event (step S11), the dynamic addition code preset in the program code (ie, the first program code) associated with the transaction corresponding to the request event (ie, the first transaction). Is executed after being dynamically inserted in real time (step S13).

동적 추가 코드가 삽입된 제1 프로그램 코드의 실행에 따라 제1 트랜잭션이 수행되고(단계 S15), 특히 동적 추가 코드의 기능에 따라 특정 소켓으로 호출 요청이 필요한지 여부가 판단된다(단계 S16).According to the execution of the first program code in which the dynamic addition code is inserted, the first transaction is performed (step S15), and in particular, it is determined whether a call request is required to a specific socket according to the function of the dynamic addition code (step S16).

즉, 다음 실행되어야할 트랜잭션의 처리를 위해 기 설정된 특정 소켓(즉, 특정 아이피 주소와 포트 번호로 이루어진 소켓)으로 요청해야 하는 경우 호출 장치(130)는 해당하는 소켓 통신으로 그 대응되는 피호출 장치(140)에 제2 트랜잭션 수행을 요청하고(단계 S17), 호출장치 정보(예를 들어 피호출 장치를 호출한 호출 장치의 아이피 주소 및 포트 번호)와 키 생성 장치(110)로부터 수신된 키 값 중 최신의 키 값을 모두 이용하여 수정 키 값을 생성한다(단계 S18).That is, if a request is made to a predetermined socket (i.e., a socket consisting of a specific IP address and a port number) for processing a transaction to be executed next, the calling device 130 calls the corresponding called device with the corresponding socket communication. Request 140 to perform the second transaction (step S17), call device information (e.g., IP address and port number of the calling device that called the called device) and the key value received from the key generating device 110; The modified key value is generated using all of the latest key values (step S18).

이어서 호출 장치(130)는 제1 트랜잭션 아이디와 수정 키 값을 포함하는 호출 시작 정보를 데이터베이스 장치(120)에 전송한다(단계 S19).Subsequently, the calling device 130 transmits call start information including the first transaction ID and the modification key value to the database device 120 (step S19).

한편, 피호출 장치(140)는 제2 트랜잭션 수행 요청에 따라 해당 제2 트랜잭션에 대응되는 제2 프로그램 코드에 기 설정된 동적 추가 코드를 실시간 동적으로 삽입하여 실행시킨다(단계 S23).Meanwhile, the called device 140 inserts and executes the dynamic additional code preset in the second program code corresponding to the second transaction in real time in response to the second transaction execution request (step S23).

제2 프로그램 코드의 실행에 따라 피호출 장치(140)는 제2 트랜잭션을 수행하고(단계 S25), 특히 동적으로 삽입된 동적 추가 코드의 실행에 따라 피호출 장치(140)는 특정 소켓으로의 요청인지 여부를 판단한다(단계 S27). 예를 들어 피호출 장치(140)는 호출 장치(130)로부터 기 설정된 특정 포트(즉, 피호출 장치(140)의 특정 포트)로 요청이 수신되었는지 여부를 판단할 수 있다.In accordance with the execution of the second program code, the called device 140 performs a second transaction (step S25), and in particular, according to the execution of the dynamically inserted dynamic additional code, the called device 140 requests a specific socket. It is judged whether or not (step S27). For example, the called device 140 may determine whether a request is received from the calling device 130 to a predetermined specific port (that is, a specific port of the called device 140).

판단 결과 기 설정된 특정 포트로 요청이 수신된 경우 피호출 장치(140)는 호출장치 정보(예를 들어 피호출 장치를 호출한 호출 장치의 아이피 주소 및 포트 번호)와 키 생성 장치(110)로부터 수신된 키 값 중 최신의 키 값을 모두 이용하여 수정 키 값을 생성한다(단계 S28).As a result of the determination, when a request is received through a predetermined port, the called device 140 receives the calling device information (for example, the IP address and port number of the calling device that called the called device) and the key generating device 110. A corrected key value is generated using all the latest key values among the obtained key values (step S28).

이어서 피호출 장치(140)는 제2 트랜잭션 아이디와 수정 키 값을 모두 포함하는 트랜잭션 정보를 데이터베이스 장치(120)에 전송한다(단계 S29).Then, the called device 140 transmits the transaction information including both the second transaction ID and the modification key value to the database device 120 (step S29).

한편, 데이터베이스 장치(120)는 호출 장치(130)로부터 수신되는 호출 시작 정보와 피호출 장치(140)로부터 수신되는 트랜잭션 정보를 저장하여 관리한다(단계 S20, S30).Meanwhile, the database device 120 stores and manages call start information received from the calling device 130 and transaction information received from the called device 140 (steps S20 and S30).

마지막으로, 도 6을 참조하여 거래 추적 장치(150)가 데이터베이스 장치(120)에 저장된 정보를 이용하여 거래 추적, 즉, 트랜잭션 추적을 처리하는 과정을 설명한다.Lastly, a process of processing the transaction tracking, that is, transaction tracking, by using the information stored in the database device 120 will be described with reference to FIG. 6.

거래 추적 장치(150)는 관리자 등의 조작에 따라 데이터베이스 장치(120)에 호출 시작 정보와 트랜잭션 정보를 요청한다(단계 S31).The transaction tracking device 150 requests call start information and transaction information from the database device 120 according to an operation of the manager or the like (step S31).

이에 따라 데이터베이스 장치(120)는 기 저장된 호출 시작 정보 및 트랜잭션 정보들을 추출하여(단계 S33) 거래 추적 장치(150)에 전송한다(단계 S35).Accordingly, the database device 120 extracts previously stored call start information and transaction information (step S33) and transmits it to the transaction tracking device 150 (step S35).

거래 추적 장치(150)는 기 설정된 범위 이내의 키 값에 매칭된 각 트랜잭션 아이디를 추출하여 그룹화 처리한다(단계 S37).The transaction tracking device 150 extracts and groups each transaction ID matching the key value within the preset range (step S37).

즉, 거래 추적 장치(150)는 기 설정된 범위 이내의 키 값에 매칭된 트랜잭션 아이디들은 서로 관련성이 있는 트랜잭션이라고 판단하고 묶음 처리를 수행하는 것이다.That is, the transaction tracking apparatus 150 determines that transaction IDs matching key values within a predetermined range are related to each other and performs a bundle process.

이어서 거래 추적 장치(150)는 그룹화된 트랜잭션 아이디를 표시하여 관리자 등이 각 연관된 트랜잭션을 확인할 수 있도록 한다(단계 S39).The transaction tracking device 150 then displays the grouped transaction IDs so that an administrator or the like can check each associated transaction (step S39).

도 7은 WAS 2번(즉, 복수의 WAS 중 2번째 서버)의 /apmtest/test1.jsp에 포함된 코드에서 5번째 WAS 즉, 자바 데몬의 EchoServerEx/Dummy가 실행된 경우 해당 트랜잭션의 관련성이 나타나고 있는 일 예를 보여주고 있다.7 shows the relevance of the transaction when the fifth WAS, that is, the EchoServerEx / Dummy of the Java daemon, is executed in the code included in /apmtest/test1.jsp of WAS 2 (ie, the second server of the plurality of WASs). An example is shown.

이에 따라 관리자 등은 특정 트랜잭션의 처리를 위해 각 장치에서 수행되는 개별 트랜잭션들의 관련성을 용이하게 확인할 수 있다. 특히 동적으로 삽입되는 코드의 기능에 따라 상술한 효과를 달성함으로써 기존 시스템의 변경을 최소화하여 비용 절감을 꾀할 수 있다.Accordingly, the manager or the like can easily check the relevance of individual transactions executed in each device for processing a specific transaction. In particular, by achieving the above-described effects according to the function of dynamically inserted code, it is possible to reduce the cost by minimizing the change of the existing system.

상술한 실시예들에서는 호출 장치(130)에서 피호출 장치(140)로 데이터 흐름이 이루어지는 경우에 대해서만 설명하였으나 반대로 피호출 장치(140)에서 호출 장치(130)로 데이터 흐름이 이루어지는 경우에는 호출 장치(130)는 데이터베이스 장치(120)에 호출 완료 정보를 전송하고, 피호출 장치(140)는 데이터베이스 장치(120)에 트랜잭션 완료 정보를 전송할 수도 있음은 물론이다.In the above-described embodiments, only the case where data flows from the calling device 130 to the called device 140 has been described. On the contrary, in the case where data flows from the called device 140 to the calling device 130, the calling device is called. 130 may transmit the call completion information to the database device 120, and the called device 140 may transmit the transaction completion information to the database device 120, of course.

상술한 각 실시예를 수행하는 과정은 소정의 기록 매체(예를 들어 컴퓨터로 판독 가능한)에 저장된 프로그램에 의해 이루어질 수 있음은 물론이다.It goes without saying that the process of performing each of the above-described embodiments may be performed by a program stored in a predetermined recording medium (e.g., a computer readable recording medium).

한편, 본 발명은 상기한 특정 실시예에 한정되는 것이 아니라 본 발명의 요지를 벗어나지 않는 범위 내에서 여러 가지로 변형 및 수정하여 실시할 수 있는 것이다. 이러한 변형 및 수정이 첨부되는 특허청구범위에 속한다면 본 발명에 포함된다는 것은 자명할 것이다. 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, is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the invention. It is to be understood that such variations and modifications are intended to be included in the scope of the appended claims.

110 : 키 생성부 120 : 데이터베이스부
130 : 호출부 140 : 피호출부
150 : 거래 추적부
110: key generation unit 120: database unit
130: caller 140: called part
150: transaction tracking unit

Claims (10)

거래 추적 시스템이 수행하는 제어방법에 있어서,
(a) 키 생성부가 시간에 기반한 키 값을 생성하는 단계와;
(b) 호출부가 특정 거래 처리 요청 이벤트 감지시 해당 특정 거래 처리 요청 이벤트에 대응되는 제1 트랜잭션의 처리를 위한 제1 프로그램 코드를 실행시키고, 상기 실행되는 제1 트랜잭션 아이디와 상기 키 생성부로부터 수신된 가장 최신의 키 값을 포함하는 호출 시작 정보를 데이터베이스부에 전송하고, 이어서 처리되어야 하는 제2 트랜잭션의 실행을 위해 피호출부를 호출하는 단계와;
(c) 피호출부가 상기 호출부의 호출에 따라 제2 트랜잭션의 처리를 위한 제2 프로그램 코드를 실행시키고, 해당 제2 트랜잭션 아이디와 상기 키 생성부로부터 수신된 가장 최신의 키 값을 포함하는 트랜잭션 정보를 상기 데이터베이스부에 전송하는 단계와;
(d) 거래 추척부가 상기 데이터베이스부에 저장된 키 값을 기초로 트랜잭션 간 연결 관계를 포함하는 거래 추적 결과를 생성하는 단계를 포함하는 것을 특징으로 하는 거래 추적 시스템의 제어방법.
In the control method performed by the transaction tracking system,
(a) generating a key value based on time by the key generator;
(b) when the caller detects a specific transaction processing request event, executes a first program code for processing a first transaction corresponding to the specific transaction processing request event, and receives from the executed first transaction ID and the key generation unit; Sending call start information including the latest most recent key value to the database unit, and then calling the called unit for execution of the second transaction to be processed;
(c) the called party executes the second program code for processing the second transaction according to the call of the calling unit, and includes transaction information including the corresponding second transaction ID and the latest key value received from the key generation unit; Transmitting to the database unit;
and (d) a transaction tracking unit generating a transaction tracking result including a connection relationship between transactions based on the key value stored in the database unit.
제1항에 있어서,
상기 (b) 단계는, 상기 호출부가 특정 거래 처리 요청 이벤트 감지시 상기 제1 트랜잭션의 처리를 위한 제1 프로그램 코드에 기 설정된 동적 추가 코드를 삽입하는 단계를 더 포함하고,
상기 (b) 단계에서 상기 호출 시작 정보를 상기 데이터베이스부에 전송하는 것은 상기 삽입된 동적 추가 코드의 실행에 따라 이루어지는 것을 특징으로 하는 거래 추적 시스템의 제어방법.
The method of claim 1,
The step (b) further includes the step of inserting the preset dynamic addition code into the first program code for processing of the first transaction when the caller detects a specific transaction processing request event,
And transmitting the call start information to the database in step (b) according to the execution of the inserted dynamic addition code.
제1항에 있어서,
상기 (c) 단계는, 상기 피호출부가 상기 제2 트랜잭션의 처리를 위한 제2 프로그램 코드에 기 설정된 동적 추가 코드를 삽입하는 단계를 더 포함하고,
상기 (c) 단계에서 상기 트랜잭션 정보를 상기 데이터베이스부에 전송하는 것은 상기 삽입된 동적 추가 코드의 실행에 따라 이루어지는 것을 특징으로 하는 거래 추적 시스템의 제어방법.
The method of claim 1,
The step (c) further includes the step of the called party inserting a predetermined dynamic addition code into the second program code for processing the second transaction,
And transmitting the transaction information to the database in step (c) is performed according to the execution of the inserted dynamic addition code.
제1항 내지 제3항 중 어느 한 항에 있어서,
상기 (d) 단계는, 상기 거래 추적부가 기 설정된 범위를 기준으로 상기 데이터베이스부에 저장된 키 값의 동일성 여부를 판단하는 단계와; 상기 거래 추적부가 상기 판단한 동일한 키 값을 기초로 트랜잭션 간 연결 관계를 포함하는 거래 추적 결과를 생성하는 단계를 포함하는 것을 특징으로 하는 거래 추적 시스템의 제어방법.
4. The method according to any one of claims 1 to 3,
The step (d) may include determining whether or not the transaction tracker is identical with a key value stored in the database unit based on a preset range; And generating, by the transaction tracking unit, a transaction tracking result including a connection relationship between transactions based on the determined same key value.
제1항 내지 제3항 중 어느 한 항에 있어서,
상기 (b) 단계에서 상기 호출부는 가장 최신의 키 값에 호출부 정보를 포함시킨 수정 키 값을 생성한 후, 해당 수정 키 값을 상기 호출 시작 정보에 포함시키고,
상기 (c) 단계에서 상기 피호출부는 가장 최신의 키 값에 상기 호출부에 대응되는 호출부 정보를 포함시킨 수정 키 값을 생성한 후, 해당 수정 키 값을 상기 트랜잭션 정보에 포함시키는 것을 특징으로 하는 거래 추적 시스템의 제어방법.
4. The method according to any one of claims 1 to 3,
In step (b), the caller generates a modified key value including caller information in the most recent key value, and then includes the corrected key value in the call start information.
In the step (c), the called unit generates a modification key value including caller information corresponding to the caller in the most recent key value, and then includes the corrected key value in the transaction information. Method of controlling a transaction tracking system.
시간에 기반한 키 값을 생성하는 키 생성부와;
데이터베이스부와;
특정 거래 처리 요청 이벤트 감지시 해당 특정 거래 처리 요청 이벤트에 대응되는 제1 트랜잭션의 처리를 위한 제1 프로그램 코드를 실행시키고, 상기 실행되는 제1 트랜잭션 아이디와 상기 키 생성부로부터 수신된 가장 최신의 키 값을 포함하는 호출 시작 정보를 상기 데이터베이스부에 전송하고, 이어서 처리되어야 하는 제2 트랜잭션의 실행을 위해 피호출부를 호출하는 호출부와;
상기 호출부의 호출에 따라 제2 트랜잭션의 처리를 위한 제2 프로그램 코드를 실행시키고, 해당 제2 트랜잭션 아이디와 상기 키 생성부로부터 수신된 가장 최신의 키 값을 포함하는 트랜잭션 정보를 상기 데이터베이스부에 전송하는 피호출부와;
상기 데이터베이스부에 저장된 키 값을 기초로 트랜잭션 간 연결 관계를 포함하는 거래 추적 결과를 생성하는 거래 추적부를 포함하는 것을 특징으로 하는 거래 추적 시스템.
A key generator for generating a key value based on time;
A database unit;
When the specific transaction processing request event is detected, the first program code for processing the first transaction corresponding to the specific transaction processing request event is executed, and the first transaction ID and the latest key received from the key generation unit are executed. A calling unit which transmits call start information including a value to said database unit and then calls a called unit for execution of a second transaction to be processed;
In response to a call of the calling unit, a second program code for processing a second transaction is executed, and transaction information including a corresponding second transaction ID and the latest key value received from the key generation unit is transmitted to the database unit. To be called;
And a transaction tracking unit for generating a transaction tracking result including a connection relationship between transactions based on a key value stored in the database unit.
제6항에 있어서,
상기 호출부는 특정 거래 처리 요청 이벤트 감지시 상기 제1 트랜잭션의 처리를 위한 제1 프로그램 코드에 기 설정된 동적 추가 코드를 삽입하고, 상기 호출 시작 정보를 상기 데이터베이스부에 전송하는 것은 상기 삽입된 동적 추가 코드의 실행에 따라 이루어지는 것을 특징으로 하는 거래 추적 시스템.
The method according to claim 6,
The caller inserts a predetermined dynamic addition code into a first program code for processing the first transaction upon detecting a specific transaction processing request event, and transmits the call start information to the database unit. Transaction tracking system, characterized in that made according to the execution of.
제6항에 있어서,
상기 피호출부는 상기 제2 트랜잭션의 처리를 위한 제2 프로그램 코드에 기 설정된 동적 추가 코드를 삽입하고, 상기 트랜잭션 정보를 상기 데이터베이스부에 전송하는 것은 상기 삽입된 동적 추가 코드의 실행에 따라 이루어지는 것을 특징으로 하는 거래 추적 시스템.
The method according to claim 6,
The called part inserts a predetermined dynamic addition code into a second program code for processing the second transaction, and transmits the transaction information to the database according to the execution of the inserted dynamic addition code. Transaction tracking system.
제6항 내지 제8항 중 어느 한 항에 있어서,
상기 거래 추적부는 기 설정된 범위를 기준으로 상기 데이터베이스부에 저장된 키 값의 동일성 여부를 판단하고, 해당 판단된 동일한 키 값을 기초로 트랜잭션 간 연결 관계를 포함하는 거래 추적 결과를 생성하는 것을 특징으로 하는 거래 추적 시스템.
9. The method according to any one of claims 6 to 8,
The transaction tracking unit determines whether the key values stored in the database unit are identical based on a preset range, and generates a transaction tracking result including a connection relationship between transactions based on the determined same key value. Transaction tracking system.
제6항 내지 제8항 중 어느 한 항에 있어서,
상기 호출부는 가장 최신의 키 값에 호출부 정보를 포함시킨 수정 키 값을 생성한 후, 해당 수정 키 값을 상기 호출 시작 정보에 포함시키고,
상기 피호출부는 호출한 상기 호출부에 대응되는 호출부 정보를 가장 최신의 키 값에 포함시킨 수정 키 값을 생성한 후, 해당 수정 키 값을 상기 트랜잭션 정보에 포함시키는 것을 특징으로 하는 거래 추적 시스템의 제어방법.
9. The method according to any one of claims 6 to 8,
The caller generates a modified key value including caller information in the most recent key value, and includes the corrected key value in the call start information.
The called party generates a modified key value including the caller information corresponding to the called part in the latest key value, and then includes the corrected key value in the transaction information. Control method.
KR1020120055291A 2012-05-24 2012-05-24 Transaction pursuit system and control method thereof KR101385608B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020120055291A KR101385608B1 (en) 2012-05-24 2012-05-24 Transaction pursuit system and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020120055291A KR101385608B1 (en) 2012-05-24 2012-05-24 Transaction pursuit system and control method thereof

Publications (2)

Publication Number Publication Date
KR20130131615A true KR20130131615A (en) 2013-12-04
KR101385608B1 KR101385608B1 (en) 2014-04-16

Family

ID=49980688

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020120055291A KR101385608B1 (en) 2012-05-24 2012-05-24 Transaction pursuit system and control method thereof

Country Status (1)

Country Link
KR (1) KR101385608B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106067228A (en) * 2015-04-26 2016-11-02 陆洪瑞 Bank transaction method and system and banknote integral treatment method and device
KR20190128814A (en) * 2018-05-09 2019-11-19 삼성에스디에스 주식회사 Method and apparatus for prcocessing transaction based on bllockchain and system tehereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7051145B2 (en) 2001-12-10 2006-05-23 Emulex Design & Manufacturing Corporation Tracking deferred data transfers on a system-interconnect bus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106067228A (en) * 2015-04-26 2016-11-02 陆洪瑞 Bank transaction method and system and banknote integral treatment method and device
KR20190128814A (en) * 2018-05-09 2019-11-19 삼성에스디에스 주식회사 Method and apparatus for prcocessing transaction based on bllockchain and system tehereof

Also Published As

Publication number Publication date
KR101385608B1 (en) 2014-04-16

Similar Documents

Publication Publication Date Title
CN108829581B (en) Application program testing method and device, computer equipment and storage medium
US9591088B2 (en) Method and system for collecting and providing application usage analytics
CN108470298B (en) Method, device and system for transferring resource numerical value
US10452469B2 (en) Server performance correction using remote server actions
GB2518052A (en) Group server performance correction via actions to server subset
CN110602056B (en) Service parameter transmission method and device
CN110808840B (en) Service processing method and device, electronic equipment and storage medium
US9990214B2 (en) Dynamic agent delivery
CN107241306B (en) Man-machine identification method, server, client and man-machine identification system
US20180159724A1 (en) Automatic task tracking
CN111858083A (en) Remote service calling method and device, electronic equipment and storage medium
CN108038009A (en) Front and back end exchange method, device and computer equipment based on Web applications
KR101385608B1 (en) Transaction pursuit system and control method thereof
CN111935107B (en) Identity authentication method, device, system, electronic equipment and storage medium
CN112181599B (en) Model training method, device and storage medium
CN106875184B (en) Abnormal scene simulation method, device and equipment
CN112948499A (en) Information acquisition method and device, electronic equipment and storage medium
CN110851813B (en) Identity verification method, node device of block chain system and block chain system
CN109214189B (en) Method, device, storage medium and electronic equipment for identifying program bugs
JPH08320846A (en) Interactive management type information providing method and device therefor
CN108600255A (en) Mock service management method, device, computer equipment and storage medium
KR20200046316A (en) Web application server, method for handling user request and method for handling intergrated request
CN112860398A (en) Data processing method, device, equipment and medium based on rule engine
CN109981521B (en) Message association method, message association device and message association system
TWI505128B (en) Method and System of Intelligent Component Library Management

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

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20190329

Year of fee payment: 6