KR950012212A - Transaction synchronous processing of client and server processes - Google Patents

Transaction synchronous processing of client and server processes Download PDF

Info

Publication number
KR950012212A
KR950012212A KR1019930021686A KR930021686A KR950012212A KR 950012212 A KR950012212 A KR 950012212A KR 1019930021686 A KR1019930021686 A KR 1019930021686A KR 930021686 A KR930021686 A KR 930021686A KR 950012212 A KR950012212 A KR 950012212A
Authority
KR
South Korea
Prior art keywords
transaction
flag
client
processing
server
Prior art date
Application number
KR1019930021686A
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 KR1019930021686A priority Critical patent/KR950012212A/en
Publication of KR950012212A publication Critical patent/KR950012212A/en

Links

Landscapes

  • Computer And Data Communications (AREA)

Abstract

본 발명의 클라이언트 및 서버 프로세스의 트랜잭션 동기 처리방법은 클라이언트 프로세스와, 서버 프로세스가 하나의 트랜잭션을 처리할 경우에 트랜잭션 종료 및 트랜잭션 취소를 동기적으로 처리할 수 있도록 하는 것으로서, 종래에는 트랜잭션 종료 및 취소할 경우에 클라이언트 프로세스 및 서버 프로세스 간의 트랜잭션 처리 과정의 동기를 맞추기 위하여 메시지를 사용하고, 트랜잭션의 종료처리시에는 서버 프로세스의 종료 준비상태를 확인하기 위하여 커널이 종료요청 메시지를 기다려야 되었으며, 트랜잭션의 취소처리시에는 취소신호와 메시지의 전달을 통해 상호간에 트랜잭션의 처리를 동시에 처리할 수 있도록 하고 있는 것으로 메시지를 통해 클라이언트 프로세스와 서버 프로세스의 트랜잭션 종료 및 취소시 상호간에 동기를 맞추기 위해서는 커널에 메시지의 송신 및 수신기능이 구현되어 있어야 되나, 메시지의 송신 및 수신 기능은 특정 시스템에만 구현되어 있는 것으로 트랜잭션의 처리 기능을 커널에 구현할 경우에 적용하기가 매우 어려웠다.The transaction synchronous processing method of the client and server process of the present invention enables the client process and the server process to process transaction termination and transaction cancellation synchronously when processing one transaction. In this case, the message is used to synchronize the transaction processing process between the client process and the server process.In the process of transaction termination, the kernel has to wait for the termination request message to confirm the readiness of termination of the server process. When processing, it is possible to process transaction mutually simultaneously by delivering cancel signal and message.Matching synchronization between client process and server process through message through synchronization In order to send and receive messages in the kernel, it is necessary to send and receive messages. However, the sending and receiving of messages are implemented only in a specific system. Therefore, it is very difficult to apply a transaction processing function to the kernel.

발명은 트랜잭션의 자료 구조에 2바이트의 비트 플래그를 구비하고, 클라이언트 프로세스 및 서버 프로세스가 트랜잭션을 처리할 경우에 트랜잭션의 처리상태를 비트 플래그에 표시함으로써 클라이언트 프로세스 및 서버 프로세스가 비트 플래그의 세트상태로 상호간에 진행상태를 판별하여 트랜잭션의 종료 및 취소 과정을 동기로 처리할 수 있다.The invention includes a two-byte bit flag in the data structure of a transaction, and when the client process and the server process process the transaction, the client process and the server process are brought into the set state of the bit flag by displaying the transaction status in the bit flag. By determining the progress of each other, the transaction termination and cancellation process can be processed synchronously.

Description

클라이언트 서버 프로세스의 트랜잭션 동기 처리방법Transaction synchronous processing of client server process

본 내용은 요부공개 건이므로 전문내용을 수록하지 않았음Since this is an open matter, no full text was included.

제2도는 본 발명의 동기 처리방법에 의하여 트랜잭션 자료 구조에 구비된 비트 플래그를 보인 도면.2 is a diagram showing a bit flag provided in a transaction data structure by the synchronous processing method of the present invention.

제3도는 본 발명의 동기 처리방법에 의하여 클라이언트 프로세스 및 서버 프로세스 형태의 트랜잭션 처리시 수행과정을 보인 신호 흐름도.3 is a signal flow diagram illustrating a process performed when processing a transaction in the form of a client process and a server process by the synchronous processing method of the present invention.

제4도는 제3도의 트랜잭션 종료 처리시 커널 내에서 클라이언트 및 서버 프로세스의 트랜잭션 종료의 동기를 맞추는 방법을 보인 신호 흐름도.4 is a signal flow diagram illustrating a method of synchronizing transaction termination of a client and a server process in the kernel in the transaction termination processing of FIG.

Claims (2)

트랜잭션의 종료시 종료 1단계를 처리하고, 플래그(TS-CLI-RDY1)를 세트한 후 플래그(TS-SVR-RDY)가 세트되어 있는지를 검사하여 세트되어 있지 않을 경우에 플래그(TS-SVR-RDY)가 세트될 때까지 대기하고 세트되어 있을 경우에 종료 2단계를 처리하는 제1과정과, 상기 제1과정에서 종료 2단계 처리 후 플래그(TS-CLI-RDY2)를 세트하고 플래그(TS-DETACH)가 세트되어 있는 지를 검하여 세트되어 있을 경우에는 트랜잭션의 종료처리를 마치는 제2과정과, 트랜잭션의 종료시 클라이언트 프로세스로 종료 요청을 하고 플래그(TS-SVR-RDY)를 세트하며 플래그(TS-CLI-RDY1)가 세트되어 있는 지를 검사하여 세트되어 있지 않을 경우에는 종료요청을 마치는 제3과정과, 상기 제3과정에서 종료요청의 완료시 플래그(TS-DETACH)를 세트하고 플래그(TS-CLI-RDY2)가 세트되어 있는 지를 검사하여 세트되어 있지 않을 경우에는 서버 프로세스의 종료를 마치는 제4과정으로 제어됨을 특징으로 하는 클라이언트 및 서버 프로세스의 트랜잭션 동기 처리방법.At the end of the transaction, the first stage of processing is completed, the flag (TS-CLI-RDY1) is set, and the flag (TS-SVR-RDY) is set and the flag (TS-SVR-RDY) is not set. Waits until) is set, and if it is set, the first process of processing the end of step 2, and the flag TS-CLI-RDY2 after the end of the second step of processing in the first process, and sets the flag TS-DETACH. ), If it is set, check that the second process of terminating the transaction is terminated, and upon completion of the transaction, request termination to the client process, set the flag TS-SVR-RDY, and set the flag TS-CLI. -If it is not set by checking whether or not RDY1) is set, the third step of completing the end request, and the flag TS-DETACH at the completion of the end request in the third step are set and the flag TS-CLI- Check if RDY2) is set If not, the transaction control synchronization processing method for client and server processes, characterized in that the control of the fourth procedure a complete shutdown of the server process. 서버 프로세스가 트랜잭션 처리를 수행하는 도중에 트랜잭션 취소 상황 발생시 플래그(TS-SVR-ABT)를 세트하고 클라이언트 프로세스로 취소 신호를 전송한 후 트랜잭션 취소 처리를 하고, 플래그(TS-SVR-ABT2)를 세트하는 제1과정과, 플래그(TS-ABREADY)가 세트되어 있는지를 검사하여 세트되어 있지 않을 경우에는 대기하고 세트되어 있을 경우에는 취소처리를 완료하는 제2과정과, 서버 프로세스로부터 취소신호가 전송될 경우에 플래그(TS-ABREADY)를 세트하고, 플래그(TS-SVR-ABT2)가 세트되어 있는 지를 검사하여 세트될 때까지 기다리는 제3과정과, 플래그(TS-SVR-ABT2)가 세트되었을 경우에 트랜잭션 취소처리하는 제4과정으로 제어됨을 특징으로 하는 클라이언트 및 서버 프로세스의 트랜잭션 동기 처리방법.Set a flag (TS-SVR-ABT) when a transaction cancellation situation occurs while the server process is performing transaction processing, send a cancellation signal to the client process, perform transaction cancellation processing, and set a flag (TS-SVR-ABT2). The first step is to check whether the flag TS-ABREADY is set. If not, the second step is to wait and if it is set, to complete the cancellation process. A third process of setting the flag TS-ABREADY, checking whether the flag TS-SVR-ABT2 is set, and waiting until it is set, and a transaction if the flag TS-SVR-ABT2 is set. And a fourth process of canceling the transaction. ※ 참고사항 : 최초출원 내용에 의하여 공개하는 것임.※ Note: The disclosure is based on the initial application.
KR1019930021686A 1993-10-19 1993-10-19 Transaction synchronous processing of client and server processes KR950012212A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019930021686A KR950012212A (en) 1993-10-19 1993-10-19 Transaction synchronous processing of client and server processes

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019930021686A KR950012212A (en) 1993-10-19 1993-10-19 Transaction synchronous processing of client and server processes

Publications (1)

Publication Number Publication Date
KR950012212A true KR950012212A (en) 1995-05-16

Family

ID=66824689

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019930021686A KR950012212A (en) 1993-10-19 1993-10-19 Transaction synchronous processing of client and server processes

Country Status (1)

Country Link
KR (1) KR950012212A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100404786B1 (en) * 1998-03-31 2003-11-07 인터내셔널 비지네스 머신즈 코포레이션 An apparatus, method and computer program product for client/server computing with client selectable location of transaction objects

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100404786B1 (en) * 1998-03-31 2003-11-07 인터내셔널 비지네스 머신즈 코포레이션 An apparatus, method and computer program product for client/server computing with client selectable location of transaction objects

Similar Documents

Publication Publication Date Title
KR970007638A (en) Method and system for synchronizing an event execution in a test environment of a software module
ATE292818T1 (en) METHOD, SYSTEM AND COMPUTER PROGRAM PRODUCT FOR SYNCHRONIZING VARIOUS DATA STRUCTURES BY USING UPDATE MESSAGES
US6622159B1 (en) Method, apparatus and computer program product for automatically restarting an RPC server without losing client RPC calls
ES2140241T3 (en) PROCEDURE FOR THE SYNCHRONIZATION OF PROGRAMS IN DIFFERENT COMPUTERS OF AN INTEGRATED SYSTEM.
KR950012212A (en) Transaction synchronous processing of client and server processes
EP0297895A3 (en) Apparatus and method using lockout for synchronization of access to main memory signal groups in a multiprocessor data processing system
JP3641341B2 (en) Online exclusive weight avoidance device
JPH0636500B2 (en) Polling control method
JPH02244224A (en) Correction support system for source program at detection of error
JPH0573570A (en) Information processor
JPH02195421A (en) Printer output system for terminal equipment
JPS63169842A (en) Automatic test system
JP2000215163A (en) Client display system for processing progress state of server
JPH0342741A (en) Updating system for distributed data base in inter-host communication
JPH02123844A (en) Data transmission method
KR920014080A (en) Operation / Standby Method of Redundant Processors
JPS63276617A (en) Command/message local converting system
JPH02226453A (en) Transfer system for initial data
JPH01292555A (en) Displacement system for terminal program
JPS5855537B2 (en) Host system response method
KR970002500A (en) How to display the status of the image processing device
JPH05303549A (en) Terminal data inheritance system
JPS6282843A (en) Communication control equipment
JPH04225434A (en) Exclusive controller
KR920006888A (en) Data communication method of system ECR

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination