KR101389140B1 - Message relay apparatus based on service uri and location information and the method thereof - Google Patents

Message relay apparatus based on service uri and location information and the method thereof Download PDF

Info

Publication number
KR101389140B1
KR101389140B1 KR1020110092301A KR20110092301A KR101389140B1 KR 101389140 B1 KR101389140 B1 KR 101389140B1 KR 1020110092301 A KR1020110092301 A KR 1020110092301A KR 20110092301 A KR20110092301 A KR 20110092301A KR 101389140 B1 KR101389140 B1 KR 101389140B1
Authority
KR
South Korea
Prior art keywords
service
base
module
message
relay
Prior art date
Application number
KR1020110092301A
Other languages
Korean (ko)
Other versions
KR20130028835A (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 KR1020110092301A priority Critical patent/KR101389140B1/en
Publication of KR20130028835A publication Critical patent/KR20130028835A/en
Application granted granted Critical
Publication of KR101389140B1 publication Critical patent/KR101389140B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/18Commands or executable codes

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

서비스 유알아이와 거점정보를 통한 메시지 중계 장치 및 그 방법이 개시된다. 본 발명은 거점 중계모듈에 거점정보와 유알아이(URI)를 등록하고 서비스 컨텍스트 모듈을 통해 가용한 서비스 거점을 실시간으로 공급받아 해당 거점의 서비스를 호출하여 서비스를 제공받을 수 있도록 하기 때문에 서비스 거점이 추가/삭제/변경되어도 오류없이 정상적인 서비스를 제공받을 수 있는 효과가 있다.Disclosed are a message relay apparatus and a method through a service U-eye and base information. The present invention registers base information and URI in the base relay module and receives the service base available through the service context module in real time so that the service can be provided by calling the service of the base. Even if it is added / deleted / changed, there is an effect that normal service can be provided without error.

Description

서비스 유알아이와 거점정보를 통한 메시지 중계 장치 및 그 방법{MESSAGE RELAY APPARATUS BASED ON SERVICE URI AND LOCATION INFORMATION AND THE METHOD THEREOF}Message relay device and service using service information and base information {MESSAGE RELAY APPARATUS BASED ON SERVICE URI AND LOCATION INFORMATION AND THE METHOD THEREOF}

본 발명은 메시지를 중계하는 장치 및 그 방법에 관한 것으로, 상세하게는 서비스 URI와 서비스 거점정보를 등록한 다음 서비스를 제공하는 거점이 추가/삭제/변경될 경우 가용한 서비스 거점을 실시간으로 공급받아 해당 거점의 서비스를 호출할 수 있도록 하는 서비스 유알아이와 거점정보를 통한 메시지 중계 장치 및 그 방법에 관한 것이다.The present invention relates to an apparatus for relaying a message and a method thereof, and in detail, registers a service URI and service base information, and receives a service base available in real time when a base providing a service is added / deleted / changed. The present invention relates to a service relay device capable of invoking a service of a base and a message relay device through base information, and a method thereof.

오늘날, 컴퓨터 관련 정보통신 분야의 비약적인 발전은 업무의 효율을 획기적으로 증진시킬 뿐만 아니라, 우리의 일상적인 생활 방식도 크게 변화시키고 있다. 초고속 망의 급속한 보급으로 인하여 집안까지 수 Mbyte/sec의 데이터 연결 속도를 갖는 네트워크 망이 설치되고 있으며, 이에 따라 컴퓨터 통신망을 이용한 데이터 처리가 빈번하고 다수의 사용자가 동시에 접속되어 중앙 서버에서 데이터 처리 속도가 늦어지는 경우가 빈번히 발생하게 된다.Today, a quantum leap in the field of computer-related telecommunications not only dramatically improves work efficiency, but also changes our daily way of life. Due to the rapid spread of high-speed networks, network networks with data connection speeds of several Mbytes / sec have been installed throughout the home. Accordingly, data processing using computer communication networks is frequently performed and multiple users are simultaneously connected, thereby processing data at the central server. It is frequently the case that is delayed.

또한 기업이 거대해짐에 따라 자체 데이터 처리에 대한 부담이 커져 시스템을 증설하게 되고 관리 비용이 증대하게 되어 자원의 비효율적인 사용을 초래하게 된다.In addition, as the company becomes huge, the burden on processing its own data increases, resulting in the expansion of the system and the increase in management costs, resulting in inefficient use of resources.

특히 다양한 서비스 제공시스템(EPCNetwork, 데이터베이스 등)간 데이터 처리 효율을 높이기 위해서는 이러한 중앙 서버의 효율성을 증대시킬 필요가 있다.In particular, it is necessary to increase the efficiency of such a central server in order to improve data processing efficiency among various service providing systems (EPCNetwork, database, etc.).

이러한 문제점을 해결하기 위하여 다수의 분산 서버에서 클라이언트가 요청한 데이터에 대해 일관된 처리를 할 수 있도록 하는 메시지 버스를 이용한 분산 기술을 사용하기도 한다.In order to solve this problem, a distributed technique using a message bus may be used, which enables a plurality of distributed servers to process data requested by a client consistently.

종래 분산기술인 자바의 RMI나 CORBA등은 서비스를 제공하기 위해서 정해진 규격을 구현해야 하며 프로토콜 변환이 어렵고 이기종 간의 이식은 거의 불가능했으며 단순한 서비스 하나를 오픈하기 위해서 기본적인 구현뿐만이 아닌 서버구성도 같이 필요하였다.Java distributed RMI or CORBA, which is a conventional distributed technology, must implement a specified standard to provide a service, protocol conversion is difficult, portability between heterogeneous types is almost impossible, and not only a basic implementation but also a server configuration is required to open a simple service.

또한 서비스를 제공하는 거점이 추가/삭제/변경될 경우 서비스를 사용하는 클라이언트는 서비스를 제공하는 거점의 변화에 대해 인지하지 못할 경우 클라이언트는 비정상적인 서비스 제공으로 인한 오류를 발생하게 되고 이를 개선하기 위해서는 자동으로 인지하고 처리하기 위한 추가 구현이 필요하였다.
In addition, if the base providing the service is added / deleted / changed, the client using the service is not aware of the change in the base providing the service, and the client generates an error due to abnormal service provision. An additional implementation was needed to recognize and process the.

본 발명은 이러한 문제점을 해결하기 위하여 구현된 서비스가 제공되는 클라이언트 모듈을 통하여 거점정보를 등록하고 메시지 변환 규칙을 구현함으로써 서비스의 제공이 가능해 지고 서비스를 사용함에 있어서도 서비스 URI와 메시지만으로 목적 서비스 사용이 가능한 서비스 URI와 거점정보를 통한 메시지 중계 장치 및 그 방법을 제공하는 것을 목적으로 한다.
The present invention enables the provision of a service by registering base information and implementing a message conversion rule through a client module provided with a service implemented to solve such a problem, and using a service URI and a message only in using a service. An object of the present invention is to provide a message relay device and a method through a service URI and base information.

이러한 목적을 달성하기 위한 본 발명의 서비스 유알아이와 거점정보를 통한 메시지 중계 장치는 서비스 유알아이(URI; Uniform Resource Identifier)와 서비스 거점정보를 서비스 제공 모듈로부터 등록받아 관리하고 필요 시 서비스 컨텍스트 모듈로 전송하도록 구성되며 서비스 제공모듈에 해당 서비스를 호출함과 동시에 응답 메시지를 전송받아 반환하도록 구성된 거점중계모듈;
상기 응답 메시지를 전송받는 단말기;
상기 거점중계모듈의 서비스 유알아이와 서비스 거점정보를 전송받아 상기 단말기에서 입력되는 서비스명에 부합되는 유알엘(URL; Uniform Resource Locator)을 도출하여 상기 서비스 유알아이와 서비스 거점정보를 연계하여 관리하고 있다가 서비스 유알아이에 대응하는 서비스 거점정보를 상기 거점중계모듈로 제공하고, 주기적으로 등록된 거점에 대해 가용성을 체크하며 체크 되지 않는 부분에 대해서는 자동으로 거점 정보를 삭제하는 서비스 컨텍스트 모듈;
상기 거점중계모듈에 의해 호출된 유알엘에 대한 응답메시지를 반환하는 서비스를 제공하고 전달받은 명령에 따라 서비스제공시스템(EPCNetwork, 데이터베이스)에서 데이터 처리를 진행하여 상기 거점중계모듈에 응답메시지를 전달하고, 전달된 응답메시지는 상기 서비스 컨텍스트 모듈을 통해 클라이언트 단말기에 전달하며 서비스를 제공하는 거점이 추가/삭제/변경될 경우 서비스를 대표하는 URI와 거점정보를 거점중계모듈에 저장하여 클라이언트가 가용한 서비스 거점을 실시간으로 공급받아 해당 거점의 서비스를 호출하도록 구성되며 서비스 제공이 중지되었을 경우 클라이언트를 통해 상기 서비스 컨텍스트 서버에 등록된 거점정보를 삭제하도록 하는 상기 서비스 제공 모듈;을 포함하여 구성되는 서비스 유알아이와 거점정보를 통한 메시지 중계 장치를 특징으로 한다.
또한 본 발명은 상기 서비스 제공 모듈과 상기 단말기의 운영환경 또는 통신 규격이 다를 경우 이종 환경 및 통신 규격을 사상시켜주는 메시지 변환 모듈;을 더 포함하여 구성되는 것을 특징으로 하는 서비스 유알아이와 거점정보를 통한 메시지 중계 장치를 특징으로 한다.
본 발명의 다른 특징은 서비스 유알아이(URI; Uniform Resource Identifier)와 서비스 거점정보가 등록되는 거점중계모듈을 통한 메시지 중계 방법에 있어서,
(a)단말기에서 사용자 딜리게이터(Delegator)에 서비스 아이디와 메시지를 요청하는 단계; (b)상기 (a)단계에서 요청받은 서비스 아이디와 메시지를 컨텍스트 모듈로 전송하는 단계; (c)상기 컨텍스트 모듈에서 상기 서비스 아이디에 해당하는 서비스 제공자 유알엘(URL; Uniform Resource Locator)을 도출하여 호출하는 단계; (d)상기 호출에 따른 서비스를 응답메시지를 상기 단말기로 반환하는 단계;를 포함하여 이루어지며,
상기 (b)단계는, 상기 (a)단계에서 요청받은 서비스 아이디와 메시지를 네트워크를 통하여 전송할 수 있도록 바인딩(Marshalling)하는 단계; 상기 바인딩 하는 단계에서 바인딩(Marshalling)된 서비스 아이디와 메시지를 컨텍스트 모듈로 전송하는 단계;를 포함하여 이루어지고,
상기 (c)단계는, 상기 거점중계모듈의 서비스 유알아이와 서비스 거점정보를 전송받아 상기 단말기에서 입력되는 서비스명에 부합되는 유알엘(URL; Uniform Resource Locator)을 도출하여 상기 거점중계모듈로 요청하는 단계; 상기 거점중계모듈로 요청 단계에서 요청된 데이터에서 서비스 아이디와 메시지를 복원(unmarshalling)하는 단계; 상기 메시지 복원단계에서 복원된 서비스 제공 모듈의 유알엘을 호출하는 단계;를 포함하여 이루어지는 서비스 유알아이와 거점정보를 통한 메시지 중계 방법을 특징으로 한다.
The message relay apparatus using the service UIA and the base information of the present invention for achieving the above object is registered with the service UIA (Uniform Resource Identifier) and the service base information from the service providing module and managed to the service context module if necessary. A node relay module configured to transmit and receive and return a response message at the same time as calling a corresponding service to a service providing module;
A terminal receiving the response message;
Receives the service Ul and service base information of the base relay module and derives a URL (Uniform Resource Locator) corresponding to the service name input from the terminal and manages the service Ul and service base information in association with the service U. A service context module for providing service base information corresponding to a service U-I to the base relay module, periodically checking availability of registered bases, and automatically deleting base information for unchecked portions;
Providing a service that returns a response message for the UAL called by the base relay module, and proceeds with data processing in the service providing system (EPCNetwork, database) according to the received command, and delivers the response message to the base relay module, The delivered response message is delivered to the client terminal through the service context module, and when the base providing the service is added / deleted / changed, the URI and the base information representing the service are stored in the base relay module so that the client can use the service base. And a service providing module configured to call a service of a corresponding base by receiving the service in real time and to delete the base information registered in the service context server through a client when the service is stopped. Message through base information And the device is characterized.
In another aspect, the present invention is a service conversion module and a message conversion module for mapping the heterogeneous environment and communication standards when the operating environment or communication standards of the terminal is different; It features a message relay device through.
In another aspect of the present invention, in the message relay method through a node relay module in which a service resource ID (URI) and service point information are registered,
(a) requesting a service ID and a message from a terminal to a user delegate; (b) transmitting the service ID and the message requested in step (a) to the context module; (c) deriving and calling a service provider uniform resource locator (URL) corresponding to the service ID in the context module; (d) returning a service response message to the terminal according to the call;
Step (b) may include: binding the service ID and the message requested in step (a) to be transmitted through a network; And transmitting the service ID and the message bound to the context module in the binding step.
In the step (c), the service relay eye and the service base information of the base relay module are received to derive a Uniform Resource Locator (URL) corresponding to the service name input from the terminal to request the base relay module. step; Restoring a service ID and a message from the data requested in the requesting step to the base relay module (unmarshalling); Calling the UAL of the service providing module restored in the message restoring step; characterized in that the message relay method through the service UAL and base information.

삭제delete

삭제delete

삭제delete

따라서 본 발명의 서비스 유알아이(URI; Uniform Resource Identifier)와 거점정보를 통한 메시지 중계 장치 및 그 방법에 의하면, 서비스를 대표하는 유알아이(URI; Uniform Resource Identifier)를 Context 서버를 통해 가용한 서비스 거점을 실시간으로 공급받아 해당 거점의 서비스를 호출하여 서비스를 제공받는 것이 가능하기 때문에 오류 없이 서비스 거점이 추가/삭제/변경되어도 정상적인 서비스를 제공받을 수 있는 효과가 있다.
Therefore, according to the message relay device using the service uniform resource identifier (URI) and base information of the present invention and a method thereof, a service base using a uniform resource identifier (URI) representing a service through a context server Since it is possible to receive the service in real time by calling the service of the base, it is possible to receive the service even if the service base is added / deleted / changed without error.

도 1은 본 발명의 일 실시 예에 의한 서비스 유알아이와 거점정보를 통한 메시지 중계 장치의 주요 구성도,
그리고,
도 2는 본 발명의 일 실시 예에 의한 서비스 유알아이와 거점정보를 통한 메시지 중계 방법을 설명하기 위한 흐름도이다.
1 is a main configuration diagram of a message relay apparatus using service information and base information according to an embodiment of the present invention;
And,
2 is a flowchart illustrating a message relay method using service information and base information according to an embodiment of the present invention.

본 명세서 및 청구범위에 사용된 용어나 단어는 통상적이거나 사전적인 의미로 한정 해석되지 아니하며, 발명자는 그 자신의 발명을 가장 최선의 방법으로 설명하기 위해 용어의 개념을 적절하게 정의할 수 있다는 원칙에 입각하여 본 발명의 기술적 사상에 부합하는 의미와 개념으로 해석되어야만 한다.It is to be understood that the words or words used in the present specification and claims are not to be construed in a conventional or dictionary sense and that the inventor can properly define the concept of a term in order to describe its invention in the best possible way And should be construed in light of the meanings and concepts consistent with the technical idea of the present invention.

명세서 전체에서, 어떤 부분이 어떤 구성요소를 "포함"한다고 할 때, 이는 특별히 반대되는 기재가 없는 한 다른 구성요소를 제외하는 것이 아니라 다른 구성요소를 더 포함할 수 있는 것을 의미한다. 또한, 명세서에 기재된 "…부", "…기", "모듈", "장치" 등의 용어는 적어도 하나의 기능이나 동작을 처리하는 단위를 의미하며, 이는 하드웨어나 소프트웨어 또는 하드웨어 및 소프트웨어의 결합으로 구현될 수 있다.
이하, 도면을 참조하여 본 발명의 일실시예에 대하여 설명한다.
Throughout the specification, when an element is referred to as "comprising ", it means that it can include other elements as well, without excluding other elements unless specifically stated otherwise. Also, the terms " part, "" module, "and" device "Lt; / RTI >
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.

삭제delete

도 1은 본 발명의 일 실시 예에 의한 서비스 유알아이와 거점정보를 통한 메시지 중계 장치의 주요 구성도로서, 도시되 바와 같이 본 발명의 메시지 중계 장치는 각 클라이언트의 단말기(110)와, 단말기(110)의 요청 데이터를 처리하도록 관리하는 서비스 컨텍스트 모듈(120), 그리고 서비스 유알아이(URI; Uniform Resource Identifier)와 서비스 거점정보를 등록하고 있는 거점중계모듈(130), 거점중계모듈(130)의 지시로 서비스제공시스템(EPCNetwork, 데이터베이스)에서 비지니스를 처리하는 서비스 제공 모듈(140)을 포함하여 구성하고 클라이언트 운영환경(예컨대 Java, .NET 등)에 적합하도록 구성된다.1 is a main configuration diagram of a message relay apparatus using service information and base information according to an embodiment of the present invention. As illustrated, the message relay apparatus of the present invention may include a terminal 110 and a terminal ( The service context module 120, which manages to process the request data of 110, and the node relay module 130 and the node relay module 130, which register a service uniform resource identifier (URI) and service point information. It is configured to include a service providing module 140 for processing a business in the service providing system (EPCNetwork, database) as an instruction and is configured to suit the client operating environment (for example, Java, .NET, etc.).

단말기(110)는 클라이언트 모듈로 동작되며 유무선 네트워크로 서비스 컨텍스트 모듈(120)과 연결되어 클라이언트의 데이터 요청을 입력하고 수신된 데이터를 표시창에 표시하도록 구성된다.The terminal 110 operates as a client module and is connected to the service context module 120 through a wired or wireless network to input a data request of the client and display the received data on the display window.

따라서 통상의 컴퓨터를 이용한 통신뿐만 아니라 인터넷 통신이 가능한 PDA(Personal Digital Assistant;개인용 정보단말기)나 스마트폰 등이 될 수 있다.Therefore, it can be a PDA (Personal Digital Assistant) or a smart phone that can communicate not only with a normal computer but also with Internet.

또한 단말기(110)는 서비스거점정보를 서비스 컨텍스트 모듈(120)에 등록하거나 삭제할 수 있도록 동작되며 필요한 서비스를 요청하도록 구성될 수 있다.In addition, the terminal 110 is operated to register or delete service base information in the service context module 120 and may be configured to request a necessary service.

통상 단말기(110)에서 서비스 아이디와 메시지가 요청되면 사용자 딜리게이터(Delegator;112)에서 네트워크로 전송하기 위하여 변환(marshalling)하여 서비스 컨텍스트 모듈(120)로 전송한다.In general, when a service ID and a message are requested by the terminal 110, the service is transformed and transmitted to the service context module 120 in order to be transmitted from the user delegate 112 to the network.

여기서 변환(marshalling)은 네트웍을 통해 포인터를 포함한 구조(atructure)를 전송할 때 사용하는 것으로, 원하는 내용을 네트워크를 통해서 보낼 수 있도록 전달하는 구조체를 변경시키는 일을 말한다.Here, marshalling is used to send a structure that contains pointers over the network, and changes the structure that delivers the content you want to send over the network.

서비스 컨텍스트 모듈(Service Context Module)(120)은 거점중계모듈(130)에 등록된 서비스 유알아이와 서비스 거점정보를 전송받아 단말기(110)에서 입력되는 서비스명에 부합되는 유알엘(URL; Uniform Resource Locator)을 도출하여 거점중계모듈(130)로 제공하도록 동작된다.Service context module (Service Context Module) (120) is a uniform resource locator (URL; Uniform Resource Locator) corresponding to the service name input from the terminal 110 receives the service and the service base information registered in the base station relay module 130 To derive and provide to the base relay module 130.

구체적으로 서비스 컨텍스트 모듈(120)은 서비스 유알아이와 서비스 거점정보를 연계하여 관리하고 있다가 서비스 유알아이에 대응하는 서비스 거점정보를 제공하는 서비스를 수행한다.In more detail, the service context module 120 manages the service UA in association with service base information and performs a service for providing service base information corresponding to the service UA.

통상 클라이언트가 제공받고자 하는 서비스명은 서비스 유알아이에 대응되고 서비스 거점정보는 유알엘에서 통신 프로토콜 및 연결정보 데이터를 지칭하는 것으로 설명한다.In general, a service name to be provided by a client corresponds to a service ULI, and the service base information refers to communication protocol and connection information data in UAL.

또한, 서비스 컨텍스트 모듈(120)은 주기적으로 등록된 거점에 대해 가용성을 체크하고 체크되지 않는 부분에 대해서는 자동으로 거점 정보를 삭제하도록 동작된다.In addition, the service context module 120 periodically operates to check availability for registered bases and automatically delete base information for unchecked portions.

거점중계모듈(130)은 서비스 유알아이와 서비스 거점정보를 서비스 제공 모듈(140)로부터 등록받아 관리하고 있다가 필요 시 서비스 컨텍스트 모듈(120)로 전송하도록 구성되고 서비스 제공모듈(140)에 해당 서비스를 호출함과 동시에 응답 메시지를 전송받아 단말기(110)로 반환하도록 구성된다.The base relay module 130 is configured to receive and manage service U-eye and service base information from the service providing module 140, and then transmit the service relay module to the service context module 120 when necessary and corresponding service to the service providing module 140. At the same time as receiving the response message is configured to return to the terminal 110.

따라서, 거점중계모듈(130)은 서비스 컨텍스트 모듈(120)의 호출에 따라 신속하게 서비스 거점정보와 URI를 제공할 수 있도록 거점정보와 유알아이를 관리할 때 각각의 유알아이에 따른 하나 이상의 거점정보를 저장하고 있거나 또는 하나의 거점정보에 따른 유알아이를 등록하여 관리하도록 하는 것이 바람직하다.Accordingly, the base relay module 130 manages the base information and the GUI in order to provide the service base information and the URI quickly according to the call of the service context module 120, and at least one base information according to each GUI. It is preferable to store or to register and manage the yul eye according to one base information.

또한 서비스 컨텍스트 모듈(120)은 변환(marshalling)된 데이터를 복원(unmarshalling)하여 서비스 아이디와 메시지를 복원하여 해당 서비스를 서비스 제공 모듈(140)로 요청하게 된다.In addition, the service context module 120 restores the service ID and the message by unmarshalling the converted data and requests the corresponding service to the service providing module 140.

복원(unmarshalling)은 변환(marshalling)과는 반대로 네트워크로부터 내용을 수신하였을 때 원래의 structure의 형태로 복원하는 것을 말한다.Unmarshalling, in contrast to marshalling, refers to restoring the original structure when it receives content from the network.

본 발명에서 자주 사용되는 유알엘과 유알아이에 대하여 설명의 편의를 위하여 간단하게 설명한다.For the convenience of the description will be briefly described for the Ualel and Yual eye often used in the present invention.

URL(유알엘)은 인터넷에서 접근 가능한 자원의 주소를 일관되게 표현할 수 있는 형식을 말한다. 여기서 말하는 자원의 형태는 인터넷 응용 프로토콜에 따라 다를 수 있다. 즉, 월드와이드웹 프로토콜인 HTTP를 사용하는 경우, 자원이란 HTML 페이지, 이미지 파일, CGI나 자바 애플릿과 같은 프로그램, 기타 HTTP가 지원하는 다른 파일들이 될 수 있으며 본 발명에서는 거점정보와 URI에 대한 정보를 포함하는 것으로 설명한다.URL (URL) is a format that can consistently represent the address of resources accessible from the Internet. The type of resource described herein may vary depending on the Internet application protocol. In other words, in case of using World Wide Web Protocol HTTP, a resource may be an HTML page, an image file, a program such as a CGI or Java applet, or other files supported by HTTP. It will be described as including.

이러한 URL은 자원에 접근하는데 필요한 프로토콜의 이름, 인터넷에서 특정한 컴퓨터를 식별하기 위한 도메인 이름, 그리고 컴퓨터 파일의 위치를 계층적으로 나타낸 경로명 등으로 구성된다. 웹에서 URL의 예를 하나 들어보면, 다음과 같다.These URLs consist of the name of the protocol needed to access the resource, the domain name to identify the particular computer on the Internet, and the pathname hierarchically indicating the location of the computer file. Here is an example of a URL on the web:

http://www.metro.seoul.kr/korhttp://www.metro.seoul.kr/kor

이것은 www.metro.seoul.kr 라는 이름의 컴퓨터를 HTTP 응용프로그램, 즉 웹 브라우저로 읽을 수 있는 웹 페이지를 나타내고 있다. 여기서 /kor 은 그 컴퓨터 내의 디렉토리를 말하는데, 그 하부에 파일 이름을 적지 않으면 그 디렉토리의 기본 페이지를 보여주게 된다 (대개 기본 페이지는 index.html 이다). HTTP URL은 홈페이지뿐만이 아니라 어떠한 웹페이지라도 지칭할 수 있으며, 심지어 일개의 파일을 적는 것도 가능하다. It represents a web page that can read a computer named www.metro.seoul.kr with an HTTP application, a web browser. Where / kor refers to a directory on the computer, if you don't specify a file name under it, it will display the directory's default page (usually index.html). An HTTP URL can refer to any web page, not just a home page, and even write a single file.

URI는 그것이 텍스트의 한 페이지나, 비디오 또는 사운드 클립이든, 정지 화상이든 동영상이든, 또는 프로그램이든 상관없이, 이러한 콘텐츠들 중 어느 하나를 인식하기 위한 수단으로 본 발명에서는 서비스명을 지칭하는 것으로 한다. 즉, URI는 자원에 접근하기 위해 사용되는 절차나 어떤 자원을 가지고 있는 특정한 컴퓨터 또는 컴퓨터 상의 특정 자원의 이름(파일 이름)을 말한다.The URI refers to a service name in the present invention as a means for recognizing any one of these contents, whether it is a page of text, a video or sound clip, a still picture or a video, or a program. That is, a URI refers to the procedure used to access a resource or the name (file name) of a particular computer or a specific resource on a computer that has a certain resource.

예를 들어 아래의 URI는 웹프로토콜 애플리케이션인 HTTP를 사용하여 액세스될 수 있는 파일을 인식하며, 그 파일은 유일한 인터넷 주소로 사상될 수 있는 www.w3.org라는 이름을 가진 컴퓨터에 존재한다. For example, the URI below identifies a file that can be accessed using HTTP, a web protocol application, and resides on a computer named www.w3.org, which can be mapped to a unique Internet address.

http://www.w3.org/Icons/WWW/w3c_main.gif http://www.w3.org/Icons/WWW/w3c_main.gif

컴퓨터의 디렉토리 구조에서, 그 파일은 "/Icons/WWW/w3c_main.gif"에 위치해 있다. In the directory structure of the computer, the file is located in "/Icons/WWW/w3c_main.gif".

서비스 제공 모듈(140)은 거점중계모듈(130)에 의해 호출된 유알엘에 대한 응답메시지를 반환하는 서비스를 제공하도록 구성된다.The service providing module 140 is configured to provide a service that returns a response message for the UAL called by the base relay module 130.

즉, 서비스 제공 모듈(140)은 전달받은 명령에 따라 서비스제공시스템(EPCNetwork, 데이터베이스)에서 데이터 처리를 진행하고 데이터 처리가 완료되면 거점중계모듈(130)에 응답메시지를 전달하고 전달된 응답메시지는 서비스 컨텍스트 모듈(120)을 통해 클라이언트의 단말기(110)에 전달되는 것이다.That is, the service providing module 140 proceeds with data processing in the service providing system (EPCNetwork, database) according to the received command, and when the data processing is completed, delivers the response message to the base station relay module 130 and the delivered response message It is delivered to the terminal 110 of the client through the service context module 120.

또한, 서비스 제공 모듈(140)은 서비스를 제공하는 거점이 추가/삭제/변경 될 경우 이를 갱신하지 않으면 비정상적인 서비스 제공으로 인한 오류를 발생하게 되기 때문에 거점이 추가/삭제/변경 될 경우 서비스를 대표하는 URI와 거점정보를 거점중계모듈(130)에 저장하여 클라이언트가 가용한 서비스 거점을 실시간으로 공급받아 해당 거점의 서비스를 호출할 수 있도록 한다.In addition, the service providing module 140 represents an error when the base is added / deleted / changed because the service providing module 140 generates an error due to abnormal service provision if the base providing the service is not added or deleted or changed. By storing the URI and the base information in the base relay module 130, the client receives the available service base in real time so that the service of the base can be called.

또한 서비스 제공 모듈(140)이 더 이상 서비스 제공이 안 될 경우 클라이언트를 통하여 서비스 컨텍스트 서버(120)에 등록된 거점정보를 삭제하도록 하여야 한다.In addition, when the service providing module 140 no longer provides a service, the service providing module 140 should delete the base information registered in the service context server 120 through the client.

그리고 서비스 제공 모듈(140)은 필요 시 서비스 컨텍스트 서버(120)에 거점정보를 확인해야한다In addition, the service providing module 140 should check base information on the service context server 120 when necessary.

이때도 서비스 제공 모듈(140)에서 제공받은 응답메시지를 거점중계모듈(130)에서 변환(marshalling)하여 서비스 컨텍스트 모듈(120)로 전송하고 사용자 딜리게이터에서 다시 복원(unmarshalling)하여 클라이언트의 단말기(110)에 전달된다.In this case, the response message provided by the service providing module 140 is converted (marshalled) by the base relay module 130 and transmitted to the service context module 120, and then unmarshalled again by the user distributor 110 to the client terminal 110. Is delivered).

그리고 도면에는 도시되어 있지 않지만 서비스 제공 모듈(140)과 단말기(110)의 운영환경 또는 통신 규격이 다를 경우에는 메시지 변환 모듈을 통하여 이종 환경 및 통신 규격을 사상시켜줄 수 있음은 물론이다.And although not shown in the drawings, if the operating environment or communication specifications of the service providing module 140 and the terminal 110 is different, it is a matter of course that the heterogeneous environment and communication standards can be mapped through the message conversion module.

이하, 상술한 구성을 이용한 서비스 URI와 거점정보를 통한 메시지 중계 방법에 대하여 도면을 참조하여 설명한다.Hereinafter, a message relay method using a service URI and base information using the above-described configuration will be described with reference to the drawings.

도 2는 본 발명의 일 실시 예에 의한 서비스 URI와 거점정보를 통한 메시지 중계 방법을 설명하기 위한 흐름도로서, 먼저 거점중계모듈(130)에 서비스 URI와 서비스 거점정보가 등록되어 있는 상황에서, 클라이언트의 단말기(110)는 사용자 딜리게이터(Delegator)(112)에 서비스 아이디와 메시지를 요청한다(S201).2 is a flowchart illustrating a message relay method using a service URI and base information according to an embodiment of the present invention. First, in a situation in which a service URI and service base information are registered in the base relay module 130, a client may be configured. The terminal 110 requests a service ID and a message from the user delegate 112 (S201).

단계 S201에서 서비스 아이디와 메시지를 요청받은 사용자 딜리게이터는 네트워크를 통해 전송할 수 있도록 요청받은 서비스 아이디(Sid;Service Identification)와 메시지를 바인딩(marshalling)한다(S202).In step S201, the user distributor requesting the service ID and the message binds the requested service ID (Sid) and the message to be transmitted through the network (S202).

여기서 바인딩(marshalling)은 네트웍을 통해 포인터를 포함한 구조(atructure)를 전송할 때 사용하는 것으로, 원하는 내용을 네트웍을 통해서 보낼 수 있도록 전달하는 구조체를 변경시키는 일을 말한다.Here, marshalling is used to send a structure containing pointers over the network, and it is to change the structure to be delivered so that the desired content can be sent through the network.

따라서 복원(unmarshalling)은 이와 반대로 네트웍으로부터 내용을 받았을 때 원래의 structure의 형태로 복원하는 것을 말한다.Thus, unmarshalling, on the other hand, means restoring the original structure when it receives content from the network.

단계 S202에서 바인딩된 데이터가 서비스 컨텍스트 모듈(120)로 전송되면(S203), 서비스 컨텍스트 모듈(120)은 바인딩된 데이터로부터 URL을 도출하게 된다(S204).When the bound data is transmitted to the service context module 120 in step S202 (S203), the service context module 120 derives a URL from the bound data (S204).

즉, 서비스 컨텍스트 모듈(120)은 거점중계모듈(130)에 등록된 서비스 URI와 서비스 거점정보를 전송받아 단말기(110)에서 입력되는 서비스명에 부합되는 URL을 도출하는 것이다.That is, the service context module 120 receives the service URI and the service base information registered in the base relay module 130 to derive a URL corresponding to the service name input from the terminal 110.

단계 S204에서 URL을 도출한 서비스 컨텍스트 모듈(120)은 거점중계모듈(130)로 도출된 URL을 요청하면(S205) 거점중계모듈(130)은 바인딩된 데이터를 복원(unmarshalling)하게 된다(S206).When the service context module 120 deriving the URL in step S204 requests the URL derived from the node relay module 130 (S205), the node relay module 130 restores (unmarshalling) the bound data (S206). .

즉, 거점중계모듈(130)은 서비스 컨텍스트 모듈(120)에서 전송받은 데이터를 복원하여 서비스 아이디에 해당하는 서비스 제공자(Provider) URL을 도출하는 것이다.That is, the base relay module 130 restores the data received from the service context module 120 to derive a service provider URL corresponding to the service ID.

단계 S206에서 복원된 프로바이더 URL은 서비스 제공자 모듈(140)로 질의하게 되면 서비스 제공자 모듈(140)은 질의에 따른 서비스를 EPCNetwok에서 검색하게 된다(S207).When the provider URL restored in step S206 is queried to the service provider module 140, the service provider module 140 searches for the service according to the query in EPCNetwok (S207).

이후 서비스 제공자 모듈(140)에서 검색한 데이터를 응답 메시지로 거점 중계모듈(130)로 반환하게 되면(S208), 거점중계모듈(130)은 응답메시지를 다시 바인딩(marshalling)하고(S209), 바인딩된 응답메시지는 서비스 컨텍스트 모듈(120)로 전송하면(S210), 서비스 컨텍스트 모듈(120)은 해당 응답 메시지를 사용자 딜리게이터(112)로 전송하게 된다(S211).Then, when the data retrieved from the service provider module 140 is returned to the base station relay module 130 as a response message (S208), the base station relay module 130 again (marshalling) the response message (S209), binding If the received response message is transmitted to the service context module 120 (S210), the service context module 120 transmits the corresponding response message to the user delegate 112 (S211).

사용자 딜리게이터(112)는 전송받은 바인딩된 응답메시지를 복원(marshalling)하여 클라이언트의 단말기(110)로 반환하게 되는 것이다(S212~S213).
The user distributor 112 may return the received bound response message to the client terminal 110 by marshalling (S212 to S213).

상술한 바와 같이 본 발명의 서비스 유알아이와 거점정보를 통한 메시지 중계 장치 및 그 방법에 의하면, 서비스를 제공하는 거점이 추가/삭제/변경될 경우 에도 클라이언트는 오류없이 원하는 서비스를 호출하여 사용할 수 있는 것이다.
As described above, according to the service relay device and the message relay apparatus through the base information and the method of the present invention, even when the base providing the service is added / deleted / changed, the client can call and use the desired service without error. will be.

이상에서 본 발명은 기재된 구체예에 대하여 상세히 설명되었지만 본 발명의 기술사상 범위 내에서 다양한 변형 및 수정이 가능함은 당업자에게 있어서 명백한 것이며, 이러한 변형 및 수정이 첨부된 특허 청구범위에 속함은 당연한 것이다.
While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is evident that many alternatives, modifications and variations will be apparent to those skilled in the art.

110 : 단말기 112 : 사용자 딜리게이터
120 : 서비스 컨텍스트 모듈 130 : 거점 중계모듈
140 : 서비스 제공 모듈
110: terminal 112: user distributor
120: service context module 130: base relay module
140: service provision module

Claims (6)

서비스 유알아이(URI; Uniform Resource Identifier)와 서비스 거점정보를 서비스 제공 모듈로부터 등록받아 관리하고 필요 시 서비스 컨텍스트 모듈(120)로 전송하도록 구성되며 서비스 제공모듈(140)에 해당 서비스를 호출함과 동시에 응답 메시지를 전송받아 반환하도록 구성된 거점중계모듈(130);
상기 응답 메시지를 전송받는 단말기(110);
상기 거점중계모듈(130)의 서비스 유알아이와 서비스 거점정보를 전송받아 상기 단말기(110)에서 입력되는 서비스명에 부합되는 유알엘(URL; Uniform Resource Locator)을 도출하여 상기 서비스 유알아이와 서비스 거점정보를 연계하여 관리하고 있다가 서비스 유알아이에 대응하는 서비스 거점정보를 상기 거점중계모듈(130)로 제공하고, 주기적으로 등록된 거점에 대해 가용성을 체크하며 체크 되지 않는 부분에 대해서는 자동으로 거점 정보를 삭제하는 서비스 컨텍스트 모듈(120);
상기 거점중계모듈(130)에 의해 호출된 유알엘에 대한 응답메시지를 반환하는 서비스를 제공하고 전달받은 명령에 따라 서비스제공시스템(EPCNetwork, 데이터베이스)에서 데이터 처리를 진행하여 상기 거점중계모듈(130)에 응답메시지를 전달하고, 전달된 응답메시지는 상기 서비스 컨텍스트 모듈(120)을 통해 클라이언트 단말기(110)에 전달하며 서비스를 제공하는 거점이 추가/삭제/변경될 경우 서비스를 대표하는 URI와 거점정보를 거점중계모듈(130)에 저장하여 클라이언트가 가용한 서비스 거점을 실시간으로 공급받아 해당 거점의 서비스를 호출하도록 구성되며 서비스 제공이 중지되었을 경우 클라이언트를 통해 상기 서비스 컨텍스트 서버(120)에 등록된 거점정보를 삭제하도록 하는 상기 서비스 제공 모듈(140);을 포함하여 구성되는 서비스 유알아이와 거점정보를 통한 메시지 중계 장치.
It is configured to register and manage service resource information (URI) and service base information from the service providing module and transmit it to the service context module 120 when necessary, and simultaneously call the corresponding service to the service providing module 140. Node relay module 130 configured to receive and return a response message;
A terminal 110 receiving the response message;
Receives a service URL and service base information of the base relay module 130 to derive a URL (Uniform Resource Locator) corresponding to the service name input from the terminal 110 to obtain the service URL and service base information And manages the service point information corresponding to the service U-LI to the base station relay module 130, periodically checks the availability of the registered point and automatically checks the point information for the unchecked part. A service context module 120 for deleting;
Providing a service that returns a response message to the UAL called by the base relay module 130 and proceeds with data processing in the service providing system (EPCNetwork, database) according to the received command to the base relay module 130 Delivers a response message, the delivered response message is delivered to the client terminal 110 through the service context module 120, and when the base providing the service is added / deleted / changed, the URI representing the service and the base information are provided. Stored in the base relay module 130, the client is configured to receive the available service base in real time to call the service of the base, and when the service is stopped, the base information registered in the service context server 120 through the client The service providing module 140 to delete the; The message relay device via point information.
삭제delete 제 1 항에 있어서,
상기 서비스 제공 모듈과 상기 단말기의 운영환경 또는 통신 규격이 다를 경우 이종 환경 및 통신 규격을 사상시켜주는 메시지 변환 모듈;을 더 포함하여 구성되는 것을 특징으로 하는 서비스 유알아이와 거점정보를 통한 메시지 중계 장치.
The method of claim 1,
The service relay module and the message relay device through the service information, characterized in that it comprises a more; service conversion module for mapping the heterogeneous environment and communication standards when the operating environment or communication standards of the terminal is different .
서비스 유알아이(URI; Uniform Resource Identifier)와 서비스 거점정보가 등록되는 거점중계모듈을 통한 메시지 중계 방법에 있어서,
(a)단말기에서 사용자 딜리게이터(Delegator)에 서비스 아이디와 메시지를 요청하는 단계; (b)상기 (a)단계에서 요청받은 서비스 아이디와 메시지를 컨텍스트 모듈로 전송하는 단계; (c)상기 컨텍스트 모듈에서 상기 서비스 아이디에 해당하는 서비스 제공자 유알엘(URL; Uniform Resource Locator)을 도출하여 호출하는 단계; (d)상기 호출에 따른 서비스를 응답메시지를 상기 단말기로 반환하는 단계;를 포함하여 이루어지며,
상기 (b)단계는, 상기 (a)단계에서 요청받은 서비스 아이디와 메시지를 네트워크를 통하여 전송할 수 있도록 바인딩(Marshalling)하는 단계; 상기 바인딩 하는 단계에서 바인딩(Marshalling)된 서비스 아이디와 메시지를 컨텍스트 모듈로 전송하는 단계;를 포함하여 이루어지고,
상기 (c)단계는, 상기 거점중계모듈의 서비스 유알아이와 서비스 거점정보를 전송받아 상기 단말기에서 입력되는 서비스명에 부합되는 유알엘(URL; Uniform Resource Locator)을 도출하여 상기 거점중계모듈로 요청하는 단계; 상기 거점중계모듈로 요청 단계에서 요청된 데이터에서 서비스 아이디와 메시지를 복원(unmarshalling)하는 단계; 상기 메시지 복원단계에서 복원된 서비스 제공 모듈의 유알엘을 호출하는 단계;를 포함하여 이루어지는 것을 특징으로 하는 서비스 유알아이와 거점정보를 통한 메시지 중계 방법.
In the message relay method through a node relay module in which a service resource ID (URI) and service point information are registered,
(a) requesting a service ID and a message from a terminal to a user delegate; (b) transmitting the service ID and the message requested in step (a) to the context module; (c) deriving and calling a service provider uniform resource locator (URL) corresponding to the service ID in the context module; (d) returning a service response message to the terminal according to the call;
Step (b) may include: binding the service ID and the message requested in step (a) to be transmitted through a network; And transmitting the service ID and the message bound to the context module in the binding step.
In the step (c), the service relay eye and the service base information of the base relay module are received to derive a Uniform Resource Locator (URL) corresponding to the service name input from the terminal to request the base relay module. step; Restoring a service ID and a message from the data requested in the requesting step to the base relay module (unmarshalling); Calling a UAL of the service providing module restored in the message restoring step; Message relay method through the service U-eye and the base information, characterized in that comprises a.
삭제delete 삭제delete
KR1020110092301A 2011-09-11 2011-09-11 Message relay apparatus based on service uri and location information and the method thereof KR101389140B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020110092301A KR101389140B1 (en) 2011-09-11 2011-09-11 Message relay apparatus based on service uri and location information and the method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020110092301A KR101389140B1 (en) 2011-09-11 2011-09-11 Message relay apparatus based on service uri and location information and the method thereof

Publications (2)

Publication Number Publication Date
KR20130028835A KR20130028835A (en) 2013-03-20
KR101389140B1 true KR101389140B1 (en) 2014-04-28

Family

ID=48179130

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020110092301A KR101389140B1 (en) 2011-09-11 2011-09-11 Message relay apparatus based on service uri and location information and the method thereof

Country Status (1)

Country Link
KR (1) KR101389140B1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060001062A (en) * 2004-06-30 2006-01-06 에스케이 텔레콤주식회사 Method for supporting various multimedia contents service from terminal
US20100017368A1 (en) * 2006-03-31 2010-01-21 Xin Sheng Mao Service Registry and Relevant System and Method
KR20110069018A (en) * 2008-08-21 2011-06-22 망고 문 트레이딩 1138 씨씨 Indexing system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060001062A (en) * 2004-06-30 2006-01-06 에스케이 텔레콤주식회사 Method for supporting various multimedia contents service from terminal
US20100017368A1 (en) * 2006-03-31 2010-01-21 Xin Sheng Mao Service Registry and Relevant System and Method
KR20110069018A (en) * 2008-08-21 2011-06-22 망고 문 트레이딩 1138 씨씨 Indexing system
US20110153587A1 (en) * 2008-08-21 2011-06-23 Chandrasagaran Murugan Indexing system

Also Published As

Publication number Publication date
KR20130028835A (en) 2013-03-20

Similar Documents

Publication Publication Date Title
US8301748B2 (en) Managing CDN registration by a storage provider
US8527862B2 (en) Methods for making ajax web applications bookmarkable and crawlable and devices thereof
CN111399756B (en) Data storage method, data downloading method and device
CN107181779B (en) Method, device and system for processing access request
CN107463453B (en) Method, device, equipment and storage medium for communication between different applications of same terminal
US8959434B2 (en) Add-in program for upload, auxiliary program for upload and upload method
GB2520246A (en) Method for accessing business object resources and machine-to-machine communication environment
KR100901281B1 (en) Method for ubiquitous web service
JP2005530258A (en) System and method for resynchronization while refreshing a client device from a server
JP2012048679A (en) Relay device, relay method and relay program
JP2003141002A (en) Url length conversion system and program
JP2002318808A (en) Personal information registration support system
JP2013229021A (en) Mobile broadband device, and mobile broadband service processing method for mobile broadband device
US7895316B2 (en) Apparatus, method, and computer program product providing enhanced document management
KR101389140B1 (en) Message relay apparatus based on service uri and location information and the method thereof
CN106487861B (en) Network data providing method and device
CN109600452B (en) Server cluster, message pushing method and related server
CN113779445A (en) Page rendering method, device, system, equipment and storage medium
WO2006084506A1 (en) Improvements in or relating to electronic document browsing
JP5678473B2 (en) Information processing terminal
JPWO2006040991A1 (en) Terminal device, server device, and Web service providing system
CN116962038A (en) Cross-application data access method and device, electronic equipment and storage medium
CN117596292A (en) Method and device for pushing multimedia data
CN115567603A (en) Proxy route forwarding method, device, intelligent terminal and storage medium
JP2005339149A (en) Data processor, data processing method and data 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: 20170216

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20180409

Year of fee payment: 5