KR19980044280A - How to input a short message into the short message service center database of a cellular system - Google Patents

How to input a short message into the short message service center database of a cellular system Download PDF

Info

Publication number
KR19980044280A
KR19980044280A KR1019960062347A KR19960062347A KR19980044280A KR 19980044280 A KR19980044280 A KR 19980044280A KR 1019960062347 A KR1019960062347 A KR 1019960062347A KR 19960062347 A KR19960062347 A KR 19960062347A KR 19980044280 A KR19980044280 A KR 19980044280A
Authority
KR
South Korea
Prior art keywords
message
address
buffer
input
subscriber
Prior art date
Application number
KR1019960062347A
Other languages
Korean (ko)
Inventor
현은희
김성희
Original Assignee
양승택
한국전자통신연구원
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 양승택, 한국전자통신연구원 filed Critical 양승택
Priority to KR1019960062347A priority Critical patent/KR19980044280A/en
Publication of KR19980044280A publication Critical patent/KR19980044280A/en

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

본 발명은 텔레서비스 계층의 프로토콜에 따라 단문서비스 센터로 전달되는 단문제시지 정보들이 착신가입자의 메시지 불능상태를 이유로 전송되지 못할 경우에 데이터베이스에 저장하는 방법에 관한 것이다. 그 목적은 착신가입자 위주의 범위 질의 및 발신가입자 위주의 랜덤질의에 적합하도록 고안된 특별한 데이터 구조를 기반으로 단문메시지 데이터베이스의 데이터 구조에 따라 효율적인 단문메시지의 입력 절차를 수행하도록 하는 데에 있다. 그 특징은 착신가입자별로 메시지를 저장하는 단계 및 발신가입자별로 메시지를 저장하는 단계로 이루어지는 데에 있다.The present invention relates to a method of storing short message information delivered to a short message service center according to a protocol of a teleservice layer in a database when a message cannot be transmitted due to a message incapable state of a called party. Its purpose is to perform an efficient short message entry procedure based on the data structure of a short message database based on a special data structure designed for a recipient-based range query and a subscriber-based random query. The characteristic is that it consists of storing a message for each called party and storing a message for each calling party.

Description

셀룰러 시스템의 단문서비스 센터 데이터베이스에 대한 단문메시지의 입력방법How to input a short message into the short message service center database of a cellular system

본 발명은 셀룰러 시스템에 적용된 단문서비스 센터를 위한 데이터베이스에서 단문메시지 정보를 입력하는 방법에 관한 것으로서, 특히 텔레서비스 계층의 프로토콜에 따라 단문서비스 센터로 전달되는 단문메시지 정보들이 착신가입자의 메시지 불능상태를 이유로 전송되지 못할 경우에 데이터베이스에 저장하는 방법에 관한 것이다.The present invention relates to a method for inputting short message information in a database for a short message service center applied to a cellular system. In particular, the short message information delivered to a short message service center according to a protocol of a teleservice layer is used to determine a message incapable state of a called party. It's about how to store it in the database if it can't be sent for a reason.

일반적으로, 이동통신 수단을 활용한 단문서비스의 제공은 이동하는 가입자들 사이의 음성정보 전달에 뒤이어 이동단말기를 휴대한 가입자가 언제 어디서나 한정된 크기의 메시지를 원하는 곳으로 송수신하는 행위를 가능케한다. 이를 위해 이동통신망에서의 단문서비스 센터는 SME(Short Message Entity)라 부르는 최종단말 사이에 한정된 길이의 문자정보를 교환하도록 중계하는 시스템이다. 메시지의 전달서비스는 발신가입자의 메시지가 언제 어디서나 정확히 전달됨을 보장하여야 하므로 임의의 착신가입자가 서비스 영역밖에 존재하거나 단말기의 전원이 차단되어 메시지의 수신이 불가능한 경우에도 그 가입자로 전달되어야 할 메시지들이 유실되지 않아야 한다. 그러므로 단문서비스 센터는 수신 불가능한 가입자들에게 전달되어야 할 메시지를 센터 내의 데이터베이스에 저장하였다가 수신 가능한 상태로 인지되었을 때에 전달하는 기능을 갖는다. 이를 위해 데이터베이스는 발신가입자로부터 수신된 메시지가 착신가입자에게 전달될 수 없음을 인지했을 때에 그 메시지를 데이터베이스에 입력하게 된다. 그러나, 종래에는 메시지의 전달서비스가 발신가입자의 메시지가 언제 어디서나 정확히 전달됨을 보장하지 못하였고, 임의의 착신가입자가 서비스 영역밖에 존재하거나 단말기의 전원이 차단되어 메시지의 수신이 불가능한 경우에도 그 가입자로 전달되지 못하여 메시지들이 유실되는 문제점이 있었다.In general, the provision of a short message service using a mobile communication means enables a subscriber carrying a mobile terminal to send and receive a message of a limited size anytime, anywhere, following voice information transfer between mobile subscribers. For this purpose, a short message service center in a mobile communication network is a system for relaying a limited length of character information between end terminals called SMEs (Short Message Entity). Since the message delivery service must guarantee that the originating subscriber's message is correctly delivered anytime and anywhere, the message to be delivered to the subscriber is lost even if any called party is out of the service area or the terminal is powered off and it is impossible to receive the message. Should not be. Therefore, the short service center has a function of storing a message to be delivered to unreceivable subscribers in a database in the center and delivering the message when it is recognized as receivable. To this end, when the database recognizes that a message received from a calling party cannot be delivered to the called party, it enters the message into the database. However, in the related art, the message delivery service does not guarantee that the originating subscriber's message is correctly delivered anytime and anywhere, and even if any called party is outside the service area or the terminal is powered off, it is impossible to receive the message. There was a problem that the messages were lost because they could not be delivered.

상기 문제점을 해결하기 위하여 안출된 본 발명은 착신가입자 위주의 범위 질의 및 발신가입자 위주의 랜덤질의에 적합하도록 고안된 특별한 데이터구조를 기반으로 단문메시지 데이터베이스의 데이터 구조에 따라 효율적인 단문메시지의 입력 절차를 수행하도록 하는 데에 그 목적이 있다.In order to solve the above problems, the present invention performs an efficient short message input procedure according to the data structure of a short message database based on a special data structure designed to be suitable for a recipient-based range query and a caller-based random query. The purpose is to make it work.

상기 목적을 달성하기 위한 본 발명의 특징은 착신가입자별로 메시지를 저장하는 단계 및 발신가입자별로 메시지를 저장하는 단계로 이루어지는 데에 있다.A feature of the present invention for achieving the above object is to consist of storing a message for each called party and a message for each calling party.

또한, 본 발명의 적용대상이 되는 단문서비스 센터 베이터베이스 시스템은 객체지향 개념에 의해 구현된 객체지향 데이터베이스 시스템으로 데이터의 구조부터 데이터를 운용하는 프로그램에 이르기까지 모든 기능들이 객체지향 언어인 C++로 구현되어 있다.In addition, the short-term service center database system to which the present invention is applied is an object-oriented database system implemented by an object-oriented concept, and all functions from the structure of data to the program that operates the data are implemented in C ++, an object-oriented language. It is.

도 1 은 본 발명이 적용되는 CMS 망의 구조도,1 is a structural diagram of a CMS network to which the present invention is applied;

도 2 는 본 발명에서 사용한 단문서비스 메시지 센터의 구성도,2 is a block diagram of a short message service center used in the present invention;

도 3 은 본 발명에서 제안된 단문메시지 데이터 관리 구조도,3 is a structure of a short message data management proposed in the present invention;

도 4 는 단문메시지 데이터베이스에 대한 메시지 입력 절차도.4 is a message entry procedure for a short message database.

데이터들을 입력하는 절차는 데이타베이스 스키마에 많이 의존한다. 액세스 기법이나 메모리 구조를 유지하도록 수행되어야 한다. 본 발명의 대상이 되는 단문서비스 센터는 많이 개발되고 있으며 특히 데이터베이스 시스템 측면에서 기존의 널리 사용되고 있는 릴레이션널 데이터베이스 시스템이 아닌 객체지향 데이터베이스 기법을 적용하고 있다. 또한 단문서비스 센터의 데이터베이스는 단문서비스 관리와 단문메시지의 특성을 반영하여 최적의 성능을 제공할 수 있도록 새로운 구조의 데이터 스키마를 지원하므로 본 발명에 기술된 단문메시지 데이터베이스 입력절차는 기존의 데이터베이스 시스템의 것과 상이하며 효율적인 데이터 관리를 가능케 한다.The procedure for entering data depends a lot on the database schema. It must be done to maintain access techniques or memory structures. Short message service centers that are the subject of the present invention are being developed a lot, and in particular, the object-oriented database technique is applied rather than the existing widely used relational database system in terms of database system. In addition, since the database of the short message service center supports a new structure of data schema to provide optimal performance by reflecting the characteristics of the short message service management and the short message, the short message database input procedure described in the present invention is performed in the existing database system. It is different from that and enables efficient data management.

도 1 은 본 발명이 적용되는 CMS 망의 구조도이다. 도 1 을 참조하여 본 발명이 적용되는 CMS 망의 구조를 설명하면 다음과 같다.1 is a structural diagram of a CMS network to which the present invention is applied. Referring to Figure 1 describes the structure of a CMS network to which the present invention is applied.

이는 CMS(CDMA Mobile System) 망 구조로 CDMA 디지털 셀룰러 시스템에 SMS-MC(106)노드를 추가하는 형태로 이루어진다. MS(Mobile Station)(101)는 IS-637 단문서비스용 프로토콜 처리기능, PC와의 EIA-232-E I/F 기능, 단문서비스용 MMI(Man-Machine Interface) 기능을 지원하는 이동가입자 단말기이다. BTS(Basestation Transceiver System)는 액세스/페이징 채널을 통한 단문메시지 송수신 기능을 지원하고, BSC(Base Station Controller)는 트래픽 채널을 통한 단문메시지 송수신 기능과, 데이터 버스트 메세지를 단문메세지르 포멧 변환/역변환하는 기능, 그리고 서비스 옵션처리 기능을 지원한다(102). MSC(Mobile Switching Center)(103)는 IS-637 단문서비스용 트랜스포트 프로토콜 처리기능, 단문서비스 메시지센터의 대표번호 식별 및 접속기능, 공중전화망(Public Switched Telephone Network, 이하 PSTN이라고 약칭함)(107)으로부터의 단문서비스 센터로의 중계호 처리 및 트렁크 접속기능을 제공한다. 방문가입자 위치등록기(VLR:Visiter Location Register)(104)은 단문메시지 발신가입자 인증기능과 발착신 단문시 단문서비스 가입자 정보 검색기능, 착신 단문서비스 센터로의 루팅기능, 위치등록이 되지 않는 발착신가입자의 위치 등록 기능을 수행한다. 본 가입자 위치등록기/인증센터(Home Location Register/Authentication Center, 이하 HLR/AC라고 약칭함)(105)는 이동가입자 정보관리 기능, 루팅정보 관리 기능, 단문서비스 과금분류 기능, 단문 서비스 인증 기능, 착신단말의 단문메시지 수신가능 통보기능을 지원한다. SMS-MC(106)는 이동국과 이동국간 그리고 이동국과 SME(Short Message Entity)간에 간단한 문자열을 제한된 크기의 메시지 형태로 전달하는 단문 메세지 서비스를 수행하는 시스템으로 MSC/VLR과 HLR/AC와 No. 7 신호 방식으로 연결되고 이를 기반으로 하여 SMS MAP 프로토콜(109)을 사용하여 비실시간 메세지 전달 특성인 저장-전송(Store-and-Forward) 기능을 지원한다. 또한 단문서비스 제공자(Service Provider, 이하, SP라고 약칭함)(110)와의 정합을 위하여 X.25 혹은 이더넷(Ethernet) 프로토콜로 공중 데이터망(Public Swithched Packet Data network, 이하 PSPDN이라고 약칭함)(108)과 접속되어 날씨, 여행, 도로교통 정보 안내, 신용카드 인증 및 조회, 원격감시, 자동 차량 항법 등과 같은 단문메세지로 표현 가능한 부가 서비스를 제공한다.This is a form of adding an SMS-MC 106 node to a CDMA digital cellular system in a CMS (CDMA Mobile System) network structure. MS (Mobile Station) 101 is a mobile subscriber station that supports protocol processing for IS-637 short service, EIA-232-E I / F function with PC, and MMI (Man-Machine Interface) function for short service. BTS (Basestation Transceiver System) supports short message transmission and reception through access / paging channel, and BSC (Base Station Controller) supports short message transmission and reception through traffic channel and data burst message to short message format conversion / inverse conversion. Function, and service option processing function (102). MSC (Mobile Switching Center) 103 is a transport protocol processing function for IS-637 short message service, representative number identification and access function of short message service center, public switched telephone network (hereinafter abbreviated as PSTN) (107) It provides relay call processing and trunk access function to short message service center. Visitor Location Register (VLR) 104 is a short message originating subscriber authentication function, incoming and outgoing short message service, subscriber information retrieval function, routing function to incoming short service center, incoming and outgoing subscriber not registered location. Performs the location registration function. The home location register / authentication center (hereinafter abbreviated as HLR / AC) 105 is a mobile subscriber information management function, a routing information management function, a short message service billing function, a short message service authentication function, and an incoming call. Supports a short message receiving notification function of the terminal. The SMS-MC 106 is a system that performs a short message service that delivers a simple character string in a limited size message form between a mobile station and a mobile station and between a mobile station and a short message entity (SME). It is connected by 7 signaling schemes and based on this, the SMS MAP protocol 109 is used to support the store-and-forward function, which is a non-real-time message delivery characteristic. In addition, in order to match with a short service provider (hereinafter, abbreviated as SP) 110, a public Swithched Packet Data network (hereinafter abbreviated as PSPDN) using an X.25 or Ethernet protocol (108) ) Provides additional services that can be expressed in short messages such as weather, travel, road traffic information, credit card authentication and inquiry, remote monitoring, and automatic vehicle navigation.

도 2 는 본 발명에서 사용한 단문서비스 메시지 센터의 구성도이다. 도 2 를 참조하여 본 발명에서 사용한 단문서비스 메시지 센터의 구성을 설명하면 다음과 같다.2 is a block diagram of a short message service center used in the present invention. Referring to Figure 2 describes the configuration of a short message service center used in the present invention.

이는 SMS-MC의 플랫폼 구조도이다. 단문서비스 메시지 센터는 UNIX System V를 운영체제로 한 4개의 컴퓨터 시스템을 LAN으로 연결하고 있으며, 용량에 따라 추가가 용이하게 설계되었다. IP(Intelligent Peripheral)는 PSTN 가입자에게 다양한 정보의 입출력을지원하기 위하여, 주문화된 안내방송 장치, 음성/언어 합성 및 인식장치, DTMF 디지트 수신기, 톤 생성기, MF 톤 생성기 등과 같은 특수한 자원을 가지고 사용자와 망 사이의 유연한 상호작용을 제공한다(202). IN(Intelligent Network)은 No. 7 신호 망 접속을 위한 No.7 프로토콜 스택과 No.7 운용 관리 일체를 제공하며 TCAP API를 이용하여 CMS(CDMA Mobile System) MAP 프로토콜 및 텔레서비스 계층 프로토콜을 처리하며 LAN으로 연결된 MC와 데이터를 송수신한다(203). SMS Service Logic을 처리하는 MC(Message Center)는 단문메시지 데이터베이스를 이용한 SMS 응용기능들로 구성되며, PSPDN 외부서비스 제공자 정합을 지원하기 위하여 X.25 및 이더넷 인터페이스를 제공한다(201). SMS OAM(Operating and Maintenance)은 이러한 시스템들의 상태관리 빛 형상관리 등의 운용보전 기능을 수행한다(204).This is the platform structure of SMS-MC. The short message service center connects four computer systems with UNIX System V as the LAN and is designed to be easy to add depending on the capacity. Intelligent Peripheral (IP) provides users with special resources such as customized announcement devices, voice / language synthesis and recognition devices, DTMF digit receivers, tone generators, and MF tone generators to support input and output of various information to PSTN subscribers. It provides a flexible interaction between and the network (202). Intelligent Network (IN) is No. 7 Provides No.7 protocol stack and No.7 operation management for signaling network access, handles CMS (CDMA Mobile System) MAP protocol and teleservice layer protocol using TCAP API, and transmits and receives data with MC connected via LAN (203). The Message Center (MC) that processes the SMS Service Logic is composed of SMS application functions using a short message database, and provides X.25 and Ethernet interfaces to support PSPDN external service provider matching (201). SMS OAM (Operating and Maintenance) performs the operation maintenance functions such as state management light configuration management of these systems (204).

도 3 은 본 발명에서 제안된 단문메시지 데이터 관리 구조도이다. 도 3 은 본 발명에서 제안된 단문메시지 데이터 관리 구조를 설명하면 다음과 같다.3 is a structure of a short message data management proposed in the present invention. 3 is a diagram illustrating a short message data management structure proposed in the present invention.

단문메시지 데이터베이스를 이용하는 단문서비스 응용 프로그램의 핵심 트랜잭션은 셀룰러 네트워크의 모든 가입자들에 대한 등록 및 위치정보를 총괄하는 본 가입자 위치등록기로부터 임의의 시점에 임의의 착신가입자가 메시지 수신가능 상태임을 통보받은 경우에 데이터베이스에 저장되어 있는 모든 메시지를 검색하여 해당 착신가입자에 대한 메시지를 전달하는 것이다. 또한, 이러한 트랜잭션은 메시지를 전달하고자 할 때에 해당 착신가입자가 서비스 영역 밖에 있거나 이동 단말기의 전원이 차단되어 있을 경우에 그 메시지를 데이터베이스에 저장하는 트랜잭션이 선행되고, 정상적으로 메시지 전송이 완료된 경우에 데이터베이스로부터 메시지를 삭제하는 트랜잭션이 수행됨으로 전제로 한다. 이때, 메시지의 저장 및 삭제 연산은 특정 메시지 한 개에 대한 처리를 필요로 하므로 랜덤 액세스 형태를 취하고 있으며, 경우에 따라 발신가입자 번호나 착신가입자 번호, 메시지가 저장된 시간, 그리고 메시지의 ID 등에 의해 질의가 수행된다. 그러나 메시지의 검색연산은 특정 착신가입자를 기준으로 동시에 다수의 메시지 검색을 요하는 범위퀘리(range query) 형태를 취하게 된다. 단문서비스 센터에서 관리되어야 할 메시지들은 크게 기본서비스 메시지와 부가서비스 메시지로 나눌 수 있고 기본서비스를 위한 메시지는 CPT 메시지와, CMT 메시지, VMN 메시지, EMN 메시지, FMN 메시지, UserAck 메시지, DeliveryAck 메시지, 그리고 CancellationAck 메시지로 구분되고 부가서비스를 위한 메시지는 단문서비스 센터에 연결된 서비스 제공자들로부터 수신한 메시지 정보들이 있다. 본 발명에서는 이들 각각의 메시지 종류별로 메시지 버퍼(302, 303, 304)를 정의하는데, 메시지 버퍼는 하나의 착신가입자에 대해 CPT 메시지 버퍼, CMT 메시지 버퍼, VMN 메시지 버퍼, EMN 메시지 버, FMN 메시지 버퍼, UserAck 메시지 버퍼, DeliveryAck 메시지 버퍼, CancellationAck 메시지 버퍼와 같이 8개의 메시지 버퍼가 할당되고 이들 메시지 버퍼들은 동일한 착신가입자에 대해 그룹으로 모아져서 정보를 검색하기 용이하게 구성한다. 메시지 버퍼들의 그룹(308)에는 한 개 이상 8개 이하의 메시지 버퍼들이 존재하게 되고 메시지의 입력 및 삭제 연산에 따라 동적으로 할당되거나 해제된다. 착신가입자를 위한 메시지 버퍼의 그룹은 반드시 동일한 클러스터(305, 306) 내에 저장되고 단문 데이터베이스를 위해 할당한 캐쉬영역이 사용가능한 한 모든 클러스터를 캐쉬 내에 즉 주메모리 내에 저장하므로서 정보검색 도중 디스크 연산을 배재한다. 또한 이들 각 그룹의 주소는 착신가입자 메시지 버퍼(301)에 각각의 착신가입자 번호와 함께 저장되어 임의의 착신가입자에 대한 데이터 검색시 그 가입자에 대한 모든 메시지들을 검색할 수 있도록 한다. 랜덤 액세스 형태를 갖는 발신가입자 번호를 통한 데이터의 검색을 위해서도 착신가입자 운용방식과 같이 메시지 종류별로 메시지 버퍼를 구성하고 동일한 발신가입자를 위한 메시지 버퍼들을 그룹핑하여 발신가입자 메시지 버퍼(307)에 저장하도록 구성하지만 단지 특정 발신가입자에 대한 메시지 버퍼들은 서로 다른 클러스터에 저장할 수 있으며 이러한 구조가 운용중 데이터 접근 성능을 저하시키지 않는다. 또한 신속한 데이터 검색을 위해 발/착신가입자 메시지 버퍼는 특정 클러스터에 별도로 저장되어 항상 주메모리에 상주하도록 한다.When a core transaction of a short service application using a short message database is informed that any called party can receive a message at any point in time from the present subscriber's location register which oversees registration and location information for all subscribers of the cellular network. All messages stored in the database are retrieved and delivered to the called party. In addition, such a transaction is preceded by a transaction for storing the message in the database when the called party is out of the service area or when the mobile terminal is turned off when the message is to be delivered, and from the database when the message transmission is normally completed. It is assumed that a transaction for deleting a message is performed. At this time, the storage and deletion operation of a message requires processing of one specific message, and thus takes a random access form. In some cases, the query is performed based on the calling party number, the called party number, the time the message is stored, and the message ID. Is performed. However, the message retrieval operation takes the form of a range query that requires retrieval of multiple messages at the same time based on a specific subscriber. The messages to be managed in the short service center can be divided into basic service message and supplementary service message. The messages for basic service are CPT message, CMT message, VMN message, EMN message, FMN message, UserAck message, DeliveryAck message, and The message for the supplementary service is divided into a CancellationAck message and includes message information received from service providers connected to the short service center. In the present invention, the message buffers 302, 303, and 304 are defined for each of these message types. The message buffer is a CPT message buffer, a CMT message buffer, a VMN message buffer, an EMN message buffer, or an FMN message buffer. Eight message buffers are allocated, such as UserAck message buffer, DeliveryAck message buffer, and CancellationAck message buffer, and these message buffers are grouped for the same called party for easy retrieval of information. One or more message buffers exist in the group of message buffers 308 and are dynamically allocated or released according to the message input and delete operations. The group of message buffers for the called party must be stored in the same cluster (305, 306) and exclude all disk operations during information retrieval by storing all clusters in cache, i.e., in main memory, as long as the cache area allocated for the short database is available. do. In addition, the address of each of these groups is stored in the recipient message buffer 301 together with each called party number so that all messages for that subscriber can be retrieved when retrieving data for any called party. In order to retrieve data through a subscriber number having a random access form, a message buffer is configured for each message type as in a recipient operation method, and the message buffers for the same calling party are grouped and stored in the subscriber message buffer 307. However, only message buffers for a particular sender can be stored in different clusters, and this structure does not degrade data access performance during operation. Also, for fast data retrieval, incoming / outgoing message buffers are stored separately in a specific cluster so that they always reside in main memory.

이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 실시예들 중의 하나를 상세히 설명한다.Hereinafter, with reference to the accompanying drawings will be described in detail one of the preferred embodiments according to the present invention.

본 발명에서 제안된 단문서비스 센터 데이터베이스의 데이터 입력 절차는 라이브러리 형태로 제공되며 데이터베이스에 메시지 정보를 저장하고자 하는 응용 프로그램과 함께 링크되어 동작하며 그 구성과 작용은 도 4 를 통해 상세히 기술한다.The data input procedure of the short service center database proposed in the present invention is provided in the form of a library and is linked to and operated with an application program for storing message information in the database, and its configuration and operation will be described in detail with reference to FIG. 4.

도 4 는 단문메시지 데이터베이스에 대한 메시지 입력 절차도이다. 도 4 를 참조하여 단문메시지 데이터베이스에 대한 메시지 입력절차를 설명하면 다음과 같다.4 is a message input procedure diagram for a short message database. Referring to Figure 4 describes the message input procedure for the short message database as follows.

단문메시지를 데이터베이스에 입력하고자 하는 응용 프로그램이 각 서비스 별로 저장할 단문메시지 정보를 가지고 SubmitInsert() 프로시져를 호출함으로써 시작되는데, 먼저 SubmitInsert() 프로시져가 호출된다.An application that wants to enter a short message into the database is started by calling the SubmitInsert () procedure with the short message information to be stored for each service. The SubmitInsert () procedure is called first.

S1에서는 응용 프로그램으로부터 전달된 메시지를 분석하여 착신가입자 번호를 얻는다. 해당 착신가입자에 대한 메시지 버퍼의 그룹에 대한 주소를 얻기 위해 착신가입자 딕셔너리를 검색한다. S2에서는 딕셔너리에서 메시지 버퍼 그룹에 대한 주소를 얻었는지 판단한다.In S1, the recipient number is obtained by analyzing the message delivered from the application. Search the subscriber dictionary to get the address of the group of message buffers for that recipient. In S2, it is determined whether the dictionary has obtained the address of the message buffer group.

상기 S2에서 딕셔너리에서 메시지 버퍼 그룹에 대한 주소를 얻은 경우에는 S3에서는 메시지 버퍼 그루으로부터 입력된 메시지의 서비스 유형에 대한 메시지 버퍼의 주소를 얻는다. S4에서는 얻어진 메시지 버퍼를 검색하여 입력된 메시지의 착신가입자 번호에 대한 메시지가 존재하는지 검색한다. 상기 S4에서 해당 착신가입자에 대한 메시지 오브젝트가 존재하는 경우에, S5에서는 서비스 타입별 메시지 버퍼로부터 메시지의 주소를 얻는다. S6에서는 그 오브젝트가 저장된 주소를 이용하여 그 메시지의 메시지 ID와 입려력하고자 하는 메시지의 메시지 ID를 비교한다. 상기 S6에서 메시지 ID가 동일한 경우에, S7에서는 이미 저장되어 있는 메시지의 저장시간과 새로 저장될 메시지의 저장시간을 비교한다. 상기 S7에서 메시지의 저장시간들이 동일한 경우에, S8에서는 메시지 입력이 거절되고 입력 절차가 종료된다. 이는 새로 입력하고자 하는 메시지와 동일한 메시지가 이미 데이터베이스 내에 존재하는 상태이다. 상기 S4에서 해당 착신가입자에 대한 메시지 오브젝트가 존재하지 않는 경우에, 또는 상기 S6에서 메시지 ID가 다른 경우에, 또는 상기 S7에서 비교된 메시지 저장시간이 다른 경우에, S9에서는 입력하고자 하는 메시지를 저장할 수 있는 상태로 되어 새로운 메시지를 위한 메시지 클래스 인스턴스를 생성한다. S10에서는 이렇게 생성된 메시지 인스턴스의 주소를 상기 S3에서 얻어진 메시지 버퍼에 저장한다. 발신가입자 데이터 구성절차를 수행한다. 발신가입자 데이터 저장단계는 착신가입자 데이터처리시 정상적으로 입력된 경우에만 수행할 수 있도록 되어 있으며 입력하고자 하는 메시지의 저장여부는 이미 검증된 상태이므로 별도의 검증 없이 데이터 구조를 구성한다.When the address of the message buffer group is obtained from the dictionary at S2, at S3, the address of the message buffer for the service type of the message inputted from the message buffer group is obtained. In S4, the obtained message buffer is searched for whether a message for the called party number of the input message exists. If there is a message object for the called party in S4, in S5, the address of the message is obtained from the message buffer for each service type. In S6, the message ID of the message is compared with the message ID of the message to be entered using the address where the object is stored. When the message IDs are the same in S6, in S7, a storage time of a message already stored and a storage time of a new message to be stored are compared. If the storage times of the message are the same at S7, the message input is rejected at S8 and the input procedure ends. This is the same message already exists in the database. When there is no message object for the called party in S4, or when the message ID is different in S6, or when the message storage time compared in S7 is different, S9 stores a message to be input. Can be created to create a message class instance for a new message. In S10, the address of the message instance thus generated is stored in the message buffer obtained in S3. Perform the subscriber data configuration procedure. The calling party data storage step can be performed only when it is normally input during the called party data processing, and whether or not to store the input message is already verified, so the data structure is configured without additional verification.

한편, 상기 S2에서 딕셔너리에서 메시지 버퍼 그룹에 대한 주소를 얻지 못한 경우에는 S11에서는 해당 착신가입자에 대한 메시지가 하나도 존재하지 않는 경우로 새로운 메시지를 위한 클래스의 인스턴스를 생성한다. S12에서는 해당 메시지의 서비스 유형에 대한 메시지 버퍼를 영역을 할당한다. 그 때에 메시지 버퍼는 8개의 서비스 유형에 따라 각각 생성한다. S13에서는 메시지 인스턴스의 주소를 새로 생성된 메시지 버퍼에 저장한다. S14에서는 해당 메시지 버퍼가 속한 메시지 버퍼 그룹의 주소를 착신가입자 딕셔너리에 저장한다.On the other hand, if it is not possible to obtain the address of the message buffer group in the dictionary in S2, S11 creates an instance of a class for a new message because no message exists for the called party. In S12, a message buffer area for a service type of a corresponding message is allocated. Message buffers are then created for each of the eight service types. In S13, the address of the message instance is stored in the newly created message buffer. In S14, the address of the message buffer group to which the corresponding message buffer belongs is stored in the called party dictionary.

S10 수행후 또는 S14 수행후, S15에서는 우선 발신가입자 딕셔너리로부터 해당 메시지의 발신가입자 메시지 정보를 저장하는 메시지 버퍼 그룹의 주소를 검색한다. S16에서는 딕셔너리 내의 정보를 발견하였는지 판단한다. 상기 S16에서 발신가입자 딕셔너리로부터 메시지 버퍼 그룹의 주소를 발견하지 못했을 경우에, S17에서는 새로운 메시지 버퍼를 생성한다. S18에서는 입력될 메시지의 인스턴스를 생성한다. 상기 S16에서 메시지 버퍼 그룹이 존재하는 경우에, S19에서는 메시지 클래스의 인스턴스를 생성한다.After performing S10 or after performing S14, first, in S15, the address of the message buffer group that stores the subscriber message information of the corresponding message is retrieved from the subscriber dictionary. In S16, it is determined whether information in the dictionary is found. If no address of the message buffer group is found from the subscriber dictionary in S16, then S17 creates a new message buffer. In S18, an instance of the message to be input is created. If there is a message buffer group in S16, an instance of a message class is created in S19.

상기 S18 수행후, 또는 상기 S19 수행후, S20에서는 그 주소를 메시지 버퍼에 저장한다. S21에서는 해당 메시지 버퍼가 속한 메시지 버퍼 그룹의 주소르를 딕셔너리에 저장함으로써 입력 절차를 성공적으로 종료한다.After performing S18 or after performing S19, in S20, the address is stored in the message buffer. In S21, the input procedure is successfully terminated by storing the address of the message buffer group to which the message buffer belongs in the dictionary.

해당 메시지 버퍼에 연결하고 그 메시지 버퍼그룹의 주소를 딕셔너리에 저장한다.Connect to the message buffer and store the address of the message buffer group in the dictionary.

상술한 바와 같은 절차는 셀룰러 시스템 내의 본 가입자 위치등록기로부터 해당 착신가입자의 메시지 수신상태 복구통보를 받았을 때에 데이터베이스에 저장되어 있던 메시지들을 검색하여 전달할 수 있도록 하기 위해 전제되어야 하는 절차이다. 특히 이 절차은 착신가입자 위주의 범위 질의 및 발신 가입자 위주의 랜덤 질의에 적합하도록 고안된 특별한 데이터 구조를 기반으로 수행되도록 제안되었다.The procedure as described above is a prerequisite procedure for retrieving and forwarding the messages stored in the database when receiving the message reception status recovery notification of the called subscriber from the subscriber location register in the cellular system. In particular, this procedure is proposed to be performed based on a special data structure designed to be suitable for the recipient-based range query and the originating subscriber-based random query.

상술한 바와 같은 본 발명에서 제안된 단문서비스 센터의 단문메시지 입력 절차는 도 3 에서 나타낸 단문메시지 데이터베이스의 효율적인 운용을 지원한다. 이러한 데이터베이스의 구조는 단문서비스를 CPT 서비스, CMT 서비스, VMN 서비스, EMN 서비스, FMN 서비스, UserAck 서비스, DeliveryAck 서비스, CancellationAck 서비스, 그리고 부가서비스로 구분하여 이들 각각에 대한 메시지 버퍼를 관리하고 착신가입자에 의한 신속한 데이터 검색을 위해 동일 착신가입자에 대한 메시지 버퍼들을 그룹핑 하도록 데이터 입력 절차를 수행하므로서 한정된 메모리의 효율적인 관리와 실시간의 데이터 검색을 지원할 수 있는 메시지 저장을 보장한다는 데에 그 효과가 있다.The short message input procedure of the short message service center proposed in the present invention as described above supports the efficient operation of the short message database shown in FIG. 3. The structure of this database divides short service into CPT service, CMT service, VMN service, EMN service, FMN service, UserAck service, DeliveryAck service, CancellationAck service, and supplementary service, and manages the message buffer for each of them. The data entry procedure is performed to group message buffers for the same called party for quick data retrieval, thereby ensuring the efficient storage management of the limited memory and the message storage that can support real-time data retrieval.

Claims (5)

착신가입자별로 메시지를 저장하는 단계; 및Storing a message for each called party; And 발신가입자별로 메시지를 저장하는 단계로 이루어지는 것을 특징으로 하는 셀룰러 시스템의 단문서비스 센터 베이터베이스에 대한 단문메시지의 입력방법.A method for inputting a short message to a short message service center database of a cellular system, characterized by storing the message for each calling party. 제 1 항에 있어서,The method of claim 1, 상기 착신가입자 메시지 저장단계가,The recipient message storage step, 응용 프로그램으로부터 전달된 메시지를 분석하여 착신가입자 번호를 얻는 단계;Analyzing the message delivered from the application to obtain a called party number; 해당 착신가입자에 대한 메시지 버퍼의 그룹에 대한 주소를 얻기 위해 착신 가입자 사전을 검색하여 상기 사전에서 메시지 버퍼 그룹에 대한 주소를 얻었는지 판단하는 단계;Searching the called subscriber dictionary to obtain an address for the group of message buffers for the called party and determining whether an address for the group of message buffers is obtained from the dictionary; 상기 사전에서 상기 메시지 버퍼 그룹에 대한 주소를 얻은 경우에는 상기 메시지 버퍼 그룹으로부터 입력된 메시지의 서비스 유형에 대한 메시지 버퍼의 주소를 얻는 단계;Obtaining the address of the message buffer for the service type of the message inputted from the message buffer group when the address for the message buffer group is obtained from the dictionary; 얻어진 메시지 버퍼를 검색하여 입력된 메시지의 착신가입자 번호에 대한 메시지가 존재하는지 검색하는 단계;Searching the obtained message buffer to search for a message for the called party number of the input message; 상기 해당 착신가입자에 대한 메시지 오브젝트가 존재하는 경우에, 서비스 타입별 메시지 버퍼로부터 메시지의 주소를 얻는 단계;If there is a message object for the called party, obtaining an address of a message from a message buffer for each service type; 오브젝트가 저장된 주소를 이용하여 메시지의 메시지 ID와, 입력하고자 하는 메시지의 메시지 ID를 비교하는 단계;Comparing the message ID of the message with the message ID of the message to be input using the address where the object is stored; 상기 메시지 ID가 동일한 경우에, 이미 저장되어 있는 메시지의 저장시간과, 새로 저장될 메시지의 저장시간을 비교하는 단계;When the message IDs are the same, comparing a storage time of a message already stored with a storage time of a new message to be stored; 새로 입력하고자 하는 상기 메시지와 동일한 메시지가 이미 데이터베이스내에 존재하여 상기 메시지 저장시간들이 동일한 경우에, 메시지 입력이 거절되고 입력 절차가 종료되는 단계;When the message storage times are the same because the same message as the message to be newly input already exists in the database, the message input is rejected and the input procedure ends; 상기 해당 착신가입자에 대한 메시지 오브젝트가 존재하지 않는 경우에, 또는 상기 메시지 ID가 다른 경우에, 또는 비교된 상기 메시지 저장시간이 다른 경우에, 입력하고자 하는 상기 메시지를 저장할 수 있는 상태로 되어 새로운 메시지를 위한 메시지 클래스 인스턴스를 생성하는 단계;When the message object for the corresponding called party does not exist, or when the message ID is different, or when the compared message storage times are different, the message to be input can be stored and a new message can be stored. Creating a message class instance for the; 상기 메시지 인스턴스의 주소를 상기 얻어진 메시지 버퍼에 저장하는 단계;Storing the address of the message instance in the obtained message buffer; 상기 사전에서 상기 메시지 버퍼 그룹에 대한 주소를 얻지 못한 경우에는 상기 해당 착신가입자에 대한 메시지가 하나도 존재하지 않는 경우이므로 새로운 메시지를 위한 클래스의 인스턴스를 생성하는 단계;If no address for the message buffer group is obtained from the dictionary, there is no message for the corresponding called party, so creating an instance of a class for a new message; 상기 해당 메시지의 서비스 유형에 대한 메시지 버퍼를 영역을 할당하는 단계;Allocating an area of a message buffer for a service type of the corresponding message; 상기 메시지 인스턴스의 주소를 새로 생성된 메시지 버퍼에 저장하는 단계; 및Storing the address of the message instance in a newly created message buffer; And 상기 해당 메시지 버퍼가 속한 메시지 버퍼 그룹의 주소를 상기 착신가입자 사전에 저장하는 단계로 이루어지는 것을 특징으로 하는 셀룰러 시스템의 단문서비스 센터 데이터베이스에 대한 단문메시지의 입력방법.And storing the address of the message buffer group to which the corresponding message buffer belongs in the destination subscriber dictionary. 제 2 항에 있어서,The method of claim 2, 상기 영역할당 단게에서 8개의 서비스 유형에 따라 메시지 버퍼를 각각 생성하는 것을 특징으로 하는 셀룰러 시스템의 단문서비스 센터 데이터베이스에 대한 단문메시지의 입력방법.And a message buffer is generated according to eight types of services in the area allocation step, respectively. 제 1 항에 있어서,The method of claim 1, 상기 발신가입자 메시지 저장단계가,The subscriber message storage step, 상기 착신가입자 데이터 처리시 정상적으로 입력된 경우에만 수행할 수 있도록 되어 있으며;Can only be performed when the incoming subscriber data is normally input during processing; 입력하고자 하는 메시지의 저장여부가 이미 검증된 상태이므로 별도의 검증없이 데이터 구조를 구성하는 것을 특징으로 하는 셀룰러 시스템의 단문서비스 센터 데이터베이스에 대한 단문메시지의 입력방법.Method of inputting a short message to a short message service center database of a cellular system, characterized in that the storage of the message to be input has already been verified and constitutes a data structure without additional verification. 제 1 항에 있어서,The method of claim 1, 상기 발신가입자 메시지 저장단계가,The subscriber message storage step, 발신가입자 사전으로부터 해당 메시지의 발신가입자 메시지 정보를 저장하는 메시지 버퍼 그룹의 주소를 검색하여 상기 사전 내의 정보를 발견하였는지 판단하는 단계;Determining whether information in the dictionary is found by searching an address of a message buffer group that stores the subscriber message information of the corresponding message from the subscriber dictionary; 상기 발신가입자 사전으로부터 상기 메시지 버퍼 그룹의 주소를 발견하지 못했을 경우에, 새로운 메시지 버퍼를 생성하는 단계;If no address of the message buffer group is found from the subscriber dictionary, creating a new message buffer; 입력될 메시지의 인스턴스를 생성하는 단계;Creating an instance of a message to be input; 상기 메시지 버퍼 그룹이 존재하는 경우에, 메시지 클래스의 인스턴스를 생성하는 단계;If the message buffer group exists, creating an instance of a message class; 주소를 상기 메시지 버퍼에 저장하는 단계; 및Storing an address in the message buffer; And 상기 해당 메시지 버퍼가 속한 메시지 버퍼 그룹의 주소를 사전에 저장하는 단계로 이루어져 입력절차를 성공적으로 종료하는 것을 특징으로 하는 셀룰러 시스템의 단문서비스 센터 데이터베이스에 대한 단문메시지의 입력방법.And storing the address of the message buffer group to which the corresponding message buffer belongs in advance, thereby successfully terminating the input procedure.
KR1019960062347A 1996-12-06 1996-12-06 How to input a short message into the short message service center database of a cellular system KR19980044280A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960062347A KR19980044280A (en) 1996-12-06 1996-12-06 How to input a short message into the short message service center database of a cellular system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960062347A KR19980044280A (en) 1996-12-06 1996-12-06 How to input a short message into the short message service center database of a cellular system

Publications (1)

Publication Number Publication Date
KR19980044280A true KR19980044280A (en) 1998-09-05

Family

ID=66475848

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960062347A KR19980044280A (en) 1996-12-06 1996-12-06 How to input a short message into the short message service center database of a cellular system

Country Status (1)

Country Link
KR (1) KR19980044280A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100357866B1 (en) * 2000-05-31 2002-10-25 삼성전자 주식회사 Method for transmitting and receiving graphic short message service message in portable radio telephone
KR100477151B1 (en) * 2002-06-20 2005-03-17 에스케이 텔레콤주식회사 Method for Forwarding of Short Message Service
KR100480044B1 (en) * 2000-12-22 2005-03-30 엘지전자 주식회사 Message rejecting method in mobile wireless terminal
KR100539872B1 (en) * 1998-12-30 2006-02-28 삼성전자주식회사 Short message service method of mobile communication terminal system
KR100539873B1 (en) * 1998-12-30 2006-03-03 삼성전자주식회사 How to search for unacknowledged short message
KR100557072B1 (en) * 1998-10-27 2006-06-16 삼성전자주식회사 Short message service processing apparatus and method for mobile communication terminal through external computer

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100557072B1 (en) * 1998-10-27 2006-06-16 삼성전자주식회사 Short message service processing apparatus and method for mobile communication terminal through external computer
KR100539872B1 (en) * 1998-12-30 2006-02-28 삼성전자주식회사 Short message service method of mobile communication terminal system
KR100539873B1 (en) * 1998-12-30 2006-03-03 삼성전자주식회사 How to search for unacknowledged short message
KR100357866B1 (en) * 2000-05-31 2002-10-25 삼성전자 주식회사 Method for transmitting and receiving graphic short message service message in portable radio telephone
KR100480044B1 (en) * 2000-12-22 2005-03-30 엘지전자 주식회사 Message rejecting method in mobile wireless terminal
KR100477151B1 (en) * 2002-06-20 2005-03-17 에스케이 텔레콤주식회사 Method for Forwarding of Short Message Service

Similar Documents

Publication Publication Date Title
US6101393A (en) Selective acceptance of short message service (SMS) messages in a cellular telephone network
JP4255140B2 (en) Wireless search method for information
EP1540974B1 (en) Telecommunications services apparatus and method
US6085101A (en) Communications network having a multicast capability
US6188887B1 (en) Distributed data storage and delivery in a cellular telephone network
CN1096204C (en) Method for processing an outgoing and an incoming call in a mobile communications system
EP1157568B1 (en) Method and system for routing of a ussd message
CN1225223A (en) Transporting user defined billing data within a mobile telecommunications network
EP1195975A2 (en) Call setup by translating a text message into telephone number
US7684811B2 (en) Method for transmitting short messages
KR19980044280A (en) How to input a short message into the short message service center database of a cellular system
KR100205077B1 (en) The sm deleting method for sms center db in cellular system
KR100241360B1 (en) A gathering method of sms charging data
KR100216539B1 (en) Sms searching method and database structure in cellular system
CN1322768C (en) Management method of honeycomb cluster client's data
KR100576729B1 (en) Method for providing Number Portability using communications terminal
KR100227797B1 (en) Method for controlling sms center in the digital mobile communication system
KR100205076B1 (en) The db management method for sm service center in cellular system
CN1225546A (en) Method for paging high-speed subscriber by roaming reservation in radio paging switching system
KR100212485B1 (en) The short message processing method of a cellular system
KR20000067518A (en) Method for minimizing the number of transmission messages for information service on demand
KR100198746B1 (en) Traslation method for numbering in the satellite communication system
KR19990025506A (en) Short service device and short service method for public telephone network subscriber in digital mobile communication system
KR100204048B1 (en) Method of processing short message protocol in short message center
KR100958255B1 (en) Method for providing multimedia messaging service in WCDMA

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E601 Decision to refuse application