JP2010211774A - Terminal device and method - Google Patents
Terminal device and method Download PDFInfo
- Publication number
- JP2010211774A JP2010211774A JP2009060238A JP2009060238A JP2010211774A JP 2010211774 A JP2010211774 A JP 2010211774A JP 2009060238 A JP2009060238 A JP 2009060238A JP 2009060238 A JP2009060238 A JP 2009060238A JP 2010211774 A JP2010211774 A JP 2010211774A
- Authority
- JP
- Japan
- Prior art keywords
- terminal device
- data
- time
- time information
- update
- 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.)
- Pending
Links
Images
Abstract
Description
本発明は、移動通信端末との間で、データの同期を行う端末装置及び方法に関する。 The present invention relates to a terminal apparatus and method for synchronizing data with a mobile communication terminal.
個人情報保護法の施行により、移動通信端末に格納されたデータの取扱いに対して、企業の意識が向いている。 With the enforcement of the Personal Information Protection Law, companies are becoming more aware of the handling of data stored in mobile communication terminals.
移動通信端末には、携帯電話や携帯情報端末(PDA: Personal Digital Assistants)などの無線通信機能を有する通信装置が含まれる。例えば、移動通信端末に格納されたデータの取扱いに関して、移動通信端末に格納されたデータの管理や、万が一移動通信端末を紛失した場合における対策への需要が高まっている。データの管理や、移動通信端末の紛失に対応するための技術の一つとして、移動通信端末と端末装置各々でデータを管理する方法がある。 The mobile communication terminal includes a communication device having a wireless communication function such as a mobile phone or a personal digital assistant (PDA). For example, regarding the handling of data stored in a mobile communication terminal, there is an increasing demand for management of data stored in the mobile communication terminal and countermeasures in the event that the mobile communication terminal is lost. As one of techniques for managing data and dealing with loss of a mobile communication terminal, there is a method of managing data between the mobile communication terminal and the terminal device.
端末装置には、個人用パソコンや、サーバなどの電子計算機が含まれる。該端末装置は、移動通信端末とネットワークを介して接続されてもよい。移動通信端末と端末装置各々でデータを管理する方法では、移動通信端末に格納されたデータに対して、削除、変更、追加が発生した場合、該データを端末装置に反映させる必要がある。該データを端末装置に反映させる際に、端末装置と移動通信端末との間でデータ同期を行う必要がある。データ同期とは、移動通信端末に格納されたデータに対して実行された削除、変更、追加などの編集を端末装置に反映し、該端末装置に格納されたデータの少なくとも一部を移動通信端末に格納されたデータと等しくすることである。データ同期の基準としてデータの更新時刻が用いられる場合には、端末装置は、移動通信端末に格納されたデータのうち、端末装置に格納されたデータの更新時刻と比較してデータ更新時刻が直近であるデータを削除、変更、追加などの編集が行われたデータであるとみなし、該データを端末装置に反映させる。 Terminal devices include personal computers and electronic computers such as servers. The terminal device may be connected to the mobile communication terminal via a network. In the method of managing data in each of the mobile communication terminal and the terminal device, when deletion, change, or addition occurs to the data stored in the mobile communication terminal, it is necessary to reflect the data on the terminal device. When reflecting the data in the terminal device, it is necessary to perform data synchronization between the terminal device and the mobile communication terminal. Data synchronization refers to edits such as deletion, change, and addition performed on data stored in a mobile communication terminal in the terminal device, and at least part of the data stored in the terminal device is reflected in the mobile communication terminal Is equal to the data stored in. When the data update time is used as a reference for data synchronization, the terminal device has the latest data update time compared to the data update time stored in the terminal device among the data stored in the mobile communication terminal. Are considered to be data that has been edited such as deletion, change, addition, etc., and the data is reflected on the terminal device.
データ同期を行う基準としてデータ更新時刻を用いる場合には、移動通信端末と端末装置との間で、正しい時刻を共有する必要がある。移動通信端末においては、該移動通信端末が有する内部時刻情報によりデータ更新時刻が設定され、端末装置においては、該端末装置が有する内部時刻情報によりデータ更新時刻が設定される。移動通信端末と端末装置との間で正しい時刻が共有されていないと、移動通信端末に格納されたデータと端末装置に格納されたデータのうち、どちらが最新のデータであるか判定できないためである。 When the data update time is used as a reference for performing data synchronization, it is necessary to share the correct time between the mobile communication terminal and the terminal device. In the mobile communication terminal, the data update time is set by the internal time information of the mobile communication terminal, and in the terminal device, the data update time is set by the internal time information of the terminal device. This is because if the correct time is not shared between the mobile communication terminal and the terminal device, it cannot be determined which of the data stored in the mobile communication terminal and the data stored in the terminal device is the latest data. .
正しい時刻を共有する方法として、移動通信端末及び端末装置が時刻同期サーバから時刻情報を取得する方法がある。移動通信端末及び端末装置は、NTP(Network Time Protocol)等によりネットワークを介して、内部時計を正しく調整する。 As a method for sharing the correct time, there is a method in which the mobile communication terminal and the terminal device acquire time information from a time synchronization server. The mobile communication terminal and the terminal device correctly adjust the internal clock via the network by NTP (Network Time Protocol) or the like.
しかし、ネットワークに接続しないで使用する個人用パソコンなどでは、時刻同期サーバから時刻情報を取得する方法は適用できない。 However, a method for acquiring time information from a time synchronization server cannot be applied to a personal computer used without being connected to a network.
そこで、本発明は上述した問題点に鑑みてなされたものであり、その目的は、他の端末装置との間でデータ同期を実行することができる端末装置及び方法を提供することにある。 Therefore, the present invention has been made in view of the above-described problems, and an object thereof is to provide a terminal device and a method capable of executing data synchronization with other terminal devices.
上記課題を解決するため、本端末装置は、
第1の端末装置との間で、データ同期を行う端末装置であって、
前記第1の端末装置から時刻情報を取得する時刻情報取得部と、
該時刻情報取得部により取得された時刻情報と、当該端末装置の有する時刻情報との時刻差分を求め、該時刻差分を用いて、当該端末装置に格納されたデータのうち、前記第1の端末装置から時刻情報を前回取得した時刻以降に更新された該当データの更新時刻を記録する更新時刻記録部と、
該更新時刻記録部により記録された更新時刻と、前記第1の端末装置に格納されたデータの更新時刻とを比較し、当該端末装置内の該当データを最新の更新時刻のデータに更新するデータ同期処理部と、
該データ同期処理部により当該端末装置内の該当データが最新の更新時刻のデータに更新された後に、時刻情報を記録する時刻情報記録部と
を有する。
In order to solve the above problems, the terminal device
A terminal device that performs data synchronization with a first terminal device,
A time information acquisition unit for acquiring time information from the first terminal device;
A time difference between the time information acquired by the time information acquisition unit and the time information of the terminal device is obtained, and the first terminal of the data stored in the terminal device is obtained using the time difference. An update time recording unit that records the update time of the corresponding data updated since the time when the time information was last acquired from the device;
Data for comparing the update time recorded by the update time recording unit with the update time of the data stored in the first terminal device, and updating the corresponding data in the terminal device to the latest update time data A synchronization processing unit;
A time information recording unit for recording time information after the data in the terminal device is updated to the latest update time data by the data synchronization processing unit.
本端末装置は、
第2の端末装置との間で、データ同期を行う端末装置であって、
前記第2の端末装置は、当該端末装置から時刻情報を取得し、該時刻情報と、前記第2の端末装置の有する時刻情報との時刻差分を求め、該時刻差分を用いて、前記第2の端末装置に格納されたデータのうち、当該端末装置から正確な時刻情報を前回取得した時刻以降に更新されたデータの更新時刻を記録し、該記録された更新時刻と、当該端末装置に格納されたデータの更新時刻とを比較し、前記第2の端末装置内の該当データを最新の更新時刻のデータに更新し、
当該端末装置は、
時刻情報を取得する時刻情報取得部と、
前記第2の端末装置からの時刻情報の要求に応じて、前記時刻情報取得部により取得された時刻情報を通知する時刻情報通知部と、
前記第2の端末装置に格納されたデータの更新時刻と、当該端末装置に格納されたデータの更新時刻とを比較し、当該端末装置内の該当データを最新の更新時刻のデータに更新するデータ同期処理部と
を有する。
This terminal device
A terminal device that performs data synchronization with a second terminal device,
The second terminal device acquires time information from the terminal device, obtains a time difference between the time information and time information of the second terminal device, and uses the time difference to Among the data stored in the terminal device, the update time of the data updated after the time when the accurate time information was previously acquired from the terminal device is recorded, and the recorded update time is stored in the terminal device. And update the corresponding data in the second terminal device to the data of the latest update time,
The terminal device
A time information acquisition unit for acquiring time information;
A time information notification unit that notifies the time information acquired by the time information acquisition unit in response to a request for time information from the second terminal device;
Data for comparing the update time of the data stored in the second terminal device with the update time of the data stored in the terminal device, and updating the corresponding data in the terminal device to the data of the latest update time And a synchronization processing unit.
本方法は、
第1の端末装置との間で、データ同期を行う端末装置における方法であって、
前記第1の端末装置から時刻情報を取得する時刻情報取得ステップと、
該時刻情報取得ステップにより取得された時刻情報と、当該端末装置の有する時刻情報との時刻差分を求め、該時刻差分を用いて、当該端末装置に格納されたデータのうち、前記第1の端末装置から時刻情報を前回取得した時刻以降に更新された該当データの更新時刻を記録する更新時刻記録ステップと、
該更新時刻記録ステップにより記録された更新時刻と、前記第1の端末装置に格納されたデータの更新時刻とを比較し、当該端末装置内の該当データを最新の更新時刻のデータに更新するデータ同期処理ステップと、
該データ同期処理ステップにより当該端末装置内の該当データが最新の更新時刻のデータに更新された後に、時刻情報を記録する時刻情報記録ステップと
を有する。
This method
A method in a terminal device that performs data synchronization with a first terminal device,
A time information acquisition step of acquiring time information from the first terminal device;
A time difference between the time information acquired by the time information acquisition step and the time information possessed by the terminal device is obtained, and the first terminal of the data stored in the terminal device is obtained using the time difference. An update time recording step for recording the update time of the corresponding data updated since the time when the time information was last acquired from the device;
Data for comparing the update time recorded in the update time recording step with the update time of the data stored in the first terminal device, and updating the corresponding data in the terminal device to the latest update time data Synchronous processing steps;
A time information recording step of recording time information after the corresponding data in the terminal device is updated to data of the latest update time by the data synchronization processing step.
本方法は、
第2の端末装置との間で、データ同期を行う端末装置における方法であって、
前記第2の端末装置は、当該端末装置から時刻情報を取得し、該時刻情報と、前記第2の端末装置の有する時刻情報との時刻差分を求め、該時刻差分を用いて、前記第2の端末装置に格納されたデータのうち、当該端末装置から時刻情報を前回取得した時刻以降に更新されたデータの更新時刻を記録し、該記録された更新時刻と、当該端末装置に格納されたデータの更新時刻とを比較し、前記第2の端末装置内の該当データを最新の更新時刻のデータに更新し、
当該端末装置は、
時刻情報を取得する時刻情報取得ステップと、
前記第2の端末装置からの時刻情報の要求に応じて、時刻情報を通知する時刻情報通知ステップと、
前記第2の端末装置に格納されたデータの更新時刻と、当該端末装置に格納されたデータの更新時刻とを比較し、当該端末装置内の該当データを最新の更新時刻のデータに更新するデータ同期処理ステップと
を有する。
This method
A method in a terminal device that performs data synchronization with a second terminal device,
The second terminal device acquires time information from the terminal device, obtains a time difference between the time information and time information of the second terminal device, and uses the time difference to Among the data stored in the terminal device, the update time of the data updated after the time when the time information was previously acquired from the terminal device is recorded, and the recorded update time and the stored time information are stored in the terminal device. Compare the data update time, update the corresponding data in the second terminal device to the latest update time data,
The terminal device
A time information acquisition step of acquiring time information;
A time information notifying step for notifying time information in response to a request for time information from the second terminal device;
Data for comparing the update time of the data stored in the second terminal device with the update time of the data stored in the terminal device, and updating the corresponding data in the terminal device to the data of the latest update time A synchronization processing step.
開示の端末装置及び方法によれば、他の端末装置との間でデータ同期を実行することができる。 According to the disclosed terminal device and method, data synchronization can be executed with other terminal devices.
次に、本発明を実施するための形態を、以下の実施例に基づき図面を参照しつつ説明する。
なお、実施例を説明するための全図において、同一機能を有するものは同一符号を用い、繰り返しの説明は省略する。
Next, the form for implementing this invention is demonstrated, referring drawings based on the following Examples.
In all the drawings for explaining the embodiments, the same reference numerals are used for those having the same function, and repeated explanation is omitted.
<システム>
図1は、本実施例に従ったシステムを示す。
<System>
FIG. 1 shows a system according to this embodiment.
本システムは、移動通信端末100と端末装置200とを有する。移動通信端末100には、携帯電話や携帯情報端末が含まれてもよい。移動通信端末100は、ネットワーク300と無線接続される。該ネットワーク300には、移動通信網、インターネットなどが含まれてもよい。端末装置200には、サーバやパソコン(PC)等が含まれてもよい。移動通信端末100は、ネットワーク300から無線送信された正確な時刻情報を受信する。一方、端末装置200は、ネットワーク300と接続されていないため、正確な時刻情報を取得できない。移動通信端末100と端末装置200は、ケーブル50により有線接続される。
This system includes a
本無線通信システムでは、移動通信端末100と端末装置200との間でデータ同期が行われる際に、端末装置200は、正確な時刻情報を取得できるかを判定する。そして、該端末装置200は、正確な時刻情報を取得できないと判定した場合に移動通信端末100に正確な時刻情報を要求する。データ同期とは、移動通信端末100に格納されたデータに対して実行された削除、変更、追加などの編集を端末装置200に反映し、該端末装置200に格納されたデータの少なくとも一部を移動通信端末100に格納されたデータと等しくすることである。また、データ同期には、端末装置200に格納されたデータに対して実行された削除、変更、追加などの編集を移動通信端末100に反映し、該移動通信端末100に格納されたデータの少なくとも一部を端末装置200に格納されたデータと等しくすることが含まれる。
In the wireless communication system, when data synchronization is performed between the
端末装置200は、移動通信端末100から取得した正確な時刻情報と当該端末装置200が有する時刻情報とを比較し、当該端末装置200が有する時刻情報に対する補正時間を求める。換言すれば、当該端末装置200が有する時刻と、正確な時刻との時刻の差分(以下、時刻差分と呼ぶ)を求める。端末装置200は、該時刻差分を用いて、当該端末装置200に格納されたデータに記録されたデータの更新時刻の補正を行う。端末装置200において、データの更新時刻の補正が行われた後、移動通信端末100と端末装置200との間で、データ同期が行われる。
The
移動通信端末100から正確な時刻情報を取得し、該時刻情報に基づいて当該端末装置200に格納されたデータに記録されたデータ更新時刻の補正を行うことにより、正確な時刻情報を取得する手段を有さない端末装置200と移動通信端末100との間でデータ同期を行うことができる。
Means for obtaining accurate time information by obtaining accurate time information from the
<移動通信端末>
図2は、本実施例に従った移動通信端末100を示す。
<Mobile communication terminal>
FIG. 2 shows a
本移動通信端末100は、アンテナ102と、受信部104と、時刻情報取得部106と、同期制御部108と、送受信部110と、記憶部112とを有する。同期制御部108は、時刻情報通知部1082と、データ同期処理部1084とを有する。
The
無線基地局(図示なし)から送信された下りリンクのデータは、アンテナ102を介して、受信部104に入力される。無線基地局は、正確な時刻情報を常時報知する。該無線基地局は、移動通信網と接続される。
Downlink data transmitted from a radio base station (not shown) is input to the receiving
受信部104は、アンテナ102と接続され、該アンテナ102を介して入力された無線信号を変調信号に変換する。そして、受信部104は、変調信号をベースバンド信号に変換し、該ベースバンド信号を時刻情報取得部106に入力する。受信部104は、通信形態の切り替えが行われる場合に、無線基地局からの報知情報を受信する。例えば、通信形態の切り替えが行われる場合には、起動時、圏内に復帰した場合、終話時が含まれてもよい。また、受信部104は、周期的に報知情報を受信するようにしてもよい。
The receiving
時刻情報取得部106は、受信部104と接続される。時刻情報取得部106は、受信部104により入力されたベースバンド信号から時刻情報を取得する。時刻情報取得部106は、時刻情報を同期制御部108に入力する。
The time
同期制御部108は、時刻情報取得部106と接続される。同期制御部108は、端末装置200との間で行われるデータ同期の制御を行う。
The
時刻情報通知部1082は、端末装置200から時刻情報が要求された場合には、該要求に応じて、送受信部110を介して、時刻情報を送信する。
When the time information is requested from the
データ同期処理部1084は、当該移動通信端末100と端末装置200との間でデータ同期処理が開始され、端末装置200から当該移動通信端末100に格納されたデータが要求された場合、該要求に応じて、送受信部110を介して、記憶部112に格納されたデータを端末装置200に転送する。該データには、更新時刻が含まれる。具体的には、該データはファイル形式で格納されており、各ファイルには更新時刻が含まれる。データ同期処理部1084は、端末装置200によりファイルが送信された場合、該ファイルを記憶部112に格納する。該ファイルは更新されたファイルが含まれてもよい。換言すれば、端末装置200により送信されたファイルに、当該移動通信端末100に格納されたファイルを更新する。
When data synchronization processing is started between the
送受信部110は、同期制御部108と接続される。送受信部110は、端末装置200に、時刻情報通知部1082により入力された時刻情報及び/又はデータ同期処理部1084により入力されたデータを端末装置200に送信する。送受信部110は、端末装置200との間のインタフェースを含む。
The transmission /
記憶部112は、データ同期処理部1084と接続される。記憶部112は、データを格納する。該データには、更新時刻が含まれる。具体的には、該データはファイル形式で格納されており、各ファイルには更新時刻が含まれる。
The
<端末装置>
図3は、本実施例に従った端末装置200を示す機能ブロック図である。
<Terminal device>
FIG. 3 is a functional block diagram showing the
本端末装置200は、同期制御部202と、送受信部204と、記憶部206とを有する。同期制御部202は、時刻情報取得判定部2022と、時刻情報取得部2024と、データ更新時刻補正部2026と、データ同期処理部2028とを有する。
The
同期制御部202は、移動通信端末100との間で行われるデータ同期の制御を行う。
The
時刻情報取得判定部2022は、当該端末装置200が正確な時刻情報を取得できるかを判定する。時刻情報取得判定部2022は、当該端末装置200がネットワーク300に接続されている場合には、正確な時刻情報を取得できると判定する。換言すれば、時刻情報取得判定部2022は、例えばNTPなどの時刻同期のプロセスが動作しているかを判定する。また、時刻情報取得判定部2022は、移動通信端末100の有する時刻情報と同じ時刻情報を有する場合には、正確な時刻情報を取得できると判定するようにしてもよい。但し、時刻情報取得判定部2022は、移動通信端末100の有する時刻情報と異なる時刻情報を有する場合でも、該時刻差が誤差の範囲(例えば、±1sec以下)である場合には、同じ時刻情報を有すると判断してもよい。時刻情報取得判定部2022は、正確な時刻情報を取得できると判定した場合、正確な時刻情報を取得できることをデータ同期処理部2028に通知する。該通知に従って、データ同期処理部2028は、移動通信端末100との間でデータ同期を行う。移動通信端末100と時刻同期が取れていると判断されるためである。時刻情報取得判定部2022は、正確な時刻情報を取得できないと判定した場合には、データ更新時刻補正部2026に正確な時刻情報を取得できないことを通知し、時刻情報取得部2024に正確な時刻情報を取得するように命令する。
The time information
時刻情報取得部2024は、時刻情報取得判定部2022と接続される。時刻情報取得部2024は、時刻情報取得判定部2022により正確な時刻情報を取得できないと判定された場合に、当該端末装置200と接続された移動通信端末100に対して、現在の時刻情報を要求する。該要求は送受信部204から送信される。時刻情報取得部2024は、送受信部204を介して、移動通信端末100から現在の時刻tthis_Teを取得する。時刻情報取得部2024は、現在の時刻tthis_Teをデータ更新時刻補正部2026に入力する。
The time
データ更新時刻補正部2026は、時刻情報取得判定部2022と、時刻情報取得部2024と、記憶部206と接続される。データ更新時刻補正部2026は、移動通信端末100との間で、データ同期を行った時刻(以下、データ同期時刻と呼ぶ)を記憶する。該データ同期時刻は、移動通信端末100と端末装置200において保持されてもよい。データ更新時刻補正部2026は、前回のデータ同期時刻tpreと現在の時刻tthis_Teとの間の経過時間tranを求める(tran=tthis_Te-tpre)。そして、データ更新時刻補正部2026は、該経過時間tranを用いて、前回のデータ同期時刻tpreから現在までに更新されたファイルの更新時刻を正しいと想定される更新時刻に補正する。
The data update
補正方法について、具体的に説明する。 The correction method will be specifically described.
図4は、更新時刻の補正を示す図である。 FIG. 4 is a diagram illustrating the correction of the update time.
図4において、tthis_PCは、端末装置200が保持している内部時計における今回同期した時刻(以下、同期時刻tthis_PCと呼ぶ)である。換言すれば、同期時刻tthis_PCは、端末装置200における現在の時刻である。同期時刻tthis_PCには、移動通信端末100が有する正確な時間に対する時間ずれ(時間誤差)が含まれる場合がある。tthis_Teは、移動通信端末100が保持している内部時計における今回同期した時刻(以下、同期時刻tthis_Teと呼ぶ)である。換言すれば、同期時刻tthis_Teは、端末装置200における現在の時刻である。同期時刻tthis_Teは、正しい時間である。移動通信端末100は、端末装置200に、同期時刻tthis_Teを通知する。
In FIG. 4, tthis_PC is a time synchronized with the current time in the internal clock held by the terminal device 200 (hereinafter referred to as a synchronization time tthis_PC ). In other words, the synchronization time tthis_PC is the current time in the
tn_PCは、端末装置200が、前回のデータ同期時刻以降にデータの更新を行ったデータ更新時刻(以下、データ更新時刻tn_PCと呼ぶ)である。データ更新時刻tn_PCは、端末装置200が保持している内部時計により求められる時刻である。データ更新時刻tn_PCには、移動通信端末100が有する正確な時間に対する時間ずれ(時間誤差)が含まれる場合がある。そこで、時間誤差が含まれないと仮定した場合の端末装置200におけるデータ更新時刻をt´n_PCとする。
t n_PC is a data update time (hereinafter, referred to as data update time t n_PC ) at which the
端末装置200と移動通信端末100における今回同期した時刻の時刻差分tdiffは、式(1)により示される。
The time difference t diff of the time synchronized between the
Tdiff= tthis_PC- tthis_Te (1)
データ更新時刻tn_PCとデータ更新時刻t´n_PCとの間には、時間の経過に従って、同様の割合で移動通信端末100と端末装置200との間で時間のずれが生じたとした場合には、式(2)の関係が成立する。
T diff = t this_PC -t this_Te (1)
When a time lag occurs between the
t´n_PC= tn_PC+tdiff/ tran (2)
式(2)を変形することにより、式(3)が得られる。
t´ n_PC = t n_PC + t diff / t ran (2)
By transforming Equation (2), Equation (3) is obtained.
t´n_PC= (tn_PC- tdiff ×tpre)/(tran-tdiff) (3)
式(3)において、データ更新時刻tn_PC、前回のデータ同期時刻tpreは端末装置200において求められ、保持される。経過時間tran及び時刻差分tdiffは、移動通信端末100により通知される現在の時刻tthis_Teにより求めることができる。
t´ n_PC = (t n_PC -t diff × t pre ) / (t ran -t diff ) (3)
In equation (3), the data update time t n_PC and the previous data synchronization time t pre are obtained and held in the
データ更新時刻補正部2026は、式(3)により、前回のデータ同期時刻tpreから現在までに更新されたファイルのデータ更新時刻tn_PCを正しいと想定されるデータ更新時刻t´n_PCに補正する。データ更新時刻補正部2026は、記憶部206に格納されたデータを取り出し、各データの更新時刻を参照し、該当するデータの更新時刻を補正する。
Data update
データ同期処理部2028は、時刻情報取得判定部2022と、送受信部204と、記憶部206と接続される。データ同期処理部2028は、移動通信端末100に格納されたファイルと、当該端末装置200に格納されたファイルとを用いて、データ同期を行う。データ同期処理部2028は、記憶部206に格納されたデータの少なくとも一部を、移動通信端末100に格納されたデータと等しくする。また、データ同期処理部2028は、移動通信端末100に格納されたデータの少なくとも一部を、記憶部206に格納されたデータの少なくとも一部と等しくするような処理を行うようにしてもよい。データ同期処理部2028は、記憶部206に格納されたファイルと、移動通信端末100に格納されたファイルのうち、同一性を確認できるファイルについて、データ更新時刻を参照し、該更新時刻が古いファイルを新しいファイルに置き換える。例えば、データ同期処理部2028は、ファイル名により同一性を確認するようにしてもよい。例えば、データ同期処理部2028は、移動通信端末100に格納されたファイルを一時的に取得し、記憶部206に格納されたデータとの間で、データ更新時刻を比較するようにしてもよい。移動通信端末100に格納されたファイルの一部について、データ同期を行うようにしてもよい。
The data
記憶部206に格納されたファイルのデータ更新時刻は、データ更新時刻補正部2026により、移動通信端末100と共有される正しい時刻を基準とする更新時刻に補正されている。従って、移動通信端末100に有する内部時計と端末装置200に有する内部時計との間で時間差が生じていた場合でも、正しい時刻を基準とする更新時刻で比較でき、データ更新時刻が新しいファイルに更新できる。該更新が行われた後、次回のデータ同期の際に使用される前回のデータ同期時刻tpreを更新する。データ更新時刻補正部2026及びデータ同期処理部2028は、現在の時刻tthis_Teに、前回のデータ同期時刻tpreを更新する。
The data update time of the file stored in the
送受信部204は、時刻情報取得部2024と、データ同期処理部2028と接続される。送受信部204は、時刻情報取得部2024により入力された時刻情報要求を移動通信端末100に送信する。そして、送受信部204は、時刻情報取得部2024に、移動通信端末100により送信された現在の時刻情報を入力する。また、送受信部204は、移動通信端末100に、データ同期処理部2028により入力されたデータ要求を送信する。そして、送受信部は、データ同期処理部2028に、移動通信端末100により送信されたファイルを入力する。
The transmission /
記憶部206は、データ更新時刻補正部2026と、データ同期処理部2028と接続される。記憶部206は、データを格納する。記憶部206は、該データをファイルの形式で格納する。該ファイルには、データ更新時刻が含まれる。
The
<データ同期方法>
図5は、本システムにおける処理を示すフローチャートである。
<Data synchronization method>
FIG. 5 is a flowchart showing processing in the present system.
移動通信端末100と端末装置200とは、データ同期を行い、該データ同期の際に用いたデータ同期時刻tpreを保持する(ステップS502)。
The
移動通信端末100は、正確な時刻情報を受信する(ステップS504)。移動通信端末100は、無線基地局により送信される報知情報を受信する。時刻情報取得部106は、該報知情報に含まれる時刻情報を取得する。
The
移動通信端末100と端末装置200とがケーブル50により有線接続される(ステップS506)。送受信部110と204との間が有線接続される。移動通信端末100に格納されたファイルと端末装置200に格納されたファイルとの間でデータ同期を行う際に、有線接続される。
The
端末装置200は、正確な時刻情報を取得できるかを判定する(ステップS508)。時刻情報取得判定部2022は、当該端末装置200が正確な時刻情報を取得できるかを判定する。時刻情報取得判定部2022は、当該端末装置200と移動通信端末100とが有線接続されたことを契機として、正確な時刻情報を取得できるかを判定するようにしてもよい。時刻情報取得判定部2022は、当該端末装置200がネットワーク300に接続されている場合には、正確な時刻情報を取得できると判定するようにしてもよい。NTPなどの時刻同期のプロセスが動作していると想定されるためである。
The
端末装置200において正確な時刻情報を取得できると判定された場合(ステップS508:YES)、移動通信端末100と端末装置200との間でデータ同期が実行される(ステップS510)。データ同期処理部2028は、移動通信端末100に対して、該移動通信端末100に格納されたファイルを要求する。データ同期処理部2028は、移動通信端末100により送信されたファイルのデータ更新時刻と、当該端末装置200に格納されたファイルの更新時刻とを比較し、最新のデータ更新時刻のファイルに更新する。
If it is determined that accurate time information can be acquired in the terminal device 200 (step S508: YES), data synchronization is executed between the
一方、端末装置200において正確な時刻情報を取得できると判定されない場合(ステップS508:NO)、端末装置200は、移動通信端末100に時刻情報を要求する(ステップS512)。時刻情報取得部2024は、移動通信端末100に、現在の時刻情報を要求する。該要求は、端末装置200の送受信部204から送信され、移動通信端末100の送受信部110に受信される。
On the other hand, when it is not determined that accurate time information can be acquired in the terminal device 200 (step S508: NO), the
移動通信端末100は、正確な現在時刻tthis_Teを端末装置200に通知する(ステップS514)。時刻情報通知部1082は、端末装置200からの現在の時刻情報の要求に従って、端末装置200に現在の時刻tthis_Teを通知する。
The
端末装置200は、前回のデータ同期時刻tpreと、現在の時刻tthis_Teと、現在の時刻tthis_Teとにより、時刻差分tdiff、経過時間tranを求める(ステップS516)。データ更新時刻補正部2026は、当該端末装置200が有する前回のデータ同期時刻tpre及び現在の時刻tthis_Teと、移動通信端末100により通知された現在の時刻tthis_Teとにより、時刻差分tdiff、経過時間tranを求める。
The
端末装置200は、ステップS516により算出した時刻差分tdiffを用いて、当該端末装置200に格納されたデータの時刻情報を補正する(ステップS518)。データ更新時刻補正部2026は、時刻差分tdiffを用いて、記憶部206に格納されたファイルのデータ更新時刻を補正する。データ更新時刻補正部2026は、前回のデータ同期時刻以降に更新されたファイルのデータ更新時刻を補正する。
The
移動通信端末100と端末装置200との間でデータ同期が実行される(ステップS510)。端末装置200は、移動通信端末100に対して、該移動通信端末100に格納されたファイルを要求する。端末装置200は、移動通信端末100により送信されたファイルのデータ更新時刻と、当該端末装置200に格納されたファイルの更新時刻とを比較し、最新のデータ更新時刻のファイルに更新する。データ同期処理部2028は、移動通信端末100に対して、該移動通信端末100に格納されたファイルを要求する。データ同期処理部2028は、移動通信端末100により送信されたファイルのデータ更新時刻と、当該端末装置200に格納されたファイルの更新時刻とを比較し、最新のデータ更新時刻のファイルに更新する。
Data synchronization is executed between the
移動通信端末100と端末装置200との間で、古いデータ更新時刻のファイルが最新のデータ更新時刻のファイルに更新された後、移動通信端末100と端末装置200は、現在の時刻tthis_Teに、前回のデータ同期時刻tpreを更新する。データ更新時刻補正部2026及びデータ同期処理部2028は、現在の時刻tthis_Teに、前回のデータ同期時刻tpreを更新する。
After the file with the old data update time is updated to the file with the latest data update time between the
図6は、ステップS518による処理の詳細を示すフローチャートである。 FIG. 6 is a flowchart showing details of the processing in step S518.
図6において、n(nは自然数)は、端末装置200の記憶部206に格納されたデータ(ファイル)の数を示す。
In FIG. 6, n (n is a natural number) indicates the number of data (files) stored in the
端末装置200は、n=0に設定する(ステップS602)。データ更新時刻補正部2026は、n=0に設定する。
The
端末装置200は、時刻補正式により、n番目のデータのデータ更新時刻を補正する(ステップS604)。データ更新時刻補正部2026は、式(3)により示される時刻補正式を用いて、記憶部206に格納されたデータ(ファイル)のうち、前回のデータ同期時刻以降に更新されたデータのデータ更新時刻を補正する。
The
端末装置200は、全データについての補正が終了したかを確認する(ステップS606)。データ更新時刻補正部2026は、記憶部206に格納された全データ(ファイル)について、データ更新時刻の補正が終了したかを判定する。ここで、全データとは、前回のデータ同期時刻tpre以降にデータの更新が行われたデータ、換言すれば、データ更新時刻が前回のデータ同期時刻tpre以降であるデータである。
The
全データについて、データ更新時刻の補正が終了していない場合(ステップS606:NO)、端末装置200は、nの値を1増加させ(ステップS608)、ステップS604からの処理を行う。データ更新時刻補正部2026は、nの値を1増加させ、次のデータ(ファイル)のデータ更新時刻を補正する。全データについて、データ更新時刻の補正が行われるまで継続される。
If correction of the data update time has not been completed for all data (step S606: NO), the
一方、全データについて、データ更新時刻の補正が終了した場合(ステップS606:YES)、端末装置200は、データ更新時刻の補正を終了する。
On the other hand, when the correction of the data update time is completed for all data (step S606: YES), the
本実施例において、移動通信端末100と端末装置200との接続は有線接続に限らず、無線接続としてもよい。例えば、近距離無線通信技術が適用されてもよい。具体的には、無線PAN(personal area network)に含まれる規格に従った通信方式を適用してもよいし、無線LANに含まれる規格に従った通信方式が適用されてもよい。無線LANに含まれる規格には、IEEE802.11a、IEEE802.11b、IEEE802.11g、及びIEEE802.11nなどが含まれる。無線PANに含まれる規格には、UWB(Ultra Wide Band)、ZigBee、及びBluetoothなどが含まれる。移動通信端末100と端末装置200との接続を無線接続とすることにより、移動通信端末100と端末装置200と間の距離がケーブルの長さより離れた場合においても、データ同期を行うことができる。
In the present embodiment, the connection between the
また、移動通信端末100は、GPS(Global Positioning System)受信機を有するようにしてもよい。移動通信端末100がGPS受信機を有することにより、現在の時刻情報をGPS衛星から送信されるGPS信号から取得することができる。
The
本実施例によれば、正確な時刻情報を取得することができない端末装置と、移動通信端末との間でデータ同期を実行することができる。該移動通信端末と該端末装置との間で、同じ同期基準でデータ変更を確認できるため、双方のデータを最新状態に保つことができる。また、端末装置に格納されたデータの少なくとも一部を移動通信端末に保存して、該移動通信端末で編集作業を行うような場合には、該移動通信端末にのみ最新のデータ更新時刻のファイルが格納されることになる。従って、端末装置に格納されたデータの少なくとも一部を移動通信端末に保存して、該移動通信端末で編集作業を行うような場合には、該移動通信端末に格納されたデータを端末装置にバックアップすることができる。 According to the present embodiment, data synchronization can be executed between a terminal device that cannot acquire accurate time information and a mobile communication terminal. Since the data change can be confirmed between the mobile communication terminal and the terminal device based on the same synchronization standard, both data can be kept up-to-date. In addition, in the case where at least a part of data stored in the terminal device is stored in the mobile communication terminal and editing is performed at the mobile communication terminal, the file with the latest data update time is stored only in the mobile communication terminal Will be stored. Therefore, when storing at least a part of the data stored in the terminal device in the mobile communication terminal and performing editing work on the mobile communication terminal, the data stored in the mobile communication terminal is stored in the terminal device. Can be backed up.
<変形例>
本変形例に従ったシステムは、図1を参照して説明したシステムと同様である。本変形例に従った移動通信端末100は、図2に示される機能ブロックにより説明される。
<Modification>
The system according to this modification is the same as the system described with reference to FIG. The
<端末装置>
本変形例に従った端末装置200は、図3に示される機能ブロックにより説明される。本端末装置200は、上述した端末装置と、同期制御部202と、データ更新時刻補正部2026における処理が異なる。
<Terminal device>
The
同期制御部202は、データ同期を行うべきデータを設定する。例えば、データ同期を行うべきデータは、変更履歴が記録されていて、同期先に送信するデータであってもよい。該データはユーザにより設定されてもよい。そして、同期制御部202は、データ更新時刻補正部2026により時刻差分tdiffと、経過時間tranとが求められた後、データ同期処理部2028に対して、データ同期処理を開始するように命令する。データ更新時刻補正部2026は、データ同期処理部2028におけるデータ同期処理と並行して、以下の処理を行う。
The
データ更新時刻補正部2026は、データ同期を行うべきデータが設定されている場合、換言すれば、移動通信端末100に送信する可能性があるデータがある場合、該データに含まれるデータ更新時刻を補正する。該移動通信端末100に送信するデータは、移動通信端末100において編集を行いたいデータであってもよい。データ更新時刻が補正されたデータは、移動通信端末100に送信される。また、データ更新時刻補正部2026は、移動通信端末100からデータを受信した場合、記憶部206に格納されたデータのうち、移動通信端末100から受信したデータに対して同期対象となるデータのデータ更新時刻の補正を行う。
When the data to be synchronized is set, in other words, when there is data that may be transmitted to the
移動通信端末100に送信する可能性があるデータのデータ更新時刻を補正することにより、移動通信端末100に、同期基準の異なるデータ更新時刻のファイルが送信されるのを防止できるため、移動通信端末100に、同期基準の異なるデータ更新時刻のファイルが共存するのを防止できる。
By correcting the data update time of data that may be transmitted to the
移動通信端末100から受信したデータに対して同期対象となるデータのデータ更新時刻の補正を行うことにより、データ同期の対象となるデータに対して、データ更新時刻の補正を行うことができる。データ同期の対象となるデータに対してのみデータ更新時刻の補正を行うことにより、端末装置200における処理負荷を低減しつつ、データ同期を行うことができる。全データに対してデータ更新時刻の補正が行われないためである。
By correcting the data update time of the data to be synchronized with the data received from the
<データ同期方法>
図7は、本システムにおける処理を示すフローチャートである。
<Data synchronization method>
FIG. 7 is a flowchart showing processing in the present system.
ステップS702−S716は、図5を参照して説明したフローチャートにおけるステップS502−S516と同様である。 Steps S702 to S716 are the same as steps S502 to S516 in the flowchart described with reference to FIG.
ステップS718では、端末装置200は、データ同期を開始する。本変形例では、データ同期を行うべきデータが設定される。データ同期処理部2028は、移動通信端末100との間でデータ同期を開始する。端末装置200は、移動通信端末100に送信するデータがあるかを判断する(ステップS720)。同期制御部202は、データ同期を行うべきデータが設定されている場合に、データ同期により移動通信端末100に該データを送信する可能性があると判断し、移動通信端末100に送信するデータがあると判断する。
In step S718, the
移動通信端末100に送信するデータがある場合(ステップS720:YES)、端末装置200は、ステップS716により算出した時刻差分tdiffを用いて、移動通信端末100に送信するデータのデータ更新時刻を補正する(ステップS722)。データ更新時刻補正部2026は、時刻差分tdiffを用いて、記憶部206に格納されたファイルのうち、移動通信端末100に送信するデータのデータ更新時刻を補正する。
When there is data to be transmitted to the mobile communication terminal 100 (step S720: YES), the
端末装置200は、移動通信端末100に、データを送信する(ステップS724)。
The
一方、ステップS720において移動通信端末100に送信するデータがないと判定された場合(ステップS720:NO)、及びステップS724により、移動通信端末100へのデータ送信の終了後、端末装置200は、移動通信端末100から受信すべきデータがあるかを判定する(ステップS726)。例えば、データ同期処理部2028は、移動通信端末100との間でデータ同期が行われる際に、移動通信端末100から受信すべきデータがあると判定するようにしてもよい。
On the other hand, when it is determined in step S720 that there is no data to be transmitted to the mobile communication terminal 100 (step S720: NO), and in step S724, after the data transmission to the
移動通信端末100から受信すべきデータがあると判定された場合(ステップS726:YES)、端末装置200は、ステップS716により算出した時刻差分tdiffを用いて、当該端末装置200に格納されているデータのうち、移動通信端末100から受信すべきデータとデータ同期対象となるデータのデータ更新時刻を補正する(ステップS728)。データ更新時刻補正部2026は、時刻差分tdiffを用いて、記憶部206に格納されたファイルのうち、移動通信端末100から受信すべきデータに対してデータ同期対象となるデータのデータ更新時刻を補正する。
When it is determined that there is data to be received from the mobile communication terminal 100 (step S726: YES), the
一方、ステップS726により移動通信端末100から受信すべきデータがないと判定された場合(ステップS726:NO)、及びステップS728によりデータ更新時刻の補正が終了した場合、端末装置200と移動通信端末100との間でデータ同期が行われ、データ同期を終了する(ステップS730)。データ同期処理部2028は、移動通信端末100から受信したデータに含まれるデータ更新時刻と、該データに対して同期対象となるデータに含まれる補正されたデータ更新時刻とを比較し、データ同期を行う。
On the other hand, when it is determined in step S726 that there is no data to be received from the mobile communication terminal 100 (step S726: NO), and when the correction of the data update time is completed in step S728, the
移動通信端末100と端末装置200との間で、古いデータ更新時刻を含むファイルが最新のデータ更新時刻のファイルに更新された後、移動通信端末100と端末装置200は、現在の時刻tthis_Teに、前回のデータ同期時刻tpreを更新する。データ更新時刻補正部2026及びデータ同期処理部2028は、現在の時刻tthis_Teに、前回のデータ同期時刻tpreを更新する。
After the file including the old data update time is updated to the file having the latest data update time between the
図8は、ステップS722による処理の詳細を示すフローチャートである。 FIG. 8 is a flowchart showing details of the processing in step S722.
図8において、n(nは自然数)は、端末装置200が移動通信端末100に送信するデータ(ファイル)の数を示す。データ同期を行うべきデータとして設定されたデータの数である。
In FIG. 8, n (n is a natural number) indicates the number of data (files) that the
端末装置200は、n=0に設定する(ステップS802)。データ更新時刻補正部2026は、n=0に設定する。
The
端末装置200は、n番目のデータに、更新履歴があるかを判定する(ステップS804)。データ更新時刻補正部2026は、n番目のデータに含まれるデータ更新時刻を参照し、前回のデータ同期時刻tpre以降にデータの更新がされているかを判定する。
The
データの更新がされていると判定されない場合(ステップS804:NO)、端末装置200は、全送信データについての確認が終了したかを確認する(ステップS806)。データ更新時刻補正部2026は、送信すべき全データ(ファイル)について、更新履歴の確認が終了したかを判定する。
If it is not determined that the data has been updated (step S804: NO), the
データ更新時刻の確認が終了した場合(ステップS806:YES)、端末装置200は、データ更新時刻の補正を終了する。
When the confirmation of the data update time is completed (step S806: YES), the
一方、ステップS804において、データの更新がされていると判定された場合(ステップS804:YES)、端末装置200は、時刻補正式により、n番目のデータのデータ更新時刻を補正する(ステップS808)。データ更新時刻補正部2026は、式(3)により示される時刻補正式を用いて、n番目のデータ(ファイル)のデータ更新時刻を補正する。
On the other hand, if it is determined in step S804 that the data has been updated (step S804: YES), the
ステップS806により、データ更新時刻の確認が終了したと判定されない場合、及びステップS808により、n番目のデータのデータ更新時刻の補正が行われた後、端末装置200は、nの値を1増加させ(ステップS810)、ステップS804からの処理を行う。データ更新時刻補正部2026は、nの値を1増加させ、次の送信すべきデータ(ファイル)に対して、ステップS804−S810と同様の処理を行う。全ての送信すべきデータについて、継続される。
If it is not determined in step S806 that the data update time has been confirmed, and after the data update time of the nth data is corrected in step S808, the
図9は、ステップS728による処理の詳細を示すフローチャートである。 FIG. 9 is a flowchart showing details of the processing in step S728.
図9において、n(nは自然数)は、端末装置200が移動通信端末100から受信したデータ(ファイル)の数を示す。
In FIG. 9, n (n is a natural number) indicates the number of data (files) received from the
端末装置200は、n=0に設定する(ステップS902)。データ更新時刻補正部2026は、n=0に設定する。
The
端末装置200は、n番目の受信データに、更新履歴があるかを判定する(ステップS904)。データ更新時刻補正部2026は、n番目の受信データに含まれるデータ更新時刻を参照し、前回のデータ同期時刻tpre以降にデータの更新がされているかを判定する。
The
データの更新がされていると判定されない場合(ステップS904:NO)、端末装置200は、全受信データについての確認が終了したかを確認する(ステップS906)。データ更新時刻補正部2026は、受信した全データ(ファイル)について、更新履歴の確認が終了したかを判定する。
If it is not determined that the data has been updated (step S904: NO), the
データ更新時刻の確認が終了した場合(ステップS906:YES)、端末装置200は、データ更新時刻の補正を終了する。
When the confirmation of the data update time is completed (step S906: YES), the
一方、ステップS904において、データの更新がされていると判定された場合(ステップS904:YES)、端末装置200は、時刻補正式により、n番目のデータに対して同期対象となるデータに含まれるデータ更新時刻を補正する(ステップS908)。データ更新時刻補正部2026は、式(3)により示される時刻補正式を用いて、記憶部206に格納されたデータのうち、n番目のデータ(ファイル)に対して同期対象となるデータに含まれるデータ更新時刻を補正する。データ更新時刻補正部2026は、例えばファイル名により、同期対象となるデータであるかを判定する。
On the other hand, if it is determined in step S904 that the data has been updated (step S904: YES), the
ステップS906により、データ更新時刻の確認が終了したと判定されない場合、及びステップS908により、データ更新時刻の補正が行われた後、端末装置200は、nの値を1増加させ(ステップS910)、ステップS904からの処理を行う。データ更新時刻補正部2026は、nの値を1増加させ、次の受信したデータ(ファイル)に対して、ステップS904−S910と同様の処理を行う。全ての受信データについて、継続される。
If it is not determined in step S906 that the data update time has been confirmed, and after the data update time is corrected in step S908, the
本変形例において、移動通信端末100と端末装置200との接続は有線接続に限らず、無線接続としてもよい。例えば、上述した実施例と同様に、近距離無線通信技術が適用されてもよい。
In this modification, the connection between the
上述した実施例及び変形例では、端末装置200は、前回のデータ同期時刻tpreから現在までに更新されたファイルの更新時刻を正しいと想定される更新時刻に補正する場合について説明した。しかし、端末装置200は、該ファイルの更新時刻を補正せず、正しいと想定される更新時刻を記録(保持)するようにしてもよい。換言すれば、端末装置200は、正しいと想定される更新時刻をログとして保持する。また、端末装置200は、該ファイルの更新時刻を補正せず、該ファイルに、正しいと想定される更新時刻を付与するようにしてもよい。
In the embodiment and the modification described above, the
上述した実施例及び変形例では、正確な時刻情報を取得することができない端末装置200と、正確な時刻情報を取得することができる移動通信端末100との間でデータ同期を実行する場合について説明した。しかし、移動通信端末100が正確な時刻情報を有していることが保証できない場合、換言すれば、内部時計が正確であることが保証できない場合にも適用できる。移動通信端末100が正確な時刻情報を有していることが保証できない場合、該移動通信端末100が正確な時刻情報を有していると仮定して上述した処理と同様の処理が行われる。
In the embodiment and the modification described above, a case where data synchronization is executed between the
また、移動通信端末100の有する内部時計及び端末装置200の有する内部時計の一方の時刻情報を基準として、データ同期を行うことも可能である。移動通信端末100及び端末装置200の一方の時刻を基準として、データ同期を行う場合には、移動通信端末100及び端末装置200は、それぞれ内部時計を補正した日時を記録する。そして、移動通信端末100及び端末装置200は、それぞれ内部時計を補正した時間間隔を計算する。例えば、移動通信端末100及び端末装置200は、それぞれ「内部時計を補正した前回の日時」と「内部時計を補正した前々回の日時」との時間間隔を計算する。端末装置200は、該時間間隔の短い方の時刻情報を基準として、データ同期を行うようにしてもよい。内部時計を補正した時間間隔が短い方の時刻情報の方が正確な時間に近いと想定されるためである。
It is also possible to perform data synchronization based on the time information of one of the internal clock of the
上述した実施例及び変形例では、移動通信装置100と端末装置200との間でデータ同期が実施される場合について説明した。しかし、正確な時刻情報を取得でき、該正確な時刻情報を端末装置に通知できる装置であれば、移動通信装置100に限られず適用できる。より一般的には、移動通信端末、通信装置などを包含する端末装置に適用できる。
In the above-described embodiments and modifications, the case where data synchronization is performed between the
上述した実施例及び変形例では、前回のデータ同期時刻tpre以降に更新されたデータのデータ更新時刻が補正される場合について説明したが、端末装置200の内部時計が正しい時刻であった時刻が分かっている場合には、該時刻を用いられてもよい。
In the embodiment and the modification described above, the case where the data update time of data updated after the previous data synchronization time t pre is described, but the time when the internal clock of the
本実施例及び本変形例によれば、第1の端末装置としての移動通信端末100との間で、データ同期を行う端末装置200が提供される。該端末装置200は、前記第1の端末装置から正確な時刻情報を取得する時刻情報取得部と、該時刻情報取得部により取得された時刻情報と、当該端末装置の有する時刻情報との時刻差分を求め、該時刻差分を用いて、当該端末装置に格納されたデータのうち、前記第1の端末装置から時刻情報を前回取得した時刻以降に更新された該当データの更新時刻を記録する更新時刻記録部と、該更新時刻記録部により記録された更新時刻と、前記第1の端末装置に格納されたデータの更新時刻とを比較し、当該端末装置内の該当データを最新の更新時刻のデータに更新するデータ同期処理部と、該データ同期処理部により当該端末装置内の該当データが最新の更新時刻のデータに更新された後に、時刻情報を記録する時刻情報記録部とを有する。
According to the present embodiment and the present modification, a
取得された時刻情報と当該端末装置200の有する時刻情報との時刻差分を求め、該時刻差分を用いて、当該端末装置200に格納された該当データの更新時刻を記録することにより、端末装置200は、記録されたデータ更新時刻を用いて、移動通信端末100との間でデータ同期を実行することができる。
The
さらに、端末装置は、正確な時刻情報を取得できるかを判断する時刻情報取得判定部を有する。前記時刻情報取得部は、前記時刻情報取得判定部により正確な時刻情報を取得できないと判定された場合に、正確な時刻情報を取得できる第1の端末装置から正確な時刻情報を取得する。 Furthermore, the terminal device includes a time information acquisition determination unit that determines whether accurate time information can be acquired. The time information acquisition unit acquires accurate time information from a first terminal device that can acquire accurate time information when the time information acquisition determination unit determines that accurate time information cannot be acquired.
取得された正確な時刻情報と当該端末装置200の有する時刻情報との時刻差分を求め、該時刻差分を用いて、当該端末装置200に格納された該当データの更新時刻を記録することにより、端末装置200は、正確な時刻を取得できない場合でも移動通信端末100との間でデータ同期を実行することができる。
By obtaining the time difference between the acquired accurate time information and the time information of the
さらに、端末装置は、前記更新時刻記録部により記録された更新時刻に、前記該当データの更新時刻を補正する更新時刻補正部を有する。 Furthermore, the terminal device includes an update time correction unit that corrects the update time of the corresponding data to the update time recorded by the update time recording unit.
前記更新時刻記録部により記録された更新時刻に前記該当データの更新時刻を補正することにより、端末装置200は、更新時刻が補正されたデータを用いて、移動通信端末100との間でデータ同期を実行することができる。
By correcting the update time of the corresponding data to the update time recorded by the update time recording unit, the
さらに、端末装置は、前記更新時刻記録部により記録された更新時刻を、前記該当データに付与する更新時刻付与部を有する。 Furthermore, the terminal device includes an update time giving unit that gives the update time recorded by the update time recording unit to the corresponding data.
前記更新時刻記録部により記録された更新時刻を、前記該当データに付与することにより、端末装置200は、更新時刻が付与されたデータを用いて、移動通信端末100との間でデータ同期を実行することができる。
By giving the update time recorded by the update time recording unit to the corresponding data, the
さらに、端末装置は、前記第1の端末装置に送信すべきデータを設定する送信データ設定部と、前記送信データ設定部により設定されたデータを前記第1の端末装置に送信する送信部とを有する。前記更新時刻補正部は、前記送信データ設定部により設定されたデータのうち、前記第1の端末装置から時刻情報を前回取得した時刻以降に更新されたデータの更新時刻を補正する。 Furthermore, the terminal device includes a transmission data setting unit that sets data to be transmitted to the first terminal device, and a transmission unit that transmits data set by the transmission data setting unit to the first terminal device. Have. The update time correction unit corrects the update time of data updated after the time when the time information was previously acquired from the first terminal device among the data set by the transmission data setting unit.
第1の端末装置に送信すべきデータに含まれる更新時刻を補正することにより、第1の端末装置に送信するデータに含まれる更新時刻のみが補正されるため、第1の端末装置に格納されるデータの更新時刻との間の同期基準を同じにできる。 By correcting the update time included in the data to be transmitted to the first terminal device, only the update time included in the data transmitted to the first terminal device is corrected, and therefore stored in the first terminal device. The synchronization reference between the data update times can be made the same.
さらに、端末装置は、前記第1の端末装置からデータを受信するデータ受信部を有する。前記更新時刻補正部は、前記データ受信部により受信されたデータとの間で同期すべきデータのうち、前記第1の端末装置から時刻情報を前回取得した時刻以降に更新されたデータの更新時刻を補正する。 Furthermore, the terminal device includes a data receiving unit that receives data from the first terminal device. The update time correction unit is an update time of data updated since the time when the time information was previously acquired from the first terminal device among the data to be synchronized with the data received by the data reception unit Correct.
第1の端末装置から受信したデータと同期すべきデータに含まれる更新時刻を補正することにより、第1の端末装置から受信したデータと同期すべきデータに含まれる更新時刻のみが補正されるため、第1の端末装置から受信したデータと当該端末装置に格納されたデータの更新時刻との間の同期基準を同じにできる。 By correcting the update time included in the data to be synchronized with the data received from the first terminal device, only the update time included in the data to be synchronized with the data received from the first terminal device is corrected. The synchronization reference between the data received from the first terminal device and the update time of the data stored in the terminal device can be made the same.
本実施例及び本変形例によれば、第2の端末装置としての端末装置200との間で、データ同期を行う端末装置としての移動通信端末100が提供される。前記第2の端末装置は、当該端末装置から時刻情報を取得し、該時刻情報と、前記第2の端末装置の有する時刻情報との時刻差分を求め、該時刻差分を用いて、前記第2の端末装置に格納されたデータのうち、当該端末装置から時刻情報を前回取得した時刻以降に更新されたデータの更新時刻を記録し、該記録された更新時刻と、当該端末装置に格納されたデータの更新時刻とを比較し、前記第2の端末装置内の該当データを最新の更新時刻のデータに更新する。当該端末装置は、時刻情報を取得する時刻情報取得部と、前記第2の端末装置からの正確な時刻情報の要求に応じて、前記時刻情報取得部により取得された時刻情報を通知する時刻情報通知部と、前記第2の端末装置に格納されたデータの更新時刻と、当該端末装置に格納されたデータの更新時刻とを比較し、当該端末装置内の該当データを最新の更新時刻のデータに更新するデータ同期処理部とを有する。
According to this embodiment and this modification, a
前記第2の端末装置からの時刻情報の要求に応じて、前記時刻情報取得部により取得された時刻情報を通知し、前記第2の端末装置に格納されたデータの更新時刻と、当該端末装置に格納された該当データの更新時刻とを比較し、当該端末装置内の該当データを最新の更新時刻のデータに更新することにより、当該端末装置と第2の端末装置との間で、同じ同期基準でデータ同期を行うことができる。 In response to a request for time information from the second terminal device, the time information acquired by the time information acquisition unit is notified, the update time of data stored in the second terminal device, and the terminal device Is compared with the update time of the corresponding data stored in the terminal, and the corresponding data in the terminal device is updated to the data of the latest update time, so that the same synchronization is established between the terminal device and the second terminal device. Data synchronization can be performed on the basis.
更に、第2の端末装置は、正確な時刻情報を取得できるかを判断し、該正確な時刻情報を取得できないと判定した場合に、当該端末装置から正確な時刻情報を取得する。前記時刻情報取得部は正確な時刻情報を取得し、前記時刻情報通知部は正確な時刻情報を通知する。 Furthermore, the second terminal device determines whether or not accurate time information can be acquired. When it is determined that the accurate time information cannot be acquired, the second terminal device acquires accurate time information from the terminal device. The time information acquisition unit acquires accurate time information, and the time information notification unit notifies accurate time information.
前記第2の端末装置からの正確時刻情報の要求に応じて、前記時刻情報取得部により取得された正確な時刻情報を通知し、前記第2の端末装置に格納されたデータの更新時刻と、当該端末装置に格納された該当データの更新時刻とを比較し、当該端末装置内の該当データを最新の更新時刻のデータに更新することにより、当該端末装置と第2の端末装置との間で、同じ同期基準でデータ同期を行うことができる。 In response to a request for accurate time information from the second terminal device, the accurate time information acquired by the time information acquisition unit is notified, and an update time of data stored in the second terminal device; By comparing the update time of the corresponding data stored in the terminal device and updating the corresponding data in the terminal device to the data of the latest update time, between the terminal device and the second terminal device Data synchronization can be performed with the same synchronization standard.
説明の便宜上、発明の理解を促すため具体的な数値例を用いて説明されるが、特に断りのない限り、それらの数値は単なる一例に過ぎず適切な如何なる値が使用されてよい。 For convenience of explanation, specific numerical examples will be described to facilitate understanding of the invention. However, unless otherwise specified, these numerical values are merely examples, and any appropriate value may be used.
以上、本発明は特定の実施例を参照しながら説明されてきたが、各実施例は単なる例示に過ぎず、当業者は様々な変形例、修正例、代替例、置換例等を理解するであろう。説明の便宜上、本発明の実施例に係る装置は機能的なブロック図を用いて説明されたが、そのような装置はハードウエアで、ソフトウエアで又はそれらの組み合わせで実現されてもよい。本発明は上記実施例に限定されず、本発明の精神から逸脱することなく、様々な変形例、修正例、代替例、置換例等が包含される。 Although the present invention has been described above with reference to specific embodiments, each embodiment is merely an example, and those skilled in the art will understand various variations, modifications, alternatives, substitutions, and the like. I will. For convenience of explanation, an apparatus according to an embodiment of the present invention has been described using a functional block diagram, but such an apparatus may be realized by hardware, software, or a combination thereof. The present invention is not limited to the above-described embodiments, and various variations, modifications, alternatives, substitutions, and the like are included without departing from the spirit of the present invention.
50 ケーブル
100 移動通信端末
102 アンテナ
104 受信部
106 時刻情報取得部
108 同期制御部
1082 時刻情報通知部
1084 データ同期処理部
110 送受信部
112 記憶部
200 端末装置
202 同期制御部
2022 時刻情報取得判定部
2024 時刻情報取得部
2026 データ更新時刻補正部
2028 データ同期処理部
204 送受信部
206 記憶部
300 ネットワーク
DESCRIPTION OF
Claims (12)
前記第1の端末装置から時刻情報を取得する時刻情報取得部と、
該時刻情報取得部により取得された時刻情報と、当該端末装置の有する時刻情報との時刻差分を求め、該時刻差分を用いて、当該端末装置に格納されたデータのうち、前記第1の端末装置から時刻情報を前回取得した時刻以降に更新された該当データの更新時刻を記録する更新時刻記録部と、
該更新時刻記録部により記録された更新時刻と、前記第1の端末装置に格納されたデータの更新時刻とを比較し、当該端末装置内の該当データを最新の更新時刻のデータに更新するデータ同期処理部と、
該データ同期処理部により当該端末装置内の該当データが最新の更新時刻のデータに更新された後に、時刻情報を記録する時刻情報記録部と
を有する端末装置。 A terminal device that performs data synchronization with a first terminal device,
A time information acquisition unit for acquiring time information from the first terminal device;
A time difference between the time information acquired by the time information acquisition unit and the time information of the terminal device is obtained, and the first terminal of the data stored in the terminal device is obtained using the time difference. An update time recording unit that records the update time of the corresponding data updated since the time when the time information was last acquired from the device;
Data for comparing the update time recorded by the update time recording unit with the update time of the data stored in the first terminal device, and updating the corresponding data in the terminal device to the latest update time data A synchronization processing unit;
A time information recording unit that records time information after the corresponding data in the terminal device is updated to data of the latest update time by the data synchronization processing unit.
正確な時刻情報を取得できるかを判断する時刻情報取得判定部
を有し、
前記時刻情報取得部は、前記時刻情報取得判定部により正確な時刻情報を取得できないと判定された場合に、正確な時刻情報を取得できる第1の端末装置から正確な時刻情報を取得する端末装置。 The terminal device according to claim 1,
It has a time information acquisition determination unit that determines whether accurate time information can be acquired,
The time information acquisition unit acquires accurate time information from a first terminal device that can acquire accurate time information when the time information acquisition determination unit determines that accurate time information cannot be acquired. .
前記更新時刻記録部により記録された更新時刻に、前記該当データの更新時刻を補正する更新時刻補正部
を有する端末装置。 The terminal device according to claim 1,
The terminal device which has an update time correction | amendment part which correct | amends the update time of the said data to the update time recorded by the said update time recording part.
前記更新時刻記録部により記録された更新時刻を、前記該当データに付与する更新時刻付与部
を有する端末装置。 The terminal device according to claim 1,
The terminal device which has an update time provision part which assign | provides the update time recorded by the said update time recording part to the said applicable data.
前記第1の端末装置に送信すべきデータを設定する送信データ設定部と、
前記送信データ設定部により設定されたデータを前記第1の端末装置に送信する送信部と
を有し、
前記更新時刻補正部は、前記送信データ設定部により設定されたデータのうち、前記第1の端末装置から時刻情報を前回取得した時刻以降に更新されたデータの更新時刻を補正することを特徴とする端末装置。 The terminal device according to claim 3,
A transmission data setting unit for setting data to be transmitted to the first terminal device;
A transmission unit that transmits the data set by the transmission data setting unit to the first terminal device,
The update time correction unit corrects the update time of data updated after the time when the time information was previously acquired from the first terminal device among the data set by the transmission data setting unit. Terminal device to do.
前記第1の端末装置からデータを受信するデータ受信部
を有し、
前記更新時刻補正部は、前記データ受信部により受信されたデータとの間で同期すべきデータのうち、前記第1の端末装置から時刻情報を前回取得した時刻以降に更新されたデータの更新時刻を補正する端末装置。 The terminal device according to claim 3,
A data receiving unit for receiving data from the first terminal device;
The update time correction unit is an update time of data updated since the time when the time information was previously acquired from the first terminal device among the data to be synchronized with the data received by the data reception unit Terminal device for correcting
前記第2の端末装置は、当該端末装置から時刻情報を取得し、該時刻情報と、前記第2の端末装置の有する時刻情報との時刻差分を求め、該時刻差分を用いて、前記第2の端末装置に格納されたデータのうち、当該端末装置から時刻情報を前回取得した時刻以降に更新されたデータの更新時刻を記録し、該記録された更新時刻と、当該端末装置に格納されたデータの更新時刻とを比較し、前記第2の端末装置内の該当データを最新の更新時刻のデータに更新し、
当該端末装置は、
時刻情報を取得する時刻情報取得部と、
前記第2の端末装置からの時刻情報の要求に応じて、前記時刻情報取得部により取得された時刻情報を通知する時刻情報通知部と、
前記第2の端末装置に格納されたデータの更新時刻と、当該端末装置に格納されたデータの更新時刻とを比較し、当該端末装置内の該当データを最新の更新時刻のデータに更新するデータ同期処理部と
を有する端末装置。 A terminal device that performs data synchronization with a second terminal device,
The second terminal device acquires time information from the terminal device, obtains a time difference between the time information and time information of the second terminal device, and uses the time difference to Among the data stored in the terminal device, the update time of the data updated after the time when the time information was previously acquired from the terminal device is recorded, and the recorded update time and the stored time information are stored in the terminal device. Compare the data update time, update the corresponding data in the second terminal device to the latest update time data,
The terminal device
A time information acquisition unit for acquiring time information;
A time information notification unit that notifies the time information acquired by the time information acquisition unit in response to a request for time information from the second terminal device;
Data for comparing the update time of the data stored in the second terminal device with the update time of the data stored in the terminal device, and updating the corresponding data in the terminal device to the data of the latest update time A terminal device having a synchronization processing unit.
前記第2の端末装置は、正確な時刻情報を取得できるかを判断し、該正確な時刻情報を取得できないと判定した場合に、当該端末装置から正確な時刻情報を取得し、
前記時刻情報取得部は、正確な時刻情報を取得し、
前記時刻情報通知部は、正確な時刻情報を通知する端末装置。 The terminal device according to claim 7,
The second terminal device determines whether accurate time information can be acquired, and when determining that the accurate time information cannot be acquired, acquires accurate time information from the terminal device,
The time information acquisition unit acquires accurate time information,
The time information notification unit is a terminal device that notifies accurate time information.
前記第1の端末装置から時刻情報を取得する時刻情報取得ステップと、
該時刻情報取得ステップにより取得された時刻情報と、当該端末装置の有する時刻情報との時刻差分を求め、該時刻差分を用いて、当該端末装置に格納されたデータのうち、前記第1の端末装置から時刻情報を前回取得した時刻以降に更新された該当データの更新時刻を記録する更新時刻記録ステップと、
該更新時刻記録ステップにより記録された更新時刻と、前記第1の端末装置に格納されたデータの更新時刻とを比較し、当該端末装置内の該当データを最新の更新時刻のデータに更新するデータ同期処理ステップと、
該データ同期処理ステップにより当該端末装置内の該当データが最新の更新時刻のデータに更新された後に、時刻情報を記録する時刻情報記録ステップと
を有する方法。 A method in a terminal device that performs data synchronization with a first terminal device,
A time information acquisition step of acquiring time information from the first terminal device;
A time difference between the time information acquired by the time information acquisition step and the time information possessed by the terminal device is obtained, and the first terminal of the data stored in the terminal device is obtained using the time difference. An update time recording step for recording the update time of the corresponding data updated since the time when the time information was last acquired from the device;
Data for comparing the update time recorded in the update time recording step with the update time of the data stored in the first terminal device, and updating the corresponding data in the terminal device to the latest update time data Synchronous processing steps;
A time information recording step of recording time information after the corresponding data in the terminal device is updated to data of the latest update time by the data synchronization processing step.
正確な時刻情報を取得できるかを判定する時刻情報取得判定ステップ
を有し、
前記時刻情報取得ステップでは、前記時刻情報取得判定ステップにより正確な時刻情報を取得できないと判定された場合に、前記第1の端末装置から時刻情報を取得する方法。 The method of claim 9, wherein
A time information acquisition determination step for determining whether accurate time information can be acquired,
In the time information acquisition step, the time information is acquired from the first terminal device when it is determined in the time information acquisition determination step that accurate time information cannot be acquired.
前記第2の端末装置は、当該端末装置から時刻情報を取得し、該時刻情報と、前記第2の端末装置の有する時刻情報との時刻差分を求め、該時刻差分を用いて、前記第2の端末装置に格納されたデータのうち、当該端末装置から時刻情報を前回取得した時刻以降に更新されたデータの更新時刻を記録し、該記録された更新時刻と、当該端末装置に格納されたデータの更新時刻とを比較し、前記第2の端末装置内の該当データを最新の更新時刻のデータに更新し、
当該端末装置は、
時刻情報を取得する時刻情報取得ステップと、
前記第2の端末装置からの時刻情報の要求に応じて、時刻情報を通知する時刻情報通知ステップと、
前記第2の端末装置に格納されたデータの更新時刻と、当該端末装置に格納されたデータの更新時刻とを比較し、当該端末装置内の該当データを最新の更新時刻のデータに更新するデータ同期処理ステップと
を有する方法。 A method in a terminal device that performs data synchronization with a second terminal device,
The second terminal device acquires time information from the terminal device, obtains a time difference between the time information and time information of the second terminal device, and uses the time difference to Among the data stored in the terminal device, the update time of the data updated after the time when the time information was previously acquired from the terminal device is recorded, and the recorded update time and the stored time information are stored in the terminal device. Compare the data update time, update the corresponding data in the second terminal device to the latest update time data,
The terminal device
A time information acquisition step of acquiring time information;
A time information notifying step for notifying time information in response to a request for time information from the second terminal device;
Data for comparing the update time of the data stored in the second terminal device with the update time of the data stored in the terminal device, and updating the corresponding data in the terminal device to the data of the latest update time A method comprising: a synchronization processing step.
前記第2の端末装置は、正確な時刻情報を取得できるかを判定し、該正確な時刻情報を取得できないと判定した場合に、当該端末装置から正確な時刻情報を取得し、
前記時刻情報取得ステップでは、正確な時刻情報を取得し、
前記時刻情報通知ステップでは、正確な時刻情報を通知する方法。 The method of claim 1, wherein
The second terminal device determines whether accurate time information can be acquired, and when determining that the accurate time information cannot be acquired, acquires accurate time information from the terminal device,
In the time information acquisition step, accurate time information is acquired,
In the time information notifying step, accurate time information is notified.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009060238A JP2010211774A (en) | 2009-03-12 | 2009-03-12 | Terminal device and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009060238A JP2010211774A (en) | 2009-03-12 | 2009-03-12 | Terminal device and method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2010211774A true JP2010211774A (en) | 2010-09-24 |
Family
ID=42971813
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009060238A Pending JP2010211774A (en) | 2009-03-12 | 2009-03-12 | Terminal device and method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2010211774A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014064817A1 (en) * | 2012-10-25 | 2014-05-01 | 富士通株式会社 | Information processing terminal, synchronization control method, and synchronization control program |
JP2017037666A (en) * | 2011-05-12 | 2017-02-16 | アリババ・グループ・ホールディング・リミテッドAlibaba Group Holding Limited | Sending category information |
WO2020111243A1 (en) * | 2018-11-29 | 2020-06-04 | 本田技研工業株式会社 | Battery utilization system, storage device, battery utilization method, program, and storage medium |
-
2009
- 2009-03-12 JP JP2009060238A patent/JP2010211774A/en active Pending
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2017037666A (en) * | 2011-05-12 | 2017-02-16 | アリババ・グループ・ホールディング・リミテッドAlibaba Group Holding Limited | Sending category information |
WO2014064817A1 (en) * | 2012-10-25 | 2014-05-01 | 富士通株式会社 | Information processing terminal, synchronization control method, and synchronization control program |
CN104737135A (en) * | 2012-10-25 | 2015-06-24 | 富士通株式会社 | Information processing terminal, synchronization control method, and synchronization control program |
JPWO2014064817A1 (en) * | 2012-10-25 | 2016-09-05 | 富士通株式会社 | Information processing terminal, synchronization control method, and synchronization control program |
WO2020111243A1 (en) * | 2018-11-29 | 2020-06-04 | 本田技研工業株式会社 | Battery utilization system, storage device, battery utilization method, program, and storage medium |
JPWO2020111243A1 (en) * | 2018-11-29 | 2021-09-27 | 本田技研工業株式会社 | Battery utilization systems, storage devices, battery utilization methods, programs, and storage media |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107209261B (en) | Method and system for ranging protocol | |
US8891823B2 (en) | Apparatus, control method, and storage medium for acquiring and storing position information in association with image data | |
JP5263786B2 (en) | Wireless communication system, wireless base station, and control method | |
JP5952670B2 (en) | Electronic device and control method thereof | |
KR20150026069A (en) | Method for playing contents and an electronic device thereof | |
CN113574940B (en) | Time synchronization method and related equipment | |
WO2022082400A1 (en) | Specified reference signal availability status determination method, apparatus, and communication device | |
US8855651B2 (en) | Base station, gateway, mobile communication system, and handover target specifying method and program used therefor | |
JP2010211774A (en) | Terminal device and method | |
JP6004807B2 (en) | Image processing apparatus, control method thereof, and program | |
US20070143478A1 (en) | Method and apparatus for managing floor control in a network | |
US20160112587A1 (en) | Communication apparatus, method for controlling communication apparatus, and program | |
CN107431960B (en) | Method and apparatus for radio network synchronization | |
WO2022033390A1 (en) | Position acquisition method and apparatus thereof | |
US20210176154A1 (en) | Communication method and communication device | |
KR20050093210A (en) | System for controlling personal schedule management service and method thereof | |
JP2019158781A (en) | Radio communication device, program and time information acquisition method | |
JP5209863B2 (en) | Mobile communication terminal | |
JP6473113B2 (en) | Download environment optimization program, wireless communication terminal, system, download environment optimization method | |
JP2016036060A (en) | Time synchronization method and time synchronization system | |
WO2017190328A1 (en) | Terminal, short message service centre and information synchronization method | |
KR20130061529A (en) | Apparatus and method for synchronizing data between wireless terminals | |
KR102538217B1 (en) | Method for performing synchronization according to Precision Time Protocol (PTP) in ring topology network, and apparatus therefor | |
JP2021007236A (en) | Method for communication and communication device | |
JP4073295B2 (en) | Communication timing control method and communication module for synchronous communication system |