KR20200117140A - Method and system for virtual input on the web - Google Patents

Method and system for virtual input on the web Download PDF

Info

Publication number
KR20200117140A
KR20200117140A KR1020190038845A KR20190038845A KR20200117140A KR 20200117140 A KR20200117140 A KR 20200117140A KR 1020190038845 A KR1020190038845 A KR 1020190038845A KR 20190038845 A KR20190038845 A KR 20190038845A KR 20200117140 A KR20200117140 A KR 20200117140A
Authority
KR
South Korea
Prior art keywords
information
input
browser
layer
data
Prior art date
Application number
KR1020190038845A
Other languages
Korean (ko)
Other versions
KR102228241B1 (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 KR1020190038845A priority Critical patent/KR102228241B1/en
Publication of KR20200117140A publication Critical patent/KR20200117140A/en
Application granted granted Critical
Publication of KR102228241B1 publication Critical patent/KR102228241B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/14Tree-structured documents
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • 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 a method and system for a virtual input on web. According to one embodiment of the present invention, the method for a virtual input performed by an electronic device implemented by a computer may comprise the steps of: configuring at least one layer to which attribute information for data edition is assigned; defining a data model for storing input information recognized in the configured layers; and rendering interaction information related to the data edition modeled through the defined data model based on an environment of browser.

Description

웹 상에서의 가상 입력 방법 및 시스템{METHOD AND SYSTEM FOR VIRTUAL INPUT ON THE WEB} Virtual input method and system on the web {METHOD AND SYSTEM FOR VIRTUAL INPUT ON THE WEB}

아래의 설명은 웹 상에서 데이터를 편집하는 기술에 관한 것이다.The description below relates to techniques for editing data on the web.

위지윅 웹 에디터를 구현하기 위해 HTML5의 contentEditable 을 사용한다. HTML5의 contentEditable는 브라우저 레벨에서 위지윅 에디팅을 알아서 컨트롤해주기 때문에 간단한 웹 에디터를 만드는데 좋은 방법이다. 이러한 웹 에디터에 단일DOM Element 가 아닌 복잡한 구조로 구성된 DOM Elements 들을 단일 개체처럼 동작하도록 한다거나 고정된 레이아웃 기능을 제공하는 등의 커스터마이징 기능을 추가하려면 여러 가지 문제로 인한 기술적인 한계가 존재한다. 불완전한 contentEditable 스펙으로 인해 브라우저마다 동작방식이 달라서 커서 컨트롤이 어렵고 입출력 영역의 구분이 없기 때문에 선택영역제한이 어렵다. 또한, 최종결과물은 HTML형식이기 때문에 데이터 재활용이 어려워 별도의 정제과정이 필요하다.Use HTML5's contentEditable to implement the Wiziwick web editor. HTML5's contentEditable is a good way to create a simple web editor because it automatically controls the Wizwick editing at the browser level. There are technical limitations due to various problems to add customization functions such as making DOM elements composed of complex structures instead of single DOM elements behave like single objects or providing fixed layout functions to such web editors. Due to the incomplete contentEditable specification, it is difficult to control the cursor because the operation method is different for each browser, and because there is no division of the input/output area, it is difficult to limit the selection area. In addition, since the final result is in HTML format, it is difficult to recycle data, so a separate purification process is required.

한편, 한국공개 특허공보 제10-2011-0076311호는 '테일러링을 지원하는 멀티미디어 웹 에디터 장치 및 방법'에 관한 것으로, 이러한 웹 에디터는 사용자가 HTML(Hypertext Markup Language)과 같은 컴퓨터 언어와 인터넷에 관한 지식이 많 지 않아도 마치 문서작성 소프트웨어를 사용하는 것처럼 손쉽게 텍스트와 이미지 등의 각종 멀티미디어 데이터를 일정한 포맷에 맞추어 생성할 수 있도록 지원한다. 그러나, 종래의 기술은 사용자 입장에서 사용자가 웹 에디터를 이용하여 보다 간편하고 편리하게 이용할 수 있다는 것에 초점을 맞추고 있을 뿐이다. 이에, 개발자의 입장에서 개발자가 웹 에디터를 이용하여 편리하게 확장 구현할 수 있는 기술이 요구된다. On the other hand, Korean Laid-Open Patent Publication No. 10-2011-0076311 relates to'a multimedia web editor apparatus and method supporting tailoring', and such web editors allow users to use computer languages such as HTML (Hypertext Markup Language) and the Internet. Even if you do not have a lot of knowledge, it supports the creation of various multimedia data such as texts and images in a certain format as easily as using a document writing software. However, the prior art only focuses on the user's ability to use the web editor more conveniently and conveniently from the user's point of view. Accordingly, from the developer's point of view, there is a need for a technology that enables the developer to conveniently expand and implement using a web editor.

사용자의 인터랙션 정보가 발생함에 따라 레이어와 데이터 모델간의 결합관계를 통하여 데이터를 구조화하는 가상 입력 방법 및 시스템을 제공할 수 있다. It is possible to provide a virtual input method and system for structuring data through a coupling relationship between a layer and a data model as user interaction information occurs.

입력 영역과 출력 영역이 분리되어 편집 데이터에 대한 다양한 템플릿을 구현하는 가상 입력 방법 및 시스템을 제공할 수 있다. The input area and the output area are separated to provide a virtual input method and system that implements various templates for edit data.

브라우저 환경에 상관없이 일관된 편집 인터페이스를 제공하고, 제공된 편집 인터페이스를 통하여 데이터의 편집을 수행하는 가상 입력 방법 및 시스템을 제공할 수 있다. It is possible to provide a virtual input method and system that provides a consistent editing interface irrespective of a browser environment and edits data through the provided editing interface.

컴퓨터로 구현되는 전자 기기에 의해 수행되는 가상 입력 방법은, 데이터 편집을 위한 속성 정보가 부여된 적어도 하나 이상의 레이어를 구성하는 단계; 상기 구성된 적어도 하나 이상의 레이어에서 인식된 입력 정보를 저장하는 데이터 모델을 정의하는 단계; 및 상기 정의된 데이터 모델을 통하여 모델링된 데이터 편집과 관련된 인터랙션 정보를 브라우저의 환경에 기초하여 렌더링하는 단계를 포함할 수 있다.A virtual input method performed by a computer-implemented electronic device may include: configuring at least one layer to which attribute information for data editing is provided; Defining a data model for storing input information recognized in the configured at least one or more layers; And rendering interaction information related to data editing modeled through the defined data model based on an environment of a browser.

상기 적어도 하나 이상의 레이어를 구성하는 단계는, 데이터의 입력을 담당하는 입력 버퍼 레이어, 입력 장치와의 인터랙션을 통하여 데이터의 출력을 담당하는 편집 영역 레이어 및 입력 가능한 위치 정보와 선택된 영역을 표시하는 가상 커서 레이어를 구성하는 단계를 포함할 수 있다. The configuring of the at least one layer may include: an input buffer layer in charge of inputting data, an editing area layer in charge of outputting data through an interaction with an input device, and a virtual cursor displaying the input position information and the selected area. It may include the step of configuring a layer.

상기 모델을 정의하는 단계는, 상기 구성된 적어도 하나 이상의 레이어를 통하여 텍스트 데이터와 이미지 데이터를 포함하는 입력 요소를 표현하기 위한 편집 데이터 모델 및 상기 편집 데이터 모델을 기준으로 선택된 영역을 표현하기 위한 선택 정보 모델을 포함하는 데이터 모델을 정의하는 단계를 포함할 수 있다. The defining of the model includes an editing data model for expressing an input element including text data and image data through the at least one configured layer, and a selection information model for expressing a region selected based on the edited data model. It may include the step of defining a data model including a.

상기 편집 데이터 모델은, 상기 텍스트 이미지와 상기 이미지 데이터를 포함하는 입력 요소를 확장 또는 축소된 형태로 구분하는 단계를 포함할 수 있다. The editing data model may include dividing the text image and the input element including the image data into an expanded or reduced form.

상기 선택 정보 모델은, 상기 선택된 영역의 시작 지점과 종료 지점으로 구성하고, 상기 시작 지점 및 상기 종료 지점을 컴포넌트(component), 유닛(unit), 문단(paragraph), 텍스트 노드(text node) 및 오프셋(offset) 정보로 구분할 수 있다. The selection information model consists of a start point and an end point of the selected area, and the start point and the end point are composed of a component, a unit, a paragraph, a text node, and an offset. It can be distinguished by (offset) information.

상기 브라우저의 환경에 기초하여 렌더링하는 단계는, 입력 요소를 가지는 프레임이 생성됨에 따라 입력 장치를 통하여 브라우저에 노출된 편집 영역에 선택된 키 입력 정보를 수신하고, 상기 수신된 키 입력 정보를 핸들링하기 위한 브라우저의 포커스를 상기 입력 버퍼 레이어로 이동시키는 단계를 포함할 수 있다. In the rendering based on the environment of the browser, as a frame having an input element is generated, the selected key input information is received in the editing area exposed to the browser through the input device, and the received key input information is handled. It may include moving the focus of the browser to the input buffer layer.

상기 브라우저의 환경에 기초하여 렌더링하는 단계는, 상기 입력 버퍼 레이어에서 상기 입력 장치로부터 수신된 키 입력 정보를 편집 영역 레이어의 DOM 객체로 전달하는 단계를 포함할 수 있다. The rendering based on the browser environment may include transmitting key input information received from the input device in the input buffer layer to a DOM object in the editing area layer.

상기 브라우저의 환경에 기초하여 렌더링하는 단계는, 편집 영역 레이어에서 상기 입력 버퍼 레이어로부터 입력 장치를 통하여 입력된 키 입력 정보를 수신하고, 상기 수신된 키 입력 정보를 통하여 발생하는 인터랙션 정보를 편집 데이터 모델로 모델링하고, 상기 모델링된 편집 데이터 모델로부터 편집 영역 레이어를 렌더링하는 단계를 포함할 수 있다. In the rendering based on the environment of the browser, the editing area layer receives key input information input through an input device from the input buffer layer, and edits the interaction information generated through the received key input information into an edit data model. And rendering an edit area layer from the modeled edit data model.

상기 브라우저의 환경에 기초하여 렌더링하는 단계는, 상기 인터랙션 정보가 발생하는 위치 정보를 편집 데이터 모델에 대응하는 요소에 클래스 셀렉터를 추가하는 단계를 포함할 수 있다. Rendering based on the environment of the browser may include adding a class selector to an element corresponding to an edit data model for location information where the interaction information occurs.

상기 브라우저의 환경에 기초하여 렌더링하는 단계는, 가상 커서 레이어에서 상기 편집 영역 레이어에서 발생하는 인터랙션 정보를 감지하여 편집중인 위치 정보를 선택 정보 모델을 통하여 갱신하고, 상기 갱신된 선택 정보 모델로부터 가상 커서 레이어를 렌더링하는 단계를 포함할 수 있다. In the rendering based on the browser environment, the virtual cursor layer detects interaction information occurring in the editing area layer and updates the position information being edited through a selection information model, and a virtual cursor from the updated selection information model It may include the step of rendering the layer.

상기 브라우저의 환경에 기초하여 렌더링하는 단계는, 상기 편집 중인 위치 정보를 브라우저 화면에 대응하는 화면 위치 정보로 계산하고, 상기 계산된 화면 위치 정보에 해당하는 편집 영역 레이어에 커서 정보를 노출시키는 단계를 포함할 수 있다. In the rendering based on the browser environment, the editing location information is calculated as screen location information corresponding to the browser screen, and cursor information is exposed on an editing area layer corresponding to the calculated screen location information. Can include.

상기 브라우저의 환경에 기초하여 렌더링하는 단계는, 상기 선택 정보 모델의 시작 지점과 동일 지점이 일치할 경우, 상기 커서 정보를 캐럿 형태로 노출시키고, 상기 선택 정보 모델의 시작 지점과 동일 지점이 일치할지 않을 경우, 커서 정보를 블럭 영역 형태로 노출시키는 단계를 포함할 수 있다. In the rendering based on the environment of the browser, when the starting point of the selection information model and the same point coincide, the cursor information is exposed in a caret form, and whether the starting point of the selection information model and the same point coincide with each other. Otherwise, the step of exposing the cursor information in the form of a block area may be included.

상기 브라우저의 환경에 기초하여 렌더링하는 단계는, 상기 캐럿 형태의 커서 정보를 깜박이도록 표현하고, 상기 블록 영역 형태의 커서 정보를 상기 시작 지점과 상기 종료 지점 사이에 차지하는 영역을 계산하여 투명도와 색상 정보를 포함하는 DOM 요소를 편집 영역 레이어에 노출되도록 표현하는 단계를 포함할 수 있다. In the rendering based on the environment of the browser, the cursor information in the form of the caret is expressed to blink, and the area occupied between the start point and the end point of the block area cursor information is calculated to provide transparency and color information. It may include expressing the DOM element including a to be exposed to the editing area layer.

상기 브라우저의 환경에 기초하여 렌더링하는 단계는, 상기 정의된 데이터 모델을 통하여 모델링된 데이터 편집과 관련된 인터랙션 정보를 JSON 형태의 구조로 데이터화하여 저장하는 단계를 포함할 수 있다. The rendering based on the browser environment may include converting and storing interaction information related to data editing modeled through the defined data model into a JSON-type structure.

상기 브라우저의 환경에 기초하여 렌더링하는 단계는, 상기 저장된 JSON 형태의 구조로 데이터화된 인터랙션 정보를 브라우저 환경에 따라 변환하여 편집 영역 레이어에 렌더링하는 단계를 포함할 수 있다. The rendering based on the browser environment may include converting the interaction information data in the structure of the stored JSON format according to the browser environment and rendering it to the editing area layer.

상기 브라우저의 환경에 기초하여 렌더링하는 단계는, 상기 인터랙션 정보를 상기 편집 데이터 모델에 기초하여 모델링함에 따라 템플릿을 구성하는 단계를 포함할 수 있다. Rendering based on the browser environment may include configuring a template by modeling the interaction information based on the edit data model.

상기 브라우저의 환경에 기초하여 렌더링하는 단계는, 입력 장치를 통하여 브라우저에 노출된 편집 영역 레이어에 선택된 키 입력 정보와 관련된 인터랙션 정보를 상기 정의된 데이터 모델에 모델링하는 단계를 포함할 수 있다. The rendering based on the browser environment may include modeling interaction information related to key input information selected in the editing area layer exposed to the browser through the input device in the defined data model.

컴퓨터로 구현되는 전자 기기에 의해 수행되는 가상 입력 방법을 실행시키기 위하여 컴퓨터 판독 가능한 저장매체에 저장된 컴퓨터 프로그램은, 데이터 편집을 위한 속성 정보가 부여된 적어도 하나 이상의 레이어를 구성하는 단계; 상기 구성된 적어도 하나 이상의 레이어에서 인식된 입력 정보를 저장하는 데이터 모델을 정의하는 단계; 및 상기 정의된 데이터 모델을 통하여 모델링된 데이터 편집과 관련된 인터랙션 정보를 브라우저의 환경에 기초하여 렌더링하는 단계를 포함할 수 있다.A computer program stored in a computer-readable storage medium to execute a virtual input method performed by a computer-implemented electronic device includes: configuring at least one layer to which attribute information for data editing is provided; Defining a data model for storing input information recognized in the configured at least one or more layers; And rendering interaction information related to data editing modeled through the defined data model based on an environment of a browser.

컴퓨터로 구현되는 전자 기기의 가상 입력 시스템은, 데이터 편집을 위한 속성 정보가 부여된 적어도 하나 이상의 레이어를 구성하는 레이어 구성부; 상기 구성된 적어도 하나 이상의 레이어에서 인식된 입력 정보를 저장하는 데이터 모델을 정의하는 데이터 모델 정의부; 및 상기 정의된 데이터 모델을 통하여 모델링된 데이터 편집과 관련된 인터랙션 정보를 브라우저의 환경에 기초하여 렌더링하는 렌더링부를 포함할 수 있다. The computer-implemented virtual input system of an electronic device includes: a layer configuration unit configuring at least one layer to which attribute information for data editing is assigned; A data model definition unit defining a data model for storing input information recognized in the configured at least one or more layers; And a rendering unit for rendering interaction information related to data editing modeled through the defined data model based on an environment of a browser.

데이터 모델을 통하여 인터랙션 정보에 대한 복합요소 표현을 제공함으로써 다양한 템플릿을 구현할 수 있다. Various templates can be implemented by providing complex element expressions for interaction information through the data model.

서로 브라우저 환경일지라도 인터랙션 정보를 정형화된 데이터로 추출할 수 있다. Even in a browser environment with each other, interaction information can be extracted as structured data.

구조화된 데이터 형식을 통하여 다양한 종류의 브라우저 환경에서 동작할 수 있으며, 브라우저 환경에 따라 별도의 정제 과정없이 인터랙션 정보를 렌더링할 수 있다. Through the structured data format, it can operate in various types of browser environments, and according to the browser environment, interaction information can be rendered without a separate refinement process.

도 1은 일 실시예에 따른 네트워크 환경의 예를 도시한 도면이다.
도 2는 일 실시예에 따른 전자 기기 및 서버의 내부 구성을 설명하기 위한 블록도이다.
도 3은 일 실시예에 따른 전자 기기의 프로세서가 포함할 수 있는 구성 요소의 예를 도시한 블록도이다.
도 4는 일 실시예에 따른 전자 기기에서 수행되는 가상 입력 방법을 설명하기 위한 흐름도이다.
도 5는 일 실시예에 있어서, 가상 입력을 위한 레이어 구조를 설명하기 위한 예이다.
도 6은 일 실시예에 있어서, 입력 장치를 통하여 인터랙션 정보가 발생했을 때의 레이어와 데이터 모델 간의 상관관계를 통하여 가상 입력 동작을 설명하기 예이다.
도 7 내지 도 9는 일 실시예에 있어서, 브라우저에 데이터 모델을 렌더링하는 것을 설명하기 위한 예이다.
1 is a diagram illustrating an example of a network environment according to an embodiment.
2 is a block diagram illustrating an internal configuration of an electronic device and a server according to an exemplary embodiment.
3 is a block diagram illustrating an example of components that may be included in a processor of an electronic device according to an exemplary embodiment.
4 is a flowchart illustrating a virtual input method performed in an electronic device according to an exemplary embodiment.
5 is an example for explaining a layer structure for a virtual input according to an embodiment.
6 is an example for explaining a virtual input operation through a correlation between a layer and a data model when interaction information occurs through an input device, according to an embodiment.
7 to 9 are examples for explaining rendering of a data model in a browser according to an embodiment.

이하, 실시예를 첨부한 도면을 참조하여 상세히 설명한다.Hereinafter, embodiments will be described in detail with reference to the accompanying drawings.

도 1은 일 실시예에 따른 네트워크 환경의 예를 도시한 도면이다.1 is a diagram illustrating an example of a network environment according to an embodiment.

도 1의 네트워크 환경은 복수의 전자 기기들(110, 120, 130, 140), 복수의 서버들(150, 160) 및 네트워크(170)를 포함하는 예를 나타내고 있다. 이러한 도 1은 발명의 설명을 위한 일례로 전자 기기의 수나 서버의 수가 도 1과 같이 한정되는 것은 아니다. The network environment of FIG. 1 shows an example including a plurality of electronic devices 110, 120, 130, and 140, a plurality of servers 150 and 160, and a network 170. 1 is an example for explaining the present invention, and the number of electronic devices or servers is not limited as in FIG. 1.

복수의 전자 기기들(110, 120, 130, 140)은 컴퓨터 장치로 구현되는 고정형 단말이거나 이동형 단말일 수 있다. 복수의 전자 기기들(110, 120, 130, 140)의 예를 들면, 스마트폰(smart phone), 휴대폰, 네비게이션, 컴퓨터, 노트북, 디지털방송용 단말, PDA(Personal Digital Assistants), PMP(Portable Multimedia Player), 태블릿 PC 등이 있다. 일례로 전자 기기 1(110)은 무선 또는 유선 통신 방식을 이용하여 네트워크(170)를 통해 다른 전자 기기들(120, 130, 140) 및/또는 서버(150, 160)와 통신할 수 있다. 실시예에서는 전자 기기는 클라이언트일 수 있다. The plurality of electronic devices 110, 120, 130, and 140 may be a fixed terminal implemented as a computer device or a mobile terminal. Examples of the plurality of electronic devices 110, 120, 130, 140 include smart phones, mobile phones, navigation, computers, notebook computers, digital broadcasting terminals, personal digital assistants (PDAs), portable multimedia players (PMPs). ), tablet PC, etc. For example, the electronic device 1 110 may communicate with other electronic devices 120, 130, and 140 and/or the servers 150 and 160 through the network 170 using a wireless or wired communication method. In an embodiment, the electronic device may be a client.

통신 방식은 제한되지 않으며, 네트워크(170)가 포함할 수 있는 통신망(일례로, 이동통신망, 유선 인터넷, 무선 인터넷, 방송망)을 활용하는 통신 방식뿐만 아니라 기기들간의 근거리 무선 통신 역시 포함될 수 있다. 예를 들어, 네트워크(170)는, PAN(personal area network), LAN(local area network), CAN(campus area network), MAN(metropolitan area network), WAN(wide area network), BBN(broadband network), 인터넷 등의 네트워크 중 하나 이상의 임의의 네트워크를 포함할 수 있다. 또한, 네트워크(170)는 버스 네트워크, 스타 네트워크, 링 네트워크, 메쉬 네트워크, 스타-버스 네트워크, 트리 또는 계층적(hierarchical) 네트워크 등을 포함하는 네트워크 토폴로지 중 임의의 하나 이상을 포함할 수 있으나, 이에 제한되지 않는다.The communication method is not limited, and short-range wireless communication between devices as well as a communication method using a communication network (for example, a mobile communication network, a wired Internet, a wireless Internet, a broadcasting network) that the network 170 may include may be included. For example, the network 170 includes a personal area network (PAN), a local area network (LAN), a campus area network (CAN), a metropolitan area network (MAN), a wide area network (WAN), and a broadband network (BBN). , Internet, and the like. In addition, the network 170 may include any one or more of a network topology including a bus network, a star network, a ring network, a mesh network, a star-bus network, a tree or a hierarchical network, etc. Not limited.

서버(150, 160) 각각은 복수의 전자 기기들(110, 120, 130, 140)과 네트워크(170)를 통해 통신하여 명령, 코드, 파일, 컨텐츠, 서비스 등을 제공하는 컴퓨터 장치 또는 복수의 컴퓨터 장치들로 구현될 수 있다.Each of the servers 150 and 160 is a computer device or a plurality of computers that communicates with a plurality of electronic devices 110, 120, 130, and 140 through a network 170 to provide commands, codes, files, contents, services, etc. It can be implemented with devices.

일례로, 서버(160)는 네트워크(170)를 통해 접속한 전자 기기 1(110)로 어플리케이션의 설치를 위한 파일을 제공할 수 있다. 이 경우 전자 기기 1(110)은 서버(160)로부터 제공된 파일을 이용하여 어플리케이션을 설치할 수 있다. 또한 전자 기기 1(110)이 포함하는 운영체제(Operating System, OS) 및 적어도 하나의 프로그램(일례로 브라우저나 상기 설치된 어플리케이션)의 제어에 따라 서버(150)에 접속하여 서버(150)가 제공하는 서비스나 컨텐츠를 제공받을 수 있다. 예를 들어, 전자 기기 1(110)이 어플리케이션의 제어에 따라 네트워크(170)를 통해 서비스 요청 메시지를 서버(150)로 전송하면, 서버(150)는 서비스 요청 메시지에 대응하는 코드를 전자 기기 1(110)로 전송할 수 있고, 전자 기기 1(110)은 어플리케이션의 제어에 따라 코드에 따른 화면을 구성하여 표시함으로써 사용자에게 컨텐츠를 제공할 수 있다.For example, the server 160 may provide a file for installing an application to the electronic device 1 110 accessed through the network 170. In this case, the electronic device 1 110 may install an application using a file provided from the server 160. In addition, a service provided by the server 150 by accessing the server 150 under the control of an operating system (OS) included in the electronic device 1 110 and at least one program (for example, a browser or the installed application). I can receive content. For example, when the electronic device 1 110 transmits a service request message to the server 150 through the network 170 under the control of the application, the server 150 transmits a code corresponding to the service request message to the electronic device 1 It may be transmitted to 110, and electronic device 1 110 may provide content to a user by configuring and displaying a screen according to a code according to the control of an application.

도 2는 일 실시예에 따른 전자 기기 및 서버의 내부 구성을 설명하기 위한 블록도이다.2 is a block diagram illustrating an internal configuration of an electronic device and a server according to an exemplary embodiment.

도 2에서는 하나의 전자 기기에 대한 예로서 전자 기기 1(110), 그리고 하나의 서버에 대한 예로서 서버(150)의 내부 구성을 설명한다. 다른 전자 기기들(120, 130, 140)이나 서버(160)뿐만 아니라 도 1을 통해 설명한 네트워크 환경에 포함될 수 있는 또 다른 전자 기기들이나 또 다른 서버들에도 동일한 또는 유사한 내부 구성요소들이 적용될 수 있다. In FIG. 2, the internal configuration of the electronic device 1 110 as an example of one electronic device and the server 150 as an example of one server is described. The same or similar internal components may be applied not only to the other electronic devices 120, 130, 140 or the server 160, but also to other electronic devices or other servers that may be included in the network environment described with reference to FIG. 1.

전자 기기 1(110)과 서버(150)는 메모리(211, 221), 프로세서(212, 222), 통신 모듈(213, 223) 그리고 입출력 인터페이스(214, 224)를 포함할 수 있다. 메모리(211, 221)는 컴퓨터에서 판독 가능한 기록 매체로서, RAM(random access memory), ROM(read only memory) 및 디스크 드라이브와 같은 비소멸성 대용량 기록장치(permanent mass storage device)를 포함할 수 있다. 또한, 메모리(211, 221)에는 운영체제와 적어도 하나의 프로그램 코드(일례로 전자 기기 1(110)에 설치되어 구동되는 브라우저나 상술한 어플리케이션 등을 위한 코드)가 저장될 수 있다. 이러한 소프트웨어 구성요소들은 드라이브 메커니즘(drive mechanism)을 이용하여 메모리(211, 221)와는 별도의 컴퓨터에서 판독 가능한 기록 매체로부터 로딩될 수 있다. 이러한 별도의 컴퓨터에서 판독 가능한 기록 매체는 플로피 드라이브, 디스크, 테이프, DVD/CD-ROM 드라이브, 메모리 카드 등의 컴퓨터에서 판독 가능한 기록 매체를 포함할 수 있다. 다른 실시예에서 소프트웨어 구성요소들은 컴퓨터에서 판독 가능한 기록 매체가 아닌 통신 모듈(213, 223)을 통해 메모리(211, 221)에 로딩될 수도 있다. 예를 들어, 적어도 하나의 프로그램은 개발자들 또는 어플리케이션의 설치 파일을 배포하는 파일 배포 시스템(일례로 상술한 서버(160))이 네트워크(170)를 통해 제공하는 파일들에 의해 설치되는 프로그램(일례로 상술한 어플리케이션)에 기반하여 메모리(211, 221)에 로딩될 수 있다.The electronic device 1 110 and the server 150 may include memories 211 and 221, processors 212 and 222, communication modules 213 and 223, and input/output interfaces 214 and 224. The memories 211 and 221 are computer-readable recording media, and may include a permanent mass storage device such as a random access memory (RAM), a read only memory (ROM), and a disk drive. In addition, the memory 211 and 221 may store an operating system and at least one program code (for example, a browser installed and driven in the electronic device 1 110 or a code for the above-described application). These software components may be loaded from a computer-readable recording medium separate from the memories 211 and 221 using a drive mechanism. Such a separate computer-readable recording medium may include a computer-readable recording medium such as a floppy drive, a disk, a tape, a DVD/CD-ROM drive, and a memory card. In another embodiment, software components may be loaded into the memories 211 and 221 through communication modules 213 and 223 other than a computer-readable recording medium. For example, at least one program is a program installed by files provided by a file distribution system (for example, the server 160 described above) for distributing the installation files of developers or applications (example It may be loaded into the memories 211 and 221 based on the above-described application).

프로세서(212, 222)는 기본적인 산술, 로직 및 입출력 연산을 수행함으로써, 컴퓨터 프로그램의 명령을 처리하도록 구성될 수 있다. 명령은 메모리(211, 221) 또는 통신 모듈(213, 223)에 의해 프로세서(212, 222)로 제공될 수 있다. 예를 들어 프로세서(212, 222)는 메모리(211, 221)와 같은 기록 장치에 저장된 프로그램 코드에 따라 수신되는 명령을 실행하도록 구성될 수 있다.The processors 212 and 222 may be configured to process instructions of a computer program by performing basic arithmetic, logic, and input/output operations. The instructions may be provided to the processors 212 and 222 by the memories 211 and 221 or the communication modules 213 and 223. For example, the processors 212 and 222 may be configured to execute a command received according to a program code stored in a recording device such as the memories 211 and 221.

통신 모듈(213, 223)은 네트워크(170)를 통해 전자 기기 1(110)과 서버(150)가 서로 통신하기 위한 기능을 제공할 수 있으며, 다른 전자 기기(일례로 전자 기기 2(120)) 또는 다른 서버(일례로 서버(160))와 통신하기 위한 기능을 제공할 수 있다. 일례로, 전자 기기 1(110)의 프로세서(212)가 메모리(211)와 같은 기록 장치에 저장된 프로그램 코드에 따라 생성한 요청(일례로 컨텐츠에 대한 스트리밍 서비스 요청)이 통신 모듈(213)의 제어에 따라 네트워크(170)를 통해 서버(150)로 전달될 수 있다. 역으로, 서버(150)의 프로세서(222)의 제어에 따라 제공되는 제어 신호나 명령, 컨텐츠, 파일 등이 통신 모듈(223)과 네트워크(170)를 거쳐 전자 기기 1(110)의 통신 모듈(213)을 통해 전자 기기 1(110)로 수신될 수 있다. 예를 들어 통신 모듈(213)을 통해 수신된 서버(150)의 제어 신호나 명령 등은 프로세서(212)나 메모리(211)로 전달될 수 있고, 컨텐츠나 파일 등은 전자 기기 1(110)가 더 포함할 수 있는 저장 매체로 저장될 수 있다.The communication modules 213 and 223 may provide a function for the electronic device 1 110 and the server 150 to communicate with each other through the network 170, and other electronic devices (for example, electronic device 2 120) Alternatively, a function for communicating with another server (for example, the server 160) may be provided. For example, a request generated by the processor 212 of the electronic device 1 110 according to a program code stored in a recording device such as a memory 211 (for example, a request for a streaming service for content) is controlled by the communication module 213 Depending on the network 170 may be transmitted to the server 150 through the. Conversely, control signals, commands, contents, files, etc. provided under the control of the processor 222 of the server 150 are transmitted via the communication module 223 and the network 170 to the communication module of the electronic device 1 110 ( 213) through the electronic device 1 (110). For example, a control signal or command of the server 150 received through the communication module 213 may be transmitted to the processor 212 or the memory 211, and the electronic device 1110 may transmit contents or files. It may be stored in a storage medium that may further contain.

입출력 인터페이스(214, 224)는 입출력 장치(215)와의 인터페이스를 위한 수단일 수 있다. 예를 들어, 입력 장치는 키보드 또는 마우스 등의 장치를, 그리고 출력 장치는 어플리케이션의 통신 세션을 표시하기 위한 디스플레이와 같은 장치를 포함할 수 있다. 다른 예로 입출력 인터페이스(214)는 터치스크린과 같이 입력과 출력을 위한 기능이 하나로 통합된 장치와의 인터페이스를 위한 수단일 수도 있다. 보다 구체적인 예로, 전자 기기 1(110)의 프로세서(212)는 메모리(211)에 로딩된 컴퓨터 프로그램의 명령을 처리함에 있어서 서버(150)나 전자 기기 2(120)가 제공하는 데이터를 이용하여 구성되는 서비스 화면이나 컨텐츠가 입출력 인터페이스(214)를 통해 디스플레이에 표시될 수 있다.The input/output interfaces 214 and 224 may be means for interfacing with the input/output device 215. For example, the input device may include a device such as a keyboard or a mouse, and the output device may include a device such as a display for displaying a communication session of an application. As another example, the input/output interface 214 may be a means for interfacing with a device in which input and output functions are integrated into one, such as a touch screen. As a more specific example, the processor 212 of the electronic device 1 110 is configured by using data provided by the server 150 or the electronic device 2 120 in processing a command of a computer program loaded in the memory 211 The service screen or content to be displayed may be displayed on the display through the input/output interface 214.

또한, 다른 실시예들에서 전자 기기 1(110) 및 서버(150)는 도 2의 구성요소들보다 더 많은 구성요소들을 포함할 수도 있다. 그러나, 대부분의 종래기술적 구성요소들을 명확하게 도시할 필요성은 없다. 예를 들어, 전자 기기 1(110)은 상술한 입출력 장치(215) 중 적어도 일부를 포함하도록 구현되거나 또는 트랜시버(transceiver), GPS(Global Positioning System) 모듈, 카메라, 각종 센서, 데이터베이스 등과 같은 다른 구성요소들을 더 포함할 수도 있다.In addition, in other embodiments, the electronic device 1 110 and the server 150 may include more components than those of FIG. 2. However, there is no need to clearly show most of the prior art components. For example, the electronic device 1 110 may be implemented to include at least some of the input/output devices 215 described above, or other components such as a transceiver, a global positioning system (GPS) module, a camera, various sensors, and a database. It may also contain more elements.

실시예들은 데이터 편집을 위한 속성 정보가 부여된 적어도 하나 이상의 레이어에서 인식된 입력 정보를 저장하는 데이터 모델을 정의하고, 정의된 데이터 모델을 통하여 모델링된 데이터 편집과 관련된 인터랙션 정보를 브라우저의 환경에 기초하여 렌더링하는 가상 입력을 구현하는 기술에 관한 것이다. 일례로, 전자 기기1(110)는 서버(150)로부터 웹상에서 가상 입력을 위한 프로그램이 다운로드되어 동작될 수 있다. The embodiments define a data model that stores input information recognized in at least one layer to which attribute information for data editing is assigned, and based on the browser environment, interaction information related to data editing modeled through the defined data model It relates to a technology for implementing a virtual input to be rendered. For example, the electronic device 1 110 may be operated by downloading a program for virtual input from the server 150 on the web.

도 3은 일 실시예에 따른 전자 기기의 프로세서가 포함할 수 있는 구성 요소의 예를 도시한 블록도이고, 도 4는 일 실시예에 따른 전자 기기에서 수행되는 가상 입력 방법을 설명하기 위한 흐름도이다. 3 is a block diagram illustrating an example of components that may be included in a processor of an electronic device according to an exemplary embodiment, and FIG. 4 is a flowchart illustrating a virtual input method performed in an electronic device according to an exemplary embodiment. .

전자 기기 1(110)의 프로세서(222)는 레이어 구성부(310), 데이터 모델 정의부(320) 및 렌더링부(330)를 포함할 수 있다. 이러한 프로세서(212)의 구성요소들은 서버에 저장된 프로그램 코드가 제공하는 제어 명령에 따라 프로세서(212)에 의해 수행되는 서로 다른 기능들(different functions)의 표현들일 수 있다. 프로세서(212) 및 프로세서(212)의 구성요소들은 도 4의 가상 입력 방법이 포함하는 단계들(S410 내지 S430)을 수행하도록 서버를 제어할 수 있다. 이때, 프로세서(212) 및 프로세서(212)의 구성요소들은 메모리가 포함하는 운영체제의 코드와 적어도 하나의 프로그램의 코드에 따른 명령(instruction)을 실행하도록 구현될 수 있다.The processor 222 of the electronic device 1 110 may include a layer configuration unit 310, a data model definition unit 320, and a rendering unit 330. Components of the processor 212 may be expressions of different functions performed by the processor 212 according to a control command provided by a program code stored in the server. The processor 212 and components of the processor 212 may control the server to perform steps S410 to S430 included in the virtual input method of FIG. 4. In this case, the components of the processor 212 and the processor 212 may be implemented to execute an instruction according to the code of the operating system included in the memory and the code of at least one program.

프로세서(212)는 가상 입력 방법을 위한 프로그램의 파일에 저장된 프로그램 코드를 메모리에 로딩할 수 있다. 예를 들면, 전자 기기 1(110)에서 프로그램이 실행되면, 프로세서는 운영체제의 제어에 따라 프로그램의 파일로부터 프로그램 코드를 메모리에 로딩하도록 전자 기기 1(110)을 제어할 수 있다. 이때, 프로세서(212) 및 프로세서(212)가 포함하는 레이어 구성부(310), 데이터 모델 정의부(320) 및 렌더링부(330) 각각은 메모리에 로딩된 프로그램 코드 중 대응하는 부분의 명령을 실행하여 이후 단계들(S410 내지 S430)을 실행하기 위한 프로세서(222)의 서로 다른 기능적 표현들일 수 있다. The processor 212 may load a program code stored in a program file for a virtual input method into a memory. For example, when a program is executed in the electronic device 1 110, the processor may control the electronic device 1 110 to load a program code from a program file into a memory under control of the operating system. At this time, each of the layer configuration unit 310, the data model definition unit 320, and the rendering unit 330 included in the processor 212 and the processor 212 execute a command of a corresponding part of the program code loaded into the memory. Thus, different functional expressions of the processor 222 for executing the subsequent steps S410 to S430 may be used.

단계(S410)에서 레이어 구성부(310)는 데이터 편집을 위한 속성 정보가 부여된 적어도 하나 이상의 레이어를 구성할 수 있다. 레이어 구성부(310)는 데이터의 입력을 담당하는 입력 버퍼 레이어, 입력 장치와의 인터랙션을 통하여 데이터의 출력을 담당하는 편집 영역 레이어 및 입력 가능한 위치 정보와 선택된 영역을 표시하는 가상 커서 레이어를 구성할 수 있다. In step S410, the layer configuration unit 310 may configure at least one layer to which attribute information for data editing is assigned. The layer configuration unit 310 configures an input buffer layer in charge of inputting data, an editing area layer in charge of outputting data through an interaction with an input device, and a virtual cursor layer displaying input possible position information and a selected area. I can.

단계(S420)에서 데이터 모델 정의부(320)는 구성된 적어도 하나 이상의 레이어에서 인식된 입력 정보를 저장하는 데이터 모델을 정의할 수 있다. 데이터 모델 정의부(320)는 구성된 적어도 하나 이상의 레이어를 통하여 텍스트 데이터와 이미지 데이터를 포함하는 입력 요소를 표현하기 위한 편집 데이터 모델 및 편집 데이터 모델을 기준으로 선택된 영역을 표현하기 위한 선택 정보 모델을 포함하는 데이터 모델을 정의할 수 있다. 이때, 편집 데이터 모델은 텍스트 이미지와 이미지 데이터를 포함하는 입력 요소를 확장 또는 축소된 형태로 구분할 수 있다. 예를 들면, 편집 데이터 모델은 텍스트 이미지와 이미지 데이터를 포함하는 입력 요소를 컴포넌트(component), 유닛(unit), 문단(paragraph) 및 텍스트 노드(text node)로 구분할 수 있다. 선택 정보 모델은 선택된 영역과 관련된 시작 지점과 종료 지점으로 구성하고, 시작 지점 및 종료 지점을 컴포넌트(component), 유닛(unit), 문단(paragraph), 텍스트 노드(text node) 및 오프셋(offset) 정보로 구분할 수 있다. In step S420, the data model definition unit 320 may define a data model for storing input information recognized in at least one configured layer. The data model definition unit 320 includes an editing data model for expressing an input element including text data and image data through at least one configured layer, and a selection information model for expressing an area selected based on the editing data model. You can define a data model to do. In this case, the editing data model may divide the text image and the input element including the image data into an expanded or reduced form. For example, the editing data model may classify a text image and an input element including image data into a component, a unit, a paragraph, and a text node. The selection information model consists of a start point and an end point related to the selected area, and the start point and end point are component, unit, paragraph, text node, and offset information. It can be classified as

단계(S430)에서 렌더링부(330)는 정의된 데이터 모델을 통하여 모델링된 데이터 편집과 관련된 인터랙션 정보를 브라우저의 환경에 기초하여 렌더링할 수 있다. 도 6을 참고하면, 입력 장치를 통하여 인터랙션 정보가 발생했을 때의 레이어와 데이터 모델 간의 상관관계를 통하여 가상 입력 동작을 설명하기 예이다. 도 6(a)를 참고하면, 입력 장치를 통하여 편집 영역 레이어(520)에 키 입력 이벤트가 발생될 수 있다. 예를 들면, 사용자는 마우스를 통하여 브라우저 화면에 터치 또는 선택하는 키 입력 이벤트(예를 들면, 마우스 이벤트)를 발생시킬 수 있다. 이때, 사용자가 브라우저 화면에 입력한 키 입력 이벤트는 편집 영역 레이어(520)에서 인식될 수 있다. 입력 버퍼 레이어(530)에서 입력 요소를 가지는 프레임(예를 들면, iframe)이 생성될 수 있다. 이때, 편집 영역 레이어(520)에서의 사용자 인터랙션 간섭으로 인한 오작동을 최소화하기 위하여 iframe으로 생성될 수 있다. 렌더링부(330)는 입력 버퍼 레이어(530)에서 입력 요소를 가지는 프레임이 생성됨에 따라 입력 장치를 통하여 브라우저 화면에 노출된 편집 영역 레이어(520)에서 선택된 키 입력 이벤트를 수신할 수 있다. In step S430, the rendering unit 330 may render the interaction information related to data editing modeled through the defined data model based on the browser environment. Referring to FIG. 6, a virtual input operation is described through a correlation between a layer and a data model when interaction information occurs through an input device. Referring to FIG. 6A, a key input event may be generated in the editing area layer 520 through an input device. For example, the user may generate a key input event (eg, a mouse event) to touch or select a browser screen through a mouse. In this case, the key input event input by the user on the browser screen may be recognized in the editing area layer 520. A frame (eg, iframe) having an input element may be generated in the input buffer layer 530. In this case, in order to minimize malfunction due to user interaction interference in the editing area layer 520, an iframe may be generated. As a frame having an input element is generated in the input buffer layer 530, the rendering unit 330 may receive a key input event selected from the editing area layer 520 exposed on the browser screen through the input device.

렌더링부(330)는 편집 영역 레이어(520)를 선택하여 발생된 키 이벤트가 가상 커서 레이어(510)로 전달됨에 따라 가상 커서 레이어(510)에서 키 입력 이벤트와 관련된 인터랙션 정보를 선택 정보 모델에 갱신할 수 있다. 만약, 렌더링부(330)는 선택 정보 모델에 저장된 인터랙션 정보가 존재하지 않을 경우, 편집 영역 레이어(520)로부터 전달된 마우스 이벤트와 관련된 인터랙션 정보를 반영할 수 있고, 선택 정보 모델에 저장된 인터랙션 정보가 존재할 경우, 편집 영역 레이어(520)로부터 전달된 마우스 이벤트와 관련된 인터랙션 정보를 갱신할 수 있다. 여기서, 인터랙션 정보는 키 입력 이벤트와 관련하여 발생하는 정보일 수 있다. The rendering unit 330 updates the interaction information related to the key input event in the virtual cursor layer 510 to the selection information model as the key event generated by selecting the editing area layer 520 is transmitted to the virtual cursor layer 510 can do. If the interaction information stored in the selection information model does not exist, the rendering unit 330 may reflect the interaction information related to the mouse event transmitted from the editing area layer 520, and the interaction information stored in the selection information model is If present, the interaction information related to the mouse event transmitted from the editing area layer 520 may be updated. Here, the interaction information may be information generated in connection with a key input event.

렌더링부(330)는 가상 커서 레이어(510)에서 선택 정보 모델에 인터랙션 정보를 갱신함에 따라 커서 정보를 렌더링할 수 있다. 렌더링부(330)는 브라우저 화면에 키 입력 이벤트가 발생한 지점에 커서 정보를 표시할 수 있다. 렌더링부(330)는 가상 커서 레이어(510)에서 선택 정보 모델에 인터랙션 정보를 갱신함에 따라 포커스를 입력 버퍼 레이어(530)로 이동시킬 수 있다. 렌더링부(330)는 실제의 브라우저 포커스를 입력 버퍼 레이어(530)로 강제로 이동시킬 수 있다. 포커스를 강제로 이동시키는 것을 스틸 포커스(Steal Focus) 기능이라고 한다. 이때, 입력 버퍼 레이어(530)는 실제의 입력 영역이 아니기 때문에 사용자가 키 입력을 할 수 없어 사용자의 키 입력 정보를 핸들링할 수 있도록 실제 브라우저의 포커스를 뺏어와야 한다. 포커스를 뺏어올 때, 블록 영역이 선택된 상태였다면, 선택된 블록 영역의 HTML을 입력 영역 레이어에 복사할 수 있다. 사용자가 복사하였을 때 클립보드로 HTML이 복사될 수 있도록 하기 위함이다.The rendering unit 330 may render the cursor information by updating the interaction information in the selection information model in the virtual cursor layer 510. The rendering unit 330 may display cursor information on a point where a key input event occurs on a browser screen. The rendering unit 330 may move the focus to the input buffer layer 530 as the virtual cursor layer 510 updates the interaction information in the selection information model. The rendering unit 330 may forcibly move the actual browser focus to the input buffer layer 530. Forcibly moving the focus is called the still focus function. In this case, since the input buffer layer 530 is not an actual input area, the user cannot input a key, and thus the focus of the actual browser must be taken so that the user's key input information can be handled. When the focus is taken, if the block area was selected, the HTML of the selected block area can be copied to the input area layer. This is to allow HTML to be copied to the clipboard when the user copies it.

도 6(b)를 참고하면, 입력 버퍼 레이어(530)의 하단에 숨겨진 텍스트 영역에 기초하여 키 입력 이벤트가 발생할 수 있다. 예를 들면, 사용자가 입력 장치(예를 들면, 마우스)를 통하여 브라우저 화면을 선택한 뒤, 다른 입력 장치(예를 들면, 키보드)를 통하여 텍스트 데이터를 입력할 수 있다. 입력 버퍼 레이어(530)에서 입력 요소를 가지는 프레임(예를 들면, iframe)이 생성될 수 있다. 이때, 편집 영역 레이어(520)에서의 사용자 인터랙션 간섭으로 인한 오작동을 최소화하기 위하여 iframe으로 생성될 수 있다. 렌더링부(330)는 입력 버퍼 레이어(530)에서 입력 요소를 가지는 프레임이 생성됨에 따라 입력 장치를 통하여 브라우저 화면에 노출된 편집 영역 레이어(520)에서 선택된 키 입력 이벤트를 수신할 수 있다. Referring to FIG. 6B, a key input event may occur based on a text area hidden under the input buffer layer 530. For example, the user may select a browser screen through an input device (eg, a mouse) and then input text data through another input device (eg, a keyboard). A frame (eg, iframe) having an input element may be generated in the input buffer layer 530. In this case, in order to minimize malfunction due to user interaction interference in the editing area layer 520, an iframe may be generated. As a frame having an input element is generated in the input buffer layer 530, the rendering unit 330 may receive a key input event selected from the editing area layer 520 exposed on the browser screen through the input device.

렌더링부(330)는 입력 버퍼 레이어(510)에 수신된 키보드 이벤트와 관련된 인터랙션 정보를 편집 영역 레이어(520)의 편집 데이터 모델에 갱신할 수 있다. 만약, 렌더링부(330)는 편집 영역 레이어(520)에 편집 데이터 모델에 인터랙션 정보가 존재하지 않을 경우, 입력 버퍼 레이어(510)로부터 수신된 키보드 이벤트와 관련된 인터랙션 정보를 반영할 수 있고, 편집 데이터 모델에 인터랙션 정보가 존재하는 경우, 입력 버퍼 레이어(510)로부터 수신된 키보드 이벤트와 관련된 인터랙션 정보를 갱신할 수 있다. The rendering unit 330 may update the interaction information related to the keyboard event received in the input buffer layer 510 to the editing data model of the editing area layer 520. If there is no interaction information in the edit data model in the editing area layer 520, the rendering unit 330 may reflect the interaction information related to the keyboard event received from the input buffer layer 510, and the edit data When interaction information exists in the model, interaction information related to a keyboard event received from the input buffer layer 510 may be updated.

렌더링부(330)는 편집 데이터 모델을 통하여 갱신 또는 반영된 인터랙션 정보를 렌더링할 수 있다. 이에, 사용자로부터 입력되는 텍스트 데이터가 브라우저 화면에 표시될 수 있다. 렌더링부(330)는 편집 영역 레이어(520)의 편집 데이터 모델을 갱신한 후, 인터랙션 정보가 마지막으로 입력된 위치와 관련하여 편집 중인 위치 정보를 가상 커서 레이어(510)의 선택 정보 모델에 갱신할 수 있다. 렌더링부(330)는 가상 커서 레이어(510)의 선택 정보 모델에 갱신된 위치 정보를 렌더링하여 커서 정보를 표시할 수 있다.The rendering unit 330 may render the updated or reflected interaction information through the edit data model. Accordingly, text data input from the user may be displayed on the browser screen. After updating the editing data model of the editing area layer 520, the rendering unit 330 may update the position information being edited in relation to the last input position of the interaction information in the selection information model of the virtual cursor layer 510. I can. The rendering unit 330 may display the cursor information by rendering the updated location information in the selection information model of the virtual cursor layer 510.

도 5는 일 실시예에 있어서, 가상 입력을 위한 레이어의 구조를 설명하기 위한 예이다. 이와 같은 레이어가 중첩된 형태로 구성된 가상입력기 웹 에디터가 제공될 수 있다. 예를 들면, 사용자는 가상입력기 웹 에디터를 통하여 텍스트 데이터 또는 이미지 데이터를 편집할 수 있고, 편집된 데이터가 브라우저 화면에 표시될 수 있다. 실제로 사용자는 가상입력기 웹 에디터에서 편집 영역 레이어를 통하여 데이터를 편집하게 된다. 5 is an example for explaining the structure of a layer for virtual input according to an embodiment. A virtual input device web editor configured in a form in which such layers are overlapped may be provided. For example, a user may edit text data or image data through a virtual input device web editor, and the edited data may be displayed on a browser screen. In fact, the user edits data through the editing area layer in the virtual input device web editor.

입력 버퍼 레이어(530)는 입력 장치(예를 들면, 마우스, 키보드, 디지타이징 등)을 통하여 입력되는 키 입력 정보와 관련된 처리를 수행할 수 있다. 입력 버퍼 레이어(530)는 사용자에게 보이지 않는 숨겨진 영역에 존재할 수 있다. 입력 버퍼 레이어는 입력 버퍼 레이어의 하단에 숨겨진 텍스트 영역을 구성하여 사용자의 키보드 입력을 수신하여 데이터화할 수 있다. 또한, 텍스트 영역에 텍스트를 입력할 때 커서 선택 정보를 가지고 있어서, 커서 정보를 가상 커서 레이어로 전달되어 렌더링될 수 있다. 입력 버퍼 레이어(530)는 input Element/textarea Element로 사용자의 키 입력을 수신하여 데이터화하는 과정을 수행할 수 있다. 이때, 입력 버퍼 레이어(530)는 복사/붙여넣기를 수행할 때, HTML을 자유롭게 컨트롤하기 위하여 contentEditable Element를 사용할 수도 있다. The input buffer layer 530 may perform processing related to key input information input through an input device (eg, mouse, keyboard, digitizing, etc.). The input buffer layer 530 may exist in a hidden area that is not visible to the user. The input buffer layer configures a text area hidden below the input buffer layer to receive a user's keyboard input and convert it into data. In addition, since cursor selection information is included when text is input in the text area, the cursor information can be transferred to the virtual cursor layer and rendered. The input buffer layer 530 may perform a process of converting data by receiving a user's key input as an input element/textarea element. In this case, the input buffer layer 530 may use a contentEditable Element to freely control HTML when copy/paste is performed.

입력 버퍼 레이어(530)는 사용자로부터 편집 영역 레이어(520)를 통하여 인터랙션 정보가 발생함에 따라 실제 브라우저의 포커스를 강제로 이동시킬 수 있다. 또한, 입력 장치를 통하여 입력된 키 입력 이벤트를 편집 영역 레이어의 DOM 객체에 전달할 수 있다. 키 입력 이벤트를 편집 영역 레이어에 전달하는 것을 릴레이 이벤트(Relay Event) 기능이라고 한다. 키 입력 이벤트가 입력 버퍼 레이어(530)에서만 발생하기 때문에 외부 애플리케이션에서 키 이벤트 리스너를 일반 입력 요소처럼 등록할 수 없다. 렌더링부(330)는 입력 버퍼 레이어(530)에서 발생한 키 입력 이벤트를 복제하여 편집 영역 레이어에 전달함으로써 외부 개발자가 일반 DOM 객체처럼 핸들링할 수 있다. 렌더링부(330)는 입력 버퍼 레이어(530)는 입력 장치를 통하여 발생한 입력 정보에 대한 입력값의 변경이 있을 경우, 편집 데이터 모델을 부분 갱신할 수 있도록 커스텀 이벤트를 전달할 수 있다.The input buffer layer 530 may forcibly move the focus of the actual browser as interaction information is generated from the user through the editing area layer 520. Also, a key input event input through the input device may be transmitted to the DOM object of the editing area layer. Delivering key input events to the editing area layer is called a relay event function. Since the key input event occurs only in the input buffer layer 530, an external application cannot register a key event listener like a general input element. The rendering unit 330 duplicates the key input event generated in the input buffer layer 530 and transmits it to the editing area layer, so that an external developer can handle it like a normal DOM object. The rendering unit 330 may transmit a custom event so that the input buffer layer 530 may partially update the edit data model when there is a change in an input value for input information generated through an input device.

편집 영역 레이어(520)는 입력 장치를 통하여 입력되는 인터랙션 정보와 데이터 출력과 관련된 처리를 수행할 수 있다. 편집 영역 레이어(520)는 입력 버퍼 레이어를 통하여 전달된 입력 데이터를 편집 데이터 모델로 모델링하고, 모델링된 편집 데이터 모델로부터 편집 영역 레이어가 렌더링되는 과정을 수행할 수 있다. The editing area layer 520 may perform processing related to data output and interaction information input through an input device. The editing area layer 520 may model the input data transmitted through the input buffer layer as an editing data model, and perform a process of rendering the editing area layer from the modeled editing data model.

편집 영역 레이어(520)는 어느 DOM 요소든 편집 영역이 될 수 있다. 편집 영역 레이어(520)는 입력 버퍼 레이어를 통하여 전달된 입력 장치와 관련하여 발생한 인터랙션 정보를 편집 데이터 모델을 통하여 모델링할 수 있다. 이때, 편집 영역 레이어(520)는 커스터마이징의 자유도를 높이기 위해 실제 모델링된 데이터를 렌더링하는 것은 데이터 편집을 수행하는 측에서 직접 구현하도록 할 수 있다. 편집 영역 레이어(520)는 키 입력 이벤트를 통하여 발생하는 인터랙션 정보가 발생하는 위치 정보를 편집 데이터 모델에 대응하는 요소에 클래스와 id를 포함하는 클래스 셀릭터를 추가할 수 있다. The editing area layer 520 may be an editing area of any DOM element. The editing area layer 520 may model interaction information generated in relation to the input device transmitted through the input buffer layer through the editing data model. In this case, the editing area layer 520 may directly implement the rendering of the modeled data in order to increase the degree of freedom of customization. The editing area layer 520 may add a class selector including a class and an id to an element corresponding to the editing data model with location information where interaction information generated through a key input event occurs.

가상 커서 레이어(530)는 입력 가능한 위치 정보와 선택 영역을 표현하는 처리를 수행할 수 있다. 가상 커서 레이어(530)는 편집 영역 레이어의 위에 깜박이는 캐럿 혹은 블록 영역을 커서 정보로 표시할 수 있다. 가상 커서 레이어(530)는 편집 영역 레이어(530)에서 실제로 사용자가 입력 정보를 입력하고 있는 지점과 관련된 위치 정보를 인지할 수 있다. 가상 커서 레이어(530)는 편집 영역 레이어(520)에서 입력 장치를 통하여 인터랙션 정보가 발생함에 따라 선택 정보 모델을 모델링할 수 있다. The virtual cursor layer 530 may perform a process of expressing inputtable position information and a selection area. The virtual cursor layer 530 may display a blinking caret or block area on the editing area layer as cursor information. The virtual cursor layer 530 may recognize location information related to a point at which the user is actually inputting input information in the editing area layer 530. The virtual cursor layer 530 may model a selection information model as interaction information is generated through an input device in the editing area layer 520.

가상 커서 레이어(510)는 실제 DOM 요소를 이용하여 표시할 수 있다. 편집 영역 레이어(520)에서 발생하는 인터랙션 정보를 감지하여 편집 중인 위치 정보를 선택 정보 모델을 통하여 모델링할 수 있다. 가상 커서 레이어(510)는 편집 중인 위치 정보를 브라우저 화면에 대응하는 화면 위치 정보로 계산하고, 계산된 화면 위치 정보에 해당하는 편집 영역 레이어에 커서 정보를 중첩시켜 노출시킬 수 있다. 가상 커서 레이어(510)는 선택 정보 모델의 시작 지점과 동일 지점이 일치할 경우, 커서 정보를 캐럿 형태로 노출시키고, 선택 정보 모델의 시작 지점과 동일 지점이 일치할지 않을 경우, 블랙 영역 형태로 노출시킬 수 있다. 이때, 캐럿 형태의 커서의 경우, DOM 요소를 주기적 또는 비주기적으로 쇼/하이드(show/hide)하여 깜박이는 커서로 표현할 수 있다. 블록 영역은 블록 영역 형태의 커서 정보를 선택 정보 모델의 시작 지점과 종료 지점 사이에 차지하는 영역을 계산하여 투명도와 색상 정보를 포함하는 DOM 요소를 편집 영역 레이어에 노출되도록 표현할 수 있다. The virtual cursor layer 510 may be displayed using an actual DOM element. By detecting the interaction information occurring in the editing area layer 520, the position information being edited may be modeled through the selection information model. The virtual cursor layer 510 may calculate the position information being edited as screen position information corresponding to the browser screen, and expose the cursor information by overlapping the editing area layer corresponding to the calculated screen position information. The virtual cursor layer 510 exposes cursor information in the form of a caret when the starting point of the selection information model and the same point coincide, and in the form of a black area when the starting point of the selection information model and the same point do not coincide. I can make it. In this case, in the case of a caret-type cursor, the DOM element may be periodically or aperiodically show/hide to be expressed as a blinking cursor. The block area may express a DOM element including transparency and color information to be exposed on the editing area layer by calculating an area occupying the block area-type cursor information between the start point and the end point of the selection information model.

도 7 내지 도 9는 일 실시예에 있어서, 브라우저에 데이터 모델을 렌더링하는 것을 설명하기 위한 예이다. 7 to 9 are examples for explaining rendering of a data model in a browser according to an embodiment.

브라우저 환경에 따라 데이터 모델을 렌더링하는 것을 설명하기 앞서, 편집 데이터 모델에 대하여 설명하기로 한다. Before describing the rendering of the data model according to the browser environment, the editing data model will be described.

편집 데이터 모델은 텍스트 이미지와 상기 이미지 데이터를 포함하는 입력 요소를 확장 또는 축소된 형태로 구분할 수 있다. 예를 들면, 편집 데이터 모델은 복합요소 표현을 위하여 편집된 데이터를 실제 단위 텍스트까지 4depth로 구성될 수 있다. 편집 데이터 모델은 최상단부터 컴포넌트(component) -> 유닛(unit) -> 문단(paragraph) -> 텍스트 노드(textnode)로 구분할 수 있다. 컴포넌트는 텍스트 데이터 및 이미지 데이터를 포함하는 복합적인 것들을 표현하기 위한 하나의 단위를 의미할 수 있다. 다시 말해서, 컴포넌트를 복합요소의 최상위개체로 정의할 수 있으며, 복수 개의 컴포넌트가 생성될 수 있다. 유닛은 컴포넌트의 하위 레벨 구분 개체로서, 텍스트 영역이 될 수도 있고, 이미지 영역이 될 수도 있다. 예를 들면, 캡션을 갖는 이미지를 하나의 컴포넌트로 정의함에 따라 이미지와 캡션은 각각 유닛이 될 수 있다. 문단은 단락을 구분하는 개체로서, 텍스트에 해당하는 유닛 내에서 단락을 구분하는 용도이다. 텍스트 노드는 단위 텍스트 개체로서, 서로 상이한 스타일을 갖는 단위 텍스트들을 구분할 수 있다. The editing data model may divide a text image and an input element including the image data into an expanded or reduced form. For example, the edited data model may consist of 4depth of edited data up to an actual unit text for expressing a complex element. From the top, the editing data model can be divided into component -> unit -> paragraph -> textnode. A component may mean one unit for expressing complex things including text data and image data. In other words, a component can be defined as a top-level object of a composite element, and a plurality of components can be created. A unit is a lower-level division object of a component, and may be a text area or an image area. For example, as an image having a caption is defined as one component, the image and the caption may each be a unit. Paragraphs are objects that separate paragraphs, and are used to separate paragraphs within a unit corresponding to text. The text node is a unit text entity and can distinguish unit texts having different styles.

편집 데이터 모델에서 캡션 이미지 컴포넌트는 도 7의 DATA 부분과 같이 정의될 수 있다. 이와 같이, 편집 데이터 모델에 저장된 인터랙션 정보는 JSON 형태의 구조로 데이터화되어 전자 기기에 저장될 수 있다. 사용자는 JSON 형태의 구조로 저장된 데이터를 브라우저 환경에 따라 변환하여 렌더링할 수 있다. 예를 들면, DATA 부분과 같이 정의된 캡션 이미지 컴포넌트를 HTML로 변환하여 브라우저 화면에 렌더링될 수 있다. 이에, 맨 오른쪽 도면과 같이 브라우저 화면이 노출될 수 있다. In the editing data model, the caption image component may be defined as the DATA part of FIG. 7. In this way, the interaction information stored in the editing data model may be converted into data in a JSON format and stored in an electronic device. The user can convert and render the data stored in the JSON format according to the browser environment. For example, a caption image component defined as a DATA part may be converted to HTML and rendered on a browser screen. Accordingly, a browser screen may be exposed as shown in the drawing on the far right.

또한, 텍스트 노드가 상이한 스타일을 갖는 경우, 도 8과 같이 스타일이 다른 텍스트 노드를 표현할 수 있다. 다시 말해서, 텍스트 데이터의 굵기, 크기, 색깔, 글씨체(폰트) 등의 스타일을 편집할 수 있다. 예를 들면, 도 8의 DATA 부분과 같이, 편집 데이터 모델에 정의된 복합요소 표현에 기초하여 편집 데이터 모델에 텍스트 데이터를 굵고, 빨간색이 표시되도록 설정될 수 있다. 편집 데이터 모델에 저장된 인터랙션 정보는 JSON 형태의 구조로 데이터화되어 전자 기기에 저장될 수 있다. 예를 들면, DATA 부분과 같이 다른 텍스트 노드의 표현에 대하여 HTML로 변환하여 브라우저 화면에 렌더링될 수 있다. 이에, 맨 오른쪽 도면과 같이 서로 다른 스타일이 적용된 텍스트 노드가 표현된 브라우저 화면이 노출될 수 있다.Also, when text nodes have different styles, text nodes having different styles may be expressed as shown in FIG. 8. In other words, you can edit the style of text data such as thickness, size, color, and font (font). For example, as shown in the DATA part of FIG. 8, text data may be set to be displayed in bold and red in the edit data model based on the expression of the complex element defined in the edit data model. The interaction information stored in the editing data model may be converted into data in a JSON format and stored in an electronic device. For example, the expression of another text node, such as a DATA part, may be converted to HTML and rendered on the browser screen. Accordingly, a browser screen in which text nodes to which different styles are applied, as shown in the rightmost drawing, may be exposed.

이와 같이, 전자 기기에 저장된 JSON 형태의 편집 데이터 모델에 구조화된 데이터를 이용하여 브라우저 환경에 따라 별도의 변환 과정이 수행됨으로써 인터랙션 정보가 브라우저 화면에 렌더링될 수 있다. In this way, a separate conversion process is performed according to the browser environment by using the structured data in the JSON format edit data model stored in the electronic device, so that the interaction information may be rendered on the browser screen.

편집 데이터 모델의 최종 편집 데이터는 DomainData=[component1, component2, ...];과 같은 형태의 컴포넌트의 배열로 완성될 수 있다. 편집 데이터 모델에서 컴포넌트를 어떻게 정의하느냐에 따라 템플릿이 결정될 수 있어 컴포넌트의 조합에 따라 다양한 템플릿이 구성될 수 있고, 구성된 템플릿으로 브라우저 화면에 렌더링될 수 있다. The final edit data of the edit data model may be completed as an array of components in the form of DomainData=[component1, component2, ...];. Since a template can be determined according to how a component is defined in the edit data model, various templates can be configured according to a combination of components, and the configured template can be rendered on the browser screen.

선택 정보 모델은 편집 데이터 모델을 기준으로 선택된 영역을 표현하기 위한 모델이다. 인터랙션 정보와 관련하여 편집 중인 시작 지점과 종료 지점을 포함하는 위치 정보으로 구성될 수 있다. 이러한 각 지점을 컴포넌트, 유닛, 문단, 텍스트 노드 및 오프셋(offset) 정보를 포함할 수 있다. The selection information model is a model for expressing an area selected based on the editing data model. It may be composed of location information including a starting point and an ending point being edited in relation to the interaction information. Each of these points may include component, unit, paragraph, text node, and offset information.

도 7에서 설명하였던, 캡션 이미지 컴포넌트의 캡션에 존재하는 커서 정보를 포함하는 선택 정보 모델을 도 9와 같이 표현할 수 있다. 도 9를 참고하면, 캐럿 형태, 텍스트 영역이 선택되었을 때, 컴포넌트가 선택되었을 때의 커서 정보를 설명하기 위한 예이다. 일례로, 가상 커서 레이어는 편집 영역 레이어에서 발생하는 인터랙션 정보를 감지하여 편집중인 위치 정보를 선택 정보 모델을 통하여 갱신하고, 갱신된 선택 정보 모델로부터 커서 정보를 렌더링할 수 있다. 이때, 선택 정보 모델에 저장된 인터랙션 정보와 관련된 위치 정보는 JSON 형태의 구조로 데이터화되어 전자 기기에 저장될 수 있다.The selection information model including cursor information present in the caption of the caption image component described in FIG. 7 may be expressed as shown in FIG. 9. Referring to FIG. 9, this is an example for explaining cursor information when a caret type, a text area is selected, and a component is selected. For example, the virtual cursor layer may detect interaction information occurring in the editing area layer, update position information being edited through the selection information model, and render cursor information from the updated selection information model. In this case, the location information related to the interaction information stored in the selection information model may be converted into data in a JSON format and stored in the electronic device.

구체적으로, 편집 중인 위치 정보가 브라우저 화면에 대응하는 화면 위치 정보로 계산되고, 계산된 화면 위치 정보에 해당하는 편집 영역 레이어에 커서 정보가 노출될 수 있다. 도 7에서 설명하였던 캡션 이미지 컴포넌트의 맨 앞에 커서 정보가 노출된 브라우저 화면이 렌더링될 수 있다. 이때, 브라우저 화면에 선택 정보 모델의 시작 지점과 동일 지점이 일치할 경우, 커서 정보가 캐럿 형태로 노출될 수 있다. 이때 캐럿 형태의 커서 정보가 캡션 이미지 컴포넌트의 맨 앞에 주기적으로 또는 비주기적으로 깜박거리게 된다. 예를 들면, CSS 조절을 통하여 캐럿 형태의 커서 정보를 쇼(show)/하이드(hide)를 반복적으로 동작시킴으로써 깜박이는 커서를 표현할 수 있다. Specifically, location information being edited may be calculated as screen location information corresponding to a browser screen, and cursor information may be exposed on an editing area layer corresponding to the calculated screen location information. A browser screen in which cursor information is exposed at the front of the caption image component described in FIG. 7 may be rendered. In this case, when the starting point and the same point of the selection information model coincide on the browser screen, cursor information may be exposed in the form of a caret. At this time, cursor information in the form of caret blinks periodically or aperiodically at the front of the caption image component. For example, a blinking cursor can be expressed by repeatedly operating show/hide cursor information in the form of caret through CSS adjustment.

또한, 선택 정보 모델의 시작 지점과 동일 지점이 일치할지 않을 경우, 커서 정보가 블럭 영역 형태로 노출될 수 있다. 예를 들면, 블록 영역 형태의 커서 정보를 시작 지점과 종료 지점 사이에 차지하는 영역을 계산하여 투명도와 색상 정보를 포함하는 DOM 요소가 편집 영역 레이어에 노출되도록 표현될 수 있다. 예를 들면, 블록 영역은 반투명한 파란색으로 표시될 수 있다. 도 9와 같이, 브라우저 화면에서 '이미지 캡션' 이라고 기재된 텍스트 영역이 선택될 경우, '이미지 캡션'이라고 기재된 텍스트 영역에 블록 영역 형태의 커서 정보가 생성될 수 있다. 이때, 텍스트 영역에 블록 영역 형태의 커서 정보가 생성될 경우, 브라우저 화면에 텍스트 영역에 해당하는 일부 영역이 블록 영역 형태의 커서 정보로 표시될 수 있다. Also, when the starting point and the same point of the selection information model do not coincide, the cursor information may be exposed in the form of a block area. For example, a DOM element including transparency and color information may be expressed to be exposed to the editing area layer by calculating an area occupying the block area type cursor information between the start point and the end point. For example, the block area may be displayed in translucent blue. As shown in FIG. 9, when a text area labeled “Image Caption” is selected on a browser screen, cursor information in the form of a block area may be generated in the text area labeled “Image Caption”. In this case, when cursor information in the form of a block area is generated in the text area, a partial area corresponding to the text area may be displayed on the browser screen as cursor information in the form of a block area.

또한, 브라우저 화면에서 컴포넌트가 선택될 경우, 컴포넌트 영역에 블록 영역 형태의 커서 정보가 생성될 수 있다. 이때, 컴포넌트 영역에 블록 영역 형태의 커서 정보가 생성될 경우, 브라우저 화면에 컴포넌트에 해당하는 전체 영역이 블록 영역 형태의 커서 정보로 표시될 수 있다. Also, when a component is selected on the browser screen, cursor information in the form of a block area may be generated in the component area. In this case, when cursor information in the form of a block area is generated in the component area, the entire area corresponding to the component may be displayed on the browser screen as cursor information in the form of a block area.

이상에서 설명된 장치는 하드웨어 구성요소, 소프트웨어 구성요소, 및/또는 하드웨어 구성요소 및 소프트웨어 구성요소의 조합으로 구현될 수 있다. 예를 들어, 실시예들에서 설명된 장치 및 구성요소는, 예를 들어, 프로세서, 콘트롤러, ALU(arithmetic logic unit), 디지털 신호 프로세서(digital signal processor), 마이크로컴퓨터, FPGA(field programmable gate array), PLU(programmable logic unit), 마이크로프로세서, 또는 명령(instruction)을 실행하고 응답할 수 있는 다른 어떠한 장치와 같이, 하나 이상의 범용 컴퓨터 또는 특수 목적 컴퓨터를 이용하여 구현될 수 있다. 처리 장치는 운영 체제(OS) 및 상기 운영 체제 상에서 수행되는 하나 이상의 소프트웨어 애플리케이션을 수행할 수 있다. 또한, 처리 장치는 소프트웨어의 실행에 응답하여, 데이터를 접근, 저장, 조작, 처리 및 생성할 수도 있다. 이해의 편의를 위하여, 처리 장치는 하나가 사용되는 것으로 설명된 경우도 있지만, 해당 기술분야에서 통상의 지식을 가진 자는, 처리 장치가 복수 개의 처리 요소(processing element) 및/또는 복수 유형의 처리 요소를 포함할 수 있음을 알 수 있다. 예를 들어, 처리 장치는 복수 개의 프로세서 또는 하나의 프로세서 및 하나의 콘트롤러를 포함할 수 있다. 또한, 병렬 프로세서(parallel processor)와 같은, 다른 처리 구성(processing configuration)도 가능하다.The apparatus described above may be implemented as a hardware component, a software component, and/or a combination of a hardware component and a software component. For example, the devices and components described in the embodiments are, for example, a processor, a controller, an arithmetic logic unit (ALU), a digital signal processor, a microcomputer, a field programmable gate array (FPGA). , A programmable logic unit (PLU), a microprocessor, or any other device capable of executing and responding to instructions, such as one or more general purpose computers or special purpose computers. The processing device may execute an operating system (OS) and one or more software applications executed on the operating system. In addition, the processing device may access, store, manipulate, process, and generate data in response to the execution of software. For the convenience of understanding, although it is sometimes described that one processing device is used, one of ordinary skill in the art, the processing device is a plurality of processing elements and/or a plurality of types of processing elements. It can be seen that it may include. For example, the processing device may include a plurality of processors or one processor and one controller. In addition, other processing configurations are possible, such as a parallel processor.

소프트웨어는 컴퓨터 프로그램(computer program), 코드(code), 명령(instruction), 또는 이들 중 하나 이상의 조합을 포함할 수 있으며, 원하는 대로 동작하도록 처리 장치를 구성하거나 독립적으로 또는 결합적으로(collectively) 처리 장치를 명령할 수 있다. 소프트웨어 및/또는 데이터는, 처리 장치에 의하여 해석되거나 처리 장치에 명령 또는 데이터를 제공하기 위하여, 어떤 유형의 기계, 구성요소(component), 물리적 장치, 가상 장치(virtual equipment), 컴퓨터 저장 매체 또는 장치에 구체화(embody)될 수 있다. 소프트웨어는 네트워크로 연결된 컴퓨터 시스템 상에 분산되어서, 분산된 방법으로 저장되거나 실행될 수도 있다. 소프트웨어 및 데이터는 하나 이상의 컴퓨터 판독 가능 기록 매체에 저장될 수 있다.The software may include a computer program, code, instructions, or a combination of one or more of these, configuring the processing unit to behave as desired or processed independently or collectively. You can command the device. Software and/or data may be interpreted by a processing device or to provide instructions or data to a processing device, of any type of machine, component, physical device, virtual equipment, computer storage medium or device. Can be embodyed in The software may be distributed over networked computer systems and stored or executed in a distributed manner. Software and data may be stored on one or more computer-readable recording media.

실시예에 따른 방법은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체에 기록되는 프로그램 명령은 실시예를 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능 기록 매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(magnetic media), CD-ROM, DVD와 같은 광기록 매체(optical media), 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 롬(ROM), 램(RAM), 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함한다. The method according to the embodiment may be implemented in the form of program instructions that can be executed through various computer means and recorded in a computer-readable medium. The computer-readable medium may include program instructions, data files, data structures, and the like alone or in combination. The program instructions recorded on the medium may be specially designed and configured for the embodiment, 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 the 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, although the embodiments have been described by the limited embodiments and drawings, various modifications and variations are possible from the above description by those of ordinary skill in the art. For example, the described techniques are performed in a different order from the described method, and/or components such as a system, structure, device, circuit, etc. described are combined or combined in a form different from the described method, or other components Alternatively, even if substituted or substituted by an equivalent, an appropriate result can be achieved.

그러므로, 다른 구현들, 다른 실시예들 및 특허청구범위와 균등한 것들도 후술하는 특허청구범위의 범위에 속한다.Therefore, other implementations, other embodiments, and claims and equivalents fall within the scope of the claims to be described later.

Claims (19)

컴퓨터로 구현되는 전자 기기에 의해 수행되는 가상 입력 방법에 있어서,
데이터 편집을 위한 속성 정보가 부여된 적어도 하나 이상의 레이어를 구성하는 단계;
상기 구성된 적어도 하나 이상의 레이어에서 인식된 입력 정보를 저장하는 데이터 모델을 정의하는 단계; 및
상기 정의된 데이터 모델을 통하여 모델링된 데이터 편집과 관련된 인터랙션 정보를 브라우저의 환경에 기초하여 렌더링하는 단계
를 포함하는 가상 입력 방법.
In the virtual input method performed by an electronic device implemented as a computer,
Configuring at least one layer to which attribute information for data editing is assigned;
Defining a data model for storing input information recognized in the configured at least one or more layers; And
Rendering interaction information related to data editing modeled through the defined data model based on the browser environment
Virtual input method comprising a.
제1항에 있어서,
상기 적어도 하나 이상의 레이어를 구성하는 단계는,
데이터의 입력을 담당하는 입력 버퍼 레이어, 입력 장치와의 인터랙션을 통하여 데이터의 출력을 담당하는 편집 영역 레이어 및 입력 가능한 위치 정보와 선택된 영역을 표시하는 가상 커서 레이어를 구성하는 단계
를 포함하는 가상 입력 방법.
The method of claim 1,
The step of configuring the at least one layer,
A step of configuring an input buffer layer in charge of inputting data, an editing area layer in charge of outputting data through interaction with an input device, and a virtual cursor layer displaying the input position information and the selected area.
Virtual input method comprising a.
제1항에 있어서,
상기 모델을 정의하는 단계는,
상기 구성된 적어도 하나 이상의 레이어를 통하여 텍스트 데이터와 이미지 데이터를 포함하는 입력 요소를 표현하기 위한 편집 데이터 모델 및 상기 편집 데이터 모델을 기준으로 선택된 영역을 표현하기 위한 선택 정보 모델을 포함하는 데이터 모델을 정의하는 단계
를 포함하는 가상 입력 방법.
The method of claim 1,
The step of defining the model,
Defining a data model including an editing data model for expressing an input element including text data and image data through the configured at least one or more layers and a selection information model for expressing an area selected based on the editing data model step
Virtual input method comprising a.
제3항에 있어서,
상기 편집 데이터 모델은,
상기 텍스트 이미지와 상기 이미지 데이터를 포함하는 입력 요소를 확장 또는 축소된 형태로 구분하는
가상 입력 방법.
The method of claim 3,
The edited data model,
Dividing the text image and the input element including the image data into an expanded or reduced form
Virtual input method.
제3항에 있어서,
상기 선택 정보 모델은,
상기 선택된 영역의 시작 지점과 종료 지점으로 구성하고, 상기 시작 지점 및 상기 종료 지점을 컴포넌트(component), 유닛(unit), 문단(paragraph), 텍스트 노드(text node) 및 오프셋(offset) 정보로 구분하는
를 포함하는 가상 입력 방법.
The method of claim 3,
The selection information model,
It consists of a start point and an end point of the selected area, and divides the start point and the end point into component, unit, paragraph, text node, and offset information. doing
Virtual input method comprising a.
제1항에 있어서,
상기 브라우저의 환경에 기초하여 렌더링하는 단계는,
입력 요소를 가지는 프레임이 생성됨에 따라 입력 장치를 통하여 브라우저에 노출된 편집 영역에 선택된 키 입력 정보를 수신하고, 상기 수신된 키 입력 정보를 핸들링하기 위한 브라우저의 포커스를 상기 입력 버퍼 레이어로 이동시키는 단계
를 포함하는 가상 입력 방법.
The method of claim 1,
Rendering based on the environment of the browser,
As a frame having an input element is generated, receiving selected key input information in an editing area exposed to a browser through an input device, and moving the focus of the browser for handling the received key input information to the input buffer layer
Virtual input method comprising a.
제6항에 있어서,
상기 브라우저의 환경에 기초하여 렌더링하는 단계는,
상기 입력 버퍼 레이어에서 상기 입력 장치로부터 수신된 키 입력 정보를 편집 영역 레이어의 DOM 객체로 전달하는 단계
를 포함하는 가상 입력 방법.
The method of claim 6,
Rendering based on the environment of the browser,
Transmitting key input information received from the input device in the input buffer layer to a DOM object of the editing area layer
Virtual input method comprising a.
제7항에 있어서,
상기 브라우저의 환경에 기초하여 렌더링하는 단계는,
편집 영역 레이어에서 상기 입력 버퍼 레이어로부터 입력 장치를 통하여 입력된 키 입력 정보를 수신하고, 상기 수신된 키 입력 정보를 통하여 발생하는 인터랙션 정보를 편집 데이터 모델로 모델링하고, 상기 모델링된 편집 데이터 모델로부터 편집 영역 레이어를 렌더링하는 단계
를 포함하는 가상 입력 방법.
The method of claim 7,
Rendering based on the environment of the browser,
Receives key input information input through an input device from the input buffer layer in the edit area layer, models interaction information generated through the received key input information as an edit data model, and edits from the modeled edit data model Steps to render an area layer
Virtual input method comprising a.
제8항에 있어서,
상기 브라우저의 환경에 기초하여 렌더링하는 단계는,
상기 인터랙션 정보가 발생하는 위치 정보를 편집 데이터 모델에 대응하는 요소에 클래스 셀렉터를 추가하는 단계
를 포함하는 가상 입력 방법.
The method of claim 8,
Rendering based on the environment of the browser,
Adding a class selector to an element corresponding to the edit data model for the location information where the interaction information occurs
Virtual input method comprising a.
제8항에 있어서,
상기 브라우저의 환경에 기초하여 렌더링하는 단계는,
가상 커서 레이어에서 상기 편집 영역 레이어에서 발생하는 인터랙션 정보를 감지하여 편집중인 위치 정보를 선택 정보 모델을 통하여 갱신하고, 상기 갱신된 선택 정보 모델로부터 가상 커서 레이어를 렌더링하는 단계
를 포함하는 가상 입력 방법.
The method of claim 8,
Rendering based on the environment of the browser,
Detecting interaction information occurring in the editing area layer in a virtual cursor layer, updating position information being edited through a selection information model, and rendering a virtual cursor layer from the updated selection information model
Virtual input method comprising a.
제10항에 있어서,
상기 브라우저의 환경에 기초하여 렌더링하는 단계는,
상기 편집 중인 위치 정보를 브라우저 화면에 대응하는 화면 위치 정보로 계산하고, 상기 계산된 화면 위치 정보에 해당하는 편집 영역 레이어에 커서 정보를 노출시키는 단계
를 포함하는 가상 입력 방법.
The method of claim 10,
Rendering based on the environment of the browser,
Calculating the position information being edited as screen position information corresponding to the browser screen, and exposing cursor information to an editing area layer corresponding to the calculated screen position information
Virtual input method comprising a.
제10항에 있어서,
상기 브라우저의 환경에 기초하여 렌더링하는 단계는,
상기 선택 정보 모델의 시작 지점과 동일 지점이 일치할 경우, 상기 커서 정보를 캐럿 형태로 노출시키고, 상기 선택 정보 모델의 시작 지점과 동일 지점이 일치할지 않을 경우, 커서 정보를 블럭 영역 형태로 노출시키는 단계
를 포함하는 가상 입력 방법.
The method of claim 10,
Rendering based on the environment of the browser,
When the starting point of the selection information model and the same point coincide, the cursor information is exposed in a caret form, and when the starting point of the selection information model and the same point do not coincide, the cursor information is exposed in the form of a block area. step
Virtual input method comprising a.
제12항에 있어서,
상기 브라우저의 환경에 기초하여 렌더링하는 단계는,
상기 캐럿 형태의 커서 정보를 주기적으로 깜박이도록 표현하고, 상기 블록 영역 형태의 커서 정보를 상기 시작 지점과 상기 종료 지점 사이에 차지하는 영역을 계산하여 투명도와 색상 정보를 포함하는 DOM 요소를 편집 영역 레이어에 노출되도록 표현하는 단계
를 포함하는 가상 입력 방법.
The method of claim 12,
Rendering based on the environment of the browser,
The cursor information in the form of the caret is expressed to blink periodically, and the area occupying the cursor information in the block area form between the start point and the end point is calculated, and a DOM element including transparency and color information is added to the editing area layer. Expressing to be exposed
Virtual input method comprising a.
제1항에 있어서,
상기 브라우저의 환경에 기초하여 렌더링하는 단계는,
상기 정의된 데이터 모델을 통하여 모델링된 데이터 편집과 관련된 인터랙션 정보를 JSON 형태의 구조로 데이터화하여 저장하는 단계
를 포함하는 가상 입력 방법.
The method of claim 1,
Rendering based on the environment of the browser,
Converting and storing interaction information related to data editing modeled through the defined data model into data in a JSON format structure
Virtual input method comprising a.
제14항에 있어서,
상기 브라우저의 환경에 기초하여 렌더링하는 단계는,
상기 저장된 JSON 형태의 구조로 데이터화된 인터랙션 정보를 브라우저 환경에 따라 변환하여 편집 영역 레이어에 렌더링하는 단계
를 포함하는 가상 입력 방법.
The method of claim 14,
Rendering based on the environment of the browser,
Converting the interaction information converted into the saved JSON format according to the browser environment and rendering it to the editing area layer
Virtual input method comprising a.
제8항에 있어서,
상기 브라우저의 환경에 기초하여 렌더링하는 단계는,
상기 인터랙션 정보를 상기 편집 데이터 모델에 기초하여 모델링함에 따라 템플릿을 구성하는 단계
를 포함하는 가상 입력 방법.
The method of claim 8,
Rendering based on the environment of the browser,
Configuring a template by modeling the interaction information based on the edited data model
Virtual input method comprising a.
제1항에 있어서,
상기 브라우저의 환경에 기초하여 렌더링하는 단계는,
입력 장치를 통하여 브라우저에 노출된 편집 영역 레이어에 선택된 키 입력 정보와 관련된 인터랙션 정보를 상기 정의된 데이터 모델에 모델링하는 단계
를 포함하는 가상 입력 방법.
The method of claim 1,
Rendering based on the environment of the browser,
Modeling interaction information related to key input information selected in the editing area layer exposed to the browser through the input device in the defined data model
Virtual input method comprising a.
컴퓨터로 구현되는 전자 기기에 의해 수행되는 가상 입력 방법을 실행시키기 위하여 컴퓨터 판독 가능한 저장매체에 저장된 컴퓨터 프로그램에 있어서,
데이터 편집을 위한 속성 정보가 부여된 적어도 하나 이상의 레이어를 구성하는 단계;
상기 구성된 적어도 하나 이상의 레이어에서 인식된 입력 정보를 저장하는 데이터 모델을 정의하는 단계; 및
상기 정의된 데이터 모델을 통하여 모델링된 데이터 편집과 관련된 인터랙션 정보를 브라우저의 환경에 기초하여 렌더링하는 단계
를 포함하는 컴퓨터 판독 가능한 저장매체에 저장된 컴퓨터 프로그램.
A computer program stored in a computer-readable storage medium to execute a virtual input method performed by an electronic device implemented as a computer,
Configuring at least one layer to which attribute information for data editing is assigned;
Defining a data model for storing input information recognized in the configured at least one or more layers; And
Rendering interaction information related to data editing modeled through the defined data model based on the browser environment
A computer program stored in a computer-readable storage medium comprising a.
컴퓨터로 구현되는 전자 기기의 가상 입력 시스템에 있어서,
데이터 편집을 위한 속성 정보가 부여된 적어도 하나 이상의 레이어를 구성하는 레이어 구성부;
상기 구성된 적어도 하나 이상의 레이어에서 인식된 입력 정보를 저장하는 데이터 모델을 정의하는 데이터 모델 정의부; 및
상기 정의된 데이터 모델을 통하여 모델링된 데이터 편집과 관련된 인터랙션 정보를 브라우저의 환경에 기초하여 렌더링하는 렌더링부
를 포함하는 전자 기기의 가상 입력 시스템.
In the virtual input system of an electronic device implemented by a computer,
A layer construction unit configuring at least one layer to which attribute information for data editing is assigned;
A data model definition unit defining a data model for storing input information recognized in the configured at least one or more layers; And
Rendering unit that renders interaction information related to data editing modeled through the defined data model based on the browser environment
Virtual input system of an electronic device comprising a.
KR1020190038845A 2019-04-03 2019-04-03 Method and system for virtual input on the web KR102228241B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020190038845A KR102228241B1 (en) 2019-04-03 2019-04-03 Method and system for virtual input on the web

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020190038845A KR102228241B1 (en) 2019-04-03 2019-04-03 Method and system for virtual input on the web

Publications (2)

Publication Number Publication Date
KR20200117140A true KR20200117140A (en) 2020-10-14
KR102228241B1 KR102228241B1 (en) 2021-03-17

Family

ID=72846754

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020190038845A KR102228241B1 (en) 2019-04-03 2019-04-03 Method and system for virtual input on the web

Country Status (1)

Country Link
KR (1) KR102228241B1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080052355A (en) * 2006-12-05 2008-06-11 후지쯔 가부시끼가이샤 Cad apparatus, method of editing graphic data, and computer readable recording medium for recording cad program
JP2009009424A (en) * 2007-06-28 2009-01-15 Sony Corp Image display apparatus, imaging apparatus, image display control method, and program
KR20100020817A (en) * 2008-08-13 2010-02-23 엘지전자 주식회사 Mobile terminal and operation control method thereof
KR20120006873A (en) * 2010-07-13 2012-01-19 엘지전자 주식회사 Mobile terminal and operation method thereof
KR101421369B1 (en) * 2013-01-10 2014-07-18 주식회사 팬택 Terminal setting touch lock layer and method thereof
KR101781558B1 (en) * 2017-03-22 2017-09-26 주식회사 한글과컴퓨터 Web document rendering processing apparatus and method based on user action

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080052355A (en) * 2006-12-05 2008-06-11 후지쯔 가부시끼가이샤 Cad apparatus, method of editing graphic data, and computer readable recording medium for recording cad program
JP2009009424A (en) * 2007-06-28 2009-01-15 Sony Corp Image display apparatus, imaging apparatus, image display control method, and program
KR20100020817A (en) * 2008-08-13 2010-02-23 엘지전자 주식회사 Mobile terminal and operation control method thereof
KR20120006873A (en) * 2010-07-13 2012-01-19 엘지전자 주식회사 Mobile terminal and operation method thereof
KR101421369B1 (en) * 2013-01-10 2014-07-18 주식회사 팬택 Terminal setting touch lock layer and method thereof
KR101781558B1 (en) * 2017-03-22 2017-09-26 주식회사 한글과컴퓨터 Web document rendering processing apparatus and method based on user action

Also Published As

Publication number Publication date
KR102228241B1 (en) 2021-03-17

Similar Documents

Publication Publication Date Title
Murphy et al. Beginning Android 4
CN110235122B (en) System and method for converting web content into reusable templates and components
US10592211B2 (en) Generation of application behaviors
JP6541647B2 (en) Runtime customization infrastructure
US20110289407A1 (en) Font recommendation engine
US8074167B2 (en) Cross domain presence of web user interface and logic
US20140047409A1 (en) Enterprise application development tool
JP5697661B2 (en) Platform extensibility framework
US20120324377A1 (en) User interface extensibility for web application development tool
Spaanjaars Beginning asp. net 4: in c# and vb
CN107832052B (en) Method and device for displaying preview page, storage medium and electronic equipment
Allen et al. Beginning Android 4
EP4280048A1 (en) Page rendering method and apparatus, electronic device, computer-readable storage medium, and computer program product
CN114064024A (en) Method, apparatus, device, storage medium, and program product for developing micro-application
KR102543722B1 (en) Method, system, and non-transitory computer readable record medium for business cooperation using desing kit
JP2013518321A (en) Pattern-based user interface
CN113407284A (en) Navigation interface generation method and device, storage medium and electronic equipment
US10409575B2 (en) System and method for developing software applications of wearable devices
KR102228241B1 (en) Method and system for virtual input on the web
Wenz Essential Silverlight 2 Up-to-Date
JP2004318260A (en) Program generating device, program generating method, program, and recording medium
Magno Mobile-first Bootstrap
Clark et al. Sencha Touch Mobile JavaScript Framework
Sheiko Cross-Platform Desktop Application Development: Electron, Node, NW. js, and React
US10394932B2 (en) Methods and systems for combining a digital publication shell with custom feature code to create a digital publication

Legal Events

Date Code Title Description
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant