KR20020065697A - Method of encoding for widl web frame work - Google Patents

Method of encoding for widl web frame work Download PDF

Info

Publication number
KR20020065697A
KR20020065697A KR1020010005854A KR20010005854A KR20020065697A KR 20020065697 A KR20020065697 A KR 20020065697A KR 1020010005854 A KR1020010005854 A KR 1020010005854A KR 20010005854 A KR20010005854 A KR 20010005854A KR 20020065697 A KR20020065697 A KR 20020065697A
Authority
KR
South Korea
Prior art keywords
separator
binding
factor
string
outputting
Prior art date
Application number
KR1020010005854A
Other languages
Korean (ko)
Other versions
KR100435005B1 (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 KR10-2001-0005854A priority Critical patent/KR100435005B1/en
Publication of KR20020065697A publication Critical patent/KR20020065697A/en
Application granted granted Critical
Publication of KR100435005B1 publication Critical patent/KR100435005B1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services

Landscapes

  • Business, Economics & Management (AREA)
  • Tourism & Hospitality (AREA)
  • Health & Medical Sciences (AREA)
  • Economics (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)

Abstract

PURPOSE: A WIDL(Web Interface Definition Language) web frame work encoding method is provided to reduce a size of a client library for analyzing a session layer protocol between a WIDL processor and a web client program developed on a basis of the WIDL processor. CONSTITUTION: The method comprises steps of selecting a binding element, e(S302), checking if a currently selected element is the last(S303), checking if a type value of the currently selected element is a variable, namely a value of the binding element is a string(S305), in a case that the value of the binding element is a string, adding a number "0" and a separator before the binding element(S325) and adding a separator and a terminator after the binding element(S327, S329), in a case that the value of the binding element is one dimensional variable, adding a number "1" and a separator before the binding element(S331), adding a name of the binding element with a separator(S333), and then adding a size of the binding element with a separator(S335), in a case that the value of the binding element is two dimensional variable, adding a number "2" and a separator before the binding element(S311), adding a name of the binding element with a separator(S313), adding a size of the binding element with a separator(S315), selecting an "r" if one row of the binding element is "r"(S317) and stopping an encoding procedure if there exists no row to be selected(S319).

Description

와이들 웹 프레임 워크를 위한 인코딩 방법{METHOD OF ENCODING FOR WIDL WEB FRAME WORK}Encoding method for WIDEL web framework {METHOD OF ENCODING FOR WIDL WEB FRAME WORK}

본 발명은 와이들(Web Interface Definition Language) 웹(Web)상에서의 프레임워크(Framework) 프로토콜(Plotocol)에 관한 것으로, 보다 상세히는 와이들 프로세서와 이를 기반으로 개발된 웹 기반 클라이언트 프로그램 사이의 세션 (Session)층 프로토콜 해석을 위한 클라이언트 라이브러리의 규모를 축소시키는 와이들 웹 프레임 워크를 위한 인코딩 방법에 관한 것이다.The present invention relates to a framework protocol (Plotocol) on the Web Interface Definition Language (Web), and more particularly, to a session between the Ydle processor and a web-based client program developed thereon. Session) Layer encoding method for the Wydle web framework that reduces the size of the client library for protocol interpretation.

일반적으로 와이들(WIDL)은 선언적 수단을 사용하여 웹 데이터를 프로그램 변수에 대응시키고 변수들 사이의 매핑을 서비스로 정의하여 웹 기반 프로그램 개발을 지원하는 언어이다. 또한 와이들 프로세서는 클라이언트 프로그램으로부터의 서비스 요청을 실행하고 와이들 스크립터를 유지 관리하기 위한 서버 형태의 소프트웨어로서, 상기 와이들과 와이들 프로세서는 웹 데이터를 참조하는 일련의 과정을 자동화하여 웹 기반 업무를 단순화할 수 있는 웹 자동화 프로그램 개발에 활용되고 있다.In general, WiDL is a language that supports web-based program development by using declarative means to map web data to program variables and to define mappings between variables as services. In addition, the widle processor is a server-type software for executing a service request from a client program and maintaining a wile script. The widle and the widle processor automate a series of processes of referring to web data to perform a web-based task. It is used to develop web automation program that can simplify the process.

한편, 와이들을 기반으로 개발된 클라이언트 프로그램은 흔히 와이들 프로세서와 지역적으로 분리된 클라이언트-서버 시스템으로 구축되므로, 그들 사이의 세션 문맥 설정과 유지, 서비스 요청 표현과 실행 및 데이터 인코딩/디코딩을 위한 프로토콜이 요구된다. 이와 같이 요구되는 프로토콜은 일반적으로 엑스엠엘/알피씨(XML/RPC)가 사용되고 있으며, 세션 문맥 설정과 유지를 위하여 에이취티티피(HTTP)을 사용하고 있다. 또한 서비스 요청과 데이터 인코딩 및 디코딩에는 엑스엠엘(XML)을 사용하고 있으며, 이를 실시예로서 설명하면 다음과 같다.On the other hand, client programs developed on the basis of wires are often built on a client-server system that is separate from the wired processor, so that protocols for establishing and maintaining session contexts, expressing and executing service requests, and encoding / decoding data between them are available. Is required. In general, the required protocol is XML / RPC, and HTP is used to set and maintain the session context. In addition, XM (XML) is used for service request and data encoding and decoding, which is described as an embodiment as follows.

실시예>Example>

POST /RPC2HTTP/1.0POST /RPC2HTTP/1.0

User-Agent: Frontier/5.1.2(WinNT)User-Agent: Frontier / 5.1.2 (WinNT)

Host:wire.bitweb.comHost: wire.bitweb.com

Content-Type:text/xmlContent-Type: text / xml

Content-length:181Content-length: 181

<?xml version="1.0"?><? xml version = "1.0"?>

<methodCall><methodCall>

<methodName>sock.ticker</methodName><methodName> sock.ticker </ methodName>

<params><params>

<param><param>

<name>tickerCode</name><value><i4>15760</i4></value><name> tickerCode </ name> <value> <i4> 15760 </ i4> </ value>

</param></ param>

</params></ params>

</methodCall></ methodCall>

상기의 프로그램은 HTTP 1.0으로 작성된 XML을 나타낸 것으로, 상기 tickerCode를 위한 인수에 정수 15760을 사용하여 stock.ticker를 호출하기 위한 XML/RPC 구문이다. 예시된 바와 같이, "tickerCode"를 위한 식별자는 <name>, </name>이 사용되고, 정수 "15760"에는 시작을 위한 <value>, <i4> 및 종료를 위한 </value>, </i4>가 사용된다. 또한 상기 "stock.ticker"를 호출하기 위해 시작 식별자<params> , <param> 및 종료 식별자 </params> , </param>가 사용되며, 호출 문자의 시작과 종료를 나타내는 <methodName> 및 </methodName>이 사용되고 있는 것이다.The program above shows XML written in HTTP 1.0, which is an XML / RPC syntax for calling stock.ticker with an integer 15760 as an argument for the tickerCode. As illustrated, the identifier for "tickerCode" is used <name>, </ name>, and the integer "15760" contains <value> for start, <i4> and </ value> for end, </ i4 > Is used. In addition, the start identifier <params>, <param> and end identifier </ params>, </ param> are used to call the "stock.ticker", and the <methodName> and </ which indicate the start and end of the call character. methodName> is being used.

이와 같은 프레임워크를 갖는 XML/RPC는 서비스 요청 뿐만 아니라, 서비스의실행 결과 및 예외의 발생, 배열이나 레코드와 같이 구조화된 데이터를 표현하기 위한 기능을 제공하게 된다. 또한 상기 XML/RPC가 기반하고 있는 HTTP 및 XML은 와이들 프레임워크를 위한 기능이기 보다는 웹을 위한 일반적인 기능으로 설계되어 있음에 따라, 원격 서버에 탑재된 와이들 서비스를 요청하기 위해서는 소켓 인터페이스만 필요한 반면, 이에 사용되는 상기 HTTP는 텍스트, 가상 터미널, 파일전송, 전자우편, 멀티미디어 등을 포함하는 하이퍼 텍스트를 교환하기 위한 범용 프로토콜로서 사용되며, 와이들 서비스의 데이터는 문자열, 배열, 테이블만이 사용되고 있다.XML / RPC with such a framework will provide not only service request but also function to express structured data such as service execution result and exception occurrence, array or record. Also, HTTP and XML on which XML / RPC is based are designed as a general function for the web rather than a function for the wired framework. Therefore, only a socket interface is required to request a wired service mounted on a remote server. On the other hand, the HTTP is used as a general-purpose protocol for exchanging hypertext including text, virtual terminal, file transfer, e-mail, multimedia, and the like, and the data of the Wi-Fi service uses only strings, arrays, and tables. have.

그러나 XML은 임의의 깊이로 중첩된 배열이나 레코드를 갖고 있어 표현의 자유로움이 가능하여, 상기 HTTP 및 XML의 사용시 과도한 일반성으로 인해 프로토콜 해석 모듈이 복잡하게 되는 문제점이 있다. 즉, 휴대용 사무기기(PDA, Personal Digital Assistant)나 휴대 전화 등의 모바일 기기에서 웹 클라이언트를 운용하고자 할 경우 프로그램을 경량화하기에 매우 어렵고, 프로그램을 기기에 탑재하는 것 자체가 불가능한 경우가 발생하고 있다. 일예로, 자바(Java) 가상 머신을 탑재한 휴대전화의 경우에는 프로그램의 규모가 15KB 이내로 제한되어, 필요 이상으로 복잡한 중량급 프로토콜 보다는 효율적인 경량급 프로토콜이 필수적으로 요구되는 것이다.However, since XML has an array or records nested to an arbitrary depth, freedom of expression is possible, and there is a problem that a protocol interpretation module becomes complicated due to excessive generality when using the HTTP and XML. In other words, when a web client is to be operated in a mobile device such as a PDA (PDA) or a mobile phone, it is very difficult to lighten the program and it is impossible to mount the program on the device itself. . For example, in the case of a mobile phone equipped with a Java virtual machine, the size of the program is limited to 15 KB or less, and an efficient lightweight protocol is required rather than a complicated heavyweight protocol more than necessary.

또한 XML은 바인딩의 모든 요소에 태그를 부여하므로 인코딩된 표현이 원래의 데이터에 비해 지나치게 커지므로 인터넷을 통한 전송에 많은 부담을 유발한다는 문제점이 야기되고 있는 것이다.In addition, XML tags all elements of a binding, which causes a problem in that the encoded representation becomes excessively large compared to the original data, which causes a lot of burden for transmission over the Internet.

본 발명은 상기의 문제점을 해결하기 위해 창출된 것으로, 본 발명은 엑스엠엘의 태그 구조를 사용하지 않으므로서, 프로토콜이 경량급이고, 데이터의 표현과 실행 시간의 단축 및 와이들 프로세서의 구축이 용이하며, 와이들의 표현력에 제한되지 않는 와이들 웹 프레임 워크를 위한 인코딩 방법을 제공함에 있다.The present invention was created to solve the above problems, and the present invention does not use the tag structure of XM L, so that the protocol is light in weight, the data representation and execution time can be shortened, and the construction of the wire processor is easy. In addition, the present invention provides an encoding method for the YDL web framework that is not limited to the YW expression power.

상기 목적을 달성하기 위한 본 발명의 관점에 따른 와이들 웹 프레임 워크를 위한 인코딩 방법은, a) 프로토콜 명령과 와이들 서비스 요청에 따라 서비스 시작을 위한 스타터 인자(ⓑ)를 출력하는 단계; b) 상기 프로토콜 명령 또는 와이들 서비스의 명칭을 출력하는 단계; c) 상기 프로토콜 명령 또는 와이들 서비스의 명칭에 인수 존재 유무에 따라 서비스 종료를 위한 터미네이터 인자(ⓔ)를 출력하고 인코딩을 종료하거나, 서비스 구분을 위한 세퍼레이터 인자(ⓢ)를 출력하는 단계; 및 d) 상기 세퍼레이터 인자(ⓢ)를 출력 후 바인딩 인수 유무에 따라 문자열을 출력한 후 상기 과정을 반복하거나, STRING, STRING[], STRING[][] 형 분류에 따라 서로 다른 바인딩 인코딩을 수행하는 단계;로 이루어진 것을 특징으로 한다.According to an aspect of the present invention for achieving the above object, an encoding method for a web framework, comprising: a) outputting a starter factor (ⓑ) for starting a service according to a protocol command and a wireless service request; b) outputting the name of the protocol command or Wide service; c) outputting a terminator argument (ⓔ) for terminating a service and terminating encoding, or outputting a separator argument (ⓢ) for distinguishing a service according to whether the argument exists in the protocol command or the name of the WID service; And d) after outputting the separator factor ⓢ and outputting a string according to the binding argument, repeating the above process, or performing different binding encodings according to STRING, STRING [], STRING [] [] type classification. Characterized in that consisting of;

도 1은 본 발명을 적용시키기 위한 하드웨어 블록도이다.1 is a hardware block diagram for applying the present invention.

도 2는 본 발명에 따른 프로토콜 서비스 요청 인코딩을 위한 플로우챠트이다.2 is a flowchart for encoding a protocol service request in accordance with the present invention.

도 3은 본 발명에 따른 데이터 바인딩 인코딩을 위한 플로우챠트이다.3 is a flowchart for data binding encoding according to the present invention.

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

101 : 중앙처리 수단 103 : 제어수단101: central processing means 103: control means

105 : 입출력 수단 107 : 주저장 수단105: input and output means 107: main storage means

109 : 보조저장 수단109: secondary storage means

이하, 본 발명을 첨부된 예시도면에 의거 상세히 설명하면 다음과 같다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명에 따라 신호 처리하기 위한 하드웨어를 나타낸 구성도이다. 도 2는 본 발명에 따른 프로토콜과 서비스 요청시 문자열 출력을 하기 위한 인코딩 흐름도이고, 도 3은 본 발명에 따른 데이터 바인딩 인코딩을 위한 흐름도이다.1 is a block diagram showing hardware for signal processing according to the present invention. 2 is an encoding flowchart for outputting a string when requesting a protocol and a service according to the present invention, and FIG. 3 is a flowchart for data binding encoding according to the present invention.

먼저 상기 도 1에 따른 본 발명의 하드웨어는, 중앙처리 수단(101), 제어 수단(103), 주저장 수단(107), 보조저장 수단(109) 및 입출력 수단(105)으로 구성된다. 상기 주저장 수단(107)은 와이들 프레임워크 기반의 웹 자동화 프로그램이 탑재되며, 상기 중앙 처리 수단(101)은 상기 주저장 수단(107)에 탑재된 프로그램을 실행시키고, 상기 보조저장 수단(109)은 웹 자동화 프로그램 실행 과정에서 발생하는 임시 데이터를 위한 중간 파일들을 저장한다. 또한, 상기 입출력 수단(105)은 상기 웹 자동화 프로그램 실행 과정에서 사용되거나 생성되는 모든 데이터와 오류 메시지를 입출력하며, 상기 제어 수단(103)은 상기 각 구성 수단들의 메시지 전송이 원활하도록 제어한다.First, the hardware of the present invention according to FIG. 1 includes a central processing unit 101, a control unit 103, a main storage unit 107, an auxiliary storage unit 109, and an input / output unit 105. The main storage means 107 is equipped with a web automation program based on the Wydle framework, the central processing means 101 executes the program mounted on the main storage means 107, the secondary storage means 109 ) Stores intermediate files for temporary data generated during web automation program execution. In addition, the input / output means 105 inputs and outputs all data and error messages used or generated in the execution process of the web automation program, and the control means 103 controls the message transmission of the respective configuration means smoothly.

여기서 상기 주저장 수단(107)은 시스템의 메인 메모리 보드를 지칭하며, 중앙처리 수단(101)은 중앙 처리 보드로써 메인 메모리 보드에 탑재된 웹 자동화 프로그램이 탑재되고, 보조저장 수단(109)은 보조 기억 장치로써 웹 자동화 프로그램 실행 과정에 발생하는 중간 파일들을 저장하기 위한 것으로, 메인 메모리 보드에 기억할 수 없는 데이터를 저장한다. 즉, 잠시 저장시켜야할 정보만을 저장한다. 입출력 수단(105)은 웹 자동화 프로그램 실행 과정에서 사용되거나 생성되는 모든 데이터와 오류 메시지를 입출력하며, 프로토콜 요청이나 와이들 서비스 요청을 입력 받는다.Here, the main storage means 107 refers to the main memory board of the system, the central processing means 101 is a central processing board is mounted on the web automation program mounted on the main memory board, the auxiliary storage means 109 is auxiliary It is a memory device that stores intermediate files that occur during the execution of web automation programs. It stores data that cannot be stored on the main memory board. That is, it stores only the information to be stored for a while. The input / output means 105 inputs / outputs all data and error messages used or generated in the process of executing the web automation program, and receives a protocol request or a wire service request.

도 2는 프로토콜 명령과 서비스 요청 인코딩을 위한 플로우챠트로서, 세션을 구성하는 프로토콜 명령이나 서비스 요청의 인코딩을 위한 규칙을 정의하기 위한 것이다. 본 발명에 따른 프로토콜의 모든 요청은 스타터 인자(ⓑ), 세퍼레이터 인자(ⓢ), 터미네이터 인자(ⓔ) 집합을 사용하여 인코딩한다. 상기의 집합은 와이들서비스의 명칭이나 웹 데이터와 충돌을 일으키지 않는 임의의 문자들로 구성될 수 있다.FIG. 2 is a flowchart for encoding a protocol command and a service request, for defining a rule for encoding a protocol command or a service request constituting a session. All requests of the protocol according to the invention are encoded using a set of starter arguments (ⓑ), separator arguments (ⓢ) and terminator arguments (ⓔ). The set may consist of arbitrary characters that do not conflict with the name of the Widdle service or the web data.

따라서 스타터 출력 단계(S201)을 통해 프로토콜의 모든 요청에 따른 ⓑ 즉, 스타터로 시작한다. 스타터의 출력 이후에는 프로토콜 명령 또는 서비스 명칭을 출력하며(S203), 이 때 서비스 요청에 따른 인수가 필요한가를 확인한다 (S205). 인수가 필요하지 않을 경우에는 상기 터미네이터 인자(ⓔ)를 출력하므로서(S213), 서비스 요청 종료를 한다.Therefore, through the starter output step (S201) according to all requests of the protocol ⓑ start with a starter. After the output of the starter, a protocol command or service name is output (S203), and at this time, it is checked whether an argument is required according to the service request (S205). If no argument is required, the terminator factor ⓔ is output (S213), and the service request is terminated.

한편, 인수가 필요할 경우에는 세퍼레이터 인자(ⓢ)를 출력하며(S207), 프로토콜의 형태 즉, 상기 인수가 문자열형인가 또는 와이들 바인딩형인가를 판단한다. 이는 바인딩 인수를 판단하는 것으로(S209), 문자열일 경우에는 세퍼레이터와 더불어 문자열 자체를 출력하고(S215), 바인딩형이면 바인딩 인코딩을 출력한다(S211). 바인딩 인코딩은 도 3에서 설명될 것이며, 지속적인 문자열 출력일 경우에는 상기 과정을 반복한다.On the other hand, if an argument is required, a separator argument (ⓢ) is output (S207), and it is determined whether the argument is a string type or a wire binding type, that is, a protocol type. This determines the binding argument (S209). In the case of a string, the string itself is output together with the separator (S215), and in the case of the binding type, the binding encoding is output (S211). The binding encoding will be described in FIG. 3, and the above process is repeated for continuous string output.

도 3은 바인딩형 인수를 인코딩하기 위한 플로우챠트로서, 먼저 바인딩 항목 이 e이고 이를 선택할 경우(S301), 현재 선택된 항목이 마지막인가를 판단한다 (S303). 판단 결과, 마지막이면 인코딩을 종료하며, 마지막이 아닐 경우에는 상기 선택한 항목의 형 값이 변수값인가를 판단한다(S305). 즉, e값이 STRING인가를 판단하는 것으로, STRING일 경우 숫자 "0"에 세퍼레이터 인자(ⓢ)를 부가한다(S325). 여기서 숫자 "0"은 e의 형값을 구분하기 위한 것으로 본 발명의 실시예로서 표시한 것이다.3 is a flowchart for encoding a binding type argument. First, when the binding item is e and is selected (S301), it is determined whether the currently selected item is the last (S303). As a result of the determination, encoding is terminated if it is the last time, and if it is not the last time, it is determined whether the type value of the selected item is a variable value (S305). That is, it is determined whether the e value is STRING, and in the case of STRING, the separator factor ⓢ is added to the number "0" (S325). Here, the number "0" is for distinguishing the type value of e and is indicated as an embodiment of the present invention.

이 후, 상기 e의 이름에 세퍼레이터 인자(ⓢ)를 부가하고(S327), 상기 e의 값에 세퍼레이터 인자(ⓢ)를 부가한다(S329). 예컨대, "tickerCode"가 STRING일 경우에는 다음과 같다.Thereafter, a separator factor ⓢ is added to the name of e (S327), and a separator factor ⓢ is added to the value of e (S329). For example, when "tickerCode" is STRING, it is as follows.

예)Yes)

0ⓢtickerCodeⓢⓔ0ⓢtickerCodeⓢⓔ

여기서 첫 머리 "0"은 e의 값형의 차원 정보로서 STRING이란 의미가 되고, ⓢ는 세퍼레이터, ⓔ는 터미네이터가 되는 것이다.Here, the first head "0" is the dimension information of the value type of e, meaning STRING, ⓢ is a separator, and ⓔ is a terminator.

한편, 상기 e의 형값이 STRING이 아니고, 1차원 배열 즉, STRING[]일 경우(S307)에는 차원 정보가 "1"이 되고 이어 세퍼레이터 인자(ⓢ)가 부가된다 (S331). 그리고 상기 STRING과 마찬가지로, e의 이름과 더불어 세퍼레이터 인자(ⓢ)를 부가하며 (S333), e 값의 크기에 세퍼레이터 인자(ⓢ)를 부가한다(S335). 그리고 이와 같은 STRING[]이 지속적일 경우 상기 과정을 반복하고 마지막 항목으로 판단될 경우 인코딩을 종료한다.On the other hand, when the e-type value is not STRING and is a one-dimensional array, that is, STRING [] (S307), the dimension information becomes "1", and then a separator factor ⓢ is added (S331). Like the STRING, a separator factor ⓢ is added together with the name of e (S333), and a separator factor ⓢ is added to the size of e value (S335). If the STRING [] continues, the above process is repeated, and if it is determined that the last item, the encoding is terminated.

만약, e의 형 값이 2차원 배열 즉, STRING[][]일 경우에는(S309), 차원 정보가 "2"가 되며, 상기와 마찬가지로 세퍼레이터 인자(ⓢ)가 부가된다(S311). 그리고 상기 e의 이름에 세퍼레이터 인자(ⓢ)를 부가하고(S313), e의 크기에 세러페이터 인자(ⓢ)를 부가한다(S315). 2차 배열에 따른 e의 한 행을 r이라 하면, 상기 r을 선택한다(S317). r이 선택된 후 더 이상의 행이 없으면 인코딩을 종료하며(S319), 현재 선택된 r이 마지막 행이 아닐 경우에는 상기 r의 크기 즉, 원소의 갯 수에 세퍼레이터 인자(ⓢ)를 부가한다. 그리고 r의 모든 열에 대해서는 STRING 규칙에 따라 인코딩을 적용하며, 상기 r을 제외한 나머지 행들에 대해서는 상기 과정을 반복하는 것이다.If the type value of e is a two-dimensional array, that is, STRING [] [] (S309), the dimension information becomes "2", and the separator factor ⓢ is added as described above (S311). A separator factor ⓢ is added to the name of e (S313), and a serapattern factor ⓢ is added to the size of e (S315). If one row of e according to the secondary array is r, the r is selected (S317). If there are no more rows after r is selected, encoding is terminated (S319). If r is not the last row, a separator factor ⓢ is added to the size of r, that is, the number of elements. The encoding is applied to all columns of r according to the STRING rule, and the above process is repeated for the remaining rows except for r.

예컨대, stock.ticker 서비스를 요청할 경우에는For example, if you request the stock.ticker service,

" ⓑ1ⓢstock.tickerⓢ1ⓢ0ⓢtickerCodeⓢ15760ⓢⓔ "와 같은 프로토콜을 형성할 수 있다.You can form a protocol like "ⓑ1ⓢstock.tickerⓢ1ⓢ0ⓢtickerCodeⓢ15760ⓢⓔ".

이상 설명된 바와 같이, 본 발명에 따르면 트랜스포트 층을 위한 HTTP에 비해 단순한 TCP 소켓에만 의존하고, XML에 비해 단순한 인코딩을 사용하므로서 프로토콜 해석 프로그램이 간략화되는 효과를 얻는다. 따라서 단순한 인코딩 및 디코딩으로 인한 전송 데이터의 크기를 줄여 전송 효율을 높일 수 있으며, 클라이언트 라이브러리를 최소화하여 휴대용 전화기 또는 휴대용 사무기기 및 모바일 기기의 프로토콜로 사용함이 용이한 효과를 얻을 수 있다.As described above, according to the present invention, the protocol interpreter can be simplified by relying only on TCP sockets over HTTP for the transport layer and using simple encoding over XML. Therefore, it is possible to increase the transmission efficiency by reducing the size of transmitted data due to simple encoding and decoding, and to minimize the client library and to use it as a protocol of a mobile phone or a portable office device and a mobile device.

이상에서 설명한 것은 본 발명에 따른 와이들 웹 프레임 워크를 위한 인코딩 방법을 실시하기 위한 하나의 실시예에 불과한 것으로, 본 발명은 상기한 실시예에 한정되지 않고, 이하의 특허청구범위에서 청구하는 바와 같이 본 발명의 요지를 벗어남이 없이 당해 발명이 속하는 분야에서 통상의 지식을 가진 자라면 누구든지 다양한 변경 실시가 가능한 범위까지 본 발명의 기술적 정신이 있다고 할 것이다.What has been described above is only one embodiment for implementing an encoding method for the Wyed web framework according to the present invention, and the present invention is not limited to the above-described embodiment, and is claimed in the following claims. As described above, any person having ordinary knowledge in the field of the present invention without departing from the gist of the present invention will have the technical spirit of the present invention to the extent that various modifications can be made.

Claims (3)

a) 프로토콜 명령과 와이들 서비스 요청에 따라 서비스 시작을 위한 스타터 인자(ⓑ)를 출력하는 단계;a) outputting a starter factor (ⓑ) for starting the service according to the protocol command and the Wydel service request; b) 상기 프로토콜 명령 또는 와이들 서비스의 명칭을 출력하는 단계;b) outputting the name of the protocol command or Wide service; c) 상기 프로토콜 명령 또는 와이들 서비스의 명칭에 인수 존재 유무에 따라 서비스 종료를 위한 터미네이터 인자(ⓔ)를 출력하고 인코딩을 종료하거나, 서비스 구분을 위한 세퍼레이터 인자(ⓢ)를 출력하는 단계; 및c) outputting a terminator argument (ⓔ) for terminating a service and terminating encoding, or outputting a separator argument (ⓢ) for distinguishing a service according to whether the argument exists in the protocol command or the name of the WID service; And d) 상기 세퍼레이터 인자(ⓢ)를 출력 후 바인딩 인수 유무에 따라 문자열을 출력한 후 상기 과정을 반복하거나, 변수(STRING), 1차원 배열(STRING[]), 2차원 배열 (STRING[][]) 형 분류에 따라 서로 다른 바인딩 인코딩을 수행하는 단계;로 이루어진 것을 특징으로 하는 와이들 웹 프레임 워크를 위한 인코딩 방법.d) After outputting the separator argument ⓢ and outputting a string according to the binding argument, repeating the above process, or a variable, one-dimensional array, or two-dimensional array, STRING [] [] And performing different binding encodings according to the type classification. 제 1 항에 있어서, 상기 바인딩 인코딩 방법은The method of claim 1, wherein the binding encoding method is a) 바인딩 항목을 선택하는 단계;a) selecting a binding item; b) 상기 선택된 바인딩 항목의 형 값을 판단하되, 상기 바인딩 항목의 형 값이 STRING일 경우 제 1형 분류 인자 및 세퍼레이터 인자(ⓢ)를 출력하고, 상기 바인딩 항목의 이름 및 세퍼레이터 인자(ⓢ)를 출력하며, 상기 바인딩 항목의 값 및 세퍼레이터 인자(ⓢ)를 순차적으로 출력하는 단계;b) determine the type value of the selected binding item, and if the type value of the binding item is STRING, output the first type classification factor and the separator factor ⓢ and output the name and the separator factor ⓢ of the binding item. Outputting, sequentially outputting a value of the binding item and a separator factor (ⓢ); d) 상기 바인딩 항목의 형 값이 1차원 배열(STRING[])일 경우 제 2형 분류인자 및 세퍼레이터 인자(ⓢ)를 출력하고, 상기 바인딩 항목의 이름 및 세퍼레이터 인자(ⓢ)를 출력하며, 상기 바인딩 항목의 크기 및 세퍼레이터 인자(ⓢ)를 순차적으로 출력하는 단계; 및d) when the binding value of the binding item is a one-dimensional array (STRING []), outputs a type 2 classification factor and a separator factor (ⓢ), outputs a name and a separator factor (ⓢ) of the binding item, and Sequentially outputting the size of the binding item and the separator factor ⓢ; And e) 상기 바인딩 항목의 형 값이 2차원 배열(STRING[][])일 경우 제 3형 분류 인자 및 세퍼레이터 인자(ⓢ)를 출력하고, 상기 바인딩 항목의 이름 및 세퍼레이터 인자(ⓢ)를 출력하며, 상기 바인딩 항목의 크기 및 세퍼레이터 인자(ⓢ)를 출력하고, 2차원 배열(STRING[][])에 따른 행을 선택하며, 상기 선택된 행의 크기 및 세퍼레이터 인자(ⓢ)를 출력하고, 상기 행에 해당하는 모든 열에 대해 상기 과정에 따른 인코딩을 수행하며, 상기 행을 제외한 나머지 행을 선택하여 상기 과정을 반복하고, 현재 반복중인 행 선택이 마지막일 경우 인코딩을 종료하는 단계;로 이루어진 것을 특징으로 하는 와이들 웹 프레임 워크를 위한 인코딩 방법.e) if the binding value of the binding item is a two-dimensional array (STRING [] []), the third type classification factor and the separator factor ⓢ are output, and the name and the separator factor ⓢ of the binding item are output. Outputs the size of the binding item and the separator factor (ⓢ), selects a row according to a two-dimensional array (STRING [] []), outputs the size of the selected row and the separator factor (ⓢ), and outputs the row Performing encoding according to the above process for all columns corresponding to the above, repeating the process by selecting the remaining rows except the row, and ending the encoding when the current row selection is the last; Encoding method for the Wydle web framework. 제 2 항에 있어서, 상기 제 1 분류 인자, 제 2 분류 인자 및 제 3 분류 인자는 와이들 서비스의 명칭이나 웹 데이터와 충돌을 일으키지 않는 임의의 숫자인 것을 특징으로 하는 와이들 웹 프레임 워크를 위한 인코딩 방법.3. The method of claim 2, wherein the first classifier, the second classifier, and the third classifier are arbitrary numbers that do not conflict with names of web services or web data. Encoding Method.
KR10-2001-0005854A 2001-02-07 2001-02-07 Method of encoding for widl web frame work KR100435005B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2001-0005854A KR100435005B1 (en) 2001-02-07 2001-02-07 Method of encoding for widl web frame work

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2001-0005854A KR100435005B1 (en) 2001-02-07 2001-02-07 Method of encoding for widl web frame work

Publications (2)

Publication Number Publication Date
KR20020065697A true KR20020065697A (en) 2002-08-14
KR100435005B1 KR100435005B1 (en) 2004-06-11

Family

ID=27693566

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2001-0005854A KR100435005B1 (en) 2001-02-07 2001-02-07 Method of encoding for widl web frame work

Country Status (1)

Country Link
KR (1) KR100435005B1 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0816576A (en) * 1994-07-01 1996-01-19 Ricoh Co Ltd Structured document editing device
KR19990073957A (en) * 1998-03-05 1999-10-05 구자홍 How to Write Etchimell Document
KR100351478B1 (en) * 2000-08-10 2002-09-05 주식회사 디지털 네트워크그룹 Method for setting up and using preference in web browser
KR20020057709A (en) * 2001-01-05 2002-07-12 문영웅 XML builder

Also Published As

Publication number Publication date
KR100435005B1 (en) 2004-06-11

Similar Documents

Publication Publication Date Title
US20210329060A1 (en) Scripting support for data identifiers, voice recognition and speech in a telnet session
CN104639539A (en) Method and device for interface calling
CN112418427A (en) Method, device, system and equipment for providing deep learning unified reasoning service
JP2004046810A (en) Dispatch method for application step in client/server environment and service portal system
US8010595B2 (en) Execution of server-side dynamic pages
CN110062035A (en) A kind of http request method and apparatus based on deque
US9223890B2 (en) System and method of processing content using a uniform resource identifier
CN113992641A (en) Data processing method, device, equipment and storage medium
JP2016018233A (en) Script caching method and information processing device utilizing the same
EP2400390A1 (en) Provision of services and libraries to remote clients
JPH1115723A (en) Multimedia data supplying method and multimedia data server
CN110442806B (en) Method and apparatus for recognizing image
US8280950B2 (en) Automatic client-server code generator
KR20020065697A (en) Method of encoding for widl web frame work
CN112433752B (en) Page analysis method, device, medium and electronic equipment
CN117675238A (en) Data access method, device, electronic equipment and storage medium
JP2006053893A (en) Data processing system, data processing method, processing device, terminal unit, portable terminal unit, and program
AU2013206168B2 (en) Voice enabled telnet interface
JP2016018552A (en) Script caching method and information processing device utilizing the same
CN111291284A (en) Method and device for redirecting multi-level page
JP2004272303A (en) Support device for developing access processing means, and access processing program

Legal Events

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

Payment date: 20120330

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20130528

Year of fee payment: 10

LAPS Lapse due to unpaid annual fee