KR102000543B1 - Apparatus for editing web electric document and operating method thereof - Google Patents
Apparatus for editing web electric document and operating method thereof Download PDFInfo
- Publication number
- KR102000543B1 KR102000543B1 KR1020180067568A KR20180067568A KR102000543B1 KR 102000543 B1 KR102000543 B1 KR 102000543B1 KR 1020180067568 A KR1020180067568 A KR 1020180067568A KR 20180067568 A KR20180067568 A KR 20180067568A KR 102000543 B1 KR102000543 B1 KR 102000543B1
- Authority
- KR
- South Korea
- Prior art keywords
- api
- electronic document
- apis
- editing
- processed
- Prior art date
Links
Images
Classifications
-
- G06F17/24—
Abstract
Description
본 발명은 웹 전자 문서 편집 장치 및 이의 동작 방법에 대한 것이다.The present invention relates to a web electronic document editing apparatus and an operation method thereof.
최근, 컴퓨터나 스마트폰 또는 태블릿 PC 등과 같은 전자 단말 장치가 널리 보급됨에 따라 이러한 전자 단말 장치를 이용하여 전자 문서를 열람, 작성, 편집할 수 있도록 하는 다양한 종류의 전자 문서 관련 프로그램들이 출시되고 있다.2. Description of the Related Art [0002] Recently, various electronic document-related programs have been released to enable electronic documents to be viewed, created, and edited using electronic terminal devices such as computers, smart phones, tablet PCs, and the like.
이러한 전자 문서 관련 프로그램들로는 기본적인 문서의 작성, 편집 등을 지원하는 워드프로세서, 데이터의 입력, 산술연산, 데이터 관리를 보조하는 스프레드시트, 발표자의 발표를 보조하기 위한 프레젠테이션 프로그램들이 있다.Examples of such electronic document related programs include a word processor for basic document creation and editing, a data input, an arithmetic operation, a spreadsheet for supporting data management, and presentation programs for assisting presenters.
기존에는 사용자가 전자 단말 장치를 활용해서 전자 문서를 열람, 작성, 편집하기 위해서는 전자 단말 장치에 직접 앞서 언급한 전자 문서 관련 프로그램들을 설치한 후 전자 문서 관련 프로그램들을 구동시켜 전자 문서를 열람하거나 작성 및 편집해야 했었다.Conventionally, in order to view, create and edit an electronic document by using an electronic terminal device, a user has to install the above-mentioned electronic document related programs directly in the electronic terminal device, and then operate the electronic document related programs to browse, I had to edit.
하지만, 최근에는 초고속 인터넷 환경이 구축되고, 언제 어디에서든지 인터넷에 접속할 수 있도록 하는 무선 인터넷 환경이 구축됨에 따라, 원격지의 서버를 통해서, 클라이언트 단말인 전자 단말 장치에 전자 문서 관련 서비스를 제공함으로써, 사용자가 전자 단말 장치에 소정의 전자 문서 관련 프로그램을 설치하지 않더라도 언제 어디에서든지 전자 문서를 열람, 작성, 편집할 수 있도록 하는 웹 기반의 전자 문서 서비스가 등장하고 있다.However, in recent years, a wireless Internet environment has been established in which a broadband Internet environment is established and a user can access the Internet anytime and anywhere. Thus, by providing an electronic document related service to an electronic terminal device serving as a client terminal through a remote server, A web-based electronic document service that allows an electronic document to be viewed, created, and edited anytime and anywhere without installing a predetermined electronic document-related program in the electronic terminal apparatus is emerging.
관련하여, 웹 기반의 전자 문서 서비스를 제공하는 전자 문서 편집 서버의 경우, 싱글 쓰레드로 동작하여 한 번에 하나의 전자 문서에 대해서만 편집을 수행할 수 있다. 이러한 이유로, 전자 문서 편집 서버에 2 이상의 사용자가 사용자 단말을 통해 웹 기반의 전자 문서 서비스를 제공받는 경우, 제1 사용자 단말로부터의 제1 전자 문서에 대한 편집 명령이 제2 전자 문서에 적용되는 편집 미스가 발생할 수 있다.In this regard, in the case of an electronic document editing server providing a web-based electronic document service, it can operate as a single thread and perform editing only on one electronic document at a time. For this reason, when two or more users are provided with a web-based electronic document service through the user terminal, the editing instruction for the first electronic document from the first user terminal is edited to be applied to the second electronic document Mist can occur.
따라서, 전자 문서 편집 서버에 2 이상의 사용자가 사용자 단말을 통해 웹 기반의 전자 문서 서비스를 제공받는 경우에도 편집 미스가 발생하지 않게 하는 알고리즘에 대한 연구가 필요하다.Therefore, it is necessary to study an algorithm for preventing an editing mistake even when a web-based electronic document service is provided to two or more users through a user terminal in the electronic document editing server.
본 발명에 따른 웹 전자 문서 편집 장치 및 이의 동작 방법은 전자 문서 편집 서버에 정의되어 있는 다수의 API(Application Programming Interface)들을 프로그래밍 언어에 매칭시켜 저장하고, 상기 전자 문서 편집 서버에 저장되어 있는 다수의 전자 문서들 중 입력장치가 선택한 제1 전자 문서를 상기 전자 문서 편집 서버로부터 수신하며, 상기 다수의 API들 중 웹 전자 문서 편집부의 프로그래밍 언어에 매칭되고 상기 입력장치를 통해 입력된 편집 명령에 상응하는 제1 API를 호출한 후 상기 편집 명령에 기초하여 상기 제1 API를 가공한 후 상기 다수의 API들 중 프로그래밍 언어에 매칭되고 전자 문서를 오픈하라는 내용의 제2 API 및 전자 문서를 저장하라는 내용의 제3 API를 호출한 후 상기 제2 API를 상기 제1 전자 문서를 오픈하라는 내용으로 가공하고 상기 제3 API를 상기 제1 전자 문서를 저장하라는 내용으로 가공하고, 상기 가공된 제1 내지 3 API들을 포함하는 API 집합을 생성한 후 상기 API 집합을 상기 전자 문서 편집 서버에 송신함으로써, 전자 문서 편집 서버가 트랜잭션 단위로 편집을 수행하게 되어 2 이상의 사용자가 사용자 단말을 통해 웹 기반의 전자 문서 서비스를 제공받는 경우에도 편집 미스가 발생하지 않게 하고자 한다.The web electronic document editing apparatus and the operation method thereof according to the present invention are characterized by matching and storing a plurality of application programming interfaces (APIs) defined in an electronic document editing server to a programming language, A first electronic document selected by the input device from the electronic document editing server, the first electronic document being matched with a programming language of the web electronic document editing unit among the plurality of APIs and corresponding to an editing command input through the input device After processing the first API based on the edit command after calling the first API, storing the second API and the electronic document, which match the programming language among the plurality of APIs and open the electronic document, Processing the second API to open the first electronic document after calling the third API, and processing the third API Processing the first electronic document to store the first electronic document, generating an API set including the processed first to third APIs, and transmitting the API set to the electronic document editing server, So that even if two or more users are provided with the web-based electronic document service through the user terminal, the editing mistake is prevented.
본 발명의 일실시예에 따른 웹 전자 문서 편집 장치는 전자 문서 편집 서버에 정의되어 있는 다수의 API(Application Programming Interface)들을 프로그래밍 언어에 매칭시켜 저장하고 있는 저장부, 상기 전자 문서 편집 서버에 저장되어 있는 다수의 전자 문서들 중 입력장치가 선택한 제1 전자 문서를 상기 전자 문서 편집 서버로부터 수신하는 전자 문서 수신부, 상기 다수의 API들 중 웹 전자 문서 편집부의 프로그래밍 언어에 매칭되고 상기 입력장치를 통해 입력된 편집 명령에 상응하는 제1 API를 호출한 후 상기 편집 명령에 기초하여 상기 제1 API를 가공한 후 상기 다수의 API들 중 프로그래밍 언어에 매칭되고 전자 문서를 오픈하라는 내용의 제2 API 및 전자 문서를 저장하라는 내용의 제3 API를 호출한 후 상기 제2 API를 상기 제1 전자 문서를 오픈하라는 내용으로 가공하고 상기 제3 API를 상기 제1 전자 문서를 저장하라는 내용으로 가공하는 API 가공부, 상기 가공된 제1 내지 3 API들을 포함하는 API 집합을 생성하는 API 집합 생성부 및 상기 API 집합을 상기 전자 문서 편집 서버에 송신하는 API 집합 송신부를 포함한다.A web electronic document editing apparatus according to an embodiment of the present invention includes a storage unit for storing a plurality of application programming interfaces (APIs) defined in an electronic document editing server in a programming language and storing the same, An electronic document receiving unit for receiving a first electronic document selected by the input device from the electronic document editing server among a plurality of electronic documents having a plurality of electronic documents, A second API that processes the first API based on the editing command and then matches the programming language among the plurality of APIs and opens an electronic document; The third API is invoked to save the document and then the second API is called to open the first electronic document An API processing unit for processing the third API and processing the third API to save the first electronic document, an API set generating unit for generating an API set including the processed first to third APIs, And an API set transmission unit for transmitting the API set to the document editing server.
또한, 본 발명의 일실시예에 따른 웹 전자 문서 편집 장치의 동작 방법은 전자 문서 편집 서버에 정의되어 있는 다수의 API(Application Programming Interface)들을 프로그래밍 언어에 매칭시켜 저장하고 있는 저장부를 유지하는 단계, 상기 전자 문서 편집 서버에 저장되어 있는 다수의 전자 문서들 중 입력장치가 선택한 제1 전자 문서를 상기 전자 문서 편집 서버로부터 수신하는 단계, 상기 다수의 API들 중 웹 전자 문서 편집부의 프로그래밍 언어에 매칭되고 상기 입력장치를 통해 입력된 편집 명령에 상응하는 제1 API를 호출한 후 상기 편집 명령에 기초하여 상기 제1 API를 가공한 후 상기 다수의 API들 중 프로그래밍 언어에 매칭되고전자 문서를 오픈하라는 내용의 제2 API 및 전자 문서를 저장하라는 내용의 제3 API를 호출한 후 상기 제2 API를 상기 제1 전자 문서를 오픈하라는 내용으로 가공하고 상기 제3 API를 상기 제1 전자 문서를 저장하라는 내용으로 가공하는 단계, 상기 가공된 제1 내지 3 API들을 포함하는 API 집합을 생성하는 단계 및 상기 API 집합을 상기 전자 문서 편집 서버에 송신하는 단계를 포함한다.According to another aspect of the present invention, there is provided a method of operating a web electronic document editing apparatus, comprising: maintaining a storage unit storing a plurality of application programming interfaces (APIs) defined in an electronic document editing server, A step of receiving a first electronic document selected by an input device among a plurality of electronic documents stored in the electronic document editing server from the electronic document editing server, matching the programming language of the web electronic document editing unit among the plurality of APIs After processing a first API corresponding to an editing command input through the input device, processing the first API based on the editing command, matching the programming language among the plurality of APIs, and opening an electronic document A second API of the first electronic document and a third API of storing the electronic document, Processing the first API into a content to be opened and storing the third API in the form of storing the first electronic document; generating an API set including the processed first APIs and third APIs; To the editing server.
본 발명에 따른 웹 전자 문서 편집 장치 및 이의 동작 방법은 전자 문서 편집 서버에 정의되어 있는 다수의 API(Application Programming Interface)들을 프로그래밍 언어에 매칭시켜 저장하고, 상기 전자 문서 편집 서버에 저장되어 있는 다수의 전자 문서들 중 입력장치가 선택한 제1 전자 문서를 상기 전자 문서 편집 서버로부터 수신하며, 상기 다수의 API들 중 웹 전자 문서 편집부의 프로그래밍 언어에 매칭되고 상기 입력장치를 통해 입력된 편집 명령에 상응하는 제1 API를 호출한 후 상기 편집 명령에 기초하여 상기 제1 API를 가공한 후 상기 다수의 API들 중 프로그래밍 언어에 매칭되고 전자 문서를 오픈하라는 내용의 제2 API 및 전자 문서를 저장하라는 내용의 제3 API를 호출한 후 상기 제2 API를 상기 제1 전자 문서를 오픈하라는 내용으로 가공하고 상기 제3 API를 상기 제1 전자 문서를 저장하라는 내용으로 가공하고, 상기 가공된 제1 내지 3 API들을 포함하는 API 집합을 생성한 후 상기 API 집합을 상기 전자 문서 편집 서버에 송신함으로써, 전자 문서 편집 서버가 트랜잭션 단위로 편집을 수행하게 되어 2 이상의 사용자가 사용자 단말을 통해 웹 기반의 전자 문서 서비스를 제공받는 경우에도 편집 미스가 발생하지 않을 수 있다.The web electronic document editing apparatus and the operation method thereof according to the present invention are characterized by matching and storing a plurality of application programming interfaces (APIs) defined in an electronic document editing server to a programming language, A first electronic document selected by the input device from the electronic document editing server, the first electronic document being matched with a programming language of the web electronic document editing unit among the plurality of APIs and corresponding to an editing command input through the input device After processing the first API based on the edit command after calling the first API, storing the second API and the electronic document, which match the programming language among the plurality of APIs and open the electronic document, Processing the second API to open the first electronic document after calling the third API, and processing the third API Processing the first electronic document to store the first electronic document, generating an API set including the processed first to third APIs, and transmitting the API set to the electronic document editing server, The editing error may not occur even when two or more users are provided with a web-based electronic document service through the user terminal.
도 1은 본 발명의 일실시예에 따른 웹 전자 문서 편집 장치의 구성을 도시한 도면이다.
도 2는 본 발명의 일실시예에 따른 웹 전자 문서 편집 장치의 동작 방법을 도시한 흐름도이다.FIG. 1 is a diagram showing a configuration of a web electronic document editing apparatus according to an embodiment of the present invention.
2 is a flowchart illustrating an operation method of a web electronic document editing apparatus according to an embodiment of the present invention.
이하에서는 본 발명에 따른 실시예들을 첨부된 도면을 참조하여 상세하게 설명하기로 한다. 이러한 설명은 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다. 각 도면을 설명하면서 유사한 참조부호를 유사한 구성요소에 대해 사용하였으며, 다르게 정의되지 않는 한, 기술적이거나 과학적인 용어를 포함해서 본 명세서 상에서 사용되는 모든 용어들은 본 발명이 속하는 기술분야에서 통상의 지식을 가진 사람에 의해 일반적으로 이해되는 것과 동일한 의미를 가지고 있다.Hereinafter, embodiments according to the present invention will be described in detail with reference to the accompanying drawings. It is to be understood that the description is not intended to limit the invention to the specific embodiments, but includes all modifications, equivalents, and alternatives falling within the spirit and scope of the invention. Like reference numerals in the drawings are used for similar elements and, unless otherwise defined, all terms used in the specification, including technical and scientific terms, are to be construed in a manner that is familiar to those skilled in the art. It has the same meaning as commonly understood by those who have it.
도 1은 본 발명의 일실시예에 따른 웹 전자 문서 편집 장치(100)의 구성을 도시한 도면이다.1 is a diagram showing a configuration of a web electronic
도 1에 도시된 바와 같이, 본 발명의 일실시예에 따른 웹 전자 문서 편집 장치(100)는 입력장치(110), 웹 전자 문서 편집부(120), 디스플레이부(130), 전자 문서 요청부(140), 전자 문서 수신부(150), 저장부(160), API 가공부(170), API 집합 생성부(180) 및 API 집합 송신부(190)를 포함할 수 있다. 여기에서, 입력장치(110)는 마우스, 키보드와 같은 장치로 구현될 수 있으며, 웹 전자 문서 편집부(120)는 한글과 같은 전자 문서를 편집 및/또는 변환할 수 있는 웹 전자 문서 편집기와 같은 프로그램을 구동시키기 위한 장치일 수 있다.1, a web electronic
먼저, 저장부(160)에는 전자 문서 편집 서버(210)에 정의되어 있는 다수의 API(Application Programming Interface)들이 프로그래밍 언어에 매칭되어 저장되어 있을 수 있다. 예를 들어, 저장부(160)에는 하기 표 1과 같은 다수의 API들이 프로그래밍 언어에 매칭되어 저장되어 있을 수 있다.First, in the
여기에서, API 1-1 내지 1-4는 웹 전자 문서 편집부(120)의 프로그래밍 언어가 C++인 경우, 웹 전자 문서 편집 장치(100)와 전자 문서 편집 서버(210) 간에 편집 명령을 주고받기에 적합한 API일 수 있으며, API 1-1은 전자 문서를 웹 전자 문서 편집 장치(100)에 송신하라는 편집 명령에 대한 API이고, API 1-2는 전자 문서에 텍스트 개체를 삽입하라는 편집 명령에 대한 API이고, API 1-3은 전자 문서 편집 서버(210)에서 전자 문서를 오픈하라는 편집 명령에 대한 API이고, API 1-4는 전자 문서 편집 서버(210)에서 전자 문서를 저장하라는 편집 명령에 대한 API일 수 있다.전자 문서 요청부(140)는 웹 전자 문서 편집부(120)를 통해 전달받은 입력장치(110)의 제1 전자 문서 선택 신호에 응답하여 전자 문서 편집 서버(210)에 저장되어 있는 제1 전자 문서에 대해 요청할 수 있다. 이에 응답하여, 상기 전자 문서 편집 서버(210)는 웹 전자 문서 편집 장치(100)에 제1 전자 문서를 송신하고, 전자 문서 수신부(150)는 상기 제1 전자 문서를 수신하여 저장부(160)에 저장할 수 있다. 이후, 웹 전자 문서 편집부(120)는 상기 제1 전자 문서를 렌더링하여 디스플레이부(130)를 통해 디스플레이할 수 있다.The APIs 1-1 to 1-4 are used to send and receive editing commands between the web electronic
다음으로, 사용자는 입력장치(110)를 통해 상기 제1 전자 문서에 대해 편집할 수 있다. 예컨대, 사용자는 입력장치(110)를 통해 상기 제1 전자 문서에 대해 “한글과컴퓨터”와 같은 텍스트 개체를 삽입하라는 편집 명령을 입력할 수 있으며, 웹 전자 문서 편집부(120)는 상기 편집 명령에 응답하여, 저장부(160)에 저장되어 있는 제1 전자 문서에 대해 편집을 수행한 후 편집된 제1 전자 문서를 렌더링하여 디스플레이부(130)를 통해 디스플레이할 수 있다. 이때, 사용자가 입력장치(110)를 통해 입력한 상기 제1 전자 문서에 대한 편집 명령은 상기 전자 문서 편집 서버(210)에 전달되어, 상기 웹 전자 문서 편집 장치(100)의 제1 전자 문서와 상기 전자 문서 편집 서버(210)의 제1 전자 문서 간의 동기가 이루어질 수 있다.Next, the user can edit the first electronic document via the
상기 웹 전자 문서 편집 장치(100)로부터 상기 제1 전자 문서에 대한 편집 명령이 상기 전자 문서 편집 서버(210)에 전달될 때, 다른 웹 전자 문서 편집 장치(220)로부터 다른 전자 문서에 대한 편집 명령이 상기 전자 문서 편집 서버(210)에 전달되는 경우, 상기 전자 문서 편집 서버(210)는 상기 제1 전자 문서에 대한 편집 명령을 다른 전자 문서에 대해 수행하는 편집 미스가 발생할 수 있다.When an editing command for the first electronic document is transmitted from the web electronic
아래에서는 본 발명의 일실시예에 따른 웹 전자 문서 편집 장치(100)가 상기 전자 문서 편집 서버(210)에서의 편집 미스를 발생하지 않게 하는 구체적인 동작 과정에 대해 설명하기로 한다.Hereinafter, a detailed description will be given of a specific operation of the web electronic
API 가공부(170)는 상기 다수의 API들 중 웹 전자 문서 편집부(120)의 프로그래밍 언어에 매칭되고 상기 입력장치(110)를 통해 입력된 편집 명령에 상응하는 제1 API를 상기 저장부(160)로부터 호출하고 상기 편집 명령에 기초하여 상기 제1 API를 가공할 수 있다. 여기에서, API 가공부(170)는 상기 편집 명령에 포함된 정보들(예컨대, 개체 정보, 개체 위치 등)을 상기 제1 API에 입력함으로써, 상기 제1 API를 가공할 수 있다. The
예를 들어, 웹 전자 문서 편집부(120)의 프로그래밍 언어가 C++이고, 상기 입력장치(110)를 통해 입력된 편집 명령이 “한글과컴퓨터”와 같은 텍스트 개체를 위치 1(예를 들어, 위치 1은 “한글과컴퓨터”와 같은 텍스트 개체가 입력되는 시점에 커서가 위치하는 위치임)에 삽입하라는 텍스트 개체 삽입 편집 명령인 경우, API 가공부(170)는 상기 저장부(160)에 저장되어 있는 API 1-2를 호출할 수 있다. 이후, API 가공부(170)는 상기 입력장치(110)를 통해 입력된 편집 명령의 “한글과컴퓨터”와 같은 텍스트 개체 및 위치 1과 같은 정보를 호출된 API 1-2에 입력함으로써 호출된 API 1-2를 가공할 수 있다.For example, if the programming language of the web electronic
이후, API 가공부(170)는 상기 다수의 API들 중 전자 문서를 오픈하라는 내용의 제2 API 및 전자 문서를 저장하라는 내용의 제3 API를 호출한 후 상기 제2 API를 상기 제1 전자 문서를 오픈하라는 내용으로 가공하고 상기 제3 API를 상기 제1 전자 문서를 저장하라는 내용으로 가공할 수 있다.Then, the
예를 들어, API 가공부(170)는 상기 다수의 API들 중 전자 문서를 오픈하라는 내용의 API 1-3 및 전자 문서를 저장하라는 내용의 API 1-4를 호출한 후 상기 API 1-3에 상기 제1 전자 문서의 정보를 입력하여 API 1-3을 상기 제1 전자 문서를 오픈하라는 내용으로 가공하고 상기 API 1-4에 상기 제1 전자 문서의 정보를 입력하여 상기 API 1-4를 제1 전자 문서를 저장하라는 내용으로 가공할 수 있다. 여기에서, 상기 제1 전자 문서의 정보는 상기 제1 전자 문서를 특정할 수 있는 상기 제1 전자 문서의 메타 정보, 예컨대, 상기 전자 문서 편집 서버(210)에서의 저장 위치 정보 및 파일 이름 정보일 수 있다.For example, the
한편, 상기 API 가공부(170)는 사전 설정된 API 가공 이벤트가 발생하면, 상기 제1 내지 제3 API를 가공할 수 있다. 여기에서, 사용자가 입력장치(110)를 통해 입력한 제1 전자 문서 저장 명령이 발생한 시점, 사용자가 입력장치(110)를 통해 사전 설정된 편집 명령(예컨대, 엔터키 입력과 같은 개행 명령)을 입력한 시점 및 이전의 사전 설정된 API 가공 이벤트가 발생한 후 사전 설정된 시간이 지난 시점에 사전 설정된 API 가공 이벤트가 발생한 것으로 판단될 수 있다. Meanwhile, the
또한, 상기 API 가공부(170)는 이전의 사전 설정된 API 가공 이벤트가 발생한 후 현재의 사전 설정된 API 가공 이벤트가 발생할 때까지 상기 입력장치(110)를 통해 다수의 편집 명령들이 입력되면, 다수의 편집 명령들 각각의 종류에 상응하는 다수의 제1 API들을 호출한 후 상기 다수의 편집 명령들에 기초하여 상기 다수의 제1 API들을 가공할 수 있다.If a plurality of editing commands are input through the
이후, API 집합 생성부(180)는 상기 가공된 제1 내지 3 API들을 포함하는 API 집합을 생성할 수 있다. 이때, 상기 API 집합 생성부(180)는 상기 가공된 제2 API, 상기 가공된 제1 API 및 상기 가공된 제3 API의 순서대로 상기 제1 내지 3 API들을 포함하는 상기 API 집합을 생성할 수 있다. 상기 가공된 제1 내지 3 API들을 포함하는 API 집합은 상기 가공된 제1 내지 3 API들을 순차적으로 연접한 데이터일 수 있다.Thereafter, the API
한편, 상기 가공된 제1 API가 다수개인 경우, 상기 API 집합 생성부(180)는 상기 가공된 제2 API, 상기 가공된 다수의 제1 API들 및 상기 가공된 제3 API의 순서대로 상기 제1 내지 3 API들을 포함하는 상기 API 집합을 생성할 수 있다.On the other hand, when there are a plurality of the first APIs processed, the API
API 집합 송신부(190)는 상기 API 집합을 상기 전자 문서 편집 서버에 송신할 수 있다. 이때, 상기 API 집합 송신부(190)는 상기 API 집합을 키-밸류 포맷의 데이터로 변환한 후 상기 전자 문서 편집 서버에 송신할 수 있다. 여기에서, 키-밸류 포맷은 JASON(JavaScript Object Notation)과 같은 키-밸류 포맷일 수 있다.The API set sending unit 190 may transmit the API set to the electronic document editing server. At this time, the API set sending unit 190 may convert the API set into data of the key-value format and transmit the data to the electronic document editing server. Here, the key-value format may be a key-value format such as JASON (JavaScript Object Notation).
이후, 상기 전자 문서 편집 서버(210)는 API 집합 송신부(190)에서 송신된 상기 API 집합을 수신하면, 상기 API 집합을 하나의 트랜잭션으로 하여 처리할 수 있다. 예컨대, 상기 전자 문서 편집 서버(210)는 API 집합에서 상기 제1 내지 3 API들을 추출한 후 추출된 순서대로 상기 제1 내지 3 API들을 처리하고, 상기 제1 내지 3 API들에 대한 처리가 완료되면, 다른 웹 전자 문서 편집 장치(220)로부터 송신된 API 집합을 처리할 수 있다. 이에 따라, 상기 전자 문서 편집 서버(210)는 상기 API 집합에 기초하여 제1 전자 문서를 오픈하고, 제1 전자 문서에 대한 편집 명령을 수행한 후 편집된 제1 전자 문서를 저장하는 단계들을 순차적으로 수행한 후 다른 웹 전자 문서 편집 장치(220)로부터 송신된 API 집합을 처리함으로써, 2 이상의 사용자에게 사용자 단말을 통해 웹 기반의 전자 문서 서비스를 제공하는 경우에도 편집 미스가 발생하지 않을 수 있다.When the electronic
도 2는 본 발명의 일실시예에 따른 웹 전자 문서 편집 장치(100)의 동작 방법을 도시한 흐름도이다.2 is a flowchart illustrating an operation method of the web electronic
도 2를 참조하면, 단계(S310)에서는 전자 문서 편집 서버에 정의되어 있는 다수의 API(Application Programming Interface)들을 프로그래밍 언어에 매칭시켜 저장하고 있는 저장부를 유지할 수 있다.Referring to FIG. 2, in step S310, a plurality of application programming interfaces (APIs) defined in the electronic document editing server may be stored in a storage unit that stores matching programs.
단계(S320)에서는 상기 전자 문서 편집 서버에 저장되어 있는 다수의 전자 문서들 중 입력장치가 선택한 제1 전자 문서를 상기 전자 문서 편집 서버로부터 수신할 수 있다.In step S320, the first electronic document selected by the input device among the plurality of electronic documents stored in the electronic document editing server may be received from the electronic document editing server.
단계(S330)에서는 상기 다수의 API들 중 웹 전자 문서 편집부의 프로그래밍 언어에 매칭되고 상기 입력장치를 통해 입력된 편집 명령에 상응하는 제1 API를 호출한 후 상기 편집 명령에 기초하여 상기 제1 API를 가공한 후 상기 다수의 API들 중 프로그래밍 언어에 매칭되고전자 문서를 오픈하라는 내용의 제2 API 및 전자 문서를 저장하라는 내용의 제3 API를 호출한 후 상기 제2 API를 상기 제1 전자 문서를 오픈하라는 내용으로 가공하고 상기 제3 API를 상기 제1 전자 문서를 저장하라는 내용으로 가공할 수 있다.In step S330, a first API corresponding to a programming language of the web electronic document editing unit among the plurality of APIs and corresponding to an editing command input through the input device is called, and the first API A second API for matching the programming language among the plurality of APIs and opening an electronic document, and a third API for storing the electronic document, and then transmitting the second API to the first electronic document And to process the third API to store the first electronic document.
상기 단계(S330)에서는 상기 가공된 제2 API, 상기 가공된 제1 API 및 상기 가공된 제3 API의 순서대로 상기 제1 내지 3 API들을 포함하는 상기 API 집합을 생성할 수 있다.In step S330, the API set including the first to third APIs may be generated in the order of the processed second API, the processed first API, and the processed third API.
상기 단계(S330)에서는 사전 설정된 API 가공 이벤트가 발생하면, 상기 제1 내지 제3 API를 가공할 수 있다. 여기에서, 사용자가 입력장치(110)를 통해 입력한 제1 전자 문서 저장 명령이 발생한 시점, 사용자가 입력장치(110)를 통해 사전 설정된 편집 명령(예컨대, 엔터키 입력과 같은 개행 명령)을 입력한 시점 및 이전의 사전 설정된 API 가공 이벤트가 발생한 후 사전 설정된 시간이 지난 시점이 사전 설정된 API 가공 이벤트가 발생한 시점으로 판단될 수 있다.In the step S330, when the predetermined API processing event occurs, the first to third APIs can be processed. Here, when the first electronic document save instruction input by the user via the
상기 단계(S330)에서는 이전의 사전 설정된 API 가공 이벤트가 발생한 후 현재의 사전 설정된 API 가공 이벤트가 발생할 때까지 상기 입력장치를 통해 다수의 편집 명령들이 입력되면, 다수의 편집 명령들 각각의 종류에 상응하는 다수의 제1 API들을 호출한 후 상기 다수의 편집 명령들에 기초하여 상기 다수의 제1 API들을 가공할 수 있다.If a plurality of editing commands are input through the input device until a current preset API processing event occurs after a previous predetermined API processing event has occurred, then in step S330, And then process the plurality of first APIs based on the plurality of edit commands.
단계(S340)에서는 상기 가공된 제1 내지 3 API들을 포함하는 API 집합을 생성할 수 있다.In step S340, an API set including the processed first to third APIs may be generated.
상기 단계(S340)에서는 상기 가공된 제2 API, 상기 가공된 다수의 제1 API들 및 상기 가공된 제3 API의 순서대로 상기 제1 내지 3 API들을 포함하는 상기 API 집합을 생성할 수 있다.In step S340, the API set including the first to third APIs may be generated in the order of the processed second API, the processed plurality of first APIs, and the processed third API.
단계(S350)에서는 상기 API 집합을 상기 전자 문서 편집 서버에 송신할 수 있다.In step S350, the API set may be transmitted to the electronic document editing server.
이상, 도 2를 참조하여 본 발명의 일실시예에 따른 웹 전자 문서 편집 장치의 동작 방법에 대해 설명하였다. 여기서, 본 발명의 일실시예에 따른 웹 전자 문서 편집 장치의 동작 방법은 도 1을 이용하여 설명한 웹 전자 문서 편집 장치의 동작에 대한 구성과 대응될 수 있으므로, 이에 대한 보다 상세한 설명은 생략하기로 한다.The operation method of the web electronic document editing apparatus according to the embodiment of the present invention has been described above with reference to FIG. Here, the operation method of the web electronic document editing apparatus according to an embodiment of the present invention can correspond to the operation of the web electronic document editing apparatus described with reference to FIG. 1, so that a detailed description thereof will be omitted do.
본 발명의 일실시예에 따른 웹 전자 문서 편집 장치의 동작 방법은 컴퓨터와의 결합을 통해 실행시키기 위한 저장매체에 저장된 컴퓨터 프로그램으로 구현될 수 있다.The method for operating the web electronic document editing apparatus according to an embodiment of the present invention can be implemented by a computer program stored in a storage medium for execution through a combination with a computer.
또한, 본 발명의 일실시예에 따른 웹 전자 문서 편집 장치의 동작 방법은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체에 기록되는 프로그램 명령은 본 발명을 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능 기록 매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(magnetic media), CD-ROM, DVD와 같은 광기록 매체(optical media), 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 롬(ROM), 램(RAM), 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함한다. In addition, the operation method of the web electronic document editing apparatus according to an embodiment of the present invention can be implemented in the form of a program command which can be executed through various computer means and recorded in a computer readable medium. The computer-readable medium may include program instructions, data files, data structures, and the like, alone or in combination. The program instructions recorded on the medium may be those specially designed and constructed for the present invention or may be available to those skilled in the art of computer software. Examples of computer-readable media include magnetic media such as hard disks, floppy disks and magnetic tape; optical media such as CD-ROMs and DVDs; magnetic media such as floppy disks; Magneto-optical media, and hardware devices specifically configured to store and execute program instructions such as ROM, RAM, flash memory, and the like. Examples of program instructions include machine language code such as those produced by a compiler, as well as high-level language code that can be executed by a computer using an interpreter or the like.
이상과 같이 본 발명에서는 구체적인 구성 요소 등과 같은 특정 사항들과 한정된 실시예 및 도면에 의해 설명되었으나 이는 본 발명의 보다 전반적인 이해를 돕기 위해서 제공된 것일 뿐, 본 발명은 상기의 실시예에 한정되는 것은 아니며, 본 발명이 속하는 분야에서 통상적인 지식을 가진 자라면 이러한 기재로부터 다양한 수정 및 변형이 가능하다. As described above, the present invention has been described with reference to particular embodiments, such as specific elements, and specific embodiments and drawings. However, it should be understood that the present invention is not limited to the above- And various modifications and changes may be made thereto by those skilled in the art to which the present invention pertains.
따라서, 본 발명의 사상은 설명된 실시예에 국한되어 정해져서는 아니되며, 후술하는 특허청구범위뿐 아니라 이 특허청구범위와 균등하거나 등가적 변형이 있는 모든 것들은 본 발명 사상의 범주에 속한다고 할 것이다.Accordingly, the spirit of the present invention should not be construed as being limited to the embodiments described, and all of the equivalents or equivalents of the claims, as well as the following claims, belong to the scope of the present invention .
Claims (10)
상기 전자 문서 편집 서버에 저장되어 있는 다수의 전자 문서들 중 입력장치가 선택한 제1 전자 문서를 상기 전자 문서 편집 서버로부터 수신하는 전자 문서 수신부;
상기 다수의 API들 중 웹 전자 문서 편집부의 프로그래밍 언어에 매칭되고 상기 입력장치를 통해 입력된 편집 명령에 상응하는 제1 API를 호출한 후 상기 편집 명령에 기초하여 상기 제1 API를 가공한 후 상기 다수의 API들 중 프로그래밍 언어에 매칭되고 전자 문서를 오픈하라는 내용의 제2 API 및 전자 문서를 저장하라는 내용의 제3 API를 호출한 후 상기 제2 API를 상기 제1 전자 문서를 오픈하라는 내용으로 가공하고 상기 제3 API를 상기 제1 전자 문서를 저장하라는 내용으로 가공하는 API 가공부;
상기 가공된 제1 내지 3 API들을 포함하는 API 집합을 생성하는 API 집합 생성부; 및
상기 API 집합을 상기 전자 문서 편집 서버에 송신하는 API 집합 송신부
를 포함하는 웹 전자 문서 편집 장치.A storage unit for storing a plurality of application programming interfaces (APIs) defined in the electronic document editing server in a programming language;
An electronic document receiving unit for receiving, from the electronic document editing server, a first electronic document selected by the input device among a plurality of electronic documents stored in the electronic document editing server;
A first API corresponding to an editing command matched with a programming language of a web electronic document editing unit among the plurality of APIs and processing the first API based on the editing command, A second API that matches the programming language of the plurality of APIs and opens an electronic document, and a third API that stores the electronic document, and then opens the first electronic document with the second API An API processing section for processing the third API into a content for storing the first electronic document;
An API set generation unit for generating API sets including the processed first to third APIs; And
An API set transmission unit for transmitting the API set to the electronic document editing server
The web electronic document editing apparatus comprising:
상기 API 집합 생성부는 상기 가공된 제2 API, 상기 가공된 제1 API 및 상기 가공된 제3 API의 순서대로 상기 제1 내지 3 API들을 포함하는 상기 API 집합을 생성하는
웹 전자 문서 편집 장치.The method according to claim 1,
The API set generation unit generates the API set including the first to third APIs in the order of the processed second API, the processed first API, and the processed third API
Web electronic document editing device.
상기 API 가공부는 사전 설정된 API 가공 이벤트가 발생하면, 상기 제1 내지 제3 API를 가공하는
웹 전자 문서 편집 장치.3. The method of claim 2,
The API processing unit processes the first to third APIs when a predetermined API processing event occurs
Web electronic document editing device.
상기 API 가공부는 이전의 사전 설정된 API 가공 이벤트가 발생한 후 현재의 사전 설정된 API 가공 이벤트가 발생할 때까지 상기 입력장치를 통해 다수의 편집 명령들이 입력되면, 다수의 편집 명령들 각각의 종류에 상응하는 다수의 제1 API들을 호출한 후 상기 다수의 편집 명령들에 기초하여 상기 다수의 제1 API들을 가공하고,
상기 API 집합 생성부는 상기 가공된 제2 API, 상기 가공된 다수의 제1 API들 및 상기 가공된 제3 API의 순서대로 상기 제1 내지 3 API들을 포함하는 상기 API 집합을 생성하는
웹 전자 문서 편집 장치.The method of claim 3,
Wherein the API processing unit receives a plurality of editing commands through the input device until a current predetermined API processing event occurs after a previous predetermined API processing event occurs, Processing the plurality of first APIs based on the plurality of edit commands,
The API set generation unit generates the API set including the first to third APIs in the order of the processed second API, the processed plurality of first APIs, and the processed third API
Web electronic document editing device.
상기 전자 문서 편집 서버에 저장되어 있는 다수의 전자 문서들 중 입력장치가 선택한 제1 전자 문서를 상기 전자 문서 편집 서버로부터 수신하는 단계;
상기 다수의 API들 중 웹 전자 문서 편집부의 프로그래밍 언어에 매칭되고 상기 입력장치를 통해 입력된 편집 명령에 상응하는 제1 API를 호출한 후 상기 편집 명령에 기초하여 상기 제1 API를 가공한 후 상기 다수의 API들 중 프로그래밍 언어에 매칭되고전자 문서를 오픈하라는 내용의 제2 API 및 전자 문서를 저장하라는 내용의 제3 API를 호출한 후 상기 제2 API를 상기 제1 전자 문서를 오픈하라는 내용으로 가공하고 상기 제3 API를 상기 제1 전자 문서를 저장하라는 내용으로 가공하는 단계;
상기 가공된 제1 내지 3 API들을 포함하는 API 집합을 생성하는 단계 및
상기 API 집합을 상기 전자 문서 편집 서버에 송신하는 단계
를 포함하는 웹 전자 문서 편집 장치의 동작 방법.The method comprising: maintaining a storage unit storing a plurality of application programming interfaces (APIs) defined in an electronic document editing server matching a programming language;
Receiving, from the electronic document editing server, a first electronic document selected by an input device among a plurality of electronic documents stored in the electronic document editing server;
A first API corresponding to an editing command matched with a programming language of a web electronic document editing unit among the plurality of APIs and processing the first API based on the editing command, A second API that matches the programming language of the plurality of APIs and opens an electronic document, and a third API that stores the electronic document, and then opens the first electronic document with the second API Processing the third API into a state to store the first electronic document;
Generating an API set including the processed first to third APIs; and
Transmitting the set of APIs to the electronic document editing server
The method comprising the steps of:
상기 API 집합 생성 단계는 상기 가공된 제2 API, 상기 가공된 제1 API 및 상기 가공된 제3 API의 순서대로 상기 제1 내지 3 API들을 포함하는 상기 API 집합을 생성하는
웹 전자 문서 편집 장치의 동작 방법.6. The method of claim 5,
Wherein the API set generation step generates the API set including the first to third APIs in the order of the processed second API, the processed first API, and the processed third API
A method of operating a web electronic document editing apparatus.
상기 API 가공 단계는 사전 설정된 API 가공 이벤트가 발생하면, 상기 제1 내지 제3 API를 가공하는
웹 전자 문서 편집 장치의 동작 방법.The method according to claim 6,
The API processing step is a step of processing the first to third APIs when a predetermined API processing event occurs
A method of operating a web electronic document editing apparatus.
상기 API 가공 단계는 이전의 사전 설정된 API 가공 이벤트가 발생한 후 현재의 사전 설정된 API 가공 이벤트가 발생할 때까지 상기 입력장치를 통해 다수의 편집 명령들이 입력되면, 다수의 편집 명령들 각각의 종류에 상응하는 다수의 제1 API들을 호출한 후 상기 다수의 편집 명령들에 기초하여 상기 다수의 제1 API들을 가공하고,
상기 API 집합 생성 단계는 상기 가공된 제2 API, 상기 가공된 다수의 제1 API들 및 상기 가공된 제3 API의 순서대로 상기 제1 내지 3 API들을 포함하는 상기 API 집합을 생성하는
웹 전자 문서 편집 장치의 동작 방법.8. The method of claim 7,
Wherein the API processing step includes: when a plurality of editing commands are input through the input device until a current predetermined API processing event occurs after a previous predetermined API processing event occurs, Processing a plurality of first APIs, processing the plurality of first APIs based on the plurality of edit commands,
The API set generation step generates the API set including the first to third APIs in the order of the processed second API, the processed plurality of first APIs, and the processed third API
A method of operating a web electronic document editing apparatus.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020180067568A KR102000543B1 (en) | 2018-06-12 | 2018-06-12 | Apparatus for editing web electric document and operating method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020180067568A KR102000543B1 (en) | 2018-06-12 | 2018-06-12 | Apparatus for editing web electric document and operating method thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
KR102000543B1 true KR102000543B1 (en) | 2019-07-16 |
Family
ID=67474345
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020180067568A KR102000543B1 (en) | 2018-06-12 | 2018-06-12 | Apparatus for editing web electric document and operating method thereof |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR102000543B1 (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20010055927A (en) * | 1999-12-13 | 2001-07-04 | 이계철 | Method For Processing User Input Of Electronic Document With Iterative Structure |
JP2004086572A (en) * | 2002-08-27 | 2004-03-18 | Fuji Electric Holdings Co Ltd | Document management system |
JP2009519507A (en) * | 2005-12-05 | 2009-05-14 | サーセン コーポレイション | Document processing system and method |
KR20130102709A (en) * | 2012-03-08 | 2013-09-23 | 주식회사 한글과컴퓨터 | Browser driving apparatus and method |
-
2018
- 2018-06-12 KR KR1020180067568A patent/KR102000543B1/en active IP Right Grant
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20010055927A (en) * | 1999-12-13 | 2001-07-04 | 이계철 | Method For Processing User Input Of Electronic Document With Iterative Structure |
JP2004086572A (en) * | 2002-08-27 | 2004-03-18 | Fuji Electric Holdings Co Ltd | Document management system |
JP2009519507A (en) * | 2005-12-05 | 2009-05-14 | サーセン コーポレイション | Document processing system and method |
KR20130102709A (en) * | 2012-03-08 | 2013-09-23 | 주식회사 한글과컴퓨터 | Browser driving apparatus and method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11656859B2 (en) | Data model API for live applications in a cloud collaboration platform | |
US11252252B2 (en) | Installable web applications | |
KR101774257B1 (en) | Document editing apparatus for maintaining style of object and operating method thereof | |
US9886159B2 (en) | Selecting portions of computer-accessible documents for post-selection processing | |
US8745581B2 (en) | Method and system for selectively copying portions of a document contents in a computing system (smart copy and paste | |
CA2684822A1 (en) | Data transformation based on a technical design document | |
WO2022062888A1 (en) | Document editing method and apparatus, computer device and storage medium | |
KR101774267B1 (en) | Collaborative support apparatus for collaborative editing of electronic documents and operating method thereof | |
KR101754258B1 (en) | Apparatus and method for verifying simultaneous edit configuration for markup language based document | |
KR101746477B1 (en) | Document collaboration apparatus for supporting simultaneous style editing of objects and operating method thereof | |
CN110688145A (en) | Android MVP code automatic generation method, device, medium and electronic equipment | |
KR102013620B1 (en) | Web based document editing server for changing template of web based document and operating method thereof | |
US20230409814A1 (en) | Document editing method and apparatus, device, and storage medium | |
KR101815924B1 (en) | Online document editing service apparatus that provides a collaborative environment so that a plurality of users can create electronic documents online and operating method thereof | |
KR20200001139A (en) | Server for editing electronic document based on message including edit command and operating method thereof | |
WO2024002051A1 (en) | Document editing method and apparatus, and electronic device and storage medium | |
KR102000543B1 (en) | Apparatus for editing web electric document and operating method thereof | |
KR101781844B1 (en) | Apparatus for synchronizing combination letter of markup language based document and operating method thereof | |
JP6565894B2 (en) | Server, information processing apparatus, processing method, and program | |
KR101965722B1 (en) | Apparatus for ensuring editing reliability in respect of web document according to whether to edit single or edit simultaneously and operation method thereof | |
WO2018040439A1 (en) | Document processing method and apparatus | |
KR20080027293A (en) | Managing multiple languages in a data language | |
CN107749892B (en) | Network reading method and device for conference record, intelligent tablet and storage medium | |
KR101965718B1 (en) | Apparatus for ensuring editing reliability in respect of web document and operation method thereof | |
KR101999580B1 (en) | Apparatus for ensuring editing reliability to unsupported editing command from remote place and operation method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant |