Claims (1)
밀결합 다중처리 트랜잭션 시스템에서 TPIPC 채널을 관리하는 방법에 있어서, 상기 TPIP 채널에 대한 처리 요구가 열기, 닫기, 읽기 또는 쓰기요구인지를 조사하는 단계와, 상기 열기요구인 경우 기억장치의 일부가 이미 할당되어 있는지를 조사하고 할당되어 있으면 단지 채널을 현재의 상태로 갱신하고 TPIPC 열기활동을 종료하는 단계와, 그렇지 않은 경우에는 주기억장치의 일부를 할당받아 열고자 하는 TPIPC 채널구조를 만들어 대응하는 아이노드와 연결하고 채널의 상태를 기록하고 열기 활동을 종료하는 단계와, 상기 닫기요구인 경우에는 닫기 대상이 되는 채널이 주기억장치에 올라와 있는지를 점검하여, 주기억장치에 닫기 하고자 하는 TPIPC 채널이 올라와 있지 않으면 채널 닫기활동을 종료하고 올라와 있으면 주기억장치의 채널구조를 현재의 닫기 상태로 갱신하는 단계와, 채널에 쓰여진 메세지가 하나도 없고 주기억장치에서 채널을 제거하기를 원하는 경우에 닫기하고자 한 TPIPC 채널을 위해 할당된 주기억장치를 놓아주고 종료하는 단계와, 상기 읽기 요구인 경우 행당 TPIPC 채널의 메세지 큐를 뒤져 원하는 메세지가 존재하는지를 점검하는 단계와, 상기 원하는 메세지가 채널에 없으면서 원하는 메세지를 읽어갈때 까지 기다리기를 원하면 해당 TPIPC 채널에 원하는 메세지가 쓰여질 때까지 대기하고 기다리기를 원하지 않으면 오류를 처리하고 종료하고 상기 TPIPC 채널에 상기 원하는 메세지가 있으면 채널로 부터 메세지를 읽어오는 단계와, 상기 쓰기요구인 경우 해당 채널에 메세지를 기록하고 현재 기록한 메세지를 원하며 채널에서 대기하고 있는 프로세스가 존재하면 이 프로세스에게 채널이 메세지가 쓰였음을 통지하여 깨워주는 단계와, 만약 현재 채널에 메세지를 기록하고 이 메세지가 읽혀질 때까지 채널에서 기다리고자 하면, 다른 프로세스가 이 메세지를 읽어갈 때까지 채널에서 대기하는 단계를 포함하는 것을 특징으로 하는 트랜잭션 처리시스템의 TPIPC 관리방법.A method of managing a TPIPC channel in a tightly coupled multiprocessing transaction system, the method comprising: examining whether a processing request for the TPIP channel is an open, close, read, or write request; Investigate whether it is allocated, and if it is, simply update the channel to its current state and terminate the TPIPC open activity; otherwise, create a TPIPC channel structure to which a portion of the main memory is allocated and open the corresponding inode. And recording the state of the channel and ending the open activity, and if the close request is made, check whether the channel to be closed is on the main memory, and if the TPIPC channel to be closed on the main memory is not on If you exit the channel close activity, the current memory channel structure of the main memory is closed. Updating to a state, releasing and terminating the main memory allocated for the TPIPC channel to be closed if there are no messages written to the channel and wishing to remove the channel from the main memory, and per row if the read request Checking the message queue of the TPIPC channel to see if the desired message exists; if you want to wait for the desired message to be read without the desired message on the channel; If the desired message is in the TPIPC channel, and terminates, reading the message from the channel, and if the write request, there is a process that writes a message to the channel and requests the currently recorded message and waits on the channel. When this process Notifying that this message has been written, and waking it up; if it writes a message to the current channel and wants to wait on the channel until this message is read, waiting on the channel until another process reads this message. TPIPC management method of a transaction processing system, characterized in that.
※ 참고사항 : 최초출원 내용에 의하여 공개하는 것임.※ Note: The disclosure is based on the initial application.