JP2012164222A - Time synchronization method and computer system - Google Patents

Time synchronization method and computer system Download PDF

Info

Publication number
JP2012164222A
JP2012164222A JP2011025368A JP2011025368A JP2012164222A JP 2012164222 A JP2012164222 A JP 2012164222A JP 2011025368 A JP2011025368 A JP 2011025368A JP 2011025368 A JP2011025368 A JP 2011025368A JP 2012164222 A JP2012164222 A JP 2012164222A
Authority
JP
Japan
Prior art keywords
time
base station
communication control
difference
control device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2011025368A
Other languages
Japanese (ja)
Other versions
JP5481685B2 (en
Inventor
Tomohisa Hoshi
智久 星
Hideki Shimizu
英希 清水
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2011025368A priority Critical patent/JP5481685B2/en
Publication of JP2012164222A publication Critical patent/JP2012164222A/en
Application granted granted Critical
Publication of JP5481685B2 publication Critical patent/JP5481685B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

PROBLEM TO BE SOLVED: To provide a time synchronization method and a computer system for promptly detecting time deviation at a base station as a time synchronization source.SOLUTION: In a time synchronization method, a communication controller for controlling plural base stations synchronizes time with any of the plural base stations in a computer system including the plural base stations and the communication controller. The method includes: a step in which each of the plural base stations transmits a message with time information on the base station added thereto to the communication controller; a step in which the communication controller calculates a difference value between the time information on the base station and time information on the communication controller for each base station on the basis of the message received from each of the plural base stations, and stores the calculated difference value in a time difference table; and a step in which, when the calculated difference value is larger than a predetermined threshold, the communication controller calculates an average value of the difference values of the plural base stations stored in the time difference table, and determines that the base station having a difference value whose difference from the calculated average value is the largest is abnormal.

Description

本発明は、時刻同期方法及び計算機システムに関する。   The present invention relates to a time synchronization method and a computer system.

複数の基地局と、これら複数の基地局を制御する通信制御装置とを備えた計算機システムにおいて、通信制御装置が特定の1台の基地局と時刻同期している場合、以下の問題があった。   In a computer system including a plurality of base stations and a communication control device that controls the plurality of base stations, when the communication control device is time-synchronized with one specific base station, there are the following problems: .

その問題とは、時刻同期先の基地局に時刻ずれ(GPS故障等による時刻不正)が発生した場合、通信制御装置はこの時刻ずれを検知できず、時刻同期先の基地局の影響を受けて、不正な時刻に設定されることであった。更に、不正な時刻に設定された通信制御装置は、本来は正しい時刻の他の基地局を不正な基地局として認識してしまうことであった。   The problem is that when a time lag (time irregularity due to GPS failure) occurs in the time synchronization destination base station, the communication control device cannot detect this time lag and is affected by the time synchronization destination base station. Was to be set to an incorrect time. Furthermore, the communication control device set at an incorrect time originally recognizes another base station at the correct time as an illegal base station.

上記問題を解決するための技術として、特許文献1に記載された技術が知られている。特許文献1には、「自局(通信制御装置)の時刻情報、すなわち自局が基準局(基地局)1へ送信する時刻情報と、自局が基準局1から受信した時刻情報とを比較する。比較の結果、両者の差が一定時間より小さいか大きいかを判定する。上記判定を基準局2〜Nに対して繰り返す。その後、両者の差が一定時間より小さい基準局の全基準局に対する割合に基づいて、自局の時刻情報が正しいか異常かを判断する。」ことが開示されている。   As a technique for solving the above problem, a technique described in Patent Document 1 is known. In Patent Literature 1, “the time information of the own station (communication control device), that is, the time information transmitted from the own station to the reference station (base station) 1 and the time information received by the own station from the reference station 1 are compared. As a result of the comparison, it is determined whether the difference between them is smaller or larger than a certain time, and the above determination is repeated for the reference stations 2 to N. After that, based on the ratio of the reference stations whose difference is smaller than the certain time to all the reference stations. "It is determined whether the time information of the own station is correct or abnormal."

また特許文献1には、新たな基準局の選択方法として、「自局を異常であると通知してきた基準局と、全基準局のうちの50%以上の基準局によって異常であると判定された基準局とを異常とみなし、それ以外の基準局を正常とみなす。その後、自局は、正常とみなされた基準局のうちの通し番号が最も小さい基準局からの時刻情報を受取り、自局の時刻情報とする。」ことが開示されている。   Further, in Patent Document 1, as a method for selecting a new reference station, “a reference station that has notified itself as being abnormal and a reference station that has been determined to be abnormal by 50% or more of the reference stations among all the reference stations” are disclosed. It is regarded as abnormal, and other base stations are regarded as normal.After that, the local station receives time information from the base station with the smallest serial number among the base stations regarded as normal and uses it as its own time information. Is disclosed.

特開平5−108198号公報Japanese Patent Laid-Open No. 5-108198

しかしながら、上記特許文献1に開示された方法では、全基準局に対して上記判定を繰り返す必要があるので、時刻同期先の基準局の時刻ずれを迅速に検出できない問題があった。例えば、自局の時刻との差が一定時間より大きい基準局が1局でも存在する場合、直ぐにその基準局を特定するとともに、その基準局が時刻同期先である場合には新たな時刻同期先の基準局を選択することが望ましいが、このような処理は実現できなかった。   However, in the method disclosed in Patent Document 1, since it is necessary to repeat the above determination for all the reference stations, there is a problem that it is not possible to quickly detect the time lag of the time synchronization destination reference station. For example, when there is even one reference station whose difference from the time of its own station is greater than a certain time, the reference station is immediately identified, and if the reference station is a time synchronization destination, a new time synchronization destination reference station is selected. Although it is desirable to select, such a process could not be realized.

また、上記特許文献1に開示された基準局の選択方法では、全基準局の40数%によって異常であると判定された基準局であっても、正常とみなされ得る(新たな時刻同期先の基準局になり得る)。また、正常とみなされた基準局のうちの通し番号が最も小さい基準局を新たな時刻同期先の基準局にしているため、最適な基準局を選択しているとは必ずしもいえなかった。   Further, in the method for selecting a reference station disclosed in Patent Document 1, even a reference station determined to be abnormal by 40% of all reference stations can be regarded as normal (to a new time synchronization destination reference station). Can be). Also, since the reference station with the smallest serial number among the reference stations regarded as normal is used as a new time synchronization destination reference station, it cannot be said that the optimum reference station has been selected.

本発明は、上述した課題を考慮したものであって、時刻同期先の基地局の時刻ずれを迅速に検出する時刻同期方法及び計算機システムを提供することを目的とする。   An object of the present invention is to provide a time synchronization method and a computer system for quickly detecting a time lag of a time synchronization destination base station in consideration of the above-described problems.

上記課題を解決するために、例えば特許請求の範囲に記載の構成を採用する。   In order to solve the above problems, for example, the configuration described in the claims is adopted.

本願は上記課題を解決する手段を複数含んでいるが、その一例を挙げるならば、複数の基地局と、前記複数の基地局を制御する通信制御装置とを備えた計算機システムにおいて、前記通信制御装置が前記複数の基地局のいずれかと時刻同期する時刻同期方法であって、前記複数の基地局の各々が、当該基地局の時刻情報を付与したメッセージを前記通信制御装置に送信する手順と、前記通信制御装置が、前記複数の基地局の各々から受信したメッセージに基づいて、前記基地局毎に、当該基地局の時刻情報と当該通信制御装置の時刻情報との差分値を算出し、算出された差分値を時刻差分テーブルに記憶する手順と、前記通信制御装置が、算出された前記差分値が所定の閾値より大きい場合、前記時刻差分テーブルに記憶された前記複数の基地局の差分値の平均値を算出し、算出された平均値との差が最も大きい差分値の基地局を異常であると判定する手順と、を含むことを特徴とする。   The present application includes a plurality of means for solving the above-described problems. For example, in a computer system including a plurality of base stations and a communication control apparatus that controls the plurality of base stations, the communication control is performed. A time synchronization method in which a device synchronizes time with any of the plurality of base stations, each of the plurality of base stations transmitting a message with time information of the base station to the communication control device; The communication control device calculates a difference value between the time information of the base station and the time information of the communication control device for each base station based on a message received from each of the plurality of base stations, and calculates The stored difference value in the time difference table, and the communication control device, when the calculated difference value is greater than a predetermined threshold, the plurality of bases stored in the time difference table Calculates an average value of the difference value of the station, the procedure for determining the difference between the calculated average value is abnormal base station having the largest difference value, characterized in that it comprises a.

本発明によれば、時刻同期先の基地局の時刻ずれを迅速に検出することができる。   ADVANTAGE OF THE INVENTION According to this invention, the time shift of the base station of a time synchronization destination can be detected rapidly.

上記した以外の課題、構成及び効果は、以下の実施形態の説明により明らかにされる。   Problems, configurations, and effects other than those described above will be clarified by the following description of embodiments.

本発明の実施形態の計算機システムの構成例を示す図である。It is a figure which shows the structural example of the computer system of embodiment of this invention. 本発明の実施形態の計算機システムにおける動作シーケンスを示す図である。It is a figure which shows the operation | movement sequence in the computer system of embodiment of this invention. 本発明の実施形態の計算機システムを説明するための参考図である。It is a reference figure for demonstrating the computer system of embodiment of this invention. 本発明の実施形態の計算機システムの参考動作を示すフローチャートである。It is a flowchart which shows the reference operation of the computer system of embodiment of this invention. 本発明の実施形態のPCF-SCの機能構成例を示すブロック図である。It is a block diagram which shows the function structural example of PCF-SC of embodiment of this invention. 本発明の実施形態のPCF-SCの時刻同期先の変更例を説明する図である。It is a figure explaining the example of a change of the time synchronization destination of PCF-SC of embodiment of this invention. 本発明の実施形態のPCF-SCが各APからICMPメッセージを受信した際の制御ロジックを示すフローチャートである。It is a flowchart which shows the control logic when PCF-SC of embodiment of this invention receives an ICMP message from each AP. 本発明の実施形態の変更前の時刻差分テーブルの一例を示す図である。It is a figure which shows an example of the time difference table before the change of embodiment of this invention. 本発明の実施形態の変更後の時刻差分テーブルの一例を示す図である。It is a figure which shows an example of the time difference table after the change of embodiment of this invention.

以下、本発明の実施の形態について図面を参照して説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

図1は、本発明の実施形態の計算機システム1の構成例を示す図である。図1に示す計算機システム1は、IP-NW101、PDSN(Packet Data Service Node)102、OMS(Operation and Maintenance System)105、RAN(Radio Access Network)106、複数のAT(Access Terminal、端末)107−1〜107−8(以下、総称する場合、「AT107」という。)、AN-AAA(Access Network-Authentication Authorization Accounting)108を備える。   FIG. 1 is a diagram illustrating a configuration example of a computer system 1 according to the embodiment of this invention. A computer system 1 shown in FIG. 1 includes an IP-NW 101, a PDSN (Packet Data Service Node) 102, an OMS (Operation and Maintenance System) 105, a RAN (Radio Access Network) 106, and a plurality of ATs (Access Terminals) 107- 1-107-8 (hereinafter collectively referred to as "AT107") and AN-AAA (Access Network-Authentication Authorization Accounting) 108.

IP-NW101は、インターネットプロトコル技術を利用して相互接続するIPネットワーク(コンピュータネットワーク)である。PDSN102は、IPパケットの終端装置である。OMS105は、RAN106内の各AP104−1〜104−4(以下、総称する場合、「AP104」という。)、PCF-SC103を制御、監視する装置である。   The IP-NW 101 is an IP network (computer network) interconnected using Internet protocol technology. The PDSN 102 is an IP packet terminating device. The OMS 105 is a device that controls and monitors each AP 104-1 to 104-4 (hereinafter collectively referred to as “AP 104”) and the PCF-SC 103 in the RAN 106.

RAN106は、PCF-SC(Packet Call Function Session Control、通信制御装置)103、複数のAP(Access Point、基地局)104を備え、無線でアクセス可能なネットワークである。   The RAN 106 includes a PCF-SC (Packet Call Function Session Control, communication control device) 103 and a plurality of APs (Access Points, base stations) 104 and is a wirelessly accessible network.

PCF-SC103は、各AT107のセッション管理や、各AP104及びPDSN102から受信したパケットの転送制御を実行する通信制御装置である。このPCF-SC103には、複数のAP104が接続され、各AP104から定期的にICMP(Internet Control Message Protocol)メッセージ109−1〜109−4を受信する。このPCF-SC103は、複数のAP104のいずれかを時刻同期先として指定し、指定されたAP104と時刻同期する。   The PCF-SC 103 is a communication control device that performs session management of each AT 107 and transfer control of packets received from each AP 104 and PDSN 102. A plurality of APs 104 are connected to the PCF-SC 103 and periodically receive ICMP (Internet Control Message Protocol) messages 109-1 to 109-4 from each AP 104. The PCF-SC 103 designates one of the plurality of APs 104 as a time synchronization destination, and performs time synchronization with the designated AP 104.

AP104は、RAN106とAT107との間で無線信号を送受信するための基地局である。AT107は、計算機システム1の利用者が利用する端末装置(コンピュータ装置)である。例えば携帯電話機等の無線端末である。AN-AAA108は、AT107を認証するための装置である。   AP 104 is a base station for transmitting and receiving radio signals between RAN 106 and AT 107. The AT 107 is a terminal device (computer device) used by a user of the computer system 1. For example, a wireless terminal such as a mobile phone. AN-AAA 108 is a device for authenticating AT 107.

以上に示すように、本発明の実施形態の計算機システム1は、RAN106内に一つのPCF-SC103と、複数のAP104とが配置された1xEVDOのRANシステムである。   As described above, the computer system 1 according to the embodiment of this invention is a 1xEVDO RAN system in which one PCF-SC 103 and a plurality of APs 104 are arranged in a RAN 106.

図2は、本発明の実施形態の計算機システム1における動作シーケンスを示す図である。図2を用いて、AT107が、PDSN102を介して接続されたサービス提供装置(不図示、以下同様)によって提供される音声通話やWeb閲覧のサービスを利用する場合の各種動作を説明する。   FIG. 2 is a diagram showing an operation sequence in the computer system 1 according to the embodiment of this invention. Various operations when the AT 107 uses a voice call or web browsing service provided by a service providing apparatus (not shown, the same applies hereinafter) connected via the PDSN 102 will be described with reference to FIG.

(コネクション確立処理209)
まず、コネクション確立処理209について説明する。コネクション確立処理209とは、AT107がサービス提供装置との間でコネクションを確立する処理である。
(Connection establishment processing 209)
First, the connection establishment process 209 will be described. The connection establishment process 209 is a process in which the AT 107 establishes a connection with the service providing apparatus.

AT107は、AP104を介してPCF-SC103に、識別子要求201を送信する。PCF-SC103は、AN-AAA108に認証要求202を送信する。AN-AAA108は、認証要求202に応じて認証処理を実行し、認証結果である認証応答203をPCF-SC103に送信する。PCF-SC103は、AT107に識別子応答204を送信する。   The AT 107 transmits an identifier request 201 to the PCF-SC 103 via the AP 104. The PCF-SC 103 transmits an authentication request 202 to the AN-AAA 108. The AN-AAA 108 executes an authentication process in response to the authentication request 202 and transmits an authentication response 203 as an authentication result to the PCF-SC 103. The PCF-SC 103 transmits an identifier response 204 to the AT 107.

その後AT107は、AP104を介してPCF-SC103に、接続要求205を送信する。PCF-SC103は、接続要求205に対応する接続要求206をPDSN102に送信する。PDSN102は、接続要求206に応じて接続を確立し、接続が確立した旨の接続応答207をPCF-SC103に送信する。PCF-SC103は、接続応答207に対応する接続応答208をAT107に送信する。   Thereafter, the AT 107 transmits a connection request 205 to the PCF-SC 103 via the AP 104. The PCF-SC 103 transmits a connection request 206 corresponding to the connection request 205 to the PDSN 102. The PDSN 102 establishes a connection in response to the connection request 206 and transmits a connection response 207 indicating that the connection has been established to the PCF-SC 103. The PCF-SC 103 transmits a connection response 208 corresponding to the connection response 207 to the AT 107.

(パケット受信処理212)
次に、パケット受信処理212について説明する。パケット受信処理212とは、AT107がサービス提供装置からパケットを受信する処理である。
(Packet reception processing 212)
Next, the packet reception process 212 will be described. The packet reception process 212 is a process in which the AT 107 receives a packet from the service providing apparatus.

PCF-SC103は、PDSN102からパケット210を受信する。その後AT107は、PCF-SC103から、パケット210に対応するパケット211を受信する。   The PCF-SC 103 receives the packet 210 from the PDSN 102. Thereafter, the AT 107 receives a packet 211 corresponding to the packet 210 from the PCF-SC 103.

(パケット転送待ち処理217)
次に、パケット転送待ち処理217について説明する。パケット転送待ち処理217とは、AT107が、サービス提供装置によって提供されるサービスの利用を一旦停止する処理である。
(Packet transfer waiting process 217)
Next, the packet transfer waiting process 217 will be described. The packet transfer waiting process 217 is a process in which the AT 107 temporarily stops using the service provided by the service providing apparatus.

AT107は、Dormant要求213をPCF-SC103に送信する。Dormant要求213とは、サービス提供装置への接続の停止要求である。PCF-SC103は、Dormant要求213に対応するDormant要求214をPDSN102に送信する。   The AT 107 transmits a Dormant request 213 to the PCF-SC 103. The Dormant request 213 is a request to stop connection to the service providing apparatus. The PCF-SC 103 transmits a Dormant request 214 corresponding to the Dormant request 213 to the PDSN 102.

PDSN102は、Dormant要求214に応じてサービス提供装置への接続の停止を実行し、接続が停止した旨であるDormant応答215をPCF-SC103に送信する。PCF-SC103は、Dormant応答215に対応するDormant応答216をAT107に送信する。   The PDSN 102 stops the connection to the service providing apparatus in response to the Dormant request 214 and transmits a Dormant response 215 indicating that the connection has stopped to the PCF-SC 103. The PCF-SC 103 transmits a Dormant response 216 corresponding to the Dormant response 215 to the AT 107.

(パケット転送開始処理222)
次に、パケット転送開始処理222について説明する。パケット転送開始処理222とは、AT107が一旦停止したサービスの利用を再開する処理である。
(Packet transfer start process 222)
Next, the packet transfer start process 222 will be described. The packet transfer start process 222 is a process for resuming the use of the service once stopped by the AT 107.

AT107は、Active要求218をPCF-SC103に送信する。Active要求218とは、サービス提供装置への再接続要求である。PCF-SC103は、Active要求218に対応するActive要求219をPDSN102に送信する。   The AT 107 transmits an Active request 218 to the PCF-SC 103. The Active request 218 is a reconnection request to the service providing apparatus. The PCF-SC 103 transmits an Active request 219 corresponding to the Active request 218 to the PDSN 102.

PDSN102は、Active要求219に応じてサービス提供装置への再接続を実行し、接続が確立した旨であるActive応答220をPCF-SC103に送信する。PCF-SC103は、Active応答220に対応するActive応答221をAT107に送信する。   The PDSN 102 executes reconnection to the service providing apparatus in response to the Active request 219 and transmits an Active response 220 indicating that the connection has been established to the PCF-SC 103. The PCF-SC 103 transmits an Active response 221 corresponding to the Active response 220 to the AT 107.

(パケット送信処理225)
次に、パケット送信処理225について説明する。パケット送信処理225とは、AT107がサービス提供装置にパケットを送信する処理である。
(Packet transmission processing 225)
Next, the packet transmission process 225 will be described. The packet transmission process 225 is a process in which the AT 107 transmits a packet to the service providing apparatus.

AT107は、PCF-SC103にパケット223を送信する。その後PCF-SC103は、PDSN102に、パケット223に対応するパケット224を送信する。   The AT 107 transmits a packet 223 to the PCF-SC 103. Thereafter, the PCF-SC 103 transmits a packet 224 corresponding to the packet 223 to the PDSN 102.

(コネクション切断処理230)
次に、コネクション切断処理230について説明する。コネクション切断処理230とは、AT107がパケット転送を終了する場合に、サービス提供装置との間でコネクションを切断する処理である。
(Connection disconnection process 230)
Next, the connection disconnection process 230 will be described. The connection disconnection process 230 is a process of disconnecting the connection with the service providing apparatus when the AT 107 ends the packet transfer.

AT107は、AP104を介してPCF-SC103に、切断要求226を送信する。PCF-SC103は、切断要求226に対応する切断要求227をPDSN102に送信する。PDSN102は、切断要求227に応じて接続を切断し、接続が切断された旨の切断応答228をPCF-SC103に送信する。PCF-SC103は、切断応答228に対応する切断応答229をAT107に送信する。   The AT 107 transmits a disconnection request 226 to the PCF-SC 103 via the AP 104. The PCF-SC 103 transmits a disconnection request 227 corresponding to the disconnection request 226 to the PDSN 102. The PDSN 102 disconnects the connection in response to the disconnect request 227 and transmits a disconnect response 228 indicating that the connection has been disconnected to the PCF-SC 103. The PCF-SC 103 transmits a disconnection response 229 corresponding to the disconnection response 228 to the AT 107.

図3は、本発明の実施形態の計算機システム1を説明するための参考図である。図3を用いて、従来の計算機システム1におけるPCF-SC103の時刻同期方法を説明する。   FIG. 3 is a reference diagram for explaining the computer system 1 according to the embodiment of this invention. The time synchronization method of PCF-SC103 in the conventional computer system 1 is demonstrated using FIG.

PCF-SC103が、特定の一台の基地局APb104−2と時刻同期している場合を考える。この場合、基地局APb104−2に時刻ずれが発生しても、PCF-SC103はこの時刻ずれを検知できない。そのため、時刻ずれが発生した基地局APb104−2の影響を受けて、PCF-SC103の時刻も不正な時刻に設定される。また、不正な時刻に設定されたPCF-SC103は、本来は正しい時刻の他の基地局APa104−1、APc104−3、APd104−4を不正な基地局として認識してしまう。   Consider a case where the PCF-SC 103 is time-synchronized with a specific base station APb 104-2. In this case, even if a time lag occurs in the base station APb 104-2, the PCF-SC 103 cannot detect this time lag. For this reason, the time of the PCF-SC 103 is also set to an incorrect time due to the influence of the base station APb 104-2 where the time difference has occurred. In addition, the PCF-SC 103 set at an incorrect time recognizes other base stations APa104-1, APc104-3, and APd104-4 that are originally at the correct time as unauthorized base stations.

その結果、従来の時刻同期方法では、条件1(基地局APb104−2がPCF-SC103の時刻同期先であり、且つ、APb104−2の時刻が不正な時刻である)を満たす場合、PCF-SC103の時刻と、基地局APa104−1、APc104−3、APd104−4の時刻とが合致しなくなる問題があった。   As a result, in the conventional time synchronization method, when the condition 1 (the base station APb 104-2 is the time synchronization destination of the PCF-SC 103 and the time of the APb 104-2 is an invalid time) is satisfied, the PCF-SC 103 And the times of the base stations APa104-1, APc104-3, and APd104-4 are not matched.

図4は、本発明の実施形態の計算機システム1の参考動作を示すフローチャートである。図4を用いて、従来の計算機システム1におけるPCF-SC103の動作を説明する。なお、適宜図2を参照する。   FIG. 4 is a flowchart showing the reference operation of the computer system 1 according to the embodiment of this invention. The operation of the PCF-SC 103 in the conventional computer system 1 will be described with reference to FIG. Reference is made to FIG. 2 as appropriate.

まずステップ401において、PCF-SC103は、AP104から要求を受信する(401)。ステップ401では、厳密にはAP104を介してAT107から、音声通話やWeb閲覧のサービスの利用等に関する要求を受信する。次にステップ402において、ステップ401で受信した要求が接続要求205(又はActive要求218)か否かを判定する(402)。   First, in step 401, the PCF-SC 103 receives a request from the AP 104 (401). In step 401, strictly speaking, a request regarding the use of a voice call or web browsing service is received from the AT 107 via the AP 104. Next, in step 402, it is determined whether or not the request received in step 401 is a connection request 205 (or active request 218) (402).

受信した要求が接続要求205(又はActive要求218)である場合(402でYES)、ステップ403に進む。一方、受信した要求が接続要求205(又はActive要求218)でない場合(402でNO)、ここでは処理を終了する。   If the received request is the connection request 205 (or Active request 218) (YES in 402), the process proceeds to step 403. On the other hand, if the received request is not the connection request 205 (or the Active request 218) (NO in 402), the process ends here.

ステップ403に進むと、PCF-SC103は、ステップ401で受信した接続要求205(又はActive要求218)に付加されたTimeStampを取得する(403)。ここでいうTimeStampとは、要求の発信元のAP104の時刻情報である。その後ステップ404において、自ノード(PCF-SC103)の時刻情報を取得する(404)。その後ステップ405において、ステップ403で取得されたTimeStampに示される時刻と、ステップ404で取得された時刻情報に示される時刻との差分値を算出する(405)。その後ステップ406において、ステップ405で算出された時刻差分値が一定値以下であるか否かを判定する(406)。   In step 403, the PCF-SC 103 acquires TimeStamp added to the connection request 205 (or active request 218) received in step 401 (403). The TimeStamp here is time information of the AP 104 that is the source of the request. Thereafter, in step 404, time information of the own node (PCF-SC 103) is acquired (404). Thereafter, in step 405, a difference value between the time indicated in TimeStamp acquired in step 403 and the time indicated in the time information acquired in step 404 is calculated (405). Thereafter, in step 406, it is determined whether or not the time difference value calculated in step 405 is equal to or smaller than a certain value (406).

時刻差分値が一定値以下である場合(406でYES)、ステップ407に進み、PCF-SC103は、接続要求205(又はActive要求218)を許容し、対応する接続要求206(又はActive要求219)をPDSN102に送信する(407)。これにより、時刻差分値が一定値以下であるAP104の配下のAT107は、上記サービスを利用することができる。   When the time difference value is equal to or smaller than a certain value (YES in 406), the process proceeds to step 407, and the PCF-SC 103 allows the connection request 205 (or Active request 218) and the corresponding connection request 206 (or Active request 219). Is transmitted to the PDSN 102 (407). Thereby, the AT 107 under the control of the AP 104 whose time difference value is equal to or smaller than a certain value can use the service.

一方、時刻差分値が一定値を超過している場合(406でNO)、ステップ408に進み、PCF-SC103は、接続要求205(又はActive要求218)を不正な要求として拒否し、その旨をAP104に応答する(408)。これにより、時刻差分値が一定値を超過したAP104の配下のAT107は、上記サービスを利用することができない。   On the other hand, if the time difference value exceeds a certain value (NO in 406), the process proceeds to step 408, and the PCF-SC 103 rejects the connection request 205 (or Active request 218) as an invalid request, and notifies that. Respond to the AP 104 (408). As a result, the AT 107 under the control of the AP 104 whose time difference value exceeds a certain value cannot use the service.

以降の説明においては、本発明の実施形態のPCF-SC103が、各AP104と自ノードとの時刻差分値を時刻差分テーブル531(図5参照)中に保持し、各時刻差分値を一定値と比較することによって、時刻同期先のAP104の時刻ずれを検知し、更に、各時刻差分値の平均値に基づいて、最適な時刻同期先のAP104を選択する方法を説明する。   In the following description, the PCF-SC 103 according to the embodiment of the present invention holds the time difference value between each AP 104 and its own node in the time difference table 531 (see FIG. 5), and sets each time difference value as a constant value. A method of detecting a time lag of the AP 104 that is the time synchronization destination by comparison and further selecting the AP 104 that is the optimal time synchronization destination based on the average value of the time difference values will be described.

図5は、本発明の実施形態のPCF-SC103の構成例を示すブロック図である。図5に示すPCF-SC103は、受信部510、時刻取得部520、記憶部530、判別部540、制御部550、送信部560を備える。   FIG. 5 is a block diagram illustrating a configuration example of the PCF-SC 103 according to the embodiment of this invention. The PCF-SC 103 illustrated in FIG. 5 includes a reception unit 510, a time acquisition unit 520, a storage unit 530, a determination unit 540, a control unit 550, and a transmission unit 560.

受信部510は、AP104やPDSN102等の対向装置から受信したメッセージの受信元を判別する受信元判別部511、受信したメッセージの種類に応じて、NTP(Network Time Protocol)メッセージを受信するNTPメッセージ受信部512、ICMPメッセージを受信するICMPメッセージ受信部513、接続要求205やActive要求218(図2参照)等の呼処理メッセージを受信する呼処理メッセージ受信部514を備える。   A receiving unit 510 receives a NTP (Network Time Protocol) message according to the type of the received message, a receiving source discriminating unit 511 that discriminates a receiving source of a message received from the opposite device such as the AP 104 or the PDSN 102. 512, an ICMP message receiving unit 513 for receiving an ICMP message, and a call processing message receiving unit 514 for receiving a call processing message such as a connection request 205 or an Active request 218 (see FIG. 2).

なお、各AP104によってPCF-SC103に定期的に送信されるICMPメッセージ(Ping等)には、送信元のAP104の時刻情報(TimeStamp)が付加されている。これにより、PCF-SC103は、各AP104の最新の時刻情報を定期的に取得することができる。   Note that time information (TimeStamp) of the transmission source AP 104 is added to the ICMP message (Ping or the like) periodically transmitted to the PCF-SC 103 by each AP 104. Thereby, PCF-SC103 can acquire the newest time information of each AP104 regularly.

時刻取得部520は、自ノード(PCF-SC103自身)の時刻情報を取得する自ノード時刻取得部521、自ノードの時刻情報と、ICMPメッセージ(又は呼処理メッセージ)に付加された時刻情報とに基づいて、AP104と自ノードとの時刻差分値をAP104毎に算出する時刻差分算出部522を備える。   The time acquisition unit 520 acquires the time information of the own node (PCF-SC 103 itself), the time information of the own node, the time information of the own node, and the time information added to the ICMP message (or call processing message). Based on this, a time difference calculation unit 522 that calculates a time difference value between the AP 104 and the own node for each AP 104 is provided.

記憶部530は、時刻差分算出部522によって算出された各AP104の時刻差分値を記憶するための時刻差分テーブル(時刻差分記憶部)531、時刻差分テーブル531への時刻差分値の登録及び時刻差分テーブル531からの時刻差分値の削除を実行するAPアドレス登録削除部532を備える。この記憶部530は、各AP104の時刻差分値を管理する。   The storage unit 530 stores a time difference table (time difference storage unit) 531 for storing the time difference value of each AP 104 calculated by the time difference calculation unit 522, registration of the time difference value in the time difference table 531, and time difference An AP address registration / deletion unit 532 that deletes the time difference value from the table 531 is provided. The storage unit 530 manages the time difference value of each AP 104.

判別部540は、時刻差分算出部522によって算出された各AP104の時刻差分値と、一定閾値とを比較することによって、時刻差分値が一定閾値よりも大きいか否かをAP104毎に判別する時刻差分判別部541、時刻差分判別部541による判別対象のAP104がPCF-SC103の時刻同期先であるか否かを判別する同期先判別部542、時刻差分判別部541によっていずれかのAP104の時刻差分値が一定閾値よりも大きいと判別された場合に、故障したAP104(どのAP104に時刻ずれが発生しているか)を判別する故障判別部543を備える。   The discriminating unit 540 compares the time difference value of each AP 104 calculated by the time difference calculating unit 522 with a certain threshold value to determine whether the time difference value is larger than the certain threshold value for each AP 104. The time difference of any AP 104 is determined by the synchronization determination unit 542 and the time difference determination unit 541 that determine whether the AP 104 to be determined by the difference determination unit 541 and the time difference determination unit 541 is the time synchronization destination of the PCF-SC 103. When it is determined that the value is greater than a certain threshold value, a failure determination unit 543 is provided that determines a faulty AP 104 (which AP 104 has a time lag).

なお、ここでの時刻差分判別部541は、特に呼処理メッセージに基づき算出された時刻差分値に関する判別処理を実行する場合、当該呼処理メッセージに対応するメッセージ(図4のステップ407の接続要求やステップ408の応答)を送信先判別部561に送信する。   Note that the time difference determination unit 541 in this case particularly executes a determination process related to the time difference value calculated based on the call processing message (a message corresponding to the call processing message (such as a connection request in step 407 in FIG. 4). The response of step 408) is transmitted to the transmission destination determination unit 561.

また、故障判別部543は、故障したAP104が時刻同期先以外のAP104である場合、OMS105に当該AP104の故障を通知する。一方、故障したAP104が時刻同期先のAP104である場合、時刻同期先変更部552にその旨通知する。さらに、故障判別部543は、故障したAP104の時刻差分値を削除する旨を、APアドレス登録削除部532に指示する。そうすると、APアドレス登録削除部532は、時刻差分テーブル531から故障したAP104の時刻差分値を削除する。   Further, when the failed AP 104 is an AP 104 other than the time synchronization destination, the failure determination unit 543 notifies the OMS 105 of the failure of the AP 104. On the other hand, when the failed AP 104 is the time synchronization destination AP 104, the time synchronization destination changing unit 552 is notified of the fact. Further, the failure determination unit 543 instructs the AP address registration deletion unit 532 to delete the time difference value of the failed AP 104. Then, the AP address registration deletion unit 532 deletes the time difference value of the failed AP 104 from the time difference table 531.

制御部550は、NTPメッセージ受信部512が時刻同期先のAP104から受信したNTPメッセージに基づいて、当該AP104と時刻同期する時刻同期部551、故障判別部543からの通知に基づいて、時刻同期先のAP104を変更する時刻同期先変更部552を備える。   Based on the NTP message received by the NTP message receiving unit 512 from the AP 104 that is the time synchronization destination, the control unit 550 performs the time synchronization destination based on the notification from the time synchronization unit 551 and the failure determination unit 543 that are time synchronized with the AP 104. A time synchronization destination changing unit 552 for changing the AP 104 of the mobile phone is provided.

送信部560は、呼処理メッセージに対応するメッセージの送信先を判別する送信先判別部561を備える。この送信部560は、判別された送信先(AP104やPDSN102等の対向装置)にメッセージを送信する。   The transmission unit 560 includes a transmission destination determination unit 561 that determines a transmission destination of a message corresponding to the call processing message. The transmission unit 560 transmits a message to the determined transmission destination (opposite device such as the AP 104 or the PDSN 102).

図6は、本発明の実施形態のPCF-SC103の時刻同期先の変更例を説明する図である。   FIG. 6 is a diagram illustrating an example of changing the time synchronization destination of the PCF-SC 103 according to the embodiment of this invention.

図6において、変更前の時刻同期先はAPb104−2である。各AP104−1〜104−4は、PCF-SC103に対して定期的にそれぞれの時刻情報が付加されたICMPメッセージ109−1〜109−4を送信している。   In FIG. 6, the time synchronization destination before the change is APb 104-2. Each AP 104-1 to 104-4 transmits ICMP messages 109-1 to 109-4 to which each time information is periodically added to the PCF-SC 103.

ここで、APb104−2に時刻ずれが発生した場合、PCF-SC103はICMPメッセージ109−1〜109−4に基づいて、APb104−2の時刻ずれを迅速に検出する。また、最適な時刻同期先の基地局であるAPc104−3を選択し、時刻同期先をAPc104−3に変更する。これらの処理について、図7、図8を用いて説明する。   Here, when a time lag occurs in the APb 104-2, the PCF-SC 103 quickly detects the time lag of the APb 104-2 based on the ICMP messages 109-1 to 109-4. Also, the APc 104-3 that is the optimal time synchronization destination base station is selected, and the time synchronization destination is changed to the APc 104-3. These processes will be described with reference to FIGS.

図7は、本発明の実施形態のPCF-SC103が各AP104からICMPメッセージ109を受信した際の制御ロジックを示すフローチャートである。図8Aは、本発明の実施形態の変更前の時刻差分テーブル531の一例を示す図である。図8Bは、本発明の実施形態の変更後の時刻差分テーブル531の一例を示す図である。   FIG. 7 is a flowchart illustrating a control logic when the PCF-SC 103 according to the embodiment of this invention receives the ICMP message 109 from each AP 104. FIG. 8A is a diagram illustrating an example of the time difference table 531 before the change according to the embodiment of this invention. FIG. 8B is a diagram illustrating an example of the time difference table 531 after the change according to the embodiment of this invention.

なお、前提として、PCF-SC103の時刻同期先はAPb104−2であり、PCF-SC103と、他のAPa104−1、APc104−3、APd104−4との間では時刻差分が生じている(図8A参照)。また、PCF-SC103が接続要求メッセージを受信した場合に、接続要求を拒否する時刻差分の一定閾値を±10secとする。すなわち、時刻差分判別部541(図5参照)が判別に用いる閾値は、±10secである。   As a premise, the time synchronization destination of the PCF-SC 103 is APb 104-2, and a time difference is generated between the PCF-SC 103 and the other APa 104-1, APc 104-3, and APd 104-4 (FIG. 8A). reference). Further, when the PCF-SC 103 receives a connection request message, the constant threshold value of the time difference for rejecting the connection request is set to ± 10 sec. That is, the threshold value used for determination by the time difference determination unit 541 (see FIG. 5) is ± 10 seconds.

この場合、図8Aに示すように、時刻差分テーブル531において、APa104−1、APb104−2、APc104−3、APd104−4の時刻差分値は、それぞれ-9.82sec、0.00sec、-9.79sec、-9.73secである。   In this case, as shown in FIG. 8A, in the time difference table 531, the time difference values of APa104-1, APb104-2, APc104-3, and APd104-4 are -9.82 sec, 0.00 sec, -9.79 sec,- 9.73 sec.

まずステップ701において、PCF-SC103は、AP104から、TimeStampが付加されたICMPメッセージを受信する(701)。   First, in step 701, the PCF-SC 103 receives an ICMP message to which a TimeStamp is added from the AP 104 (701).

次にステップ702において、PCF-SC103は、自ノード(PCF-SC103)の時刻情報を取得する(702)。その後ステップ703において、ステップ701で取得されたTimeStampに示される時刻と、ステップ702で取得された時刻情報に示される時刻との差分値を算出する(703)。その後ステップ704において、ステップ701で受信したICMPメッセージの受信元が時刻同期先のAP104であるか否かを判別する(704)。   Next, in Step 702, the PCF-SC 103 acquires time information of the own node (PCF-SC 103) (702). Thereafter, in step 703, a difference value between the time indicated in TimeStamp acquired in step 701 and the time indicated in the time information acquired in step 702 is calculated (703). Thereafter, in step 704, it is determined whether or not the source of the ICMP message received in step 701 is the time synchronization destination AP 104 (704).

受信元が時刻同期先のAP104である場合(704でYES)、ステップ705に進み、PCF-SC103は、ステップ703で算出された時刻差分値を用いて、時刻差分テーブル531中の、時刻同期先を含む全てのAP104の時刻差分値を更新する(705)。全てのAP104の時刻差分値を更新するのは、時刻同期先のAP104の時刻差分値が更新されると、他の全てのAP104の時刻差分値も同様に更新されるためである。   When the reception source is the AP 104 that is the time synchronization destination (YES in 704), the process proceeds to step 705, and the PCF-SC 103 uses the time difference value calculated in step 703 to store the time synchronization destination in the time difference table 531. The time difference values of all the APs 104 including “” are updated (705). The reason why the time difference values of all APs 104 are updated is that when the time difference values of the time synchronization destination AP 104 are updated, the time difference values of all other APs 104 are also updated in the same manner.

一方、受信元が時刻同期先以外のAP104である場合(704でNO)、ステップ706に進み、PCF-SC103は、ステップ703で算出された時刻差分値を用いて、時刻差分テーブル531中の、受信元のAP104の時刻差分値のみを更新する(706)。受信元のAP104の時刻差分値を更新するのは、時刻同期先以外のAP104の時刻差分値の更新は、他のAP104の時刻差分値に影響を与えないからである。   On the other hand, when the receiving source is the AP 104 other than the time synchronization destination (NO in 704), the process proceeds to step 706, and the PCF-SC 103 uses the time difference value calculated in step 703, Only the time difference value of the receiving AP 104 is updated (706). The reason why the time difference value of the AP 104 as the reception source is updated is that the time difference value of the AP 104 other than the time synchronization destination does not affect the time difference value of the other AP 104.

ステップ701〜706の処理について、図8Aを用いて具体的に説明する。ステップ701において、PCF-SC103は、時刻同期先のAPb104−2からICMPメッセージを受信し(701)、その後ステップ703において、差分値(-0.2sec)を算出したとする(703)。   The processing in steps 701 to 706 will be specifically described with reference to FIG. 8A. In step 701, the PCF-SC 103 receives an ICMP message from the APb 104-2 as the time synchronization destination (701), and then calculates a difference value (−0.2 sec) in step 703 (703).

そうすると、ステップ704において、受信元が時刻同期先であるので(704でYES)、ステップ705に進み、PCF-SC103は、時刻差分値(-0.2sec)を用いて、時刻差分テーブル531中のAPa104−1、APb104−2、APc104−3、APd104−4の時刻差分値を、それぞれ-9.82sec+(-0.2sec)=-10.02sec、0.00sec、-9.79sec+(-0.2sec)=-9.99sec、-9.73sec+(-0.2sec)=-9.93secに更新する。なお、時刻同期先であるAPb104−2の時刻差分値は変更されない。   Then, since the reception source is the time synchronization destination in Step 704 (YES in 704), the process proceeds to Step 705, and the PCF-SC 103 uses the time difference value (−0.2 sec) to use the APa 104 in the time difference table 531. −1, APb 104-2, APc 104-3, APd 104-4, the time difference values are −9.82 sec + (− 0.2 sec) = − 10.02 sec, 0.00 sec, −9.79 sec + (− 0.2 sec) = − 9.99 sec, Update to -9.73 sec + (-0.2 sec) = -9.93 sec. Note that the time difference value of the APb 104-2 that is the time synchronization destination is not changed.

図7に戻り、ステップ707において、PCF-SC103は、ステップ705又は706によって更新された時刻差分テーブル531中のいずれか一以上のAP104の時刻差分値が、一定値以下であるか否かを判定する(707)。時刻差分値が一定値以下である場合(707でYES)、ここでは処理を終了する。   Returning to FIG. 7, in step 707, the PCF-SC 103 determines whether or not the time difference value of one or more APs 104 in the time difference table 531 updated in step 705 or 706 is equal to or less than a certain value. (707). If the time difference value is equal to or less than a certain value (YES in 707), the process ends here.

一方、時刻差分値が一定値を超過している場合(707でNO)、ステップ708に進む。時刻差分値が一定値を超過している場合とは、ステップ705又は706によって時刻差分テーブル531を更新した結果、時刻差分テーブル531中の時刻差分値が一定値を超過しているので、APa104−1〜APd104−4のいずれか一以上が不正な時刻に設定されているとみなされる場合である。   On the other hand, if the time difference value exceeds a certain value (NO in 707), the process proceeds to step 708. The case where the time difference value exceeds a certain value means that the time difference value in the time difference table 531 exceeds a certain value as a result of updating the time difference table 531 in step 705 or 706. This is a case where any one or more of 1 to APd104-4 is considered to be set at an illegal time.

ステップ708に進むと、PCF-SC103は、時刻差分テーブル531中の各AP104の時刻差分値の平均値を求め、不正な時刻に設定されたAP104を特定する(708)。なお、ここでいう不正な時刻に設定されたAP104とは、求められた平均値から最も離れた時刻差分値のAP104である。   In step 708, the PCF-SC 103 obtains the average value of the time difference values of the APs 104 in the time difference table 531, and specifies the AP 104 set at an incorrect time (708). Note that the AP 104 set at an illegal time here is an AP 104 having a time difference value farthest from the obtained average value.

その後ステップ709において、PCF-SC103は、OMS105に対してICMPメッセージを受信したAP104が、不正な時刻に設定されたAP104である旨を通知する(709)。その後ステップ710において、不正な時刻に設定されたAP104の時刻差分値を、時刻差分テーブル531から削除する(710)。   Thereafter, in step 709, the PCF-SC 103 notifies the OMS 105 that the AP 104 that received the ICMP message is an AP 104 set at an illegal time (709). Thereafter, in step 710, the time difference value of the AP 104 set at an illegal time is deleted from the time difference table 531 (710).

ステップ707〜710の処理について、図8A(ステップ705によって更新後)を用いて具体的に説明する。ステップ707において、APa104−1の時刻差分値(-10.02sec)が一定値(-10.0sec)を超過しているので(707でNO)、ステップ708に進み、PCF-SC103は、時刻差分テーブル531中の各AP104の時刻差分値の平均値を求める(708)。   The processing in steps 707 to 710 will be specifically described with reference to FIG. 8A (after being updated in step 705). In step 707, since the time difference value (-10.02 sec) of the APa 104-1 exceeds the fixed value (-10.0 sec) (NO in 707), the process proceeds to step 708, and the PCF-SC 103 stores the time difference table 531. An average value of time difference values of each AP 104 in the center is obtained (708).

ここで求められる平均値は、(-10.02sec)+(0.00sec)+(-9.99sec)+(-9.93sec)/4AP=(-29.94sec)/4AP=(-7.485sec)である。またステップ708では、PCF-SC103は、求められた平均値(-7.485sec)との差が最も大きい時刻差分値のAPb104−2(時刻差分値0.00sec)を、不正な時刻に設定されたAP104として特定する。   The average value obtained here is (−10.02 sec) + (0.00 sec) + (− 9.99 sec) + (− 9.93 sec) / 4AP = (− 29.94 sec) / 4AP = (− 7.485 sec). In step 708, the PCF-SC 103 sets the APb 104-2 (time difference value 0.00 sec) of the time difference value having the largest difference from the obtained average value (-7.485 sec) to the AP 104 set to the incorrect time. As specified.

その後ステップ709において、PCF-SC103は、APb104−2が不正な時刻に設定されたAP104である旨を通知し(709)、故障しているAPb104−2の時刻差分値を、時刻差分テーブル531から削除する(710)。   Thereafter, in step 709, the PCF-SC 103 notifies that the APb 104-2 is the AP 104 set at an invalid time (709), and the time difference value of the faulty APb 104-2 is obtained from the time difference table 531. It is deleted (710).

図7に戻り、ステップ711において、PCF-SC103は、故障しているAP104が時刻同期先のAP104であるか否かを判別する(711)。   Returning to FIG. 7, in step 711, the PCF-SC 103 determines whether or not the faulty AP 104 is the AP 104 that is the time synchronization destination (711).

故障しているAP104が時刻同期先のAP104でない場合(711でNO)、ここでは処理を終了する。一方、故障しているAP104が時刻同期先のAP104である場合(711でYES)、PCF-SC103は、時刻差分テーブル531中の、故障しているAP104以外の各AP104の時刻差分値の平均値を算出し、算出された平均値に最も近い値のAP104を、時刻同期先のAP104に変更する(712)。   If the faulty AP 104 is not the time synchronization destination AP 104 (NO in 711), the process ends here. On the other hand, when the faulty AP 104 is the time synchronization destination AP 104 (YES in 711), the PCF-SC 103 determines the average value of the time difference values of the APs 104 other than the faulty AP 104 in the time difference table 531. The AP 104 having the value closest to the calculated average value is changed to the AP 104 that is the time synchronization destination (712).

その後ステップ713において、PCF-SC103は、ステップ712で変更された時刻同期先のAP104に基づき、時刻差分テーブル531中の各AP104の時刻差分値を更新する(713)。具体的には、新たに設定された時刻同期先のAP104の時刻差分値を0にするオフセット量を、全てのAP104の時刻差分値に加算することによって、時刻差分テーブル531を更新する。   Thereafter, in step 713, the PCF-SC 103 updates the time difference value of each AP 104 in the time difference table 531 based on the time synchronization destination AP 104 changed in step 712 (713). Specifically, the time difference table 531 is updated by adding an offset amount for setting the time difference value of the newly set time synchronization destination AP 104 to 0 to the time difference values of all APs 104.

ステップ711〜713の処理について、図8A(ステップ710によって更新後)を用いて具体的に説明する。ステップ711において、故障しているAPb104−2は時刻同期先のAP104であるので(711でYES)、ステップ712に進み、PCF-SC103は、時刻差分テーブル531中の、故障しているAPb104−2以外の各AP104の時刻差分値の平均値を算出する(712)。   The processing in steps 711 to 713 will be specifically described with reference to FIG. 8A (after being updated in step 710). In step 711, since the faulty APb 104-2 is the AP 104 that is the time synchronization destination (YES in 711), the process proceeds to step 712, and the PCF-SC 103 determines that the faulty APb 104-2 in the time difference table 531. The average value of the time difference values of each AP 104 other than is calculated (712).

ここで算出される平均値は、(-10.02sec)+(-9.99sec)+(-9.93sec)/3AP=(-29.94sec)/3AP=(-9.98sec)である。またステップ712では、PCF-SC103は、算出された平均値(-9.98sec)に最も近い時刻差分値のAPc104−3(時刻差分値-9.99sec)を、時刻同期先のAP104に変更する。   The average value calculated here is (−10.02 sec) + (− 9.99 sec) + (− 9.93 sec) / 3AP = (− 29.94 sec) / 3AP = (− 9.98 sec). In step 712, the PCF-SC 103 changes the APc 104-3 (time difference value-9.99 sec) having the time difference value closest to the calculated average value (-9.98 sec) to the AP 104 that is the time synchronization destination.

その後ステップ713において、PCF-SC103は、ステップ712で新たに設定された時刻同期先のAPc104−3の時刻差分値を0とするオフセット量(+9.99sec)を、全てのAP104の時刻差分値に加算することによって、時刻差分テーブル531を更新する(713)。   Thereafter, in step 713, the PCF-SC 103 sets the offset amount (+9.99 sec) in which the time difference value of the time synchronization destination APc 104-3 newly set in step 712 is 0 as the time difference value of all APs 104. The time difference table 531 is updated by adding (713).

その結果、図8Bに示すように、時刻差分テーブル531において、APa104−1、APc104−3、APd104−4の時刻差分値は、それぞれ-10.02sec+(+9.99sec)=-0.03sec、-9.99sec+(+9.99sec)=0.00sec、-9.93sec+(+9.99sec)=+0.06secとなる。   As a result, as shown in FIG. 8B, in the time difference table 531, the time difference values of APa 104-1, APc 104-3, and APd 104-4 are −0.02 sec + (+ 9.99 sec) = − 0.03 sec, −9.99 sec + (+9.99 sec) = 0.00 sec, −9.93 sec + (+ 9.99 sec) = + 0.06 sec.

以上に示す処理により、PCF-SC103はICMPメッセージ109−1〜109−4に基づいて、時刻同期先であるAPb104−2に発生した時刻ずれを迅速に検出している。また、最適な時刻同期先の基地局であるAPc104−3を選択し、時刻同期先をAPc104−3に変更している。   Through the processing described above, the PCF-SC 103 quickly detects a time lag that has occurred in the APb 104-2 that is the time synchronization destination, based on the ICMP messages 109-1 to 109-4. Further, APc 104-3 which is the optimum base station for time synchronization is selected, and the time synchronization destination is changed to APc 104-3.

以上説明してきた本発明の実施形態の計算機システム1によれば、PCF-SC103が時刻差分テーブル531によって各AP104との時刻差分値を管理することにより、時刻同期先のAP104の時刻ずれ(GPS故障等による時刻不正)を即座に検知することができる。   According to the computer system 1 of the embodiment of the present invention described above, the PCF-SC 103 manages the time difference value with each AP 104 by using the time difference table 531, so that the time lag (GPS failure) of the AP 104 that is the time synchronization destination. It is possible to immediately detect (such as time fraud due to, etc.).

また、故障したAP104がPCF-SC103の時刻同期先である場合は、時刻差分テーブル531中の各AP104の時刻差分値の平均値を算出することにより、最適な時刻同期先のAP104を選択することができる。更に、新たな時刻同期先のAP104の時刻差分値(時刻差分値のオフセット量)に従って、時刻差分テーブル531を更新することによって、時刻差分値の関係を継承するとともに、継続してAP104の故障を検知できる。   Further, when the failed AP 104 is the time synchronization destination of the PCF-SC 103, the optimum time synchronization destination AP 104 is selected by calculating the average value of the time difference values of each AP 104 in the time difference table 531. Can do. Further, by updating the time difference table 531 according to the time difference value of the new time synchronization destination AP 104 (time difference value offset amount), the relationship of the time difference values is inherited and the failure of the AP 104 is continued. Can be detected.

以上、本発明の実施形態について説明したが、上記実施形態は本発明の適用例の一つを示したものであり、本発明の技術的範囲を上記実施形態の具体的構成に限定する趣旨ではない。本発明の要旨を逸脱しない範囲において種々変更可能である。   As mentioned above, although embodiment of this invention was described, the said embodiment showed one of the application examples of this invention, and in the meaning which limits the technical scope of this invention to the specific structure of the said embodiment. Absent. Various modifications can be made without departing from the scope of the present invention.

例えば、上記図7の説明においては、PCF-SC103が各AP104から受信したICMPメッセージ109に基づいて図7に示す制御ロジックを実行する処理を例に説明してきたが、この場合に限らない。例えば、各AP104から受信した呼処理メッセージに基づいて図7と同様の制御ロジックを実行してもよい。   For example, in the description of FIG. 7 described above, the processing in which the PCF-SC 103 executes the control logic illustrated in FIG. 7 based on the ICMP message 109 received from each AP 104 has been described as an example. For example, the same control logic as in FIG. 7 may be executed based on the call processing message received from each AP 104.

1 計算機システム
101 IP-NW
102 PDSN
103 PCF-SC
104 AP
104−1 APa
104−2 APb
104−3 APc
104−4 APd
105 OMS
106 RAN
107 AT
108 AN-AAA
510 受信部
511 受信元判別部
512 NTPメッセージ受信部
513 ICMPメッセージ受信部
514 呼処理メッセージ受信部
520 時刻取得部
521 自ノード時刻取得部
522 時刻差分算出部
530 記憶部
531 時刻差分テーブル
532 APアドレス登録削除部
540 判別部
541 時刻差分判別部
542 同期先判別部
543 故障判別部
550 制御部
551 時刻同期部
552 時刻同期先変更部
560 送信部
561 送信先判別部
1 Computer system 101 IP-NW
102 PDSN
103 PCF-SC
104 AP
104-1 APa
104-2 APb
104-3 APc
104-4 APd
105 OMS
106 RAN
107 AT
108 AN-AAA
510 Reception unit 511 Reception source determination unit 512 NTP message reception unit 513 ICMP message reception unit 514 Call processing message reception unit 520 Time acquisition unit 521 Local node time acquisition unit 522 Time difference calculation unit 530 Storage unit 531 Time difference table 532 AP address registration Deletion unit 540 Determination unit 541 Time difference determination unit 542 Synchronization destination determination unit 543 Failure determination unit 550 Control unit 551 Time synchronization unit 552 Time synchronization destination change unit 560 Transmission unit 561 Transmission destination determination unit

Claims (8)

複数の基地局と、前記複数の基地局を制御する通信制御装置とを備えた計算機システムにおいて、前記通信制御装置が前記複数の基地局のいずれかと時刻同期する時刻同期方法であって、
前記複数の基地局の各々が、当該基地局の時刻情報を付与したメッセージを前記通信制御装置に送信する手順と、
前記通信制御装置が、前記複数の基地局の各々から受信したメッセージに基づいて、前記基地局毎に、当該基地局の時刻情報と当該通信制御装置の時刻情報との差分値を算出し、算出された差分値を時刻差分テーブルに記憶する手順と、
前記通信制御装置が、算出された前記差分値が所定の閾値より大きい場合、前記時刻差分テーブルに記憶された前記複数の基地局の差分値の平均値を算出し、算出された平均値との差が最も大きい差分値の基地局を異常であると判定する手順と、
を含むことを特徴とする時刻同期方法。
In a computer system comprising a plurality of base stations and a communication control device that controls the plurality of base stations, the communication control device is a time synchronization method in which time synchronization is performed with any of the plurality of base stations,
A procedure in which each of the plurality of base stations transmits a message with time information of the base station to the communication control device;
The communication control device calculates a difference value between the time information of the base station and the time information of the communication control device for each base station based on a message received from each of the plurality of base stations, and calculates The stored difference value in the time difference table;
If the calculated difference value is greater than a predetermined threshold, the communication control device calculates an average value of the difference values of the plurality of base stations stored in the time difference table, and the calculated average value A procedure for determining that the base station having the largest difference value is abnormal,
Including a time synchronization method.
前記通信制御装置が、前記異常であると判定された基地局が当該通信制御装置の時刻同期先である場合、前記時刻差分テーブルに記憶された前記複数の基地局の差分値のうち、前記異常であると判定された基地局を除く基地局の差分値の平均値を算出し、算出された平均値との差が最も小さい差分値の基地局を、新たな時刻同期先に変更する手順をさらに含むことを特徴とする請求項1に記載の時刻同期方法。   When the base station determined to be abnormal by the communication control device is a time synchronization destination of the communication control device, the abnormality among the difference values of the plurality of base stations stored in the time difference table Calculating the average value of the difference values of the base stations excluding the base station determined to be, and changing the base station having the smallest difference from the calculated average value to a new time synchronization destination The time synchronization method according to claim 1, further comprising: 前記通信制御装置が、前記新たな時刻同期先に基づき、前記時刻差分テーブル中の各基地局の差分値を更新する手順をさらに含むことを特徴とする請求項2に記載の時刻同期方法。   The time synchronization method according to claim 2, further comprising a step of updating the difference value of each base station in the time difference table based on the new time synchronization destination by the communication control device. 前記記憶する手順において、前記通信制御装置は、当該通信制御装置の時刻同期先の基地局から受信したメッセージに基づいて、当該基地局の時刻情報と当該通信制御装置の時刻情報との差分値を算出し、算出された差分値を用いて、前記時刻差分テーブル中の前記時刻同期先の基地局を含む全ての基地局の差分値を更新することを特徴とする請求項1に記載の時刻同期方法。   In the storing procedure, the communication control device obtains a difference value between the time information of the base station and the time information of the communication control device based on a message received from the time synchronization destination base station of the communication control device. The time synchronization according to claim 1, wherein the difference value of all base stations including the base station of the time synchronization destination in the time difference table is updated using the calculated difference value. Method. 複数の基地局と、前記複数の基地局を制御する通信制御装置とを備え、前記通信制御装置が前記複数の基地局のいずれかと時刻同期する計算機システムであって、
前記複数の基地局の各々は、当該基地局の時刻情報を付与したメッセージを前記通信制御装置に送信し、
前記通信制御装置は、前記複数の基地局の各々から受信したメッセージに基づいて、前記基地局毎に、当該基地局の時刻情報と当該通信制御装置の時刻情報との差分値を算出し、算出された差分値を時刻差分テーブルに記憶し、
前記通信制御装置は、算出された前記差分値が所定の閾値より大きい場合、前記時刻差分テーブルに記憶された前記複数の基地局の差分値の平均値を算出し、算出された平均値との差が最も大きい差分値の基地局を異常であると判定することを特徴とする計算機システム。
A computer system comprising a plurality of base stations and a communication control device for controlling the plurality of base stations, wherein the communication control device is time-synchronized with any of the plurality of base stations,
Each of the plurality of base stations transmits a message with time information of the base station to the communication control device,
The communication control device calculates, for each base station, a difference value between the time information of the base station and the time information of the communication control device based on a message received from each of the plurality of base stations. Stored difference value in the time difference table,
When the calculated difference value is greater than a predetermined threshold, the communication control apparatus calculates an average value of the difference values of the plurality of base stations stored in the time difference table, and calculates the calculated average value. A computer system characterized in that a base station having a difference value having the largest difference is determined to be abnormal.
前記通信制御装置は、前記異常であると判定された基地局が当該通信制御装置の時刻同期先である場合、前記時刻差分テーブルに記憶された前記複数の基地局の差分値のうち、前記異常であると判定された基地局を除く基地局の差分値の平均値を算出し、算出された平均値との差が最も小さい差分値の基地局を、新たな時刻同期先に変更することを特徴とする請求項5に記載の計算機システム。   When the base station determined to be abnormal is the time synchronization destination of the communication control apparatus, the communication control apparatus is configured to use the abnormality among the difference values of the plurality of base stations stored in the time difference table. Calculating the average value of the difference values of the base stations excluding the base station determined to be, and changing the base station having the smallest difference from the calculated average value to a new time synchronization destination. The computer system according to claim 5, wherein the computer system is characterized. 前記通信制御装置は、前記新たな時刻同期先に基づき、前記時刻差分テーブル中の各基地局の差分値を更新することを特徴とする請求項6に記載の計算機システム。   The computer system according to claim 6, wherein the communication control device updates a difference value of each base station in the time difference table based on the new time synchronization destination. 前記通信制御装置は、当該通信制御装置の時刻同期先の基地局から受信したメッセージに基づいて、当該基地局の時刻情報と当該通信制御装置の時刻情報との差分値を算出し、算出された差分値を用いて、前記時刻差分テーブル中の前記時刻同期先の基地局を含む全ての基地局の差分値を更新することを特徴とする請求項5に記載の計算機システム。   The communication control device calculates a difference value between the time information of the base station and the time information of the communication control device based on a message received from the time synchronization destination base station of the communication control device. 6. The computer system according to claim 5, wherein difference values of all base stations including the time synchronization destination base station in the time difference table are updated using a difference value.
JP2011025368A 2011-02-08 2011-02-08 Time synchronization method and computer system Expired - Fee Related JP5481685B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011025368A JP5481685B2 (en) 2011-02-08 2011-02-08 Time synchronization method and computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011025368A JP5481685B2 (en) 2011-02-08 2011-02-08 Time synchronization method and computer system

Publications (2)

Publication Number Publication Date
JP2012164222A true JP2012164222A (en) 2012-08-30
JP5481685B2 JP5481685B2 (en) 2014-04-23

Family

ID=46843538

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011025368A Expired - Fee Related JP5481685B2 (en) 2011-02-08 2011-02-08 Time synchronization method and computer system

Country Status (1)

Country Link
JP (1) JP5481685B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014109255A1 (en) * 2013-01-10 2014-07-17 ソニー株式会社 Data processing device, data processing method, and program
JP2015144408A (en) * 2013-12-27 2015-08-06 株式会社日立国際電気 Radio communication system
CN111830892A (en) * 2019-04-22 2020-10-27 新疆金风科技股份有限公司 Wind generating set statistical time calibration method and device and storage medium
CN114126027A (en) * 2020-08-26 2022-03-01 上海华为技术有限公司 Method and device for acquiring accumulated deviation and related equipment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014109255A1 (en) * 2013-01-10 2014-07-17 ソニー株式会社 Data processing device, data processing method, and program
JP2015144408A (en) * 2013-12-27 2015-08-06 株式会社日立国際電気 Radio communication system
CN111830892A (en) * 2019-04-22 2020-10-27 新疆金风科技股份有限公司 Wind generating set statistical time calibration method and device and storage medium
CN114126027A (en) * 2020-08-26 2022-03-01 上海华为技术有限公司 Method and device for acquiring accumulated deviation and related equipment
CN114126027B (en) * 2020-08-26 2024-04-09 上海华为技术有限公司 Method, device and related equipment for acquiring accumulated deviation

Also Published As

Publication number Publication date
JP5481685B2 (en) 2014-04-23

Similar Documents

Publication Publication Date Title
US20210105664A1 (en) Communication system, communication control apparatus, node apparatus, and communication method
US10999834B2 (en) Method and apparatus for generating and maintaining an accurate network map in a communications network
US10952116B2 (en) Communication system
CN102084680B (en) Service monitoring and disconnection notification in a wireless gateway device
WO2012165306A1 (en) Wireless control base station and connection destination mobile management entity assessment method
WO2016082412A1 (en) Method and apparatus for realizing reliable transmission of data, and computer storage medium
US20220141910A1 (en) Efficient backhaul-link failure recovery in integrated access backhaul (iab) networks
JP2017139783A (en) Method and device for synchronizing medium flow of mobile station during collaborative session
US11751047B2 (en) Hop by hop security in IAB networks
WO2018058618A1 (en) Fault processing method and device
JP5481685B2 (en) Time synchronization method and computer system
EP2928229B1 (en) Cross-device linear multiplex section overhead method, gateway and controller
US20130336117A1 (en) Distributed processing scheme to support ieee 1588 ptp over multiple ports spanning a lag
US10097297B2 (en) Apparatus and method for two-way timestamp exchange
WO2014067104A1 (en) Method, device and system for establishing radio link
EP3879796B1 (en) Selection of edge application server
EP2671348B1 (en) System and method for providing communication connection resilience
KR20120113673A (en) Method for communication of base station and terminal
JP2013187644A (en) Communication device, control method therefor, and program
US11502945B2 (en) High-availability networking as a service via Wi-Fi
EP2341755B1 (en) Wireless network with star topology and method for operating wireless network with star topology
US9699750B2 (en) Synchronization establishment method
CN101394642A (en) Method, device and system for uploading link exception information
JP2013021412A (en) Communication device, communication method, and communication program
WO2022063207A1 (en) Time synchronization failure processing method, device and system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130502

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140110

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20140121

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140124

R150 Certificate of patent or registration of utility model

Ref document number: 5481685

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees