KR100359993B1 - Backup method for subscriber's data of home location register - Google Patents

Backup method for subscriber's data of home location register Download PDF

Info

Publication number
KR100359993B1
KR100359993B1 KR1020000056860A KR20000056860A KR100359993B1 KR 100359993 B1 KR100359993 B1 KR 100359993B1 KR 1020000056860 A KR1020000056860 A KR 1020000056860A KR 20000056860 A KR20000056860 A KR 20000056860A KR 100359993 B1 KR100359993 B1 KR 100359993B1
Authority
KR
South Korea
Prior art keywords
data
backup
change
home location
subscriber
Prior art date
Application number
KR1020000056860A
Other languages
Korean (ko)
Other versions
KR20020024987A (en
Inventor
박대웅
Original Assignee
텔코웨어 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 텔코웨어 주식회사 filed Critical 텔코웨어 주식회사
Priority to KR1020000056860A priority Critical patent/KR100359993B1/en
Publication of KR20020024987A publication Critical patent/KR20020024987A/en
Application granted granted Critical
Publication of KR100359993B1 publication Critical patent/KR100359993B1/en

Links

Abstract

본 발명은 홈위치등록기의 가입자데이터 백업방법에 관한 것으로서, 홈위치등록기의 가입자에이터 변경시, 그 변경유형을 분류하는 제1 과정과, 상기 제1 과정의 분류결과에 의거하여, 그 변경유형에 따른 백업데이터를 생성한 후 공유파일시스템에 저장하되, 상기 백업데이터는 그 변경유형을 식별할 수 있는 파일이름을 가지도록 하는 제2 과정과, 백업용-홈위치등록기의 백업관리부가 상기 공유파일시스템으로부터 백업데이터를 읽어들인 후 그 백업데이터의 파일이름에 의거하여 백업데이터의 변경유형을 판독하는 제3 과정과, 백업용-홈위치등록기의 백업관리부가 상기 제3 과정의 판독결과에 의거하여 백업용-홈위치등록기에 저장된 가입자데이터를 변경하는 제4 과정과, 상기 제4 과정에서 백업용-홈위치등록기의 가입자데이터 변경이 성공적으로 완료된 경우, 그 가입자데이터의 변경을 위해 공유파일시스템에 저장된 백업데이터를 삭제하는 제5 과정을 포함하는 것을 특징으로 한다. 따라서, 본 발명은 홈위치등록기 및 네트웍 상에 과부하를 유발하지 않으면서, 홈위치등록기와 백업시스템간 가입자데이터의 불일치를 최소화할 수 있다는 특징이 있다.The present invention relates to a method of backing up subscriber data of a home location register. The present invention relates to a method of backing up subscriber data of a home location register based on a first step of classifying a change type and a result of the classification of the first step. After generating the backup data according to the second file to be stored in the shared file system, the backup data has a file name that can identify the type of change, and the backup management unit of the backup-home location register for the shared file system A third step of reading the backup data from the backup data based on the file name of the backup data and reading the type of change of the backup data; and for backup, based on the reading result of the third step. The fourth step of changing the subscriber data stored in the home location register, and the change of the subscriber data of the backup-home location register in the fourth step is successful. If it is completed as the, characterized in that it comprises a fifth step of deleting the backup data stored in the shared file system for the change of the subscriber data. Accordingly, the present invention is characterized in that the inconsistency of subscriber data between the home location register and the backup system can be minimized without causing overload on the home location register and the network.

Description

홈위치등록기의 가입자데이터 백업방법{Backup method for subscriber's data of home location register}Backup method for subscriber's data of home location register}

본 발명은 홈위치등록기의 가입자데이터 백업방법에 관한 것으로서, 특히, 홈위치등록기에 저장된 가입자데이터의 변경유형을 분석한 후, 그 변경유형에 따라 서로 다른 백업방법을 채택함으로써 보다 효율적으로 가입자데이터를 백업하도록 하는 홈위치등록기의 가입자데이터 백업방법에 관한 것이다.The present invention relates to a method of backing up subscriber data of a home location register. In particular, after analyzing the type of change of subscriber data stored in the home location register, the subscriber data can be efficiently stored by adopting different backup methods according to the type of change. The present invention relates to a method of backing up subscriber data of a home location register.

홈위치등록기란 이동전화 가입자의 위치변화에 관계없이 이동전화서비스를 제공할 수 있도록 하기 위해 이동전화망에 도입된 시스템으로서, 홈위치등록기는 소정지역을 관할하고, 그 지역에 위치하는 가입자 단말기들로부터 그 가입자들의 가입자 번호와 단말기 고유번호 및 부가서비스 선택정보에 이르기까지 이동전화서비스를 제공하기 위해 필요한 모든 정보를 저장/관리한다. 따라서, 홈위치등록기는 고도의 신뢰성을 필요로 하며 항상 정상상태를 유지해야 한다. 또한, 이동전화망운영자는 이동전화 가입자의 증가에 따라 복수의 홈위치등록기들을 늘려나간다.도 1은 이러한 홈위치등록기의 운용환경에 대한 구성도이다. 도 1을 참조하면 다수개의 홈위치등록기들(102 내지 104)은 SS7망(Signaling System 7 Network) (101) 및 근거리통신망(LAN: Local Area Network)(108)에 연결된다. 이 때, 홈위치등록기들(102 내지 104)은 SS7망(101)을 통해 이동통신망 내의 다른 망요소들[예컨대, 이동통신교환기(MSC: Mobile Switching Center), 방문자위치등록기(VLR: Visitor Location Register), 단문서비스센터(SMSC: Short Message Service Center) 등(도시되지 않음)]과 연동되고, LAN(108)을 통해 고객관리를 위한 고객센터(111) 및 망관리센터(NMC: Network Management Center)(도시되지 않음)와 연동한다. 또한, 홈위치등록기들(102 내지 104)은 운용자와의 정합 및 시스템 운용, 유지, 보수 등을 위하여 운용자 터미널들(105 내지 107)과 각각 연동한다. 도 1의 예에서, 홈위치등록기-1(102)는 운용자터미널(105)과 연동하고, 홈위치등록기-2(103)는 운용자터미널(106)과 연동하고, 홈위치등록기-n(104)는 운용자터미널(107)과 연동한다.A home location register is a system introduced to a mobile telephone network to provide a mobile phone service regardless of a change in the location of a mobile phone subscriber. The home location register has jurisdiction over a predetermined area and is provided by subscriber terminals located in the area. It stores / manages all the information necessary to provide mobile phone service, ranging from subscriber number, terminal unique number and additional service selection information. Therefore, the home location register requires a high degree of reliability and must always be in a steady state. In addition, the mobile telephone network operator increases a plurality of home location registers as the number of mobile subscribers increases. FIG. 1 is a configuration diagram of an operation environment of such a home location register. Referring to FIG. 1, a plurality of home location registers 102 to 104 are connected to a Signaling System 7 Network (SS7) 101 and a Local Area Network (LAN) 108. At this time, the home location registers 102 to 104 are connected to other network elements (eg, mobile switching center (MSC), visitor location register (VLR) in the mobile communication network through the SS7 network 101. ), Short Message Service Center (SMSC), etc. (not shown)], the Customer Center 111 and the Network Management Center (NMC) for customer management through the LAN 108 Works with (not shown). In addition, the home location registers 102 to 104 interoperate with the operator terminals 105 to 107, respectively, for registration with the operator and system operation, maintenance, and maintenance. In the example of FIG. 1, home location register-1 102 interworks with operator terminal 105, home location register-2 103 interworks with operator terminal 106, and home location register-n 104. Is linked with the operator terminal 107.

만약, 이러한 홈위치등록기들 중 임의의 한 홈위치등록기에 장애가 발생할 경우 이동통신망 내의 다른 망 요소들은 그 홈위치등록기에 위치등록을 한 이동전화 가입자의 위치정보를 알 수 없게 된다. 따라서, 장애가 발생한 홈위치등록기에 위치등록을 한 이동전화로의 착신호가 불가능해진다. 결과적으로 홈위치등록기의 장애는 이동전화 서비스의 품질저하를 초래한다. 뿐만 아니라, 서비스사업자에게도 커다란 손해를 입히게 된다.If any one of these home location registers fails in the home location register, other network elements in the mobile communication network cannot know the location information of the mobile subscriber registered with the home location register. Therefore, the incoming call to the mobile telephone which has registered the location in the home location register where the failure occurs is impossible. As a result, the failure of the home location register results in a deterioration of the quality of the mobile phone service. In addition, service providers will be seriously injured.

따라서, 이와 같은 홈위치등록기 장애로 인한 서비스 품질 저하 및 사업자의 손해 규모를 최소화하기 위하여, 이동전화 사업자의 대부분은 홈위치등록기의 백업시스템을 도입하고 있다. 즉, 도 1에 도시된 바와 같이 LAN(108)으로 연결된 백업용-홈위치등록기(110) 및 그 백업용-홈위치등록기(110)를 운용하기 위한 운용자 터미널(109)을 채택하고 있다.도 1의 예에서, 백업용-홈위치등록기(110)는 LAN(108)을 통해 실제 운용중인 여러대의 홈위치등록기들(102 내지 104)로부터 각 홈위치등록기들(102 내지 104)에 저장된 가입자데이터를 전달받아 백업한다. 그리고, 상기 홈위치등록기들(102 내지 104) 중 한 홈위치등록기에 장애가 발생하면 상기 백업용-홈위치등록기(110)에 백업된 가입자데이터를 사용하여 백업용-홈위치등록기(110)를 기동하고, 그 백업용-홈위치등록기(110)를 장애가 발생한 홈위치등록기의 대체시스템으로 운용한다. 따라서, 홈위치등록기 장애로 인한 서비스 중단시간을 최소화할 수 있다.Therefore, in order to minimize service quality deterioration and damages of operators due to the failure of the home location register, most mobile phone operators are adopting a backup system of the home location register. That is, as shown in Fig. 1, a backup-home location register 110 connected to a LAN 108 and an operator terminal 109 for operating the backup-home location register 110 are adopted. In an example, the backup-home location register 110 receives subscriber data stored in each home location register 102-104 from a plurality of home location registers 102-104 that are actually in operation via the LAN 108. Back up. And, if a failure occurs in one of the home location registers 102 to 104, the backup-home location register 110 is started using the subscriber data backed up to the backup-home location register 110, The backup-home location register 110 is operated as an alternative system of a failed home location register. Therefore, it is possible to minimize service downtime due to the home location register failure.

이 때, 홈위치등록기들(102 내지 104)은 내부에 저장된 가입자데이터를 시스템 운용환경에 따라 소정의 백업주기(예컨대, 4 ~ 24 시간주기)로 백업용-홈위치등록기(110)에 복사하는데, 이 백업주기가 짧을수록 백업된 가입자데이터의 신뢰성이 보장된다. 그런데, 가입자데이터는 파일의 크기가 상당히 크며 백업해야 할 홈위치등록기의 수가 많은 관계로 백업 주기를 짧게 하는 데에는 한계가 있다. 즉, 백업주기를 짧게 할 경우 LAN 및 홈위치등록기의 과부하로 인하여 홈위치등록기 고유의 일 처리 능력이 저하되며, 심할 경우 이로 인한 시스템 장애가 발생할 수 있다.At this time, the home location registers 102 to 104 copy the subscriber data stored therein to the backup-home location register 110 at a predetermined backup period (for example, 4 to 24 hours) according to the system operating environment. The shorter this backup cycle, the more reliable the backed up subscriber data. However, the subscriber data has a limitation in shortening the backup cycle due to the large file size and the number of home location registers to be backed up. In other words, if the backup cycle is shortened, the work processing capacity peculiar to the home location register may be degraded due to the overload of the LAN and the home location register.

따라서, 종래에는 이러한 문제를 방지하기 위해 백업 대상이 되는 시스템(즉, 홈위치등록기들)이 많은 경우 데이터베이스 파일의 복사 시작 시점을 서로 다르게 하여 LAN의 과부하를 줄이고, 백업 회수를 제한하여 홈위치등록기에 과부하가 발생하는 회수를 줄이며 또한 처리의 품질이 저하되는 것을 방지하고 있다.Therefore, in order to prevent such a problem, in the case of a large number of target systems (that is, home location registers), the start point of copying of database files is different from each other to reduce the overload of the LAN and to limit the number of backups. This reduces the number of times the overload occurs, and also prevents the quality of processing from being degraded.

그러나, 이러한 종래의 방식으로 가입자데이터를 백업할 경우, 백업과 백업사이에 발생한 가입자 데이터의 변경 내역이 백업용-홈위치등록기로 백업되지 않기 때문에 백업의 주기가 길수록 백업용-홈위치등록기와 홈위치등록기 가입자데이터의 불일치 시간이 길어질 수 있다는 단점이 있다. 또한, 데이터 변경이 빈번하지 않은 가입자의 데이터도 백업 주기마다 매번 백업되므로 불필요한 부하를 유발한다는 문제점이 있었다.However, in case of backing up subscriber data in such a conventional manner, since the change history of subscriber data generated between backup and backup is not backed up to the backup-home location register, the longer the period of backup, the more the backup-home location register and the home location register. There is a disadvantage that the inconsistency time of the subscriber data can be long. In addition, there is a problem in that the subscriber's data that is not frequently changed data is backed up every backup cycle, causing unnecessary load.

한편, 가입자의 망 내에서의 위치정보는 그 변경이 매우 빈번하므로 실시간적으로 백업되지 않을 경우에는, 장애가 발생시 백업된 데이터를 이용하여 백업 홈위치등록기를 기동하여도 위치데이터의 부정확으로 인하여 착신호가 정상적으로 처리되지 않는 경우가 많이 발생한다는 문제점이 있었다.On the other hand, if the location information in the subscriber's network is changed so frequently that it is not backed up in real time, an incoming call may be generated due to inaccuracy of the location data even when the backup home location register is started using the backed up data when a failure occurs. There was a problem that many cases are not processed normally.

즉, 종래의 홈위치등록기 데이터베이스 백업 방법을 사용하여 홈위치등록기들을 운용할 경우에는 가입자데이터베이스 백업의 실시간성 부족으로 인하여, 시스템 장애 발생시 이동전화로의 착신호가 불가능하게 된다는 문제점이 있었다.That is, when the home location registers are operated using the conventional home location register database backup method, there is a problem that an incoming call to the mobile phone becomes impossible when a system failure occurs due to the lack of real time backup of the subscriber database.

본 발명은, 상기와 같은 문제점을 해결하기 위하여 안출된 것으로, 홈위치등록기에 저장된 가입자데이터가 변경되면, 그 변경유형을 분석한 후, 그 변경유형에 따라 서로 다른 백업방법을 채택함으로써 보다 효율적으로 가입자데이터를 백업하도록 하는 홈위치등록기의 가입자데이터 백업방법 및 상기 방법을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공하는데 그 목적이 있다.The present invention has been made to solve the above problems, and when the subscriber data stored in the home location register is changed, the change type is analyzed, and then different backup methods are adopted according to the change type. It is an object of the present invention to provide a subscriber data backup method of a home location register for backing up subscriber data and a computer readable recording medium storing a program for realizing the method.

도 1은 일반적인 홈위치등록기의 운용 환경에 대한 구성도.1 is a configuration diagram of an operating environment of a general home location register.

도 2는 본 발명의 일 실시예에 다라 가입자데이터를 백업하는 홈위치등록기에 대한 블록도.2 is a block diagram of a home location register for backing up subscriber data in accordance with one embodiment of the present invention;

도 3은 본 발명의 실시예에 따른 홈위치등록기의 가입자데이터 백업과정을 설명하기 위한 설명도.3 is an explanatory diagram for explaining a subscriber data backup process of a home location register according to an embodiment of the present invention;

도 4는 본 발명의 실시예에 따라 다수개의 홈위치등록기의 백업데이터를 하나의 백업용-홈위치등록기에 백업하는 방법을 설명하기 위한 설명도.도 5는 백업데이터의 발생요인별 백업데이터의 종류를 나타낸 도면.도 6은 본 발명의 일 실시예에 따라 백업용-홈위치등록기에서 MSC의 포인트코드에 의한 가입자의 위치정보를 관리하는 테이블에 대한 예시도.4 is an explanatory diagram for explaining a method of backing up backup data of a plurality of home location registers to one backup-home location register according to an embodiment of the present invention. FIG. 5 is a kind of backup data for each occurrence factor of backup data. Figure 6 is an exemplary diagram for a table for managing the location information of the subscriber by the point code of the MSC in the backup-home location register according to an embodiment of the present invention.

도 7은 본 발명의 일 실시예에 따라 홈위치등록기가 공유파일시스템에 백업용 가입자데이터를 생성하는 방법에 대한 처리 흐름도.7 is a process flow diagram for a method for a home location register to generate subscriber data for backup in a shared file system according to one embodiment of the invention.

도 8a 및 도 8b는 본 발명의 일 실시예에 따라 백업용-홈위치등록기가 공유파일시스템에 저장된 백업용 가입자데이터를 백업하는 방법에 대한 처리 흐름도.♣도면의 주요 부분에 대한 부호의 설명 ♣210: SS7 망 220: 홈위치등록기230: LAN 240: 운용자터미널250: 고객센터 310: 공유파일시스템320: 백업용-홈위치등록기8A and 8B are a flowchart illustrating a method of backing up subscriber data for backup stored in a shared file system by a backup-home location register according to an embodiment of the present invention. SS7 Network 220: Home Location Register 230: LAN 240: Operator Terminal 250: Customer Center 310: Shared File System 320: Backup-Home Location Register

상기 목적을 달성하기 위해 본 발명에서 제공하는 가입자데이터 백업방법은 홈위치등록기의 가입자데이터 변경시, 그 변경유형을 분류하는 제1 과정과, 상기 제1 과정의 분류결과에 의거하여, 그 변경유형에 따른 백업데이터를 생성한 후 공유파일시스템에 저장하되, 상기 백업데이터는 그 변경유형을 식별할 수 있는 파일이름을 가지도록 하는 제2 과정과, 백업용-홈위치등록기의 백업관리부가 상기 공유파일시스템으로부터 백업데이터를 읽어들인 후, 그 백업데이터의 파일이름에 의거하여 백업데이터의 변경유형을 판독하는 제3 과정과, 백업용-홈위치등록기의 백업관리부가 상기 제3 과정의 판독결과에 의거하여 백업용-홈위치등록기에 저장된 가입자데이터를 변경하는 제4 과정과, 상기 제4 과정에서 백업용-홈위치등록기의 가입자데이터 변경이 성공적으로 완료된 경우, 그 가입자데이터의 변경을 위해 공유파일시스템에 저장된 백업데이터를 삭제하는 제5 과정을 포함하는 것을 특징으로 한다.In order to achieve the above object, the subscriber data backup method provided by the present invention is based on a first process of classifying a change type when a subscriber data is changed in a home location register and a classification result of the first process. After generating the backup data according to the second file to be stored in the shared file system, the backup data has a file name that can identify the type of change, and the backup management unit of the backup-home location register for the shared file A third step of reading the backup data from the system and reading the change type of the backup data based on the filename of the backup data; and the backup management unit of the backup-home location register based on the reading result of the third step. The fourth process of changing the subscriber data stored in the backup-home location register, and the change of the subscriber data of the backup-home location register in the fourth process When complete, the public, characterized in that it comprises a fifth step of deleting the backup data stored in the shared file system to a change in the subscriber data.

이하, 본 발명에 따른 홈위치등록기의 가입자데이터 백업방법에 대한 바람직한 실시예를 첨부된 도면에 의거하여 상사하게 설명한다.Hereinafter, a preferred embodiment of the subscriber data backup method of the home location register according to the present invention will be described similarly based on the accompanying drawings.

도 2는 본 발명의 일 실시예에 따라 가입자데이터를 백업하는 홈위치등록기(220)에 대한 블록도이다.2 is a block diagram of a home location register 220 for backing up subscriber data in accordance with one embodiment of the present invention.

도 2를 참조하면, 홈위치등록기(220)는 유지/보수/운용관리부(221), SS7정합부(222), MAP(Mobile Application Part) 메시지처리부(223), 데이터베이스관리부(224), 가입자데이터베이스(225), 운용자정합부(226), 고객센터정합부(227) 및 실시간백업관리부(228)를 포함한다. 이 때, 실시간백업관리부(228)를 제외한 나머지 장치들은 통상적인 홈위치등록기들이 공통적으로 갖추고 있는 구성요소들이다. 다만, 그 장치들간 통신방식은 구현방법에 따라서 다를 수 있을 것이다.한편, 홈위치등록기(220)는 SS7망(210) 및 LAN(230)과 연결되며, LAN(230)을 통해 운용자터미널(240) 및 고객센터(250)와 연동한다.Referring to Figure 2, the home location register 220, maintenance / maintenance / operation management unit 221, SS7 matching unit 222, MAP (Mobile Application Part) message processing unit 223, database management unit 224, subscriber database 225, an operator matching unit 226, a customer center matching unit 227, and a real-time backup management unit 228. At this time, the rest of the devices except the real-time backup management unit 228 are components that are commonly equipped with a typical home location register. However, the communication method between the devices may be different according to the implementation method. Meanwhile, the home location register 220 is connected to the SS7 network 210 and the LAN 230, and the operator terminal 240 through the LAN 230. ) And the customer center 250.

유지/보수/운용관리부(221)는 홈위치등록기(220)의 하드웨어 및 소프트웨어의 운용/유지/보수 기능들을 처리하기 위한 소프트웨어의 집합으로, 홈위치등록기내의 나머지 구성 요소들과 통신하여 홈위치등록기의 운용/유지/보수/관리 등의 기능을 담당한다. 이를 위해, 유지/보수/운용관리부(221)는 홈위치등록기(220) 내의 나머지 구성요소 대부분과의 통신을 필요로 한다. 도 2 에서는 이 관계는 표시하지 않았다.The maintenance / operation management unit 221 is a set of software for processing the operation / maintenance / maintenance functions of the hardware and software of the home location register 220. The home location register communicates with the remaining components in the home location register. It is in charge of the operation, maintenance, maintenance, and management of the register. To this end, the maintenance / maintenance / operation management unit 221 needs to communicate with most of the remaining components in the home location register (220). This relationship is not shown in FIG.

SS7정합부(222)는 홈위치등록기(220)와 SS7망(210)과의 정합을 담당한다. 이 때, 'SS7망'이란 SS7 규약을 준수하는 이동통신망을 말하고, 'SS7 규약'이란 다른 이동통신망 요소들(예컨대, 이동교환기, 방문자위치등록기 등)간에 MAP메시지를 사용하여 통신이 가능하도록 하기 위한 규약을 말한다.SS7 matching unit 222 is responsible for matching between the home location register 220 and the SS7 network (210). At this time, the 'SS7 network' refers to a mobile communication network that complies with the SS7 protocol, and the 'SS7 protocol' means communication between other mobile communication network elements (for example, mobile switching center, visitor location register, etc.) to enable communication. Say the protocol for.

MAP메시지처리부(223)는 SS7정합부(222)로부터 수신된 MAP메시지를 분석하여 그에 상응하는 응답을 이동통신망으로 송신하거나, 이동통신망으로 전송할 MAP메시지를 만들어서 SS7정합부(222)로 송신하는 기능을 수행한다.The MAP message processing unit 223 analyzes the MAP message received from the SS7 matching unit 222 and transmits a corresponding response to the mobile communication network, or makes a MAP message to be transmitted to the mobile communication network, and sends it to the SS7 matching unit 222. Do this.

또한, 상기 기능을 수행하기 위해서는 가입자데이터가 필요하므로, MAP메시지처리부(223)는 가입자데이터베이스(225)와 상호작용(예컨대, 질의, 변경 등 데이터베이스 오퍼레이션)을 수행한다.In addition, since the subscriber data is required to perform the function, the MAP message processing unit 223 interacts with the subscriber database 225 (eg, a database operation such as a query or a change).

한편, MAP메시지처리부(223)에서 생성되는 메시지는 가입자데이터베이스 (225)에 저장된 정보들을 변경하기 위한 것으로서, 가입자의 위치변경메시지, 가입자단말기 전원상태변경메시지, 단문메시지 관련정보 변경메시지들이 있다. 또한, 가입자가 단말기의 기능코드를 사용하여 가입자데이터베이스의 변경을 요청한 경우 MAP메시지처리부(223)는 이를 처리하기 위한 변경메시지를 생성한다. MAP메시지처리부(223)는 이러한 변경메시지들을 이용하여 가입자데이터베이스(225)의 내용을 변경하고, 그 변경내역들은 백업용-홈위치등록기에 반영하기 위해, 그 때 생성된 변경메시지들을 실시간백업관리부(228)에게 전달한다.On the other hand, the message generated by the MAP message processing unit 223 is for changing the information stored in the subscriber database 225, there is a location change message of the subscriber, the power state change message of the subscriber terminal, the short message related information change messages. In addition, when the subscriber requests to change the subscriber database using the function code of the terminal, the MAP message processing unit 223 generates a change message for processing the same. The MAP message processing unit 223 changes the contents of the subscriber database 225 using these change messages, and reflects the change messages generated at that time in order to reflect the changed contents to the backup-home location register. To).

데이터베이스 관리부(224)는 가입자데이터베이스(225)를 관리하고, 운용자정합부(226) 및 고객센터정합부(227)를 통해 수신한 가입자데이터베이스 처리요구를 수행한다. 또한, 그 가입자데이터베이스 처리요구메시지를 실시간백업관리부(228)에게 전달한다.The database manager 224 manages the subscriber database 225 and performs a subscriber database processing request received through the operator matching unit 226 and the customer center matching unit 227. The subscriber database processing request message is also sent to the real-time backup management unit 228.

가입자데이터베이스(225)는 홈위치등록기가 기능을 수행하는데 필요한 이동전화망 가입자의 식별번호(MIN: Mobile Identification Number), 가입자 단말기 번호(ESN:Electronic Serial Number), 가입자의 이동통신망 내에서의 위치관련데이터, 가입자별 이동전화망 부가서비스 정보 등 서비스 제공을 위해 필요로 하는 정보들이 체계적으로 저장된 정보의 집합이다. 운용자정합부(226), 고객센터정합부(227), 실시간백업관리부(228) 등과는 데이터베이스 관리부(224)를 경유하여 연동된다.The subscriber database 225 is a mobile identification number (MIN), a subscriber terminal number (ESN: Electronic Serial Number), and location-related data in the subscriber's mobile communication network required for the home location register to perform its function. It is a set of systematically stored information needed for service provision, such as subscriber-specific mobile phone network supplementary service information. The operator matching unit 226, the customer center matching unit 227, the real-time backup management unit 228, and the like are interworked via the database manager 224.

운용자정합부(226)는 홈위치등록기 운용자의 가입자데이터베이스 처리 명령을 데이터베이스관리부(224)로 전달한다. 또한, 운용자정합부(226)는 홈위치등록기의 나머지 구성요소들과도 연동하여 운용자가 요청한 기능을 수행하기 위한 인터페이스를 제공한다. 도 2에서는 데이터베이스관리부(224)를 제외한 홈위치등록기의 나머지 구성요소들과의 연동관계는 도시하지 않았다.The operator matching unit 226 transmits the subscriber database processing instruction of the home location register operator to the database manager 224. In addition, the operator matching unit 226 also interfaces with the remaining components of the home location register to provide an interface for performing a function requested by the operator. In FIG. 2, the interworking relationship with the remaining components of the home location register except for the database manager 224 is not shown.

고객센터정합부(227)는 이동통신사업자가 운영하는 고객센터(250)와의 접속을 담당한다. 고객센터(250)에서는 일반적으로 가입자데이터베이스(225)에 대한 질의 및 갱신을 요청하는 경우가 많으므로, 고객센터정합부(227)는 이를 처리하기 위해 데이터베이스관리부(224)와 연동한다.The customer center matching unit 227 is in charge of accessing the customer center 250 operated by the mobile communication service provider. Since the customer center 250 generally requests and updates the subscriber database 225, the customer center matching unit 227 interworks with the database management unit 224 to process this.

실시간백업관리부(228)는 가입자데이터베이스(225)에 저장된 가입자데이터의 변경내역을 백업용-홈위치등록기에 동일하게 적용하기 위해 데이터베이스관리부(224), MAP메시지처리부(223) 및 가입자데이터베이스(225)와 연동한다. 즉, 실시간백업관리부(228)는 MAP메시지처리부(223)로부터 가입자의 위치변경메시지, 가입자단말기의 전원상태(On/Off) 변경메시지 및 단문메시지 관련정보 변경메시지와, 가입자단말기의 기능코드(Feature Code, 예: *89, ** 등) 사용에 의한 정보를 변경하기 위한 변경메시지들을 전달받는다. 또한, 데이터베이스관리부(224)를 통해 운용자정합부(226) 및 고객센터정합부(227)로부터 전달된 가입자데이터베이스 처리 명령들을 전달받는다.이는 추후 이러한 변경메시지 및 처리명령들을 백업용-홈위치등록기에 전달함으로써, 홈위치등록기의 가입자데이터베이스 변경내역을 백업용-홈위치등록기에 동일하게 적용하도록 하기 위함이다. 이러한 백업과정은 도 3을 참조한 설명부분에서 보다 상세히 설명하겠다.The real-time backup management unit 228 and the database management unit 224, MAP message processing unit 223 and subscriber database 225 and the same to apply the changes of the subscriber data stored in the subscriber database 225 to the backup-home location register It works. That is, the real-time backup management unit 228 changes the location change message of the subscriber from the MAP message processing unit 223, the power state (On / Off) change message of the subscriber terminal and the short message related information change message, and the function code of the subscriber terminal (Feature) Code, e.g. * 89, ** etc.) Receive change messages to change the information by use. In addition, the database management unit 224 receives the subscriber database processing instructions transmitted from the operator matching unit 226 and the customer center matching unit 227. This change message and processing instructions are later transferred to the backup-home location register. By doing so, the change of the subscriber database of the home location register is equally applied to the backup-home location register. This backup process will be described in more detail in the description with reference to FIG. 3.

한편, 홈위치등록기(220)와 LAN(230)으로 연결된 운용자터미널(240)은 홈위치등록기의 상태조회, 데이터베이스의 조회/변경 등 통상적인 시스템의 운용에 사용되는 장치이다. 이러한 운용자터미널(240)은 워크스테이션(Work Station)급 컴퓨터가 사용되어 LAN을 통하여 홈위치등록기 본 시스템과 연동하는 것이 일반적이지만, 직렬 포트(Serial Port)를 통하여 연결된 더미터미널(Dummy Terminal) 일 수 도 있다. 그러나, 이는 구현에 관련된 문제이며, 본 발명의 설명에 있어서는 워크스테이션급 컴퓨터가 LAN을 통하여 홈위치등록기 본체와 연동하는 경우를 가정하였다.On the other hand, the operator terminal 240 connected to the home location register 220 and the LAN 230 is a device used for the operation of a typical system, such as querying the status of the home location register, query / change of the database. Such an operator terminal 240 is generally used to work with a home location register system through a LAN using a work station class computer, but may be a dummy terminal connected through a serial port. There is also. However, this is a matter of implementation, and in the description of the present invention, it is assumed that a workstation-class computer interworks with a home location register body through a LAN.

고객센터(250)는 이동통신 서비스 사업자가 자사 고객들의 불편사항을 접수하고 해결하기 위한 조직으로서, 고객센터(250)으 오퍼레이터들은 원격지에서 정해진 권한에 따라 홈위치등록기를 조작할 수 있으며, 이를 위한 장치들이 고객센터(250)에 일반적으로 존재한다.The customer center 250 is an organization for a mobile communication service provider to receive and resolve inconveniences of its customers. The customer center 250 allows operators to operate a home location register according to a predetermined authority at a remote location. Devices are generally present in customer center 250.

도 3은 본 발명의 일 실시예에 따른 홈위치등록기의 가입자데이터 백업과정을 설명하기 위한 설명도이다.3 is an explanatory diagram for explaining a subscriber data backup process of a home location register according to an embodiment of the present invention.

도 3에서는 가입자데이터베이스를 실시간으로 백업하기 위해 홈위치등록기(220)와 백업용-홈위치등록기(320)가 연동하는 모습을 나타낸다.In FIG. 3, the home location register 220 and the backup-home location register 320 interwork with each other to back up the subscriber database in real time.

이 때, 홈위치등록기(220)와 백업용-홈위치등록기(320)간에 전송되는 백업용데이터는 홈위치등록기(220)에서 가입자데이터베이스(225)에 저장된 내용을 변경하기 위해 사용한 변경메시지들을 말하며, 이러한 백업용 데이터의 전송을 위해서는 홈위치등록기(220)와 백업용-홈위치등록기(320)가 상호 공유하는 공유파일시스템(310)을 사용한다.At this time, the backup data transmitted between the home location register 220 and the backup-home location register 320 refers to the change messages used by the home location register 220 to change the contents stored in the subscriber database 225. In order to transfer the data for backup, the home location register 220 and the backup-home location register 320 use a shared file system 310 shared with each other.

이러한 공유파일시스템(310)은 홈위치등록기(220)가 쓰기 가능하고 백업용-홈위치등록기(320)가 읽기 가능하도록 구현되어야 한다. 하지만, 그밖에 다른 제약은 받지 않는다. 즉, 공유파일시스템(310)의 구현방법은 문제가 되지 않는다. 예를 들어, 네트웍파일시스템(NFS: Network File System) 또는 파일서버와 같은 형태로 공유파일시스템을 구현하는 것이 가능한 것이다. 한편, 공유파일시스템(310)을 적절한 방법에 의하여 다수개의 영역으로 구분(예: 각 서비스 홈위치등록기마다 다른 이름의 디렉터리로 구분)할 경우 하나의 백업용-홈위치등록기를 이용하여 다수개의 홈위치등록기의 가입자데이터베이스를 백업할 수도 있다.도 3의 예에서는 공유파일시스템(310)을 n개의 영역들(영역-1, 영역-2, …, 영역-n)(311 내지 313)로 구분하고, 그 영역들 중 영역-2(312)에 홈위치등록기(220)에서 생성된 백업용데이터를 저장하도록 구현하였다. 도 3을 참조하여 백업과정을 좀 더 상세히 설명하면 다음과 같다.우선, 홈위치등록기(220)의 MAP메시지처리부(223) 또는 데이터베이스관리부(224)는 SS7정합부, 운용자정합부 또는 고객센터정합부로부터 가입자데이터 변경메시지를 수신한다(S301). 그러면, MAP메시지처리부(223) 또는 데이터베이스관리부(224)는 그 요청에 의거하여 가입자데이터베이스(225)를 갱신하고(S302), 상기 가입자데이터 변경메시지에 의해 백업데이터를 생성하여 실시간백업관리부(228)에게 전송한다(S303). 그러면, 실시간백업관리부(228)는 공유파일시스템(310)의 소정영역(영역-2)(312)에 그 백업데이터를 기록한다(S304).이 때, 실시간백업관리부(228)는 가입자데이터베이스(225)의 변경유형에 따라 공유파일시스템(310)에 기록될 백업데이터의 파일이름을 달리 지정한다. 이는 백업용-홈위치등록기(320)가 그 파일이름에 의해 변경유형을 판단하고, 변경유형에 따라 적절한 처리를 수행할 수 있도록 하기 위함이다.한편, 백업용-홈위치등록기(320)의 실시간백업관리부(328)는 공유파일시스템(310)의 영역-2(312)로부터 백업데이터를 읽은 후(S305), 소정의 처리를 수행하여 가입자데이터베이스(325)에 반영한다(S306). 이 때, 실시간백업관리부(328)가 가입자데이터베이스(325)의 내용을 직접 변경할 수도 있고, 백업데이터를 데이터베이스관리부(324)로 전송하여(S307) 데이터베이스관리부(324)가 가입자데이터베이스(325)의 내용을 변경하도록 할 수도 있다. 예를 들어, 홈위치등록기(220)의 운용자정합부 혹은 고객센터정합부의 요청에 의해 데이터가 변경된 경우, 이 때 생성된 백업데이터는 백업용-홈위치등록기(320)의 데이터베이스관리부(324)를 거쳐서 가입자데이터베이스(325)에 반영하도록 하고, 홈위치등록기(220) SS7정합부의 요청에 의해 데이터가 변경된 경우, 이 때 생성된 백업데이터는 백업용-홈위치등록기(320)의 데이터베이스관리부(324)를 거치지 않고 실시간백업관리부(328)가 가입자데이터베이스(325)에 반영하도록 한다.The shared file system 310 should be implemented such that the home location register 220 is writable and the backup-home location register 320 is readable. However, no other restrictions apply. That is, the implementation method of the shared file system 310 is not a problem. For example, it is possible to implement a shared file system in the form of a network file system (NFS) or a file server. On the other hand, when the shared file system 310 is divided into a plurality of areas by an appropriate method (for example, each service home location register is divided into a directory having a different name), a plurality of home locations using one backup-home location register is used. The subscriber database of the registrar may also be backed up. In the example of FIG. 3, the shared file system 310 is divided into n areas (area-1, area-2, ..., area-n) 311 to 313, It is implemented to store the backup data generated by the home location register 220 in the area-2 (312) of the areas. The backup process will be described in more detail with reference to FIG. 3. First, the MAP message processing unit 223 or the database management unit 224 of the home location register 220 is an SS7 matching unit, an operator matching unit, or a customer center registration unit. The subscriber data change message is received from the unit (S301). Then, the MAP message processing unit 223 or the database management unit 224 updates the subscriber database 225 based on the request (S302), generates backup data by the subscriber data change message, and generates a real time backup management unit 228. It transmits to (S303). Then, the real-time backup management unit 228 records the backup data in the predetermined area (area-2) 312 of the shared file system 310 (S304). At this time, the real-time backup management unit 228 stores the subscriber database ( According to the change type of 225, the file name of the backup data to be recorded in the shared file system 310 is specified differently. This is to allow the backup-home location register 320 to determine the type of change based on the file name and to perform appropriate processing according to the change type. On the other hand, the real-time backup management unit of the backup-home location register 320 is performed. 328 reads the backup data from the area-2 312 of the shared file system 310 (S305), and then performs a predetermined process to reflect it to the subscriber database 325 (S306). At this time, the real-time backup management unit 328 may directly change the contents of the subscriber database 325, or transfer the backup data to the database management unit 324 (S307), the database management unit 324 the contents of the subscriber database 325 You can also change it. For example, when data is changed at the request of the operator matching unit or the customer center matching unit of the home location register 220, the backup data generated at this time is passed through the database manager 324 of the backup-home location register 320. If the data is changed at the request of the home location register 220 SS7 matching unit, the backup data generated at this time does not go through the database manager 324 of the backup-home location register 320. Instead, the real time backup management unit 328 is reflected in the subscriber database 325.

도 4는 본 발명의 실시예에 따라 다수개의 홈위치등록기의 백업데이터를 하나의 백업용-홈위치등록기에 백업하는 방법을 설명하기 위한 설명도이다.4 is an explanatory diagram for explaining a method of backing up backup data of a plurality of home location registers to one backup-home location register according to an embodiment of the present invention.

도 4를 참조하면, 다수개의 홈위치등록기들(410 내지 430)로부터 생성된 백업데이터를 하나의 백업용-홈위치등록기(450)에 백업하기 위해서는 우선, 공유파일시스템(440)을 다수개의 영역(영역-1 내지 영역-n)(441 내지 443)으로 구분한다. 그리고, 그 영역들(441 내지 443)을 다수개의 홈위치등록기들(410 내지 430) 각각에게 할당한 후 각 홈위치등록기들(410 내지 430)이 할당된 영역에 백업데이터를 저장하도록 한다. 즉, 홈위치등록기-1(410)의 실시간백업관리부(411)는 홈위치등록기-1(410)에서 생성된 백업데이터를 영역-1(441)에 기록하고, 홈위치등록기-2(420)의 실시간백업관리부(421)는 홈위치등록기-2(420)에서 생성된 백업데이터를 영역-2(442)에 기록하고, 홈위치등록기-n(430)의 실시간백업관리부(431)는 홈위치등록기-n(430)에서 생성된 백업데이터를 영역-n(443)에 기록하도록 한다. 이 때, 홈위치등록기들(410 내지 430)은 그 백업데이터의 발생원인별로 파일의 이름을 다르게 정의하여 해당 영역에 저장한다. 그러면, 백업용-홈위치등록기(450)는 그 파일 이름에 의거하여 백업데이터의 종류를 알 수 있고, 그 파일이 저장된 영역에 의거하여 해당 파일이 발생된 홈위치등록기를 식별할 수 있게 되는 것이다.Referring to FIG. 4, in order to back up the backup data generated from the plurality of home location registers 410 to 430 to one backup-home location register 450, the shared file system 440 is first divided into a plurality of areas ( Area-1 to area-n) 441 to 443. FIG. After allocating the areas 441 to 443 to each of the plurality of home location registers 410 to 430, the home location registers 410 to 430 store backup data in the allocated area. That is, the real-time backup manager 411 of the home location register-1 (410) records the backup data generated by the home location register-1 (410) in the area-1441, and the home location register-2 (420). The real time backup management unit 421 records the backup data generated by the home location register-2 (420) in the area-2 (442), and the real time backup management unit 431 of the home location register-n (430) is the home location. The backup data generated by the register-n 430 is recorded in the area-n 443. At this time, the home location registers 410 to 430 define a file name differently for each occurrence cause of the backup data and store it in the corresponding area. Then, the backup-home location register 450 may know the type of backup data based on the file name, and may identify the home location register where the file is generated based on the area in which the file is stored.

한편, 백업홈위치등록기(450)는 홈위치등록기들(410 내지 430)별로 할당된 공유파일시스템(440)의 영역들(441 내지 443)을 주기적으로 감시하고 있다가 백업을 위한 백업데이터파일들이 발견되면, 그 백업데이터파일들이 발견된 공유파일시스템상의 영역이름, 파일의 이름 및 파일의 생성시간을 이용하여 그 백업데이터파일이 어느 홈위치등록기에서 생성된 어떤 유형의 데이터베이스 변경인가를 구분하고 이에 적합한 처리를 수행한다.Meanwhile, the backup home location register 450 periodically monitors the areas 441 to 443 of the shared file system 440 allocated to each of the home location registers 410 to 430, and then backup data files for backup are stored. If found, the domain name on the shared file system where the backup data files were found, the file name, and the creation time of the file are used to identify and identify what type of database change the backup data file was created at which home location register. Perform the appropriate treatment.

상기에서는 홈위치등록기 가입자데이터베이스의 실시간 백업을 위한 구성요소들을 설명하였는데, 상기에서 설명한 구성요소들이 백업될 데이터의 유형별로 어떠한 순서에 의하여 어떠한 동작을 수행함으로써, 서비스홈위치등록기의 데이터베이스를 백업홈위치등록기의 데이터베이스에 백업되는가를 다음부터 설명한다.In the above, the components for real-time backup of the home location register subscriber database have been described. The above-described components perform any operation in any order for each type of data to be backed up, thereby backing up the database of the service home location register. The following describes whether the data is backed up in the register database.

우선, 통상적인 홈위치등록기에 있어서 가입자데이터베이스의 변경은 다음과 같이 6가지 유형으로 구분할 수 있다.(a) 운용자터미널을 통한 가입자데이터 생성/삭제/변경(b) 고객센터로부터의 가입자데이터 생성/삭제/변경(c) 가입자의 위치변경에 다른 위치데이터 변경(d) 가입자단말기의 전원상태 변경에 따른 단말기 상태 변경(e) 단문메시지 관련 상태변화에 따른 가입자데이터의 변경(f) 가입자단말기의 기능코드 조작에 의한 가입자데이터의 변경'(a)유형'은 운용자가 MMC(Man Machine Command)를 사용하여 가입자데이터베이스를 변경하는 경우 발생되고, '(b)유형'은 고객센터에서 데이터베이스 변경을 수행하는 경우 발생되고, '(c)유형'은 가입자가 이동통신망 내에서 위치를 이동하는 경우 발생되고, '(d)유형'은 가입자단말기의 전원상태가 변경된 경우 발생되고, '(e)유형'은 가입자에게 전달된 단문메시지가 새로이 발생하였거나, 이동통신교환기(MSC)로부터 가입자에게 단문메시지를 전달할 수 있는 상태임을 통보받은 경우 발생되고, '(f)유형'은 가입자가 단말기에서 기능코드(Feature Code, 예: *88, *89, ** 등)를 사용하여 홈위치등록기 가입자데이터베이스에 저장된 자신의 서비스 관련정보를 변경한 경우 발생된다.이러한 데이터 변경원인에 대한 유형들의 특성을 살펴보면, '(a)유형'과 '(b)유형'은 그 발생빈도가 적은 반면 한번에 이루어져야 할 데이터의 변경내역이 크고, '(c)유형', '(d)유형', '(e)유형' 및 '(f)유형'은 그 발생빈도가 큰 반면 한번에 이루어져야 할 데이터의 변경내역은 적은 편이다. 따라서, 본 발명에서는 각 유형별로 그 처리방법을 달리 적용하도록 한다.즉, '(a)유형'의 경우 백업데이터가 발견될 때마다 그 백업데이터를 즉시 백업용-홈위치등록기에 반영하고, '(b)유형' 및 '(f)유형'의 경우 일정개수의 변경내역이 발생할 때까지 변경내역을 저장하였다가 일정개수의 변경내역을 한꺼번에 백업용-홈위치등록기에 반영하고, '(c)유형', '(d)유형' 및 '(e)유형' 의 경우 일정개수의 변경내역을 운용중인 홈위치등록기의 버퍼에 저장하였다가 그 변경내역이 일정개수에 도달하거나 일정시간 이상이 경과되면 해당 변경내역을 백업용-홈위치등록기에 반영한다.도 2 및 도 3을 참조하여 상기 각 유형별 가입자데이터베이스 변경원인에 따른 백업과정을 설명하면 다음과 같다.First, in a typical home location register, the subscriber database can be classified into six types: (a) creation / deletion / change of subscriber data through the operator terminal; (b) generation of subscriber data from the customer center / (C) Change of subscriber's location according to change of subscriber's location (d) Change of terminal's status according to change of subscriber's power status (e) Change of subscriber's data due to short message related status change (f) Function of subscriber's terminal Change of subscriber data by code manipulation '(a) Type' occurs when the operator changes the subscriber database using MMC (Man Machine Command). '(C)' type occurs when the subscriber moves position in the mobile network, and '(d)' type occurs when the power state of the subscriber terminal is changed. '(E)' type is generated when a new short message delivered to the subscriber is newly generated or when the mobile communication exchange (MSC) is notified that the short message can be delivered to the subscriber. Occurs when the subscriber changes the information related to his / her service stored in the subscriber register database using the feature code (eg, * 88, * 89, **, etc.) on the terminal. Looking at the characteristics of the types, '(a) type' and '(b) type' have a low frequency of occurrence, but the change of data to be made at one time is large, '(c) type', '(d) type', The '(e)' and '(f)' types are more frequent, while the data changes that need to be made at one time are less frequent. Therefore, in the present invention, the processing method is applied differently for each type. That is, in the case of type (a), whenever the backup data is found, the backup data is immediately reflected to the backup-home location register, and '( b) Type 'and' (f) 'type, the change history is stored until a certain number of changes occur, and the certain number of changes are reflected at the same time in the backup-home location register and' (c) type ' In case of '(d)' type and '(e)' type, a certain number of changes are stored in the buffer of the operating home location register, and when the change reaches a certain number or more than a certain time, The details are reflected to the backup-home location register. Referring to FIGS. 2 and 3, the backup process according to the cause of the change of the subscriber database for each type is described as follows.

먼저, '(a)유형: 운용자터미널을 통한 가입자데이터의 생성/삭제/변경'의 경우, 변경명령이 도 2의 "운용자터미널(240) →LAN(230) →운용자정합부(226)"를 경유하여 도 2의 데이터베이스관리부(224)로 전달되면, 데이터베이스관리부(224)는 그 변경명령을 바탕으로 가입자데이터베이스(225)를 갱신한다. 그리고, 데이터베이스관리부(224)는 상기 변경명령을 실시간백업관리부(228)로 전달한다.First, in case of '(a) type: generation / deletion / change of subscriber data through the operator terminal', the change command is performed by “operator terminal 240 → LAN 230 → operator matching unit 226” of FIG. 2. When delivered to the database manager 224 of FIG. 2, the database manager 224 updates the subscriber database 225 based on the change command. The database manager 224 transfers the change command to the real-time backup manager 228.

한편, 도 3을 참조하면, 데이터베이스관리부(224)로부터 '(a)유형'의 변경명령을 통보받은 실시간백업관리부(228)는 자신이 수신한 메시지 전체를 백업용-홈위치등록기(320)와 공유하는 공유파일시스템(310)의 소정영역(도 3에서는 영역-2(312))에 파일로 생성한다. 그러면, 공유파일시스템(310)을 감시하고 있던 백업용-홈위치등록기(320)의 실시간백업관리부(328)는 그 파일의 이름으로부터 파일에 포함된 내용이 운용자에 의한 데이터베이스 갱신에 관련된 내용임을 파악한 후, 파일의 내용을 읽어서 데이터베이스관리부(324)에게 전달한다.Meanwhile, referring to FIG. 3, the real-time backup manager 228 notified of the change command of 'a type' from the database manager 224 shares the entire message received with the backup-home location register 320. A file is generated in a predetermined area (area-2312 in FIG. 3) of the shared file system 310. Then, the real-time backup management unit 328 of the backup-home location register 320, which was monitoring the shared file system 310, grasps that the contents contained in the file are related to the database update by the operator after the file name. Read the content of the file, and delivers it to the database management unit (324).

이를 수신한 데이터베이스관리부(324)는 그 내용에 의거하여 가입자데이터베이스(325)의 내용을 변경함으로써, 백업용-홈위치등록기(320)의 가입자데이터베이스(325)를 홈위치등록기(220)의 가입자데이터베이스(225)와 일치시킨다. 마지막으로, 실시간백업관리부(328)가 처리를 종료한 파일은 공유파일시스템(310)에서 삭제한다.The database management unit 324 receiving this changes the contents of the subscriber database 325 based on the contents thereof, thereby replacing the subscriber database 325 of the backup-home location register 320 with the subscriber database of the home location register 220. 225). Finally, the file whose processing is completed by the real-time backup management unit 328 is deleted from the shared file system 310.

상기 '(b)유형: 고객센터로부터의 가입자데이터 생성/삭제/변경'의 경우, 변경명령이 도 2의 "고객센터(250) →LAN(230) →고객센터정합부(227)"를 경유하여 도 2의 데이터베이스관리부(224)로 전달되면, 데이터베이스관리부(224)는 그 변경 명령을 분석한 후, 가입자데이터베이스(225)를 갱신한다. 이 때, 데이터베이스 갱신 명령이 실패하면 데이터베이스관리부(224)는 다음 명령어의 수신대기상태로 동작상태를 천이한다.In the case of type (b): creation / deletion / change of subscriber data from the customer center, the change order is via the “customer center 250 → LAN 230 → customer center matching unit 227” of FIG. 2. 2, the database manager 224 updates the subscriber database 225 after analyzing the change command. At this time, if the database update command fails, the database manager 224 transitions the operation state to the reception standby state of the next command.

한편, 도 3을 참조하면, 고객센터로부터 수신한 가입자데이터베이스 변경명령을 성공적으로 처리한 데이터베이스관리부(224)는 고객센터정합부로부터 수신한 변경명령 전체를 실시간백업관리부(228)에게 전달하며, 이를 전달받은 실시간백업관리부(228)는 그 변경명령을 소정의 내부버퍼에 기록한다. 그리고, 그 내부버퍼가 풀(Full)이거나, 내부버퍼에 저장된 데이터의 생성시간이 임계시간(1초에서 120분 사이에서 운용자가 변경할 수 있도록 함) 이상 경과한 경우, 그 때까지 내부버퍼에 저장된 내용 전체를 공유파일시스템(310)의 지정된 영역에 기록한다. 이 때, 그 파일의 이름은 고객센터에 의한 가입자데이터베이스의 변경임을 알 수 있도록 한다. 만약, 그렇지 않은 경우 실시간백업관리부(228)는 다음 데이터의 수신대기 상태로 천이한다.Meanwhile, referring to FIG. 3, the database manager 224, which has successfully processed the subscriber database change command received from the customer center, transmits the entire change command received from the customer center matching unit to the real time backup manager 228. The received real-time backup management unit 228 records the change command in a predetermined internal buffer. If the internal buffer is full or the generation time of the data stored in the internal buffer has elapsed more than the threshold time (so that the operator can change it between 1 second and 120 minutes), the internal buffer is stored until then. The entire contents are recorded in the designated area of the shared file system 310. At this time, the name of the file indicates that the change of the subscriber database by the customer center. If not, the real-time backup management unit 228 transitions to the reception standby state of the next data.

한편, 공유파일시스템(310)을 감시하고 있던 백업용-홈위치등록기(320)의 실시간백업관리부(328)는 공유파일시스템(310)상에 새로운 파일이 생성되었음을 감지하고 그 파일의 이름을 분석하여 그 파일에 포함된 내용이 고객센터에 기인한 가입자데이터베이스의 변경에 관련된 내용임을 판단한다. 그리고, 그 파일의 이름을 자신의 내부 버퍼로 읽은 후 공유파일시스템(310)상에서 읽어들인 파일을 삭제한다.Meanwhile, the real-time backup management unit 328 of the backup-home location register 320 monitoring the shared file system 310 detects that a new file is created on the shared file system 310 and analyzes the name of the file. It is determined that the contents contained in the file are related to the change of the subscriber database due to the customer center. After reading the name of the file into its internal buffer, the file read from the shared file system 310 is deleted.

또한, 실시간백업관리부(328)는 버퍼에 읽어들인 데이터엔트리(가입자데이터베이스 변경관련 명령어) 중 가장 오래된 것부터 꺼내어 데이터베이스관리부(324)로 전달한다. 그러면, 데이터베이스관리부(324)는 그 명령에 의거하여 가입자데이터베이스(325)를 적절하게 변경한 후 다음번 명령어 대기 상태로 천이한다.In addition, the real-time backup management unit 328 takes out the oldest of the data entries (subscriber database change related instructions) read in the buffer and transfers them to the database management unit 324. Then, the database manager 324 properly changes the subscriber database 325 based on the command and then transitions to the next command waiting state.

상기 '(c)유형: 가입자의 위치변경에 따른 위치데이터 변경'의 경우, 도 2의 MAP메시지처리부(223)가 이 상황을 감지하여 실제 서비스중인 홈위치등록기의 가입자 데이터베이스(225)의 해당되는 가입자 엔트리의 내용 중 그 가입자의위치관련 정보들을 갱신하게 된다.In the case of type (c): location data change according to the subscriber's location change, the MAP message processing unit 223 of FIG. 2 detects the situation and corresponds to the subscriber database 225 of the home location register in service. The subscriber's location information is updated in the contents of the subscriber entry.

그런데, 가입자의 위치데이터의경우 변경시 백업해야 할 데이터가 많은 반면, 그 데이터들 중의 일부가 MSC의 포인트코드(PC: Point Code)에 의존적이라는 특성이 있다. 도 5에 이러한 위치데이터의 특성이 나타나 있다. 즉, 도 5는 백업데이터의 발생요인별 백업데이터의 종류를 나타낸 도면으로서, 도 5를 참조하면, 가입자의 위치변경에 따라 백업해야 할 데이터는 가입자식별번호(MIN), 가입자가 위치하고 있는 MSC 구분자(MSC_ID), 가입자가 위치하고있는 MSC의 제조사를 나타내는 코드(SMTC: SystemMyTypeCodo), MSC의 트랜잭션처리능력(TCAPA: Transaction Capability), MSC의 시스템 캐퍼빌러티(SCAPA: System Capability), MSC의 단문메시지처리능력 소유 여부(SMS: Short Message Service), MSC와 관련된 단문메시지센터의 주소(SMSA: Short Message Service Address), MSC의 포인트코드서브시스템페어(PC_SSN: Point Code Subsystem Pair, PC는 MSC의 SS7 주소를 의미함), 가입자에게 전달될 단문메시지가 존재함을 알려주는 단문전송예정플래그 (SMS_DelivertPendingFlag), 단말기의 전원상태를 알려주는 전원상태(MS_Status: Mobile Station Status) 등이 있다. 그런데, 이들 중에서 MSC_ID, SMTC, TCAPA, SCAPA, SMS, SMSA 및 PC_SSN은 MSC의 포인트코드(PC: Point Code)에 의존적이다. 따라서, 도 6에 나타난 바와 같이, 백업용-홈위치등록기에 MSC의 PC를 Key로하며 각 엔트리의 내용으로 MSC_ID, SMTC, TCAPA, SCAPA, SMS, SMSA 및 PC_SSN을 포함하는 테이블을 관리하면, 가입자의 위치데이터 변경시 운용중인 홈위치등록기에서 백업용-홈위치등록기로 전송하는 데이터의 양을 줄일 수 있을 것이다. 즉, 홈위치등록기에서는 가입자의 위치변경에 의한 가입자데이터베이스의 변경 내역을 알려주기 위하여 가입자데이터베이스의 Key가되는 MIN, PC, MS_Status 및 SMS_DeliveryPendingFlag만 백업용-홈위치등록기로 전달하고, 백업용-홈위치등록기가 수신한 정보들 중 PC에 의해 내부에 관리하고 있는 테이블(도 6의 구조를 갖는)로부터 해당 MSC의 MSC_ID, SMTC, TCAPA, SCAPA,SMS, SMSA 및 PC_SSN을 복원함으로써 가입자의 위치정보를 판독할 수 있도록 한다.However, the location data of the subscriber has a lot of data to be backed up when the change, while some of the data has a characteristic that depends on the point code (PC) of the MSC. 5 shows the characteristics of such position data. That is, FIG. 5 is a diagram illustrating types of backup data for each occurrence factor of backup data. Referring to FIG. 5, data to be backed up according to a change in the location of a subscriber is a subscriber identification number (MIN) and an MSC identifier in which the subscriber is located. (MSC_ID), a code indicating the manufacturer of the MSC where the subscriber is located (SMTC: SystemMyTypeCodo), MSC's Transaction Capability (TCAPA), MSC's System Capability (SCAPA: System Capability), MSC's short message processing Short Message Service (SMS), Short Message Service Address (SMSA) associated with MSC, Point Code Subsystem Pair (PC_SSN) of MSC, PC uses SS7 address of MSC (SMS_DelivertPendingFlag) to inform the subscriber that there is a short message to be delivered to the subscriber (SMS_DelivertPendingFlag), the power status (MS_Status: Mobile Station Status) to inform the power status of the terminal, etc. There is this. However, among these, MSC_ID, SMTC, TCAPA, SCAPA, SMS, SMSA and PC_SSN depend on the point code (PC) of the MSC. Therefore, as shown in FIG. 6, if the MSC's PC is used as a key in the backup-home location register and a table including MSC_ID, SMTC, TCAPA, SCAPA, SMS, SMSA, and PC_SSN is included in each entry, When changing the location data, it is possible to reduce the amount of data transferred from the running home location register to the backup-home location register. That is, in the home location register, only the MIN, PC, MS_Status and SMS_DeliveryPendingFlag, which are the key of the subscriber database, are transmitted to the backup-home location register to inform the change history of the subscriber database due to the subscriber's location change. The subscriber's location information can be read by restoring the MSC_ID, SMTC, TCAPA, SCAPA, SMS, SMSA and PC_SSN of the corresponding MSC from a table (having the structure of FIG. 6) managed internally by the PC among the received information. Make sure

이로 인해, 백업해야 할 데이터의 양이 많은 가입자의 위치관련 정보의 백업시 그 데이터들을 백업하기 위해 발생되는 LAN의 부하를 줄일 수 있는 것이다. 이러한 내용을 도 3을 참조하여 설명하면 다음과 같다.As a result, when the backup of the location-related information of the subscriber with a large amount of data to be backed up, it is possible to reduce the load on the LAN to back up the data. This will be described with reference to FIG. 3.

우선, 운용중인 홈위치등록기(220)의 MAP메시지처리부(223)가 SS7정합부로부터 수신한 메시지를 분석하여 가입자의 위치변경이 감지되면, MAP메시지처리부(223)는 가입자데이터베이스(225)의 위치관련 정보를 변경한 후, 실시간백업관리부(228)에게 변경된 MIN, PC, MS_Status 및 SMS_DeliveryPendingFlag를 전달한다.First, when the location change of the subscriber is detected by analyzing the message received from the SS7 matching unit by the MAP message processing unit 223 of the home location register 220 in operation, the MAP message processing unit 223 places the location of the subscriber database 225. After the relevant information is changed, the changed MIN, PC, MS_Status, and SMS_DeliveryPendingFlag are transmitted to the real-time backup management unit 228.

그러면, 실시간백업관리부(228)는 내부버퍼가 풀(Full)이거나, 내부버퍼에 저장된 데이터의 생성시간이 임계시간(1초에서 120분 사이에서 운용자가 변경할 수 있도록 함) 이상 경과한 경우, 내부버퍼 전체의 내용을 공유파일시스템(310)의 지정된 영역에 기록한다. 이 때, 그 파일의 이름은 위치데이터변경에 의한 가입자데이터베이스의 갱신임을 알 수 있게 정의 한다. 만약, 그렇지 않은 경우 실시간 백업관리부(228)는 다음 데이터의 수신대기 상태로 천이한다.Then, the real-time backup management unit 228 is the internal buffer is full (Full), or when the generation time of the data stored in the internal buffer exceeds the threshold time (so that the operator can change between 1 second to 120 minutes), the internal The contents of the entire buffer are recorded in the designated area of the shared file system 310. At this time, the name of the file is defined so that it can be known that the update of the subscriber database by the location data change. If not, the real-time backup management unit 228 transitions to the reception standby state of the next data.

한편, 공유파일시스템(310)을 감시하고 있던 백업용-홈위치등록기(320)의 실시간백업관리부(328)는 공유파일시스템(310)상에 새로운 파일이 생성되었음을 감지하고 그 파일의 이름을 분석하여 그 파일에 포함된 내용이 가입자의 위치변경에 의한 가입자데이터베이스의 변경에 관련된 내용임을 판단한 후 그 파일의 내용을 자신의 버퍼에 저장한다. 또한, 실시간백업관리부(328)는 버퍼에 읽어들인 데이터들 중 가장 오래된 데이터로부터 순차적으로 읽어서 거기에 포함된 PC와 백업용-홈위치등록기상의 테이블(도 6)을 사용하여 위치관련된 모든 데이터들(MSC_ID, SMTC, SCAPA, TCAPA, SMS, SMSA, PC_SSN 등)을 복원한 뒤, MIN을 Key로하여 가입자데이터베이스(325)를 갱신한다. 버퍼의 모든 엔트리에 대하여 데이터베이스의 갱신이 종료되면, 실시간백업관리부(328)는 공유파일시스템(310)상의 파일을 삭제한다. 이상에서 언급한 실시간백업관리부(328)의 내부버퍼의 크기는 1 에서 10000 사이에서 변경할 수 있게 구현하여 이동통신망에서 발생하는 가입자 위치변경에 의한 데이터베이스변경의 양에 따라 적절한 값을 사용할 수 있도록 한다. 따라서, 가입자데이터베이스의 실시간 백업시에 발생하는 부하를 조절할 수 있게 한다.Meanwhile, the real-time backup management unit 328 of the backup-home location register 320 monitoring the shared file system 310 detects that a new file is created on the shared file system 310 and analyzes the name of the file. After determining that the contents included in the file are related to the change of the subscriber database due to the change of the subscriber's location, the contents of the file are stored in its own buffer. In addition, the real-time backup management unit 328 reads sequentially from the oldest data among the data read into the buffer and stores all the data related to the location by using the PC included therein and the table on the backup-home location register (FIG. 6). After restoring MSC_ID, SMTC, SCAPA, TCAPA, SMS, SMSA, PC_SSN, etc., the subscriber database 325 is updated using MIN as a key. When updating of the database is finished for all entries in the buffer, the real-time backup management unit 328 deletes the file on the shared file system 310. The size of the internal buffer of the real-time backup management unit 328 mentioned above can be changed from 1 to 10000 so that an appropriate value can be used according to the amount of database change caused by the subscriber location change occurring in the mobile communication network. Therefore, it is possible to adjust the load generated during the real-time backup of the subscriber database.

상기 '(d)유형: 가입자단말기의 전원상태 변경에 따른 단말기 상태 변경'의 경우, 도 5를 참조하면, 가입자데이터베이스의 어트리뷰트인 MS_Status의 내용이 변경된다. 따라서, 도 3의 MAP메시지처리부(223)가 단말기 전원 온/오프(On/Off)에 의한 데이터베이스 변경을 감지하면 MAP메시지처리부(223)는 가입자데이터베이스 (225)를 변경한 후 실시간백업관리부(228)에게 MIN과 MS_Status를 전달한다. 그러면, 실시간백업관리부(228)는 수신된 MIN과 MS_Status 정보를 자신이 관리하는 내부버퍼(버퍼의 크기는 1 에서 10000)에다 엔트리로 추가한다.In the case of the type (d): terminal state change according to the change in the power state of the subscriber station, referring to FIG. 5, the content of the MS_Status, which is an attribute of the subscriber database, is changed. Therefore, when the MAP message processing unit 223 of FIG. 3 detects a database change due to terminal power on / off, the MAP message processing unit 223 changes the subscriber database 225 and then the real time backup management unit 228. ) To MIN and MS_Status. Then, the real-time backup management unit 228 adds the received MIN and MS_Status information to the internal buffer (the size of the buffer is 1 to 10000) as its entry as an entry.

그리고, 그 내부버퍼가 풀(Full)이거나, 내부버퍼에 저장된 데이터의 생성시간이 임계시간(1초에서 120분 사이에서 운용자가 변경할 수 있도록 함) 이상 경과한 경우, 그 때까지 내부버퍼에 저장된 내용 전체를 공유파일시스템(310)의 지정된 영역에다 기록한다. 이 때, 그 파일의 이름은 데이터베이스 변경의 원인을 알 수 있도록 한다. 만약, 그렇지 않은 경우 실시간백업관리부(228)는 다음 데이터의 수신대기상태로 천이하고 작업을 종료한다.If the internal buffer is full or the generation time of the data stored in the internal buffer has elapsed more than the threshold time (so that the operator can change it between 1 second and 120 minutes), the internal buffer is stored until then. The entire contents are recorded in the designated area of the shared file system 310. At this point, the file name identifies the cause of the database change. If not, the real-time backup management unit 228 transitions to the reception standby state of the next data and ends the operation.

상기 '(e)유형: 단문메시지 관련 상태변화에 따른 가입자데이터의 변경'의 경우, 도 5의 '3'번 항목에 예시된 바와 같이 백업용-홈위치등록기로 백업되어야 할 가입자데이터베이스의 어트리뷰트는 가입자데이터베이스의 Key인 MIN과 SMS_Delivery PendingFlag 등이 있다. 도 3을 참조하면, SS7정합부로부터 '(e)유형'의 가입자데이터베이스 변경명령이 수신된 경우, MAP메시지처리부(223)는 가입자데이터베이스(225)의 단문메시지관련 데이터에 대한 변경을 수행한 후, 실시간백업관리부(228)에게 그 내용(MIN, SMS_DeliveryPendingFlag 등)을 전달한다.In the case of '(e) Type: Change of subscriber data according to a change in short message related state', an attribute of a subscriber database to be backed up to a backup-home location register as illustrated in item 3 of FIG. 5 is a subscriber. MIN and SMS_Delivery PendingFlag, which are the keys of the database, are included. Referring to FIG. 3, when a subscriber database change command of type (e) is received from the SS7 matching unit, the MAP message processing unit 223 performs a change on the short message related data of the subscriber database 225. The real time backup management unit 228 transmits the contents (MIN, SMS_DeliveryPendingFlag, etc.).

그러면, 실시간백업관리부(228)는 수신된 정보들(MIN, SMS_DeliveryPending Flag)을 자신이 관리하는 내부버퍼에 저장한다. 그리고, 그 내부버퍼가 풀(Full)이거나, 내부버퍼에 저장된 데이터의 생성시간이 임계시간(1초에서 120분 사이에서 운용자가 변경할 수 있도록 함) 이상 경과한 경우, 그 때까지 내부버퍼에 저장된 내용 전체를 공유파일시스템(310)의 지정된 영역에 기록한다. 이 때, 그 파일의 이름은 데이터베이스 변경의 원인을 알 수 있도록 한다. 만약, 그렇지 않은 경우 실시간백업관리부(228)는 다음 데이터의 수신 대기상태로 천이하고 작업을 종료한다.Then, the real-time backup management unit 228 stores the received information (MIN, SMS_DeliveryPending Flag) in an internal buffer managed by itself. If the internal buffer is full or the generation time of the data stored in the internal buffer has elapsed more than the threshold time (so that the operator can change it between 1 second and 120 minutes), the internal buffer is stored until then. The entire contents are recorded in the designated area of the shared file system 310. At this point, the file name identifies the cause of the database change. If not, the real-time backup management unit 228 transitions to the standby state for receiving the next data and ends the operation.

한편, 공유파일시스템(310)을 감시하고 있던 백업용-홈위치등록기(320)의 실시간백업관리부(328)는 공유파일시스템(310)상에 새로운 파일이 생성되었음을 감지하고, 그 파일의 이름으로부터 단문메시지 변경관련 파일임을 판단한 후, 그 파일의 내용을 자신의 내부 버퍼로 읽어들인다. 그리고, 그 파일을 공유파일시스템 상에서 삭제한다. 또한, 실시간백업관리부(328)는 버퍼로 읽어들인 파일의 내용 중 시간적으로 오래된 엔트리부터 시간순서대로 하나씩 꺼내어 그 엔트리에 포함된 MIN을 Key로 하여 가입자 데이터베이스(325)에 저장된 단문메시지서비스관련 어트리뷰트들을 변경한다.On the other hand, the real-time backup management unit 328 of the backup-home location register 320 for monitoring the shared file system 310 detects that a new file has been created on the shared file system 310, and from the name of the file After determining that it is a message change related file, the contents of the file are read into its internal buffer. The file is then deleted from the shared file system. In addition, the real-time backup management unit 328 retrieves the short message service related attributes stored in the subscriber database 325 using the MIN included in the entry as the key from the oldest entries in time order among the contents of the file read into the buffer. Change it.

상기 '(f)유형: 가입자단말기의 기능코드 조작에 의한 가입자데이터의 변경'의 경우, 가입자가 단말기를 사용하여 기능코드(Feature Code)를 사용하였을 경우에 발생된다. 도 3의 MAP메시지처리부(223)는 가입자단말기의 기능코드조작에 의한 가입자데이터베이스 변경의 필요성이 감지되면, 서비스 중인 홈위치등록기(220)의 가입자 데이터베이스(225)에 저장된 가입자데이터를 변경한다. 그리고, 데이터베이스를 변경하기 위하여 사용하였던 모든 데이터를 실시간백업관리부(228)에게 전달한다.Type (f): change of subscriber data by operation of a function code of a subscriber terminal is generated when a subscriber uses a feature code using a terminal. If the MAP message processing unit 223 of FIG. 3 detects the need to change the subscriber database by the function code manipulation of the subscriber terminal, the MAP message processing unit 223 changes the subscriber data stored in the subscriber database 225 of the home location register 220 in service. Then, all data used to change the database is transferred to the real-time backup management unit 228.

그러면, 실시간백업관리부(228)는 공유파일시스템(310)상의 할당된 영역에다 기능코드에 의한 데이터베이스 변경임을 판별할 수 있는 이름의 파일을 생성하고 수신한 데이터를 그 파일에다 쓴다.Then, the real-time backup management unit 228 generates a file with a name that can be identified as a database change by a function code in the allocated area on the shared file system 310 and writes the received data to the file.

한편, 공유파일시스템상의 새로운 파일 생성을 감시하고 있던 백업용-홈위치등록기(320)의 실시간백업관리부(328)는 새로운 파일의 생성을 감지하고, 그 파일이름으로부터 그 파일에 저장된 내용이 기능코드에 의한 가입자데이터베이스의 변경과 관련이 있음을 인식한 후, 그 파일의 내용을 읽어들인다. 그리고, 공유파일시스템(310)에서 그 파일을 삭제한다. 또한, 실시간백업관리부(328)는 읽어들인 파일의 내용을 사용하여 가입자데이터베이스(325)의 관련부분을 변경한다.On the other hand, the real-time backup management unit 328 of the backup-home location register 320, which was monitoring the creation of a new file on the shared file system, detects the creation of a new file, and the contents stored in the file are stored in the function code from the file name. Read the contents of the file after recognizing that it is related to a change in the subscriber database. Then, the file is deleted from the shared file system 310. In addition, the real-time backup management unit 328 changes the relevant portion of the subscriber database 325 by using the contents of the read file.

도 7은 본 발명의 일 실시예에 따라 홈위치등록기가 공유파일시스템에 백업용 가입자데이터를 생성하는 방법에 대한 처리 흐름도이다.7 is a flowchart illustrating a method of generating a subscriber data for backup in a shared file system by a home location register according to an embodiment of the present invention.

도 7을 참조하면, 홈위치등록기는 외부로부터 가입자데이터베이스 변경요청이 수신되기를 기다린다(S501). 즉, 홈위치등록기의 가입자데이터베이스에 변경이 가해질 수 있는 외부로부터의 사건을 기다린다. 이처럼 홈위치등록기의 가입자데이터베이스에 변경을 가할 수 있는 외부 사건으로는 가입자 위치변경에 의한 관련 데이터 변경, 단말기 전원 온/오프(On/Off) 상태 변화에 의한 가입자데이터베이스 변경, 단문서비스 관련 가입자데이터베이스 변경, 고객센터에 기인한 가입자데이터베이스 변경, 운용자에 기인한 가입자데이터베이스 변경 및 가입자가 기능코드를 사용하여 유발된 가입자데이터베이스의 변경 등이 있을 수 있다.한편, 홈위치등록기가 가입자데이터베이스 변경요청을 수신하면(S502), 그 요청에 따라 가입자데이터베이스를 갱신한다(S503). 즉, 가입자데이터베이스의 변경을 유발하는 사건이 홈위치등록기에 접수되면 홈위치등록기는 각각에 해당하는 적절한 가입자데이터베이스의 변경을 수행한다. 그리고, 홈위치등록기는 가입자데이터베이스 갱신작업의 성공여부를 확인하여(S504), 작업을 실패하였으면 다시 데이터베이스 변경요청 대기상태(S501)로 되돌아가고, 작업을 성공하였으면 백업용-홈위치등록기의 가입자데이터베이스에 이를 반영하기 위한 후속 동작을 취하게 된다.즉, 홈위치등록기는 갱신된 데이터의 유형을 분석한 후(S505) 그 유형에 따른 처리를 수행한다. 이 때, 갱시된 데이터의 유형은 상기 언급한 바와 같이 (a)내지 (f)유형이 있을 수 있다. 상기 분석(S505)결과, 갱신된 데이터가 ,(a) 또는 (f) 유형인 경우 홈위치등록기는 갱신된 데이터를 직접 공유파일시스템에 저장하고(S510), 갱신된 데이터가 (b),(c),(d) 및 (e) 중 어느 하나의 유형인 경우 홈위치등록기는 우선 내부버퍼에 갱신된 데이터를 저장하고(S507), 그 버퍼가 풀(Full)이거나(S508), 그 버퍼에 저장된 데이터들 중 가장 오래된 데이터의 저장시간이 전송임계시간을 경과한 경우(S509) 버퍼의 내용을 공유파일시스템에 저장한다(S510). 만약, 버퍼풀(Full)도 아니고, 그 버퍼에 저장된 데이터들이 전송임계시간을 경과하지 않은 경우는 데이터베이스 변경요청 대기상태(S501)도 되돌아 간다.Referring to FIG. 7, the home location register waits to receive a subscriber database change request from the outside (S501). That is, it waits for an event from the outside that can be changed in the subscriber database of the home location register. As such, external events that can be changed to the subscriber database of the home location register include changes in the relevant data due to the change of the subscriber's location, changes in the subscriber database due to the change in the terminal's power on / off status, and changes in the subscriber database related to the short service. For example, there may be a change in the subscriber database due to the customer center, a change in the subscriber database due to the operator, and a change in the subscriber database caused by the subscriber using the function code. (S502), the subscriber database is updated according to the request (S503). That is, when an event causing a change in the subscriber database is received at the home location register, the home location register performs a change in the appropriate subscriber database corresponding to each. Then, the home location register checks whether the subscriber database update operation is successful (S504). If the operation fails, the home location register returns to the database change request waiting state (S501). If the operation is successful, the home location register returns to the subscriber database of the backup-home location register. The home location register analyzes the type of the updated data (S505) and then performs processing according to the type. At this time, the type of the updated data may be of the type (a) to (f) as mentioned above. As a result of the analysis (S505), if the updated data is of type (a) or (f), the home location register directly stores the updated data in the shared file system (S510), and the updated data is (b), ( In the case of any one of c), (d) and (e), the home location register first stores the updated data in the internal buffer (S507), and the buffer is full (S508), or in the buffer. If the storage time of the oldest data among the stored data has passed the transmission threshold time (S509), the contents of the buffer are stored in the shared file system (S510). If not the buffer pool (Full), and the data stored in the buffer has not passed the transmission threshold time, the database change request wait state (S501) is also returned.

도 8a 및 도 8b는 본 발명의 일 실시예에 따라 백업용-홈위치등록기가 공유파일시스템에 저장된 백업용 가입자데이터를 백업하는 방법에 대한 처리 흐름도이다.도 8a 및 도 8b를 참조하면, 백업용-홈위치등록기는 공유파일시스템의 저장영역에 새로운 파일이 생성되었는지를 점검한다(S601). 이 때, 공유파일시스템의 저장영역은 소정개의 영역으로 구분되어, 각 영역마다 서로 다른 홈위치등록기의백업데이터를 저장하므로, 백업용-홈위치등록기는 그 영역별로 어느 영역에 새로운 파일이 생성되었는지를 점검하게 된다.상기 점검(S601)결과 공유파일시스템의 소정영역에 새로운 파일이 존재하면(S602), 그 파일을 백업용-홈위치등록기로 읽어들인 후(S603), 그 파일을 분석한다(S604). 즉, 그 파일이 저장된 영역에 의거하여 어느 홈위치등록기에서 생성한 파일인지를 확인하고, 그 파일의 이름에 의거하여 백업될 가입자데이터의 유형을 분석한다. 만약, 공유파일시스템의 특정 영역에 새로운 파일이 다수개 있는 경우, 파일들의 이름을 읽어들여서, 파일들의 이름을 그 생성순서에 따라 정렬하여 목록을 생성한 후, 그 목록의 첫번째 파일부터 선택하여 그 파일을 분석한다.그리고, 상기 파일 분석결과로 파일에 저장된 데이터의 종류를 판단하였으면, 그 종류에 따른 처리를 수행한다(S605). 즉, 파일에 저장된 데이터가 (a)유형의 데이터(운용자에 의한 데이터변경)인 경우, 백업용-홈위치등록기의 실시간백업관리부는 그 파일의 내용을 데이터베이스관리부에게 전송하고(S606), 데이터베이스관리부는 그 파일 내용에 의거하여 가입자데이터베이스를 갱신한다(S607). 또한, 파일에 저장된 데이터가 (f)유형의 데이터(기능코드에 의한 데이터변경)인 경우, 백업용-홈위치등록기의 실시간백업관리부가 그 파일내용에 의거하여 가입자데이터베이스를 갱신한다(S608).한편, 파일에 저장된 데이터가 (b),(c),(d) 및 (e) 중 어느 하나의 유형인 경우는 도 8b에 도시된 바와 같이 그 파일의 내용을 버퍼로 읽어들인 후(S609), 그 버퍼로부터 데이터를 하나씩 꺼내어 처리하게 된다. 이는 홈위치등록기에서 백업데이터를 생성할 때, 실시간으로 생성한 것이 아니고 소정시간동안 버퍼에 저장된 소정개의 데이터를 한꺼번에 백업데이터로 생성하여 공유파일시스템에 저장하였기 때문이다.즉, 백업용-홈위치등록기의 실시간백업관리부는 상기 버퍼에 저장된 데이터들 중 하나의 데이터를 꺼내서(S610), 그 데이터의 종류를 확인한다(S611).만약, 버퍼에서 가져온 데이터가 (b)유형의 데이터(고객센터에 의한 데이터갱신)인 경우, 실시간백업관리부는 그 버퍼의 내용을 데이터베이스관리부에게 전송하여(S612) 데이터베이스관리부가 가입자데이터베이스를 갱신하도록 한다(S613). 한편, (c)유형의 데이터(가입자의 위치데이터 갱신), (d)유형의 데이터(단말기 전원상태 데이터 갱신) 또는 (e)유형의 데이터(단문서비스 관련데이터 갱신)인 경우는 실시간백업관리부가 직접 데이터베이스를 갱신한다(S614). 이러한 일련의 과정들(S610 내지 S614)은 버퍼내의 모든 데이터를 처리할 때까지(S615) 반복 수행된다.8A and 8B are flowcharts illustrating a method of backing up backup subscriber data stored in a shared file system by a backup-home location register according to an embodiment of the present invention. Referring to FIGS. 8A and 8B, backup-home The location register checks whether a new file is created in a storage area of the shared file system (S601). At this time, the storage area of the shared file system is divided into predetermined areas, and each area stores backup data of different home location registers. Therefore, the backup-home location register shows which area has been created for each area. As a result of the check (S601), if a new file exists in a predetermined area of the shared file system (S602), the file is read into the backup-home location register (S603) and the file is analyzed (S604). . That is, the home location register is identified based on the area where the file is stored, and the type of subscriber data to be backed up is analyzed based on the name of the file. If there are a number of new files in a specific area of the shared file system, the names of the files are read, the names of the files are sorted according to the order of creation, and the list is selected from the first file in the list. The file is analyzed. If the type of data stored in the file is determined based on the file analysis result, processing according to the type is performed (S605). That is, if the data stored in the file is (a) type of data (data change by the operator), the real-time backup management unit of the backup-home location register transmits the contents of the file to the database management unit (S606), and the database management unit The subscriber database is updated based on the file contents (S607). If the data stored in the file is (f) type data (data change by function code), the real-time backup manager of the backup-home location register updates the subscriber database based on the contents of the file (S608). If the data stored in the file is of any one of (b), (c), (d) and (e), as shown in FIG. 8B, after reading the contents of the file into the buffer (S609), The data is retrieved from the buffer one by one and processed. This is because backup data is not generated in real time when the home location register is created, but because the predetermined data stored in the buffer for a predetermined time is generated as backup data at one time and stored in the shared file system. The real-time backup management unit takes out one of the data stored in the buffer (S610) and checks the type of the data (S611). If the data obtained from the buffer is (b) type of data (by the customer center) Data update), the real-time backup manager transmits the contents of the buffer to the database manager (S612) so that the database manager updates the subscriber database (S613). In the case of (c) type data (subscriber location data update), (d) type data (terminal power status data update) or (e) type data (short message service related data update), the real-time backup management unit The database is directly updated (S614). This series of processes (S610 to S614) is repeatedly performed until all the data in the buffer (S615).

이상에서 설명한 본 발명은, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에 있어 본 발명의 기술적 사상을 벗어나지 않는 범위내에서 여러 가지 치환, 변형 및 변경이 가능하다. 따라서, 본 발명은 전술한 실시예 및 첨부된 도면에 의해 한정되는 것이 아니다.As described above, the present invention can be variously substituted, modified, and changed by those skilled in the art without departing from the technical spirit of the present invention. Therefore, the present invention is not limited by the above-described embodiment and the accompanying drawings.

상기와 같은 본 발명은, 가입자데이터의 변경원인에 따라 백업 방법을 달리하여 백업시스템으로의 데이터 전송 횟수를 최소화함으로써 홈위치등록기 및 LAN의 부하를 효과적으로 감소시킬 수 있으며, 또한 실시간적으로 홈위치등록기의 가입자데이터베이스를 백업함으로써 서비스중인 홈위치등록기에 장애가 발생하더라도 백업된 데이터베이스를 사용하여 이동단말 가입자에게 서비스를 중단없이 제공할 수 있는 효과가 있다.The present invention as described above, by reducing the number of data transfer to the backup system by varying the backup method according to the cause of the change of the subscriber data can effectively reduce the load on the home location register and LAN, and also the home location register in real time By backing up the subscriber's database, even if a failure occurs in the home location register in service, the backup database can be used to provide the service to the mobile subscriber without interruption.

구체적으로 설명하면, 본 발명은, 백업되어야 할 데이터를 효율적으로 압축하여 전송될 데이터량을 줄여 데이터베이스 백업시 LAN 및 시스템의 과부하 발생을 방지하고, 데이터베이스의 백업 주기를 획기적으로 줄여 백업에 있어서의 실시간성을 확보하며, 데이터베이스 백업의 실시간성을 통하여 백업된 가입자데이터베이스와 실제 운용중인 데이터베이스의 불일치의 정도를 최소화할 수 있고, 또한 서비스 홈위치등록기의 가입자데이터베이스와 백업 홈위치등록기의 가입자데이터베이스간의 불일치성을 최소화함으로써 서비스 홈위치등록기에 장애가 발생하여 백업홈위치등록기를 이용하여 서비스를 계속 제공할 경우에도 고객불만과 서비스 사업자의 손해 규모를 최소화할 수 있는 효과가 있다.Specifically, the present invention efficiently compresses data to be backed up to reduce the amount of data to be transmitted, thereby preventing overloading of the LAN and system during database backup, and dramatically reducing the backup cycle of the database. It is possible to minimize the degree of inconsistency between the backed up subscriber database and the actual operating database through real-time database backup, and also to minimize the inconsistency between the subscriber database of the service home location register and the subscriber home database of the backup home location register. By minimizing the failure of the service home location register, even if you continue to provide services using the backup home location register, there is an effect that can minimize the size of customer complaints and service provider damages.

Claims (3)

이동통신망에서 홈위치등록기의 가입자 데이터를 백업하는 방법에 있어서,A method of backing up subscriber data of a home location register in a mobile communication network, 홈위치등록기의 가입자데이터 변경시, 그 변경유형을 분류하는 제1 과정과,A first process of classifying the change type when the subscriber data of the home location register is changed; 상기 제1 과정의 분류결과에 의거하여 그 변경유형에 따른 백업데이터를 생성한 후 공유파일시스템에 저장하되, 상기 백업데이터는 그 변경유형을 식별할 수 있는 파일이름을 가지도록 하는 제2 과정과,A second process of generating backup data according to the change type based on the classification result of the first process and storing the backup data in a shared file system, wherein the backup data has a file name for identifying the change type; , 백업용-홈위치등록기의 백업관리부가 상기 공유파일시스템으로부터 백업데이터를 읽어들인 후, 그 백업데이터의 파일이름에 의거하여 백업데이터의 변경유형을 판독하는 제3 과정과,A third step of reading the backup data from the shared file system by the backup management unit of the backup-home location register, and then reading the change type of the backup data based on the file name of the backup data; 백업용-홈위치등록기의 백업관리부가 상기 제3 과정의 판독결과에 의거하여 백업용-홈위치등록기에 저장된 가입자데이터를 변경하는 제4 과정과,A fourth process of changing, by the backup management unit of the backup-home location register, the subscriber data stored in the backup-home location register based on the reading result of the third process; 상기 제4 과정에서 백업용-홈위치등록기의 가입자데이터 변경이 성공적으로 완료된 경우, 그 가입자데이터의 변경을 위해 공유파일시스템에 저장된 백업데이터를 삭제하는 제5 과정을 포함하는 것을 특징으로 하는 홈위치등록기의 가입자데이터 백업 방법.And a fifth step of deleting the backup data stored in the shared file system to change the subscriber data when the subscriber data change of the backup-home location register is successfully completed in the fourth step. To backup subscriber data. 제1항에 있어서, 상기 제1 과정은The method of claim 1, wherein the first process is 가입자데이터 변경유형을Subscriber data change type 운용자터미널을 통한 가입자데이터의 생성/삭제/변경을 의미하는 (a)유형과,(A) type means the creation / deletion / change of subscriber data through the operator terminal; 고객센터의 요청에 의한 가입자데이터의 생성/삭제/변경을 의미하는 (b)유형과,(B) type means the creation / deletion / change of subscriber data at the request of customer center; 가입자의 위치변경에 따른 가입자 위치데이터의 변경을 의미하는 (c)유형과,(C) type means change of subscriber location data according to subscriber's location change, 가입자단말기의 전원상태 변경에 따른 단말기의 상태변경을 의미하는 (d)유형과,(D) type means a change in the state of the terminal according to the change in the power state of the subscriber station; 단문메시지관련 상태변화에 따른 가입자데이터의 변경을 의미하는 (e)유형과,(E) type means a change of subscriber data due to a change in state related to a short message; 가입자단말기의 기능코드 조작에 의한 가입자데이터의 변경을 의미하는 (f)유형 중 어느 하나의 유형으로 분류하는 것을 특징으로 하는 홈위치등록기의 가입자데이터 백업 방법.A method of backing up subscriber data in a home location register, characterized in that it is classified into any one of the types (f), which means the change of subscriber data by the function code manipulation of the subscriber terminal. 제2항에 있어서, 상기 제2 과정은The method of claim 2, wherein the second process 가입자데이터의 변경유형이 (a)유형인 경우 데이터 변경이 발생할 때마다 실시간으로 백업데이터를 생성하고,When the change type of subscriber data is (a) type, backup data is generated in real time whenever data change occurs. 가입자데이터의 변경유형이 (b)유형 및 (f)유형 중 어느 하나인 경우 변경데이터들을 홈위치등록기의 버퍼에 저장하고 그 변경데이터의 수가 기 설정된 소정개에 도달하면 그 변경데이터들을 하나의 백업데이터에 저장하며,If the change type of the subscriber data is either (b) or (f), the change data is stored in the buffer of the home location register, and when the number of change data reaches a predetermined number, the change data is backed up as one. To the data, 가입자데이터의 변경유형이 (c)유형, (d)유형 및 (e)유형 중 어느 하나인 경우 변경데이터들을 홈위치등록기의버퍼에 저장하고, 그 변경데이터의 수가 기 설정된 소정개에 도달하거나, 변경데이터의 발생시간이 기 설정된 소정시간 이상 경과되면 그 변경데이터들을 하나의 백업데이터에 저장하는 것을 특징으로 하는 홈위치등록기의 가입자데이터 백업방법.If the change type of the subscriber data is any one of (c) type, (d) type and (e) type, the change data is stored in the buffer of the home location register, and the number of the changed data reaches a predetermined number, And storing the changed data in one backup data when the generation time of the changed data has elapsed for a predetermined time or more. 상기 제 5 단계의 백업처리 과정은,The backup process of the fifth step, 상기 데이터 파일의 이름의 분석에 따라 읽어들인 상기 데이터 파일의 내용을 순차적으로 전송하여 백업시스템의 데이터베이스에 상기 홈위치등록기에 등록된 가입자 데이터를 갱신하고, 백업 처리가 종료된 가입자 데이터를 삭제하는 것을 특징으로 하는 홈위치등록기의 가입자데이터 백업 방법.Sequentially transferring the contents of the data file read in accordance with the analysis of the name of the data file to update the subscriber data registered in the home location register in the database of the backup system, and to delete the subscriber data whose backup process is terminated. A subscriber data backup method of a home location register.
KR1020000056860A 2000-09-27 2000-09-27 Backup method for subscriber's data of home location register KR100359993B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020000056860A KR100359993B1 (en) 2000-09-27 2000-09-27 Backup method for subscriber's data of home location register

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020000056860A KR100359993B1 (en) 2000-09-27 2000-09-27 Backup method for subscriber's data of home location register

Publications (2)

Publication Number Publication Date
KR20020024987A KR20020024987A (en) 2002-04-03
KR100359993B1 true KR100359993B1 (en) 2002-11-07

Family

ID=19690786

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020000056860A KR100359993B1 (en) 2000-09-27 2000-09-27 Backup method for subscriber's data of home location register

Country Status (1)

Country Link
KR (1) KR100359993B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100448457B1 (en) * 2001-12-19 2004-09-13 에스케이 텔레콤주식회사 Method of realtime network data backup for multiple HLR

Also Published As

Publication number Publication date
KR20020024987A (en) 2002-04-03

Similar Documents

Publication Publication Date Title
US7912858B2 (en) Data synchronization method
US6636875B1 (en) System and method for synchronizing related data elements in disparate storage systems
JP3004008B1 (en) Update history management device and update history management method
US20040235523A1 (en) System for replicating data of a mobile station
US5987497A (en) System and method for managing the configuration of distributed objects
US20060026198A1 (en) Method and apparatus for synchronizing contact data stores
US6643363B1 (en) Telephone number relocation guidance system
KR20070039067A (en) Information service system, information server, portable terminal, information service control program and portable terminal control program
WO2003045089A1 (en) Identifying changed records in a file stored on an electronic token
CN1309879A (en) Selection of service implementation
US7565664B2 (en) Distributed object controlling method and its carrying out system
JPH1021174A (en) Data transfer system
KR100359993B1 (en) Backup method for subscriber's data of home location register
CN111382142A (en) Database operation method, server and computer storage medium
KR100194771B1 (en) Subscription management device for personal communication service (PCS) and its method
CN115525449A (en) Micro-service data transmission system, method and storage medium
CN114978885A (en) Log management method and device, computer equipment and system
JPH03276338A (en) Simple maintenance system for terminal software
US20080183768A1 (en) System, method and program for monitoring local mail replicas and local directory replicas for e-mail
KR100416366B1 (en) Method of preventing HLR traffic data from loss when recovering HLR with Backup System
KR100391807B1 (en) Method for data management of a home location register
KR100448457B1 (en) Method of realtime network data backup for multiple HLR
KR100518081B1 (en) Call trace registration method in mobile communication system
CN112612792A (en) Database management method and system
KR19990001094A (en) How to back up the operating program and database of the exchange system

Legal Events

Date Code Title Description
A201 Request for examination
A302 Request for accelerated examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20111024

Year of fee payment: 10

FPAY Annual fee payment

Payment date: 20121024

Year of fee payment: 11

LAPS Lapse due to unpaid annual fee