KR100659584B1 - Method of exchanging messages - Google Patents

Method of exchanging messages Download PDF

Info

Publication number
KR100659584B1
KR100659584B1 KR1020050064084A KR20050064084A KR100659584B1 KR 100659584 B1 KR100659584 B1 KR 100659584B1 KR 1020050064084 A KR1020050064084 A KR 1020050064084A KR 20050064084 A KR20050064084 A KR 20050064084A KR 100659584 B1 KR100659584 B1 KR 100659584B1
Authority
KR
South Korea
Prior art keywords
message
format
sequence
exchange
application program
Prior art date
Application number
KR1020050064084A
Other languages
Korean (ko)
Other versions
KR20060063616A (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 한국전자통신연구원
Publication of KR20060063616A publication Critical patent/KR20060063616A/en
Application granted granted Critical
Publication of KR100659584B1 publication Critical patent/KR100659584B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • 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/06Message adaptation to terminal or network requirements
    • H04L51/066Format adaptation, e.g. format conversion or compression

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Telephonic Communication Services (AREA)

Abstract

본 발명은 메시지 교환 방법에 관한 것으로, 시작 단계에서 메시지 교환 순서 및 메시지 포맷이 정의된 시퀸스 메시지를 보내면 수신측 응용 프로그램이 시퀸스 메시지를 자신의 프로토콜 버전에 맞게 정의 및 해석한다. 정의된 순서에 따라 정의된 포맷의 메시지를 교환하고 정의된 방법으로 메시지의 구성요소를 인식함으로써 서로 다른 버전의 프로토콜을 구현하는 응용 프로그램들 간에서도 원활한 메시지 교환이 가능하고, 메시지 교환 순서의 임의 변경과 구성요소 추가 등 메시지 확장이 용이하다. 텔레매틱스 장치와 서비스 서버 간의 메시지 교환에 적용될 수 있다.The present invention relates to a message exchange method. In a start phase, when a sequence message in which a message exchange order and a message format are sent is sent, a receiving application defines and interprets the sequence message according to its protocol version. By exchanging messages in a defined format in a defined order and recognizing the components of the message in a defined way, seamless message exchange is possible between applications implementing different versions of the protocol, and any change in the order of message exchange is possible. It is easy to extend messages such as and add components. It can be applied to message exchange between telematics device and service server.

응용 프로토콜, 응용 프로그램, 메시지 교환, 메시지 포맷, 시퀸스 메시지 Application protocol, application, message exchange, message format, sequence message

Description

메시지 교환 방법 {Method of exchanging messages} How to exchange messages {Method of exchanging messages}

도 1은 텔레매틱스 응용 프로토콜에 따른 종래의 메시지 교환 방법을 설명하기 위한 흐름도.1 is a flowchart illustrating a conventional message exchange method according to a telematics application protocol.

도 2a 내지 도 2c는 종래 메시지 포맷의 일 예를 설명하기 위한 예시도. 2A to 2C are exemplary diagrams for explaining an example of a conventional message format.

도 3은 본 발명에 따른 메시지 교환 방법을 설명하기 위한 흐름도.3 is a flowchart illustrating a message exchange method according to the present invention.

도 4는 본 발명에 따른 시퀸스 메시지 포맷의 일 예를 설명하기 위한 예시도. 4 is an exemplary diagram for explaining an example of a sequence message format according to the present invention;

도 5a 내지 도 5c는 본 발명에 따른 메시지 포맷의 일 예를 설명하기 위한 예시도.5A to 5C are exemplary views for explaining an example of a message format according to the present invention.

본 발명은 메시지 교환 방법에 관한 것으로, 보다 상세하게는 서로 다른 버전의 프로토콜을 구현하는 응용 프로그램들 간에서도 메시지 교환이 가능한 메시지 교환 방법에 관한 것이다.The present invention relates to a message exchange method, and more particularly, to a message exchange method capable of exchanging messages between application programs that implement different versions of a protocol.

다양한 인터페이스 기술, 유무선 통신 기술 및 인터넷 기반 기술들이 발달됨에 따라 최근들어 텔레매틱스(Telematics) 장치가 차량에 탑재되고 있으며, 양방향 통신이 가능한 텔레매틱스 장치를 통해 운전자의 안전과 편의를 위해 다양한 정보 및 서비스가 제공되고 있다.With the development of various interface technologies, wired / wireless communication technologies and internet-based technologies, recently, telematics devices are installed in vehicles, and various information and services are provided for driver safety and convenience through telematics devices capable of bidirectional communication. It is becoming.

이와 같은 텔레매틱스 서비스는 소정의 서비스 서버를 통해 이루어지며, 서비스 서버와 텔레매틱스 장치의 정보 교환은 텔레매틱스 응용 프로토콜을 통해 이루어진다. Such a telematics service is performed through a predetermined service server, and information exchange between the service server and the telematics device is performed through a telematics application protocol.

일반적으로 텔레매틱스 응용 프로토콜은 응용 프로그램들 사이에 교환되는 메시지와, 메시지의 교환 순서를 나타내는 메시지 시퀀스를 포함한다. 텔레매틱스 응용 프로그램들은 응용 프로토콜이 정의하는 메시지 포맷과 메시지 시퀀스를 정확히 구현해야만 상호 메시지 교환이 가능해지기 때문에 기본적으로 응용 프로토콜의 버전은 동일해야 한다.In general, telematics application protocols include messages exchanged between applications and a message sequence that indicates the order in which messages are exchanged. Since telematics applications can exchange messages only by implementing the message format and message sequence defined by the application protocol, the versions of the application protocol should basically be the same.

종래의 텔레매틱스 응용 프로토콜은 여러 가지의 응용 유스케이스(UseCase)들을 정의하고, 유스케이스 별로 사용되는 메시지 포맷과 메시지 시퀀스를 정의한다. Conventional telematics application protocols define a variety of application use cases and define message formats and message sequences used for each use case.

도 1은 텔레매틱스 응용 프로토콜에 따른 종래의 메시지 교환 방법을 설명하기 위한 흐름도로서, 비상 호출(Emergency Call) 유스케이스의 경우를 예로 들어 설명한다. 도 2a 내지 도 2c는 도 1을 설명하기 위한 종래 메시지 포맷의 일 예로서, ERTICO 사에서 제안한 비상 호출 유스케이스의 경우 교환되는 메시지 포맷을 도시한다("GTP(Global Telematics Protocol) Application Protocol Encoding Specification", Telematics Forum, March 2003 참조).FIG. 1 is a flowchart illustrating a conventional message exchange method according to a telematics application protocol, and will be described using an emergency call use case as an example. 2A to 2C illustrate message formats exchanged in case of an emergency call use case proposed by ERTICO as an example of a conventional message format for explaining FIG. 1 ("GTP (Global Telematics Protocol) Application Protocol Encoding Specification"). , Telematics Forum, March 2003).

도 1을 참조하면, 응급 상황이 발생되면 차량의 운전자 또는 탑승자는 텔레 매틱스 장치의 입력장치를 통해 서비스 서버로 응급 상황을 알릴 수 있다. 입력장치를 통해 명령이 입력되면 상기 텔레매틱스 장치의 응용 프로그램은 비상 호출 요청(Emergency Call Request) 메시지를 생성하여 상기 서비스 서버로 전송한다. Referring to FIG. 1, when an emergency occurs, a driver or a passenger of a vehicle may notify an emergency situation to a service server through an input device of a telematics device. When a command is input through an input device, an application program of the telematics device generates an emergency call request message and transmits it to the service server.

도 2a는 상기 비상 호출 요청 메시지의 포맷으로서, 메시지의 표시를 위한 헤더(Header), 버전(Version), 시간(Time Stamp), 차량 위치(Location), 차량의 종류(Vehicle), 고장 원인(BreakdownStatus), 정보의 형태(Type) 및 크기 등의 구성요소에 관한 데이터가 비트별로 할당된다.FIG. 2A is a format of the emergency call request message, and includes a header, a version, a time stamp, a vehicle location, a vehicle type, and a breakdown status for displaying a message. ), Data about components such as information type and size are allocated bit by bit.

상기 서비스 서버에 비상 호출 요청 메시지가 전달되면 상기 서비스 서버의 응용 프로그램은 비상 호출 응답(Emergency Call Reply) 메시지를 생성하여 상기 텔레매틱스 장치로 전송하고, 필요한 경우 서비스 센터와 전화 통화(Voice Call)가 이루어지도록 한다.When the emergency call request message is delivered to the service server, the application of the service server generates an emergency call reply message and transmits it to the telematics device, and if necessary, makes a voice call with the service center. To lose.

도 2b는 상기 비상 호출 응답 메시지의 포맷으로서, 헤더(Header), 버전(Version), 여러 가지 명령(ECall CintroFlag1, Transmit Units), 장치의 작동 명령(ECall CintroFlag2), 서비스 서버 등의 전화번호(Phone Number) 등의 구성요소에 관한 데이터가 비트별로 할당된다.FIG. 2B is a format of the emergency call response message, and includes a header, a version, various commands (ECall CintroFlag1, Transmit Units), a device operation command (ECall CintroFlag2), and a phone number of a service server. Data about components such as Number) is allocated bit by bit.

상기와 같은 과정이 완료되면 상기 서비스 서버의 응용 프로그램은 종료(Terminate) 메시지를 생성하여 상기 텔레매틱스 장치로 전송한다.When the above process is completed, the application program of the service server generates a Terminate message and transmits it to the telematics device.

도 2c는 상기 종료 메시지의 포맷으로서, 헤더(Header) 등의 구성요소에 관한 데이터가 비트별로 할당된다. 2C shows a format of the termination message, in which data about components such as a header is allocated bit by bit.

상기한 바와 같이 종래에는 정의된 순서에 의해서만 메시지 교환이 이루어지 고, 동일한 버전의 응용 프로토콜을 통해서만 메시지 교환이 가능하였다. 즉, 응용 프로그램의 데이터를 응용 프로토콜에 따라 고정된 메시지로 인코딩한 후 정의된 순서에 따라 메시지 교환을 수행하였다. 따라서 새로운 메시지 또는 구성요소를 추가하거나 메시지 시퀀스를 변경하지 못하였으며, 새로운 구성요소를 추가하거나 메시지 시퀀스를 변경하기 위해서는 프로토콜 처리 장치를 다시 구현하여야 하는 단점이 있다. As described above, the message exchange is performed only in the defined order, and the message exchange is possible only through the application protocol of the same version. In other words, after encoding data of an application program into a fixed message according to an application protocol, message exchange was performed in a defined order. Therefore, it is not possible to add a new message or component or change the message sequence, and to add a new component or change the message sequence, there is a disadvantage in that the protocol processing apparatus must be reimplemented.

본 발명은 상기한 단점을 해결하기 위하여 안출된 것으로, 서로 다른 버전의 프로토콜을 구현하는 응용 프로그램들 간에서도 원활한 메시지 교환이 가능하고, 메시지 추가 및 메시지 시퀸스의 변경이 용이한 메시지 교환 방법을 제공하는 데 그 목적이 있다.The present invention has been made in view of the above-described disadvantages, and provides a message exchange method that enables smooth message exchange between applications implementing different versions of the protocol, and facilitates the addition of messages and the change of message sequences. Its purpose is to.

상기한 목적을 달성하기 위한 본 발명에 따른 메시지 교환 방법은 송신부가 응용 프로그램을 통해 유스케이스, 메시지 교환 순서 및 포맷이 정의된 시퀸스 메시지를 수신부로 전송하는 단계, 상기 수신부가 응용 프로그램에 상기 시퀸스 메시지의 유스케이스가 구현되어 있는 지를 확인하고, 상기 송신부로 확인 메시지를 전송하는 단계, 상기 송신부 및 상기 수신부가 상기 메시지 교환 순서에 따라 상기 포맷의 메시지를 교환하는 단계, 상기 송신부 및 상기 수신부 중 일측이 응용 프로그램을 통해 종료 메시지를 전송하는 단계를 포함하는 것을 특징으로 한다.In the message exchange method according to the present invention for achieving the above object, the transmitting unit transmits a sequence message in which a use case, a message exchange order and a format are defined to a receiving unit through an application program, and the receiving unit transmits the sequence message to an application program. Confirming that the use case of is implemented, and transmitting a confirmation message to the transmitter, wherein the transmitter and the receiver exchange messages of the format according to the message exchange order, wherein one of the transmitter and the receiver is And transmitting a termination message through the application program.

상기 송신부 및 상기 수신부의 응용 프로그램에 상기 메시지의 포맷과 상기 메시지의 구성요소가 사전에 정의되고, 상기 송신부 및 상기 수신부의 응용 프로그 램에 의해 구현되는 응용 프로토콜의 버전이 서로 다른 것을 특징으로 한다.The format of the message and the components of the message are previously defined in an application program of the transmitter and the receiver, and versions of an application protocol implemented by applications of the transmitter and the receiver are different from each other.

이하, 첨부된 도면을 참조하여 본 발명의 바람직한 실시예를 상세히 설명하기로 한다. 이하의 실시예는 이 기술 분야에서 통상적인 지식을 가진 자에게 본 발명이 충분히 이해되도록 제공되는 것으로서, 여러 가지 형태로 변형될 수 있으며, 본 발명의 범위가 다음에 기술되는 실시예에 한정되는 것은 아니다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. The following embodiments are provided to those skilled in the art to fully understand the present invention, and may be modified in various forms, and the scope of the present invention is limited to the embodiments described below. no.

도 3은 본 발명의 바람직한 실시예에 따른 메시지 교환 방법을 설명하기 위한 흐름도로서, 설명의 편의를 위해 텔레매틱스 장치와 서비스 서버 간의 메시지 교환을 예로 들어 설명한다.3 is a flowchart illustrating a message exchange method according to a preferred embodiment of the present invention. For convenience of description, a message exchange between a telematics device and a service server will be described as an example.

먼저, 시작 단계에서 메시지 송신측(예를 들어, 텔레매틱스 장치)의 응용 프로그램은 메시지 교환 순서 및 메시지 포맷이 정의된 시퀸스 메시지를 메시지 수신측(예를 들어, 서비스 서버)으로 전송한다(단계 101).First, in the starting step, the application program of the message sender (eg, the telematics device) transmits a sequence message in which the message exchange order and the message format are defined to the message receiver (eg, the service server) (step 101). .

상기 시퀸스 메시지에는, 도 4에 도시된 바와 같이, 유스케이스(UseCase), 요청(REQUEST) 메시지, 응답(REPLY) 메시지, 통화(VOICE CALL) 등의 교환 순서를 정의하는 식별자(SEND 및 RECV), 메시지 포맷(REQUEST DTD, REPLY DTD) 그리고 종료 메시지의 교환 순서를 정의하는 식별자(SEND 및 RECV) 및 메시지 포맷(TERMINATE DTD)이 정의된다. 상기 유스케이스는 상기 서비스 서버에서 제공하는 서비스를 나타내며, 상기 서비스의 종류로는 응급 구난시 필요한 비상 호출, 차량의 위치 추적 요청, 교통정보 요청 등이 될 수 있다.As shown in FIG. 4, the sequence message includes identifiers (SEND and RECV) defining an exchange order such as a UseCase, a REQUEST message, a REPLY message, a VOICE CALL, and the like. Message formats (REQUEST DTD, REPLY DTD), identifiers (SEND and RECV) and message format (TERMINATE DTD) are defined that define the exchange order of the end message. The use case represents a service provided by the service server, and the type of service may be an emergency call required for emergency rescue, a location tracking request of a vehicle, a traffic information request, and the like.

도 4는 본 발명의 이해를 돕기 위한 시퀸스 메시지의 일 예로서, 시퀸스 메 시지의 포맷을 DTD(Document Type Definition) 형태로 정의하고 있으나, XML 등 여러 가지 포맷으로 정의할 수 있다. 이와 같이 메시지의 포맷을 정의함으로써 수신측의 응용 프로그램이 메시지를 용이하게 해석할 수 있도록 한다.FIG. 4 is an example of a sequence message for better understanding of the present invention. Although the format of the sequence message is defined in the form of a document type definition (DTD), it may be defined in various formats such as XML. By defining the format of the message in this way, the receiving application can easily interpret the message.

상기 수신측의 응용 프로그램은 상기 시퀸스 메시지를 수신하고(단계 102), 상기 유스케이스가 상기 수신측의 응용 프로그램에 구현되어 있는 지를 확인한다(단계 103). 즉, 상기 유스케이스에 대한 메시지 포맷과 구성요소 인식 방법이 상기 응용 프로그램에 정의되어 있는 지를 확인한다. The application program on the receiving side receives the sequence message (step 102), and checks whether the use case is implemented in the application program on the receiving side (step 103). That is, it is checked whether the message format and the component recognition method for the use case are defined in the application program.

상기 단계(103)에서 상기 유스케이스에 대한 메시지 포맷이 정의되어 있지 않은 경우 메시지 교환이 가능하지 않으므로 종료 메시지를 생성하여 상기 송신측으로 전송한다(단계 104). 상기 송신측의 응용 프로그램은 상기 수신측으로부터 전송된 메시지를 수신하고(단계 105), 상기 수신측으로부터 전송된 메시지가 종료 메시지인지를 확인한(단계 106) 후 종료 메시지인 경우 세션을 종료한다(단계 107).If the message format for the use case is not defined in step 103, since message exchange is not possible, an end message is generated and transmitted to the sender (step 104). The application program of the transmitting side receives the message transmitted from the receiving side (step 105), checks whether the message transmitted from the receiving side is the ending message (step 106), and terminates the session if it is the ending message (step 106). 107).

한편, 상기 단계(103)에서 상기 유스케이스에 대한 메시지 포맷이 정의되어 있는 경우 메시지 교환이 가능하므로 상기 수신측의 응용 프로그램은 확인 메시지를 생성하여 상기 송신측으로 전송하고(단계 108), 메시지 교환을 준비한다(단계 109).On the other hand, if the message format for the use case is defined in step 103, message exchange is possible, so the application program on the receiving side generates an acknowledgment message and transmits it to the transmitting side (step 108), and performs a message exchange. Prepare (step 109).

상기 수신측으로부터 전송된 확인 메시지를 수신한(단계 105) 상기 송신측의 응용 프로그램은 상기 확인 메시지가 종료 메시지가 아닌 것을 확인하고(단계 106), 메시지 교환을 준비한다(단계 110).Receiving the confirmation message sent from the receiving side (step 105), the application program on the sending side confirms that the confirmation message is not an end message (step 106), and prepares for message exchange (step 110).

이 후 상기 송신측의 응용 프로그램은 상기 시퀸스 메시지에 정의된 순서대 로 호출 요청(Call Request) 메시지를 생성하여 수신측으로 전송한다(단계 111). 이 때 상기 송신측의 응용 프로그램은 전송을 나타내는 식별자(SEND)를 사용하며, 전송 가능한 구성요소만를 사용하여 메시지를 생성한다. 정의되지 않은 구성요소를 사용하는 경우 해당 구성요소에 널(NULL)값을 표시한다.Thereafter, the application program of the transmitting side generates a Call Request message in the order defined in the sequence message and transmits it to the receiving side (step 111). At this time, the application program of the sender uses an identifier (SEND) indicating a transmission, and generates a message using only components that can be transmitted. If you use an undefined component, the component displays a null value.

도 5a는 본 발명에 따른 유스케이스 중 비상 호출 요청(Emergency Call Request) 메시지의 일 예로서, 헤더(Header), 버전(Version), 시간(TimeStamp), 차량 위치(Location), 차량의 종류(Vehicle), 고장 원인(BreakDownStatus), 정보의 형태(Type) 등의 구성요소에 관한 데이터가 포함된다.FIG. 5A is an example of an emergency call request message in a use case according to the present invention, and includes a header, a version, a timestamp, a vehicle location, and a vehicle type. ), Data related to components such as a cause of failure (BreakDownStatus) and a type of information are included.

상기 수신측의 응용 프로그램은 상기 호출 요청 메시지에서 구성요소를 인식하고, 상기 구성요소에 대한 처리를 수행한다(단계 112). 이 때 상기 수신측의 응용 프로그램에는 상기 시퀸스 메시지에 의해 메시지 포맷과 구성요소 인식 방법이 정의되어 있기 때문에 정의된 방법에 따라 구성요소를 추출한다. 상기 구성요소를 추출하기 위해 XML 질의 처리기 등을 이용할 수 있으며, 상기 메시지에서 태그를 검출하는 방법으로 구성요소를 인식할 수 있다. 예를 들어, 각 구성요소에 포함된 문자(예를 들어, V, T, L, V, B, I) 등을 검출하는 방법으로 해당 구성요소를 인식할 수 있다. 이와 같은 태그 검출 방법을 통해 구성요소를 인식하면 구성요소들의 나열 순서를 임의로 변경하여도 되므로 메시지의 작성과 변경이 용이해진다. The application program on the receiving side recognizes a component in the call request message and performs processing for the component (step 112). At this time, since the message format and the component recognition method are defined by the sequence message in the receiving application, the component is extracted according to the defined method. An XML query processor or the like may be used to extract the component, and the component may be recognized by a method of detecting a tag in the message. For example, the corresponding component may be recognized by a method of detecting a letter (eg, V, T, L, V, B, I, etc.) included in each component. When the components are recognized through the tag detection method as described above, the order of the components may be arbitrarily changed, thus making the creation and modification of the message easier.

상기 수신측의 응용 프로그램은 상기 호출 요청 메시지에 대한 호출 응답 메시지(Call Reply)를 생성하여 상기 송신측으로 전송한다(단계 113). 이 때 상기 수신측의 응용 프로그램은 요청에 대한 전송을 나타내는 식별자(RECV)를 사용한다. 도 5b는 본 발명에 따른 유스케이스 중 비상 호출 응답(Emergency Call Reply) 메시지의 일 예로서, 헤더(Header), 버전(Version), 여러 가지 명령(ECallCtrlFlag1, TransUnit), 장치의 작동 명령(ECallCtrlFlag2), 에러(Error), 서비스 서버 등의 전화번호(Transmit, Phone No.) 등의 구성요소에 관한 데이터가 포함된다.The application program on the receiving side generates a call reply message (Call Reply) for the call request message and transmits it to the transmitting side (step 113). At this time, the receiving application uses an identifier (RECV) indicating the transmission of the request. 5B illustrates an example of an emergency call reply message in a use case according to the present invention, including a header, a version, various commands (ECallCtrlFlag1, TransUnit), and a device operation command (ECallCtrlFlag2). Data relating to components such as errors, errors, and telephone numbers (Transmit, Phone No.) such as a service server.

상기 송신측의 응용 프로그램은 상기 호출 응답 메시지에서 구성요소를 인식하고, 상기 구성요소에 대한 처리를 수행한다(단계 114). 이 때 상기 송신측의 응용 프로그램도 상기 수신측의 응용 프로그램과 마찬가지로 상기 메시지에서 태그를 검출하는 방법으로 상기 구성요소를 인식할 수 있다. The application program on the sending side recognizes the component in the call response message and performs processing for the component (step 114). In this case, the application program of the transmitting side may recognize the component by a method of detecting a tag in the message, similarly to the application program of the receiving side.

이 후 상기 송신측과 수신측은 상기 시퀸스 메시지에 정의된 메시지 교환 순서에 따라 정의된 포맷의 메시지 및 통화를 서로 교환한다. 메시지 교환이 완료되면 상기 송신측 또는 수신측의 응용 프로그램은 상대방에게 종료(Terminate) 메시지를 전송한다. 도 5c는 본 발명에 따른 유스케이스 중 비상 호출 종료(Emergency Call Terminate) 메시지의 일 예로서, 헤더(Header) 등의 구성요소에 관한 데이터가 포함된다.Thereafter, the transmitting side and the receiving side exchange messages and calls of a format defined according to the message exchange order defined in the sequence message. When the message exchange is completed, the sending or receiving application program transmits a Terminate message to the other party. FIG. 5C is an example of an emergency call terminate message in a use case according to the present invention, and includes data regarding components such as a header.

본 발명에 따라 교환되는 메시지들은 예를 들어, XML 문서로 작성될 수 있다. 또한, 메시지의 구성요소들은 XML 엘리먼트 등으로 정의될 수 있으며, 인식이 용이하도록 유일한 이름으로 정의되는 것이 바람직하다. 본 발명에 따라 메시지 교환이 가능해지기 위해서는 메시지 포맷과 구성요소들의 인식 방법이 응용 프로그램에 미리 정의되어 있어야 한다. Messages exchanged in accordance with the present invention may be written, for example, in an XML document. In addition, the elements of the message may be defined as XML elements and the like, and are preferably defined as unique names for easy recognition. In order to be able to exchange messages according to the present invention, a message format and a method of recognizing the components must be previously defined in an application program.

이상에서와 같이 상세한 설명과 도면을 통해 본 발명의 최적 실시예를 개시 하였다. 용어들은 단지 본 발명을 설명하기 위한 목적에서 사용된 것이지 의미 한정이나 특허청구범위에 기재된 본 발명의 범위를 제한하기 위하여 사용된 것은 아니다. 그러므로 본 기술 분야의 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 타 실시예가 가능하다는 점을 이해할 것이다. 따라서 본 발명의 진정한 기술적 보호 범위는 첨부된 특허청구범위의 기술적 사상에 의해 정해져야 할 것이다.As described above, the optimum embodiment of the present invention has been disclosed through the detailed description and the drawings. The terms are used only for the purpose of describing the present invention and are not used to limit the scope of the present invention as defined in the meaning or claims. Therefore, those skilled in the art will understand that various modifications and equivalent other embodiments are possible from this. Therefore, the true technical protection scope of the present invention will be defined by the technical spirit of the appended claims.

상술한 바와 같이 본 발명에 따르면 시작 단계에서 유스케이스, 메시지 교환 순서 및 포맷이 정의된 시퀸스 메시지를 보내면 수신측 응용 프로그램이 시퀸스 메시지를 자신의 프로토콜 버전에 맞게 정의 및 해석한다. 정의된 순서에 따라 정의된 포맷의 메시지를 교환하고 정의된 방법으로 메시지의 구성요소를 인식함으로써 서로 다른 버전의 프로토콜을 구현하는 응용 프로그램들 예를 들어, 프로토콜을 확장하여 메시지에 부가정보를 추가하고 메시지 교환 시퀀스를 수정한 응용 프로그램(A)과 정해진 메시지 포맷과 메시지 시퀸스를 사용하는 수정되지 않은 프로토콜을 구현하는 응용 프로그램(B) 사이에서도 원활한 메시지 교환이 가능해진다. 또한, 텔레매틱스 장치의 프로토콜을 변경하지 않고도 메시지 포맷이나 메시지 시퀸스를 변경하거나 구성요소 추가 등 메시지 확장이 용이하므로 다양한 텔레매틱스 서비스를 제공할 수 있으며, 서비스 제공자와 사용자에게 편리함을 제공할 수 있다.As described above, according to the present invention, when a sequence message in which a use case, a message exchange order, and a format are defined is sent at the start stage, the receiving application defines and interprets the sequence message according to its protocol version. Applications that implement different versions of the protocol by exchanging messages in a defined format in a defined order and recognizing the components of the message in a defined manner, for example extending the protocol to add additional information to the message, Seamless message exchange is also possible between an application (A) modifying a message exchange sequence and an application (B) implementing an unmodified protocol using a given message format and message sequence. In addition, since it is easy to extend a message such as changing a message format or a message sequence or adding a component without changing the protocol of the telematics device, it is possible to provide various telematics services and provide convenience to a service provider and a user.

Claims (7)

송신부가 응용 프로그램을 통해 유스케이스, 메시지 교환 순서 및 포맷이 정의된 시퀸스 메시지를 수신부로 전송하는 단계,Sending, by the sender, a sequence message defining a use case, message exchange order, and format to the receiver through an application program; 상기 수신부가 응용 프로그램에 상기 시퀸스 메시지의 유스케이스가 구현되어 있는 지를 확인하고, 상기 송신부로 확인 메시지를 전송하는 단계,Checking, by the receiver, whether a use case of the sequence message is implemented in an application program, and transmitting a confirmation message to the transmitter; 상기 송신부 및 상기 수신부가 상기 시퀀스 메시지에 정의된 메시지 교환 순서에 따라 상기 시퀀스 메시지에 정의된 포맷의 메시지를 교환하는 단계를 포함하는 것을 특징으로 하는 메시지 교환 방법.And the transmitting unit and the receiving unit exchange messages of a format defined in the sequence message according to a message exchange order defined in the sequence message. 제 1 항에 있어서, 상기 송신부 및 상기 수신부의 응용 프로그램에 상기 메시지의 포맷과 상기 메시지의 구성요소가 사전에 정의된 것을 특징으로 하는 메시지 교환 방법. The message exchange method of claim 1, wherein a format of the message and a component of the message are predefined in an application program of the transmitter and the receiver. 제 1 항에 있어서, 상기 송신부 및 상기 수신부의 응용 프로그램에 의해 구현되는 응용 프로토콜의 버전이 서로 다른 것을 특징으로 하는 메시지 교환 방법. The method of claim 1, wherein versions of an application protocol implemented by an application program of the transmitter and the receiver are different from each other. 제 1 항에 있어서, 상기 메시지 교환 순서를 정의하기 위해 식별자를 사용하는 것을 특징으로 하는 메시지 교환 방법. 2. The method of claim 1, wherein an identifier is used to define the message exchange order. 제 1 항에 있어서, 상기 메시지 포맷은 DTD 및 XML 중 하나의 포맷인 것을 특징으로 하는 메시지 교환 방법. 2. The method of claim 1, wherein the message format is one of DTD and XML. 제 1 항에 있어서, 상기 송신부 및 상기 수신부 중 일측에서 응용 프로그램을 통해 종료 메시지를 전송하는 단계를 더 포함하는 것을 특징으로 하는 메시지 교환 방법.The message exchange method of claim 1, further comprising transmitting an end message through an application program at one of the transmitter and the receiver. 제 1 항에 있어서, 상기 송신부는 텔레매틱스 장치이고, 상기 수신부는 서비스 서버인 것을 특징으로 하는 메시지 교환 방법. The method of claim 1, wherein the transmitter is a telematics device and the receiver is a service server.
KR1020050064084A 2004-12-07 2005-07-15 Method of exchanging messages KR100659584B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020040102469 2004-12-07
KR20040102469 2004-12-07

Publications (2)

Publication Number Publication Date
KR20060063616A KR20060063616A (en) 2006-06-12
KR100659584B1 true KR100659584B1 (en) 2006-12-20

Family

ID=37159584

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020050064084A KR100659584B1 (en) 2004-12-07 2005-07-15 Method of exchanging messages

Country Status (1)

Country Link
KR (1) KR100659584B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100888511B1 (en) 2007-12-12 2009-03-12 한국전자통신연구원 System and the method for telematics service application protocol auto generation

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8779936B2 (en) 2009-10-22 2014-07-15 Electronics And Telecommunications Research Institute Method and system for providing safety guidance service
KR102103809B1 (en) 2013-09-12 2020-04-24 삼성전자주식회사 Method for sorting message and apparatus supporting the same

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010067351A (en) * 1999-10-29 2001-07-12 윤종용 System and method providing backward compatibility of radio link protocols in a wireless network
KR20010106043A (en) * 2000-05-20 2001-11-29 이연정 Method for sending message to the other using different messenger program
KR20040026393A (en) * 2002-09-24 2004-03-31 주식회사 넷츠고 Method of returning a response to a received message in wired or wireless communication terminal
KR20040028956A (en) * 2001-09-10 2004-04-03 인터내셔널 비지네스 머신즈 코포레이션 Configurable connector adapted to convey data between a first application and a second application
KR20040062891A (en) * 2003-01-03 2004-07-09 마이크로소프트 코포레이션 Method for streaming data between a server and a client

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010067351A (en) * 1999-10-29 2001-07-12 윤종용 System and method providing backward compatibility of radio link protocols in a wireless network
KR20010106043A (en) * 2000-05-20 2001-11-29 이연정 Method for sending message to the other using different messenger program
KR20040028956A (en) * 2001-09-10 2004-04-03 인터내셔널 비지네스 머신즈 코포레이션 Configurable connector adapted to convey data between a first application and a second application
KR20040026393A (en) * 2002-09-24 2004-03-31 주식회사 넷츠고 Method of returning a response to a received message in wired or wireless communication terminal
KR20040062891A (en) * 2003-01-03 2004-07-09 마이크로소프트 코포레이션 Method for streaming data between a server and a client

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100888511B1 (en) 2007-12-12 2009-03-12 한국전자통신연구원 System and the method for telematics service application protocol auto generation

Also Published As

Publication number Publication date
KR20060063616A (en) 2006-06-12

Similar Documents

Publication Publication Date Title
US8705550B2 (en) Device interface architecture and protocol
CN102428457B (en) Mobile computing device capabilities for accessories
CN101965581B (en) System and method for installing smart card applet
US9100367B2 (en) Control system and control method, method and apparatus for processing information, information processing terminal and method thereof, storage medium, and program
CN106453465B (en) System and method for interworking between a vehicle controller and an external resource
CN110417713B (en) Equipment data transmission method and device based on Internet of things
KR100659584B1 (en) Method of exchanging messages
US9251788B2 (en) Method and apparatus for voice-based machine to machine communication
CN104038303A (en) Remote aiding method and system
US20150046342A1 (en) System and method for telematics service of vehicle
CN107395661B (en) Vehicle computer system, server and telematics control unit
US20060280174A1 (en) Method and system for establishing a data link layer protocol on a physical layer port connection
CN100385970C (en) System and method for transmitting units of messages in a mobile communication system
KR100664037B1 (en) Telematics service method using short range wireless device
CN101583105B (en) Positioning method and positioning device of mobile terminal
KR20040106357A (en) Method and communication system for controlling a mobile communication terminal
CN101925036A (en) Transmitting method, system and device of terminal high-level signaling
US9807225B2 (en) Method for providing a function in a computer system of a vehicle
KR101397744B1 (en) Bluetooth interface apparatus and method
EP1309154B1 (en) System and method for the selection of electronic services using infrared communication
KR100941468B1 (en) Method and Bluetooth Terminal of Transmitting Data
US8468094B2 (en) Electronic value exchange system, mobile terminal, and electronic value exchange method
KR20010035347A (en) Apparatus and method for checking of network system
US20050014513A1 (en) Method and a system for data transmission, and a device
US8355712B2 (en) Method for remotely controlling a mobile terminal

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: 20111129

Year of fee payment: 6

LAPS Lapse due to unpaid annual fee