KR20080057583A - Presence service terminal and method for transmitting and receiving the RTP packet - Google Patents
Presence service terminal and method for transmitting and receiving the RTP packet Download PDFInfo
- Publication number
- KR20080057583A KR20080057583A KR1020060131052A KR20060131052A KR20080057583A KR 20080057583 A KR20080057583 A KR 20080057583A KR 1020060131052 A KR1020060131052 A KR 1020060131052A KR 20060131052 A KR20060131052 A KR 20060131052A KR 20080057583 A KR20080057583 A KR 20080057583A
- Authority
- KR
- South Korea
- Prior art keywords
- information
- terminal
- port
- rtp
- codec
- Prior art date
- Legal status (The legal status 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 status listed.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/54—Presence management, e.g. monitoring or registration for receipt of user log-on information, or the connection status of the users
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/06—Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
- H04W4/08—User group management
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
본 발명은 프리젠스 서비스 단말 및 그의 RTP 패킷 송수신 방법에 관한 것으로, 프리젠스 서비스 단말이 RTP 패킷의 송수신을 시도하는 경우, 상대 단말과 세션 설정 정보를 협상하여 RTP 세션을 설정 한 뒤 RTP 패킷을 송수신해야 하는 문제점을 해결하기 위해, 각 단말은 프리젠스 정보에 RTP 세션 협상 시 필요로 하는 코덱 및 송수신 포트 등의 정보를 추가하여 서버에 송신하고, 서버로부터 전달된 버디의 프리젠스 정보에 포함된 코덱 및 포트에 따라 RTP 패킷을 송신함으로써, 프리젠스 서비스 단말 간에 RTP 세션 설정을 위한 협상 없이 바로 RTP 패킷을 송수신 할 수 있도록 한다.The present invention relates to a presence service terminal and a method for transmitting and receiving an RTP packet. When the presence service terminal attempts to transmit and receive an RTP packet, the present invention establishes an RTP session by negotiating session establishment information with a counterpart terminal and then transmits and receives an RTP packet. To solve the problem, each terminal adds information such as a codec and a transmission / reception port necessary for negotiation of the RTP session to the presence information, and transmits it to the server, and the codec included in the presence information of the buddy transmitted from the server. And by transmitting the RTP packet according to the port, the RTP packet can be directly transmitted and received without negotiation for the establishment of the RTP session between the presence service terminals.
Description
도 1은 종래 프리젠스 서비스 단말 간 RTP 패킷 송수신 방법에 대한 플로차트를 나타낸 도면.1 is a flowchart illustrating a method of transmitting and receiving an RTP packet between a presence service terminal according to the related art.
도 2는 본 발명에 따른 프리젠스 서비스 단말의 상세 구성을 나타낸 도면.2 is a diagram illustrating a detailed configuration of a presence service terminal according to the present invention;
도 3은 본 발명에 따른 프리젠스 서비스 단말의 RTP 패킷 송수신 실시예를 나타낸 도면.3 is a diagram illustrating an embodiment of transmitting and receiving an RTP packet of a presence service terminal according to the present invention;
도 4는 본 발명에 따른 프리젠스 서비스 단말의 RTP 패킷 송수신 방법에 대한 플로차트를 나타낸 도면.4 is a flowchart illustrating a method of transmitting and receiving an RTP packet of a presence service terminal according to the present invention;
*도면의 주요부분에 대한 부호의 설명** Description of the symbols for the main parts of the drawings *
S40 : 코덱별 바인딩 포트를 포함한 프리젠스 정보를 서버에 송신S40: Send presence information including binding port for each codec to server
S41 : 버디의 프리젠스 정보 전달받음S41: Buddy's presence information received
S42 : 코덱에 바인딩 된 포트 이용하여 RTP 패킷 전송S42: send RTP packet using port bound to codec
S43 : RTP 패킷 수신 포트에 바인딩 된 코덱으로 디코딩S43: decode with codec bound to RTP packet receiving port
본 발명은 프리젠스 서비스(Presence service) 단말 및 그의 RTP(Real-time Transport Protocol) 패킷 송수신 방법에 관한 것으로, 더욱 자세하게는 프리젠스 서비스 단말이 프리젠스 정보에 RTP 세션 협상에 필요한 코덱 및 포트 정보를 포함하여 서버에 송신함으로써, RTP 패킷을 송수신하는 경우 RTP 세션 협상 과정 없이 바로 RTP 패킷을 송수신하는 프리젠스 서비스 단말 및 그의 RTP 패킷 송수신 방법에 관한 것이다.The present invention relates to a presence service (UE) terminal and a method for transmitting / receiving a Real-time Transport Protocol (RTP) packet thereof. More particularly, the presence service terminal provides codec and port information necessary for negotiation of an RTP session to the presence information. The present invention relates to a presence service terminal and an RTP packet transmission / reception method thereof, which transmits and receives an RTP packet immediately without an RTP session negotiation process when transmitting and receiving an RTP packet.
프리젠스 서비스는 통신의 가능성을 표현하는 프리젠스 정보를 수신하여 저장하고 있다가, 버디(Buddy)로 등록한 사용자가 프리젠스 서버에 접속하면 해당 프리젠스 정보를 전달하는 서비스이다. 프리젠스 서비스에는 인스턴트 메시징, VoIP, 이동 전화, 이메일 등의 통신 수단, 긴급한 경우에, 또는 항상 이메일로 전송 등 통신하고자 하는 의지 및 음성 메일 가능, 음성 또는 비디오 가능, 이동 또는 고정, 다양한 언어 가능 등 통신 능력 및 특성이 포함된다.The presence service receives and stores the presence information representing the possibility of communication, and delivers the presence information when a user registered as a buddy connects to the presence server. Presence services include communication means such as instant messaging, VoIP, mobile phones, e-mail, willingness and voice mail to communicate, such as in case of emergency or always by e-mail, voice or video, mobile or fixed, various languages, etc. Communication capabilities and characteristics.
RTP는 오디오와 비디오와 같은 실시간 데이터를 전송하기 위한 인터넷 프로토콜이다. RTP 그 자체가 데이터의 실시간 전송을 보장하지는 않지만, 송수신 응용프로그램들이 스트리밍 데이터를 지원하기 위한 장치를 제공한다. RTP는 일반적으로, 빠른 전송 속도를 얻기 위해 UDP(User Datagram Protocol) 상에서 실행된다.RTP is an Internet protocol for transmitting real-time data such as audio and video. Although RTP itself does not guarantee real-time transmission of data, transceiving applications provide an apparatus for supporting streaming data. RTP generally runs on User Datagram Protocol (UDP) to achieve high transfer rates.
프리젠스 서비스에 가입된 단말 간에 오디오나 비디오 등의 실시간 데이터를 송수신하는 상황을 가정해보면, 각 단말은 RTP를 이용하여 실시간 데이터를 송수신해야 한다. 이때, RTP 패킷을 송수신하기 위해서는 사용할 코덱 및 UDP 포트 번호 등을 협상하여 RTP 세션을 설정하는 과정을 우선적으로 거쳐야 한다. 따라서 실시간 데이터의 송수신이 지연되는 문제점이 발생한다.Assuming a situation in which real-time data such as audio or video is transmitted and received between terminals subscribed to the presence service, each terminal should transmit and receive real-time data using RTP. At this time, in order to transmit and receive the RTP packet, it is necessary to first negotiate a process of establishing an RTP session by negotiating a codec and UDP port number to be used. Therefore, there is a problem that the transmission and reception of real-time data is delayed.
종래 프리젠스 서비스 단말 간 RTP 패킷 송수신 방법에 대하여 도 1을 참조하여 살펴보기로 한다.A conventional method of transmitting and receiving an RTP packet between presence service terminals will be described with reference to FIG. 1.
단말이 자신의 프리젠스 정보를 서버에 송신한다(S10).The terminal transmits its own presence information to the server (S10).
상기 프리젠스 정보에는 현재 자신의 상태, 대화명, 자신이 등록한 버디의 목록 등을 포함하는 것이 바람직하다.Preferably, the presence information includes a current status of the person, a screen name, a list of buddies registered by the user, and the like.
각 단말은 자신이 버디로 등록한 단말들의 프리젠스 정보를 서버로부터 전달받는다(S11).Each terminal receives the presence information of the terminals registered as its buddy from the server (S11).
단말이 상대 단말에 실시간 데이터를 송신하려 하는 경우, 상대 단말과 실시간 데이터의 송수신을 위한 RTP 세션 설정 협상을 한다(S12).When the terminal intends to transmit real-time data to the counterpart terminal, it negotiates an RTP session establishment for transmitting / receiving real-time data with the counterpart terminal (S12).
상기 세션 설정 협상은, 데이터의 송수신을 위한 UDP 포트와 데이터가 인코딩된 코덱에 관한 정보를 송신측 단말과 수신측 단말 간에 일치 시키도록 협상하는 것이 바람직하다.In the session establishment negotiation, it is preferable to negotiate that the information about the UDP port for transmitting and receiving data and the codec in which the data is encoded is matched between the transmitting terminal and the receiving terminal.
상기 세션 설정 협상이 마무리된 경우, 송신측 단말과 수신측 단말 간에 RTP 세션이 생성되어 RTP 패킷을 송수신 할 수 있게 된다.When the session establishment negotiation is completed, an RTP session is created between the transmitting terminal and the receiving terminal to transmit and receive the RTP packet.
송신측 단말과 수신측 단말 간에 RTP세션이 생성된 경우, 송신측 단말은 수 신측 단말과 RTP를 이용하여 실시간 데이터를 송수신한다(S13).When the RTP session is generated between the transmitting terminal and the receiving terminal, the transmitting terminal transmits and receives real time data using the RTP with the receiving terminal (S13).
상기 RTP 패킷 송수신 방법에 의하면, 프리젠스 시스템 단말의 RTP를 이용한 실시간 데이터의 송수신시, 먼저 상대 단말과 세션 설정 협상을 해야 하므로 절차가 복잡하고 세션 설정 협상을 위한 별도의 시간이 소요되는 문제점이 있다.According to the RTP packet transmission / reception method, when the real-time data is transmitted and received using the RTP of the presence system terminal, first, a session establishment negotiation with the counterpart terminal is required, and thus, a procedure is complicated and a separate time is required for session establishment negotiation. .
본 발명은 상기 문제점을 해결하기 위한 것으로, 프리젠스 서비스 단말이 미리 자신의 세션 설정 정보를 버디 단말에 알려주어, 단말의 RTP 패킷 송수신시 세션 협상 과정 없이 미리 수신 받은 세션 설정 정보를 이용하여 RTP 패킷을 송수신하는 프리젠스 서비스 단말 및 그의 RTP 패킷 송수신 방법을 제공하는 것에 그 목적이 있다.The present invention is to solve the above problems, the presence service terminal informs the buddy terminal of its own session configuration information in advance, the RTP packet using the session configuration information received in advance without the session negotiation process when transmitting and receiving the RTP packet of the terminal An object thereof is to provide a presence service terminal for transmitting and receiving a RTP packet transmission and reception method thereof.
이러한 목적을 달성하기 위한 본 발명의 일 측면에 따른 프리젠스 서비스 단말의 RTP 패킷 송수신 방법은, 프리젠스 정보에 RTP 세션 설정 정보를 포함하여 서버에 송신하는 단계, 버디의 프리젠스 정보를 서버로부터 전달받아 저장하는 단계, 서버로부터 전달되어 저장된 수신측 단말의 프리젠스 정보로부터 RTP 세션 설정 정보를 조회하고, 그에 따라 RTP 패킷을 수신측 단말에 송신하는 단계 및 RTP 패킷이 수신된 경우 자신의 RTP 세션 설정 정보에 따라 RTP 패킷을 처리하는 단계를 포함 한다.RTP packet transmission and reception method of the presence service terminal according to an aspect of the present invention for achieving this object, transmitting the presence information including the RTP session establishment information to the server, transfer the presence information of the buddy from the server Receiving and storing RTP session setting information from the presence information of the receiving terminal, which is transmitted from the server, and storing the RTP session setting information accordingly, and transmitting the RTP packet to the receiving terminal accordingly; Processing the RTP packet according to the information.
상기 RTP 세션 설정 정보는, 각 코덱별 자신의 수신 포트를 나타내는 코덱별 바인딩 포트 정보를 포함하는 것이 바람직하다.Preferably, the RTP session establishment information includes binding port information for each codec indicating its own receiving port for each codec.
상기 수신측 단말에 송신하는 단계는, 서버로부터 전달되어 저장된 수신측 단말의 프리젠스 정보로부터 실시간 데이터가 인코딩된 코덱의 바인딩 포트를 조회하고, 조회한 포트를 통하여 RTP 패킷을 수신측 단말에 송신하는 단계인 것이 바람직하다.The transmitting to the receiving terminal may include inquiring a binding port of a codec encoded with real-time data from the presence information of a receiving terminal transmitted from a server and transmitting an RTP packet to the receiving terminal through the inquired port. It is preferably a step.
상기 RTP 패킷을 처리하는 단계는, RTP 패킷이 수신된 경우 수신 포트에 바인딩(binding)된 코덱을 이용하여 디코딩하는 단계인 것이 바람직하다.The processing of the RTP packet is preferably a step of decoding using a codec bound to a receiving port when the RTP packet is received.
상기 코덱별 바인딩 포트 정보는, 각 코덱에 대한 단말의 수신 포트를 나타내는 정보로, 송신측 단말이 특정 코덱으로 인코딩 된 실시간 데이터를 송신하는 경우, 수신측 단말이 지정한 코덱에 대한 바인딩 포트로 송신해야 한다는 것을 의미하는 정보이다. The binding port information for each codec is information indicating a receiving port of a terminal for each codec. When the transmitting terminal transmits real-time data encoded with a specific codec, the binding port information should be transmitted to the binding port for the codec designated by the receiving terminal. Information that means
상기 코덱별 바인딩 포트 정보는, 코덱이 상이한 경우 그에 바인딩 된 수신포트도 상이한 것이 바람직하다.If the codec is different, the binding port information for each codec is preferably different receiving port bound to it.
상기 프리젠스 정보 송신 단계는, 코덱별 바인딩 포트 정보에 변경이 있을 때마다 변경된 코덱별 바인딩 포트 정보가 포함된 프리젠스 정보를 서버에 송신하는 단계일 수 있다.The presence information transmitting step may be a step of transmitting the presence information including the changed codec binding port information to the server whenever there is a change in the binding port information for each codec.
상기 RTP 패킷의 송신 단계는, 패킷의 송신이 시작되면 송신에 사용할 포트의 상태 값을 BUSY로 설정하고 프리젠스 정보에 포함하여 서버에 송신하는 단계, 패킷의 송신 완료시 송신에 사용한 포트의 상태 값을 IDLE로 설정하고 프리젠스 정보에 포함하여 서버에 송신하는 단계를 더 포함하는 것이 바람직하다.The transmitting of the RTP packet includes: when the transmission of the packet starts, setting the status value of the port to be used as the transmission to BUSY and including it in the presence information and transmitting it to the server. Set to IDLE and include in the presence information and transmit to the server.
상기 RTP 패킷의 수신 단계는, 패킷의 수신이 시작되면 수신에 사용할 포트의 상태 값을 BUSY로 설정하고 프리젠스 정보에 포함하여 서버에 송신하는 단계, 패킷의 수신 완료시 수신에 사용한 포트의 상태 값을 IDLE로 설정하고 프리젠스 정보에 포함하여 서버에 송신하는 단계를 더 포함하는 것이 바람직하다.The receiving step of the RTP packet, when the reception of the packet is started, the status value of the port to be used for reception is set to BUSY and included in the presence information and transmitted to the server, the status value of the port used for reception upon completion of the packet reception Set to IDLE and include in the presence information and transmit to the server.
상기 RTP 패킷의 송신 단계는, 패킷의 송신 전에 수신측 단말의 프리젠스 정보로부터 수신측 단말의 RTP 패킷 수신에 사용할 포트의 상태 값을 조회하는 단계, 수신측 단말의 RTP 패킷 수신에 사용할 포트의 상태 값이 BUSY인 경우, 포트의 상태 값이 IDLE일 때까지 대기한 후 RTP패킷을 송신하는 단계를 더 포함하는 것이 바람직하다.The transmitting of the RTP packet may include inquiring a state value of a port to be used for receiving an RTP packet from a receiving terminal from the presence information of the receiving terminal before transmitting the packet, and a state of a port to be used for receiving an RTP packet of the receiving terminal. If the value is BUSY, it is preferable to further include transmitting an RTP packet after waiting until the status value of the port is IDLE.
본 발명의 일 측면에 따른 프리젠스 서비스 단말은, 네트워크와 연결되어 서버 및 타 단말과 본 단말을 인터페이스 하는 네트워크 인터페이스부, 코덱별 바인딩 포트 정보를 포함한 프리젠스 정보를 생성하여 서버에 송신하는 프리젠스 정보 송신부, 서버로부터 제공받은 버디의 프리젠스 정보를 저장부에 저장하여 관리하는 버디 정보 관리부, 저장부에 저장된 수신측 단말의 프리젠스 정보로부터 송신 데이터 코덱의 바인딩 포트를 조회하여, 조회된 포트를 통해 RTP패킷을 송신하는 RTP 송신부, RTP패킷이 수신된 경우, 수신 포트에 대한 자신의 바인딩 코덱을 이용해 코덱부로 하여금 디코딩하도록 하는 RTP패킷 수신 수단 및 실시간 데이터의 인코딩/디코딩을 담당하는 코덱부를 포함하는 제어수단 및 버디의 프리젠스 정보를 저장 하고 자신의 코덱별 바인딩 포트 정보를 저장하는 저장부를 포함한다.Presence service terminal according to an aspect of the present invention, a network interface unit connected to the network and interface between the other terminal and the terminal, the presence information including the binding port information for each codec to generate a presence to transmit to the server The information transmission unit, the buddy information management unit for storing and managing the presence information of the buddy provided from the server in the storage unit, and inquiring the binding port of the transmission data codec from the presence information of the receiving terminal stored in the storage unit, RTP transmitter for transmitting the RTP packet through, RTP packet receiving means for causing the codec unit to decode using its binding codec for the receiving port, if the RTP packet is received and a codec unit responsible for encoding / decoding the real-time data Save presence information of control means and buddy Binding includes storage to store the port information portion.
상기 RTP 수신부는 프리젠스 정보 송신부가 서버에 프리젠스 정보를 송신한 후, 코덱별 바인딩 UDP포트를 할당하여 리스닝(Listening)하고 있음으로써, 각 바인딩 포트를 통한 RTP 패킷의 수신이 가능하도록 하는 것이 바람직하다.After the presence information transmitter transmits the presence information to the server, the RTP receiving unit allocates and listens to the binding UDP ports for each codec, so that RTP packets can be received through each binding port. Do.
상기 프리젠스 정보 송신부는 코덱별 바인딩 포트 정보에 변경이 있을 때마다 코덱별 바인딩 포트 정보가 포함된 프리젠스 정보를 서버에 송신하는 것이 바람직하다.The presence information transmitter preferably transmits the presence information including the binding port information for each codec to the server whenever there is a change in the binding port information for each codec.
상기 프리젠스 정보 송신부는 프리젠스 정보에 포트의 BUSY/IDLE 여부를 더 포함하여 서버에 송신하는 것이 바람직하다.The presence information transmitting unit may further include whether the port is BUSY / IDLE in the presence information and transmit the same to the server.
상기 프리젠스 정보 송신부는 RTP패킷 송수신이 시작되면, BUSY로 설정된 자신의 송수신 포트 상태 값을 프리젠스 정보에 포함하여 서버에 송신하고, 패킷의 송수신 완료시 IDLE로 설정된 자신의 송수신 포트 상태 값을 프리젠스 정보에 포함하여 서버에 송신하는 것이 바람직하다.When the transmission and reception of the RTP packet is started, the presence information transmitting unit transmits the transmission / reception port state value set to BUSY to the server, including the presence information, and presents its transmission / reception port state value set to IDLE when the transmission and reception of the packet is completed. It is preferable to transmit the information to the server in addition to the service information.
상기 RTP 송신부는, RTP패킷 송신 전, 코덱별 바인딩 포트 저장부에서 수신측 단말의 송신 포트 상태를 조회하고, 상태가 BUSY인 경우, 상태가 IDLE이 될 때까지 대기한 후, 상태가 IDLE이 되면 RTP 패킷을 수신측 단말에 송신하는 것이 바람직하다.The RTP transmitting unit inquires the transmission port state of the receiving terminal in the binding port storage unit for each codec before transmitting the RTP packet, and if the state is BUSY, waits until the state becomes IDLE, and then the state becomes IDLE. It is preferable to transmit the RTP packet to the receiving terminal.
이하, 본 발명이 속하는 분야에 통상의 지식을 지닌 자가 본 발명을 용이하게 실시할 수 있도록 본 발명의 바람직한 실시예를 첨부된 도면을 참조하여 상세히 설명한다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings so that those skilled in the art may easily implement the present invention.
또한, 이해의 편의를 위하여 비록 다른 도면에 속하더라도 동일한 구성요소에는 동일한 부호를 부여하였음을 주의하여야 한다.In addition, it should be noted that the same reference numerals are given to the same elements, although belonging to different drawings for convenience of understanding.
도 2는 본 발명에 따른 프리젠스 서비스 단말의 상세 구성을 나타낸 도면이다.2 is a diagram illustrating a detailed configuration of a presence service terminal according to the present invention.
도 2에 도시된 바와 같이, 본 발명의 프리젠스 서비스 단말은 제어수단(200), 저장부(210) 및 네트워크 인터페이스부(220)를 포함한다.As shown in FIG. 2, the presence service terminal of the present invention includes a
제어수단(200)은 프리젠스 정보를 생성하고 저장부(210)와 네트워크 인터페이스부(220)를 제어하여 RTP패킷을 송수신하며, 코덱의 인코딩과 디코딩을 담당한다.The
저장부(210)는 버디들의 프리젠스 정보를 저장하고, 자신의 코덱별 바인딩 포트를 저장한다.The
네트워크 인터페이스부(220)는 네트워크에 연결되어 서버 및 타 단말들과 본 단말을 인터페이스 한다.The
도 3에 도시된 바와 같이, 제어수단(200)은 프리젠스 정보 송신부(201), 버디 정보 관리부(202), RTP 송신부(203), RTP 수신부(204) 및 코덱부(205)를 포함한다.As shown in FIG. 3, the control means 200 includes a
프리젠스 정보 송신부(201)는 저장부(210)에 저장된 코덱별 바인딩 포트 정보를 조회하여 이를 포함한 프리젠스 정보를 생성하여 서버에 송신한다.The presence
버디 정보 관리부(202)는 서버로부터 제공받은 버디의 프리젠스 정보를 저장 부에 저장하여 관리한다.The
RTP 송신부(203)는 저장부에 저장된 수신측 단말의 프리젠스 정보로부터 송신 데이터 코덱의 바인딩 포트를 조회하여, 네트워크 인터페이스부(220)를 통하여 조회된 포트로 RTP패킷을 송신한다.The
RTP 수신부(204)는 RTP패킷이 수신된 경우, 저장부(210)에 저장된 코덱별 바인딩 포트 정보를 조회하여 RTP 패킷이 수신된 포트에 대한 자신의 바인딩 코덱을 판단한 후, 이 코덱을 이용해 코덱부로 하여금 디코딩하도록 한다.When the RTP packet is received, the
코덱부(205)는 실시간 데이터의 인코딩/디코딩을 담당한다. The
이하, 본 발명에 따른 프리젠스 서비스 단말의 동작을 설명하기로 한다.Hereinafter, the operation of the presence service terminal according to the present invention will be described.
먼저, 프리젠스 정보를 생성하여 서버에 송신하고, 서버로부터 버디의 프리젠스 정보를 전달 받는 과정에 대하여 살펴보기로 한다.First, a process of generating and transmitting the presence information to the server and receiving the presence information of the buddy from the server will be described.
관리자에 의해 미리 정의되거나 임의로 생성된 코덱별 바인딩 포트 정보가 저장부(210)에 저장된다.Codec-specific binding port information predefined or arbitrarily generated by an administrator is stored in the
상기 코덱별 바인딩 포트 정보는, 코덱이 상이한 경우 이에 바인딩 된 포트도 상이한 것이 바람직하다.The coded binding port information for each codec is different if the coded port is different.
프리젠스 정보 송신부(201)는 저장부(210)에 저장된 코덱별 바인딩 포트 정보를 포함하는 프리젠스 정보를 생성한 후, 생성된 프리젠스 정보를 네트워크 인터페이스부(220)를 통해 서버에 송신한다.The
프리젠스 정보는 대화명, 현재 상태, 버디의 목록 등 기존의 프리젠스 정보 에 코덱별 바인딩 포트 정보가 포함된 것이 바람직하다.In the presence information, it is preferable to include binding port information for each codec in the existing presence information such as a screen name, a current state, and a buddy list.
프리젠스 정보 송신부(201)는 코덱별 바인딩 포트 정보에 변경사항이 생길 때마다 이를 포함한 프리젠스 정보를 생성하고 서버에 송신하여, 타 단말이 이를 알게 하는 것이 바람직하다.The
RTP 수신부(204)는 프리젠스 정보 송신부(201)가 프리젠스 정보를 서버에 송신한 후, 코덱별 바인딩 UDP포트를 할당하여 리스닝(Listening)하고 있음으로써, 각 바인딩 포트를 통한 RTP 패킷의 수신이 가능하도록 하는 것이 바람직하다.After the
버디 정보 관리부(202)는 서버로부터 네트워크 인터페이스부(220)를 통해 버디의 프리젠스 정보가 수신되면 이를 저장부(210)에 저장한다.When the
다음으로, RTP 패킷의 송신, 수신 과정에 대해 살펴보기로 한다.Next, the transmission and reception of the RTP packet will be described.
코덱부(205)는 송신할 데이터에 적합한 코덱을 이용하여 데이터를 인코딩하고, RTP 송신부(203)는 저장부(210)에 저장된 수신측 단말의 프리젠스 정보에서 상기 코덱의 바인딩 포트를 조회하여, 조회한 포트로 인코딩된 데이터의 RTP 패킷을 송신한다.The
RTP 수신부(204)는, RTP 패킷의 수신 시, 저장부(210)에 저장된 코덱별 바인딩 포트 정보로부터 수신 포트를 이용해 수신 RTP 패킷이 사용한 코덱을 판단하여, 코덱부(205)로 하여금 디코딩하도록 한다.When the RTP packet is received, the
프리젠스 정보 송신부(201)는 RTP패킷의 송신 또는 수신이 시작되면 송신 또는 수신 포트의 상태 값을 BUSY로 설정하고 이를 포함한 프리젠스 정보를 생성하여 서버에 송신하고, RTP패킷의 송신 또는 수신이 완료되면 송신 또는 수신 포트의 상태 값을 IDLE로 설정하고 이를 포함한 프리젠스 정보를 생성하여 서버에 송신하는 것이 바람직하다.When the transmission or reception of the RTP packet starts, the
RTP 송신부(203)는, RTP패킷 송신 전, 송신에 사용할 수신측 단말 포트 상태를 저장부(210)에 저장된 수신측 단말의 프리젠스 정보로부터 조회하고, 상태가 BUSY인 경우, 상태가 IDLE이 될 때까지 대기한 후, 상태가 IDLE이 되면 RTP 패킷을 수신측 단말에 송신하는 것이 바람직하다.The
도 3은 본 발명에 따른 프리젠스 서비스 단말의 RTP 패킷 송수신 실시예를 나타낸 도면이다.3 is a diagram illustrating an embodiment of transmitting and receiving an RTP packet of a presence service terminal according to the present invention.
본 발명에 따른 프리젠스 서비스 단말이 포함 되는 프리젠스 시스템은 최소한 하나 이상의 단말과 서버로 구성되나, 본 실시예에서는 3개의 단말과 서버로 구성되는 시스템을 가정한다.Although the presence system including the presence service terminal according to the present invention includes at least one terminal and a server, the present embodiment assumes a system consisting of three terminals and a server.
도 3에 도시된 바와 같이, 본 발명에 따른 프리젠스 서비스 단말이 포함 되는 프리젠스 시스템은 서버(30)와 단말1(31), 단말2(32), 단말3(33)을 포함한다.As shown in FIG. 3, the presence system including the presence service terminal according to the present invention includes a
서버(30)는 단말1(31), 단말2(32), 단말3(33)으로부터 코덱별 바인딩 포트 정보가 포함된 프리젠스 정보를 수신하여, 이를 상기 단말이 버디로 등록된 단말에 송신한다.The
단말1(31), 단말2(32), 단말3(33)은 코덱별 바인딩 포트 정보가 포함된 프리젠스 정보를 서버에 송신하고, RTP 패킷 송신 시, 상대 단말의 프리젠스 정보에 포 함된 코덱별 바인딩 포트 정보로부터 송신할 데이터가 사용한 코덱의 수신 포트를 조회하고 이를 이용하여 RTP 패킷을 송신하며, RTP 패킷이 수신된 경우 수신 포트에 바인딩 되어있는 코덱으로 디코딩한다.The terminal 1 (31), the terminal 2 (32), and the terminal 3 (33) transmits the presence information including the binding port information for each codec to the server, and when the RTP packet is transmitted, the codec included in the presence information of the counterpart terminal Inquires the receiving port of the codec used by the data to be transmitted from the binding port information of each star and transmits the RTP packet by using it. When the RTP packet is received, it is decoded by the codec bound to the receiving port.
이하, 본 발명에 따른 프리젠스 서비스 단말이 포함 되는 프리젠스 시스템의 동작을 설명하기로 한다.Hereinafter, the operation of the presence system including the presence service terminal according to the present invention will be described.
먼저, 단말1(31), 단말2(32), 단말3(33)이 프리젠스 정보를 서버에 송신하고, 버디의 프리젠스 정보를 서버로부터 수신하는 동작에 대하여 살펴보기로 한다.First, an operation in which the terminal 1 31, the terminal 2 32, and the terminal 3 33 transmit the presence information to the server and receive the presence information of the buddy from the server will be described.
단말1(31)은 단말2(32)가 버디로 등록이 되어 있으며, 코덱 A는 100번 UDP포트가 바인딩 되어있고 코덱 B는 200번 UDP포트가 바인딩 되어있다.Terminal 1 (31) is a terminal 2 (32) is registered as a buddy, codec A is bound to UDP port 100 and codec B is bound to
단말2(31)는 단말1(31), 단말3(33)이 버디로 등록이 되어 있으며, 코덱 A는 200번 UDP포트가 바인딩 되어있고 코덱 B는 300번 UDP포트가 바인딩 되어있다.Terminal 2 (31) is a terminal 1 (31), terminal 3 (33) is registered as a buddy, codec A is bound to
단말3(31)은 단말2(32)가 버디로 등록이 되어 있으며, 코덱 A는 50번 UDP포트가 바인딩 되어있고 코덱 B는 100번 UDP포트가 바인딩 되어있다.Terminal 3 (31) is a terminal 2 (32) is registered as a buddy, codec A is bound to UDP port 50 and codec B is bound to UDP port 100.
단말1(31), 단말2(32), 단말3(33)은 서버에 최초 접속 시, 상기 코덱별 바인딩 포트 정보를 포함하는 프리젠스 정보를 서버(30)에 송신한다.When the
상기 프리젠스 정보의 송신은 바인딩 포트 정보 및 프리젠스 정보에 변화가 있을 때마다 수행되어지는 것이 바람직하다.The transmission of the presence information is preferably performed whenever there is a change in the binding port information and the presence information.
서버(30)는 각 단말의 프리젠스 정보를 버디로 등록된 단말에 송신한다. 즉, 단말1(31)의 프리젠스 정보는 단말2(32)에 송신하고, 단말2(32)의 프리젠스 정보는 단말1(31), 단말3(33)에 송신하며, 단말3(33)의 프리젠스 정보는 단말2(32)에 송신한다.The
각 단말은 버디의 프리젠스 정보를 서버(30)로부터 수신하여 저장한다.Each terminal receives and stores the presence information of the buddy from the server (30).
다음으로, 각 단말이 상대 단말에 RTP 패킷을 송신하는 경우에 대하여 살펴보기로 한다.Next, a case in which each terminal transmits an RTP packet to a counterpart terminal will be described.
특히 단말1(31)이 단말2(32)에 코덱 A에 의해 인코딩된 음성 데이터를 송신하는 경우에 대하여 살펴보기로 한다.In particular, a case in which the terminal 1 31 transmits the speech data encoded by the codec A to the terminal 2 32 will be described.
단말1(31)은 단말2(32)를 버디로 등록하였으므로 단말2(32)의 프리젠스 정보를 서버(30)로부터 수신하였다.Since the terminal 1 31 registers the terminal 2 32 as a buddy, the terminal 1 31 receives the presence information of the terminal 2 32 from the
상기 단말2(32)의 프리젠스 정보에서 코덱 A에 바인딩 된 포트를 조회하면 200번 포트임을 알 수 있다.Inquiring the port bound to the codec A from the presence information of the terminal 2 (32) it can be seen that the
단말1(31)은 RTP세션의 협상과정 없이, 코덱 A에 의해 인코딩된 음성 데이터를 200번 포트의 RTP를 이용하여 단말2(32)에 송신한다.The terminal 1 31 transmits the voice data encoded by the codec A to the terminal 2 32 using the RTP of the
다음으로, 각 단말이 상대 단말로 부터 RTP 패킷을 수신하는 경우에 대하여 살펴보기로 한다.Next, a case in which each terminal receives an RTP packet from a counterpart terminal will be described.
특히 단말2(32)가 단말1(31)로부터 코덱 A에 의해 인코딩된 음성 데이터를 수신하는 경우에 대하여 살펴보기로 한다.In particular, a case in which the terminal 2 32 receives voice data encoded by the codec A from the terminal 1 31 will be described.
단말1(31)이 단말2(32)로 코덱 A에 의해 인코딩된 음성 데이터를 송신하는 경우에서 살핀바와 같이, 단말1(31)은 200번 포트를 통하여 데이터를 송신한다.In the case where the terminal 1 31 transmits the voice data encoded by the codec A to the terminal 2 32, as in the salpin bar, the terminal 1 31 transmits the data through the
단말2(32)는 RTP 패킷을 수신한 경우, 패킷이 수신된 포트를 체크한다.When the terminal 2 32 receives the RTP packet, the terminal 2 32 checks the port where the packet is received.
패킷이 수신된 포트는 200번으로 코덱 A와 바인딩되어 있으므로, 단말2(32)는 수신된 RTP 패킷을 바로 코덱 A에 의해 디코딩한다.Since the port on which the packet was received is bound to the codec A at 200, the terminal 2 32 directly decodes the received RTP packet by the codec A.
도 4는 본 발명에 따른 프리젠스 서비스 단말의 RTP 패킷 송수신 방법을 나타낸 도면이다.4 is a diagram illustrating a method of transmitting and receiving an RTP packet by a presence service terminal according to the present invention.
프리젠스 정보에 코덱별 바인딩 포트 정보를 포함하여 서버에 송신한다(S40).Codec-specific binding port information is included in the presence information and transmitted to the server (S40).
상기 코덱별 바인딩 포트 정보는 코덱이 상이한 경우 바인딩 된 포트도 상이한 것이 바람직하다.Preferably, the coded binding port information is different when the codec is bound.
상기 프리젠스 정보 송신 단계는, 프리젠스 정보를 서버에 송신한 후, 코덱별 바인딩 포트에 대하여 리스닝 함으로써, 리스닝 되고 있는 포트로 수신되는 RTP패킷을 수신할 수 있도록 하는 단계를 더 포함하는 것이 바람직하다.Preferably, the step of transmitting the presence information further includes the step of transmitting the presence information to the server and listening to the binding port for each codec to receive the RTP packet received at the listening port. .
버디의 프리젠스 정보를 서버로부터 전달받아 저장한다(S41).The presence information of the buddy is received from the server and stored (S41).
송신측 단말은 수신측 단말의 프리젠스 정보로부터 실시간 데이터가 인코딩된 코덱의 수신측 단말 바인딩 포트를 조회하고, 조회된 포트를 통하여 RTP 패킷을 수신측 단말에 송신한다(S42).The transmitting terminal inquires the receiving terminal binding port of the codec encoded with real-time data from the presence information of the receiving terminal, and transmits an RTP packet to the receiving terminal through the inquired port (S42).
상기 송신측 단말은 수신측 단말의 수신 포트 상태 값이 BUSY인 경우, 수신 포트 상태 값이 IDLE이 될 때까지 대기한 후, RTP 패킷을 송신하는 것이 바람직하 다.When the receiving port state value of the receiving terminal is BUSY, the transmitting terminal waits until the receiving port state value becomes IDLE, and then transmits an RTP packet.
상기 송신측 단말은 RTP 패킷의 송신이 시작되면, 송신 포트의 상태 값을 BUSY로 설정하고 프리젠스 정보에 이를 포함하여 서버에 송신하고, RTP 패킷의 송신 완료후, 송신 포트의 상태 값을 IDLE로 설정하고 프리젠스 정보에 이를 포함하여 서버에 송신하는 것이 바람직하다. When the transmitting terminal starts transmitting the RTP packet, the transmission terminal sets the status value of the transmission port to BUSY and transmits it to the server including the presence information, and after completing the transmission of the RTP packet, the transmission port status is set to IDLE. It is desirable to set and include this in the presence information and send it to the server.
수신측 단말은 RTP 패킷이 수신된 경우, 수신 포트에 바인딩 된 코덱을 이용하여 디코딩한다(S43).When the RTP packet is received, the receiving terminal decodes using a codec bound to the receiving port (S43).
상기 수신측 단말은 RTP 패킷의 수신이 시작되면, 수신 포트의 상태 값을 BUSY로 설정하고 프리젠스 정보에 이를 포함하여 서버에 송신하고, RTP 패킷의 수신 완료 후, 수신 포트의 상태 값을 IDLE로 설정하고 프리젠스 정보에 이를 포함하여 서버에 송신하는 것이 바람직하다. When the receiving terminal starts receiving the RTP packet, the receiving terminal sets the status value of the receiving port to BUSY and transmits it to the server including the presence information, and after completing the receiving of the RTP packet, sets the status value of the receiving port to IDLE. It is desirable to set and include this in the presence information and send it to the server.
상술한 바와 같이, 본 발명에 따른 프리젠스 서비스 단말 및 그의 RTP 패킷 송수신 방법에 따르면, 프리젠스 정보에 코덱 및 포트 등 RTP 세션 설정에 필요한 정보를 미리 포함하여 송수신함으로써, 각 단말 간에 RTP 패킷을 송수신 하는 경우 RTP 세션 설정을 협상하지 않고 바로 RTP패킷의 송수신이 가능한 효과가 있다.As described above, according to the presence service terminal and the method for transmitting / receiving the RTP packet according to the present invention, RTP packets are transmitted and received between each terminal by transmitting and receiving the information necessary for establishing an RTP session such as a codec and a port in advance. In this case, RTP packets can be directly transmitted and received without negotiating RTP session establishment.
Claims (14)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020060131052A KR20080057583A (en) | 2006-12-20 | 2006-12-20 | Presence service terminal and method for transmitting and receiving the RTP packet |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020060131052A KR20080057583A (en) | 2006-12-20 | 2006-12-20 | Presence service terminal and method for transmitting and receiving the RTP packet |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20080057583A true KR20080057583A (en) | 2008-06-25 |
Family
ID=39803345
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020060131052A Ceased KR20080057583A (en) | 2006-12-20 | 2006-12-20 | Presence service terminal and method for transmitting and receiving the RTP packet |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20080057583A (en) |
-
2006
- 2006-12-20 KR KR1020060131052A patent/KR20080057583A/en not_active Ceased
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA2559912C (en) | Mode shifting communications system and method | |
US8861537B1 (en) | Bridge and control proxy for unified communication systems | |
CN103188300B (en) | The methods, devices and systems of VOIP phone are realized in cloud computing environment | |
EP2342883A1 (en) | File transfer in conference services | |
US20070217430A1 (en) | Method and system for initiating communications | |
US20150149566A1 (en) | Messaging service active device | |
US20130091291A1 (en) | Method and apparatus for improving voice or video transmission quality in cloud computing mode | |
US9071690B2 (en) | Call transfer processing in SIP mode | |
US8416434B2 (en) | Communication terminal apparatus and facsimile communication method | |
US20080101564A1 (en) | Communication system | |
CN101594623B (en) | Method and equipment for monitoring voice over internet protocol call | |
KR100475539B1 (en) | Realtime Voice Information Transmission Method using Wireless Instant Messenger and Recording Medium Recording Program Implementing This Method | |
US8463307B1 (en) | Method of requesting a communication session using segmented signaling messages | |
KR20080057583A (en) | Presence service terminal and method for transmitting and receiving the RTP packet | |
CN1795655B (en) | Method for updating session initiation information in conjunction with telephone call and terminal device using the method | |
KR20180077720A (en) | Apparatus and method for interworking between call based on id and call based on phone number | |
JP5233714B2 (en) | Communication media conversion system, method and program | |
EP2640029A1 (en) | System and method for transmitting multipage multimedia messages, session initiation protocol terminal and multimedia message proxy server | |
US11178006B2 (en) | Replacement of collaboration endpoints | |
JP2010219580A (en) | Communication repeater, communication terminal and communication method | |
WO2009056033A1 (en) | Method and server for processing communication request between terminals | |
CN101204061A (en) | Method and computer product for switching follow-up messages with higher priority than invitation messages in soft switch | |
KR100636279B1 (en) | Call control system and method using resource information of VIO system | |
KR20170034016A (en) | Apparatus and method for transmitting of message reception information in wireless communication system | |
KR100493100B1 (en) | Method and apparatus for supporting voice over ip in a mobile communication system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PA0109 | Patent application |
Patent event code: PA01091R01D Comment text: Patent Application Patent event date: 20061220 |
|
PG1501 | Laying open of application | ||
A201 | Request for examination | ||
PA0201 | Request for examination |
Patent event code: PA02012R01D Patent event date: 20111128 Comment text: Request for Examination of Application Patent event code: PA02011R01I Patent event date: 20061220 Comment text: Patent Application |
|
E902 | Notification of reason for refusal | ||
PE0902 | Notice of grounds for rejection |
Comment text: Notification of reason for refusal Patent event date: 20130527 Patent event code: PE09021S01D |
|
E601 | Decision to refuse application | ||
PE0601 | Decision on rejection of patent |
Patent event date: 20130821 Comment text: Decision to Refuse Application Patent event code: PE06012S01D Patent event date: 20130527 Comment text: Notification of reason for refusal Patent event code: PE06011S01I |