JP2005099886A - Time synchronizing system and method - Google Patents

Time synchronizing system and method Download PDF

Info

Publication number
JP2005099886A
JP2005099886A JP2003329325A JP2003329325A JP2005099886A JP 2005099886 A JP2005099886 A JP 2005099886A JP 2003329325 A JP2003329325 A JP 2003329325A JP 2003329325 A JP2003329325 A JP 2003329325A JP 2005099886 A JP2005099886 A JP 2005099886A
Authority
JP
Japan
Prior art keywords
time
standard
access point
client
time information
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.)
Abandoned
Application number
JP2003329325A
Other languages
Japanese (ja)
Other versions
JP2005099886A5 (en
Inventor
Kazuaki Abe
和明 阿部
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2003329325A priority Critical patent/JP2005099886A/en
Publication of JP2005099886A publication Critical patent/JP2005099886A/en
Publication of JP2005099886A5 publication Critical patent/JP2005099886A5/ja
Abandoned legal-status Critical Current

Links

Images

Landscapes

  • Multi Processors (AREA)
  • Computer And Data Communications (AREA)
  • Electric Clocks (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To realize a time synchronizing system for synchronizing a whole network with a standard time. <P>SOLUTION: When a wireless LAN terminal 1 equipped with a function which updates self-time information into a standard time on the basis of a received time standard signal is wirelessly connected to an access point 3, the access point 3 calibrates time information with the standard time obtained form the wireless LAN terminal 1, and makes an NTP server 4 update the time information to the standard time. At the time of updating the time information to the standard time according to an instruction from the access point 3, the NTP server 4 applies time information to clients 5 and 6 connected to a network LAN by using a known NTP protocol. Thus, it is possible to synchronize the whole network LAN with the standard time without performing time correction under the consideration of the change of line speeds or path loads. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、回線速度や経路負荷の変化を考慮した補正を行わずにネットワーク全体を標準時刻に同期させる時刻同期システムおよび時刻同期方法に関する。   The present invention relates to a time synchronization system and a time synchronization method for synchronizing an entire network with a standard time without performing correction in consideration of changes in line speed and path load.

サーバ側から送出される時刻情報をクライアント側で受信し、受信した時刻情報に基づきクライアント側が自己の時刻を変更してサーバ/クライアント間の時刻を同期させる手法が知られている。例えば特許文献1には、クライアントから送信された時刻取得命令を受信したサーバがサーバ時刻情報をクライアントに送信し、これを受信したクライアントが時刻取得命令を送信した時刻、サーバ時刻情報およびサーバ時刻情報からサーバとの時間差を算出し、これを自己の時刻に加算してサーバの時刻に同期させる技術が開示されている。   A method is known in which time information sent from the server side is received on the client side, and the client side changes its own time based on the received time information to synchronize the time between the server and the client. For example, in Patent Document 1, a server that has received a time acquisition command transmitted from a client transmits server time information to the client, and a client that has received this transmits a time acquisition command, server time information, and server time information. Discloses a technique for calculating a time difference from a server and adding it to its own time and synchronizing it with the server time.

特開2003−108539号公報JP 2003-108539 A

ところで、LAN内に配設されるNTPサーバは、このLANと接続される外部ネットWANを通じて、標準時刻に同期した時刻情報を有する第1階層のNTPサーバに接続して自己の時刻情報を校正する。その際、回線速度や経路負荷の変化を考慮した補正が行われる。したがって、NTPサーバが回線速度や経路負荷の変化を考慮した時刻補正を行わないと、ネットワーク全体を標準時刻に同期させることができない、という問題がある。
本発明は、このような事情に鑑みてなされたもので、回線速度や経路負荷の変化を考慮した時刻補正を行わずにネットワーク全体を標準時刻に同期させることができる時刻同期システムおよび時刻同期方法を提供することを目的としている。
By the way, an NTP server arranged in a LAN connects to a first-level NTP server having time information synchronized with the standard time through an external network WAN connected to the LAN, and calibrates its own time information. . At that time, correction is performed in consideration of changes in the line speed and path load. Therefore, there is a problem that the entire network cannot be synchronized with the standard time unless the NTP server performs time correction in consideration of changes in line speed and path load.
The present invention has been made in view of such circumstances, and a time synchronization system and a time synchronization method capable of synchronizing the entire network to a standard time without performing time correction in consideration of changes in line speed and path load. The purpose is to provide.

上記目的を達成するため、請求項1に記載の発明では、時刻標準信号を受信して自己の時刻情報を標準時刻に更新する時刻更新手段を、ネットワークを構成するサーバおよびクライアントの何れかに設け、この時刻更新手段により更新される時刻情報に従って、時刻更新手段を備えていないサーバあるいはクライアントの時刻情報を標準時刻に同期させることを特徴とする。   In order to achieve the above object, according to the first aspect of the present invention, time update means for receiving a time standard signal and updating its own time information to the standard time is provided in any of a server and a client constituting the network. According to the time information updated by the time update means, the time information of a server or client that does not include the time update means is synchronized with the standard time.

請求項2に記載の発明では、時刻標準信号を受信して自己の時刻情報を標準時刻に更新する時刻更新機能を、ネットワークを構成するサーバおよびクライアントの何れかに設け、この時刻更新機能により更新される時刻情報に従って、時刻更新機能を備えていないサーバあるいはクライアントの時刻情報を標準時刻に同期させることを特徴とする。   According to the second aspect of the present invention, a time update function for receiving a time standard signal and updating its own time information to the standard time is provided in either the server or the client constituting the network, and is updated by this time update function. According to the time information, the time information of a server or client that does not have a time update function is synchronized with the standard time.

請求項3に記載の発明では、互いに有線接続されるサーバ、アクセスポイントおよび第1のクライアントと、アクセスポイントを介して無線接続する第2のクライアントとから構成されるネットワークにおいて、時刻標準信号を受信して自己の時刻情報を標準時刻に更新する時刻更新手段を第2のクライアントに設け、時刻更新手段を備えた第2のクライアントがアクセスポイントに無線接続した場合、アクセスポイントは第2のクライアントより取得する標準時刻で自己の時刻情報を校正すると共に、サーバの時刻情報を標準時刻に更新させ、サーバは更新した標準時刻を第1のクライアントに供給することを特徴とする。   According to the third aspect of the present invention, a time standard signal is received in a network composed of a server, an access point and a first client that are connected to each other by wire, and a second client that is wirelessly connected via the access point. When the second client is provided with time updating means for updating its own time information to the standard time, and the second client having the time updating means is wirelessly connected to the access point, the access point is The time information of the server is calibrated with the standard time to be acquired, the time information of the server is updated to the standard time, and the server supplies the updated standard time to the first client.

請求項4に記載の発明では、互いに有線接続されるサーバ、アクセスポイントおよび第1のクライアントと、アクセスポイントを介して無線接続する第2のクライアントとから構成されるネットワークにおいて、時刻標準信号を受信して自己の時刻情報を標準時刻に更新する機能を備えた第2のクライアントがアクセスポイントに無線接続した場合、アクセスポイントは第2のクライアントより取得する標準時刻で自己の時刻情報を校正すると共に、サーバの時刻情報を標準時刻に更新させ、サーバは更新した標準時刻を第1のクライアントに供給することを特徴とする。   According to the fourth aspect of the present invention, a time standard signal is received in a network including a server, an access point and a first client that are connected to each other by wire, and a second client that is wirelessly connected via the access point. When the second client having a function of updating its own time information to the standard time is wirelessly connected to the access point, the access point calibrates its own time information with the standard time acquired from the second client. The time information of the server is updated to the standard time, and the server supplies the updated standard time to the first client.

上記請求項3に従属する請求項5に記載の発明では、前記アクセスポイントは、時刻更新手段を備えていない第2のクライアントと無線接続する場合、自己の時刻情報を当該第2のクライアントに送出して時刻情報の校正を指示することを特徴とする。
上記請求項4に従属する請求項6に記載の発明では、前記アクセスポイントは、時刻標準信号を受信して自己の時刻情報を標準時刻に更新する機能を備えていない第2のクライアントと無線接続する場合、自己の時刻情報を当該第2のクライアントに送出して時刻情報の校正を指示することを特徴とする。
In the invention according to claim 5 that is dependent on claim 3, when the access point wirelessly connects to a second client that does not include time update means, the access point sends its own time information to the second client. Then, the calibration of the time information is instructed.
In the invention according to claim 6, which is dependent on claim 4, the access point is wirelessly connected to a second client that does not have a function of receiving a time standard signal and updating its own time information to the standard time. In this case, the time information is sent to the second client to instruct the time information to be calibrated.

請求項1,2に記載の発明によれば、時刻標準信号を受信して自己の時刻情報を標準時刻に更新する時刻更新手段を、ネットワークを構成するサーバおよびクライアントの何れかに設け、この時刻更新手段により更新される時刻情報に従って、時刻更新手段を備えていないサーバあるいはクライアントの時刻情報を標準時刻に同期させるので、回線速度や経路負荷の変化を考慮した時刻補正を行わずにネットワーク全体を標準時刻に同期させることができる。   According to the first and second aspects of the present invention, the time updating means for receiving the time standard signal and updating its own time information to the standard time is provided in either the server or the client constituting the network, and this time In accordance with the time information updated by the updating means, the time information of the server or client that does not have the time updating means is synchronized with the standard time, so that the entire network can be adjusted without performing time correction considering changes in line speed and path load. Can be synchronized to standard time.

請求項3,4に記載の発明によれば、時刻標準信号を受信して自己の時刻情報を標準時刻に更新する時刻更新手段を第2のクライアントに設け、時刻更新手段を備えた第2のクライアントがアクセスポイントに無線接続した場合、アクセスポイントは第2のクライアントより取得する標準時刻で自己の時刻情報を校正すると共に、サーバの時刻情報を標準時刻に更新させ、サーバは更新した標準時刻を第1のクライアントに供給するので、回線速度や経路負荷の変化を考慮した時刻補正を行わずにネットワーク全体を標準時刻に同期させることができる。   According to the third and fourth aspects of the present invention, the second client is provided with time updating means for receiving the time standard signal and updating its own time information to the standard time. When the client wirelessly connects to the access point, the access point calibrates its own time information with the standard time acquired from the second client, updates the server time information to the standard time, and the server uses the updated standard time. Since the data is supplied to the first client, the entire network can be synchronized with the standard time without performing time correction in consideration of changes in the line speed and path load.

請求項5,6に記載の発明によれば、時刻更新手段を備えていない第2のクライアントと無線接続する場合、アクセスポイントは自己の時刻情報を当該第2のクライアントに送出して時刻情報の校正を指示するため、ネットワーク全体を標準時刻に同期させることができる。   According to the fifth and sixth aspects of the invention, when a wireless connection is established with a second client that does not include time update means, the access point sends its own time information to the second client, To direct calibration, the entire network can be synchronized to standard time.

以下、図面を参照して本発明を実施するための最良の形態について説明する。
A.構成
図1は実施の一形態による時刻同期システムを備えたネットワークLANの全体構成を示すブロック図である。この図において、1は時刻標準信号を受信する長波受信部1aを有し、この長波受信部1aが受信する時刻標準信号に基づき自己の時刻情報を標準時刻に更新する機能を備えた無線LAN端末(STA1)である。2は時刻標準信号を受信する機能を具備していない無線LAN端末(STA2)である。3はネットワークLANに接続され、無線LAN端末1や無線LAN端末2と無線接続するアクセスポイントである。
The best mode for carrying out the present invention will be described below with reference to the drawings.
A. Configuration FIG. 1 is a block diagram showing an overall configuration of a network LAN including a time synchronization system according to an embodiment. In this figure, reference numeral 1 has a long wave receiving unit 1a for receiving a time standard signal, and a wireless LAN terminal having a function of updating its own time information to a standard time based on the time standard signal received by the long wave receiving unit 1a. (STA1). Reference numeral 2 denotes a wireless LAN terminal (STA2) that does not have a function of receiving a time standard signal. Reference numeral 3 denotes an access point connected to the network LAN and wirelessly connected to the wireless LAN terminal 1 or the wireless LAN terminal 2.

アクセスポイント3は自己の時刻情報を標準時刻に更新可能な無線LAN端末1と無線接続する場合、無線LAN端末1から時刻情報を取得して自己の時刻情報を校正する。アクセスポイント3はNTPサーバ4の時刻情報を校正する権限を有し、無線LAN端末1と無線接続して自己の時刻情報を標準時刻に更新した場合にNTPサーバ4の時刻情報も標準時刻に更新させる。アクセスポイント3は、時刻標準信号を受信する機能を具備していない無線LAN端末2と無線接続する場合、自己の時刻情報を無線LAN端末2に送出して当該無線LAN端末2に時刻情報の校正を指示する。NTPサーバ4は、アクセスポイント3からの指示に従って時刻情報を標準時刻に更新した場合、周知のNTPプロトコルを用いてネットワークLANに接続されるクライアント5,6に時刻情報を与える。   When the access point 3 is wirelessly connected to the wireless LAN terminal 1 capable of updating its own time information to the standard time, the access point 3 acquires the time information from the wireless LAN terminal 1 and calibrates its own time information. The access point 3 has the authority to calibrate the time information of the NTP server 4, and when it is wirelessly connected to the wireless LAN terminal 1 and updates its own time information to the standard time, the time information of the NTP server 4 is also updated to the standard time. Let When the access point 3 wirelessly connects to a wireless LAN terminal 2 that does not have a function of receiving a time standard signal, the access point 3 sends its own time information to the wireless LAN terminal 2 and calibrates the time information to the wireless LAN terminal 2. Instruct. When the time information is updated to the standard time according to the instruction from the access point 3, the NTP server 4 gives the time information to the clients 5 and 6 connected to the network LAN using a known NTP protocol.

B.動作
次に、図2〜図5を参照して上記構成による時刻同期システムの動作について説明する。以下では、アクセスポイント3が無線LAN端末1と接続する場合の動作と、無線LAN端末2と接続する場合の動作とに分けて説明を進める。
B. Operation Next, the operation of the time synchronization system configured as described above will be described with reference to FIGS. In the following description, the operation when the access point 3 is connected to the wireless LAN terminal 1 and the operation when the access point 3 is connected to the wireless LAN terminal 2 will be described separately.

(1)無線LAN端末1と接続する場合
アクセスポイント3が無線LAN端末1と接続する場合、図2に図示するフローチャートに従った時刻同期処理が行われる。先ずステップSA1にて無線LAN端末1がアクセスポイント3に無線接続する。具体的には、図3に示すメッセージシーケンスに従って無線LAN端末1とアクセスポイント3との間でデータ授受される。
すなわち、ステップSA1−1にて所定プロトコルに従った無線LAN接続が確立すると、ステップSA1−2に進み、無線LAN端末1が信号TimeAccPut Requestをアクセスポイント3へ送出する。アクセスポイント3が無線LAN端末1による時刻校正を認めている場合には、ステップSA1−3に進み、アクセスポイント3が信号TimeAccPut Ackを無線LAN端末1に返送する。
(1) When connecting to the wireless LAN terminal 1 When the access point 3 connects to the wireless LAN terminal 1, time synchronization processing according to the flowchart shown in FIG. 2 is performed. First, in step SA1, the wireless LAN terminal 1 is wirelessly connected to the access point 3. Specifically, data is exchanged between the wireless LAN terminal 1 and the access point 3 according to the message sequence shown in FIG.
That is, when a wireless LAN connection according to a predetermined protocol is established in step SA1-1, the process proceeds to step SA1-2, and the wireless LAN terminal 1 transmits a signal TimeAccPut Request to the access point 3. If the access point 3 permits time calibration by the wireless LAN terminal 1, the process proceeds to step SA1-3, and the access point 3 returns a signal TimeAccPut Ack to the wireless LAN terminal 1.

なお、アクセスポイント3が無線LAN端末1による時刻校正を認めていない場合には、ステップSA1−3において、アクセスポイント3は信号TimeAccPut Nakを無線LAN端末1に返送して時刻同期処理を終了させる。アクセスポイント3は、不特定の無線LAN端末による時刻校正を避ける為、予め時刻校正用に登録した無線LAN端末1からの時刻校正要求(信号TimeAccPut Request)のみを受け付けるようになっている。   If the access point 3 does not permit time calibration by the wireless LAN terminal 1, in step SA1-3, the access point 3 returns a signal TimeAccPut Nak to the wireless LAN terminal 1 and ends the time synchronization process. In order to avoid time calibration by an unspecified wireless LAN terminal, the access point 3 accepts only a time calibration request (signal TimeAccPut Request) from the wireless LAN terminal 1 registered in advance for time calibration.

上記ステップSA1−3において、アクセスポイント3が信号TimeAccPut Ackを無線LAN端末1に返送すると、ステップSA1−4に進み、無線LAN端末1が前回時刻更新時刻st1CorrTimeと現在時刻情報とを含むデータTimeAccPut DATAをアクセスポイント3に送出する。
無線LAN端末1からデータTimeAccPut DATAを受信すると、アクセスポイント3は図2に図示するステップSA2に処理を進め、データTimeAccPut DATAに含まれる前回時刻更新時刻st1CorrTimeと、アクセスポイント3自身が前回に時刻校正を行った時刻(前回時刻校正時刻)apCorrTimeとの差(st1CorrTime−apCorrTime)が所定時間αより大きいか否か、つまり前回更新から所定時間α以上経過しているかどうかをを判断する。前回更新から所定時間α以上経過していなければ、判断結果は「NO」となり、後述するステップSA6に処理を進める。
In step SA1-3, when the access point 3 returns the signal TimeAccPut Ack to the wireless LAN terminal 1, the process proceeds to step SA1-4, where the wireless LAN terminal 1 performs data TimeAccPut DATA including the previous time update time st1CorrTime and the current time information. Is sent to the access point 3.
When the data TimeAccPut DATA is received from the wireless LAN terminal 1, the access point 3 proceeds to step SA2 shown in FIG. 2, and the previous time update time st1CorrTime included in the data TimeAccPut DATA and the access point 3 itself are time calibrated last time. It is determined whether or not the difference (st1CorrTime−apCorrTime) from the time (the previous time calibration time) performed is greater than the predetermined time α, that is, whether or not the predetermined time α has elapsed since the previous update. If the predetermined time α or more has not elapsed since the previous update, the determination result is “NO”, and the process proceeds to step SA6 described later.

一方、前回更新から所定時間α以上経過していれば、上記ステップSA2の判断結果は「YES」になり、ステップSA3に進む。ステップSA3では、アクセスポイント3の時刻情報を、無線LAN端末1から受信したデータTimeAccPut DATAに含まれる現在時刻情報(標準時刻)で校正する。次いで、ステップSA4では、更新するNTPサーバが登録されているか否か、すなわちNTPサーバ4の時刻情報を校正する権限が与えられているかどうかを判断する。NTPサーバ4の時刻情報を校正する権限が無ければ、判断結果は「NO」となり、後述のステップSA6に処理を進めるが、権限が有ると、判断結果が「YES」になり、ステップSA5に進み、NTPサーバ4の時刻情報をアクセスポイント3の時刻情報に同期させる。   On the other hand, if the predetermined time α has passed since the previous update, the determination result in step SA2 is “YES”, and the process proceeds to step SA3. In step SA3, the time information of the access point 3 is calibrated with the current time information (standard time) included in the data TimeAccPut DATA received from the wireless LAN terminal 1. Next, in step SA4, it is determined whether or not the NTP server to be updated is registered, that is, whether or not the authority to calibrate the time information of the NTP server 4 is given. If there is no authority to calibrate the time information of the NTP server 4, the determination result is “NO”, and the process proceeds to step SA6 described later. If there is authority, the determination result is “YES”, and the process proceeds to step SA5. The time information of the NTP server 4 is synchronized with the time information of the access point 3.

そして、ステップSA6では、アクセスポイント3は通常の処理として無線LAN端末1とアプリケーションデータの送受信を行う。続いて、ステップSA7では、無線LAN端末1が長波受信部1aにて受信した時刻標準信号に基づき自己の時刻情報を標準時刻に更新したか否かを判断する。無線LAN端末1が自己の時刻情報を標準時刻に更新した場合には、判断結果が「YES」になり、ステップSA8に進む。ステップSA8では、アクセスポイント3が無線LAN端末1から前回時刻更新時刻st1CorrTimeと現在時刻情報とを含むデータTimeAccPut DATAを取得する。この後、上述したステップSA2以降の処理を繰り返す。   In step SA6, the access point 3 exchanges application data with the wireless LAN terminal 1 as a normal process. Subsequently, in step SA7, it is determined whether the wireless LAN terminal 1 has updated its own time information to the standard time based on the time standard signal received by the long wave receiver 1a. If the wireless LAN terminal 1 has updated its time information to the standard time, the determination result is “YES”, and the flow proceeds to step SA8. In step SA8, the access point 3 acquires data TimeAccPut DATA including the previous time update time st1CorrTime and the current time information from the wireless LAN terminal 1. Thereafter, the processes after step SA2 described above are repeated.

一方、無線LAN端末1が自己の時刻情報を標準時刻に更新していない場合には、上記ステップSA7の判断結果は「NO」となり、ステップSA9に進み、無線LAN端末1がアクセスポイントとの無線接続を切断したか否かを判断する。無線接続が切断されなければ、判断結果は「NO」となり、上述したステップSA6に処理を戻す。無線接続が切断されると、判断結果は「YES」となり、本処理を終える。   On the other hand, if the wireless LAN terminal 1 has not updated its own time information to the standard time, the determination result in step SA7 is “NO”, and the process proceeds to step SA9 where the wireless LAN terminal 1 communicates with the access point. Determine whether the connection has been disconnected. If the wireless connection is not disconnected, the determination result is “NO”, and the process returns to step SA6. When the wireless connection is disconnected, the determination result is “YES”, and the present process ends.

(2)無線LAN端末2と接続する場合
アクセスポイント3が無線LAN端末2と接続する場合、図4に図示するフローチャートに従った時刻同期処理が行われる。先ずステップSB1にて無線LAN端末2がアクセスポイント3に無線LAN接続する。具体的には、図5に示すメッセージシーケンスに従って無線LAN端末2とアクセスポイント3との間でデータ授受される。
すなわち、ステップSB1−1にて所定プロトコルに従った無線LAN接続が確立すると、ステップSB1−2に進み、無線LAN端末2が信号TimeAccGet Requestをアクセスポイント3に送出する。アクセスポイント3が無線LAN端末2の時刻校正を認めている場合には、ステップSB1−3に進み、アクセスポイント3から信号TimeAccGet Ackを無線LAN端末2に返送する。なお、アクセスポイント3が無線LAN端末2の時刻校正を認めていない場合には、ステップSB1−3において、アクセスポイント3から信号TimeAccGet Nakを無線LAN端末2に返送して時刻同期処理を終了させる。
(2) When connecting to the wireless LAN terminal 2 When the access point 3 connects to the wireless LAN terminal 2, time synchronization processing according to the flowchart shown in FIG. 4 is performed. First, in step SB1, the wireless LAN terminal 2 establishes a wireless LAN connection to the access point 3. Specifically, data is exchanged between the wireless LAN terminal 2 and the access point 3 according to the message sequence shown in FIG.
That is, when a wireless LAN connection according to a predetermined protocol is established in step SB1-1, the process proceeds to step SB1-2, and the wireless LAN terminal 2 sends a signal TimeAccGet Request to the access point 3. If the access point 3 permits the time calibration of the wireless LAN terminal 2, the process proceeds to step SB 1-3, and the signal TimeAccGet Ack is returned from the access point 3 to the wireless LAN terminal 2. If the access point 3 does not recognize the time calibration of the wireless LAN terminal 2, the signal TimeAccGet Nak is returned from the access point 3 to the wireless LAN terminal 2 in step SB1-3, and the time synchronization process is terminated.

次に、ステップSB1−4では、アクセスポイント3から無線LAN端末2に、時刻更新時刻apCorrTimeと現在時刻情報とを含むデータTimeAccGet DATAを送出する。データTimeAccGet DATAを受信した無線LAN端末2は、図4に図示するステップSB2に処理を進め、自身が前回に時刻校正を行った時刻(前回時刻校正時刻)st2CorrTimeと、データTimeAccGet DATAに含まれる時刻更新時刻apCorrTimeとの差(st2CorrTime−apCorrTime)が所定時間βより大きいか否か、つまり前回更新から所定時間β以上経過しているかどうかをを判断する。前回更新から所定時間β以上経過していなければ、判断結果は「NO」となり、後述するステップSB4に処理を進める。   Next, in step SB1-4, data TimeAccGet DATA including the time update time apCorrTime and current time information is transmitted from the access point 3 to the wireless LAN terminal 2. The wireless LAN terminal 2 that has received the data TimeAccGet DATA advances the processing to step SB2 shown in FIG. 4 and performs the time calibration performed by itself (previous time calibration time) st2CorrTime and the time included in the data TimeAccGet DATA. It is determined whether or not the difference (st2CorrTime−apCorrTime) from the update time apCorrTime is greater than a predetermined time β, that is, whether or not the predetermined time β has elapsed since the previous update. If the predetermined time β or more has not elapsed since the previous update, the determination result is “NO”, and the process proceeds to step SB4 described later.

一方、前回更新から所定時間β以上経過していれば、上記ステップSB2の判断結果が「YES」になり、ステップSB3に進む。ステップSB3では、無線LAN端末2の時刻情報を、アクセスポイント3から受信したデータTimeAccGet DATAに含まれる現在時刻情報で校正する。次いで、ステップSB4では、無線LAN端末2は通常の処理としてアクセスポイント3とアプリケーションデータの送受信を行う。続いて、ステップSB5では、アクセスポイント3が時刻情報を更新したか否かを判断する。時刻情報を更新した場合には、判断結果が「YES」になり、ステップSB6に進む。ステップSB6では、無線LAN端末2が時刻更新時刻apCorrTimeと現在時刻情報とを含むデータTimeAccGet DATAをアクセスポイント3から取得する。この後、上述したステップSB2以降の処理を繰り返す。   On the other hand, if the predetermined time β has elapsed since the previous update, the determination result in step SB2 is “YES”, and the process proceeds to step SB3. In step SB3, the time information of the wireless LAN terminal 2 is calibrated with the current time information included in the data TimeAccGet DATA received from the access point 3. Next, in step SB4, the wireless LAN terminal 2 transmits / receives application data to / from the access point 3 as a normal process. Subsequently, in step SB5, it is determined whether or not the access point 3 has updated the time information. When the time information has been updated, the determination result is “YES”, and the flow proceeds to step SB6. In step SB6, the wireless LAN terminal 2 acquires data TimeAccGet DATA including the time update time apCorrTime and the current time information from the access point 3. Thereafter, the processing after step SB2 is repeated.

これに対し、アクセスポイント3が時刻情報を更新していない場合には、上記ステップSB5の判断結果が「NO」になり、ステップSB7に進み、無線LAN端末2がアクセスポイント3との無線接続を切断したか否かを判断する。無線接続が切断されなければ、判断結果は「NO」となり、上述したステップSB4に処理を戻す。無線接続が切断されると、判断結果は「YES」となり、本処理を終える。   On the other hand, if the access point 3 has not updated the time information, the determination result in step SB5 is “NO”, the process proceeds to step SB7, and the wireless LAN terminal 2 establishes a wireless connection with the access point 3. It is determined whether or not it has been disconnected. If the wireless connection is not disconnected, the determination result is “NO”, and the process returns to step SB4 described above. When the wireless connection is disconnected, the determination result is “YES”, and the present process ends.

以上説明したように、本実施の形態によれば、時刻標準信号を受信して自己の時刻情報を標準時刻に更新する機能を備えた無線LAN端末1がアクセスポイント3に無線接続すると、アクセスポイント3は無線LAN端末1より取得する標準時刻で時刻情報を校正すると共に、NTPサーバ4の時刻情報を標準時刻に更新し、さらにNTPサーバ4はアクセスポイント3からの指示に従って時刻情報を標準時刻に更新した場合、周知のNTPプロトコルを用いてネットワークLANに接続されるクライアント5,6に時刻情報を与えるので、回線速度や経路負荷の変化を考慮した時刻補正を行わずにネットワークLAN全体を標準時刻に同期させることが可能になっている。また、アクセスポイント3は、時刻標準信号を受信する機能を具備していない無線LAN端末2と無線接続する場合、自己の時刻情報を無線LAN端末2に送出して時刻情報の校正を指示するため、ネットワークLAN全体を標準時刻に同期させ得る。   As described above, according to this embodiment, when a wireless LAN terminal 1 having a function of receiving a time standard signal and updating its own time information to the standard time is wirelessly connected to the access point 3, the access point 3 calibrates the time information with the standard time acquired from the wireless LAN terminal 1 and updates the time information of the NTP server 4 to the standard time. Further, the NTP server 4 sets the time information to the standard time according to an instruction from the access point 3. When updated, the time information is given to the clients 5 and 6 connected to the network LAN using the well-known NTP protocol, so that the entire network LAN is set to the standard time without performing time correction considering changes in the line speed and path load. It is possible to synchronize with. In addition, when the access point 3 is wirelessly connected to the wireless LAN terminal 2 that does not have a function of receiving a time standard signal, the access point 3 sends its own time information to the wireless LAN terminal 2 and instructs to calibrate the time information. The entire network LAN can be synchronized with the standard time.

なお、上述した実施の形態では、無線LAN端末1は、時刻標準信号を受信する長波受信部1aを具備するものとしたが、これに限らず、GPS信号や短波帯の時刻標準信号を受信して自己の時刻情報を標準時刻に更新するものであっても構わない。
また、上述した実施の形態では、時刻標準信号を受信する長波受信部1aを無線LAN端末1に設けるようにしたが、これに限らず、長波受信部1aをNTPサーバ4やクライアント5,6に搭載する態様あるいはアクセスポイント3に搭載する態様としても良い。つまり、ネットワークLANの構成要素のいずれかに時刻標準信号を受信する長波受信部1aを設ければ、外部ネットWANを介した時刻補正を行う必要がなくなるから、回線速度や経路負荷の変化を考慮した補正を行わずにネットワークLAN全体を標準時刻に同期させることが可能になる。
In the above-described embodiment, the wireless LAN terminal 1 includes the long wave receiving unit 1a that receives a time standard signal. However, the present invention is not limited to this, and receives a GPS signal or a short time band time standard signal. The time information may be updated to the standard time.
In the above-described embodiment, the long wave receiving unit 1a for receiving the time standard signal is provided in the wireless LAN terminal 1. However, the present invention is not limited to this, and the long wave receiving unit 1a is provided in the NTP server 4 and the clients 5 and 6. A mode of mounting or a mode of mounting on the access point 3 may be adopted. In other words, if the long wave receiving unit 1a that receives the time standard signal is provided in any of the components of the network LAN, it is not necessary to perform time correction via the external network WAN. The entire network LAN can be synchronized with the standard time without performing the correction.

本発明による実施の一形態の構成を示すブロック図である。It is a block diagram which shows the structure of one Embodiment by this invention. アクセスポイント3が無線LAN端末1と接続する場合に行われる時刻同期処理の動作を示すフローチャートである。4 is a flowchart showing an operation of time synchronization processing performed when the access point 3 is connected to the wireless LAN terminal 1. 図2に図示するステップSA1で実行されるメッセージシーケンスを示す図である。It is a figure which shows the message sequence performed by step SA1 illustrated in FIG. アクセスポイント3が無線LAN端末2と接続する場合に行われる時刻同期処理の動作を示すフローチャートである。6 is a flowchart showing the operation of time synchronization processing performed when the access point 3 is connected to the wireless LAN terminal 2. 図4に図示するステップSB1で実行されるメッセージシーケンスを示す図である。It is a figure which shows the message sequence performed by step SB1 illustrated in FIG.

符号の説明Explanation of symbols

1,2 無線LAN端末
1a 長波受信部
3 アクセスポイント
4 NTPサーバ
5,6 クライアント
1, 2 Wireless LAN terminal 1a Long wave receiver 3 Access point 4 NTP server 5, 6 Client

Claims (6)

時刻標準信号を受信して自己の時刻情報を標準時刻に更新する時刻更新手段を、ネットワークを構成するサーバおよびクライアントの何れかに設け、この時刻更新手段により更新される時刻情報に従って、時刻更新手段を備えていないサーバあるいはクライアントの時刻情報を標準時刻に同期させることを特徴とする時刻同期システム。 Time update means for receiving a time standard signal and updating its own time information to the standard time is provided in either the server or the client constituting the network, and the time update means is updated according to the time information updated by the time update means. A time synchronization system that synchronizes the time information of a server or a client not equipped with a standard time. 時刻標準信号を受信して自己の時刻情報を標準時刻に更新する時刻更新機能を、ネットワークを構成するサーバおよびクライアントの何れかに設け、この時刻更新機能により更新される時刻情報に従って、時刻更新機能を備えていないサーバあるいはクライアントの時刻情報を標準時刻に同期させることを特徴とする時刻同期方法。 A time update function that receives a time standard signal and updates its own time information to the standard time is provided in either the server or the client constituting the network, and the time update function according to the time information updated by this time update function A time synchronization method comprising synchronizing time information of a server or a client not provided with a standard time. 互いに有線接続されるサーバ、アクセスポイントおよび第1のクライアントと、アクセスポイントを介して無線接続する第2のクライアントとから構成されるネットワークにおいて、
時刻標準信号を受信して自己の時刻情報を標準時刻に更新する時刻更新手段を第2のクライアントに設け、
時刻更新手段を備えた第2のクライアントがアクセスポイントに無線接続した場合、アクセスポイントは第2のクライアントより取得する標準時刻で自己の時刻情報を校正すると共に、サーバの時刻情報を標準時刻に更新させ、サーバは更新した標準時刻を第1のクライアントに供給することを特徴とする時刻同期システム。
In a network composed of a server, an access point and a first client connected to each other by wire, and a second client connected wirelessly via the access point,
The second client is provided with time updating means for receiving the time standard signal and updating its own time information to the standard time,
When a second client equipped with time update means wirelessly connects to an access point, the access point calibrates its own time information with the standard time acquired from the second client and updates the server time information to the standard time. And the server supplies the updated standard time to the first client.
互いに有線接続されるサーバ、アクセスポイントおよび第1のクライアントと、アクセスポイントを介して無線接続する第2のクライアントとから構成されるネットワークにおいて、
時刻標準信号を受信して自己の時刻情報を標準時刻に更新する機能を備えた第2のクライアントがアクセスポイントに無線接続した場合、アクセスポイントは第2のクライアントより取得する標準時刻で自己の時刻情報を校正すると共に、サーバの時刻情報を標準時刻に更新させ、サーバは更新した標準時刻を第1のクライアントに供給することを特徴とする時刻同期方法。
In a network composed of a server, an access point and a first client connected to each other by wire, and a second client connected wirelessly via the access point,
When a second client having a function of receiving a time standard signal and updating its own time information to the standard time is wirelessly connected to the access point, the access point uses its standard time acquired from the second client as its own time. A time synchronization method characterized by calibrating information, updating time information of a server to a standard time, and the server supplying the updated standard time to a first client.
前記アクセスポイントは、時刻更新手段を備えていない第2のクライアントと無線接続する場合、自己の時刻情報を当該第2のクライアントに送出して時刻情報の校正を指示することを特徴とする請求項3記載の時刻同期システム。 The access point, when wirelessly connecting to a second client not provided with time update means, sends its own time information to the second client and instructs calibration of the time information. 3. The time synchronization system according to 3. 前記アクセスポイントは、時刻標準信号を受信して自己の時刻情報を標準時刻に更新する機能を備えていない第2のクライアントと無線接続する場合、自己の時刻情報を当該第2のクライアントに送出して時刻情報の校正を指示することを特徴とする請求項5記載の時刻同期方法。 When the access point wirelessly connects to a second client that does not have a function of receiving a time standard signal and updating its own time information to the standard time, it sends its own time information to the second client. 6. The time synchronization method according to claim 5, wherein calibration of time information is instructed.
JP2003329325A 2003-09-22 2003-09-22 Time synchronizing system and method Abandoned JP2005099886A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003329325A JP2005099886A (en) 2003-09-22 2003-09-22 Time synchronizing system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003329325A JP2005099886A (en) 2003-09-22 2003-09-22 Time synchronizing system and method

Publications (2)

Publication Number Publication Date
JP2005099886A true JP2005099886A (en) 2005-04-14
JP2005099886A5 JP2005099886A5 (en) 2006-09-28

Family

ID=34458589

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003329325A Abandoned JP2005099886A (en) 2003-09-22 2003-09-22 Time synchronizing system and method

Country Status (1)

Country Link
JP (1) JP2005099886A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100676776B1 (en) 2005-06-22 2007-02-01 한국정보통신대학교 산학협력단 Time synchronization method
KR100763528B1 (en) 2006-07-07 2007-10-04 한국전자통신연구원 Timer control system with network
JP2011035699A (en) * 2009-08-03 2011-02-17 Kansai Electric Power Co Inc:The Data collecting system
JP7315822B2 (en) 2019-05-09 2023-07-27 テイ・エス テック株式会社 Synchronization method and system between multiple clients

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100676776B1 (en) 2005-06-22 2007-02-01 한국정보통신대학교 산학협력단 Time synchronization method
KR100763528B1 (en) 2006-07-07 2007-10-04 한국전자통신연구원 Timer control system with network
US7602673B2 (en) 2006-07-07 2009-10-13 Electronics And Telecommunications Research Institute System for controlling timer via network
JP2011035699A (en) * 2009-08-03 2011-02-17 Kansai Electric Power Co Inc:The Data collecting system
JP7315822B2 (en) 2019-05-09 2023-07-27 テイ・エス テック株式会社 Synchronization method and system between multiple clients

Similar Documents

Publication Publication Date Title
US7190703B1 (en) Method and device for synchronizing base stations of a mobile communications network
US7860040B2 (en) Distributed synchronization method and system
US9743184B2 (en) Wireless speaker arrangement
JP2009521882A5 (en)
JP2009118403A (en) Time correction system, portable telephone set and wristwatch-type terminal device
CN1373949B (en) Arrangement for synchronizing communication system components coupled via communication network
EP3541123A1 (en) Wireless device, wireless device processing method, and program
JP2010068127A (en) Communication system, synchronization method and base station device
EP2352348A1 (en) Wireless communication system, relay system, repeater devices and synchronization method
JP2005099886A (en) Time synchronizing system and method
JP6712153B2 (en) Audio system
JP4223962B2 (en) Internal signal method for clock synchronization of nodes connected via a wireless local area network
JP4868212B2 (en) Time information communication system
JP5143624B2 (en) Radio wave transmission system and radio wave synchronous transmission method using asynchronous network
KR102433753B1 (en) Main bluetooth circuit and auxiliary bluetooth circuit of multi-member bluetooth device capable of synchronizing audio playback between different bluetooth circuits
JP2007195036A (en) Clock synchronization system for asynchronous network
JP2009232112A (en) Information processor and timing synchronization method
WO2023218900A1 (en) Communication device, communication device control method, and program
JP2021125840A (en) Content output system and method
JP2006295263A (en) Frequency regulation system and method in base station equipment, base station equipment and program
JP2024001873A (en) Method and device for time synchronization of time synchronization domains
WO2022218948A1 (en) Determining a residence time in a portion of a network
JPH04352535A (en) Loop transmission line control system
JP2000258566A (en) Radio communication system
JP2023044018A (en) Synchronization signal conversion apparatus

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060426

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060426

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060804

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080922

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080926

A762 Written abandonment of application

Free format text: JAPANESE INTERMEDIATE CODE: A762

Effective date: 20081020