KR102187543B1 - Electronic terminal device for processing web-based document editing in cooperation with a document editing server and operating method thereof - Google Patents

Electronic terminal device for processing web-based document editing in cooperation with a document editing server and operating method thereof Download PDF

Info

Publication number
KR102187543B1
KR102187543B1 KR1020190014391A KR20190014391A KR102187543B1 KR 102187543 B1 KR102187543 B1 KR 102187543B1 KR 1020190014391 A KR1020190014391 A KR 1020190014391A KR 20190014391 A KR20190014391 A KR 20190014391A KR 102187543 B1 KR102187543 B1 KR 102187543B1
Authority
KR
South Korea
Prior art keywords
document
data
entity
identifier
editing server
Prior art date
Application number
KR1020190014391A
Other languages
Korean (ko)
Other versions
KR20200103135A (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 KR1020190014391A priority Critical patent/KR102187543B1/en
Publication of KR20200103135A publication Critical patent/KR20200103135A/en
Application granted granted Critical
Publication of KR102187543B1 publication Critical patent/KR102187543B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates

Abstract

문서 편집 서버와 연동하여 웹 기반의 문서 작성을 가능하게 하는 전자 단말 장치 및 그 동작 방법이 개시된다. 본 발명은 웹 기반의 문서 작성 서비스에 있어서, 사용자에 의해 전자 단말 장치에서 작성 중인 문서에 소정의 개체가 삽입되는 경우, 상기 개체의 삽입에 따라 문서 편집 서버로 전송될 액션 데이터를 경량화함으로써, 웹 기반의 문서 작성 서비스의 운영에 따라 발생하는 데이터 트래픽을 감소시킬 수 있는 기법에 대한 것이다.Disclosed are an electronic terminal device that enables web-based document creation in connection with a document editing server and a method of operating the same. The present invention is a web-based document creation service, when a user inserts a predetermined object into a document being created on an electronic terminal device, by reducing the weight of action data to be transmitted to the document editing server according to the insertion of the object, the web It is about a technique that can reduce the data traffic generated by the operation of the based document writing service.

Description

문서 편집 서버와 연동하여 웹 기반의 문서 작성을 처리하는 전자 단말 장치 및 그 동작 방법{ELECTRONIC TERMINAL DEVICE FOR PROCESSING WEB-BASED DOCUMENT EDITING IN COOPERATION WITH A DOCUMENT EDITING SERVER AND OPERATING METHOD THEREOF}Electronic terminal device that processes web-based document creation in connection with the document editing server and its operation method {ELECTRONIC TERMINAL DEVICE FOR PROCESSING WEB-BASED DOCUMENT EDITING IN COOPERATION WITH A DOCUMENT EDITING SERVER AND OPERATING METHOD THEREOF}

본 발명은 문서 편집 서버와 연동하여 웹 기반의 문서 작성을 가능하게 하는 전자 단말 장치 및 그 동작 방법에 대한 것이다.The present invention relates to an electronic terminal device that enables web-based document creation by interworking with a document editing server and an operating method thereof.

최근, 컴퓨터나 스마트폰 또는 태블릿 PC 등이 널리 보급됨에 따라, 이러한 단말기기를 이용하여 전자 문서를 열람, 작성, 편집할 수 있도록 하는 다양한 종류의 전자 문서 관련 프로그램들이 출시되고 있다.In recent years, as computers, smartphones, tablet PCs, etc. are widely spread, various types of electronic document-related programs are being released that enable users to view, create, and edit electronic documents using such terminal devices.

이러한 전자 문서 관련 프로그램들로는 기본적인 문서의 작성, 편집 등을 지원하는 워드프로세서, 데이터의 입력, 산술연산, 데이터 관리를 보조하는 스프레드시트, 발표자의 발표를 보조하기 위한 프레젠테이션 프로그램들이 있다.Examples of such electronic document related programs include a word processor that supports basic document creation and editing, data input, arithmetic operations, spreadsheets that assist data management, and presentation programs to assist presenters' presentations.

최근에는 전자 단말 장치에 소정의 문서 작성 프로그램을 설치하지 않고, 언제 어디에서든지 사용자가 문서를 작성할 수 있도록 지원하는 웹 기반의 문서 작성 서비스가 등장하고 있다.Recently, a web-based document creation service has emerged that supports a user to create a document anytime, anywhere without installing a predetermined document creation program on an electronic terminal device.

웹 기반의 문서 작성 서비스는 소정의 문서 편집 서버와 전자 단말 장치를 네트워크로 연동하고, 사용자가 전자 단말 장치의 브라우저를 구동하여 브라우저 상에서 웹 편집기를 실행시키면, 상기 웹 편집기를 통해 문서를 작성할 수 있도록 지원하는 서비스이다. 이때, 문서 편집 서버에는 상기 전자 단말 장치를 통해 작성 중인 문서에 대한 문서 데이터가 저장되고, 사용자가 상기 웹 편집기를 통해 상기 전자 단말 장치에서 문서에 대한 편집 명령을 인가하게 되면, 상기 편집 명령이 상기 문서 편집 서버로 전송되어 상기 문서 편집 서버에 저장되어 있는 문서 데이터에 반영됨으로써, 상기 전자 단말 장치에서 작성 중인 문서와 상기 문서 편집 서버에 저장되어 있는 문서 데이터가 항상 같은 편집 상태를 유지하게 된다.The web-based document creation service connects a predetermined document editing server and an electronic terminal device through a network, and when a user drives a browser of the electronic terminal device and runs a web editor on the browser, a document can be created through the web editor. It is a supported service. At this time, the document editing server stores document data for the document being created through the electronic terminal device, and when the user applies the editing command for the document from the electronic terminal device through the web editor, the editing command By being transmitted to the document editing server and reflected in the document data stored in the document editing server, the document being created in the electronic terminal device and the document data stored in the document editing server always maintain the same editing state.

이러한 웹 기반의 문서 작성 서비스는 클라이언트 측인 전자 단말 장치에서 작성 중인 문서와 동일한 편집 상태를 갖는 문서 데이터를 저장하고 있는 문서 편집 서버가 존재하기 때문에, 상기 문서 편집 서버와 다수의 전자 단말 장치들 간의 연동도 가능하여 다수의 사용자들이 하나의 문서를 동시에 편집할 수 있도록 하는 기능을 제공해 준다.In such a web-based document creation service, there is a document editing server that stores document data having the same editing state as the document being created in the client-side electronic terminal device, so the document editing server is interlocked with a plurality of electronic terminal devices. Also, it provides a function that allows multiple users to edit a single document at the same time.

웹 기반의 문서 작성 서비스에서는 클라이언트 측인 전자 단말 장치에서 사용자에 의해 문서 편집을 위한 액션이 발생하면, 편집 동기화를 위해 상기 액션에 따른 데이터를 문서 편집 서버로 전송하게 되는데, 상기 전자 단말 장치에서 상기 문서 편집 서버로 전송되는 편집 액션에 대한 데이터의 경량화를 통해 과도한 데이터 트래픽이 발생하는 것을 방지할 필요가 있다. 특히, 전자 단말 장치에서 사용자에 의해 문서 상에 텍스트, 도형, 이미지, 표 등과 같은 소정의 개체가 삽입되는 경우, 상기 전자 단말 장치는 상기 개체의 서식 속성에 대한 데이터를 문서 편집 서버로 전송하게 되고, 이때, 상기 문서 편집 서버는 서버 상에 저장되어 있는 문서 데이터에 상기 개체의 서식 속성에 대한 데이터를 추가함으로써, 상기 문서 편집 서버에 저장되어 있는 문서 데이터와 상기 전자 단말 장치에서 표시되고 있는 문서 간의 편집 상태가 동일하게 유지되도록 한다.In the web-based document creation service, when an action for document editing occurs by a user in an electronic terminal device on the client side, data according to the action is transmitted to the document editing server for editing synchronization. It is necessary to prevent excessive data traffic from occurring by lightening the data on the editing action transmitted to the editing server. In particular, when a predetermined object such as text, figure, image, table, etc. is inserted on a document by a user in the electronic terminal device, the electronic terminal device transmits data on the format attribute of the object to the document editing server. In this case, the document editing server adds data on the format attribute of the object to the document data stored on the server, so that between the document data stored in the document editing server and the document displayed on the electronic terminal device. Make sure the edit status remains the same.

따라서, 웹 기반의 문서 작성 서비스에 있어서, 사용자에 의해 전자 단말 장치에서 작성 중인 문서에 소정의 개체가 삽입되는 경우, 상기 개체의 삽입에 따라 문서 편집 서버로 전송될 액션 데이터를 경량화함으로써, 웹 기반의 문서 작성 서비스의 운영에 따라 발생하는 데이터 트래픽을 감소시킬 수 있는 기법에 대한 연구가 필요하다.Therefore, in a web-based document creation service, when a predetermined object is inserted into a document being created in an electronic terminal device by a user, the action data to be transmitted to the document editing server according to the insertion of the object is reduced, thereby reducing the weight of the web-based document creation service. It is necessary to study a technique that can reduce the data traffic generated by the operation of the document creation service of

본 발명은 웹 기반의 문서 작성 서비스에 있어서, 사용자에 의해 전자 단말 장치에서 작성 중인 문서에 소정의 개체가 삽입되는 경우, 상기 개체의 삽입에 따라 문서 편집 서버로 전송될 액션 데이터를 경량화함으로써, 웹 기반의 문서 작성 서비스의 운영에 따라 발생하는 데이터 트래픽을 감소시킬 수 있는 기법을 제시하고자 한다.The present invention is a web-based document creation service, when a user inserts a predetermined object into a document being created on an electronic terminal device, by reducing the weight of action data to be transmitted to the document editing server according to the insertion of the object, the web The purpose of this study is to propose a technique that can reduce data traffic generated by the operation of the based document creation service.

본 발명의 일실시예에 따른 문서 편집 서버와 연동하여 웹 기반의 문서 작성을 가능하게 하는 전자 단말 장치는 문서에 삽입되는 신규 개체가 상기 문서에 존재하지 않는 새로운 개체인 경우, 상기 신규 개체의 상기 문서에서의 삽입 시점에 대한 시간 정보와 상기 문서에 대한 작성자를 식별하기 위한 작성자 식별자 및 상기 신규 개체에 대한 고유 일련 번호를 조합하여 상기 신규 개체에 대한 개체 식별자를 할당하도록 규정한 제1 규정 데이터와, 상기 문서에 삽입되는 상기 신규 개체가 상기 문서에 이미 존재하고 있는 기존 개체가 복사되어 생성된 개체인 경우, 상기 기존 개체의 개체 식별자에 포함되어 있는 상기 기존 개체의 상기 문서에서의 삽입 시점에 대한 시간 정보와 상기 문서에 대한 작성자를 식별하기 위한 작성자 식별자 및 상기 신규 개체에 대한 고유 일련 번호를 조합하여 상기 신규 개체에 대한 개체 식별자를 할당하도록 규정한 제2 규정 데이터가 저장되어 있는 규정 데이터 저장부, 사용자에 의해 제1 문서에 대한 작성 시작 명령이 인가되면, 복수의 문서들에 대한 문서 데이터 - 상기 문서 데이터는 상기 복수의 문서들 각각의 편집 상태를 나타내기 위한 사전 설정된 포맷의 데이터로, 상기 문서 데이터에는 각 문서에 삽입되어 있는 개체들의 서식 속성에 대한 데이터가 각 개체에 할당된 개체 식별자별로 구분되어 포함되어 있음 - 가 저장되어 있는 문서 편집 서버로부터 상기 제1 문서에 대한 제1 문서 데이터를 수신하는 문서 데이터 수신부, 상기 제1 문서 데이터가 수신되면, 브라우저 상에서 구동되는 웹 편집기를 통해 상기 제1 문서 데이터를 파싱(parsing)하여 상기 제1 문서를 화면 상에 표시하는 문서 표시부, 상기 사용자에 의해 상기 화면 상에 표시되고 있는 상기 제1 문서에 제1 신규 개체가 삽입되는 경우, 상기 제1 신규 개체가 상기 제1 문서에 존재하지 않는 새로운 개체인지, 상기 제1 신규 개체가 상기 제1 문서에 이미 존재하고 있는 기존 개체가 복사되어 생성된 개체인지 여부에 따라 상기 제1 규정 데이터와 상기 제2 규정 데이터에 기초하여 상기 제1 신규 개체에 대해 제1 개체 식별자를 할당하는 식별자 할당부, 상기 제1 개체 식별자가 할당되면, 상기 제1 신규 개체가 상기 제1 문서에 삽입된 것에 대응되도록 상기 문서 편집 서버에 저장되어 있는 상기 제1 문서 데이터에 상기 제1 신규 개체에 대한 삽입을 반영하기 위한 동기화 이벤트를 발생시키는 동기화 이벤트 발생부, 상기 동기화 이벤트가 발생되면, 상기 제1 개체 식별자에 포함되어 있는 시간 정보를 기초로 상기 제1 신규 개체의 서식 속성에 대한 데이터의 상기 문서 편집 서버로의 전송 여부를 결정하는 결정부 및 상기 제1 신규 개체의 서식 속성에 대한 데이터를 상기 문서 편집 서버로 전송하는 것으로 결정된 경우, 상기 제1 개체 식별자와 상기 제1 신규 개체의 서식 속성에 대한 데이터를 상기 문서 편집 서버로 전송하고, 상기 제1 신규 개체의 서식 속성에 대한 데이터를 상기 문서 편집 서버로 전송하지 않는 것으로 결정된 경우, 상기 제1 개체 식별자만을 상기 문서 편집 서버로 전송하는 편집 정보 동기화부를 포함한다.In an electronic terminal device that enables web-based document creation by interworking with a document editing server according to an embodiment of the present invention, when a new entity inserted in a document is a new entity that does not exist in the document, the new entity First stipulated data specifying that an entity identifier for the new entity is assigned by combining time information about the time of insertion in the document, a writer identifier for identifying the creator of the document, and a unique serial number for the new entity; and , When the new object inserted into the document is an object created by copying an existing object already existing in the document, the insertion point of the existing object included in the object identifier of the existing object in the document Regulation data storage unit in which second regulation data is stored to allocate an object identifier for the new object by combining time information, an author identifier for identifying the author of the document, and a unique serial number for the new object , When the user applies a command to start writing the first document, document data for a plurality of documents-the document data is data of a preset format for indicating the editing status of each of the plurality of documents, the The document data includes data on the format properties of the objects inserted in each document, separated by the object identifier assigned to each object.-The first document data for the first document is stored from the document editing server. Receiving document data receiving unit, when the first document data is received, a document display unit that parses the first document data through a web editor running on a browser to display the first document on the screen, and to the user Accordingly, when a first new entity is inserted into the first document displayed on the screen, whether the first new entity is a new entity that does not exist in the first document, and the first new entity is the first document An object created by copying an existing object that already exists in An identifier allocating unit that allocates a first entity identifier to the first new entity based on the first rule data and the second rule data according to whether or not, when the first entity identifier is assigned, the first new entity A synchronization event generator for generating a synchronization event for reflecting the insertion of the first new object in the first document data stored in the document editing server so as to correspond to the inserted in the first document, the synchronization event When is generated, a determination unit for determining whether to transmit data on the format attribute of the first new entity to the document editing server based on time information included in the first entity identifier, and the first new entity When it is determined to transmit the data on the form attribute to the document editing server, the first entity identifier and data on the form attribute of the first new entity are transmitted to the document editing server, and the form of the first new entity And an editing information synchronization unit for transmitting only the first object identifier to the document editing server when it is determined not to transmit the data on the attribute to the document editing server.

또한, 본 발명의 일실시예에 따른 문서 편집 서버와 연동하여 웹 기반의 문서 작성을 가능하게 하는 전자 단말 장치의 동작 방법은 문서에 삽입되는 신규 개체가 상기 문서에 존재하지 않는 새로운 개체인 경우, 상기 신규 개체의 상기 문서에서의 삽입 시점에 대한 시간 정보와 상기 문서에 대한 작성자를 식별하기 위한 작성자 식별자 및 상기 신규 개체에 대한 고유 일련 번호를 조합하여 상기 신규 개체에 대한 개체 식별자를 할당하도록 규정한 제1 규정 데이터와, 상기 문서에 삽입되는 상기 신규 개체가 상기 문서에 이미 존재하고 있는 기존 개체가 복사되어 생성된 개체인 경우, 상기 기존 개체의 개체 식별자에 포함되어 있는 상기 기존 개체의 상기 문서에서의 삽입 시점에 대한 시간 정보와 상기 문서에 대한 작성자를 식별하기 위한 작성자 식별자 및 상기 신규 개체에 대한 고유 일련 번호를 조합하여 상기 신규 개체에 대한 개체 식별자를 할당하도록 규정한 제2 규정 데이터가 저장되어 있는 규정 데이터 저장부를 유지하는 단계, 사용자에 의해 제1 문서에 대한 작성 시작 명령이 인가되면, 복수의 문서들에 대한 문서 데이터 - 상기 문서 데이터는 상기 복수의 문서들 각각의 편집 상태를 나타내기 위한 사전 설정된 포맷의 데이터로, 상기 문서 데이터에는 각 문서에 삽입되어 있는 개체들의 서식 속성에 대한 데이터가 각 개체에 할당된 개체 식별자별로 구분되어 포함되어 있음 - 가 저장되어 있는 문서 편집 서버로부터 상기 제1 문서에 대한 제1 문서 데이터를 수신하는 단계, 상기 제1 문서 데이터가 수신되면, 브라우저 상에서 구동되는 웹 편집기를 통해 상기 제1 문서 데이터를 파싱하여 상기 제1 문서를 화면 상에 표시하는 단계, 상기 사용자에 의해 상기 화면 상에 표시되고 있는 상기 제1 문서에 제1 신규 개체가 삽입되는 경우, 상기 제1 신규 개체가 상기 제1 문서에 존재하지 않는 새로운 개체인지, 상기 제1 신규 개체가 상기 제1 문서에 이미 존재하고 있는 기존 개체가 복사되어 생성된 개체인지 여부에 따라 상기 제1 규정 데이터와 상기 제2 규정 데이터에 기초하여 상기 제1 신규 개체에 대해 제1 개체 식별자를 할당하는 단계, 상기 제1 개체 식별자가 할당되면, 상기 제1 신규 개체가 상기 제1 문서에 삽입된 것에 대응되도록 상기 문서 편집 서버에 저장되어 있는 상기 제1 문서 데이터에 상기 제1 신규 개체에 대한 삽입을 반영하기 위한 동기화 이벤트를 발생시키는 단계, 상기 동기화 이벤트가 발생되면, 상기 제1 개체 식별자에 포함되어 있는 시간 정보를 기초로 상기 제1 신규 개체의 서식 속성에 대한 데이터의 상기 문서 편집 서버로의 전송 여부를 결정하는 단계 및 상기 제1 신규 개체의 서식 속성에 대한 데이터를 상기 문서 편집 서버로 전송하는 것으로 결정된 경우, 상기 제1 개체 식별자와 상기 제1 신규 개체의 서식 속성에 대한 데이터를 상기 문서 편집 서버로 전송하고, 상기 제1 신규 개체의 서식 속성에 대한 데이터를 상기 문서 편집 서버로 전송하지 않는 것으로 결정된 경우, 상기 제1 개체 식별자만을 상기 문서 편집 서버로 전송하는 단계를 포함한다.In addition, the method of operating an electronic terminal device that enables web-based document creation by interworking with a document editing server according to an embodiment of the present invention is, when a new entity inserted in a document is a new entity that does not exist in the document, It stipulates to allocate an entity identifier for the new entity by combining time information on the insertion time of the new entity in the document, a writer identifier for identifying the creator of the document, and a unique serial number for the new entity. When the first prescribed data and the new entity inserted in the document are created by copying an existing entity already existing in the document, in the document of the existing entity included in the entity identifier of the existing entity Second provisional data specifying to allocate an entity identifier for the new entity by combining time information on the insertion point of the document, a writer identifier for identifying the creator of the document, and a unique serial number for the new entity are stored, A step of maintaining a prescriptive data storage unit in which there is a document data for a plurality of documents when a command to start writing a first document is applied by a user-the document data is used to indicate the editing status of each of the plurality of documents As data of a preset format, the document data includes data on the format properties of objects inserted in each document divided by object identifiers assigned to each object-from the document editing server in which the first Receiving first document data for a document, when the first document data is received, parsing the first document data through a web editor running on a browser and displaying the first document on a screen, the When a first new object is inserted into the first document displayed on the screen by a user, whether the first new object is a new object that does not exist in the first document, the first new object is the first 1 An object created by copying an existing object that already exists in the document Allocating a first entity identifier to the first new entity based on the first rule data and the second rule data according to whether or not, when the first entity identifier is assigned, the first new entity Generating a synchronization event for reflecting the insertion of the first new object in the first document data stored in the document editing server so as to correspond to that inserted in the first document, when the synchronization event occurs, the Determining whether to transmit data on the format attribute of the first new entity to the document editing server based on time information included in the first entity identifier, and data about the format attribute of the first new entity When it is determined to transmit to the document editing server, the first entity identifier and data on the format attribute of the first new entity are transmitted to the document editing server, and the data on the format attribute of the first new entity is transmitted to the document editing server. And when it is determined not to transmit to the document editing server, transmitting only the first entity identifier to the document editing server.

본 발명은 웹 기반의 문서 작성 서비스에 있어서, 사용자에 의해 전자 단말 장치에서 작성 중인 문서에 소정의 개체가 삽입되는 경우, 상기 개체의 삽입에 따라 문서 편집 서버로 전송될 액션 데이터를 경량화함으로써, 웹 기반의 문서 작성 서비스의 운영에 따라 발생하는 데이터 트래픽을 감소시킬 수 있는 기법을 제시할 수 있다.The present invention is a web-based document creation service, when a user inserts a predetermined object into a document being created on an electronic terminal device, by reducing the weight of action data to be transmitted to the document editing server according to the insertion of the object, the web It is possible to propose a technique that can reduce the data traffic generated by the operation of the based document creation service.

도 1은 본 발명의 일실시예에 따른 문서 편집 서버와 연동하여 웹 기반의 문서 작성을 가능하게 하는 전자 단말 장치의 구조를 도시한 도면이다.
도 2는 본 발명의 일실시예에 따른 문서 편집 서버와 연동하여 웹 기반의 문서 작성을 가능하게 하는 전자 단말 장치를 설명하기 위한 도면이다.
도 3은 본 발명의 일실시예에 따른 문서 편집 서버와 연동하여 웹 기반의 문서 작성을 가능하게 하는 전자 단말 장치의 동작 방법을 도시한 순서도이다.
1 is a diagram illustrating a structure of an electronic terminal device that enables web-based document creation in connection with a document editing server according to an embodiment of the present invention.
FIG. 2 is a diagram for explaining an electronic terminal device that enables web-based document creation by interworking with a document editing server according to an embodiment of the present invention.
3 is a flowchart illustrating a method of operating an electronic terminal device that enables web-based document creation in connection with a document editing server according to an embodiment of the present invention.

이하에서는 본 발명에 따른 실시예들을 첨부된 도면을 참조하여 상세하게 설명하기로 한다. 이러한 설명은 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다. 각 도면을 설명하면서 유사한 참조부호를 유사한 구성요소에 대해 사용하였으며, 다르게 정의되지 않는 한, 기술적이거나 과학적인 용어를 포함해서 본 명세서 상에서 사용되는 모든 용어들은 본 발명이 속하는 기술분야에서 통상의 지식을 가진 사람에 의해 일반적으로 이해되는 것과 동일한 의미를 가지고 있다.Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. This description is not intended to limit the present invention to a specific embodiment, it is to be understood to include all changes, equivalents, and substitutes included in the spirit and scope of the present invention. While describing each drawing, similar reference numerals have been used for similar components, and unless otherwise defined, all terms used in the present specification including technical or scientific terms refer to common knowledge in the technical field to which the present invention belongs. It has the same meaning as commonly understood by someone who has it.

본 문서에서, 어떤 부분이 어떤 구성요소를 "포함"한다고 할 때, 이는 특별히 반대되는 기재가 없는 한 다른 구성요소를 제외하는 것이 아니라 다른 구성요소를 더 포함할 수 있다는 것을 의미한다. 또한, 본 발명의 다양한 실시예들에 있어서, 각 구성요소들, 기능 블록들 또는 수단들은 하나 또는 그 이상의 하부 구성요소로 구성될 수 있고, 각 구성요소들이 수행하는 전기, 전자, 기계적 기능들은 전자회로, 집적회로, ASIC(Application Specific Integrated Circuit) 등 공지된 다양한 소자들 또는 기계적 요소들로 구현될 수 있으며, 각각 별개로 구현되거나 2 이상이 하나로 통합되어 구현될 수도 있다. In this document, when a part "includes" a certain component, it means that other components may be further included rather than excluding other components unless otherwise stated. In addition, in various embodiments of the present invention, each component, functional blocks or means may be composed of one or more sub-components, and the electrical, electronic, and mechanical functions performed by each component are electronic. A circuit, an integrated circuit, and an application specific integrated circuit (ASIC) may be implemented with various known devices or mechanical elements, and may be implemented separately or two or more may be integrated into one.

한편, 첨부된 블록도의 블록들이나 흐름도의 단계들은 범용 컴퓨터, 특수용 컴퓨터, 휴대용 노트북 컴퓨터, 네트워크 컴퓨터 등 데이터 프로세싱이 가능한 장비의 프로세서나 메모리에 탑재되어 지정된 기능들을 수행하는 컴퓨터 프로그램 명령들(instructions)을 의미하는 것으로 해석될 수 있다. 이들 컴퓨터 프로그램 명령들은 컴퓨터 장치에 구비된 메모리 또는 컴퓨터에서 판독 가능한 메모리에 저장될 수 있기 때문에, 블록도의 블록들 또는 흐름도의 단계들에서 설명된 기능들은 이를 수행하는 명령 수단을 내포하는 제조물로 생산될 수도 있다. 아울러, 각 블록 또는 각 단계는 특정된 논리적 기능(들)을 실행하기 위한 하나 이상의 실행 가능한 명령들을 포함하는 모듈, 세그먼트 또는 코드의 일부를 나타낼 수 있다. 또, 몇 가지 대체 가능한 실시예들에서는 블록들 또는 단계들에서 언급된 기능들이 정해진 순서와 달리 실행되는 것도 가능함을 주목해야 한다. 예컨대, 잇달아 도시되어 있는 두 개의 블록들 또는 단계들은 실질적으로 동시에 수행되거나, 역순으로 수행될 수 있으며, 경우에 따라 일부 블록들 또는 단계들이 생략된 채로 수행될 수도 있다.On the other hand, the blocks of the attached block diagram and the steps in the flowchart are computer program instructions that are mounted on a processor or memory of equipment capable of processing data such as a general-purpose computer, a special-purpose computer, a portable notebook computer, and a network computer to perform specified functions It can be interpreted as meaning. Since these computer program instructions can be stored in a memory provided in a computer device or in a memory readable by a computer, the functions described in the blocks in the block diagram or in the steps in the flowchart are produced as a product containing the instruction means to perform this. It could be. In addition, each block or each step may represent a module, segment, or part of code including one or more executable instructions for executing the specified logical function(s). In addition, it should be noted that in some alternative embodiments, functions mentioned in blocks or steps may be executed in a different order. For example, two blocks or steps shown in succession may be performed substantially simultaneously or may be performed in reverse order, and in some cases, some blocks or steps may be omitted.

도 1은 본 발명의 일실시예에 따른 문서 편집 서버와 연동하여 웹 기반의 문서 작성을 가능하게 하는 전자 단말 장치의 구조를 도시한 도면이다.1 is a diagram illustrating a structure of an electronic terminal device that enables web-based document creation in connection with a document editing server according to an embodiment of the present invention.

도 1을 참조하면, 본 발명에 따른 전자 단말 장치(110)는 규정 데이터 저장부(111), 문서 데이터 수신부(112), 문서 표시부(113), 식별자 할당부(114), 동기화 이벤트 발생부(115), 결정부(116) 및 편집 정보 동기화부(117)를 포함한다.Referring to FIG. 1, the electronic terminal device 110 according to the present invention includes a regulation data storage unit 111, a document data receiving unit 112, a document display unit 113, an identifier assignment unit 114, and a synchronization event generating unit ( 115), a decision unit 116, and an edit information synchronization unit 117.

우선, 문서 편집 서버(130)에는 웹 기반의 문서 작성 서비스를 제공하기 위해, 복수의 문서들에 대한 문서 데이터가 저장되어 있고, 전자 단말 장치(110)는 문서 편집 서버(130)와 접속하여 문서 편집 서버(130)로부터 사용자가 작성하기를 원하는 문서에 대한 문서 데이터를 수신한 후 브라우저 상에서 구동되는 웹 편집기를 통해 상기 문서를 화면 상에 표시함으로써, 사용자가 상기 웹 편집기를 이용하여 상기 문서를 편집할 수 있도록 지원한다.First, in order to provide a web-based document creation service, the document editing server 130 stores document data for a plurality of documents, and the electronic terminal device 110 accesses the document editing server 130 to provide a document After receiving the document data for the document the user wants to create from the editing server 130, the document is displayed on the screen through a web editor running on the browser, so that the user edits the document using the web editor. Support to do it.

여기서, 문서 편집 서버(130)에 저장되어 있는 문서 데이터는 복수의 문서들 각각의 편집 상태를 나타내기 위한 사전 설정된 포맷의 데이터로, 상기 문서 데이터에는 각 문서에 삽입되어 있는 텍스트, 도형, 이미지, 표 등과 같은 개체들의 서식 속성에 대한 데이터가 각 개체에 할당된 개체 식별자별로 구분되어 포함되어 있을 수 있다.Here, the document data stored in the document editing server 130 is data of a preset format for indicating the editing state of each of a plurality of documents, and the document data includes text, figures, images, and text inserted in each document. Data on format properties of objects such as a table may be classified and included for each object identifier assigned to each object.

이때, 개체 식별자란 문서에 삽입되어 있는 개체들 각각을 식별하기 위한 구분자로, 문서에서 개체가 삽입된 시점에 대한 시간 정보와 해당 문서를 작성한 작성자의 식별자 및 상기 개체에 대한 고유 일련 번호가 조합된 정보로 구성될 수 있다.In this case, the object identifier is a separator for identifying each of the objects inserted in the document, and the time information on the time when the object was inserted in the document, the identifier of the author who created the document, and the unique serial number for the object are combined. It can be composed of information.

또한, 작성자의 식별자란 본 발명에 따른 웹 기반의 문서 작성 서비스를 통해 문서를 작성하기 위해서 사용자가 로그인할 때 사용하는 ID를 의미하고, 고유 일련 번호란 개체가 생성될 때마다 다른 개체와 중복되지 않게 랜덤하게 생성되는 고유 번호를 의미한다.In addition, the author's identifier means an ID used when a user logs in to create a document through the web-based document creation service according to the present invention, and the unique serial number is not duplicated with other objects each time an object is created. It means a unique number that is randomly generated.

예컨대, 특정 문서에서 '도형 1'이라는 개체가 존재한다고 하였을 때, '도형 1'이 문서에 삽입된 시점에 대한 시간 정보를 나타내는 데이터를 '01D491D38931596A'라 하고, 문서 작성자의 식별자를 '0000'이라고 하며, '도형 1'에 대한 고유 일련 번호를 '3411'라고 하는 경우, '도형 1'에 대한 개체 식별자는 '01D491D38931596A00003411'가 될 수 있다.For example, if an entity called'Figure 1'exists in a specific document, data representing the time information on the time when'Figure 1'was inserted into the document is called '01D491D38931596A', and the document author's identifier is '0000'. And, when the unique serial number for'Figure 1'is '3411', the entity identifier for'Figure 1'may be '01D491D38931596A00003411'.

그리고, 개체의 서식 속성에 대한 데이터란 개체가 도형이라고 하였을 때, 색상, 크기, 모양, 테두리의 굵기 등과 같이 해당 개체의 서식을 나타내는 데이터를 의미한다.In addition, when the object is a shape, the data on the format property of an object means data representing the format of the object such as color, size, shape, and thickness of a border.

이때, 상기 문서 데이터에는 문서에 삽입되어 있는 개체들의 서식 속성에 대한 데이터가 각 개체에 할당된 개체 식별자별로 구분되어 포함되어 있을 수 있는데, 상기 문서 데이터에는 도 2의 도면부호 210에 도시된 그림과 같이, '00000167A62BFC4100000022'라는 개체 식별자(211)를 갖는 개체가 존재한다고 하였을 때, 도면부호 212로 나타낸 바와 같은 서식 속성에 대한 데이터가 '00000167A62BFC4100000022'라는 개체 식별자(211)를 기초로 구분되어 포함되어 있을 수 있다.In this case, the document data may include data on format properties of entities inserted in the document, divided by entity identifiers assigned to each entity, and the document data includes the figure shown at 210 in FIG. Likewise, when it is assumed that there is an entity having an entity identifier 211 of '00000167A62BFC4100000022', data on the format attribute as indicated by reference numeral 212 is classified and included based on the entity identifier 211 of '00000167A62BFC4100000022' I can.

이때, 본 발명의 일실시예에 따르면, 문서 편집 서버(130)에 저장되어 있는 복수의 문서들에 대한 문서 데이터는 JSON(JavaScript Object Notation) 포맷으로 구성된 데이터일 수 있다.In this case, according to an embodiment of the present invention, document data for a plurality of documents stored in the document editing server 130 may be data configured in a JavaScript Object Notation (JSON) format.

이러한 상황에서, 전자 단말 장치(110)의 구조에 대해 설명하면 다음과 같다.In this situation, the structure of the electronic terminal device 110 will be described as follows.

규정 데이터 저장부(111)에는 문서에 삽입되는 신규 개체가 상기 문서에 존재하지 않는 새로운 개체인 경우, 상기 신규 개체의 상기 문서에서의 삽입 시점에 대한 시간 정보와 상기 문서에 대한 작성자를 식별하기 위한 작성자 식별자 및 상기 신규 개체에 대한 고유 일련 번호를 조합하여 상기 신규 개체에 대한 개체 식별자를 할당하도록 규정한 제1 규정 데이터와, 상기 문서에 삽입되는 상기 신규 개체가 상기 문서에 이미 존재하고 있는 기존 개체가 복사되어 생성된 개체인 경우, 상기 기존 개체의 개체 식별자에 포함되어 있는 상기 기존 개체의 상기 문서에서의 삽입 시점에 대한 시간 정보와 상기 문서에 대한 작성자를 식별하기 위한 작성자 식별자 및 상기 신규 개체에 대한 고유 일련 번호를 조합하여 상기 신규 개체에 대한 개체 식별자를 할당하도록 규정한 제2 규정 데이터가 저장되어 있다.When the new entity inserted into the document is a new entity that does not exist in the document, the regulation data storage unit 111 includes time information on the insertion point of the new entity in the document and the creator of the document. First provisional data defining to allocate an entity identifier for the new entity by combining an author identifier and a unique serial number for the new entity, and an existing entity in which the new entity inserted in the document already exists in the document In the case of an object created by copying, the time information on the insertion point of the existing object in the document included in the object identifier of the existing object, an author identifier for identifying the author of the document, and the new object Second regulation data is stored in which an entity identifier for the new entity is assigned by combining a unique serial number for the new entity.

관련해서, 상기 제1 규정 데이터에 따른 개체 식별자 할당 규칙과 상기 제2 규정 데이터에 따른 개체 식별자 할당 규칙을 좀 더 자세히 설명하면 다음과 같다.In connection, the entity identifier allocation rule according to the first provision data and the entity identifier allocation rule according to the second provision data will be described in more detail as follows.

우선, 상기 제1 규정 데이터에 따른 개체 식별자 할당 규칙은 문서 작성자에 의해 문서에 존재하지 않던 새로운 도형 개체가 생성되어 삽입되는 경우, 상기 도형 개체가 상기 문서에 삽입된 시점에 대한 시간 정보와 상기 문서 작성자의 작성자 식별자 및 상기 도형 개체의 고유 일련 번호를 조합해서 상기 도형 개체에 대한 개체 식별자를 할당하도록 지정된 규칙을 의미한다.First, when a new figure object that does not exist in the document is created and inserted by the document author according to the rule for assigning an object identifier according to the first prescribed data, time information on the time when the figure object was inserted into the document and the document It refers to a rule designated to allocate an object identifier for the figure object by combining the creator identifier of the creator and the unique serial number of the figure object.

그리고, 상기 제2 규정 데이터에 따른 개체 식별자 할당 규칙은 상기 문서 작성자에 의해 문서에 이미 존재하고 있던 도형 개체가 복사 후 붙여넣기됨에 따라 복사된 도형 개체가 상기 문서에 삽입된 경우, 이미 존재하고 있던 도형 개체의 개체 식별자를 구성하는 시간 정보를 그대로 상속하여 상속된 시간 정보를 새롭게 복사된 도형 개체의 시간 정보로 지정한 후 상기 상속된 시간 정보와 상기 문서 작성자의 작성자 식별자 및 상기 도형 개체의 고유 일련 번호를 조합해서 상기 도형 개체에 대한 개체 식별자를 할당하도록 지정된 규칙을 의미한다.In addition, the object identifier allocation rule according to the second regulation data is, when the copied figure object is inserted into the document as the figure object already existing in the document is copied and pasted by the document author. After the time information constituting the object identifier of the figure object is inherited as it is and the inherited time information is designated as the time information of the newly copied figure object, the inherited time information, the author identifier of the document author, and the unique serial number of the figure object It means a rule designated to allocate an object identifier for the figure object by combining them.

즉, 상기 제1 규정 데이터에 따른 개체 식별자 할당 규칙은 문서에 완전히 새로운 개체가 삽입된 경우, 해당 개체가 삽입된 시점에 대한 새로운 시간 정보를 개체 식별자에 포함되는 시간 정보로 사용하도록 하는 규칙이고, 상기 제2 규정 데이터에 따른 개체 식별자 할당 규칙은 문서에 기존 개체가 복사되어 삽입된 경우, 기존 개체가 문서에 최초로 삽입되었을 때의 시간 정보를 복사된 개체에 대한 개체 식별자에 포함되는 시간 정보로 다시 사용하도록 하는 규칙이다.That is, the entity identifier allocation rule according to the first regulation data is a rule that, when a completely new entity is inserted in a document, new time information on the time when the entity is inserted is used as time information included in the entity identifier, The object identifier assignment rule according to the second regulation data is that, when an existing object is copied and inserted into a document, time information when the existing object is first inserted into the document is converted back to time information included in the object identifier for the copied object. This is a rule to use.

문서 데이터 수신부(112)는 사용자에 의해 문서 편집 서버(130)에 저장되어 있는 복수의 문서들 중 제1 문서에 대한 작성 시작 명령이 인가되면, 문서 편집 서버(130)로부터 상기 제1 문서에 대한 제1 문서 데이터를 수신한다.The document data receiving unit 112 receives a command to start writing a first document among a plurality of documents stored in the document editing server 130 by the user, and the document editing server 130 Receive the first document data.

문서 표시부(113)는 상기 제1 문서 데이터가 수신되면, 브라우저 상에서 구동되는 웹 편집기를 통해 상기 제1 문서 데이터를 파싱(parsing)하여 상기 제1 문서를 화면 상에 표시한다.When the first document data is received, the document display unit 113 parses the first document data through a web editor running on a browser to display the first document on the screen.

이때, 문서 표시부(113)는 상기 제1 문서 데이터가 수신되면, 상기 웹 편집기를 통해 상기 제1 문서 데이터를 파싱하여 브라우저 상에서 상기 제1 문서가 표시될 수 있도록 상기 제1 문서를 마크업 언어(markup language) 기반의 문서로 변환하여 화면 상에 표시할 수 있다.In this case, when the first document data is received, the document display unit 113 parses the first document data through the web editor to display the first document in a markup language ( markup language) based document can be converted and displayed on the screen.

식별자 할당부(114)는 상기 사용자에 의해 상기 화면 상에 표시되고 있는 상기 제1 문서에 제1 신규 개체가 삽입되는 경우, 상기 제1 신규 개체가 상기 제1 문서에 존재하지 않는 새로운 개체인지, 상기 제1 신규 개체가 상기 제1 문서에 이미 존재하고 있는 기존 개체가 복사되어 생성된 개체인지 여부에 따라 상기 제1 규정 데이터와 상기 제2 규정 데이터에 기초하여 상기 제1 신규 개체에 대해 제1 개체 식별자를 할당한다.When the first new entity is inserted into the first document displayed on the screen by the user, the identifier allocating unit 114 is whether the first new entity is a new entity that does not exist in the first document, According to whether the first new entity is an entity created by copying an existing entity already existing in the first document, a first for the first new entity is determined based on the first rule data and the second rule data. Assign an object identifier.

예컨대, 상기 제1 신규 개체가 상기 제1 문서에서 존재하지 않는 새로운 개체인 경우, 식별자 할당부(114)는 상기 제1 규정 데이터에 기초하여 상기 제1 신규 개체가 상기 제1 문서에 삽입된 시점에 대한 시간 정보와 상기 사용자의 작성자 식별자 및 상기 제1 신규 개체의 고유 일련 번호를 조합해서 상기 제1 개체 식별자를 할당할 수 있다.For example, when the first new entity is a new entity that does not exist in the first document, the identifier assignment unit 114 determines when the first new entity is inserted into the first document based on the first regulation data. The first entity identifier may be allocated by combining the time information of the user, the creator identifier of the user, and the unique serial number of the first new entity.

하지만, 상기 제1 신규 개체가 상기 제1 문서에 이미 존재하고 있던 기존 개체가 복사되어 생성된 개체인 경우, 식별자 할당부(114)는 상기 제2 규정 데이터에 기초하여 상기 기존 개체의 개체 식별자에 포함되어 있는 시간 정보와 상기 사용자의 작성자 식별자 및 상기 제1 신규 개체의 고유 일련 번호를 조합해서 상기 제1 개체 식별자를 할당할 수 있다.However, when the first new entity is an entity created by copying an existing entity that already exists in the first document, the identifier assignment unit 114 is configured to the entity identifier of the existing entity based on the second regulation data. The first entity identifier may be allocated by combining the included time information, the user's author identifier, and the unique serial number of the first new entity.

이렇게, 상기 제1 개체 식별자가 할당되면, 동기화 이벤트 발생부(115)는 상기 제1 신규 개체가 상기 제1 문서에 삽입된 것에 대응되도록 문서 편집 서버(130)에 저장되어 있는 상기 제1 문서 데이터에 상기 제1 신규 개체에 대한 삽입을 반영하기 위한 동기화 이벤트를 발생시킨다.In this way, when the first entity identifier is assigned, the synchronization event generating unit 115 includes the first document data stored in the document editing server 130 so as to correspond to the first new entity inserted into the first document. A synchronization event is generated to reflect the insertion of the first new entity.

결정부(116)는 상기 동기화 이벤트가 발생되면, 상기 제1 개체 식별자에 포함되어 있는 시간 정보를 기초로 상기 제1 신규 개체의 서식 속성에 대한 데이터의 문서 편집 서버(130)로의 전송 여부를 결정한다.When the synchronization event occurs, the determination unit 116 determines whether to transmit data on the format attribute of the first new entity to the document editing server 130 based on time information included in the first entity identifier. do.

이때, 본 발명의 일실시예에 따르면, 결정부(116)는 시간 정보 확인부(118), 제1 결정부(119) 및 제2 결정부(120)를 포함할 수 있다.In this case, according to an embodiment of the present invention, the determining unit 116 may include a time information checking unit 118, a first determining unit 119 and a second determining unit 120.

시간 정보 확인부(118)는 상기 동기화 이벤트가 발생되면, 상기 제1 문서에 기 삽입되어 있는 개체들에 대한 개체 식별자 중 상기 제1 개체 식별자에 포함되어 있는 시간 정보보다 이후 시간에 해당되는 시간 정보를 갖는 개체 식별자가 존재하는지 여부를 확인한다.When the synchronization event occurs, the time information checking unit 118 provides time information corresponding to a later time than the time information included in the first object identifier among object identifiers for objects previously inserted in the first document. Checks whether there is an entity identifier with.

예컨대, 상기 제1 개체 식별자에 포함되어 있는 시간 정보에 따른 시간이 '30초'라고 하는 경우, 시간 정보 확인부(118)는 상기 제1 문서에 기 삽입되어 있는 개체들에 대한 개체 식별자 중 '30초'보다 이후 시간에 따른 시간 정보를 갖는 개체 식별자가 존재하는지 여부를 확인할 수 있다.For example, if the time according to the time information included in the first entity identifier is '30 seconds', the time information verification unit 118 may be configured to select '30 seconds' among entity identifiers for entities previously inserted in the first document. It can be checked whether there is an entity identifier having time information according to a time after '30 seconds'.

제1 결정부(119)는 상기 제1 문서에 기 삽입되어 있는 개체들에 대한 개체 식별자 중 상기 제1 개체 식별자에 포함되어 있는 시간 정보보다 이후 시간에 해당되는 시간 정보를 갖는 개체 식별자가 존재하지 않는 것으로 확인된 경우, 상기 제1 신규 개체의 서식 속성에 대한 데이터를 문서 편집 서버(130)로 전송하는 것으로 결정한다.The first determination unit 119 does not have an entity identifier having time information corresponding to a later time than the time information included in the first entity identifier among entity identifiers for entities previously inserted in the first document. If it is determined that the first new entity is not, it is determined to transmit data on the format attribute of the first new entity to the document editing server 130.

관련해서, 상기 제1 개체 식별자에 포함되어 있는 시간 정보보다 이후 시간에 해당되는 시간 정보를 갖는 개체 식별자가 존재하지 않는다는 의미는 상기 제1 신규 개체가 상기 제1 문서에서 가장 마지막으로 새롭게 생성된 개체라는 의미이기 때문에, 제1 결정부(119)는 상기 제1 신규 개체의 서식 속성에 대한 데이터를 문서 편집 서버(130)로 전송하는 것으로 결정할 수 있다.In relation to this, the meaning that there is no entity identifier having time information corresponding to a time later than the time information included in the first entity identifier means that the first new entity is the last newly created entity in the first document. Because it means, the first determination unit 119 may determine to transmit the data on the format attribute of the first new entity to the document editing server 130.

제2 결정부(120)는 상기 제1 문서에 기 삽입되어 있는 개체들에 대한 개체 식별자 중 상기 제1 개체 식별자에 포함되어 있는 시간 정보보다 이후 시간에 해당되는 시간 정보를 갖는 개체 식별자가 존재하는 것으로 확인된 경우, 상기 제1 신규 개체의 서식 속성에 대한 데이터를 문서 편집 서버(130)로 전송하지 않는 것으로 결정한다.The second determination unit 120 includes an entity identifier having time information corresponding to a later time than the time information included in the first entity identifier among entity identifiers for entities previously inserted in the first document. When it is confirmed that it is determined not to transmit the data on the format attribute of the first new entity to the document editing server 130.

관련해서, 상기 제1 개체 식별자에 포함되어 있는 시간 정보보다 이후 시간에 해당되는 시간 정보를 갖는 개체 식별자가 존재한다는 의미는 상기 제1 신규 개체가 상기 제1 문서에서 기 존재하고 있던 개체로부터 복사됨에 따라 기존 개체의 시간 정보를 상속하였다는 의미이기 때문에, 제2 결정부(120)는 상기 제1 신규 개체의 서식 속성에 대한 데이터를 문서 편집 서버(130)로 전송하지 않는 것으로 결정할 수 있다.In relation to this, the meaning of the existence of an entity identifier having time information corresponding to a time later than the time information included in the first entity identifier means that the first new entity is copied from an entity that already exists in the first document. Accordingly, since it means that the time information of the existing entity is inherited, the second determination unit 120 may determine that the data on the format attribute of the first new entity is not transmitted to the document editing server 130.

편집 정보 동기화부(117)는 상기 제1 신규 개체의 서식 속성에 대한 데이터를 문서 편집 서버(130)로 전송하는 것으로 결정된 경우, 상기 제1 개체 식별자와 상기 제1 신규 개체의 서식 속성에 대한 데이터를 문서 편집 서버(130)로 전송하고, 상기 제1 신규 개체의 서식 속성에 대한 데이터를 문서 편집 서버(130)로 전송하지 않는 것으로 결정된 경우, 상기 제1 개체 식별자만을 문서 편집 서버(130)로 전송한다.When it is determined that the editing information synchronization unit 117 transmits the data on the format property of the first new entity to the document editing server 130, the first entity identifier and data on the format property of the first new entity Is transmitted to the document editing server 130, and when it is determined not to transmit the data on the format attribute of the first new entity to the document editing server 130, only the first entity identifier is sent to the document editing server 130. send.

이때, 본 발명의 일실시예에 따르면, 문서 편집 서버(130)는 전자 단말 장치(110)로부터 상기 제1 개체 식별자와 상기 제1 신규 개체의 서식 속성에 대한 데이터가 수신된 경우, 상기 제1 문서 데이터에 상기 제1 개체 식별자와 상기 제1 신규 개체의 서식 속성에 대한 데이터를 서로 대응시켜 추가할 수 있다.In this case, according to an embodiment of the present invention, when the first entity identifier and data on the format attribute of the first new entity are received from the electronic terminal device 110, the document editing server 130 The first entity identifier and data on the format attribute of the first new entity may be added to the document data in correspondence with each other.

하지만, 문서 편집 서버(130)는 전자 단말 장치(110)로부터 상기 제1 개체 식별자만이 수신된 경우, 상기 제1 문서 데이터에 포함되어 있는 상기 제1 문서에 기 삽입된 개체들에 대한 개체 식별자 중 상기 제1 개체 식별자에 포함되어 있는 시간 정보와 동일한 시간 정보를 갖는 제2 개체 식별자를 확인하고, 상기 제1 문서 데이터로부터 상기 제2 개체 식별자에 대응하여 존재하는 서식 속성에 대한 데이터를 추출한 후 상기 제1 문서 데이터에 상기 제1 개체 식별자와 상기 추출된 서식 속성에 대한 데이터를 서로 대응시켜 추가할 수 있다.However, when only the first entity identifier is received from the electronic terminal device 110, the document editing server 130 is an entity identifier for entities previously inserted into the first document included in the first document data. After confirming the second entity identifier having the same time information as the time information included in the first entity identifier, extracting data on the format attribute present corresponding to the second entity identifier from the first document data The first object identifier and data on the extracted format attribute may be added to the first document data by matching each other.

즉, 전자 단말 장치(110)로부터 상기 제1 개체 식별자와 상기 제1 신규 개체의 서식 속성에 대한 데이터가 모두 수신된 경우, 상기 제1 신규 개체가 상기 제1 문서에서 존재하지 않던 새로운 개체라는 의미이기 때문에 문서 편집 서버(130)는 상기 제1 문서 데이터에 상기 제1 개체 식별자와 상기 제1 신규 개체의 서식 속성에 대한 데이터를 서로 대응시켜 추가함으로써, 상기 제1 문서 데이터의 편집 상태를 전자 단말 장치(110)에서 표시되고 있는 상기 제1 문서와 동기화할 수 있다.That is, when both the first entity identifier and the data on the format attribute of the first new entity are received from the electronic terminal device 110, it means that the first new entity is a new entity that did not exist in the first document. Therefore, the document editing server 130 adds the first entity identifier and data on the format attribute of the first new entity to the first document data in correspondence with each other, so that the editing state of the first document data It is possible to synchronize with the first document being displayed on the device 110.

하지만, 전자 단말 장치(110)로부터 상기 제1 개체 식별자만이 수신된 경우, 상기 제1 신규 개체가 상기 제1 문서에서 이미 존재하고 있던 기존 개체의 복사본이라는 의미이기 때문에, 문서 편집 서버(130)는 상기 제1 문서 데이터에 포함되어 있는 상기 제1 문서에 기 삽입된 개체들에 대한 개체 식별자 중 상기 제1 개체 식별자에 포함되어 있는 시간 정보와 동일한 시간 정보를 갖는 제2 개체 식별자(즉, 상기 제1 신규 개체에 대한 원본 개체의 개체 식별자)를 확인하고, 상기 제1 문서 데이터로부터 상기 제2 개체 식별자에 대응하여 존재하는 서식 속성에 대한 데이터를 추출한 후 상기 제1 문서 데이터에 상기 제1 개체 식별자와 상기 추출된 서식 속성에 대한 데이터를 서로 대응시켜 추가함으로써, 상기 제1 문서 데이터의 편집 상태를 전자 단말 장치(110)에서 표시되고 있는 상기 제1 문서와 동기화할 수 있다.However, when only the first entity identifier is received from the electronic terminal device 110, since the first new entity is a copy of an existing entity already existing in the first document, the document editing server 130 Is a second entity identifier having the same time information as time information included in the first entity identifier among entity identifiers for entities previously inserted in the first document included in the first document data (ie, the The object identifier of the original object for the first new object) is checked, data on the format attribute existing corresponding to the second object identifier is extracted from the first document data, and then the first object is added to the first document data. By adding an identifier and data on the extracted form attribute in correspondence with each other, the editing state of the first document data can be synchronized with the first document displayed on the electronic terminal device 110.

결국, 본 발명에 따른 전자 단말 장치(110)는 문서 상에 신규 개체가 생성되는 경우, 상기 신규 개체가 기존에 존재하지 않던 완전히 새로운 개체라면, 상기 신규 개체의 개체 식별자와 서식 속성에 대한 데이터를 문서 편집 서버(130)로 전부 전송하지만, 상기 신규 개체가 문서 상에서 존재하고 있던 기존 개체가 복사된 개체라면, 상기 신규 개체에 대한 개체 식별자만을 문서 편집 서버(130)로 전송함으로써, 전자 단말 장치(110)와 문서 편집 서버(130) 사이의 편집 동기화 과정에서 발생하는 데이터 전송량을 줄일 수 있다.As a result, when a new entity is created on a document, the electronic terminal device 110 according to the present invention stores data on the entity identifier and format attribute of the new entity if the new entity is a completely new entity that does not exist. Although the entire object is transmitted to the document editing server 130, if the new object is an existing object existing on the document and is a copied object, only the object identifier for the new object is transmitted to the document editing server 130, so that the electronic terminal device ( 110) and the document editing server 130 may reduce the amount of data transmitted during the editing synchronization process.

본 발명의 일실시예에 다르면, 편집 정보 동기화부(117)는 템플릿 저장부(121), 템플릿 선별부(122), 데이터 결정부(123) 및 동기화 처리부(124)를 포함할 수 있다.According to an embodiment of the present invention, the editing information synchronization unit 117 may include a template storage unit 121, a template selection unit 122, a data determination unit 123, and a synchronization processing unit 124.

템플릿 저장부(121)에는 미리 설정된 복수의 템플릿 서식 속성들에 대한 데이터와 각 템플릿 서식 속성에 대한 데이터를 구분하기 위한 구분자가 서로 대응되어 저장되어 있다.The template storage unit 121 stores data for a plurality of preset template format attributes and a separator for classifying data for each template format attribute in correspondence with each other.

예컨대, 템플릿 저장부(121)에는 하기의 표 1과 같이 데이터가 저장되어 있을 수 있다.For example, data may be stored in the template storage unit 121 as shown in Table 1 below.

템플릿 서식 속성들Template formatting properties 구분자Separator 템플릿 서식 속성 1Template Format Attribute 1 rectanglerectangle 템플릿 서식 속성 2Template Format Attribute 2 triangletriangle 템플릿 서식 속성 3Template Format Attribute 3 circlecircle ...... ......

여기서, 템플릿 서식 속성이란 사용자가 문서에 삽입할 것으로 예상되는 개체의 서식 속성을 템플릿으로 미리 지정한 것을 의미하는 것으로, 도 2의 도면부호 220에 도시된 그림과 같이 '직사각형'이라는 도형 개체에 대한 서식 속성(221)을 템플릿으로 미리 구성해 둔 것을 의미한다.Here, the template format property means that the format property of the object expected to be inserted into the document is pre-specified as a template, and the format for a figure object called'rectangle' as shown in reference numeral 220 of FIG. 2 It means that the attribute 221 is configured in advance as a template.

템플릿 선별부(122)는 결정부(116)에서 상기 제1 신규 개체의 서식 속성에 대한 데이터를 문서 편집 서버(130)로 전송하는 것으로 결정된 경우, 상기 복수의 템플릿 서식 속성들에 대한 데이터 중 상기 제1 신규 개체의 서식 속성에 대한 데이터와의 데이터 일치 비율이 최대인 제1 템플릿 서식 속성에 대한 데이터를 선별한다.When it is determined that the determination unit 116 transmits the data on the format attribute of the first new entity to the document editing server 130, the template selection unit 122 The data for the first template format attribute having a maximum data match ratio with the data for the format attribute of the first new entity is selected.

관련해서, 도 2에 도시된 그림에서 도면부호 210을 상기 제1 신규 개체 측, 도면부호 220을 템플릿 서식 속성 측이라고 하는 경우, 템플릿 선별부(122)는 상기 제1 신규 개체의 서식 속성에 대한 데이터(212)와 템플릿 서식 속성에 대한 데이터(221)를 비교하여 상기 복수의 템플릿 서식 속성들에 대한 데이터 중 데이터 일치 비율이 최대인 상기 제1 템플릿 서식 속성에 대한 데이터를 선별할 수 있다.Relatedly, in the figure shown in FIG. 2, when the reference numeral 210 is referred to as the first new entity side and the reference numeral 220 is referred to as the template format attribute side, the template selection unit 122 By comparing the data 212 and the data 221 on the template format property, data for the first template format property having a maximum data match ratio among the data for the plurality of template format properties may be selected.

데이터 결정부(123)는 상기 제1 템플릿 서식 속성에 대한 데이터가 선별되면, 템플릿 저장부(121)를 참조하여 상기 제1 템플릿 서식 속성에 대한 데이터에 대응하는 제1 구분자를 확인하고, 상기 제1 신규 개체의 서식 속성에 대한 데이터 중 상기 제1 템플릿 서식 속성에 대한 데이터와 일치하지 않는 일부 서식 속성에 대한 데이터를 추출한 후 상기 제1 구분자와 상기 일부 서식 속성에 대한 데이터를 문서 편집 서버(130)로 전송할 상기 제1 신규 개체의 서식 속성에 대한 데이터로 결정한다.When the data for the first template format attribute is selected, the data determination unit 123 checks a first identifier corresponding to the data for the first template format attribute with reference to the template storage unit 121, and 1 After extracting data on some format properties that do not match the data on the first template format property among the format properties of the new entity, the first separator and the data on the some format properties are stored in a document editing server (130). ). It is determined as data on the format attribute of the first new entity to be transmitted.

관련해서, 도 2의 도면부호 220에 도시된 그림과 같은 템플릿 서식 속성이 상기 제1 템플릿 서식 속성으로 선별되었다고 하는 경우, 데이터 결정부(123)는 상기 제1 템플릿 서식 속성에 대응하는 상기 제1 구분자를 확인하고, 상기 제1 신규 개체의 서식 속성에 대한 데이터(212) 중 상기 제1 템플릿 서식 속성에 대한 데이터(221)와 일치하지 않는 일부 서식 속성에 대한 데이터(230)를 추출한 후 상기 제1 구분자와 상기 일부 서식 속성에 대한 데이터(230)를 문서 편집 서버(130)로 전송할 상기 제1 신규 개체의 서식 속성에 대한 데이터로 결정할 수 있다.In relation to the case, when it is assumed that the template format attribute as shown in the figure 220 of FIG. 2 is selected as the first template format attribute, the data determination unit 123 determines the first template format attribute corresponding to the first template format attribute. After checking the delimiter, extracting data 230 for some format attributes that do not match the data 221 for the first template format attribute among the data 212 for the format attribute of the first new entity. 1 The identifier and the data 230 for the partial form attribute may be determined as data for the form attribute of the first new entity to be transmitted to the document editing server 130.

동기화 처리부(124)는 상기 제1 구분자와 상기 일부 서식 속성에 대한 데이터가 문서 편집 서버(130)로 전송할 상기 제1 신규 개체의 서식 속성에 대한 데이터로 결정되면, 상기 제1 개체 식별자와 함께 상기 제1 구분자 및 상기 일부 서식 속성에 대한 데이터를 문서 편집 서버(130)로 전송한다.When the data for the first identifier and the partial form attribute is determined as data for the form attribute of the first new entity to be transmitted to the document editing server 130, the synchronization processing unit 124, together with the first entity identifier, The first separator and data on the partial form attribute are transmitted to the document editing server 130.

이때, 본 발명의 일실시예에 따르면, 문서 편집 서버(130)는 템플릿 저장부(121)와 동일한 데이터가 저장되어 있는 서버측 템플릿 저장부를 포함하고 있고, 전자 단말 장치(110)로부터 상기 제1 개체 식별자와 상기 제1 구분자 및 상기 일부 서식 속성에 대한 데이터가 수신된 경우, 상기 서버측 템플릿 저장부로부터 상기 제1 구분자에 대응되는 제1 템플릿 서식 속성에 대한 데이터를 추출하고, 상기 제1 템플릿 서식 속성에 대한 데이터에서 상기 일부 서식 속성에 대한 데이터를 대체하여 삽입함으로써, 상기 제1 템플릿 서식 속성에 대한 데이터를 수정한 후 상기 제1 문서 데이터에 상기 제1 개체 식별자와 상기 수정된 제1 템플릿 서식 속성에 대한 데이터를 서로 대응시켜 추가할 수 있다.In this case, according to an embodiment of the present invention, the document editing server 130 includes a server-side template storage unit in which the same data as the template storage unit 121 is stored, and the first When the object identifier, the first identifier, and data on the partial format attribute are received, data on the first template format attribute corresponding to the first identifier is extracted from the server-side template storage unit, and the first template The first object identifier and the modified first template in the first document data after modifying the data for the first template form attribute by replacing and inserting the data for the partial form attribute in the form attribute data Data for format attributes can be added by matching each other.

예컨대, 전자 단말 장치(110)로부터 문서 편집 서버(130)로 상기 제1 개체 식별자와 상기 제1 구분자 및 도면부호 230으로 표시한 상기 일부 서식 속성에 대한 데이터(230)가 수신된 경우, 문서 편집 서버(130)는 상기 서버측 템플릿 저장부로부터 상기 제1 구분자에 대응되는 제1 템플릿 서식 속성에 대한 데이터(221)를 추출하고, 상기 제1 템플릿 서식 속성에 대한 데이터(221)에서 상기 일부 서식 속성에 대한 데이터(230)를 대응되는 데이터 삽입 지점(240)에 대체하여 삽입함으로써, 상기 제1 템플릿 서식 속성에 대한 데이터(221)를 수정한 후 상기 제1 문서 데이터에 상기 제1 개체 식별자와 상기 수정된 제1 템플릿 서식 속성에 대한 데이터를 서로 대응시켜 추가할 수 있다.For example, when data 230 for the first entity identifier, the first identifier, and some form attributes indicated by reference numeral 230 are received from the electronic terminal device 110 to the document editing server 130, document editing The server 130 extracts data 221 on the first template format attribute corresponding to the first identifier from the server-side template storage unit, and selects the partial format from the data 221 on the first template format attribute. By replacing and inserting the data 230 for the attribute into the corresponding data insertion point 240, the data 221 for the first template format attribute is modified, and then the first object identifier and the first object identifier are added to the first document data. Data for the modified first template format attribute may be added by matching each other.

즉, 본 발명에 따른 전자 단말 장치(110)는 사용자에 의해 문서에 삽입된 신규 개체의 서식 속성에 대한 데이터를 문서 편집 서버(130)로 전송해야 하는 경우, 상기 서식 속성에 대한 데이터 전부를 문서 편집 서버(130)로 전송하는 것이 아니라, 대응되는 템플릿 서식 속성과 비교하여 차이가 있는 부분의 서식 속성의 데이터만을 문서 편집 서버(130)로 전송함으로써, 전자 단말 장치(110)와 문서 편집 서버(130) 사이의 편집 동기화 과정에서 발생하는 데이터 전송량을 줄일 수 있다.That is, when the electronic terminal device 110 according to the present invention needs to transmit data on the format property of a new object inserted in a document by the user to the document editing server 130, the entire data on the format property is The electronic terminal device 110 and the document editing server 130 are not transmitted to the editing server 130, but are transmitted to the document editing server 130 by only transmitting the data of the format attribute of the portion that is different compared to the corresponding template form attribute. 130), it is possible to reduce the amount of data transmitted during the process of synchronizing edits.

도 3은 본 발명의 일실시예에 따른 문서 편집 서버와 연동하여 웹 기반의 문서 작성을 가능하게 하는 전자 단말 장치의 동작 방법을 도시한 순서도이다.3 is a flowchart illustrating a method of operating an electronic terminal device that enables web-based document creation in connection with a document editing server according to an embodiment of the present invention.

단계(S310)에서는 문서에 삽입되는 신규 개체가 상기 문서에 존재하지 않는 새로운 개체인 경우, 상기 신규 개체의 상기 문서에서의 삽입 시점에 대한 시간 정보와 상기 문서에 대한 작성자를 식별하기 위한 작성자 식별자 및 상기 신규 개체에 대한 고유 일련 번호를 조합하여 상기 신규 개체에 대한 개체 식별자를 할당하도록 규정한 제1 규정 데이터와, 상기 문서에 삽입되는 상기 신규 개체가 상기 문서에 이미 존재하고 있는 기존 개체가 복사되어 생성된 개체인 경우, 상기 기존 개체의 개체 식별자에 포함되어 있는 상기 기존 개체의 상기 문서에서의 삽입 시점에 대한 시간 정보와 상기 문서에 대한 작성자를 식별하기 위한 작성자 식별자 및 상기 신규 개체에 대한 고유 일련 번호를 조합하여 상기 신규 개체에 대한 개체 식별자를 할당하도록 규정한 제2 규정 데이터가 저장되어 있는 규정 데이터 저장부를 유지한다.In step S310, when the new entity inserted in the document is a new entity that does not exist in the document, time information on the insertion point of the new entity in the document and an author identifier for identifying the creator of the document, and First provisional data defining to allocate an entity identifier for the new entity by combining a unique serial number for the new entity, and an existing entity in which the new entity inserted into the document already exists in the document is copied. In the case of a created entity, time information on the insertion time of the existing entity in the document included in the entity identifier of the existing entity, an author identifier for identifying the author of the document, and a unique sequence for the new entity A rule data storage unit in which second rule data prescribed to assign an entity identifier to the new entity by combining numbers is stored.

단계(S320)에서는 사용자에 의해 제1 문서에 대한 작성 시작 명령이 인가되면, 복수의 문서들에 대한 문서 데이터(상기 문서 데이터는 상기 복수의 문서들 각각의 편집 상태를 나타내기 위한 사전 설정된 포맷의 데이터로, 상기 문서 데이터에는 각 문서에 삽입되어 있는 개체들의 서식 속성에 대한 데이터가 각 개체에 할당된 개체 식별자별로 구분되어 포함되어 있음)가 저장되어 있는 문서 편집 서버로부터 상기 제1 문서에 대한 제1 문서 데이터를 수신한다.In step S320, when the user applies a command to start writing the first document, document data for a plurality of documents (the document data is in a preset format for indicating the editing state of each of the plurality of documents). As data, the document data includes data on the format properties of the objects inserted in each document, separated by object identifiers assigned to each object). 1 Receive document data.

단계(S330)에서는 상기 제1 문서 데이터가 수신되면, 브라우저 상에서 구동되는 웹 편집기를 통해 상기 제1 문서 데이터를 파싱하여 상기 제1 문서를 화면 상에 표시한다.In step S330, when the first document data is received, the first document data is parsed through a web editor running on a browser, and the first document is displayed on the screen.

단계(S340)에서는 상기 사용자에 의해 상기 화면 상에 표시되고 있는 상기 제1 문서에 제1 신규 개체가 삽입되는 경우, 상기 제1 신규 개체가 상기 제1 문서에 존재하지 않는 새로운 개체인지, 상기 제1 신규 개체가 상기 제1 문서에 이미 존재하고 있는 기존 개체가 복사되어 생성된 개체인지 여부에 따라 상기 제1 규정 데이터와 상기 제2 규정 데이터에 기초하여 상기 제1 신규 개체에 대해 제1 개체 식별자를 할당한다.In step S340, when a first new object is inserted into the first document displayed on the screen by the user, whether the first new object is a new object that does not exist in the first document, the first 1 A first entity identifier for the first new entity based on the first rule data and the second rule data according to whether the new entity is an entity created by copying an existing entity already existing in the first document. Is assigned.

단계(S350)에서는 상기 제1 개체 식별자가 할당되면, 상기 제1 신규 개체가 상기 제1 문서에 삽입된 것에 대응되도록 상기 문서 편집 서버에 저장되어 있는 상기 제1 문서 데이터에 상기 제1 신규 개체에 대한 삽입을 반영하기 위한 동기화 이벤트를 발생시킨다.In step S350, when the first entity identifier is assigned, the first new entity is assigned to the first document data stored in the document editing server so as to correspond to the insertion of the first new entity into the first document. Generates a synchronization event to reflect the insertion of the data.

단계(S360)에서는 상기 동기화 이벤트가 발생되면, 상기 제1 개체 식별자에 포함되어 있는 시간 정보를 기초로 상기 제1 신규 개체의 서식 속성에 대한 데이터의 상기 문서 편집 서버로의 전송 여부를 결정한다.In step S360, when the synchronization event occurs, it is determined whether to transmit data on the format property of the first new entity to the document editing server based on time information included in the first entity identifier.

단계(S370)에서는 상기 제1 신규 개체의 서식 속성에 대한 데이터를 상기 문서 편집 서버로 전송하는 것으로 결정된 경우, 상기 제1 개체 식별자와 상기 제1 신규 개체의 서식 속성에 대한 데이터를 상기 문서 편집 서버로 전송하고, 상기 제1 신규 개체의 서식 속성에 대한 데이터를 상기 문서 편집 서버로 전송하지 않는 것으로 결정된 경우, 상기 제1 개체 식별자만을 상기 문서 편집 서버로 전송한다.In step S370, when it is determined to transmit data on the format property of the first new entity to the document editing server, the first entity identifier and data on the format property of the first new entity are transferred to the document editing server. When it is determined not to transmit the data on the format attribute of the first new entity to the document editing server, only the first entity identifier is transmitted to the document editing server.

이때, 본 발명의 일실시예에 따르면, 단계(S360)에서는 상기 동기화 이벤트가 발생되면, 상기 제1 문서에 기 삽입되어 있는 개체들에 대한 개체 식별자 중 상기 제1 개체 식별자에 포함되어 있는 시간 정보보다 이후 시간에 해당되는 시간 정보를 갖는 개체 식별자가 존재하는지 여부를 확인하는 단계, 상기 제1 문서에 기 삽입되어 있는 개체들에 대한 개체 식별자 중 상기 제1 개체 식별자에 포함되어 있는 시간 정보보다 이후 시간에 해당되는 시간 정보를 갖는 개체 식별자가 존재하지 않는 것으로 확인된 경우, 상기 제1 신규 개체의 서식 속성에 대한 데이터를 상기 문서 편집 서버로 전송하는 것으로 결정하는 단계 및 상기 제1 문서에 기 삽입되어 있는 개체들에 대한 개체 식별자 중 상기 제1 개체 식별자에 포함되어 있는 시간 정보보다 이후 시간에 해당되는 시간 정보를 갖는 개체 식별자가 존재하는 것으로 확인된 경우, 상기 제1 신규 개체의 서식 속성에 대한 데이터를 상기 문서 편집 서버로 전송하지 않는 것으로 결정하는 단계를 포함할 수 있다.At this time, according to an embodiment of the present invention, in step S360, when the synchronization event occurs, time information included in the first entity identifier among entity identifiers for entities previously inserted in the first document Checking whether there is an entity identifier having time information corresponding to a later time, after time information included in the first entity identifier among entity identifiers for entities previously inserted in the first document When it is determined that the entity identifier having time information corresponding to the time does not exist, determining to transmit the data on the format attribute of the first new entity to the document editing server, and inserting it into the first document If it is determined that there is an entity identifier having time information corresponding to a later time than the time information included in the first entity identifier among the entity identifiers of the entities, the format property of the first new entity It may include determining not to transmit data to the document editing server.

이때, 본 발명의 일실시예에 따르면, 상기 문서 편집 서버는 상기 전자 단말 장치로부터 상기 제1 개체 식별자와 상기 제1 신규 개체의 서식 속성에 대한 데이터가 수신된 경우, 상기 제1 문서 데이터에 상기 제1 개체 식별자와 상기 제1 신규 개체의 서식 속성에 대한 데이터를 서로 대응시켜 추가할 수 있고, 상기 전자 단말 장치로부터 상기 제1 개체 식별자만이 수신된 경우, 상기 제1 문서 데이터에 포함되어 있는 상기 제1 문서에 기 삽입된 개체들에 대한 개체 식별자 중 상기 제1 개체 식별자에 포함되어 있는 시간 정보와 동일한 시간 정보를 갖는 제2 개체 식별자를 확인하고, 상기 제1 문서 데이터로부터 상기 제2 개체 식별자에 대응하여 존재하는 서식 속성에 대한 데이터를 추출한 후 상기 제1 문서 데이터에 상기 제1 개체 식별자와 상기 추출된 서식 속성에 대한 데이터를 서로 대응시켜 추가할 수 있다.At this time, according to an embodiment of the present invention, when the first entity identifier and data on the format attribute of the first new entity are received from the electronic terminal device, the document editing server may add the first document data to the first document data. When the first entity identifier and data on the format attribute of the first new entity are associated with each other, and only the first entity ID is received, the first document data includes A second entity identifier having the same time information as time information included in the first entity identifier among entity identifiers for entities previously inserted in the first document is identified, and the second entity from the first document data After extracting data on a format attribute corresponding to an identifier, the first object identifier and data on the extracted format attribute may be added to the first document data by matching each other.

또한, 본 발명의 일실시예에 따르면, 단계(S370)에서는 미리 설정된 복수의 템플릿 서식 속성들에 대한 데이터와 각 템플릿 서식 속성에 대한 데이터를 구분하기 위한 구분자가 서로 대응되어 저장되어 있는 템플릿 저장부를 유지하는 단계, 상기 제1 신규 개체의 서식 속성에 대한 데이터를 상기 문서 편집 서버로 전송하는 것으로 결정된 경우, 상기 복수의 템플릿 서식 속성들에 대한 데이터 중 상기 제1 신규 개체의 서식 속성에 대한 데이터와의 데이터 일치 비율이 최대인 제1 템플릿 서식 속성에 대한 데이터를 선별하는 단계, 상기 제1 템플릿 서식 속성에 대한 데이터가 선별되면, 상기 템플릿 저장부를 참조하여 상기 제1 템플릿 서식 속성에 대한 데이터에 대응하는 제1 구분자를 확인하고, 상기 제1 신규 개체의 서식 속성에 대한 데이터 중 상기 제1 템플릿 서식 속성에 대한 데이터와 일치하지 않는 일부 서식 속성에 대한 데이터를 추출한 후 상기 제1 구분자와 상기 일부 서식 속성에 대한 데이터를 상기 문서 편집 서버로 전송할 상기 제1 신규 개체의 서식 속성에 대한 데이터로 결정하는 단계 및 상기 제1 구분자와 상기 일부 서식 속성에 대한 데이터가 상기 문서 편집 서버로 전송할 상기 제1 신규 개체의 서식 속성에 대한 데이터로 결정되면, 상기 제1 개체 식별자와 함께 상기 제1 구분자 및 상기 일부 서식 속성에 대한 데이터를 상기 문서 편집 서버로 전송하는 단계를 포함할 수 있다.In addition, according to an embodiment of the present invention, in step S370, a template storage unit in which data for a plurality of preset template format attributes and a separator for classifying data for each template format attribute correspond to each other and are stored. Maintaining, when it is determined to transmit the data on the format property of the first new entity to the document editing server, the data on the format property of the first new entity among the data on the plurality of template format properties and Selecting data for a first template format attribute having a maximum data match ratio of, and when data for the first template format attribute is selected, corresponding to the data for the first template format attribute by referring to the template storage unit The first delimiter and the partial form after extracting data for some format attributes that do not match the data for the first template form attribute among the data for the form attribute of the first new entity Determining data on the attribute as data on the format attribute of the first new entity to be transmitted to the document editing server, and the first new entity to transmit the data on the first identifier and the partial form attribute to the document editing server If it is determined as data on the format property of the object, transmitting the data on the first identifier and the partial format property together with the first entity identifier to the document editing server.

이때, 본 발명의 일실시예에 따르면, 상기 문서 편집 서버는 상기 템플릿 저장부와 동일한 데이터가 저장되어 있는 서버측 템플릿 저장부를 포함하고 있고, 상기 전자 단말 장치로부터 상기 제1 개체 식별자와 상기 제1 구분자 및 상기 일부 서식 속성에 대한 데이터가 수신된 경우, 상기 서버측 템플릿 저장부로부터 상기 제1 구분자에 대응되는 제1 템플릿 서식 속성에 대한 데이터를 추출하고, 상기 제1 템플릿 서식 속성에 대한 데이터에서 상기 일부 서식 속성에 대한 데이터를 대체하여 삽입함으로써, 상기 제1 템플릿 서식 속성에 대한 데이터를 수정한 후 상기 제1 문서 데이터에 상기 제1 개체 식별자와 상기 수정된 제1 템플릿 서식 속성에 대한 데이터를 서로 대응시켜 추가할 수 있다.In this case, according to an embodiment of the present invention, the document editing server includes a server-side template storage unit in which the same data as the template storage unit is stored, and the first entity identifier and the first When data for a separator and some form attributes are received, data for a first template form attribute corresponding to the first separator is extracted from the server-side template storage unit, and data for the first template form attribute By replacing and inserting data for the partial format attribute, the first object identifier and the data for the modified first template format attribute are added to the first document data after correcting the data for the first template format attribute. They can be added by matching each other.

이상, 도 3을 참조하여 본 발명의 일실시예에 따른 문서 편집 서버와 연동하여 웹 기반의 문서 작성을 가능하게 하는 전자 단말 장치의 동작 방법에 대해 설명하였다. 여기서, 본 발명의 일실시예에 따른 문서 편집 서버와 연동하여 웹 기반의 문서 작성을 가능하게 하는 전자 단말 장치의 동작 방법은 도 1과 도 2를 이용하여 설명한 문서 편집 서버와 연동하여 웹 기반의 문서 작성을 가능하게 하는 전자 단말 장치(110)의 동작에 대한 구성과 대응될 수 있으므로, 이에 대한 보다 상세한 설명은 생략하기로 한다.In the above, a method of operating an electronic terminal device that enables web-based document creation in connection with a document editing server according to an embodiment of the present invention has been described with reference to FIG. Here, the method of operating an electronic terminal device that enables web-based document creation in connection with a document editing server according to an embodiment of the present invention is a web-based method in connection with the document editing server described with reference to FIGS. 1 and 2. Since it may correspond to the configuration of the operation of the electronic terminal device 110 that enables document creation, a more detailed description thereof will be omitted.

본 발명의 일실시예에 따른 문서 편집 서버와 연동하여 웹 기반의 문서 작성을 가능하게 하는 전자 단말 장치의 동작 방법은 컴퓨터와의 결합을 통해 실행시키기 위한 저장매체에 저장된 컴퓨터 프로그램으로 구현될 수 있다.An operation method of an electronic terminal device that enables web-based document creation in connection with a document editing server according to an embodiment of the present invention may be implemented as 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 method of operating an electronic terminal device that enables web-based document creation by interlocking with a document editing server according to an embodiment of the present invention is implemented in the form of program commands that can be executed through various computer means and can be read by a computer. Can be recorded on media. The computer-readable medium may include program instructions, data files, data structures, and the like alone or in combination. The program instructions recorded in the medium may be specially designed and configured for the present invention, or may be known and usable to those skilled in computer software. Examples of computer-readable recording media include magnetic media such as hard disks, floppy disks, and magnetic tapes, optical media such as CD-ROMs and DVDs, and magnetic media such as floptical disks. -A hardware device specially configured to store and execute program instructions such as magneto-optical media, and ROM, RAM, flash memory, and the like. Examples of program instructions include not only machine language codes such as those produced by a compiler but also high-level language codes that can be executed by a computer using an interpreter or the like.

이상과 같이 본 발명에서는 구체적인 구성 요소 등과 같은 특정 사항들과 한정된 실시예 및 도면에 의해 설명되었으나 이는 본 발명의 보다 전반적인 이해를 돕기 위해서 제공된 것일 뿐, 본 발명은 상기의 실시예에 한정되는 것은 아니며, 본 발명이 속하는 분야에서 통상적인 지식을 가진 자라면 이러한 기재로부터 다양한 수정 및 변형이 가능하다.As described above, in the present invention, specific matters such as specific components, etc., and limited embodiments and drawings have been described, but this is provided only to help a more general understanding of the present invention, and the present invention is not limited to the above embodiments. , If a person of ordinary skill in the field to which the present invention belongs, various modifications and variations are possible from these descriptions.

따라서, 본 발명의 사상은 설명된 실시예에 국한되어 정해져서는 아니되며, 후술하는 특허청구범위뿐 아니라 이 특허청구범위와 균등하거나 등가적 변형이 있는 모든 것들은 본 발명 사상의 범주에 속한다고 할 것이다.Therefore, the spirit of the present invention is limited to the described embodiments and should not be defined, and all things that are equivalent or equivalent to the claims as well as the claims to be described later fall within the scope of the spirit of the present invention. .

110: 문서 편집 서버와 연동하여 웹 기반의 문서 작성을 가능하게 하는 전자 단말 장치
111: 규정 데이터 저장부 112: 문서 데이터 수신부
113: 문서 표시부 114: 식별자 할당부
115: 동기화 이벤트 발생부 116: 결정부
117: 편집 정보 동기화부 118: 시간 정보 확인부
119: 제1 결정부 120: 제2 결정부
121: 템플릿 저장부 122: 템플릿 선별부
123: 데이터 결정부 124: 동기화 처리부
130: 문서 편집 서버
110: An electronic terminal device that enables web-based document creation by interlocking with a document editing server
111: regulatory data storage unit 112: document data receiving unit
113: document display unit 114: identifier allocation unit
115: synchronization event generation unit 116: determination unit
117: editing information synchronization unit 118: time information confirmation unit
119: first decision unit 120: second decision unit
121: template storage unit 122: template selection unit
123: data determination unit 124: synchronization processing unit
130: document editing server

Claims (12)

문서에 삽입되는 신규 개체가 상기 문서에 존재하지 않는 새로운 개체인 경우, 상기 신규 개체의 상기 문서에서의 삽입 시점에 대한 시간 정보와 상기 문서에 대한 작성자를 식별하기 위한 작성자 식별자 및 상기 신규 개체에 대한 고유 일련 번호를 조합하여 상기 신규 개체에 대한 개체 식별자를 할당하도록 규정한 제1 규정 데이터와, 상기 문서에 삽입되는 상기 신규 개체가 상기 문서에 이미 존재하고 있는 기존 개체가 복사되어 생성된 개체인 경우, 상기 기존 개체의 개체 식별자에 포함되어 있는 상기 기존 개체의 상기 문서에서의 삽입 시점에 대한 시간 정보와 상기 문서에 대한 작성자를 식별하기 위한 작성자 식별자 및 상기 신규 개체에 대한 고유 일련 번호를 조합하여 상기 신규 개체에 대한 개체 식별자를 할당하도록 규정한 제2 규정 데이터가 저장되어 있는 규정 데이터 저장부;
사용자에 의해 제1 문서에 대한 작성 시작 명령이 인가되면, 복수의 문서들에 대한 문서 데이터 - 상기 문서 데이터는 상기 복수의 문서들 각각의 편집 상태를 나타내기 위한 사전 설정된 포맷의 데이터로, 상기 문서 데이터에는 각 문서에 삽입되어 있는 개체들의 서식 속성에 대한 데이터가 각 개체에 할당된 개체 식별자별로 구분되어 포함되어 있음 - 가 저장되어 있는 문서 편집 서버로부터 상기 제1 문서에 대한 제1 문서 데이터를 수신하는 문서 데이터 수신부;
상기 제1 문서 데이터가 수신되면, 브라우저 상에서 구동되는 웹 편집기를 통해 상기 제1 문서 데이터를 파싱(parsing)하여 상기 제1 문서를 화면 상에 표시하는 문서 표시부;
상기 사용자에 의해 상기 화면 상에 표시되고 있는 상기 제1 문서에 제1 신규 개체가 삽입되는 경우, 상기 제1 신규 개체가 상기 제1 문서에 존재하지 않는 새로운 개체인지, 상기 제1 신규 개체가 상기 제1 문서에 이미 존재하고 있는 기존 개체가 복사되어 생성된 개체인지 여부에 따라 상기 제1 규정 데이터와 상기 제2 규정 데이터에 기초하여 상기 제1 신규 개체에 대해 제1 개체 식별자를 할당하는 식별자 할당부;
상기 제1 개체 식별자가 할당되면, 상기 제1 신규 개체가 상기 제1 문서에 삽입된 것에 대응되도록 상기 문서 편집 서버에 저장되어 있는 상기 제1 문서 데이터에 상기 제1 신규 개체에 대한 삽입을 반영하기 위한 동기화 이벤트를 발생시키는 동기화 이벤트 발생부;
상기 동기화 이벤트가 발생되면, 상기 제1 개체 식별자에 포함되어 있는 시간 정보를 기초로 상기 제1 신규 개체의 서식 속성에 대한 데이터의 상기 문서 편집 서버로의 전송 여부를 결정하는 결정부; 및
상기 제1 신규 개체의 서식 속성에 대한 데이터를 상기 문서 편집 서버로 전송하는 것으로 결정된 경우, 상기 제1 개체 식별자와 상기 제1 신규 개체의 서식 속성에 대한 데이터를 상기 문서 편집 서버로 전송하고, 상기 제1 신규 개체의 서식 속성에 대한 데이터를 상기 문서 편집 서버로 전송하지 않는 것으로 결정된 경우, 상기 제1 개체 식별자만을 상기 문서 편집 서버로 전송하는 편집 정보 동기화부
를 포함하는 문서 편집 서버와 연동하여 웹 기반의 문서 작성을 처리하는 전자 단말 장치.
When the new entity inserted in the document is a new entity that does not exist in the document, time information on the insertion time of the new entity in the document, an author identifier for identifying the author of the document, and the new entity When the first provisional data specifying that an entity identifier for the new entity is assigned by combining a unique serial number, and the new entity inserted in the document is an entity created by copying an existing entity already existing in the document , By combining time information on the insertion time of the existing entity included in the entity identifier of the existing entity in the document, a writer identifier for identifying the creator of the document, and a unique serial number for the new entity, the A regulation data storage unit in which second regulation data prescribed to allocate an entity identifier to a new entity is stored;
When a user applies a command to start writing a first document, document data for a plurality of documents-the document data is data of a preset format for indicating the editing status of each of the plurality of documents, and the document The data includes data on the formatting properties of the objects inserted in each document, separated by object identifier assigned to each object.-Receives the first document data for the first document from the document editing server where is stored. A document data receiving unit;
A document display unit for parsing the first document data through a web editor running on a browser and displaying the first document on a screen when the first document data is received;
When a first new entity is inserted into the first document displayed on the screen by the user, whether the first new entity is a new entity that does not exist in the first document, the first new entity is the Identifier assignment for allocating a first entity identifier to the first new entity based on the first rule data and the second rule data according to whether an existing entity already existing in the first document is an entity created by copying it part;
When the first entity identifier is assigned, reflecting the insertion of the first new entity in the first document data stored in the document editing server to correspond to the insertion of the first new entity into the first document A synchronization event generator for generating a synchronization event for;
When the synchronization event occurs, a determination unit for determining whether to transmit data on the format attribute of the first new entity to the document editing server based on time information included in the first entity identifier; And
When it is determined to transmit data on the format attribute of the first new entity to the document editing server, the first entity identifier and data on the format attribute of the first new entity are transmitted to the document editing server, and the When it is determined not to transmit data on the format attribute of the first new entity to the document editing server, an editing information synchronization unit that transmits only the first entity identifier to the document editing server
An electronic terminal device that interworks with a document editing server including a web-based document creation process.
제1항에 있어서,
상기 결정부는
상기 동기화 이벤트가 발생되면, 상기 제1 문서에 기 삽입되어 있는 개체들에 대한 개체 식별자 중 상기 제1 개체 식별자에 포함되어 있는 시간 정보보다 이후 시간에 해당되는 시간 정보를 갖는 개체 식별자가 존재하는지 여부를 확인하는 시간 정보 확인부;
상기 제1 문서에 기 삽입되어 있는 개체들에 대한 개체 식별자 중 상기 제1 개체 식별자에 포함되어 있는 시간 정보보다 이후 시간에 해당되는 시간 정보를 갖는 개체 식별자가 존재하지 않는 것으로 확인된 경우, 상기 제1 신규 개체의 서식 속성에 대한 데이터를 상기 문서 편집 서버로 전송하는 것으로 결정하는 제1 결정부; 및
상기 제1 문서에 기 삽입되어 있는 개체들에 대한 개체 식별자 중 상기 제1 개체 식별자에 포함되어 있는 시간 정보보다 이후 시간에 해당되는 시간 정보를 갖는 개체 식별자가 존재하는 것으로 확인된 경우, 상기 제1 신규 개체의 서식 속성에 대한 데이터를 상기 문서 편집 서버로 전송하지 않는 것으로 결정하는 제2 결정부
를 포함하는 문서 편집 서버와 연동하여 웹 기반의 문서 작성을 처리하는 전자 단말 장치.
The method of claim 1,
The decision part
When the synchronization event occurs, whether there is an entity identifier having time information corresponding to a time later than the time information included in the first entity identifier among entity identifiers for entities previously inserted in the first document. Time information confirmation unit to check;
When it is determined that there is no entity identifier having time information corresponding to a time later than the time information included in the first entity identifier among entity identifiers for entities previously inserted in the first document, the first 1 a first determining unit that determines to transmit data on a format attribute of a new entity to the document editing server; And
When it is determined that there is an entity identifier having time information corresponding to a later time than the time information included in the first entity identifier among entity identifiers for entities previously inserted in the first document, the first A second decision unit that determines not to transmit data on the format attribute of a new entity to the document editing server
An electronic terminal device that interworks with a document editing server including a web-based document creation process.
제2항에 있어서,
상기 문서 편집 서버는
상기 전자 단말 장치로부터 상기 제1 개체 식별자와 상기 제1 신규 개체의 서식 속성에 대한 데이터가 수신된 경우, 상기 제1 개체 식별자와 상기 제1 신규 개체의 서식 속성에 대한 데이터를 서로 대응시켜 상기 제1 문서 데이터 상에 추가하고, 상기 전자 단말 장치로부터 상기 제1 개체 식별자만이 수신된 경우, 상기 제1 문서 데이터에 포함되어 있는 상기 제1 문서에 기 삽입된 개체들에 대한 개체 식별자 중 상기 제1 개체 식별자에 포함되어 있는 시간 정보와 동일한 시간 정보를 갖는 제2 개체 식별자를 확인하고, 상기 제1 문서 데이터로부터 상기 제2 개체 식별자에 대응하여 존재하는 서식 속성에 대한 데이터를 추출한 후 상기 제1 개체 식별자와 상기 추출된 서식 속성에 대한 데이터를 서로 대응시켜 상기 제1 문서 데이터 상에 추가하는 것을 특징으로 하는,
문서 편집 서버와 연동하여 웹 기반의 문서 작성을 처리하는 전자 단말 장치.
The method of claim 2,
The document editing server
When the data on the first entity identifier and the format attribute of the first new entity are received from the electronic terminal device, the first entity identifier and the data on the format attribute of the first new entity are correlated with each other, 1 When it is added to document data and only the first entity identifier is received from the electronic terminal device, the first among entity identifiers for entities previously inserted in the first document included in the first document data 1 After confirming a second entity identifier having time information identical to the time information included in the entity identifier, extracting data on a format attribute corresponding to the second entity identifier from the first document data, the first Characterized in that the object identifier and the data on the extracted format attribute are correlated with each other and added to the first document data,
An electronic terminal device that interworks with a document editing server to process web-based document creation.
제1항에 있어서,
상기 편집 정보 동기화부는
미리 설정된 복수의 템플릿 서식 속성들에 대한 데이터와 각 템플릿 서식 속성에 대한 데이터를 구분하기 위한 구분자가 서로 대응되어 저장되어 있는 템플릿 저장부;
상기 제1 신규 개체의 서식 속성에 대한 데이터를 상기 문서 편집 서버로 전송하는 것으로 결정된 경우, 상기 복수의 템플릿 서식 속성들에 대한 데이터 중 상기 제1 신규 개체의 서식 속성에 대한 데이터와의 데이터 일치 비율이 최대인 제1 템플릿 서식 속성에 대한 데이터를 선별하는 템플릿 선별부;
상기 제1 템플릿 서식 속성에 대한 데이터가 선별되면, 상기 템플릿 저장부를 참조하여 상기 제1 템플릿 서식 속성에 대한 데이터에 대응하는 제1 구분자를 확인하고, 상기 제1 신규 개체의 서식 속성에 대한 데이터 중 상기 제1 템플릿 서식 속성에 대한 데이터와 일치하지 않는 일부 서식 속성에 대한 데이터를 추출한 후 상기 제1 구분자와 상기 일부 서식 속성에 대한 데이터를 상기 문서 편집 서버로 전송할 상기 제1 신규 개체의 서식 속성에 대한 데이터로 결정하는 데이터 결정부; 및
상기 제1 구분자와 상기 일부 서식 속성에 대한 데이터가 상기 문서 편집 서버로 전송할 상기 제1 신규 개체의 서식 속성에 대한 데이터로 결정되면, 상기 제1 개체 식별자와 함께 상기 제1 구분자 및 상기 일부 서식 속성에 대한 데이터를 상기 문서 편집 서버로 전송하는 동기화 처리부
를 포함하는 문서 편집 서버와 연동하여 웹 기반의 문서 작성을 처리하는 전자 단말 장치.
The method of claim 1,
The editing information synchronization unit
A template storage unit in which data on a plurality of pre-set template format properties and a delimiter for classifying data on each template format property are stored in correspondence with each other;
When it is determined to transmit the data on the format attribute of the first new entity to the document editing server, a data match ratio between the data on the plurality of template format attributes and the data on the format attribute of the first new entity A template selection unit that selects data for the largest first template format attribute;
When the data for the first template format attribute is selected, a first delimiter corresponding to the data for the first template format attribute is checked with reference to the template storage unit, and among the data for the format attribute of the first new entity After extracting data on some format properties that do not match the data on the first template format property, the first separator and the data on the some format properties are transmitted to the document editing server to the format property of the first new entity. A data determination unit that determines data about the data; And
When the data on the first separator and the partial format attribute are determined as data on the format attribute of the first new entity to be transmitted to the document editing server, the first separator and the partial format attribute together with the first entity identifier Synchronization processing unit for transmitting data for the document to the document editing server
An electronic terminal device that interworks with a document editing server including a web-based document creation process.
제4항에 있어서,
상기 문서 편집 서버는
상기 템플릿 저장부와 동일한 데이터가 저장되어 있는 서버측 템플릿 저장부를 포함하고 있고, 상기 전자 단말 장치로부터 상기 제1 개체 식별자와 상기 제1 구분자 및 상기 일부 서식 속성에 대한 데이터가 수신된 경우, 상기 서버측 템플릿 저장부로부터 상기 제1 구분자에 대응되는 제1 템플릿 서식 속성에 대한 데이터를 추출하고, 상기 제1 템플릿 서식 속성에 대한 데이터에서 상기 일부 서식 속성에 대한 데이터를 대체하여 삽입함으로써, 상기 제1 템플릿 서식 속성에 대한 데이터를 수정한 후 상기 제1 개체 식별자와 상기 수정된 제1 템플릿 서식 속성에 대한 데이터를 서로 대응시켜 상기 제1 문서 데이터 상에 추가하는 것을 특징으로 하는,
문서 편집 서버와 연동하여 웹 기반의 문서 작성을 처리하는 전자 단말 장치.
The method of claim 4,
The document editing server
The server includes a server-side template storage unit in which the same data as the template storage unit is stored, and when data on the first entity identifier, the first identifier, and some form attributes are received from the electronic terminal device, the server By extracting data on the first template format attribute corresponding to the first delimiter from the side template storage unit, and replacing and inserting data on the partial format attribute from the data on the first template format attribute, the first After modifying the data on the template format property, the first entity identifier and the data on the modified first template format property are correlated with each other and added to the first document data,
An electronic terminal device that interworks with the document editing server to process web-based document creation.
문서에 삽입되는 신규 개체가 상기 문서에 존재하지 않는 새로운 개체인 경우, 상기 신규 개체의 상기 문서에서의 삽입 시점에 대한 시간 정보와 상기 문서에 대한 작성자를 식별하기 위한 작성자 식별자 및 상기 신규 개체에 대한 고유 일련 번호를 조합하여 상기 신규 개체에 대한 개체 식별자를 할당하도록 규정한 제1 규정 데이터와, 상기 문서에 삽입되는 상기 신규 개체가 상기 문서에 이미 존재하고 있는 기존 개체가 복사되어 생성된 개체인 경우, 상기 기존 개체의 개체 식별자에 포함되어 있는 상기 기존 개체의 상기 문서에서의 삽입 시점에 대한 시간 정보와 상기 문서에 대한 작성자를 식별하기 위한 작성자 식별자 및 상기 신규 개체에 대한 고유 일련 번호를 조합하여 상기 신규 개체에 대한 개체 식별자를 할당하도록 규정한 제2 규정 데이터가 저장되어 있는 규정 데이터 저장부를 유지하는 단계;
사용자에 의해 제1 문서에 대한 작성 시작 명령이 인가되면, 복수의 문서들에 대한 문서 데이터 - 상기 문서 데이터는 상기 복수의 문서들 각각의 편집 상태를 나타내기 위한 사전 설정된 포맷의 데이터로, 상기 문서 데이터에는 각 문서에 삽입되어 있는 개체들의 서식 속성에 대한 데이터가 각 개체에 할당된 개체 식별자별로 구분되어 포함되어 있음 - 가 저장되어 있는 문서 편집 서버로부터 상기 제1 문서에 대한 제1 문서 데이터를 수신하는 단계;
상기 제1 문서 데이터가 수신되면, 브라우저 상에서 구동되는 웹 편집기를 통해 상기 제1 문서 데이터를 파싱(parsing)하여 상기 제1 문서를 화면 상에 표시하는 단계;
상기 사용자에 의해 상기 화면 상에 표시되고 있는 상기 제1 문서에 제1 신규 개체가 삽입되는 경우, 상기 제1 신규 개체가 상기 제1 문서에 존재하지 않는 새로운 개체인지, 상기 제1 신규 개체가 상기 제1 문서에 이미 존재하고 있는 기존 개체가 복사되어 생성된 개체인지 여부에 따라 상기 제1 규정 데이터와 상기 제2 규정 데이터에 기초하여 상기 제1 신규 개체에 대해 제1 개체 식별자를 할당하는 단계;
상기 제1 개체 식별자가 할당되면, 상기 제1 신규 개체가 상기 제1 문서에 삽입된 것에 대응되도록 상기 문서 편집 서버에 저장되어 있는 상기 제1 문서 데이터에 상기 제1 신규 개체에 대한 삽입을 반영하기 위한 동기화 이벤트를 발생시키는 단계;
상기 동기화 이벤트가 발생되면, 상기 제1 개체 식별자에 포함되어 있는 시간 정보를 기초로 상기 제1 신규 개체의 서식 속성에 대한 데이터의 상기 문서 편집 서버로의 전송 여부를 결정하는 단계; 및
상기 제1 신규 개체의 서식 속성에 대한 데이터를 상기 문서 편집 서버로 전송하는 것으로 결정된 경우, 상기 제1 개체 식별자와 상기 제1 신규 개체의 서식 속성에 대한 데이터를 상기 문서 편집 서버로 전송하고, 상기 제1 신규 개체의 서식 속성에 대한 데이터를 상기 문서 편집 서버로 전송하지 않는 것으로 결정된 경우, 상기 제1 개체 식별자만을 상기 문서 편집 서버로 전송하는 단계
를 포함하는 문서 편집 서버와 연동하여 웹 기반의 문서 작성을 처리하는 전자 단말 장치의 동작 방법.
When the new entity inserted in the document is a new entity that does not exist in the document, time information on the insertion time of the new entity in the document, an author identifier for identifying the author of the document, and the new entity When the first provisional data specifying that an entity identifier for the new entity is assigned by combining a unique serial number, and the new entity inserted in the document is an entity created by copying an existing entity already existing in the document , By combining time information on the insertion time of the existing entity included in the entity identifier of the existing entity in the document, a writer identifier for identifying the creator of the document, and a unique serial number for the new entity, the Maintaining a prescribed data storage unit in which second prescribed data prescribed to allocate an entity identifier to a new entity is stored;
When a user applies a command to start writing a first document, document data for a plurality of documents-the document data is data of a preset format for indicating the editing status of each of the plurality of documents, and the document The data includes data on the formatting properties of the objects inserted in each document, separated by object identifier assigned to each object.-Receives the first document data for the first document from the document editing server where is stored. Step to do;
Parsing the first document data through a web editor running on a browser and displaying the first document on a screen when the first document data is received;
When a first new entity is inserted into the first document displayed on the screen by the user, whether the first new entity is a new entity that does not exist in the first document, the first new entity is the Allocating a first entity identifier to the first new entity based on the first rule data and the second rule data according to whether an existing entity already existing in the first document is an entity created by copying;
When the first entity identifier is assigned, reflecting the insertion of the first new entity in the first document data stored in the document editing server to correspond to the insertion of the first new entity into the first document Generating a synchronization event for;
When the synchronization event occurs, determining whether to transmit data on the format attribute of the first new entity to the document editing server based on time information included in the first entity identifier; And
When it is determined to transmit data on the format attribute of the first new entity to the document editing server, the first entity identifier and data on the format attribute of the first new entity are transmitted to the document editing server, and the When it is determined not to transmit data on the format attribute of the first new entity to the document editing server, transmitting only the first entity identifier to the document editing server
Operating method of an electronic terminal device for processing web-based document creation by interlocking with a document editing server comprising a.
제6항에 있어서,
상기 결정하는 단계는
상기 동기화 이벤트가 발생되면, 상기 제1 문서에 기 삽입되어 있는 개체들에 대한 개체 식별자 중 상기 제1 개체 식별자에 포함되어 있는 시간 정보보다 이후 시간에 해당되는 시간 정보를 갖는 개체 식별자가 존재하는지 여부를 확인하는 단계;
상기 제1 문서에 기 삽입되어 있는 개체들에 대한 개체 식별자 중 상기 제1 개체 식별자에 포함되어 있는 시간 정보보다 이후 시간에 해당되는 시간 정보를 갖는 개체 식별자가 존재하지 않는 것으로 확인된 경우, 상기 제1 신규 개체의 서식 속성에 대한 데이터를 상기 문서 편집 서버로 전송하는 것으로 결정하는 단계; 및
상기 제1 문서에 기 삽입되어 있는 개체들에 대한 개체 식별자 중 상기 제1 개체 식별자에 포함되어 있는 시간 정보보다 이후 시간에 해당되는 시간 정보를 갖는 개체 식별자가 존재하는 것으로 확인된 경우, 상기 제1 신규 개체의 서식 속성에 대한 데이터를 상기 문서 편집 서버로 전송하지 않는 것으로 결정하는 단계
를 포함하는 문서 편집 서버와 연동하여 웹 기반의 문서 작성을 처리하는 전자 단말 장치의 동작 방법.
The method of claim 6,
The determining step
When the synchronization event occurs, whether there is an entity identifier having time information corresponding to a time later than the time information included in the first entity identifier among entity identifiers for entities previously inserted in the first document. Confirming;
When it is determined that there is no entity identifier having time information corresponding to a time later than the time information included in the first entity identifier among entity identifiers for entities previously inserted in the first document, the first 1 determining to transmit data on a format attribute of a new entity to the document editing server; And
When it is determined that there is an entity identifier having time information corresponding to a later time than the time information included in the first entity identifier among entity identifiers for entities previously inserted in the first document, the first Determining not to transmit data on the format property of the new object to the document editing server
Operating method of an electronic terminal device for processing web-based document creation by interlocking with a document editing server comprising a.
제7항에 있어서,
상기 문서 편집 서버는
상기 전자 단말 장치로부터 상기 제1 개체 식별자와 상기 제1 신규 개체의 서식 속성에 대한 데이터가 수신된 경우, 상기 제1 개체 식별자와 상기 제1 신규 개체의 서식 속성에 대한 데이터를 서로 대응시켜 상기 제1 문서 데이터 상에 추가하고, 상기 전자 단말 장치로부터 상기 제1 개체 식별자만이 수신된 경우, 상기 제1 문서 데이터에 포함되어 있는 상기 제1 문서에 기 삽입된 개체들에 대한 개체 식별자 중 상기 제1 개체 식별자에 포함되어 있는 시간 정보와 동일한 시간 정보를 갖는 제2 개체 식별자를 확인하고, 상기 제1 문서 데이터로부터 상기 제2 개체 식별자에 대응하여 존재하는 서식 속성에 대한 데이터를 추출한 후 상기 제1 개체 식별자와 상기 추출된 서식 속성에 대한 데이터를 서로 대응시켜 상기 제1 문서 데이터 상에 추가하는 것을 특징으로 하는,
문서 편집 서버와 연동하여 웹 기반의 문서 작성을 처리하는 전자 단말 장치의 동작 방법.
The method of claim 7,
The document editing server
When the data on the first entity identifier and the format attribute of the first new entity are received from the electronic terminal device, the first entity identifier and the data on the format attribute of the first new entity are correlated with each other, 1 When it is added to document data and only the first entity identifier is received from the electronic terminal device, the first among entity identifiers for entities previously inserted in the first document included in the first document data 1 After confirming a second entity identifier having time information identical to the time information included in the entity identifier, extracting data on a format attribute corresponding to the second entity identifier from the first document data, the first Characterized in that the object identifier and the data on the extracted format attribute are correlated with each other and added to the first document data,
A method of operating an electronic terminal device that interworks with a document editing server to process web-based document creation.
제6항에 있어서,
상기 문서 편집 서버로 전송하는 단계는
미리 설정된 복수의 템플릿 서식 속성들에 대한 데이터와 각 템플릿 서식 속성에 대한 데이터를 구분하기 위한 구분자가 서로 대응되어 저장되어 있는 템플릿 저장부를 유지하는 단계;
상기 제1 신규 개체의 서식 속성에 대한 데이터를 상기 문서 편집 서버로 전송하는 것으로 결정된 경우, 상기 복수의 템플릿 서식 속성들에 대한 데이터 중 상기 제1 신규 개체의 서식 속성에 대한 데이터와의 데이터 일치 비율이 최대인 제1 템플릿 서식 속성에 대한 데이터를 선별하는 단계;
상기 제1 템플릿 서식 속성에 대한 데이터가 선별되면, 상기 템플릿 저장부를 참조하여 상기 제1 템플릿 서식 속성에 대한 데이터에 대응하는 제1 구분자를 확인하고, 상기 제1 신규 개체의 서식 속성에 대한 데이터 중 상기 제1 템플릿 서식 속성에 대한 데이터와 일치하지 않는 일부 서식 속성에 대한 데이터를 추출한 후 상기 제1 구분자와 상기 일부 서식 속성에 대한 데이터를 상기 문서 편집 서버로 전송할 상기 제1 신규 개체의 서식 속성에 대한 데이터로 결정하는 단계; 및
상기 제1 구분자와 상기 일부 서식 속성에 대한 데이터가 상기 문서 편집 서버로 전송할 상기 제1 신규 개체의 서식 속성에 대한 데이터로 결정되면, 상기 제1 개체 식별자와 함께 상기 제1 구분자 및 상기 일부 서식 속성에 대한 데이터를 상기 문서 편집 서버로 전송하는 단계
를 포함하는 문서 편집 서버와 연동하여 웹 기반의 문서 작성을 처리하는 전자 단말 장치의 동작 방법.
The method of claim 6,
The step of transmitting to the document editing server
Maintaining a template storage unit in which data on a plurality of preset template format properties and a separator for classifying data on each template format property correspond to each other and are stored;
When it is determined to transmit the data on the format attribute of the first new entity to the document editing server, a data match ratio between the data on the plurality of template format attributes and the data on the format attribute of the first new entity Selecting data for the largest first template format attribute;
When the data for the first template format attribute is selected, a first delimiter corresponding to the data for the first template format attribute is checked with reference to the template storage unit, and among the data for the format attribute of the first new entity After extracting data on some format properties that do not match the data on the first template format property, the first separator and the data on the some format properties are transmitted to the document editing server to the format property of the first new entity. Determining with the data for; And
When the data on the first separator and the partial format attribute are determined as data on the format attribute of the first new entity to be transmitted to the document editing server, the first separator and the partial format attribute together with the first entity identifier Transmitting data for the document to the document editing server
Operating method of an electronic terminal device for processing web-based document creation by interlocking with a document editing server comprising a.
제9항에 있어서,
상기 문서 편집 서버는
상기 템플릿 저장부와 동일한 데이터가 저장되어 있는 서버측 템플릿 저장부를 포함하고 있고, 상기 전자 단말 장치로부터 상기 제1 개체 식별자와 상기 제1 구분자 및 상기 일부 서식 속성에 대한 데이터가 수신된 경우, 상기 서버측 템플릿 저장부로부터 상기 제1 구분자에 대응되는 제1 템플릿 서식 속성에 대한 데이터를 추출하고, 상기 제1 템플릿 서식 속성에 대한 데이터에서 상기 일부 서식 속성에 대한 데이터를 대체하여 삽입함으로써, 상기 제1 템플릿 서식 속성에 대한 데이터를 수정한 후 상기 제1 개체 식별자와 상기 수정된 제1 템플릿 서식 속성에 대한 데이터를 서로 대응시켜 상기 제1 문서 데이터 상에 추가하는 것을 특징으로 하는,
문서 편집 서버와 연동하여 웹 기반의 문서 작성을 처리하는 전자 단말 장치의 동작 방법.
The method of claim 9,
The document editing server
The server includes a server-side template storage unit in which the same data as the template storage unit is stored, and when data on the first entity identifier, the first identifier, and some form attributes are received from the electronic terminal device, the server By extracting data on the first template format attribute corresponding to the first delimiter from the side template storage unit, and replacing and inserting data on the partial format attribute from the data on the first template format attribute, the first After modifying the data on the template format property, the first entity identifier and the data on the modified first template format property are correlated with each other and added to the first document data,
A method of operating an electronic terminal device that interworks with a document editing server to process web-based document creation.
제6항 내지 제10항 중 어느 한 항의 방법을 컴퓨터와의 결합을 통해 실행시키기 위한 컴퓨터 프로그램을 기록한 컴퓨터 판독 가능 기록 매체.A computer-readable recording medium recording a computer program for executing the method of any one of claims 6 to 10 through combination with a computer. 제6항 내지 제10항 중 어느 한 항의 방법을 컴퓨터와의 결합을 통해 실행시키기 위한 저장매체에 저장된 컴퓨터 프로그램.A computer program stored in a storage medium for executing the method of any one of claims 6 to 10 through combination with a computer.
KR1020190014391A 2019-02-07 2019-02-07 Electronic terminal device for processing web-based document editing in cooperation with a document editing server and operating method thereof KR102187543B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020190014391A KR102187543B1 (en) 2019-02-07 2019-02-07 Electronic terminal device for processing web-based document editing in cooperation with a document editing server and operating method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020190014391A KR102187543B1 (en) 2019-02-07 2019-02-07 Electronic terminal device for processing web-based document editing in cooperation with a document editing server and operating method thereof

Publications (2)

Publication Number Publication Date
KR20200103135A KR20200103135A (en) 2020-09-02
KR102187543B1 true KR102187543B1 (en) 2020-12-07

Family

ID=72450004

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020190014391A KR102187543B1 (en) 2019-02-07 2019-02-07 Electronic terminal device for processing web-based document editing in cooperation with a document editing server and operating method thereof

Country Status (1)

Country Link
KR (1) KR102187543B1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013543190A (en) 2010-11-04 2013-11-28 マイクロソフト コーポレーション Serialize document editing commands
KR101748627B1 (en) 2016-06-29 2017-06-20 주식회사 한글과컴퓨터 Web-based electronic document service apparatus capable of authenticating a document and operating method thereof
KR101750429B1 (en) 2017-02-22 2017-06-23 (주) 사이냅소프트 Document editing system and method for collaborative editing
KR101774257B1 (en) 2017-05-15 2017-09-04 주식회사 한글과컴퓨터 Document editing apparatus for maintaining style of object and operating method thereof
KR101809460B1 (en) 2017-05-15 2017-12-15 주식회사 한글과컴퓨터 Client terminal device capable of pasting external content to a web document according to a style attribute supported by the web document editing tool and operating method thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060087485A (en) * 2006-06-30 2006-08-02 (주)케이시크 A method of managing web services using integrated document

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013543190A (en) 2010-11-04 2013-11-28 マイクロソフト コーポレーション Serialize document editing commands
KR101748627B1 (en) 2016-06-29 2017-06-20 주식회사 한글과컴퓨터 Web-based electronic document service apparatus capable of authenticating a document and operating method thereof
KR101750429B1 (en) 2017-02-22 2017-06-23 (주) 사이냅소프트 Document editing system and method for collaborative editing
KR101774257B1 (en) 2017-05-15 2017-09-04 주식회사 한글과컴퓨터 Document editing apparatus for maintaining style of object and operating method thereof
KR101809460B1 (en) 2017-05-15 2017-12-15 주식회사 한글과컴퓨터 Client terminal device capable of pasting external content to a web document according to a style attribute supported by the web document editing tool and operating method thereof

Also Published As

Publication number Publication date
KR20200103135A (en) 2020-09-02

Similar Documents

Publication Publication Date Title
US11172004B2 (en) Real time collaboration and document editing by multiple participants in a content management system
US7779353B2 (en) Error checking web documents
KR101774257B1 (en) Document editing apparatus for maintaining style of object and operating method thereof
WO2022062888A1 (en) Document editing method and apparatus, computer device and storage medium
WO2018102020A1 (en) Systems and methods for applying layout to documents
US20140081904A1 (en) Systems And Methods Of Collaboration Comprising, Providing A Presentation Of An Underlying Image; Generating Annotation Data Representative Of Annotations Made By A Respective User, Generating Events Comprising Event Content, Then Defining A Selected Set Of Events, And Generating A Display Presentation Responsive To Processing Said Selected Set Of Events
KR102168324B1 (en) Electronic terminal device capable of changing the state of each object in a web-based document creation environment associated with a document editing server and operating method thereof
US20140082469A1 (en) Systems And Methodologies For Document Processing And Interacting With A User, Providing Storing Of Events Representative Of Document Edits Relative To A Document; Selection Of A Selected Set Of Document Edits; Generating Presentation Data Responsive To Said Selected Set Of Document Edits And The Stored Events; And Providing A Display Presentation Responsive To The Presentation Data
CN109672752A (en) The synchronous method of data and node
TW201419004A (en) Method and system for processing file stored in cloud storage and computer readable storage medium for storing the method
WO2015019774A1 (en) Data generating device, data generating method, translation processing device, program, and data
KR102013620B1 (en) Web based document editing server for changing template of web based document and operating method thereof
KR102187543B1 (en) Electronic terminal device for processing web-based document editing in cooperation with a document editing server and operating method thereof
US20140082463A1 (en) Multi-Event Processing Systems And Methodologies
US20140082472A1 (en) Systems And Methodologies For Event Processing Of Events For Edits Made Relative To A Presentation, Selecting A Selected Set Of Events; And Generating A Modified Presentation Of The Events In The Selected Set
KR101809460B1 (en) Client terminal device capable of pasting external content to a web document according to a style attribute supported by the web document editing tool and operating method thereof
KR102010522B1 (en) Client terminal device for displaying the names of other users who are performing editing on the collaboration document and operating method thereof
CN106293671B (en) Method and device for generating component template
KR102087274B1 (en) Web electric document editing apparatus for rendering object and operating method thereof
KR102215576B1 (en) Document editing server that enables co-editing of web-based documents based on object identifiers and operating method thereof
CN116820635A (en) Document block sharing method, device, system and storage medium
KR102005243B1 (en) System and method for authoring service of advertisement, and apparatus applied to the same
KR20210060808A (en) Document editing device to check whether the font applied to the document is a supported font and operating method thereof
CN107193568B (en) Application manufacturing method and device
CN112052644A (en) Document editing method and device, computer storage medium and terminal

Legal Events

Date Code Title Description
E701 Decision to grant or registration of patent right
GRNT Written decision to grant