KR20080043103A - Method and system for interworiking between converged ip messging service and short messaging service - Google Patents
Method and system for interworiking between converged ip messging service and short messaging service Download PDFInfo
- Publication number
- KR20080043103A KR20080043103A KR20060111717A KR20060111717A KR20080043103A KR 20080043103 A KR20080043103 A KR 20080043103A KR 20060111717 A KR20060111717 A KR 20060111717A KR 20060111717 A KR20060111717 A KR 20060111717A KR 20080043103 A KR20080043103 A KR 20080043103A
- Authority
- KR
- South Korea
- Prior art keywords
- short message
- message
- cpm
- server
- segment
- Prior art date
Links
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
- Telephonic Communication Services (AREA)
Abstract
Description
도1은 종래의 단문 메시지 서비스 시스템 구성을 나타낸 도면,1 is a diagram illustrating a conventional short message service system configuration;
도2는 본 발명의 일 실시예에 따른 통합 IP 메시지 서비스 시스템 구성을 나타낸 도면,2 is a diagram illustrating a configuration of an integrated IP message service system according to an embodiment of the present invention;
도3은 본 발명의 제1실시예에 따른 IWF의 동작을 나타낸 도면,3 is a view showing the operation of the IWF according to the first embodiment of the present invention;
도4는 본 발명의 제1실시예에 따라 IWF가 통합 IP 메시지의 포맷을 단문 메시지 포맷으로 변경하는 과정을 나타낸 도면,4 is a diagram illustrating a process of changing a format of an integrated IP message to a short message format by the IWF according to the first embodiment of the present invention;
도5는 본 발명의 제1실시예에 따른 결합 IED 필드 값들의 일예를 도시한 도면, 5 illustrates an example of combined IED field values according to a first embodiment of the present invention;
도6은 본 발명의 제1실시예에 따른 통합 IP 메시지 서비스 시스템의 동작을 나타낸 도면,6 is a view showing the operation of the integrated IP message service system according to the first embodiment of the present invention;
도7은 본 발명의 제2실시예에 따른 IWF의 동작을 나타낸 도면,7 is a view showing the operation of the IWF according to the second embodiment of the present invention;
도8은 본 발명의 제2실시예에 따른 통합 IP 메시지 서비스 시스템의 동작을 나타낸 도면,8 is a view showing the operation of the integrated IP message service system according to a second embodiment of the present invention;
도9는 본 발명의 제2실시예에 따른 결합 IED 필드 값들의 일예를 도시한 도 면, 9 illustrates an example of combined IED field values according to a second embodiment of the present invention;
도10은 본 발명의 제3실시예에 따라 단문 메시지 단말기가 수신한 단문 메시 세그먼트를 처리하는 과정을 나타낸 도면,10 is a diagram illustrating a process of processing a short mesh segment received by a short message terminal according to a third embodiment of the present invention;
도11은 본 발명의 제3실시예에 따른 통합 IP 메시지 서비스 시스템의 동작을 나타낸 도면.11 is a diagram showing the operation of the integrated IP message service system according to the third embodiment of the present invention;
본 발명은 메시징 서비스에 관한 것으로, 특히, 통합 IP 메시지 서비스 단문 메시지 서비스 간에 인터워킹 시스템 및 방법에 관한 것이다. TECHNICAL FIELD The present invention relates to messaging services, and in particular, to interworking systems and methods between integrated IP message services and short message services.
메시징 서비스는 상호 작용식 또는 대화식 서비스의 일종으로, 축적 전송 전자 사서함 및 메시지 처리 기능을 가진 기억 장치를 통하여 사용자 대 사용자 단말간 통신을 제공하는 서비스로서, IM(Instant Message)서비스, SMS(Short Message Service), MMS(Multimedia Messaging Service), PoC(Push to Talk Over Cellular)서비스 등을 포함한다. The messaging service is an interactive or interactive service that provides user-to-user communication through a storage device with accumulated transmission electronic mailboxes and message handling functions. The instant messaging (IM) service and the short message (SMS) are provided. Service), MMS (Multimedia Messaging Service), and Push to Talk Over Cellular (PoC) services.
일반적으로 IM 서비스는 인터넷 환경하에서 특정 프로그램을 통해 채팅, 파일 송수신등의 기능을 통합한 서비스를 의미한다. 최근 이동 통신 서비스의 발달에 따라 휴대폰 등 개인 이동 통신 단말에서도 컴퓨터에서 인터넷을 통해 제공하던 실시간 커뮤니케이션이 가능한 IM 서비스를 제공하고 있다. PoC 서비스는 반이중 통 신 방식을 이동 통신 서비스에 적용시킨 것이다. 이러한 IM 서비스와 PoC 서비스는 SIP(Session Initiation Protocol) 기반의 메시징 서비스로서, 송수신측 클라이언트 단말 간에 세션을 설정한 후에 메시지를 송수신하여 메시지 통신을 수행한다.In general, IM service means a service that integrates functions such as chat and file transmission and reception through a specific program in the Internet environment. Recently, with the development of mobile communication services, personal mobile communication terminals such as mobile phones are also providing IM services capable of real-time communication, which were provided by computers through the Internet. PoC service applies half-duplex communication to mobile communication service. The IM service and the PoC service are SIP (Session Initiation Protocol) based messaging services, and after establishing a session between the transmitting and receiving client terminals, transmit and receive messages to perform message communication.
한편, SMS는 가입자 간에 단문의 텍스트를 주고받는 서비스로서, 별도의 세션 설정 없이, 메시지 통신을 수행한다. SM 클라이언트는 SM 서버로 SMS-SUBMIT의 사용자 데이터(User Data)부분에 사용자가 입력한 텍스트를 저장하여 SM 서버로 보내게 된다. SM 서버는 SMS-SUBMIT을 SMS-DELIVER로 변환한 후에 수신 주소에 대응하는 SM 클라이언트로 전송한다. 메시지를 수신한 SM 클라이언트는 그 응답으로 SMS-DELIVERY-REPORT를 전송함으로써 메시지 수신 여부를 알린다. 이때, SMS-SUBMIT가 SMS-DELIVER로 변환 되더라도 사용자가 입력한 텍스트는 그대로 유지된다. 이러한 SMS의 네트워크 구조를 도1에 도시하였다. 도1은 종래의 단문 메시지 서비스 시스템 구성을 나타낸 도면이다. 도1을 참조하여, SMS 네트워크는 SM(Short Message)서버(1)와, SMS-GMSC/SMS-IWMSC(3)와, MSC(Mobile Service Switching Center)/SGSN(Serving General Packet Radio Service Support Node)(5)과, HLR(Home Location Register)(7)과, VLR(Visitor Location Register)(9)과, 단말기(11)를 포함한다.On the other hand, SMS is a service that exchanges short text between subscribers, and performs message communication without setting up a session. The SM client stores the text entered by the user in the User Data section of the SMS-SUBMIT to the SM server and sends it to the SM server. The SM server converts SMS-SUBMIT to SMS-DELIVER and sends it to the SM client corresponding to the receiving address. The SM client receiving the message notifies the receipt of the message by sending an SMS-DELIVERY-REPORT in response. At this time, even if the SMS-SUBMIT is converted to SMS-DELIVER, the text entered by the user is retained. The network structure of such an SMS is shown in FIG. 1 is a diagram illustrating a conventional short message service system configuration. Referring to FIG. 1, the SMS network includes a short message (SM)
단말기(11)는 전송할 SM을 작성하여 MSC 또는 SGSN(5)으로 보낸다. 이때, 전송하고자 하는 메시지의 사이즈가 지정된 크기를 초과할 경우, 단말기(11)는 사이즈가 큰 메시지를 여러 개의 규격화된 작은 사이즈의 메시지, 즉 세그먼트(segment)로 분할하여 전송한다. 이를 수신한 수신측 단말은 세그먼트들을 다시 하나의 메시지로 결합(De-Segmentation)하여 사용자에게 제공한다. 이렇게 송신측 단말기가 분할하여 전송한 SM을 수신측 단말기가 다시 결합하여 원래의 메시지로 복원하기 위해서는 분할된 메시지의 결합 순서에 대한 정보가 필요하기 때문에, 송신측 단말은 이러한 결합 정보를 세그먼트의 TP-사용자 데이터(TP-User Data, 이하 'TP-UD'라고 함.)에 Concatenation Information_Element_Data 필드(이하 'Concatenation IED 필드'라고 함.)로서 삽입한다. Concatenation IED 필드는 모두 세 개의 Octet으로 구성되는데, 각 Octet이 의미하는 바는 다음 표1과 같다.The
* 괄호 안의 숫자는 각 Octet이 표현할 수 있는 범위를 나타낸다The numbers in parentheses indicate the range each octet can represent.
MSC(5)는 단말기(11)로부터 SM을 수신하면, VLR(9)로부터 필요한 정보를 제공 받고, 제공 받은 정보의 이상 유무를 판단한 뒤, 이상이 없으면 SMS-IWMSC(3)로 SM을 전송한다. 만약 단말기가 SGSN(5)으로 SM을 전송한 경우라면, SGSN(5)은 SM에 포함된 RP-DA 파라미터를 검출하여, 이상이 없으면 SMS-IWMSC(3)로 메시지를 전송한다. SMS-IWMSC(3)는 SM을 수신하면 HLR(7)로부터 필요한 정보를 제공 받아 수신한 메시지를 SM서버(1)로 전송한다. SM서버(1)는 송신측 단말기(11)로부터 수신된 SM을 저장한 후에, SMS-GMSC(3)로 전송한다. SMS-GMSC(3)는 메시지를 수신하면 HLR(7)로부터 라우팅에 필요한 정보를 제공 받아서 해당 MSC 또는 SGSN(5)로 전달한다. MSC(5)는 SM을 수신하면 VLR(9)로부터 수신측 단말기의 위치정보를 제공 받아서, 해당 단말기로 SM을 전송한다. 만약 SGSN(5)이 SMS-GMSC(3)로부터 SM을 수신한 경우라면, SGSN(5)은 메시지에 에러가 있는지를 조사한 후 에러가 없으면, 해당 단말기로 메시지를 전송한다.When the
상기와 같이 제공되는 SMS는 현재 MMS의 인터워킹 서비스를 제공하고 있으며, 인터넷 이 메일(E-mail) 서비스 간의 인터워킹 서비스도 제공되고 있다. 하지만 SIP 기반의 메시징 서비스, 예를 들어, IM 서비스와의 인터워킹 서비스는 제공되고 있지 않다. The SMS provided as described above currently provides an interworking service of the MMS, and an interworking service between Internet e-mail services. However, there are no SIP-based messaging services, for example interworking services with IM services.
본 발명은 상기한 문제점을 해결할 수 있는 SIP 기반의 메시징 서비스와 SMS 간에 인터워킹이 가능한 시스템 및 방법을 제공한다. The present invention provides a system and method capable of interworking between a SIP-based messaging service and an SMS that can solve the above problems.
상기한 목적을 달성하기 위해 본 발명은 통합 IP 메시지 서비스(Converged Internet Protocol Messaging service)를 지원하는 CPM(Converged Internet Protocol Message)서버와, 단문 메시지 서비스를 지원하는 단문 메시지 서버에 연결된 IWF(Interworking Function)가 상기 각 서버 간의 인터워킹을 제공하는 방법에 있어서, 상기 CPM 서버로부터 수신측이 단문 메시지 서비스만을 지원하는 단문 메시지 단말기인, 하나 이상의 CPM(Converged Internet Protocol Message)을 수신하는 과정과, 상기 하나 이상의 CPM의 메시지 포맷을 단문 메시지 서비스의 메시지 포맷으로 변환하고, 상기 변환된 하나 이상의 메시지를 하나의 전송 그룹으로 구분하여 상기 단문 메시지 서버로 전송하는 과정과, 상기 단문 메시지 서버로부터 상기 전송한 하나 이상의 메시지 각각에 대응하는 응답 메시지를 수신하기 전에 상기 CPM 서버로부터 수신되는 새로운 CPM 메시지를, 상기 응답 메시지를 모두 수신한 후에 상기한 과정에 따라 처리하여 전송하는 과정을 포함 한다. In order to achieve the above object, the present invention provides an Interworking Function (IWF) connected to a Converged Internet Protocol Message (CPM) server supporting a Converged Internet Protocol Messaging service and a short message server supporting a short message service. A method of providing interworking between the servers, the method comprising: receiving at least one Converged Internet Protocol message (CPM) from a CPM server, which is a short message terminal supporting only a short message service; Converting a message format of a CPM into a message format of a short message service, dividing the converted one or more messages into one transmission group, and transmitting the message to the short message server, and the one or more messages transmitted from the short message server Before receiving the corresponding response message for each It includes a step of transmitting by treatment according to the process of the new CPM CPM message received from the group server, after receiving all of the response message.
그리고 본 발명은 상기 변환된 하나 이상의 메시지를 하나의 전송 그룹으로 구분하여 단문 메시지 서비스를 지원하는 단문 메시지 서버로 전송하는 과정에 있어서, 상기 하나 이상의 CPM 메시지를 각각의 단문 메시지로 변환하는 단계와, 상기 변환된 각 단문 메시지 중 최대 전송 허용 크기보다 큰 단문 메시지가 존재하는지 파악하는 단계와, 상기 최대 전송 허용 크기보다 큰 단문 메시지가 존재하면, 상기 최대 전송 허용 크기보다 큰 단문 메시지를 상기 최대 전송 허용 크기를 기준으로 분할하는 단계와, 전체 단문 메시지의 개수가 둘 이상이면 각 단문 메시지에, 상기 전송 그룹을 구분하는 전송 그룹 번호와, 상기 전송 그룹을 구성하는 총 단문 메시지 세그먼트의 수와, 상기 총 단문 메시지 세그먼트 중 몇 번째 단문 메시지 세그먼트인지를 나타내는 순번을 포함하는 결합 정보를 포함시켜 단문 메시지 세그먼트를 생성하는 단계와, 상기 단문 메시지 및 상기 단문 메시지 세그먼트를 상기 단문 메시지 서버로 전송하는 단계를 포함한다. In the present invention, in the process of dividing the converted one or more messages into a single transmission group to a short message server supporting a short message service, converting the one or more CPM messages into respective short messages; Determining whether a short message larger than the maximum transmission allowance size exists among the converted short messages; and if the short message larger than the maximum transmission allowance size exists, allowing the short transmission message larger than the maximum transmission allowance size to allow the maximum transmission. Dividing based on the size, and if the total number of short messages is two or more, in each short message, a transmission group number for distinguishing the transmission group, the total number of short message segments constituting the transmission group, and the total number of short messages. Indicates which of the short message segments is the short message segment. And a step of, by including the binding information including a sequence number generating a short message with the segment, sending the short message and the short message segment to the short message server.
그리고 본 발명은 상기 결합 정보는 단문 메시지의 Concatenation IED 필드의 각 Octet 값을 설정함으로써 포함되며, 상기 전송 그룹 번호는 Octet1 값으로, 상기 총 단문 메시지 세그먼트 수는 Octet2 값으로, 상기 순번은 Octet3 값으로 설 정 한다. In the present invention, the combined information is included by setting each Octet value of the Concatenation IED field of the short message, the transmission group number is Octet1 value, the total number of short message segments is Octet2 value, the sequence number is Octet3 value Set it.
또한 본 발명은 통합 IP 메시지 서비스(Converged Internet Protocol Messaging service)를 지원하는 CPM(Converged Internet Protocol Message)서버와, 단문 메시지 서비스를 지원하는 단문 메시지 서버에 연결된 IWF(Interworking Function)가 상기 각 서버 간의 인터워킹을 제공하는 방법에 있어서, 상기 CPM서버로부터 수신측이 단문 메시지 서비스만을 지원하는 단문 메시지 단말기인, 하나 이상의 CPM(Converged Internet Protocol Message)을 수신하는 과정과, 상기 하나 이상의 CPM의 메시지 포맷을 단문 메시지 서비스의 메시지 포맷으로 변환하고, 상기 변환된 하나 이상의 메시지를 제1전송 그룹으로 구분하여 상기단문 메시지 서버로 전송하는 과정과, 상기 단문 메시지 서버로부터 하나 이상의 새로운 CPM 메시지를 수신하면 상기 하나 이상의 새로운 CPM의 메시지 포맷을 단문 메시지 서비스의 메시지 포맷으로 변환하고, 상기 변환된 하나 이상의 메시지를 상기 제1전송 그룹의 메시지 처리 우선순위보다 낮은 메시지 처리 우선순위를 설정한 제2전송 그룹으로 구분하여 상기 단문 메시지 서버로 전송하는 과정을 포함한다. In addition, the present invention provides a Converged Internet Protocol Message (CPM) server supporting a Converged Internet Protocol Messaging service and an Interworking Function (IWF) connected to a short message server supporting a short message service. A method for providing working, the method comprising: receiving, from a CPM server, at least one Converged Internet Protocol message (CPM), which is a short message terminal supporting only a short message service, and briefly determining a message format of the at least one CPM. Converting the converted message into a message format of a message service, dividing the converted one or more messages into a first transmission group to the short message server, and receiving one or more new CPM messages from the short message server. CPM message format of short message service Converting the converted one or more messages into a second transmission group that sets a message processing priority lower than the message processing priority of the first transmission group, and transmits the converted one or more messages to the short message server. .
그리고 본 발명은 상기 변환된 하나 이상의 메시지를 제1전송 그룹으로 구분하여 단문 메시지 서비스를 지원하는 단문 메시지 서버로 전송하는 과정에 있어서, 상기 하나 이상의 CPM 메시지를 각각의 단문 메시지로 변환하는 단계와, 상기 변환된 각 SM 중 최대 전송 허용 크기보다 큰 단문 메시지가 존재하는지 파악하는 단계와, 상기 최대 전송 허용 크기보다 큰 단문 메시지가 존재하면, 상기 최대 전송 허용 크기보다 큰 단문 메시지를 상기 최대 전송 허용 크기를 기준으로 분할하는 단 계와, 각 단문 메시지에, 상기 전송 그룹을 구분하고, 상기 전송 그룹의 메시지 처리 우선순위를 나타내는 전송 그룹 번호와, 상기 전송 그룹을 구성하는 총 단문 메시지 세그먼트의 수와, 상기 총 단문 메시지 세그먼트 중 몇 번째 단문 메시지 세그먼트인지를 나타내는 순번을 포함하는 결합 정보를 포함시켜 단문 메시지 세그먼트를 생성하는 단계와, 상기 단문 메시지 세그먼트를 전송하는 단계를 포함한다. In the present invention, in the process of dividing the converted one or more messages into a first transmission group to a short message server supporting a short message service, converting the one or more CPM messages into respective short messages; Determining whether a short message larger than the maximum transmission allowable size exists in each of the converted SMs; and if a short message larger than the maximum transmission allowable size exists, the short message larger than the maximum transmission allowable size is transmitted to the maximum transmission allowable size. A step of dividing the transmission group into each short message, a transmission group number indicating a message processing priority of the transmission group, a total number of short message segments constituting the transmission group, A number of short message segments of the total short message segments Generating a short message segment by including combining information including a sequence number; and transmitting the short message segment.
그리고 본 발명은 상기 결합 정보는 단문 메시지의 Concatenation IED 필드의 각 Octet 값을 설정함으로써 포함되며, 상기 전송 그룹 번호는 Octet1 값으로, 상기 총 단문 메시지 세그먼트 수는 Octet2 값으로, 상기 순번은 Octet3 값으로 설정 한다. In the present invention, the combined information is included by setting each Octet value of the Concatenation IED field of the short message, the transmission group number is Octet1 value, the total number of short message segments is Octet2 value, the sequence number is Octet3 value Set.
또한 본 발명은 통합 IP 메시지 서비스(Converged Internet Protocol Messaging service)를 지원하는 CPM(Converged Internet Protocol Message) 서버와, 단문 메시지 서비스를 지원하는 단문 메시지 서버와, 상기 각 서버에 연결된 IWF(Interworking Function)를 포함하는 CPMS 시스템의 상기 각 서버 간의 인터워킹을 제공하는 방법에 있어서, 상기 IWF가 상기 CPM(Converged Internet Protocol Message)서버로부터 수신측이 단문 메시지 서비스만을 지원하는 단문 메시지 단말기인, 하나 이상의 CPM(Converged Internet Protocol Message)을 수신하는 과정과, 상기 IWF가 수신된 상기 CPM을 단문 메시지로 변환하고, 변환된 각 단문 메시지에, 해당 단문 메시지에 대응하는 CPM에서 상기 해당 단문 메시지가 포함되는 위치 정보를 포함하는 결합 정보를 포함시켜 단문 메시지 세그먼트를 생성하는 과정과, 상기 IWF가 상기 단문 메시지 세그먼트를 상기 단문 메시지 서버로 전송하는 과정과, 상기 단문 메시지 단말기가 상기 단문 메시지 서버를 통해 상기 단문 메시지 세그먼트를 수신하면, 상기 단문 메시지에 포함된 상기 결합 정보를 참조하여 상기 단문 메시지 세그먼트를 처리하여 사용자에게 제공하는 과정을 포함한다. The present invention also provides a Converged Internet Protocol Message (CPM) server that supports a Converged Internet Protocol Messaging service, a short message server that supports a short message service, and an Interworking Function (IWF) connected to each server. A method for providing interworking between the respective servers of a CPMS system comprising: the at least one CPM (Converged), wherein the IWF is a short message terminal in which a receiving side supports only a short message service from a Converged Internet Protocol Message (CPM) server. Internet Protocol Message), and the IWF converts the received CPM into a short message, and each converted short message includes location information including the corresponding short message in the CPM corresponding to the short message. Generating a short message segment by including the combined information; Transmitting a short message segment to the short message server; and when the short message terminal receives the short message segment through the short message server, referring to the combining information included in the short message, Processing and providing it to the user.
그리고 본 발명은 상기 IWF가 단문 메시지 세그먼트를 생성하는 과정에 있어서, 상기 하나 이상의 CPM 메시지를 각각의 단문 메시지로 변환하는 단계와, 상기 변환된 각 SM 중 최대 전송 허용 크기보다 큰 단문 메시지가 존재하는지 파악하는 단계와, 상기 최대 전송 허용 크기보다 큰 단문 메시지가 존재하면, 상기 최대 전송 허용 크기보다 큰 단문 메시지를 상기 최대 전송 허용 크기를 기준으로 분할하는 단계와, 각 단문 메시지에, 전송 그룹을 구분하고, 상기 전송 그룹의 메시지 처리 우선순위를 나타내는 전송 그룹 번호와, 상기 전송 그룹에 포함될 수 있는 최대 단문 메시지 세그먼트의 수와, 상기 최대 단문 메시지 세그먼트 중 상기 분할 순서에 따라 몇 번째 단문 메시지 세그먼트인지를 나타내는 순번과, 해당 단문 메시지에 대응하는 CPM에서 상기 해당 단문 메시지가 마지막에 포함되는 경우 및 상기 대응 CPM이 해당 단문 메시지만을 포함하는 경우와, 상기 대응 CPM에서 상기 해당 단문 메시지가 마지막에 포함되지 않는 경우를 구분하는 정보를 포함하는 결합 정보를 포함시켜 단문 메시지 세그먼트를 생성하는 단계와, 상기 단문 메시지 세그먼트를 전송하는 단계를 포함한다.In the present invention, in the process of generating the short message segment by the IWF, converting the at least one CPM message into each short message, and whether there is a short message larger than the maximum transmission allowable size among the converted SMs. Determining, if there is a short message larger than the maximum transmission allowance size, dividing the short message larger than the maximum transmission allowance size based on the maximum transmission allowance size, and distinguishing a transmission group from each short message. And a transmission group number indicating a message processing priority of the transmission group, a maximum number of short message segments that can be included in the transmission group, and a number of short message segments according to the division order among the maximum short message segments. And the CPM corresponding to the corresponding short message Including the combined information including information for distinguishing when the short message is included last and when the corresponding CPM includes only the short message, and when the corresponding short message is not included in the corresponding CPM at the end. Generating a short message segment and transmitting the short message segment.
그리고 본 발명은 상기 결합 정보는 단문 메시지의 Extended Concatenation IED 필드의 각 Octet 값을 설정함으로써 포함되며, 상기 전송 그룹 번호는 Octet1 값으로, 상기 총 단문 메시지 세그먼트 수는 Octet2 값으로, 상기 순번은 Octet3 값으로, 상기 포함 위치는 Octet4의 값으로 설정한다. In the present invention, the combined information is included by setting each Octet value of the Extended Concatenation IED field of the short message, the transmission group number is an Octet1 value, the total number of short message segments is an Octet2 value, and the sequence number is an Octet3 value. By the way, the included position is set to the value of Octet4.
그리고 본 발명은 상기 단문 메시지 단말기가 상기 단문 메시지 세그먼트를 처리하여 사용자에게 제공하는 과정에 있어서, 상기 단문 메시지 세그먼트를 수신하는 단계와, 상기 수신된 단문 메시지와 상기 수신전에 저장되어 있던 단문 메시지 세그먼트의 Extended Concatenation IED 필드 값을 파악하여, 각 단문메시지 세그먼트의 Extended Concatenation IED 필드의 Octet1과 Octet2의 값이 같고, 하나 이상의 연속한 Octet3의 값들을 가지는 단문 메시지 세그먼트들의 집합 중에서 가장 큰 집합이며, 상기 집합에 속하는 단문 메시지 세그먼트 중에서 Octet3의 값이 가장 큰 단문 메시지 세그먼트의 Octet4의 값이 1인 단문 메시지 세그먼트를 포함하는 집합인 단문 메시지 세그먼트 체인을 검출하는 단계와, 상기 검출된 단문 메시지 세그먼트 체인에 포함되는 단문 메시지 세그먼트들 중 Octet3 값이 카운터 값과 동일하면 상기 검출된 단문 메시지 세그먼트 체인에 포함된 단문 메시지 세그먼트들을 처리하여 사용자에게 제공하고, 동일하지 않으면 상기 수신한 단문 메시지 세그먼트를 저장하는 단계와, 상기 처리된 단문 메시지 세그먼트 체인의 마지막 단문 메시지 세그먼트의 Octet2 값과 Octet3의 값이 동일하면 상기 카운터의 값을 1로 초기화 하고, 동일하지 않으면 상기 단문 메시지 세그먼트의 Octet3 값을 1증가시켜 저장하는 단계를 포함한다. In the present invention, in the process of providing the short message segment to the user by the short message terminal, receiving the short message segment, and receiving the short message segment and the short message segment stored before the reception. Determines the value of the Extended Concatenation IED field, and is the largest set of short message segments having the same values of Octet1 and Octet2 in the Extended Concatenation IED field of each short message segment, and having one or more consecutive Octet3 values. Detecting a short message segment chain which is a set including a short message segment having a value of Octet4 of 1 among the short message segments having the largest value of Octet3 among the short message segments to which the short message segment belongs, and a short message included in the detected short message segment chain. Message seg Processing the short message segments included in the detected short message segment chain if the Octet3 value is equal to the counter value, and storing the received short message segment if not the same; storing the received short message segment; And if the value of Octet2 and Octet3 of the last short message segment of the message segment chain is the same, initialize the value of the counter to 1, and if not, increase the value of Octet3 of the short message segment by one.
이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 일실시예를 상세히 설명한다. 도면에서 동일한 구성요소들에 대해서는 비록 다른 도면에 표시되더라도 가능한 한 동일한 참조번호 및 부호로 나타내고 있음에 유의해야 한다. 또한, 본 발명을 설명함에 있어서, 관련된 공지기능 혹은 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우 그 상세한 설명은 생략한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. Note that the same components in the drawings are represented by the same reference numerals and symbols as much as possible even though they are shown in different drawings. In addition, in describing the present invention, when it is determined that a detailed description of a related known function or configuration may unnecessarily obscure the subject matter of the present invention, the detailed description thereof will be omitted.
IM(Instant Message)서비스, SMS(Short Message Service), MMS(Multimedia Messaging Service), PoC(Push to Talk Over Cellular)서비스 등의 메시징 서비스들은 서비스의 종류에 따라 상이한 프로토콜을 사용한다. 때문에, 서로 호환될 수 없는 메시징 서비스가 존재한다. 예를 들어, 세션을 설정하여 메시징 통신을 수행하는 SIP 기반의 IM 서비스와, 세션 설정 없이 메시징 통신을 수행하는 SMS 서비스는 서로 호환될 수 없고, 이로 인해, IM 클라이언트에서 전송한 IM을 SM 클라이언트는 수신할 수 없다.Messaging services such as IM (Instant Message), Short Message Service (SMS), Multimedia Messaging Service (MMS), and Push to Talk Over Cellular (PoC) services use different protocols depending on the type of service. Therefore, there are messaging services that are not compatible with each other. For example, a SIP-based IM service that establishes a session and performs messaging communications and an SMS service that performs messaging communications without establishing a session are not compatible with each other. You cannot receive it.
따라서 IM 서비스, SMS, MMS, PoC 서비스 등의 메시징 서비스를 통합하는 새로운 형식의 통합형 메시징 서비스의 필요성이 대두되고 있다. 이러한 상기 통합형 메시징 서비스를 이하, 통합 IP 메시지 서비스(Converged Internet Protocol Messaging service, 이하, "CPM 서비스"라 함.)라 한다. 상기 CPM 서비스는 SIP 기반의 서비스로서, 통합형 메시징 서비스의 사용자뿐만 아니라 기존의 메시징 서비스 사용자와도 자유롭게 메시지 통신을 수행할 수 있어야 하기 때문에 기존의 SMS, IM 서비스, MMS, PoC 서비스 등과의 인터워킹(interworking)이 가능해야 한다. 더욱이 세션을 설정하여 통신을 수행하는 메시징 서비스와 세션 설정 없이 통신을 수행하는 메시징 서비스 간에 인터워킹을 가능하게 해야 한다. Thus, there is a need for a new type of integrated messaging service that integrates messaging services such as IM services, SMS, MMS, and PoC services. This integrated messaging service is hereinafter referred to as a Converged Internet Protocol Messaging service (hereinafter referred to as "CPM service"). The CPM service is a SIP-based service. Since the CPM service should be able to freely communicate with not only the user of the integrated messaging service but also the existing messaging service user, the CPM service may be interworked with the existing SMS, IM service, MMS, PoC service, etc. interworking should be possible. Furthermore, a session must be established to enable interworking between a messaging service that performs communication and a messaging service that performs communication without establishing a session.
즉, CPM서비스를 이용하는 갑과 SMS를 이용하는 을이 상호간에 메시지를 주 고받기 위해서는 CPM서비스와 SMS를 연결해주는 IWF(Interworking Function)가 필요하다. IWF는 여러 가지 기능을 수행하는데, 그 중의 대표적인 한 가지는 CPM메시지와 SM 간에 메시지 포맷을 변환하는 것이다. 이로써, 갑은 CPM메시지를 보내지만 을은 SM메시지를 수신하게 된다. 또 역으로, 을은 SM메시지를 보내지만 갑은 CPM메시지를 수신하게 된다. 그런데 두 사용자가 이용하는 메시징 서비스가 다르기 때문에 갑이 을에게 메시지를 전송하는 상황에서, 문제가 발생할 수 있다. 갑이 을에게 메시지를 전달하는 과정에서 갑이 짧은 시간간격을 두고 연속으로 CPM을 보내는 경우, 갑이 메시지를 전송한 순서와 을이 메시지를 수신하는 순서가 다를 수가 있다. 즉, 먼저 전송한 메시지가 나중에 수신되고, 나중에 전송한 메시지가 먼저 수신되는 일이 발생할 수 있다. 이러한 상황에서, 수신 단말기가 메시지를 수신한 순서대로 처리한다면 메시지 내용의 앞뒤가 뒤바뀌어서 을은 갑이 전하고자 하는 내용을 이해하는 데 어려움을 겪을 것이다. 따라서 본 발명에서는 이러한 문제를 해결하기 위해서, 수신단말기기가 메시지를 수신한 순서가 아니라, 메시지가 전송된 순서에 맞게 처리하는 시스템 및 방법을 구현하고자 한다.In other words, in order to receive a message between A and A who use CPM service and A using SMS, IWF (Interworking Function) is required to connect CPM service and SMS. IWF performs several functions, one of which is the conversion of message formats between CPM messages and SMs. As a result, A sends a CPM message, but A receives a SM message. Conversely, A sends a SM message, but A receives a CPM message. However, because the messaging services used by the two users are different, problems may arise when A sends a message to L. In the event that you send a message to us, if you send CPM continuously at short intervals, the order in which you send the message may differ from the order in which you receive the message. That is, a message transmitted first may be received later, and a message transmitted later may be received first. In such a situation, if the receiving terminal processes the messages in the order in which they are received, the contents of the message may be reversed, and thus, Eol will have a hard time understanding what the message is intended to convey. Accordingly, in order to solve this problem, the present invention intends to implement a system and method for processing the message according to the order in which the message is transmitted, not the order in which the receiving terminal receives the message.
상기한 문제점을 해결하기 위해 본 발명은 세 가지의 실시예를 제시한다, 제1실시예는 종래의 SMS 시스템 동작을 변경하지 않고 해결하는 것이고, 제2실시예와 제3실시예는 종래의 SMS 시스템 동작에 새로운 기능을 추가하여 문제를 해결하는 것이다. In order to solve the above problems, the present invention provides three embodiments, the first embodiment of the present invention solves the conventional SMS system operation without changing, and the second and third embodiments of the present invention are conventional SMS. The solution is to add new functionality to the system's behavior.
종래 SMS에서는 송신측 단말기가 SM을 전송하고자 할 때, 메시지의 사이즈가 지정된 크기를 초과하는 경우 사이즈가 큰 메시지를 작은 사이즈의 메시지, 즉, SM 세그먼트로 나누어서 전송하는 대신에 수신측 단말기가 수신한 메시지들을 결합하여 원래의 메시지로 복원할 수 있도록 메시지에 필요한 정보 즉, Concatenation IED 필드를 삽입한다. 본 발명의 제1실시예와 제2실시예는 IWF가 CPM 서버로부터 수신한 CPM을 SM 세그먼트로 변환하는 과정에서 본 발명에 따라 적정한 값이 설정된 Concatenation IED 필드를 삽입함으로써, 수신 단말에게 메시지의 전송순서정보를 전달하는 것이다. 본 발명의 제1실시예는 수신측 단말기가 이러한 메시지들을 수신하면 기존의 SMS 서비스에서 메시지를 처리하는 방식대로 수신한 메시지를 처리할 수 있기 때문에, 종래의 SM 서비스 시스템을 그대로 활용할 수가 있다. In the conventional SMS, when the sending terminal attempts to transmit an SM, if the message size exceeds a specified size, the receiving terminal receives the message instead of transmitting the larger message into smaller messages, that is, the SM segments. Insert the information necessary for the message, that is, the Concatenation IED field, so that the messages can be combined and restored to the original message. In the first and second embodiments of the present invention, a message is transmitted to a receiving terminal by inserting a concatenation IED field in which an appropriate value is set according to the present invention in the process of converting a CPM received from a CPM server into an SM segment. It is to convey order information. According to the first embodiment of the present invention, when the receiving terminal receives these messages, it can process the received messages in a manner that the existing SMS service processes the messages, so that the conventional SM service system can be utilized as it is.
이하, 본 발명의 이해를 돕기 위해, 메시지 전송과정에서 필요에 따라 분할되어 전송되는 SM과 분할되지 않고 전송되는 SM을 의미하는 용어를 구분하여 사용하기로 한다. SM은 Concatenation IED 필드를 포함하지 않는 SM 포맷의 메시지를 의미하는 것으로 기존의 SMS 서비스에서 일반적으로 사용되는 메시지와 동일하게 사용하고, SM 세그먼트는 Concatenation IED 필드를 포함하고 있는 SM 포맷의 메시지를 의미하는 것으로 사용한다. Hereinafter, to facilitate understanding of the present invention, terms used for dividing and transmitting the divided SM and the non-divided SM as necessary in the message transmission process will be used. SM refers to a message in SM format that does not include a Concatenation IED field. It is used in the same manner as a message generally used in an existing SMS service. The SM segment refers to a message in SM format including a Concatenation IED field. I use it.
본 발명의 제1실시예는 IWF가 SM 서버로 이전에 전송한 SM 세그먼트에 대한 수신 응답 메시지를 기다리는 동안 CPM 서버로부터 CPM을 수신하게 되면, 즉시 처리하지 않고 일단 저장한 후에, 수신측으로부터 수신 응답 메시지를 수신한 후에 저장된 메시지를 처리하는 것이다. 본 발명의 실시예는 수신 응답 메시지로 STATUS_REPORT를 이용한다. 본 발명의 제2실시예는 IWF가 수신응답 메시지를 기다리는 중에도, CPM을 수신하면 즉시 세그먼트로 변환하여 SM 서버로 전송한다. 보다 자세한 방법은 IWF의 동작과정과 실시예를 통해 설명하도록 하겠다. 본 발명의 제3실시예는 수신측 단말기에게 메시지들의 전송순서를 알리기 위해서 제1실시예와 제2실시예에서 사용하였던 Concatenation IED 필드 대신에 본 발명에서 새롭게 정의한 Extended Concatenation IED 필드를 사용한다. In the first embodiment of the present invention, if the IWF receives the CPM from the CPM server while waiting for a response message for the SM segment previously transmitted to the SM server, the CW server does not immediately process the data and stores the received CPM. After the message is received, the stored message is processed. An embodiment of the present invention uses STATUS_REPORT as a reception response message. In the second embodiment of the present invention, even when the IWF waits for a response message, when the CW receives the CPM, the second embodiment immediately converts the segment to the SM server. A more detailed method will be described through an operation process and an embodiment of the IWF. The third embodiment of the present invention uses the newly defined Extended Concatenation IED field in place of the Concatenation IED field used in the first and second embodiments to inform the receiving terminal of the transmission order of messages.
상기한 본 발명의 실시예들이 적용되는 CPM 서비스 시스템의 구성을 도2에 도시하였다. 도2는 본 발명의 일 실시예에 따른 CPM 서비스 시스템 구성을 나타낸 도면이다. 도2를 참조하여, CPM 서비스 시스템은 CPM(Converged Internet Protocol Message) 단말기(10), CPM(Converged Internet Protocol Message) 서버(20), IWF(Interworking Function)(30), SM(Short message) 서버(40), SM(Short message) 단말기(50)를 포함하며, 미도시하였지만, MMS 서버, PoC 서버, IM 서버등을 포함한다. 2 illustrates a configuration of a CPM service system to which the embodiments of the present invention are applied. 2 is a diagram illustrating a CPM service system configuration according to an embodiment of the present invention. 2, the CPM service system includes a Converged Internet Protocol Message (CPM) terminal 10, a Converged Internet Protocol Message (CPM)
CPM 단말기(10)는 CPM 서비스를 지원하는 클라이언트로서, 사용자의 선택에 따라 단방향 메시지 통신을 위한 CPM(Converged Internet Protocol Message)를 구성하여 CPM 서버(20)로 송신하거나, 대화형 메시지 통신을 위한 CPM을 구성하여 CPM 서버(20)로 송신한다. 그리고 CPM 서버(20)로부터 메시지 통신 수행에 따른 각종 메시지를 수신하여 처리하며, 필요에 따라 또는 사용자 설정에 따라 사용자에게 메시지의 내용을 제공한다. The
CPM 서버(20)는 다수의 CPM 단말기들과 종래의 메시징 서비스를 수행하는 단말기들의 가입자 정보를 저장하고 있으며, 송신측 CPM 단말기(10)로부터 수신한 메시지 통신과 관련된 메시지를 처리한다. 즉, CPM 서버(20)는 송신측 CPM 단말 기(10)로부터 CPM을 수신하면, 미리 저장한 가입자 정보를 검색하여 수신측 단말기가 지원하는 메시징 서비스 종류를 파악하고, 수신측 단말기 지원하는 메시징 서비스에 따라 수신된 CPM의 다음 목적지를 구분하여 전송한다. 예를 들어, 수신측 단말기가 CPM 단말기라면 CPM 서버(20)는 수신된 CPM을 CPM 서비스 방식에 따른 메시지 포맷으로 변경하여 수신측 단말기가 접속된 다른 CPM 서버 또는 수신측 단말기로 직접 전송한다. 만약 수신측 단말기가 CPM 단말기가 아닌, 종래의 메시징 서비스만을 지원하는 단말기라면 CPM 서버(20)는 IWF(40)로 수신된 CPM을 전송한다. The
IWF(30)는 CPM 서버(20)로부터 CPM 수신시 수신측 가입자 정보를 파악하여 수신측 단말기가 지원하는 메시지 서비스 종류를 파악한다. 그리고 IWF(30)는 파악된 메시지 서비스 종류에 따라, 필요하다면, 상기 수신한 CPM의 메시지 포맷을 수신측 단말기가 지원하는 메시징 서비스에 대응하는 메시지 포맷으로 변경하여, 해당 메시징 서비스의 서버, 예를 들어, SM 서버(40), MMS 서버, PoC 서버, IM 서버로 전송한다. 그리고 SM 서버(40), MMS 서버, PoC 서버, IM 서버부터 수신된 메시지를, 필요하다면, CPM 포맷으로 변경하여 CPM 서버(20)로 전송한다. 이에 따라 IWF(30)는 메시징 서비스 가입자 정보를 저장하고 있으며, 각 메시징 서비스에 대응하는 각종 메시지 포맷과 변환 프로그램을 저장하고 있다. When receiving the CPM from the
특히, IWF(30)는 본 발명의 각각의 실시예에 따라 SM 단말기(50)로 전송되는 CPM을 SM 또는 SM 세그먼트로 변환하는데, 그 자세한 과정은 이하 도3 내지 도11을 참조하여 설명한다. In particular, the
SM 서버(40)는 SMS 서비스를 지원하는 서버로서, 본 발명에 따라 IWF(30)로 부터 수신한 SMS-SUBMIT 포맷의 SM 또는 SM 세그먼트를 SMS-DELIVER로 변환하여 SM 단말기(50)에게 전송한다. 그리고 SM 단말기(50)로부터 수신측 단말기가 CPM 단말기(10)인 SMS-SUBMIT를 수신하면 SMS-DELIVER로 변환하여 IWF(30)로 전송한다. The
SM 단말기(50)는 사용자가 입력한 텍스트를 SMS-SUBMIT에 포함시켜 SM 서버(40)로 전송하고, SM 서버(40)로부터 다른 단말기에 의해 전송되어지는 SM인 SMS-DELIVER를 수신하면 사용자의 설정에 따라 SM을 수신하였음을 알리거나 포함된 텍스트 내용을 디스플레이한다. 이때, SM 단말기(50)는 SMS-DELIVER를 통해 SM 세그먼트를 수신하면, 수신된 SM 세그먼트를 하나의 SM으로 결합하여 사용자에게 제공한다. 그리고 SM 클라이언트(50)는 SMS-DELIVER를 수신하면 SM을 에러 없이 수신하였음을 통보하는 SMS-DELIVERY-REPORT를 SM 서버(40)로 전송한다. The
상기와 같이 구성되는 CPM 서비스 시스템에서 본 발명의 제1실시에에 따라 CPM 단말기(10)가 송신한 CPM을 SM 단말기(50)로 전송하는 과정을 설명하면 다음과 같다. 본 발명에서는 SMS에서 사용하는 Concatenation IED 필드를 사용하지만 그 용도와 각Octet이 의미하는 바는 SMS에서 사용하는 Concatenation IED 필드와 다르다. SMS에서는 메시지 허용 사이즈를 초과하는 하나의 SM을 작은 사이즈의 SM으로 나누어서 전송하기 위한 용도로 사용하며 각Octet의 의미는 상기 표1에서 설명한 바와 같다. 그러나 본 발명에서는 SMS에서의 기존의 용도 이외에 짧은 간격을 두고 순차적으로 전송되는 SM메시지들의 전송순서정보를 SM수신단말기에게 제공하는 용도로 Concatenation IED 필드를 사용하며, 이에 따라 각 Octet이 나타내는 의미는 다음 표2와 같다. In the CPM service system configured as described above, a process of transmitting the CPM transmitted from the
* 괄호 안의 숫자는 각Octet이 표현할 수 있는 범위를 나타낸다 The numbers in parentheses indicate the range each Octet can represent.
전송 그룹이란 수신측 SM 단말기(50)가 메시지들을 수신한 후에, 동시에 처리할 수 있는 최대 메시지 단위이다. 즉, 수신측 SM 단말기(50)가 수신한 메시지가 SM이라면, SM은 단독 메시지로 처리되기 때문에 하나의 SM은 하나의 전송 그룹을 형성한다. 그리고 수신한 메시지가 SM 세그먼트라면 전송 그룹은, 수신측 SM 단말기(50)가 결합 할 수 있는 SM 세그먼트들의 집합을 의미한다. 따라서 이러한 경우에 전송 그룹은 적어도 두 개 이상의 SM 세그먼트로 형성되며, SM이 포함될 수도 있다. The transmission group is a maximum message unit that can be processed simultaneously after the receiving
이하, 도3을 참조하여, IWF(30)가 본 발명의 제1실시예에 따라 상기 Concatenation IED 필드를 이용하여 CPM 서버(20)로부터 수신한 CPM을 SM 세그먼트로 변환한 후에 SM서버(20)로 전송하는 과정을 설명하면 다음과 같다. 도3은 본 발명의 제1실시예에 따른 IWF(30)의 동작을 나타낸 도면이다. 도3을 참조하여, 101단계에서 IWF(30)는 CPM 서버(20)로부터 첫 번째 CPM을 수신하면 103단계로 진행한다. 103단계에서 IWF(30)는 수신한 CPM을 도4에 도시된 변환 알고리즘에 따라서 SM 메시지 또는 SM 세그먼트로 변환한다. 도4는 본 발명의 제1실시예에 따라 IWF(30)가 CPM의 포맷을 SM 포맷으로 변경하는 과정을 나타낸 도면이다. 도4를 참조하여, IWF(30)는 201단계에서 상기 101단계에서 수신한 적어도 하나 이상의 CPM을 SM메시지의 포맷에 맞게 변환하고 203단계로 진행한다. 203단계에서 IWF(30)는 상기 201단계에서 변환된 SM의 크기가 SMS에서 허용하는 최대 메시지 크기를 초과하는지 파악하여, 초과하면 205단계로 진행하고, 초과하지 않으면 207단계로 진행한다. 205단계에서 IWF(30)는 SM을 적정 크기의 SM들로 분할하고 209단계로 진행한다. 상기 적정 크기란 본 알고리즘을 통해 생성되는 SM 세그먼트의 사이즈가 SMS에서 허용하는 최대 메시지 크기를 초과하지 않으면서, 생성되는 SM 세그먼트의 수를 최소가 되게 하는 값들 중 최대값을 의미한다. 한편, 207단계에서 IWF(30)는 상기 201단계에서 생성한 SM을 분할하지 않고 그대로 SM을 보존하고, 209단계로 진행한다. 209단계에서 IWF(30)는 상기 201단계에서 생성된 SM의 개수만큼 203 단계 내지 207단계를 반복 수행하고 211단계로 진행한다. 211단계에서 IWF(30)는 상기 207단계에서 생성한 SM의 개수가 2개 이상인지 판단하여, 2개 이상이면 213단계로 진행하고, 2개 미만이면 215단계로 진행한다. IWF(30)는 상기 201단계 내지 209단계를 수행한 결과 생성된 SM의 총 개수가 한 개이기 때문에 215단계에서 생성된 SM을 그대로 유지시키며, 이렇게 유지된 하나의 SM메시지가 하나의 전송그룹을 형성한다. 한편, 213단계에서 IWF(30)는 각 SM에 Concatenation IED 필드를 삽입하여, 두 개 이상의 SM들을 SM 세그먼트들로 변환한다. 이렇게 변환된 SM세그먼트들은 하나의 전송그룹을 형성하며, 삽입된 Concatenation IED 필드 값을 결정하는 방법은 도5에 예시되어 있다. 도5는 본 발명의 제1실시예에 따른 Concatenation IED 필드 값들의 일예를 도시한 도면이다. 도면5를 참조하여, IWF(30)는 제1CPM(300)을 먼저 수신하고 뒤 이어 제2CPM(310)을 수신한다고 가정한다. 그리고 제1CPM(300)은 세 개의 SM 세그먼트, 즉 제1SM 세그먼트(SMS_SUBMIT(X,5,1))(301), 제2SM 세그먼트(SMS_SUBMIT(X,5,2))(303), 제3SM 세그먼트(SMS_SUBMIT(X,5,3))(305)로 분할되고, 제2CPM(310)은 두 개의 SM 세그먼트, 즉, 제4SM 세그먼트(SMS_SUBMIT(X,5,4))(311), 제5SM 세그먼트(SMS_SUBMIT(X,5,5))(313)로 분할된다고 가정한다. 이때, 각 SM 세그먼트에서 괄호 안의 숫자가 왼쪽부터 차례로 Concatenation IED 필드의 Octet1, Octet2, Octet3의 값을 의미한다. 도5의 실시예에서, Octet1의 값은 편의상 'x'라 하였다. 그리고 총 SM 세그먼트 수가 5개이므로 Octet2는 5가 된다. 그리고 Octet3의 값은 항상 1부터 시작하는데, 가장 먼저 수신한 CPM의 첫 번째 SM 세그먼트가 1이 되고, 순차적으로 나머지 SM 세그먼트의 Octet3의 값이 결정된다. 3, after the
도3으로 돌아와서, IWF(30)는 상기한 과정에 따라 수신한 CPM의 SM 또는 SM 세그먼트로의 변환이 완료되면, 105단계에서 변환된 SM 또는 SM 세그먼트를 SM 서버(40)로 전송한다. 이때, SM 세그먼트는 Concatenation IED 필드의 Octet3의 값이 작은 세그먼트부터 먼저 전송되어진다. 이후, 107단계에서 IWF(30)는 CPM 서버(20)로부터 새로운 CPM을 수신하면 109단계로 진행한다. 109단계에서 IWF(30)는 상기 105단계에서 SM 서버(40)로 전송한 각각의 SM 또는 SM 세그먼트에 대응하는 수신 응답 메시지(STATUS_REPORT)를 모두 수신하였는지 확인하여, 모두 수신하였으면 상기 103과정으로 진행하여 상기한 도4 내지 도5에 도시된 과정 및 상기 105과정과 107과정을 수행한다. 하지만, 상기 105단계에서 SM 서버(40)로 전송한 각각의 SM 또는 SM 세그먼트에 대응하는 수신 응답 메시지(STATUS_REPORT)를 하나라도 수신하지 않았다면 IWF(30)는 111단계로 진행하여 수신한 CPM을 처리하지 않고 저장한 후 상기 107단계로 진행하여, 새로운 CPM 수신을 대기하거나 아직 수신되지 않은 수신 응답 메시지를 수신을 대기한다. 즉, IWF(30)는 본 발명의 제1실시예에 따라 적어도 하나 이상의 CPM으로부터 동일한 시점에 생성된 SM 및 SM 세그먼트를 SM 서버(40)로 전송하고, 상기 전송한 SM 및 SM 세그먼트 각각에 대응하는 수신 응답 메시지를 모두 수신하기 전에, 새로운 CPM을 수신하여도 그에 대한 처리를 보류한다. Returning to FIG. 3, when the conversion of the received CPM to the SM or SM segment is completed according to the above process, the
이상에서는 도3내지 도5를 참조하여 본 발명의 제1실시예에 따른 IWF(30)의 동작만을 설명하였다. 이하, 도6을 참조하여, 본 발명의 제1실시예에 따른 CPM 서비스 시스템 전체의 동작 과정을 설명하면 다음과 같다. 도6은 본 발명의 제1실시예에 따른 CPM 서비스 시스템의 동작을 나타낸 도면이다. In the above, only operations of the
CPM 단말기(10)로부터 수신측 단말기가 SM 단말기(50)로 지정된 CPM을 수신하면, CPM 서버(20)는 401단계에서 IWF(30)로 첫 번째 CPM인, Normal_Size_CPM1을 전송한다. Normal_Size_CPM은 SM으로 변환했을 때, 메시지의 사이즈가 SMS에서 허용한 사이즈를 초과하지 않는 CPM임을 의미한다. IWF(30)는 상기 401단계에서 수신한 CPM이 일반 크기(Normal_Size)이기 때문에 CPM을 SM 세그먼트가 아닌 SM으로 변환하여 403단계에서 SMS_SUBMIT을 이용하여 SM 서버(40)로 전송한다. 여기서, SMS_SUBMIT1은 Normal_Size_CPM1에 대한 SM 메시지 포맷이다. 이때, IWF(30)는 SM 서버(40)로 전송된 SM 메시지 또는 SM 세그먼트가 SM 단말기(50)에 오류 없이 전송 되었는지를 확인하기 위해 SMS_SUBMIT의 TP-STATUS-REPORT-REQUEST 헤더 필드를 적절하게 설정한다. 403단계에서 SMS_SUBMIT1을 수신한, SM 서버(40)는 SMS_DELIVER1을 수신측 SM 단말기(50)로 전송한다. SM 단말기(50)는 405단계에서 SMS_DELIVER1을 수신하면, 기존의 SMS에서 수신 SM을 처리하는 방식대로 처리한다. 이후, SM 단말기(50)는 상기 SMS_DELIVER1을 수신하였다는 응답으로 DELIVERY_REPORT1을 411단계에서 SM 서버(40)로 전송한다. SM 서버(40)는 413단계에서 상기 DELIVERY_REPORT1를 STATUS_REPORT1로 변환하여 IWF(30)로 전송한다. When the receiving terminal receives the CPM designated as the
한편, IWF(30)는 첫 번째 전송그룹(SMS_SUBMIT1)에 대한 수신 응답 메시지 즉, STATUS_REPORT1를 기다리는 동안 407단계와 409단계에서 CPM 서버(20)로부터 두 개의 CPM (Normal_Size_CPM2, Large_Size_CPM3)을 수신하고, 이들 메시지들을 저장한다. Large_Size_CPM은 SMS서비스에서 허용하는 메시지 사이즈를 초과한 메시지를 의미한다. 본 발명의 제1실시예에서 Large_Size_CPM3의 사이즈는 SMS의 전송 허용 사이즈 보다는 크고 전송 허용 사이즈의 두 배는 넘지 않는다고 가정한다. 이후, IWF(30)는 상기 413단계에서 STATUS_REPORT1를 수신하면, 상기 저장하고 있는 두 개의 CPM (Normal_Size_CPM2, Large_Size_CPM3)을 상기 도3의 변환 알고리즘에 따라서 SM 또는 SM 세그먼트로 변환하여 두 번째 전송그룹을 생성한다. 도6의 실시예에서 두 번째 전송 그룹은 세 개의 SM 세그먼트, SMS_SUBMIT(1,3,1), SMS_SUBMIT(1,3,2), SMS_SUBMIT(1,3,3)로 이루어진다. SMS_SUBMIT(i,j,k)는 SM 세그먼트를 전송하는 SM 메시지 포맷을 의미하는 것이며, 괄호의 i,j,k는 차례대로 octet1,2,3의 값을 의미한다. 상기 SMS_SUBMIT(1,3,1)은 Normal_Size_CPM2으로부터, 상기 SMS_SUBMIT(1,3,2)와 SMS_SUBMIT(1,3,3)은 Large_Size_CPM3으로부터 생성된 SM 세그먼트들이다. IWF(30)는 이상 세 개의 SM 세그먼트들을 Octet3의 값이 작은 순서대로 차례로 각각 415단계, 419단계, 421단계에서 SM 서버(40)로 전송한다. Meanwhile, the
SM 서버(40)는 SM 세그먼트, SMS_SUBMIT(i,j,k)을 수신하면 같은 전송 그룹 내에 있는 모든 SM 세그먼트들을 SMS_DELIVER(i,j,k)로 변환한다. 그리고 SM 서버(40)는 SMS_SUBMIT(i,j,k)를 IWF(30)로부터 수신한 순서에 따라 순차적으로 SM 단말기(50)로 전송한다. 이때, SM 서버(40)는 하나의 SMS_DELIVER(i,j,k)를 전송한 후, 그에 대응하는 DELIVERY_REPORT를 수신한 후에 다음 순서의 SMS_DELIVER(i,j,k)를 전송한다. 따라서 도6에 도시된 실시예에서, SM 서버(40)는 417단계에서 SMS_DELIVER(1,3,1)을 전송하고, 이후 423단계에서 SM 단말기(50)로부터 DELIVERY_REPORT(1,3,1)를 수신한 후에, 427단계에서 SMS_DELIVER(1,3,3)을 전송한다. 그리고 429단계에서 SM 단말기(50)로부터 DELIVERY_REPORT(1,3,3)를 수신한 후에, 433단계에서 SMS_DELIVER(1,3,2)을 전송한다. 여기서 DELIVERY_REPORT의 괄호 안의 숫자는 해당하는 SM세그먼트에 대한 delivery report임을 나타내기 위해 사용하였을 뿐, Report 메시지에 Concatenation IED 필드가 삽입되는 것은 아니다. 또한, SM 서버(40)는 SM 단말기(50)로부터 DELIVERY_REPORT를 수신하면, STATUS_REPORT로 변환하여 IWF(30)로 전송한다(425단계, 431단계, 437단계). When the
SM 단말기(50)는 IWF(30)가 전송한 세 개의 SM 세그먼트를 수신하는데 있어서, 수신하는 순서가 IWF(30)로부터 SM 서버(40)로 SM 세그먼트들을 전송한 순서와 다를 수 있다. 예를 들어, 도면6에서 SM 단말기(50)는 SMS_DELIVER(1,3,3)을 427단계에서 수신하고, SMS_DELIVER(1,3,2)을 433단계에서 수신하여, SMS_DELIVER(1,3,3)를 SMS_DELIVER(1,3,2)보다 먼저 수신하였다. 그러나 수신단말기는 세 개의 세그먼트를 모두 수신해야 비로소 하나의 메시지로 결합하여 처리할 수 있기 때문에, 세 개의 세그먼트를 모두 수신할 때까지 기다린다. 그리고 세 개의 세그먼트를 모두 수신하게 되면, 이들을 결합하여 하나의 메시지를 생성한 후에 단말기 사용자에게 메시지가 왔음을 알리거나, 결합한 메시지를 보여주는 등의 단말기 사용자의 설정에 따른 동작을 수행한다.In receiving the three SM segments transmitted by the
한편, 도6에서 사용하는 SM 포맷 메시지에 대한 이해를 돕기 위해 그 의미를 설명하면 다음과 같다. Meanwhile, in order to help the understanding of the SM format message used in FIG. 6, the meaning thereof is as follows.
SMS_SUBMIT/ SMS_SUBMIT (i,j,k) : SMS 시스템에서 SM 단말기가 SM 서버로 보내는 메시지 포맷이다. 괄호 안의 숫자는 가장 왼쪽부터 차례대로 Concatenation IED 필드의 Octec1의 값, Octet2의 값, Octet3의 값을 의미한다.SMS_SUBMIT / SMS_SUBMIT (i, j, k): This is the message format sent by SM terminal to SM server in SMS system. The numbers in parentheses mean the value of Octec1, Octet2, and Octet3 in the Concatenation IED field in order from the leftmost.
SMS_DELIVER/ SMS_DELIVER (i,j,k) : SM서버가 SM수신단말기로 보낼 때 사용하는 메시지 포맷이다. 괄호 안의 숫자는 가장 왼쪽부터 차례대로 삽입된 Concatenation IED 필드의 Octec1의 값, Octet2의 값, Octet3의 값을 의미한다.SMS_DELIVER / SMS_DELIVER (i, j, k): Message format used by the SM server to send to the SM receiver. The numbers in parentheses mean the values of Octec1, Octet2, and Octet3 in the Concatenation IED field inserted in order from the leftmost.
DELIVERY_REPORT/ DELIVERY_REPORT (i,j,k) : SM수신단말기가 SM서버로부터 SMS_DELIVER(i,j,k)을 수신했을 때, SM서버로 돌려 보내는 메시지 수신에 대한 응답메시지이다. ACK 및 Negative ACK의 용도로 사용된다. 괄호와 안의 숫자는 설명의 편의상 해당하는 SM 세그먼트에 대한 delivery report임을 나타내기 위해 사용하였을 뿐, Report 메시지에는 Concatenation IED 필드가 삽입되는 것은 아니다.DELIVERY_REPORT / DELIVERY_REPORT (i, j, k): Responds to the receipt of the message sent back to the SM server when the SM receiver receives SMS_DELIVER (i, j, k) from the SM server. Used for ACK and Negative ACK. The numbers in parentheses and the parenthesis are used to indicate that the delivery report is for the corresponding SM segment for convenience of explanation. The Concatenation IED field is not inserted into the report message.
STATUS_REPORT/ STATUS_REPORT (i,j,k) : SM메시지 발신 단말기는(도6에서는 IWF(30)) STATUS_REPORT를 SM 서버로부터 수신함으로써, 앞서 전송한 SM 메시지를 수신단말기가 수신하였는지 여부를 알 수 있다. 이 메시지를 수신하기 위해서는 SMS_SUBMIT의 TP-STATUS-REPORT-REQUEST 헤더 필드를 SMS 서비스에서 규정하는 방식대로 설정해야 한다. 마찬가지로 report이기 때문에, Concatenation IED 필드는 삽입되는 않는다. STATUS_REPORT / STATUS_REPORT (i, j, k): The SM message originating terminal (
상기한 각 SM 포맷 메시지의 의미는 도8과 도11에도 유사하게 적용된다. The meaning of each SM format message described above is similarly applied to FIGS. 8 and 11.
상술한 바와 같이 본 발명의 제1실시예에 따라 IWF(30)는 이전에 전송한 전송그룹(SM 또는 SM 세그먼트들)에 대한 STATUS_REPORT(수신 응답 메시지)를 수신하기 전까지는 추가로 수신한 CPM을 처리하지 않고 저장하였다가 STATUS_REPORT를 수신한 후에 도면3의 변환 알고리즘을 적용하여 새로운 전송그룹을 생성한 후에 SM 서버(40)로 전송한다. 이러한 방식은 기존의 SMS 규격을 변경하지 않고, CPM 단말과 SM 단말 간에 인터워킹을 제공할 수 있는 있지만, IWF(30)가 STATUS_REPORT를 기다리는 동안 시간이 지연될 수 있다. 그리고 SM 단말기(50)에서 동일한 전송그룹에 속하는 SM 세그먼트들 간의 IWF(30)로부터의 전송 순서에 따른 우선순위는 보장되지만, 다른 전송그룹에 속하는 SM 메시지 간에는 보장할 수가 없다. 이러한 문제점을 해결하기 위해 본 발명의 제2실시예에서는 IWF(30)가 이전에 전송한 메시지에 대한 STATUS_REPORT를 기다리는 중에라도 CPM 서버(20)로부터 새로운 CPM을 수신하게 되면 SM 서버(40)로 전송하는 것을 가능하게 할 뿐만 아니라 서로 다른 전송그룹에 속하는 메시지들 간에 IWF(30)로부터의 전송 순서에 따른 우선순위를 보장하는 방법을 설명한다. 본 발명의 제2실시예는 수신측 SM 단말기에서 수신한 메시지를 처리하기에 앞서서 전송그룹간의 우선순위를 확인하기 위해 Concatenation IED 필드의 Octet1의 값을 사용한다. 즉, Octet1의 값이 작을수록 높은 우선순위를 갖도록 하여, SM 서버(40)는 Octet1의 값이 작은 전송 그룹일수록 IWF(30)로부터 먼저 전송된 것이기 때문에 우선적으로 처리한다. 제1실시예는 전송 그룹이 한 개의 SM으로 이루어져 있는 경우, Concatenation IED 필드를 삽입하지 않았지만, 제2실시예는 이러한 경우라도 반드시 Concatenation IED 필드를 삽입하여 SM 세그먼트로 변환한다. 이것은 한 개의 메시지로 이루어진 전송 그룹간에도 전송순서를 확인할 수 있게 하기 위해서이다. 이를 위해서 제2실시예에서는 제1실시예에서 사용하는 도4에 도시된 알고리즘에서 211단계와 215단계가 제거된 알고리즘을 사용한다.As described above, according to the first embodiment of the present invention, the
도7은 본 발명의 제2실시예에 따른 IWF(30) 동작 과정을 보여주고 있다. 도7에 도시된 과정은 도3에 도시된 과정과는 다르게 이전에 전송한 SM 세그먼트에 대한 수신 응답 메시지를 수신하는 시점이 표시되지 않았는데, 이것은 수신 응답 메시지를 수신하는 시점이 어느 시점이라도 상관없기 때문이다. 도7을 참조하여, 본 발명의 제2실시예에 따라 IWF(30)는 501단계에서 CPM 서버(20)로부터 CPM을 수신하면 503단계로 진행한다. 503단계에서 IWF(30)는 변환 알고리즘에 따라 CPM을 SM 세그먼트로 변환하고 505단계로 진행한다. 505단계에서 IWF(30)는 상기 503단계에서 변환된 SM 세그먼트로 이루어진 전송그룹을 SM 서버(40)로 전송하고, 상기 501단계로 진행하여 상기한 과정을 반복 수행한다. 상기한 과정에서 CPM을 SM 메시지 포맷으로 변환하는 변환 알고리즘은 도4에 도시된 과정과 유사하지만, 본 발명의 제2실시예에서는 전송 그룹이 한 개의 SM으로 이루어져 있는 경우에도 반드시 Concatenation IED 필드를 삽입한다. 그리고 수신측 SM 단말(50)이 서로 다른 전송그룹에 속하는 SM 세그먼트를 수신한 경우, 전송그룹 번호가 작은 그룹의 메시지를 먼저 처리한다. 7 shows the operation of the
도8은 상기한 본 발명의 제2실시예에 따른 CPM 서비스 시스템의 동작 과정을 도시한 도면이다. 도8을 참조하여, 601단계에서 CPM 서버(20)는 IWF(30)로 첫 번째 CPM인 Normal_Size_CPM1을 전송한다. IWF(30)는 Normal_Size_CPM1을 수신하면 도4에 도시된 알고리즘에서 211단계외 215단계가 제거된 변환 알고리즘에 따라 Normal_Size_CPM1를 SM 세그먼트인 SMS_SUBMIT(1,1,1)로 변환하여 603단계에서 SM 서버(40)로 전송한다. 제1실시예에서는 하나의 SM으로 이루어진 전송 그룹인 경우 Concatenation IED 필드를 추가하지 않는다. SM 서버(40)는 603단계에서 수신한 SMS_SUBMIT(1,1,1)을 SMS_DELIVER(1,1,1)로 변환하여 605단계에서 수신 SM 단말기(50)로 전송한다. 수신 SM 단말기(50)는 SMS_DELIVER(1,1,1)을 수신하면 Concatenation IED 필드로부터 총1개의 SM 세그먼트로 이루어진 전송그룹의 첫 번째 SM 세그먼트라는 것을 파악하고, 다른 메시지의 수신을 기다릴 필요 없이 곧바로 처리한다. 그리고 SM 단말기(50)는 609단계에서 DELIVERY_REPORT(1,1,1)을 SM서버(40)로 전송하고, SM 서버(40)는 DELIVERY_REPORT(1,1,1)를 STATUS_REPORT(1,1,1)로 변환하여 613단계에서 IWF(30)로 전송한다. 8 is a diagram illustrating an operation process of the CPM service system according to the second embodiment of the present invention described above. Referring to FIG. 8, in
한편 CPM 서버(20)는 IWF(30)로 607단계에서 Large_Size_CPM2를 전송한다. 제2실시예에서 Large_Size_CPM2의 사이즈는 SM의 최대허용 사이즈 보다는 크고 최대허용 사이즈의 두 배는 넘지 않는다고 가정한다. IWF(30)는 수신한 Large_Size_CPM2을 도4에 도시된 알고리즘에서 211단계외 215단계가 제거된 변환 알고리즘에 따라 두 개의 SM 세그먼트, SMS_SUBMIT(2,2,1)와 SMS_SUBMIT(2,2,2)로 변환한다. 그리고 IWF(20)는 611단계와 615 단계에서 Octet3의 값이 작은 순서대로 차례로 SM 서버(40)로 전송한다. 이때, IWF(30)는 상기한 613단계에서 SM 서버(40)로부터 STATUS_REPORT(1,1,1)가 수신되지 않았지만, 이와 상관 없이 611단게에서 SMS_SUBMIT(2,2,1)를 전송한다. 그리고 IWF(30)는 Octet3 값이 작은 SMS_SUBMIT(2,2,1)를 SMS_SUBMIT(2.2.2) 보다 먼저 전송하였으나, 네트워크의 상태 등의 이유로 SM 서버(40)는SMS_SUBMIT(2.2.2)를 먼저 수신하고, SMS_SUBMIT(2,2,1)는 일정 정도 시간이 흐른 뒤, 즉, 631단계 이후에 수신한 것으로 가정한다. 이에 따라, SM 서버(40)는 먼저 수신된 SMS_SUBMIT(2,2,2)를 SMS_DELIVER(2,2,2)로 변환하여 617단계에서 수신 SM 단말기(50)로 전송한다. SM 단말기(50)는 SMS_DELIVER(2,2,2)의 Concatenation IED필드로부터 수신한 SM 세그먼트가 총 2개의 SM 세그먼트로 이루어진 두 번째 전송그룹의 두 번째 SM 세그먼트 것을 확인할 수 있다. 따라서 동일한 전송 그룹의 첫 번째 SM 세그먼트를 수신할때까지 SM 세그먼트를 처리하지 않고 저장한다. 그리고 SM 단말기(50)는 SM 세그먼트 수신에 대한 응답으로 DELIVERY_REPORT(2,2,2)를 621단계에서 SM 서버(40)로 전송한다. SM서버(40)는 수신된 DELIVERY_REPORT(2,2,2)를 STATUS_REPORT(2,2,2)로 변환하여 625단계에서 IWF(30)로 전송한다. Meanwhile, the
한편, IWF(30)는 625단계에서 STATUS_REPORT(2,2,2)를 수신하기 전, 619단계에서 CPM 서버(20)로부터 Normal_Size_CPM3을 수신하여, 변환 알고리즘을 이용해 상기 Normal_Size_CPM3로부터 SMS_SUBMIT(3,1,1)을 생성한 후 623단계에서 SM 서버(40)로 전송한다. SM 서버(40)는 SMS_SUBMIT(3,1,1)을 SMS_DELIVER(3,1,1)로 변환하여 627단계에서 SM 단말기(50)로 전송한다. SM 단말기(50)는 SMS_DELIVER(3,1,1)의 Concatenation IED필드로부터 수신한 SM 세그먼트가 총 1개의 SM 세그먼트로 이루어진 세 번째 전송그룹의 첫 번째 SM 세그먼트 것을 확인한다. 때문에 SM 단말기(50)는 세 번째 전송그룹에 속하는 모든 SM 세그먼트를 수신하였지만, 두 번째 전송그룹을 처리하지 않았기 때문에, SMS_DELIVER(3,1,1)을 처리하지 않고 저장한다. SM 단말기(50)는 세그먼트 수신에 대한 응답으로 629단계에서 DELIVERY_REPORT(3,1,1)를 SM 서버(40)로 전송한다. SM 서버(40)는 629단계에서 수신한 DELIVERY_REPORT(3,1,1)를 STATUS_REPORT(3,1,1)로 변환하여 IWF(30)로 전송하고, 바로 다음 순간에 상기 611단계에서 IWF(30)가 전송한 SMS_SUBMIT(2,2,1)을 수신하여, 이에 대한 SMS_DELIVER(2,2,1)을 633단계에 SM 단말기(50)에게 전송한다. SM 단말기(50)는 SMS_DELIVER(2,2,1)로부터 수신한 SM 세그먼트가 두 번째 전송 그룹의 첫 번째 SM 세그먼트라는 것을 확인한 후, 수신한 SM 세그먼트(SMS_DELIVER(2,2,1))를 저장하고 있던 SMS_DELIVER(2,2,2)와 함께 처리한다. 처리 과정은 SMS 서비스에서 Concatenation SM을 처리하는 과정을 따른다. SM 단말기(50)는 SMS_DELIVER(2,2,1)에 대한 수신 응답 메시지, DELIVERY_REPORT(2,2,1)를 635단계에서 SM 서버(40)로 전송한다. 이어서 SM 단말기(50)는 두 번째 전송 그룹의 SM 세그먼트를 처리하였기 때문에 상기 629과정에서 저장하였던 SMS_DELIVER(3,1,1)을 처리한다. SM서버(40)는 DELIVERY_REPORT(2,2,1)을 수신하면, 이를 STATUS_REPORT(2,2,1)로 변환하여 IWF(30)로 전송한다. Meanwhile, before receiving STATUS_REPORT (2,2,2) in step 625, the
상기한 제1실시예와 제2실시예는 SM 단말기(50)가 SM 세그먼트를 수신한 경우 수신한 SM 세그먼트와 같은 전송그룹에 속하는 나머지 SM 세그먼트를 모두 수신할 때까지 기다려서 전송그룹에 속한 모든 SM 세그먼트들을 한꺼번에 처리한다. 그러나 SM 단말기(50) 사용자 중에는 모든 내용을 한꺼번에 처리해서 화면에 보여주기 보다는 전체 메시지의 부분을 점진적으로(progressively) 처리해서 사용자에게 메시지 내용을 보여주는 방식을 선호하는 사람도 있을 수 있다. 이와 같은 사용자의 요구사항을 충족시키기 위해서 본 발명의 제3실시예는 SM 단말기(50)가 전송그룹에 속하는 모든 SM 세그먼트들을 수신하지 않았더라도 수신한 SM 세그먼트들이 일정한 조건을 충족시키면 수신한 SM 세그먼트의 일부분을 미리 처리하여 사용자에게 제공 할 수 있는 방법을 구현한다. When the
본 발명에 따른 제3실시예는 IWF(30)로부터 SM 서버(40)를 통해 SM 단말기(50)로 전송되는 모든 SM 또는 SM 세그먼트를 하나의 전송그룹으로 간주한다. 즉, IWF(30)로부터 SM 서버(40)로 전송되는 SM 세그먼트는 모두 Octet1의 값과 Octet2의 값이 동일하다. 특히, Octet2의 값은 Octet2가 표현할 수 있는 값들 중 가장 큰 값으로 설정한다. SMS 서비스 표준 규격에 따르면 이 값은8-bit 표준 번호(reference number)를 사용하는 경우에는 255이고, 16-bit 표준 번호를 사용하는 경우에는 65536이다. 또한, 제3실시예는 종래의 Concatenation IED 필드 대신에 Octet4를 새롭게 추가한 Extended Concatenation IED 필드를 정의하여 사용한다. The third embodiment according to the present invention regards all SMs or SM segments transmitted from the
상기 Extended Concatenation IED 필드는 종래의 SM서비스와 상기 제1실시예에서 사용하였던 Concatenation IED 필드를 확장한 것으로 기존의 Octet1, Octet2, Octet3 이외에Octet4라는 Octet을 하나 더 추가한 것이다. Octet1, Octet2, Octet3이 의미하는 바는 상기 제1실시예에서와 동일하다. 상기 Octet4는 수신측 SM 단말기(50)가 수신한 SM 세그먼트들을 부분적으로 처리하는 범위를 지정하기 위해 사용하며, 0 또는 1 의 값을 갖는다. 또는, Octet4의 8개의 비트 중에서 특정한 하나의 비트를 선택하고 선택한 비트의 값(0 또는 1)에 의미를 부여할 수도 있다. 이하의 설명에서는 전자의 방식을 가정한다. The Extended Concatenation IED field is an extension of the conventional SM service and the Concatenation IED field used in the first embodiment, and adds one Octet, Octet4, in addition to the existing Octet1, Octet2, and Octet3. Octet1, Octet2, Octet3 means the same as in the first embodiment. The Octet4 is used to designate a range in which the receiving
본 발명의 제3실시예에 따라 IWF(30)는 CPM을 SM 세그먼트로 변환할 때, Concatenation IED 필드 대신에 Extended Concatenation IED 필드를 삽입한다. 여기에서 Extended Concatenation IED의 Octet1, Octet3의 값은 제1실시예에서와 동일한 방식으로 계산하고, Octet2의 값은 Octet2가 표현할 수 있는 값들 중 가장 큰 값으로 설정한다. 그리고 Octet4의 값은 Normal_Size_CPM으로부터 변환된 SM 세그먼트의 Octet4의 값 및 Large_Size_CPM으로부터 분할된 SM 세그먼트 중 각 Large_Size_CPM의 마지막 위치에 해당하는 SM 세그먼트의 Octet4의 값과, 이 두 경우를 제외한 나머지 경우를 구분하기 위해 설정되는데, 예를 들어, 전자의 경우 1이 설정될 수 있고, 후자의 경우 0이 설정될 수 있다.According to the third embodiment of the present invention, the
도9는 Extended Concatenation IED 필드 값이 설정되는 일예를 도시하고 있다. 도9를 참조하여, IWF(30)가 제3CPM(320)을 먼저 수신하고 뒤 이어 제4CPM(330)를 수신한다고 가정한다. 그리고 제3CPM(320)은 세 개의 SM 세그먼트로, 즉, SMS_SUBMIT(x,255,1,0)(321), SMS_SUBMIT(x,255,2,0)(323), SMS_SUBMIT(x,255,3,1) (325)로 분할되고, 제4CPM(330)은 두 개의 SM세그먼트 즉, SMS_SUBMIT(x,255,4,0)(331), SMS_SUBMIT(x,255,5,1)(333)로 분할된다. SM 세그먼트, 즉, SMS_SUBMIT(i,j,k,l)에서 괄호 안의 숫자는 왼쪽부터 차례로 Extended Concatenation IED 필드의 Octet1, Octet2, Octet3, Octet4의 값을 의미한다. Octet1의 값과 Octet3의 값은 제1실시예에에서 설명한 것과 동일한 방식으로 얻어지고, Octet2는8-bit 기준 번호를 사용할 경우 항상 255로 결정된다. Octet4의 값은 제3CPM(320)과 제4CPM(330)의 마지막 위치에 해당하는 SM 세그먼트, 즉, SMS_SUBMIT(x,255,3,1)(325)와 SMS_SUBMIT(x,255,5,1)(333)만 1이고 나머지 SM 세그먼트의 Octet4의 값은 0이다.9 shows an example in which an Extended Concatenation IED field value is set. Referring to FIG. 9, it is assumed that the
상기 제3실시예에 따라 생성되는 SM 세그먼트를 수신하는 SM 단말기(50)는 상기 SM 세그먼트들을 부분적으로 처리하는 것이 가능하기 때문에, 부분적으로 처리했을 경우 Octet3의 값을 기준으로 몇 번째 SM 세그먼트까지 처리했고 다음에 처리될 SM 세그먼트는 몇 번째 SM 세그먼트인지를 저장해야한다. 이에 따라, SM 단말기(50)는 이전에 처리한 SM 세그먼트의 Octet3 값에 1을 더한 값을 카운터 값으로 저장한다. 카운터 값은 다음에 처리할 SM 세그먼트 체인의 첫 번째 SM 세그먼트의 Octet3값이 되며, 상기 카운터의 초기 값은 1이다. 그리고 SM 세그먼트 처리에 따라 변경된 카운터 값은 CPM 단말기(10)와 메시지 통신이 종료되거나, SM 단말기(50)의 전원이 오프되지 않는 한 삭제되지 않는다. 그리고 SM 단말기(50)는 다수의 SM 세그먼트들을 분할 순서에 따라 순차적으로 처리하기 위해 상기 SM 세그먼트 체인을 파악한다. 하나의 SM 세그먼트 체인은 각 SM 세그먼트의 Extended Concatenation IED 필드의 Octet1과 Octet2의 값이 같고, 하나 이상의 연속한 Octet3의 값들을 가지는 SM 세그먼트들의 집합 중에서 가장 큰 집합이며, 상기 집합에 속하는 SM 세그먼트 중에서 Octet3의 값이 가장 큰 SM 세그먼트의 Octet4의 값이 1인 SM 세그먼트를 포함해야한다. 예를 들어, SMS_DELIVER(a,b,c,0), SMS_DELIVER(a,b,c+1,1), SMS_DELIVER(a,b,c+2,1), SMS_DELIVER(a,b,c+5,0)의 SM 세그먼트 중에서 SMS_DELIVER(a,b,c,0), SMS_DELIVER(a,b,c+1,1), SMS_DELIVER(a,b,c+2,1)은 하나의 SM 세그먼트 체인을 구성하지만, SMS_DELIVER(a,b,c,0), SMS_DELIVER(a,b,c+1,1)만으로는 하나의 SM 세그먼트 체인을 구성할 수 없다. 이는 두 SM 세그먼트들의 Octet1과 Octet2의 값은 같지만, 하나 이상의 연속한 Octet3의 값들을 가지는 SM 세그먼트들의 집합 중에서 가장 큰 집합이 아니기 때문이다. 또 다른 예로, 수신된 SM 세그먼트가 SMS_DELIVER(a,b,c,1)뿐이라면, SMS_DELIVER(a,b,c,1)을 SM 세그먼트 체인을 형성한다. 본 발명의 제3실시예에 따라, 상기 카운터와 SM 세그먼트 체인을 파악하여 수신된 SM 세그먼트를 처리하는 SM 단말기(50)의 동작을 도10에 도시하였다. Since the
도10을 참조하여, 701단계에서 SM 단말기(50)는 SM 세그먼트를 수신하면 703단계로 진행하여, 저장된 카운터 값 및 수신된 SM 세그먼트들의 Extended Concatenation IED 필드 값을 파악하고 705단계로 진행한다. 705단계에서 SM 단말기(50)는 Octet3의 값이 상기 카운터의 값인 SM 세그먼트로 시작하는 SM 세그먼트 체인이 존재하는지 파악한다. 즉, SM 단말기(50)는 이전에 수신하여 저장하고 있는 SM 세그먼트와 상기 701단계에서 수신한 SM 세그먼트의 Extended Concatenation IED 필드 값들에 따라 SM 세그먼트 체인이 존재하는지 파한다. SM 세그먼트 체인은 상기한 바와 같이, 각 SM 세그먼트의 Extended Concatenation IED 필드의 Octet1과 Octet2의 값이 같고, 하나 이상의 연속한 Octet3의 값들을 가지는 SM 세그먼트들의 집합 중에서 가장 큰 집합이며, 상기 집합에 속하는 SM 세그먼트 중에서 Octet3의 값이 가장 큰 SM 세그먼트의 Octet4의 값이 1인 SM 세그먼트를 포함한다. 따라서 이러한 조건을 만족하는 SM 세그먼트의 집합을 파악한다. 그리고 SM 단말기(50)는 파악된 SM 세그먼트 체인에 속하는 각 SM 세그먼트들의 Octet3 값들 중 가장 작은 Octet3 값이 카운터의 값과 동일한지 확인한다. 확인 결과, Octet3의 값이 상기 카운터의 값인 SM 세그먼트로 시작하는 SM 세그먼트 체인이 존재하면 707단계로 진행하고, 존재하지 않으면 709단계로 진행하여 SM 세그먼트를 저장하고 상기 701단계로 진행하여 다음 SM 세그먼트의 수신을 대기한다. 707단계에서 SM 단말기(50)는 SM 세그먼트 체인에 포함되는 모든 세그먼트를 처리하여 사용자에게 제공하고 711단계로 진행한다. 711단계에서 SM 단말기(50)는 세그먼트 체인의 마지막 SM 세그먼트의 Octet2과 Octet3값을 비교하여, 동일 여부에 따라 전송 그룹의 마지막 SM 세그먼트가 처리되었는지 파악한다. 마지막 SM 세그먼트가 처리되었다면 713단계로 진행하여 카운터의 값을 1로 초기화하고, 마지막 SM 세그먼트가 처리되지 않았다면 715단계로 진행하여 카운터 값을 상기 SM 세그먼트 체인의 마지막 SM 세그먼트의 Octet3 +1값으로 설정하고 상기 701단계로 진행하여 다음 SM 세그먼트의 수신을 대기한다. Referring to FIG. 10, when the
도면11은 본 발명의 제3실시예에 따른 CPM 서비스 시스템의 동작을 도시하고 있다. 도11의 실시예에서 Extended Concatenation IED 필드는 SMS표준 규격에서 정의하고 있는 8-bit 기준 번호를 사용하는 것으로 가정한다. 도11을 참조하여, CPM 서버(20)는 801단계에서 IWF(30)로 첫 번째 CPM, Normal_Size_CPM1을 전송한다. IWF(30)는 Normal_Size_CPM1을 수신하자마자 SM 세그먼트로 변환하여, SMS_SUBMIT(1,255,1,1)를 통해 SM 서버(40)로 803단계에서 전송한다. SM 서버(40)는 SMS_SUBMIT(1,255,1,1)을 수신하면 SMS_DELIVER(1,255,1,1)로 변환하여 SM 단말기(50)로 전송한다. SM 단말기(50)는 SMS_DELIVER(1,255,1,1)을 수신하면 도10의 알고리즘에 의해서 SMS_DELIVER(1,255,1,1)을 우선적으로 처리한다. 그리고 DELIVERY_REPORT(1,255,1,1)을 809단계에서 SM 서버(40)로 전송한다. IWF(30)는 SM 서버(40)로부터 STATUS_REPORT(1,255,1,1)을 기다리는 동안 807단계에서 CPM 서버(20)로부터 Large_Size_CPM2을 수신한다. Large_Size_CPM2의 사이즈는 SM의 최대 허용 사이즈 보다는 크고 허용 사이즈의 두 배는 넘지 않는다고 가정한다. 실시예2에서와 마찬가지로 IWF(30)는 이전에 전송한 메시지에 대한 수신응답 메시지를 수신할 때까지 기다리지 않고 CPM 서버(20)로부터 메시지를 수신하면 즉시 SM 세그먼트로 변환하여 SM 서버(40)로 전송한다. 따라서 IWF(30)는 Large_Size_CPM2을 두 개의 SM 세그먼트 SMS_SUBMIT(1,255,2,0)와 SMS_SUBMIT(1,255,3,1)로 변환한 후, 각각 811단계와 815단계에 SM 서버(40)로 전송한다. 이때, SMS_SUBMIT(1,255,2,0)는 네트워크 상의 문제 등으로 인해 전송이 지연되어 827단계 이후에 SM 서버(40)로 전송된다고 가정한다. 이에 따라 SM 서버(40)는 SMS_SUBMIT(1,255,3,1)을 먼저 수신하기 때문에 이를 SMS_DELIVER(1,255,3,1)로 변환하여 817단계에서 SM 단말기(50)로 전송한다. SM 단말기(50)는 SMS_DELIVER(1,255,3,1)을 수신하면 도10의 알고리즘에 의해서 SM세그먼트를 처리하지 않고 저장한다. 그리고 DELIVERY_REPORT(1,255,3,1)을 823단계에서 SM 서버(40)로 전송하고, SM 서버(40)는 이를 STATUS_REPORT(1,255,3,1)로 변환하여 825단계에서 IWF(30)로 전송한다.11 shows the operation of the CPM service system according to the third embodiment of the present invention. In the embodiment of FIG. 11, it is assumed that the extended concatenation IED field uses an 8-bit reference number defined in the SMS standard specification. Referring to FIG. 11, the
한편, IWF(30)는 SM 서버(40)로부터 STATUS_REPORT(1,255,3,1)을 기다리는 동안 CPM 서버(20)로부터 Large_Size_CPM3을 수신한다. Large_Size_CPM3의 사이즈는 SM의 최대 허용 사이즈 보다는 크고 허용 사이즈의 두 배는 넘지 않는다고 가정한다. 따라서 IWF(30)는 Large_Size_CPM3을 두 개의 세그먼트 SMS_SUBMIT(1,255,4,0) 와 SMS_SUBMIT(1,255,5,1)로 변환하여 SM 서버(40)821단계와 829단계에서 전송한다. SM 서버(40)는 IWF(30)로부터 SMS_SUBMIT(1,255,4,0)을 수신하고 이를 SMS_DELIVER(1,255,4,0)로 변환하여 827단계에서 SM 단말기(50)로 전송한다. SM 단말기(50)는 SMS_DELIVER(1,255,4,0)을 수신하면 도10의 알고리즘에 의해서 수신 세그먼트를 처리하지 않고 저장한다. 그리고 DELIVERY_REPORT(1,255,4,0)을 833단계에서 SM 서버(40)로 전송하고, SM 서버(40)는 835단계에서 이를 STATUS_REPORT(1,255,4,0)로 변환하여 IWF(30)로 전송한다. On the other hand,
한편, SM 서버(40)는 상기 827단계에서 SMS_DELIVER(1,255,4,0)를 전송한 후에, 바로 IWF(30)로부터 상기 SMS_SUBMIT(1,255,2,0)을 수신한다. 이에 따라 SMS_SUBMIT(1,255,5,1)를 전송하기 전에 SMS_SUBMIT(1,255,2,0)를 SMS_DELIVER(1,255,2,0)로 변환하여 837단계에서 SM 단말기(50)로 전송한다. SM 단말기(50)는 SMS_DELIVER(1,255,2,0)을 수신하면 도10의 알고리즘에 의해서 수신한 SM 세그먼트 SMS_DELIVER(1,255,2,0)와 저장되어 있는 SMS_DELIVER(1,255,3,1)을 우선적으로 처리한다. 그리고 DELIVERY_REPORT(1,255,2,0)을 838단계에서 SM 서버(40)로 전송하고, SM 서버(40)는 이를 STATUS_REPORT(1,255,2,0)로 변환하여 IWF(30)로 전송한다. SM 서버(40)는 IWF(30)로부터 상기 829단계에서 수신한 SMS_SUBMIT(1,255,5,1)를 SMS_DELIVER(1,255,5,1)으로 변환하여 841단계에서 SM 단말기(50)로 전송한다. SM 단말기(50)는 SMS_DELIVER(1,255,5,1)를 수신하면 도10의 알고리즘에 의해서 SMS_DELIVER(1,255,4,0)와 SMS_DELIVER(1,255,5,1)을 우선적으로 처리한다. 그리고 DELIVERY_REPORT(1,255,5,1)를 843단계에서 SM 서버(40)로 전송하고, SM 서버(40)는 이를 STATUS_REPORT(1,255,5,1)로 변환하여 IWF(30)로 전송한다. 이와 같이 본 발명은 CPM 서비스 사용자가 SM 서비스 사용자에게 연속한 메시지를 보낼 때, SM 단말기가 메시지를 수신한 순서가 아니라 송신 측에서 전송된 순서대로 처리할 수 있으므로 CPM과 SM을 이용한 대화형 메시지 교환을 가능하게 한다.On the other hand, the
상술한 본 발명의 설명에서는 구체적인 실시 예에 관해 설명하였으나, 여러 가지 변형이 본 발명의 범위에서 벗어나지 않고 실시할 수 있다. 따라서 본 발명의 범위는 설명된 실시 예에 의하여 정할 것이 아니고 특허청구범위와 특허청구범위의 균등한 것에 의해 정해 져야 한다. In the above description of the present invention, specific embodiments have been described, but various modifications may be made without departing from the scope of the present invention. Therefore, the scope of the present invention should not be defined by the described embodiments, but should be determined by the equivalent of claims and claims.
상술한 바와 같이 본 발명은 CPM 서비스 사용자가 SM 서비스 사용자에게 연속한 메시지를 보낼 때, SM 단말기가 메시지를 수신한 순서가 아니라 송신 측에서 전송된 순서대로 처리할 수 있으므로 CPM과 SM을 이용한 대화형 메시지 교환을 가능하게 한다.As described above, when the CPM service user sends a continuous message to the SM service user, the CPM service user can process the message in the order of transmission from the sender rather than the order of receiving the message. Enable message exchange.
Claims (20)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR20060111717A KR20080043103A (en) | 2006-11-13 | 2006-11-13 | Method and system for interworiking between converged ip messging service and short messaging service |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR20060111717A KR20080043103A (en) | 2006-11-13 | 2006-11-13 | Method and system for interworiking between converged ip messging service and short messaging service |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20080043103A true KR20080043103A (en) | 2008-05-16 |
Family
ID=39661628
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR20060111717A KR20080043103A (en) | 2006-11-13 | 2006-11-13 | Method and system for interworiking between converged ip messging service and short messaging service |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20080043103A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010082801A2 (en) * | 2009-01-19 | 2010-07-22 | Lg Electronics Inc. | Method for delivering cpm message and server thereof |
WO2010082803A2 (en) * | 2009-01-19 | 2010-07-22 | Lg Electronics Inc. | Method for delivering message based on cpm service and server thereof |
WO2010095906A2 (en) * | 2009-02-20 | 2010-08-26 | Samsung Electronics Co., Ltd. | Method for transferring session in converged internet protocol messaging system |
KR101055134B1 (en) * | 2009-01-19 | 2011-08-08 | 엘지전자 주식회사 | Message delivery method |
KR101108776B1 (en) * | 2009-01-19 | 2012-02-24 | 엘지전자 주식회사 | METHOD FOR delivering Message based on CPM service and server thereof |
KR20190007300A (en) * | 2017-07-12 | 2019-01-22 | 주식회사 케이티 | System and Method for Concatenated Short Message Service |
-
2006
- 2006-11-13 KR KR20060111717A patent/KR20080043103A/en not_active Application Discontinuation
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101055134B1 (en) * | 2009-01-19 | 2011-08-08 | 엘지전자 주식회사 | Message delivery method |
KR101108776B1 (en) * | 2009-01-19 | 2012-02-24 | 엘지전자 주식회사 | METHOD FOR delivering Message based on CPM service and server thereof |
US9049165B2 (en) | 2009-01-19 | 2015-06-02 | Lg Electronics Inc. | Method for delivering message based on CPM service and server thereof |
WO2010082801A3 (en) * | 2009-01-19 | 2010-10-28 | Lg Electronics Inc. | Method for delivering cpm message and server thereof |
WO2010082803A3 (en) * | 2009-01-19 | 2010-11-11 | Lg Electronics Inc. | Method for delivering message based on cpm service and server thereof |
US8516051B2 (en) | 2009-01-19 | 2013-08-20 | Lg Electronics Inc. | Method for delivering CPM message and server thereof |
WO2010082803A2 (en) * | 2009-01-19 | 2010-07-22 | Lg Electronics Inc. | Method for delivering message based on cpm service and server thereof |
US8171092B2 (en) | 2009-01-19 | 2012-05-01 | Lg Electronics Inc. | Method for delivering CPM message and server thereof |
WO2010082801A2 (en) * | 2009-01-19 | 2010-07-22 | Lg Electronics Inc. | Method for delivering cpm message and server thereof |
GB2480411A (en) * | 2009-02-20 | 2011-11-16 | Samsung Electronics Co Ltd | Method for tranferring session in converged internet protocol essaging system |
WO2010095906A3 (en) * | 2009-02-20 | 2010-11-25 | Samsung Electronics Co., Ltd. | Method for transferring session in converged internet protocol messaging system |
WO2010095906A2 (en) * | 2009-02-20 | 2010-08-26 | Samsung Electronics Co., Ltd. | Method for transferring session in converged internet protocol messaging system |
GB2480411B (en) * | 2009-02-20 | 2015-10-14 | Univ Seoul Nat R & Db Found | Method for tranferring session in converged internet protocol messaging system |
US9246863B2 (en) | 2009-02-20 | 2016-01-26 | Samsung Electronics Co., Ltd | Method for transferring session in converged Internet protocol messaging system |
KR20190007300A (en) * | 2017-07-12 | 2019-01-22 | 주식회사 케이티 | System and Method for Concatenated Short Message Service |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3914921B2 (en) | Facilitating instant messaging outside user-defined buddy groups in wireless and non-wireless environments | |
US7630705B2 (en) | Message format conversion in communications terminals and networks | |
US10382909B2 (en) | Method for transmitting messages in a telecommunications network | |
US8649314B2 (en) | Peer-to-peer mobile data transfer method and device | |
EP2509344B1 (en) | Method for transmitting and receiving multimedia information and terminal thereof | |
MXPA04004618A (en) | Sending voicemail messages to multiple users. | |
EP1850545A1 (en) | Voice messaging method and mobile terminal supporting voice messaging in mobile messenger service | |
EP1770582A1 (en) | Method, system and apparatus for limiting short message forwarding | |
KR20080043103A (en) | Method and system for interworiking between converged ip messging service and short messaging service | |
KR101567292B1 (en) | Interface between restful web services and packet-switched networks for text messaging | |
US8050269B2 (en) | Mobile terminal and message transmitting/receiving method for adaptive converged IP messaging | |
CN103023868A (en) | Page-mode messaging | |
CN101083788B (en) | Method and system for automatic selecting mail transmitting account | |
CN1585372A (en) | Method and system for transmitting information from information system to mobile terminal | |
CN101106754B (en) | A method for transmitting SMS to gateway in mobile network | |
CN101686582A (en) | Method, device and system for processing value added services for short message service | |
EP1793544B1 (en) | A method for processing the message in the multimedia message service and a system thereof | |
CN114222258B (en) | Method for realizing multimedia message communication between 5G message mobile phone and Beidou terminal | |
KR101790896B1 (en) | Apparatus for message processing and control method thereof | |
CN101309303B (en) | PC side and wireless terminal equipment combined multimedia message sending method | |
CN103139721A (en) | Short message / multimedia message mass texting method and short message / multimedia message sending and receiving method and relative equipment | |
CN103079175B (en) | A kind of media information sending method and system across operation system | |
JP5243948B2 (en) | Short message control device and short message control method | |
CN101588546A (en) | Method, device and system for transmitting non-CPM service | |
CN101155338A (en) | Short message condition processing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
WITN | Withdrawal due to no request for examination |