KR100574885B1 - Method for receiving electronic data message of enormous - Google Patents

Method for receiving electronic data message of enormous Download PDF

Info

Publication number
KR100574885B1
KR100574885B1 KR1019990059107A KR19990059107A KR100574885B1 KR 100574885 B1 KR100574885 B1 KR 100574885B1 KR 1019990059107 A KR1019990059107 A KR 1019990059107A KR 19990059107 A KR19990059107 A KR 19990059107A KR 100574885 B1 KR100574885 B1 KR 100574885B1
Authority
KR
South Korea
Prior art keywords
message
receiving
packet
client
result
Prior art date
Application number
KR1019990059107A
Other languages
Korean (ko)
Other versions
KR20010064817A (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 KR1019990059107A priority Critical patent/KR100574885B1/en
Publication of KR20010064817A publication Critical patent/KR20010064817A/en
Application granted granted Critical
Publication of KR100574885B1 publication Critical patent/KR100574885B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/18Commands or executable codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/224Monitoring or handling of messages providing notification on incoming messages, e.g. pushed notifications of received messages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]

Abstract

1. 청구범위에 기재된 발명이 속한 기술분야1. TECHNICAL FIELD OF THE INVENTION

본 발명은 대용량의 전자문서 메시지를 수신하기 위한 방법에 관한 것임.The present invention relates to a method for receiving a large amount of electronic document message.

2. 발명이 해결하려고 하는 기술적 과제2. The technical problem to be solved by the invention

본 발명은, 인터넷 전자문서교환(EDI : Electronic Data Interchange) 시스템 등을 사용하는 사용자들이 서버 내에 존재하는 자신의 수신함 디렉토리로부터 대용량 메시지를 수신하되 메시지 수신에 대한 신뢰성을 제고시키기 위한 대용량의 전자문서 메시지를 수신하기 위한 방법과 상기 방법을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공하고자 함.The present invention provides a large-capacity electronic document message for users using an Internet Electronic Data Interchange (EDI) system to receive a large-capacity message from their inbox directory existing in the server, while improving reliability of receiving the message. To provide a method for receiving a computer and a computer-readable recording medium recording a program for realizing the method.

3. 발명의 해결방법의 요지 3. Summary of Solution to Invention

본 발명은, 대용량의 전자문서 메시지를 수신하기 위한 방법에 있어서, 가상연결을 맺기 위해 클라이언트로부터 전송된 패킷을 수신하여 수신 프로세스와의 가상연결을 설정하고, 수신해야 하는 메시지 건수를 조회하여 메시지 수신 요구에 대한 응답을 처리하는 제 1 단계; 상기 설정된 메시지에서 내포한 각 파일들의 존재여부를 체크하고, 수신결과를 해당 데이터베이스에 저장하는 제 2 단계; 및 대용량 메시지 수신 작업에 대한 결과값을 체크하여 사용자에게 메시지를 전송하는 제 3 단계를 포함함.The present invention relates to a method for receiving a large amount of electronic document message, receiving a packet transmitted from a client to establish a virtual connection, establishing a virtual connection with a receiving process, and querying the number of messages to be received to receive a message. A first step of processing a response to the request; A second step of checking whether each file included in the set message is present and storing a reception result in a corresponding database; And a third step of sending a message to a user by checking a result value for the mass message receiving operation.

4. 발명의 중요한 용도4. Important uses of the invention

본 발명은 인터넷 전자문서교환 시스템 등에 이용됨.The present invention is used in the Internet electronic document exchange system.

인터넷 전자문서교환 시스템, 클라이언트 메시지 수신모듈, 서버 메시지 수신모듈, 패킷, Internet electronic document exchange system, client message receiving module, server message receiving module, packet,

Description

대용량의 전자문서 메시지를 수신하기 위한 방법{METHOD FOR RECEIVING ELECTRONIC DATA MESSAGE OF ENORMOUS} METHOOD FOR RECEIVING ELECTRONIC DATA MESSAGE OF ENORMOUS}             

도 1 은 본 발명이 적용되는 인터넷 전자문서교환 시스템의 구성예시도.1 is an exemplary configuration diagram of an Internet electronic document exchange system to which the present invention is applied.

도 2 는 본 발명에 따른 대용량의 메시지를 수신하기 위한 클라이언트와 서버간의 모듈을 나타낸 설명도.2 is an explanatory diagram showing a module between a client and a server for receiving a large message according to the present invention;

도 3a 내지 도 3c 는 본 발명의 바람직한 일실시예에 따른 인터넷 전자문서교환 시스템에서의 가입자측 대용량 메시지 수신 방법에 대한 수행 흐름도.3A to 3C are flowcharts illustrating a method for receiving a large-capacity message on a subscriber side in an Internet electronic document exchange system according to an embodiment of the present invention.

도 4a 내지 도 4d 는 본 발명의 바람직한 일실시예에 따른 인터넷 전자문서교환 시스템에서의 서버측 대용량 메시지 수신 방법에 대한 수행 흐름도.4A to 4D are flowcharts illustrating a method for receiving a server-side mass message in an Internet electronic document exchange system according to an exemplary embodiment of the present invention.

*도면의 주요 부분에 대한 부호의 설명* Explanation of symbols for the main parts of the drawings

11 : 인터넷 EDI 서버 12 : 방화벽11: Internet EDI Server 12: Firewall

13 : 스위칭 허브 14 : 허브13: switching hub 14: hub

15 : 단말기 16 : 라우터15: terminal 16: router

17 : 일반 사용자 18 : 대용량 사용자17: general users 18: large users

본 발명은 인터넷 전자문서교환 시스템에서의 대용량 메시지 수신 서비스 방법과 상기 방법을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체에 관한 것이다.The present invention relates to a mass message receiving service method in an Internet electronic document exchange system and a computer readable recording medium storing a program for realizing the method.

종래 메시지 수신과 관련하여 사용할 수 있는 통신 프로토콜로는 FTP(File Transfer Protocol)가 있다. 그러나, FTP는 단순한 파일 전송서비스이기 때문에 실제적으로 연결된 소켓이 폐쇄(close)되는 경우에만 임의의 에러를 사용자에게 보여줄 수 있다. 따라서, 대량 메시지를 수신하는 경우 사용자가 수동으로 파일 시스템을 체크하지 않는 이상 모든 메시지가 사용자에게 정확히 전달되었는지를 확인할 수 있는 메커니즘이 없으며, n번째 메시지를 수신하고자 할 때 해당 메시지에서 내포하고 있는 파일들이 실제적으로 존재하지 않는 상황을 처리할 수 있는 방법을 제공할 수 없는 문제점이 있었다. 또한, 사용자가 수신하고자 하는 메시지들을 체크하여 일일이 메시지명을 입력해야 하는 문제점이 있었다.A communication protocol that can be used in connection with conventional message reception is FTP (File Transfer Protocol). However, because FTP is a simple file transfer service, it can show a user an arbitrary error only if the socket actually connected is closed. Therefore, when receiving large messages, there is no mechanism to ensure that all messages are delivered correctly to the user unless the user manually checks the file system, and the file contained in that message when the user wants to receive the nth message. There was a problem that they could not provide a way to handle the situation that does not actually exist. In addition, there is a problem in that the user checks the messages to be received and inputs a message name one by one.

본 발명은, 상기한 바와 같은 문제점을 해결하기 위하여 안출된 것으로, 인터넷 전자문서교환(EDI : Electronic Data Interchange) 시스템 등을 사용하는 사용자들이 서버 내에 존재하는 자신의 수신함 디렉토리로부터 대용량 메시지를 수신 하되 메시지 수신에 대한 신뢰성을 제고시키기 위한 대용량의 전자문서 메시지를 수신하기 위한 방법과 상기 방법을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공하는데 그 목적이 있다.
The present invention has been made to solve the above-mentioned problems, and users who use the Internet Electronic Data Interchange (EDI) system or the like receive a large message from their inbox directory existing in the server. It is an object of the present invention to provide a method for receiving a large-capacity electronic document message for improving the reliability of reception and a computer-readable recording medium having recorded thereon a program for realizing the method.

상기 목적을 달성하기 위한 본 발명은, 대용량의 전자문서 메시지를 수신하기 위한 방법에 있어서, 가상연결을 맺기 위해 클라이언트로부터 전송된 패킷을 수신하여 수신 프로세스와의 가상연결을 설정하고, 수신해야 하는 메시지 건수를 조회하여 메시지 수신 요구에 대한 응답을 처리하는 제 1 단계; 상기 설정된 메시지에서 내포한 각 파일들의 존재여부를 체크하고, 수신결과를 해당 데이터베이스에 저장하는 제 2 단계; 및 대용량 메시지 수신 작업에 대한 결과값을 체크하여 사용자에게 메시지를 전송하는 제 3 단계를 포함하여 이루어진 것을 특징으로 한다.In order to achieve the above object, the present invention provides a method for receiving a large amount of electronic document messages, which is to receive a packet transmitted from a client to establish a virtual connection, establish a virtual connection with a reception process, and receive a message. A first step of processing the response to the message reception request by inquiring the number; A second step of checking whether each file included in the set message is present and storing a reception result in a corresponding database; And a third step of transmitting a message to a user by checking a result value of the mass message receiving task.

또한, 본 발명은, 대용량 프로세서를 구비한 전자문서교환 시스템에, 가상연결을 맺기 위해 클라이언트로부터 전송된 패킷을 수신하여 수신 프로세스와의 가상연결을 설정하고, 수신해야 하는 메시지 건수를 조회하여 메시지 수신 요구에 대한 응답을 처리하는 기능; 상기 설정된 메시지에서 내포한 각 파일들의 존재여부를 체크하고, 수신결과를 해당 데이터베이스에 저장하는 기능; 및 대용량 메시지 수신 작업에 대한 결과값을 체크하여 사용자에게 메시지를 전송하는 기능을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공한다.In addition, the present invention, in the electronic document exchange system having a large-capacity processor, receives a packet transmitted from a client to establish a virtual connection, establishes a virtual connection with the receiving process, and receives a message by inquiring the number of messages to be received The ability to process a response to a request; Checking whether each file included in the set message is present and storing a reception result in a corresponding database; And a computer-readable recording medium having a program for realizing a function of transmitting a message to a user by checking a result value of a large message receiving operation.

본 발명은, 대량의 메시지를 서버로부터 수신하고자 하는 경우, 사용자에게 신뢰할 수 있는 문서를 수신하기 위한 서비스를 제공하기 위한 것이다.The present invention is to provide a service for receiving a trusted document to a user when a large amount of messages are to be received from a server.

따라서, 사용자 응용프로그램과의 인터페이싱을 단순화시켜 사용자 고유번호와 원하는 메시지 저장 장소만을 입력받아 서버로부터의 수신 메시지 조회기능을 처리함으로써, 사용자가 일일이 수신해야 하는 메시지명 입력을 배제시켜 사용자 편의성을 증대시키고, 대용량 메시지 수신과 관련한 사용자들로부터의 입력을 배제시켜 모두 숨김(hidden)작업을 한다.Therefore, by simplifying the interfacing with the user application program and receiving only the user's unique number and the desired message storage location to process the received message inquiry function from the server, the user's convenience can be increased by eliminating the input of the message name that the user must receive every day. In addition, all operations are hidden by excluding input from users related to receiving large messages.

상술한 목적, 특징들 및 장점은 첨부된 도면과 관련한 다음의 상세한 설명을 통하여 보다 분명해 질 것이다. 이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 일실시예를 상세히 설명한다.The above objects, features and advantages will become more apparent from the following detailed description taken in conjunction with the accompanying drawings. Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1 은 본 발명이 적용되는 인터넷 전자문서교환 시스템의 구성예시도이다.1 is an exemplary configuration diagram of an Internet electronic document exchange system to which the present invention is applied.

도 1에 도시된 바와 같이, 대용량 메시지 수신처리를 위한 통신 데몬과 메시지 수신 서버모듈이 탑재되는 인터넷 EDI 서버(11)와, 부당한 가입자가 인터넷 EDI 시스템으로 접근하는 것을 네트웍상에서 통제하기 위해 설치한 방화벽(Firewall)(12)과, 인터넷 EDI 서버(11)와 방화벽(12)에 연결된 스위칭 허브(Switching HUB)(13)와, 단말기(15)와 연결하기 위한 허브(HUB)(14)와, 인터넷 EDI 시스템을 운영하는 운영자들의 단말기(15)와, 방화벽(12)과 인터넷 및 PSDN(Public Switched Data Network)을 연결하는 라우터(16)와, 대용량 메시지를 해당 서버로부터 수신하기 위해 가입자용 수신처리 모듈이 탑재되는 일반 사용자 및 대용량 사용자(17,18)로 구성된다.As shown in FIG. 1, an Internet EDI server 11 equipped with a communication daemon and a message receiving server module for processing a large-capacity message reception, and a firewall installed to control access to an Internet EDI system by an illegal subscriber on a network. (Firewall) 12, a switching hub 13 connected to the Internet EDI server 11 and the firewall 12, a hub 14 for connecting to the terminal 15, and the Internet Operator's terminal 15 for operating the EDI system, a firewall 16 connecting the firewall 12 with the Internet and a Public Switched Data Network (PSDN), and a subscriber reception module for receiving large messages from the server. It is composed of general users and large-capacity users 17 and 18 to be mounted.

일단, 가입자가 서버로부터 임의의 메시지를 수신하기 위해서 가입자의 통신 환경을 TCP/P환경으로 설정하도록 한다. 해당 환경이 설정된 후 사용자는 대용량 메시지를 수신하기 위해 본 발명에서 제안한 가입자용 수신처리 모듈을 구동시킨다. 구동된 모듈은 라우터(16)와 방화벽(12)을 거쳐 인터넷 EDI 시스템에 탑제된 통신 데몬 프로세스와 가상연결을 설정한 후, 해당 가입자의 서비스 요구를 처리하기 위한 메시지 수신 서버모듈 호출요구를 통신 데몬 프로세스에 전송하면, 이를 인지한 통신 데몬 프로세스는 적합한 프로세스 아이디로 메시지 수신 서버 모듈을 호출하여 이후 가입자와 서버간의 대용량 메시지 수신처리작업을 수행하도록 한다.First, the subscriber sets the communication environment of the subscriber to the TCP / P environment in order to receive any message from the server. After the environment is set, the user drives the reception processing module for subscribers proposed in the present invention to receive a large message. The driven module establishes a virtual connection with the communication daemon process installed in the Internet EDI system via the router 16 and the firewall 12, and then sends a message receiving server module call request to handle the service request of the corresponding subscriber. When transmitting to the process, the communication daemon process that recognizes it calls the message receiving server module with the appropriate process ID to perform a large message receiving process between the subscriber and the server.

또한, 본 발명에서는 TCP/IP망을 전제로 하기 때문에 가입자가 X.25 혹은 PSTN(Public Switched Telephone Network)방식을 이용해 문서 수신서버 모듈이 실행되는 인터넷 전자문서교환 시스템으로 접속하고자 하는 경우에는 기본 네트웍 장비에서 TCP/IP 서비스를 제공해 주도록 한다.In addition, since the present invention assumes a TCP / IP network, a basic network is used when a subscriber wants to access an Internet electronic document exchange system running a document receiving server module using an X.25 or PSTN (Public Switched Telephone Network) method. Make sure your device provides TCP / IP services.

도 2 는 본 발명에 따른 대용량의 메시지를 수신하기 위한 클라이언트와 서버간의 모듈을 나타낸 설명도이다.2 is an explanatory diagram showing a module between a client and a server for receiving a large amount of messages according to the present invention.

도 2에 도시된 바와 같이, 클라이언트(21)는 수신된 메시지를 사용자의 요구에 맞게 가공하는 가입자용 응용프로그램 모듈과 클라이언트 메시지 수신모듈로 구성된다. 서버(22)는 클라이언트의 가상 연결요구를 처리하는 통신 데몬프로세스, 서버 메시지 수신모듈, 수신된 문서에 대한 사항들을 기록하는 수신 데이터베이스 및 문서 로그 데이터베이스로 구성된다.As shown in Fig. 2, the client 21 is composed of a subscriber application module and a client message receiving module for processing the received message according to the user's request. The server 22 is composed of a communication daemon process for processing a virtual connection request of the client, a server message receiving module, a receiving database for recording the information on the received document and a document log database.

즉, 본 발명은 TCP/IP 환경에서 대용량 메시지를 수신하고자 하는 사용자들이 신뢰할 수 있는 전송서비스를 제공하기 위해 설계한 것으로, 클라이언트/서버 방식으로 구성된다. 클라이언트 메시지 수신모듈은 사용자들이 개발한 응용프로그램에 의해 구동되며, 구동방식은 클라이언트 메시지 수신모듈에서 제공한다. 구동된 클라이언트 메시지 수신모듈은 서버 메시지 수신모듈과의 가상연결을 맺기 위해 본 발명에서 정의된 패킷을 전송하며, 서버에서 동작되는 통신 데몬프로세스가 이 패킷을 수신하고, 이에 대한 분석을 실시하여 정상적인 경우에 한하여 서버의 메시지 수신 프로세스와의 가상연결을 설정하도록 한다. 클라이언트와 서버 간의 가상연결이 설정되고 나면, 클라이언트는 본 발명에서 정의한 메시지 수신 패킷을 생성하여 서버의 메시지 수신 프로세스로의 전송을 수행하게 된다. 이때, 서버에서 동작되는 메시지 수신프로세스는 이 패킷에 대한 수신 및 분석 작업을 실시하고 정상적인 경우에 한하여 패킷으로부터 사용자 고유번호를 추출한 후 데이터베이스에 연결하여 해당 사용자가 수신해야하는 메시지들에 대한 조회작업을 실시한다. That is, the present invention is designed to provide a reliable transmission service for users who want to receive large messages in a TCP / IP environment, and is configured in a client / server manner. The client message receiving module is driven by an application program developed by users, and the driving method is provided by the client message receiving module. The driven client message receiving module transmits the packet defined in the present invention to establish a virtual connection with the server message receiving module, and the communication daemon process operated in the server receives the packet and analyzes it. Only set a virtual connection with the server's message receiving process. After the virtual connection between the client and the server is established, the client generates a message receiving packet defined in the present invention and performs transmission to the message receiving process of the server. At this time, the message reception process operated by the server performs the reception and analysis on this packet, and extracts the user's unique number from the packet only in the normal case, and then connects to the database and inquires about the messages that the user should receive. do.

이어서, 데이터베이스로부터 조회작업 결과를 리턴받으면 이에 대한 결과를 본 발명에서 정의한 패킷 구조에 맞게 패킷을 생성하여 클라이언트 메시지 수신모듈로 전송한다. 메시지 수신에 대한 조회 결과를 리턴받은 클라이언트는 이에 대한 분석작업을 실시하여 수신해야 하는 메시지 건수가 있는 경우에 대해서 메시지 건별로 수신할 수 있는 준비작업을 수행한다. 이때, 서버의 문서 수신 프로세스에서는 수신해야 하는 메시지들에 대하여 순차적으로 전송작업을 수행하게 된다. Subsequently, when the query operation result is returned from the database, the packet is generated according to the packet structure defined in the present invention and transmitted to the client message receiving module. The client, which has returned the inquiry result of receiving a message, performs an analysis operation on this and performs preparation work that can be received for each message case when there are a number of messages that need to be received. At this time, the document receiving process of the server sequentially performs the transmission operation for the messages to be received.

우선, 각 메시지에서 내포하고 있는 문서들이 사용자의 메일박스에 있는지를 체크하고, 없는 경우에는 본 발명에서 정의한 패킷을 생성하여 클라이언트 메시지 수신모듈로의 전송작업을 수행한다. 클라이언트 메시지 수신모듈에서는 이 패킷 을 수신하여 이에 대한 분석작업을 수행한 후 정상적인 경우에 한하여, n번째 메시지 수신작업은 실패로 간주하고 (n+1)번째 메시지를 수신하기 위한 준비작업을 수행한다. 메시지에서 내포하고 있는 문서들이 사용자의 메일박스에 정확히 있는 경우엔, 메시지 자체에 대한 전송 작업을 수행하고, 이에 대한 클라이언트 측의 수신결과를 알기 위해 본 발명에서 정의된 메시지 건별 수신결과 요구 패킷을 생성하여 전송하게 된다. 이 패킷을 수신한 클라이언트 메시지 수신모듈에서는 해당 메시지의 수신 결과를 체크하여 수신시 오류가 발생한 경우엔 오류패킷을, 수신성공 시에는 수신성공 확인 패킷을 생성하여 전송한다. 또한, 메시지 건별 수신결과 요구 패킷에 대한 응답패킷을 수신한 서버 메시지 수신 프로세스에서는 이 패킷을 분석하여 정상적인 패킷에 한하여 그 수신결과를 사용자의 수신 데이터베이스와 문서 로그 데이터베이스에 반영시켜 단위 메시지 수신 상황에 대한 클라이언트/서버간에 일치성을 제공하도록 한다. First, it is checked whether documents contained in each message are present in a user's mailbox. If not, a packet defined in the present invention is generated and a transmission operation is performed to the client message receiving module. After receiving the packet and analyzing the packet, the client message receiving module considers the nth message receiving operation as a failure and prepares to receive the (n + 1) th message. If the documents contained in the message are exactly in the user's mailbox, the message itself is transmitted, and the request result packet for each message defined in the present invention is generated in order to know the reception result of the client. Will be sent. Upon receiving the packet, the client message receiving module checks the reception result of the corresponding message and generates an error packet if an error occurs during reception, and generates and transmits an acknowledgment packet upon successful reception. In addition, the server message receiving process that receives the response packet for the received result request packet for each message case analyzes the packet and reflects the received result to the user's receiving database and document log database for the normal packet only. Make sure to provide consistency between client / server.

한편, n번째 메시지 수신 프로세스가 종료되면 서버의 메시지 수신 프로세스에서는 수신해야 하는 메시지 건수와 수신 처리된 메시지 건수를 비교하고, 일치하지 않는 경우, 서버 메시지 수신모듈은 클라이언트 메시지 수신모듈과 단위 메시지 수신을 위한 통신기능을 재수행한다. 일치하는 경우, 서버 메시지 수신모듈은 대용량 메시지 수신작업 자체에 대한 수신결과를 알기 위해 본 발명에서 정의한 패킷을 생성하여 전송한다. 이를 수신한 클라이언트 메시지 수신모듈에서는 대용량 메시지 수신작업 결과에 따라 본 발명에서 정의된 대용량 메시지 수신작업 결과 응답 패킷들을 생성하여 서버로 전송한다. 이 패킷을 수신한 서버모듈에서는 정상적 인 패킷에 한하여 수신 작업에 대한 결과값을 추출하여 성공인 경우엔 정상종료를, 실패인 경우에는 해당 데이터베이스의 값을 갱신한 후 비정상 종료를 한다. 대용량 메시지 수신작업 결과에 대한 응답패킷을 전송한 클라이언트 메시지 수신모듈은 서버와의 가상연결을 끓기위해 본 발명에서 정의한 패킷을 생성하여 전송하고, 대용량 메시지 수신작업 결과에 대한 적절한 작업을 수행한 후 프로세스를 종료한다.On the other hand, when the nth message receiving process ends, the message receiving process of the server compares the number of messages to be received with the number of processed messages. Redo the communication function. If there is a match, the server message receiving module generates and transmits the packet defined in the present invention in order to know the reception result for the mass message receiving operation itself. The client message receiving module receives the generated large message receiving result response packets according to the result of the large message receiving operation and transmits them to the server. After receiving this packet, the server module extracts the result value for the received packet only for the normal packet, and if it succeeds, it terminates normally, and if it fails, it updates the database value and terminates abnormally. The client message receiving module that transmits the response packet for the result of the large message receiving operation generates and transmits the packet defined in the present invention to boil the virtual connection with the server, and then performs an appropriate operation for the result of the large message receiving operation. To exit.

여기서, 대용량 메시지 수신 처리를 나타내는 패킷 구조도에 대해 살펴보면 하기의 [표1]~[표12]와 같다.Here, a packet structure diagram illustrating a large message reception process is as shown in Tables 1 to 12 below.

Figure 111999017496759-pat00001
Figure 111999017496759-pat00001

상기 [표 1]은 클라이언트에서 메시지 수신 서버 모듈과 가상연결을 설정하고자 하는 경우에 생성되는 접속 리퀘스트(Connect Request) 패킷 구조도이다.[Table 1] is a structure diagram of a connect request packet generated when a client wants to establish a virtual connection with a message receiving server module.

Figure 111999017496759-pat00002
Figure 111999017496759-pat00002

상기 [표2]는 클라이언트에서 메시지 수신요구를 메시지 수신서버 모듈에게 보내고자 하는 경우에 생성되는 메시지 수신 요구(Message Fetch) 패킷 구조도이다.Table 2 shows a structure of a message fetch packet generated when a client wants to send a message reception request to a message receiving server module.

Figure 111999017496759-pat00003
Figure 111999017496759-pat00003

상기 [표3]은 클라이언트에서 메시지 수신 서버 모듈과의 가상연결을 종료하고자 하는 경우에 생성되는 비접속 리퀘스트(Disconnect Request) 패킷 구조도이다.[Table 3] is a structure diagram of a disconnect request packet generated when a client wants to terminate a virtual connection with a message receiving server module.

Figure 111999017496759-pat00004
Figure 111999017496759-pat00004

상기 [표4]는 서버측에서 사용자가 수신해야 하는 메시지 건수가 0임을 클라이언트에게 알리기 위해 생성하는 타입(Type)-1 패킷 구조도이다.[Table 4] is a type-1 packet structure diagram generated by the server to inform the client that the number of messages the user should receive is zero.

Figure 111999017496759-pat00005
Figure 111999017496759-pat00005

상기 [표5]는 서버측에서 사용자가 수신해야할 메시지 건수가 50건 미만인 경우 이를 클라이언트에게 알리기 위해 생성하는 타입(Type)-2 패킷 구조도이다.[Table 5] is a type-2 packet structure diagram generated to notify the client when the number of messages received by the user is less than 50 at the server side.

Figure 111999017496759-pat00006
Figure 111999017496759-pat00006

상기 [표6]은 서버측에서 사용자가 수신해야할 메시지 건수가 50건 이상인 경우 이를 클라이언트에게 알리기 위해 생성하는 타입(Type)-3 패킷 구조도이다.[Table 6] is a type-3 packet structure that is generated to notify the client when the number of messages received by the user is 50 or more on the server side.

Figure 111999017496759-pat00007
Figure 111999017496759-pat00007

상기 [표7]은 해당 메시지에 포함된 문서들이 해당 가입자의 수신함에 존재하지 않는 경우 이를 클라이언트에게 통보하기 위해 서버에 의해 생성되는 타입(Type)-4 패킷 구조도이다.[Table 7] is a Type-4 packet structure diagram generated by the server to notify the client of the documents included in the message does not exist in the subscriber's inbox.

Figure 111999017496759-pat00008
Figure 111999017496759-pat00008

상기 [표8]은 서버측에서 클라이언트에게 해당 메시지의 수신 결과를 요구하기 위해 생성하는 타입(Type)-5 패킷 구조도이다.[Table 8] is a type-5 packet structure diagram generated by a server to request a result of receiving a message from a client.

Figure 111999017496759-pat00009
Figure 111999017496759-pat00009

상기 [표9]는 상기 [표8]에 대한 응답 패킷으로 해당 메시지를 성공적으로 수신한 경우에 클라이언트에 의해 생성하는 타입(Type)-6 패킷 구조도이다.[Table 9] is a type-6 packet structure diagram generated by the client when the message is successfully received as a response packet to [Table 8].

Figure 111999017496759-pat00010
Figure 111999017496759-pat00010

상기 [표10]은 서버측에서 대용량 메시지 수신 프로세스를 성공적으로 종료할 것임을 클라이언트에게 통보하기 위해 생성하는 타입(Type)-7 패킷 구조도이다.[Table 10] is a Type-7 packet structure generated to notify the client that the server side will successfully terminate the large message receiving process.

Figure 111999017496759-pat00011
Figure 111999017496759-pat00011

상기 [표11]은 상기 [표10]에 대한 응답 패킷으로 클라이언트에 의해 생성되는 타입(Type)-8 패킷 구조도이다.[Table 11] is a type-8 packet structure generated by the client as a response packet to [Table 10].

Figure 111999017496759-pat00012
Figure 111999017496759-pat00012

상기 [표12]는 클라이언트가 서버측의 메시지 수신 프로세스와 세션을 연결하기 위해 생성하는 타입(Type)-9 패킷 구조도이다.[Table 12] shows a Type-9 packet structure that a client generates to connect a session with a server message receiving process.

도 3a 내지 도 3c 는 본 발명의 바람직한 일실시예에 따른 인터넷 전자문서교환 시스템에서의 가입자측 대용량 메시지 수신 방법에 대한 수행 흐름도이다.3A to 3C are flowcharts illustrating a method for receiving a subscriber-side large message in an Internet electronic document exchange system according to an embodiment of the present invention.

도 3a 내지 도 3c에 도시된 바와 같이, 먼저 수신자 고유번호와 서버정보 파일을 매개변수로 받아(301) 클라이언트에서 메시지 수신 서버 모듈과의 가상연결을 설정하기 위해 생성되는 접속 리퀘스트(Connect Request) 패킷을 생성 및 전송하고(302), 클라이언트가 서버측의 메시지 수신 프로세스와 세션을 연결하기 위해 생성하는 타입(Type)-9 패킷을 생성 및 전송하며(303), 클라이언트에서 메시지 수신요구를 메시지 수신서버 모듈로 보내기 위해 생성되는 메시지 수신요구(Message Fetch) 패킷을 생성 및 전송한 후(304) 서버로부터 임의의 패킷을 기다린다(305).As shown in FIGS. 3A to 3C, a connection request packet generated to receive a receiver unique number and a server information file as parameters (301) and establish a virtual connection with a message receiving server module at a client (301). Generate and send (302), a Type-9 packet generated by the client to connect the session with the server-side message receiving process, and send (303) a message receiving request from the client to the message receiving server. After generating and transmitting a Message Fetch packet generated to be sent to the module (304), it waits for any packet from the server (305).

이어서, 생성 및 전송된 패킷 중 오류 패킷을 수신하였는지 확인한다(306).Next, it is checked whether an error packet is received among the generated and transmitted packets (306).

확인결과, 수신하였으면 문서 수신 프로세서를 비정상적으로 종료시키고(307), 수신하지 않았으면 서버측에서 사용자가 수신해야 하는 메시지 건수가 0임을 클라이언트에게 알리기 위해 생성하는 타입-1 패킷을 수신하였는지 확인한다(308).As a result, if it is received, the document receiving processor is abnormally terminated (307). If not, it is checked whether the server receives the type-1 packet generated to inform the client that the number of messages that the user should receive is 0 ( 308).

확인결과, 수신하였으면 클라이언트에서 메시지 수신 서버 모듈과의 가상연결을 종료하고자 하는 경우에 생성되는 비접속 리퀘스트(Disconnect Request) 패킷을 생성 및 전송하고(309), 문서수신 프로세스를 정상적으로 종료한다(310).As a result of the check, the client generates and transmits a disconnect request packet generated when the client wants to terminate the virtual connection with the message receiving server module (309), and terminates the document receiving process normally (310). .

확인결과, 수신하지 않았으면 서버측에서 사용자가 수신해야할 메시지 건수가 50건 미만인 경우 이를 클라이언트에게 알리기 위해 생성하는 타입-2 패킷 또는 서버측에서 사용자가 수신해야할 메시지 건수가 50건 이상인 경우 이를 클라이언트에게 알리기 위해 생성하는 타입-3 패킷을 수신한다(311).If it is not received, the type 2 packet generated by the server to inform the client when the number of messages to be received by the server is less than 50 or the message by the user to receive by the user is 50 or more. Receive a type-3 packet generated to inform (311).

이어서, n번째 메시지에 대한 수신을 준비하고(312), 해당 메시지에 포함된 문서들이 해당 가입자의 수신함에 존재하지 않는 경우 이를 클라이언트에게 통보하기 위해 서버에 의해 생성되는 타입-4 패킷을 수신하였는지 확인한다(313).Next, prepare to receive the nth message (312), and confirm that a type-4 packet generated by the server has been received to notify the client if the documents contained in the message do not exist in the subscriber's inbox. (313).

확인결과, 수신하였으면 n번째 메시지의 수신결과를 실패로 기록한 후(314) n번째 메시지에 대한 수신을 준비하는 과정(312)으로 넘어가고, 수신하지 않았으면 n번째 메시지와 관련된 문서들을 수신하며(315), 서버로부터 임의의 패킷을 기다린 후(316) 서버측에서 클라이언트에게 해당 메시지의 수신 결과를 요구하기 위해 생성하는 타입-5 패킷을 수신하였는지 확인한다(317).As a result of the check, if the reception result of the nth message is recorded as a failure (314), the process proceeds to preparing for reception of the nth message (312), and if not, the documents related to the nth message are received ( In step 315, the server waits for an arbitrary packet from the server (316) and checks whether the server receives a type-5 packet generated by the server to request a result of receiving the message (317).

확인결과, 수신하지 않았으면 n번째 메시지의 수신결과를 실패로 기록한 후(318) n번째 메시지에 대한 수신을 준비하는 과정(312)으로 넘어가고, 수신하였으면 n번째 메시지가 성공적으로 수신되었음을 알리기 위해 타입-5에 대한 응답 패 킷으로 해당 메시지를 성공적으로 수신한 경우에 클라이언트에 의해 생성하는 타입-6 패킷을 생성 및 전송하고(319), 수신받을 메시지가 남아있는지 확인한다(320). As a result of the check, if it is not received, the reception result of the nth message is recorded as a failure (318), and then the process proceeds to preparing for reception of the nth message (312), and if received, to indicate that the nth message has been successfully received. When the corresponding message is successfully received as a response packet for the type-5, a type-6 packet generated by the client is generated and transmitted (319), and the received message is checked (320).

확인결과, 있으면 n번째 메시지에 대한 수신을 준비하는 과정(312)으로 넘어가고, 없으면 서버로부터 임의의 패킷을 기다리고(321), 서버측에서 대용량 메시지 수신 프로세스를 성공적으로 종료할 것임을 클라이언트에게 통보하기 위해 생성하는 타입-7 패킷을 수신하였는지 확인한다(322).If it is confirmed, the process proceeds to preparing for reception of the nth message (312), if not waiting for a random packet from the server (321), notifying the client that the server side will successfully terminate the large message receiving process. In step 322, it is checked whether a type-7 packet generated for the request has been received.

확인결과, 수신하지 않았으면 대량 메시지가 수신 프로세스가 실패되었음을 기록한 후(323), 문서 수신 프로세스를 비정상적으로 종료하고(324), 수신하였으면 대량 메시지 수신 프로세스가 성공적으로 수행되었음을 알리기 위해 타입-7에 대한 응답패킷으로 클라이언트에 의해 생성되는 패킷을 생성하여 전송하고(325) 메시지 수신 프로세스를 정상적으로 종료한다(326).If it is not received, the mass message records that the receiving process has failed (323), then abnormally terminates the document receiving process (324), and if received, the type-7 is informed to inform that the bulk message receiving process was successful. The packet generated by the client is generated and transmitted in response packet (325), and the message receiving process is normally terminated (326).

도 4a 내지 도 4d 는 본 발명의 바람직한 일실시예에 따른 인터넷 전자문서교환 시스템에서의 서버측 대용량 메시지 수신 방법에 대한 수행 흐름도이다.4A to 4D are flowcharts illustrating a server-side mass message receiving method in an Internet electronic document exchange system according to an exemplary embodiment of the present invention.

도 4a 내지 도 4d에 도시된 바와 같이, 클라이언트에서 메시지 수신 서버 모듈과의 가상연결을 설정하기 위해 생성되는 접속 리퀘스트(Connect Request) 패킷을 수신하고(401), 클라이언트가 서버측의 메시지 수신 프로세스와 세션을 연결하기 위해 생성하는 타입-9 패킷을 수신하여 체크하고 서버의 메시지 수신 프로세스를 호출하며(402), 클라이언트에서 메시지 수신요구를 메시지 수신서버 모듈에게 보내고자 하는 경우에 생성되는 패킷을 수신하여 사용자 아이디를 추출한 후(403) 데이터베이스와의 연결을 시도한다(404).As shown in FIGS. 4A-4D, a client receives a Connect Request packet generated to establish a virtual connection with a message receiving server module (401), and the client receives a message receiving process on the server side. It receives and checks the type-9 packet generated to connect the session and calls the server's message receiving process (402), and receives the packet generated when the client wants to send a message receiving request to the message receiving server module. After extracting the user ID (403) and attempts to connect to the database (404).

이어서, 데이터베이스와의 연결에 성공하였는지 확인한다(405).Next, it is checked whether the connection with the database was successful (405).

확인결과, 실패했으면 에러 패킷을 생성 및 전송하고(406), 문서 수신 프로세서를 비정상적으로 종료한다(407).As a result of the check, if it fails, an error packet is generated and transmitted (406), and the document receiving processor is abnormally terminated (407).

확인결과, 성공하였으면 사용자가 수신해야 하는 메시지 건수를 조회하고(408) 메시지 건수가 0건인지를 확인한다(409).If the result of the check is successful, the number of messages that the user should receive is inquired (408), and it is checked whether the number of messages is zero (409).

확인결과, 0건이면 클라이언트에서 메시지 수신 서버 모듈과의 가상연결을 설정하기 위해 생성되는 타입-1 패킷을 생성 및 전송하고(410), 클라이언트로부터 임의의 패킷을 기다린 후(411), 클라이언트에서 메시지 수신 서버 모듈과의 가상연결을 종료하기 위해 비접속 리퀘스트(Disconnect Request) 패킷을 수신하였는지 확인한다(412).If the check result is 0, the client generates and transmits a type-1 packet generated to establish a virtual connection with the message receiving server module (410), waits for an arbitrary packet from the client (411), and then sends a message from the client. In operation 412, it is checked whether a disconnect request packet has been received to terminate the virtual connection with the receiving server module.

확인결과, 수신하지 않았으면 문서 수신 프로세스를 비정상적으로 종료하고(413), 수신하였으면 데이터베이스 연결을 종료하고(414) 문서 수신 프로세스를 비정상적으로 종료시킨다(415). As a result of the check, if it is not received, the document receiving process is abnormally terminated (413), if received, the database connection is terminated (414), and the document receiving process is abnormally terminated (415).

한편, 확인결과, 0건이 아니면 메시지 건수가 50건 이상인지를 확인한다(416).On the other hand, if it is not 0, it is checked whether the number of messages is 50 or more (416).

확인결과, 이상이면 서버측에서 사용자가 수신해야할 메시지 건수가 50 이상인 경우를 클라이언트에게 알리기 위해 타입-3 패킷을 생성 및 전송하고(417), 미만이면 서버측에서 사용자가 수신해야할 메시지 건수가 50건 미만인 경우를 클라이언트에게 알리기 위해 타입-2 패킷을 생성 및 전송한다(418).If the result is OK, the server generates and sends a type-3 packet to inform the client that the number of messages that the user should receive is 50 or more (417), and if less, the number of 50 messages that the user should receive on the server is 50. A type-2 packet is generated and transmitted to inform the client of less than 418.

이어서, n번째 메시지에서 가리키는 파일들이 존재하는지 확인한다(419).Then, it is checked whether the files indicated by the nth message exist (419).

확인결과, 존재하지 않으면 해당 메시지에 포함된 문서들이 해당 가입자의 수신함에 존재하지 않는 경우를 클라이언트에게 통보하기 위해 서버에 의해 타입-4 패킷을 생성 및 전송한 후(420), n번째 메시지에서 가리키는 파일들이 존재하는지 확인하는 과정(419)으로 넘어가고, 존재하면 각종 파일들을 전송받고(421) 서버측에서 클라이언트에게 해당 메시지의 수신 결과를 요구하기 위해 타입-5 패킷을 생성 및 전송한다(422).If it does not exist, after generating and transmitting a Type-4 packet by the server to notify the client that the documents included in the message do not exist in the subscriber's inbox (420), the message indicated by the nth message is indicated. If the file exists, the process proceeds to step 419. If the file exists, various files are received (421), and the server generates and transmits a type-5 packet to request a result of receiving the corresponding message from the server (422). .

이어서, 클라이언트로부터 임의의 패킷을 기다린 후(423) 타입-5 패킷에 대한 응답 패킷으로 해당 메시지를 성공적으로 수신한 경우에 클라이언트에 의해 생성하는 패킷을 수신하였는지 확인한다(424).Subsequently, after waiting for an arbitrary packet from the client (423), if the corresponding message is successfully received as a response packet to the type-5 packet, it is checked whether a packet generated by the client is received (424).

확인결과, 수신하지 않았으면 n번째 메시지 수신결과를 실패로 간주하고 이를 해당 데이터베이스에 반영한 후(425), n번째 메시지에서 가리키는 파일들이 존재하는지 확인하는 과정(419)으로 넘어가고, 수신하였으면 n번째 메시지 수신결과를 성공으로 간주하고 이를 해당 데이터베이스에 반영한다(426).If the result of the check is not received, the nth message reception result is regarded as a failure and reflected in the database (425). Then, the process proceeds to a process of checking whether the files indicated by the nth message exist (419). The result of receiving the message is regarded as a success and reflected in the database (426).

수신해야할 메시지가 남아있는지를 확인한다(427).Check whether there is still a message to be received (427).

확인결과, 남아있으면 n번째 메시지에서 가리키는 파일들이 존재하는지 확인하는 과정(419)으로 넘어가고, 없으면 데이터베이스 연결을 종료하고(428), 서버측에서 대용량 메시지 수신 프로세스를 성공적으로 종료할 것임을 클라이언트에게 통보하기 위해 타입-7 패킷을 생성 및 전송하며(429), 클라이언트로부터 임의의 패킷을 기다린다(430).As a result of the check, the process proceeds to checking whether the files indicated by the nth message exist (419), if not, terminates the database connection (428), and informs the client that the server side will successfully terminate the large message receiving process. Generate and send a Type-7 packet (429) and wait for any packet from the client (430).

한편, 대용량 수신 프로세스로 종료에 대한 응답 패킷으로 클라이언트에 의해 생성되는 타입-8 패킷을 수신하였는지 확인한다(431).On the other hand, it is checked whether a type-8 packet generated by the client is received as a response packet for the termination by the large reception process (431).

확인결과, 수신하지 않았으면 서버의 문서 수신 프로세스를 비정상적으로 종료하고(432), 수신하였으면 서버의 문서 수신 프로세스를 정상적으로 종료한다.As a result of the check, if it is not received, the document receiving process of the server is abnormally terminated (432), and if receiving, the document receiving process of the server is normally terminated.

본 발명은 앞에서도 살펴 본 바와 같이 특히 TCP/IP(Transmission Control Protocol/Internet Protocol)환경을 이용하고 있는 사용자가 특정 서버로부터 대량의 문서를 수신하기 위해 사용자들에게 신뢰성있게 전송 서비스를 제공하고자 하는 경우에 적합하게 이용될 수 있는 것이다. As described above, in the present invention, when a user using a Transmission Control Protocol / Internet Protocol (TCP / IP) environment desires to provide a transmission service to users reliably in order to receive a large amount of documents from a specific server. It can be used suitably.

이상에서 설명한 본 발명은 전술한 실시예 및 첨부된 도면에 의해 한정되는 것이 아니고, 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 여러 가지 치환, 변형 및 변경이 가능하다는 것이 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 있어 명백할 것이다.The present invention described above is not limited to the above-described embodiments and the accompanying drawings, and various substitutions, modifications, and changes are possible in the art without departing from the technical spirit of the present invention. It will be clear to those of ordinary knowledge.

상기한 바와 같은 본 발명은, 사용자가 대용량 문서를 수신하고자 하는 경우, 사용자가 수신하게 될 메시지 건수를 사용자별 수신함 데이터베이스에서 조회(query)하고, 그 결과에 대한 패킷을 생성하여 클라이언트의 메시지 수신 모듈로 전송하므로 클라이언트의 메시지 수신 모듈에서는 사전에 자신이 받아야 하는 메시지 건수를 알고 있다. 따라서, 메시지 수신 프로세스가 중간에 분실되는 경우에 대한 에러를 처리할 수 있는 효과가 있다. 게다가, 서버에서 동작되는 메시지 수신 모듈에서는 해당 메시지별로 메시지에서 암시하는 문서들이 메시지 송신자가 보낸 그대로 사용자의 수신함에 저장되어 있는지를 확인하고, 그렇지 않은 경우에 대해 오류 패킷을 클라이언트 모듈로 전송함으로써 사용자가 해당 에러를 인지할 수 있는 효과가 있다.According to the present invention as described above, when a user wants to receive a large document, the user receives the number of messages that the user will receive in a user's inbox database, and generates a packet for the result of the message receiving module of the client. The message receiving module of the client knows how many messages it should receive beforehand. Therefore, there is an effect that it is possible to handle the error for the case where the message receiving process is lost in the middle. In addition, the message receiving module operated in the server checks whether the documents implied by the message are stored in the user's inbox as sent by the message sender, and sends an error packet to the client module if not. The error can be recognized.

또한, 단위 메시지 별로 수신 프로세스가 종료되었을 때 서버모듈에서 클라이언트로 확인-요구(confirm-request) 패킷을 전송하고 이에 대한 응답 패킷을 클라이언트 모듈로부터 수신하여 그 결과를 해당 데이터 베이스에 반영시키므로, 서버에서는 단위 메시지 수신에 대한 가입자별 상태(status)를 정확히 관리할 수 있는 효과가 있다. In addition, when the reception process is terminated for each unit message, the server module sends a confirmation-request packet to the client, receives a response packet from the client module, and reflects the result in the corresponding database. There is an effect that can accurately manage the status (by subscriber) for the reception of a unit message.

그리고, n개의 메시지가 모두 수신된 경우에도 서버측에서 클라이언트에게 확인-요구(confirm-request) 패킷을 전송하고 이에 대한 응답 패킷을 클라이언트 모듈로부터 수신하여 그 결과를 해당 데이터베이스에 반영시키므로, 서버와 클라이언트간의 대용량 메시지 수신 상태에 대한 동기화를 유지할 수 있는 우수한 효과가 있다.

In addition, even if all n messages are received, the server sends a confirmation-request packet to the client, receives a response packet from the client module, and reflects the result in the corresponding database. It is an excellent effect to keep the synchronization of large message reception status between them.

Claims (6)

대용량의 전자문서 메시지를 수신하기 위한 방법에 있어서,In the method for receiving a large amount of electronic document message, 가상연결을 맺기 위해 클라이언트로부터 전송된 패킷을 수신하여 수신 프로세스와의 가상연결을 설정하고, 수신해야 하는 메시지 건수를 조회하여 메시지 수신 요구에 대한 응답을 처리하는 제 1 단계; A first step of receiving a packet transmitted from a client to establish a virtual connection, establishing a virtual connection with a reception process, and inquiring a number of messages to be received to process a response to a message reception request; 상기 설정된 메시지에서 내포한 각 파일들의 존재여부를 체크하고, 수신결과를 해당 데이터베이스에 저장하는 제 2 단계; 및 A second step of checking whether each file included in the set message is present and storing a reception result in a corresponding database; And 대용량 메시지 수신 작업에 대한 결과값을 체크하여 사용자에게 메시지를 전송하는 제 3 단계The third step of sending a message to the user by checking the result value for a large message receiving operation. 를 포함하는 대용량의 전자문서 메시지를 수신하기 위한 방법.Method for receiving a large amount of electronic document messages comprising a. 제 1 항에 있어서,The method of claim 1, 상기 제 1 단계는, The first step is, 데몬 프로세스가 상기 클라이언트로부터 가상연결 패킷을 수신하여 상기 클라이언트와 일대일로 연결되도록 메시지 수신 서버 프로세스를 호출하는 제 4 단계;A fourth step of the daemon process receiving a virtual connection packet from the client and invoking a message receiving server process to connect one-to-one with the client; 메시지 수신 요구 패킷으로부터 가입자 아이디를 추출하는 제 5 단계; 및Extracting a subscriber ID from the message reception request packet; And 상기 데이터베이스와 연결하여 사용자가 수신해야 하는 메시지 건수를 조회 하는 제 6 단계Step 6 of inquiring the number of messages that the user should receive by connecting to the database 를 포함하는 대용량의 전자문서 메시지를 수신하기 위한 방법.Method for receiving a large amount of electronic document messages comprising a. 제 2 항에 있어서,The method of claim 2, 상기 제 6 단계는, The sixth step, 상기 데이터베이스와의 연결을 시도하여 연결에 성공하였는지를 확인하는 제 7 단계;A seventh step of confirming whether the connection is successful by attempting a connection with the database; 상기 제 7 단계의 확인결과, 연결에 실패하였으면 에러 패킷을 생성 및 전송하여 문서 수신 프로세스를 비정상적으로 종료시키고, 연결에 성공하였으면 사용자가 수신해야 하는 메시지 건수를 조회하는 제 8 단계;An eighth step of generating an error packet if the connection is unsuccessful and abnormally terminating the document receiving process if the connection is unsuccessful, and retrieving the number of messages the user should receive if the connection is successful; 상기 조회한 메시지 건수가 제1 소정 건인지를 확인하는 제 9 단계;A ninth step of checking whether the inquiry number of messages is a first predetermined number; 상기 제 9 단계의 확인결과, 제1 소정 건이면 메시지 건수가 제1 소정건임을 알리는 패킷을 생성 및 전송하여 상기 클라이언트로부터 소정의 패킷을 기다리고, 서버와의 가상연결을 종료하기 위한 패킷을 수신하였는지 확인하는 제 10 단계;As a result of the checking in the ninth step, if the first predetermined case is generated, a packet indicating that the number of messages is the first predetermined case is waited for a predetermined packet from the client and received a packet for terminating the virtual connection with the server. A tenth step of identifying; 상기 제 10 단계의 확인결과, 수신하였으면 상기 데이터베이스와의 연결을 종료한 후 문서 수신프로세스를 비정상적으로 종료시키고, 수신하지 않았으면 문서 수신프로세스를 비정상적으로 종료시키는 제 11 단계;An eleventh step of terminating the document receiving process abnormally after terminating the connection with the database if it is received as a result of the checking of the tenth step; 상기 제 9 단계의 확인결과, 상기 제1 소정 건이 아니면 메시지 건수가 제2 소정건 이상인지를 확인하는 제 12 단계; 및A twelfth step of checking whether the number of messages is greater than or equal to the second predetermined case as a result of the checking in the ninth step; And 상기 제 12 단계의 확인결과, 이상이면 상기 제2 소정 건 이상임을 알리는 패킷을 생성 및 전송하고, 미만이면 상기 제2 소정 건 미만임을 알리는 패킷을 생성및 전송하는 제 13 단계 A thirteenth step of generating and transmitting a packet indicating that the second predetermined case is greater than or equal to the result of the check in the twelfth stage; 를 포함하는 대용량의 전자문서 메시지를 수신하기 위한 방법. Method for receiving a large amount of electronic document messages comprising a. 제 1 항 내지 제 3 항 중 어느 한 항에 있어서,The method according to any one of claims 1 to 3, 상기 제 2 단계는,The second step, n번째 메시지에서 메시지에 내포한 각 파일들이 실제로 존재하는지를 확인하는 제 14 단계;a fourteenth step of checking whether each file implied in the message in the nth message actually exists; 상기 제 14 단계의 확인결과, 존재하지 않으면 해당 가입자의 수신함에 존재하지 않는 경우를 통보하는 패킷을 생성 및 전송한 후 상기 제 14 단계로 넘어가고, 존재하면 각종 파일들을 전송받아 상기 클라이언트에서 해당 메시지의 수신결과를 요구하는 패킷을 생성 및 전송하여 상기 클라이언트로부터 임의의 패킷을 기다리는 제 15 단계;As a result of the check in step 14, if not present, a packet is generated and transmitted to notify the case of not in the subscriber's inbox. A fifteenth step of generating and transmitting a packet requesting a reception result of the packet and waiting for an arbitrary packet from the client; 상기 수신결과의 요구에 대한 응답 패킷을 수신하였는지 확인하는 제 16 단계; 및A sixteenth step of confirming whether a response packet for the request of the reception result has been received; And 상기 제 16 단계의 확인결과, 수신하지 않았으면 n번째 메시지 수신결과를 실패로 간주하고 이를 해당 데이터베이스에 저장한 후 상기 제 14 단계로 넘어가고, 수신하였으면 n번째 메시지 수신결과를 성공으로 간주하여 이를 해당 데이터베 이스에 저장하는 제 17 단계As a result of the check in step 16, if not received, the n-th message reception result is regarded as a failure and stored in the corresponding database, and the process proceeds to step 14, and if it is received, the n-th message reception result is regarded as a success. Step 17 to Save to the Database 를 포함하는 대용량의 전자문서 메시지를 수신하기 위한 방법.Method for receiving a large amount of electronic document messages comprising a. 제 4 항에 있어서,The method of claim 4, wherein 상기 제 3 단계는, The third step, 수신해야 할 메시지가 남아있는지를 확인하는 제 18 단계;An eighteenth step of checking whether a message to be received remains; 상기 제 18 단계의 확인결과, 있으면 상기 제 14 단계로 넘어가고, 없으면 상기 데이터베이스와의 연결을 종료시키는 제 19 단계;A nineteenth step if the result of the checking of the eighteenth step, the process goes to the fourteenth step if there is, and terminates the connection with the database if not; 대용량 메시지 수신 프로세스를 성공적으로 종료할 것을 상기 클라이언트에게 통보하기 위한 패킷을 생성 및 전송하고, 상기 클라이언트로부터 소정의 패킷을 기다리는 제 20 단계; A twentieth step of generating and transmitting a packet for notifying the client of successfully terminating the mass message receiving process and waiting for a predetermined packet from the client; 상기 대용량 메시지 수신 프로세스 종료에 대한 응답 패킷으로 상기 클라이언트에 의해 생성되는 패킷을 수신하였는지 확인하는 제 21 단계;A twenty-first step of confirming whether a packet generated by the client has been received as a response packet for terminating the mass message receiving process; 상기 제 21 단계의 확인결과, 수신하지 않았으면 문서 수신 프로세스를 비정상적으로 종료시키고, 수신하였으면 문서 수신 프로세스를 정상적으로 종료시키는 제 22 단계A twenty-second step of terminating the document receiving process abnormally if not received; 를 포함하는 대용량의 전자문서 메시지를 수신하기 위한 방법.Method for receiving a large amount of electronic document messages comprising a. 대용량 프로세서를 구비한 전자문서교환 시스템에,In an electronic document exchange system equipped with a large capacity processor, 가상연결을 맺기 위해 클라이언트로부터 전송된 패킷을 수신하여 수신 프로세스와의 가상연결을 설정하고, 수신해야 하는 메시지 건수를 조회하여 메시지 수신 요구에 대한 응답을 처리하는 기능; Receiving a packet transmitted from a client to establish a virtual connection, establishing a virtual connection with a reception process, and inquiring a number of messages to be received to process a response to a message reception request; 상기 설정된 메시지에서 내포한 각 파일들의 존재여부를 체크하고, 수신결과를 해당 데이터베이스에 저장하는 기능; 및 Checking whether each file included in the set message is present and storing a reception result in a corresponding database; And 대용량 메시지 수신 작업에 대한 결과값을 체크하여 사용자에게 메시지를 전송하는 기능Ability to send a message to a user by checking the result of a large message receiving task 을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체.A computer-readable recording medium having recorded thereon a program for realizing this.
KR1019990059107A 1999-12-18 1999-12-18 Method for receiving electronic data message of enormous KR100574885B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019990059107A KR100574885B1 (en) 1999-12-18 1999-12-18 Method for receiving electronic data message of enormous

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019990059107A KR100574885B1 (en) 1999-12-18 1999-12-18 Method for receiving electronic data message of enormous

Publications (2)

Publication Number Publication Date
KR20010064817A KR20010064817A (en) 2001-07-11
KR100574885B1 true KR100574885B1 (en) 2006-04-27

Family

ID=19627060

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019990059107A KR100574885B1 (en) 1999-12-18 1999-12-18 Method for receiving electronic data message of enormous

Country Status (1)

Country Link
KR (1) KR100574885B1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001216366A (en) * 2000-01-31 2001-08-10 Toyota Motor Corp System, device, and method for book data distribution
KR100393329B1 (en) * 2001-08-21 2003-07-31 조현순 Method to handle the received electronic documents

Also Published As

Publication number Publication date
KR20010064817A (en) 2001-07-11

Similar Documents

Publication Publication Date Title
Oikarinen et al. Internet relay chat protocol
US7492473B2 (en) Method and system for instant fax transmission
EP1266503B1 (en) Processing network communication control messages
US8291022B2 (en) Method and device for messaging
US20090181705A1 (en) Mail transmission system and method and push mail server
US20020181496A1 (en) Scalable architecture for transmission of messages over a network
WO2001084812A2 (en) Method of enabling transmission and reception of communication when current destination for recipient is unknown to sender
WO1998058476A1 (en) System and process for allowing wireless messaging
Oikarinen et al. Rfc1459: Internet relay chat protocol
US20060093119A1 (en) Leveraging real-time communications client
US7103635B2 (en) Really simple mail transport protocol
KR100574885B1 (en) Method for receiving electronic data message of enormous
Cisco Monitoring and Managing Connections
Cisco Monitoring and Managing Connections
Cisco Managing and Monitoring Connections
Cisco Monitoring and Managing Connections
Cisco Monitoring and Managing Connections
Cisco Monitoring and Managing Connections
Cisco Monitoring and Managing Connections
Cisco Monitoring and Managing Connections
Cisco Monitoring and Managing Connections
KR100562148B1 (en) Method for transmitting enormous message in internet edi system
US7904506B2 (en) Context information management system
KR20040104922A (en) Call control component collection of communication device identification information for internet protocol endpoint
KR100939432B1 (en) Session initiation method using an email address

Legal Events

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

Payment date: 20110407

Year of fee payment: 6

LAPS Lapse due to unpaid annual fee