Claims (10)
일반적인 범용 컴퓨터에 적용되는 방법에 있어서, 문서 양식 화일을 읽어서 메모리네에 목구조(tree structure)로 변환하여 저장한 후에 사용자가 새로운 화일을 편집하려고 하는지를 판단하는 제 1단계(401.402); 상기 제1단계(401,402) 수행후, 사용자가 새로운 화일을 편집하려고 하면, 목구조의 문서 양식과 문서 내용 데이타를 동시에 그린 화면에서 사용자 요구를 처리한 후에 문서 내용 데이타를 문서 내용 화일에 저장하는 제2단계 (404 내지,407); 및 상기 제 1단계(401,402) 수행후, 사용자가 새로운 화일을 편집하려고 하지 않으면, 기존에 작성되어 저장된 문서 내용 화일을 읽어 그 내용을 목구조의 해당 편집 필드에 저장한 후에 목구조의 문서 양식과 문석 내용 데이타를 동시에 그린 화면에서 사용자 요구를 처리한 다음에 문서 내용 데이타를 문서 내용 화일에 저장하는 제3단계(403 내지 407)를 포함하는 것을 특징으로 하는 전자 문서 교환 시스템에서 전자 문서의 생성 및 편집 방법.A method applied to a general-purpose general purpose computer, comprising: a first step (401.402) of determining whether a user wants to edit a new file after reading a document form file, converting it into a tree structure and storing it in a memory; After performing the first step (401, 402), if the user tries to edit a new file, the document content data is stored in the document content file after processing the user request on the screen simultaneously drawing the document form and the document content data of the wooden structure. Two steps (404 to 407); And after performing the first step (401, 402), if the user does not want to edit the new file, reads the previously created and stored document contents file and stores the contents in the corresponding edit field of the wooden structure. And a third step (403 to 407) for processing the user request on the screen simultaneously drawing the content of the content of the serpentine and storing the document content data in the document content file. How to edit.
제 1항에 있어서, 상기 제2단계(404 내지 407)는, 목구조로 형성된 문서 양식과 해당 문서 내용 데이타를 목구조의 각 노드를 순회하면서 화면에 그린 후에 사용자의 요구에 따라 목구조를 루트 노드부터 순차적으로 탐색하며 사용자의 요구를 처리하는 제4단계(404,405); 및 상기 제4단계(404,405) 수행 후, 목구조를 루트 노드부터 순차적으로 탐색하면서 목구조의 편집 필드에 저장된 데이타를 문서 내용 화일에 저장하고 목구조를 구성하기 위하여 할당하였던 메모리를 모두 해제하는 제 5단계(406,407)를 포함하는 것을 특징으로 하는 전자문서 교환 시스템에서 전자 문서의 생성 및 편집 방법.The method according to claim 1, wherein the second step (404 to 407), the document form formed by the wooden structure and the corresponding document content data are drawn on the screen while traversing each node of the wooden structure, and then the wooden structure is routed according to the user's request. A fourth step (404, 405) of sequentially searching for nodes and processing user requests; And after performing the fourth step (404, 405), sequentially searching the tree structure from the root node, storing the data stored in the edit field of the tree structure in the document content file, and releasing all the memory allocated to construct the tree structure. 5. A method of creating and editing an electronic document in an electronic document exchange system, comprising five steps (406, 407).
제1항에 있어서, 상기 제3단계(403 내지 407)는 기존에 저장된 화일을 조회하거나 수정하기 위하여 기존에 작성되어 저장된 문서 내용 화일을 읽어 그 내용을 생성된 상기 목구조내의 해당 편집 필드에 저장하는 제4단계(403); 상기 제4단계(403) 수행 후, 목구조로 형성된 문서 양식과 해당 문서 내용 데이타를 목구조의 각 노드를 순회하면서 화면에 그린 후에 사용자의 요구에 따라 목구조를 루트 노드부터 순차적으로 탐색하며 사용자의 요구를 처리하는 제 5단계(404,405); 및 상기 제5단계(404,405)수행 후, 목구조를 루트 노드부터 순차적으로 탐색하면서 목구조의 편집 필드에 저장된 데이타를 문서 내용 화일에 저장하고 목구조를 구성하기위하여 할당하였던 메모리를 모두 해제하는 제 6단계(406,407)를 포함하는 것을 특징으로 하는 전자 문서 교환 시스템에서 전자 문서의 생성 및 편집 방법.The method of claim 1, wherein the third step (403 to 407) reads a previously created and stored document content file to view or modify a previously stored file and stores the content in a corresponding edit field in the generated wooden structure. A fourth step 403 to be made; After performing the fourth step 403, the document form and the corresponding document contents data formed in the tree structure are drawn on the screen while traversing the nodes of the tree structure, and the user searches for the tree structure sequentially from the root node according to the user's request. A fifth step (404, 405) of processing a request; And after performing the fifth step (404, 405), sequentially searching the tree structure from the root node, storing the data stored in the edit field of the tree structure in the document content file, and releasing all the memory allocated to construct the tree structure. 6) A method for creating and editing an electronic document in an electronic document exchange system, comprising six steps (406, 407).
제1항 내지 제3항 중 어느 한 항에 있어서, 상기 문서 화일 양식의 구조는, 루트 처리를 효율적으로 하기 위하여 문서 자체를 1번 반복하는 1개의 세크먼트 그룹(LH1)을 구비하는 것을 특징으로 하는 전자 문서 교환 시스템에서 전자 문서의 생성 및 편집 방법.A structure according to any one of claims 1 to 3, wherein the structure of the document file format includes one segment group (LH1) which repeats the document itself once in order to efficiently perform the route processing. How to create and edit an electronic document in an electronic document exchange system.
제 4항에 있어서, 상기 문서 양식 화일은, 국제 표준 메시지가 갖는 세그먼트 및 자료항목 순서, 세그먼트그룹의 루프 구조등을 지원하기 위하여 스택틱 자료(static data), 편집자료(edit data)및 루프 자료를 구비하는 것을 특징으로 하는 전자 문서 교환 시스템에서 전자 문서의 생성 및 편집 방법.The method of claim 4, wherein the document format file includes static data, edit data, and loop data to support segment and data item ordering of an international standard message, a loop structure of a segment group, and the like. And a method for generating and editing an electronic document in the electronic document exchange system.
제5항에 있어서, 상기 스택틱 자료는, 문서의 틀(양식, 모양)을 그리기 위한 정보로 텍스트, 선, 사각형, 둥근사각형, 원 비트맵을 구비하는 것을 특징으로하는 전자 문서 교환 시스템에서 전자 문서의 생성 및 편집방법.The electronic document exchange system of claim 5, wherein the stack data includes text, lines, squares, rounded rectangles, and circle bitmaps as information for drawing a frame (form, shape) of the document. How to create and edit a document.
제5항에 있어서, 상기 편지 자료는, 문서의 내용에 해당되는 자료 항목을 위한 정보들로 자료 항목을 화면에 출력하기 위한 정보; 및 실제 자료 항목의 값이 저장될 저장 공간을 구비하는 것을 특징으로 하는 전자문서 교환 시스템에서 전자 문서의 생성 및 편집 방법.According to claim 5, The letter data, Information for outputting the data item on the screen with information for the data item corresponding to the content of the document; And a storage space in which the value of the actual data item is to be stored.
제항에 있어서, 상기 루프자료는, 자료 항목명, 상기 자료 항목이 속한 세그먼트형, 복합자료 항목명, 필수 항목 여부, 루프의 반복 횟수, 자료 및 자료 타입을 구비하는 것을 특징으로 하는 전자 문서 교환 시스템에서 전자 문서의 생성 및 편집 방법.The electronic document exchange system of claim 1, wherein the loop data comprises a data item name, a segment type to which the data item belongs, a compound data item name, a required item, a number of repetitions of the loop, and a data and data type. How to create and edit a document.
제 1항에 있어서, 제3단계(403 내지 407)의 기존 문서 내용 화일을 읽어 그 내용을 목구조의 해당 편집 필드에 저장하기 위하여 문서 내용 화일의 항목들이 저장될 위치를 찾는 과정은, 문서 내용 화일의 현재 처리할 항목의 목구조의 어떤 루프 노드에 속한 것인가를 찾는 제4단계; 상기 제4단계 수행후, 상기 제4단계에서 찾는 루프 노드가 여러번 반복되면다면 그중 몇번째 반복되는 노드에 속하는가를 찾는 제 5단계; 및 상기 제5단계 수행후 , 상기 제5단계에서 찾는 루프 노드내에서 자식 편집 필드들 중 어떤 필드에 해당되는 값인가를 찾아 그 위치에 문서 내용 화일의 항목을 저장하는 제 6단계를 포함하는 것을 특징으로 하는 전자 문서 교환 시스템에서 전자 문서의 생성 및 편집 방법.2. The process of claim 1, wherein the step of finding the location of the items of the document content file in order to read the existing document content files of the third step (403 to 407) and store the content in the corresponding edit field of the wooden structure is as follows. A fourth step of finding which loop node in the tree structure of the item currently to be processed in the file; A fifth step of finding, if the loop node found in the fourth step is repeated several times after performing the fourth step, which of the repeated nodes belongs to the repeated node; And a sixth step of searching for which field among the child edit fields in the loop node found in the fifth step after performing the fifth step, and storing an item of the document content file at the location thereof. A method of creating and editing an electronic document in an electronic document exchange system.
제 1항에 있어서, 제2단계(404 내지 407) 및 제3단계(403 내지 407)의 목구조로 형성된 문서 양식과 해당 문서 내용 데이타를 동시에 화면에 그리는 과정(404)은, 목구조의 루트 노드부터 해당되는 내용을 화면에 그리는 제4단계; 및 상기 제4단계 수행후, 루트 노드의 자식 노드들을 차례로 화면에 그리는 제5단계; 및 상기 제5단계 수행후, 상기 자식 노드들중에 루프가 포함되어 있으면 상기 제4단계 및 제5단계와 같은 과정으로 그 루프의 해당되는 내용을 화면에 그리고 자신의 자식 노드들을 차례로 화면에 그리는 순서로 목구조 전체를 화면에 그리는 제 6단계를 포함하는 것을 특징으호 하는 전자 문서 교환 시스템에서 전자 문서의 생성 및 편집 방법The process (404) according to claim 1, wherein the step (404) of simultaneously drawing the document style and the corresponding document content data formed by the wood structures of the second steps (404 to 407) and the third steps (403 to 407) on the screen is performed. A fourth step of drawing corresponding contents from the node on the screen; And a fifth step of sequentially drawing child nodes of the root node on the screen after performing the fourth step. And after the fifth step, if a loop is included in the child nodes, the corresponding contents of the loop are drawn on the screen and their child nodes are sequentially drawn on the screen in the same process as the fourth and fifth steps. And a sixth step of drawing the entire wood structure on the screen.
※ 참고사항 : 최초출원 내용에 의하여 공개하는 것임.※ Note: The disclosure is based on the initial application.