JP4946892B2 - Communications system - Google Patents
Communications system Download PDFInfo
- Publication number
- JP4946892B2 JP4946892B2 JP2008016467A JP2008016467A JP4946892B2 JP 4946892 B2 JP4946892 B2 JP 4946892B2 JP 2008016467 A JP2008016467 A JP 2008016467A JP 2008016467 A JP2008016467 A JP 2008016467A JP 4946892 B2 JP4946892 B2 JP 4946892B2
- Authority
- JP
- Japan
- Prior art keywords
- time
- download
- completion
- file
- request time
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
Description
この発明は、ネットワーク、通信装置、サーバ装置のいずれの障害に対しても、サーバ装置から自動的にデータをダウンロードし、ダウンロード後にデータファイルの変換を行う通信システムに関するものである。 The present invention relates to a communication system that automatically downloads data from a server device and converts a data file after the download in response to any failure of a network, a communication device, and a server device.
例えば、従来のダウンロード機能を有する通信装置は、データファイルをダウンロードする装置である通信装置が、ダウンロード時間の表示機能を有し、所定の時間を越えてダウンロードが行われていると、該ダウンロードを中断することが開示されている(例えば、特許文献1参照)。
この通信装置は、開始完了要請時刻テーブルを持ち、通信部が開始要請時刻設定テーブルを参照し、設定された開始時刻に通信部を起動し、設定されたサイトにアクセスしダウンロードを開始する。通信装置は、表示部を持ち、ダウンロードにかかっている時間を表示し、通信装置は停止部を持ち、停止部にオペレータが指示を出すことにより、通信部を停止し、ダウンロードを停止している。
This communication apparatus has a start completion request time table. The communication unit refers to the start request time setting table, starts the communication unit at the set start time, accesses the set site, and starts downloading. The communication device has a display unit and displays the time required for the download. The communication device has a stop unit. When the operator gives an instruction to the stop unit, the communication unit is stopped and the download is stopped. .
従来のダウンロード機能を有する通信装置では、ダウンロード速度が低下した場合に、実行中のダウンロードを停止した上で、他のダウンロードを実行し、その後、停止したダウンロードを途中から実行させるものであった。
そのため、従来の通信装置では、ダウンロード速度の低下の理由が、サーバ装置の一時的な処理能力上の問題である場合には、再度接続を行うことによりダウンロードを成功させるなどしていた。
しかし、ダウンロード速度の低下の理由が、ネットワーク上の障害である場合には、ネットワーク上の障害が解決するまで待つか、または、通信装置の過負荷による処理能力低下が問題である場合には、通信装置の処理能力が回復するまで待つなどしなければ、ダウンロードは成功しなかった。
本発明は、上記のような課題を解決するためになされたものであり、ネットワーク上の障害、通信装置の障害、サーバ装置のいずれの障害に対しても、サーバ装置から自動的にデータをダウンロードし、ダウンロード後にデータファイルの変換を行うことができる通信システムを提供することを目的とする。
In a communication device having a conventional download function, when the download speed is reduced, the download being executed is stopped, another download is executed, and then the stopped download is executed halfway.
Therefore, in the conventional communication apparatus, when the reason for the decrease in the download speed is a problem in the temporary processing capability of the server apparatus, the download is successfully performed by reconnecting.
However, if the reason for the decrease in the download speed is a failure on the network, wait until the failure on the network is solved, or if the processing capacity decline due to overload of the communication device is a problem, The download was not successful unless the communication device's processing power was restored.
The present invention has been made to solve the above-described problems, and automatically downloads data from a server device in the event of a network failure, a communication device failure, or a server device failure. It is another object of the present invention to provide a communication system that can convert a data file after downloading.
この発明に係る通信システムは、サーバ装置のデータをダウンロードするダウンロード時間を含む履歴テーブルと、
ファイル変換完了要請時刻とこのファイル変換完了要請時刻が有効であるか否かを示す第1のフラグとを含む開始完了要請時刻テーブルと、
前記履歴テーブルのダウンロード時間と現時刻とを基にダウンロード完了予測時刻を予測する予測手段と、
前記予測手段に前記現時刻を送信し、又前記予測手段により予測された前記ダウンロード完了予測時刻が前記開始完了要請時刻テーブルに含まれた前記ファイル変換完了要請時刻を越える場合に越える旨を送信する第1の通信手段と、
前記第1の通信手段により送信された前記ダウンロード完了予測時刻が前記ファイル変換完了要請時刻を越える旨を受信すると、前記開始完了要請時刻テーブルの前記第1のフラグを無効に書換える通知手段と、を有する第1の通信装置と、
ダウンロード開始要請時刻とこのダウンロード開始要請時刻が有効であるか否かを示す第2のフラグとを含み、前記第1の通信手段により送信された前記ダウンロード完了予測時刻が前記ファイル変換完了要請時刻を越える旨を受信した時に前記通知手段により前記第2のフラグを有効に書換えられる開始要請時刻テーブルと、
ダウンロード開始時刻が前記開始要請時刻テーブルの前記ダウンロード開始要請時刻と一致し、かつ前記第2のフラグが有効である時にサーバ装置のデータをダウンロードし、ダウンロード完了後にダウンロードしたデータの第1のファイル名を送信する第2の通信手段と、
前記第2の通信手段により送信された前記第1のファイル名のデータファイルのフォーマットと文字コードとを変換する第1の変換手段と、を有する第2の通信装置と、を備えたものである。
A communication system according to the present invention includes a history table including a download time for downloading data of a server device,
A start completion request time table including a file conversion completion request time and a first flag indicating whether the file conversion completion request time is valid;
Prediction means for predicting the download completion prediction time based on the download time and the current time of the history table;
The present time is transmitted to the prediction means, and a notification that the download completion prediction time predicted by the prediction means is exceeded when the file conversion completion request time included in the start completion request time table is exceeded is transmitted. A first communication means;
A notification means for invalidating and rewriting the first flag in the start completion request time table when receiving that the predicted download completion time transmitted by the first communication means exceeds the file conversion completion request time; A first communication device comprising:
A download start request time and a second flag indicating whether or not the download start request time is valid, and the download completion prediction time transmitted by the first communication means includes the file conversion completion request time. A start request time table in which the second flag is effectively rewritten by the notification means when it is received,
The server device data is downloaded when the download start time matches the download start request time in the start request time table and the second flag is valid, and the first file name of the downloaded data after the download is completed A second communication means for transmitting
A second communication device having first conversion means for converting the format and character code of the data file of the first file name transmitted by the second communication means. .
この発明は、ダウンロード完了予測時刻がファイル変換完了要請時刻を越える場合に、越える旨を送信し、また、ファイル変換完了要請時刻とこのファイル変換完了要請時刻が有効であるか否かを示す第1のフラグとを含む開始完了要請時刻テーブルの第1のフラグを無効に書換える第1の通信装置と、ダウンロード開始要請時刻とこのダウンロード開始要請時刻が有効であるか否かを示す第2のフラグとを含み、第1の通信手段により送信されたダウンロード完了予測時刻がファイル変換完了要請時刻を越える旨を受信した時に第2のフラグが有効に書換えられる開始要請時刻テーブルと、ダウンロード開始時刻が開始要請時刻テーブルのダウンロード開始要請時刻と一致し、かつ第2のフラグが有効である時にサーバ装置のデータをダウンロードし、ダウンロード完了後にダウンロードしたデータの第1のファイル名を送信する第2の通信手段と、第2の通信手段により送信された第1のファイル名のデータファイルのフォーマットと文字コードとを変換する第1の変換手段とを有する第2の通信装置とを備えることにより、ネットワークの障害、通信装置の障害、サーバ装置の障害のいずれの障害に対しても、サーバ装置から自動的にデータ(ファイル)のダウンロードを成功させ、その後、ファイル変換処理を実行することができる。 In the present invention, if the predicted download completion time exceeds the file conversion completion request time, a message indicating that the download conversion completion time is exceeded is transmitted, and the file conversion completion request time and the first file conversion completion request time indicating whether the file conversion completion request time is valid are transmitted. A first communication device that invalidates and rewrites the first flag of the start completion request time table including the flag of the download completion, and a second flag indicating whether or not the download start request time and the download start request time are valid And a start request time table in which the second flag is effectively rewritten when the predicted download completion time transmitted by the first communication means exceeds the file conversion completion request time, and the download start time starts. When the request time table matches the download start request time and the second flag is valid, the server device data is downloaded. The second communication means for transmitting the first file name of the downloaded data after loading and downloading, and the format and character code of the data file of the first file name transmitted by the second communication means are converted. And the second communication device having the first conversion means to automatically transmit data (from the server device to the network device, the communication device failure, and the server device failure). File) is successfully downloaded, and then file conversion processing can be executed.
実施の形態1.
図1は、本実施の形態の通信システムの構成図である。図において、1はサーバ装置、10、20、30はネットワーク、100はサーバ装置1からのデータをダウンロードするダウンロード装置としての通信装置、101は通信手段としての通信部、102は変換手段としての変換部、103は予測手段としての予測部、104は通知手段としての通知部、105は表示手段としての表示部、111は履歴テーブル、112は開始完了要請時刻テーブルである。また、200は通信装置100と同様にサーバ装置1からのデータをダウンロードするダウンロード装置としての通信装置であり、201は通信手段としての通信部、202は変換手段としての変換部、213は開始要請時刻テーブルである。
FIG. 1 is a configuration diagram of a communication system according to the present embodiment. In the figure, 1 is a server device, 10, 20 and 30 are networks, 100 is a communication device as a download device for downloading data from the
図2は、履歴テーブル111の一例を示した図であり、履歴テーブル111は、過去に、ダウンロードを行ったデータの、ファイルサイズとダウンロード時間とファイル変換に要する変換時間が記録されている。
ここで、ファイル変換とは、サーバからダウンロードされたデータのファイルについて変換を施し、新たにファイルを作成することをファイル変換と定義する。例えば、EDI(Electronic Data Interchange)では、入力されたデータファイルのフォーマットと、出力するデータフォーマット間の変換および、文字コードの変換を行うことを示す。
FIG. 2 is a diagram showing an example of the history table 111. The history table 111 records the file size, download time, and conversion time required for file conversion of data downloaded in the past.
Here, file conversion is defined as file conversion to perform conversion on a data file downloaded from a server and create a new file. For example, EDI (Electronic Data Interchange) indicates that conversion between an input data file format and an output data format and character code conversion are performed.
図3は、開始完了要請時刻テーブル112の一例を示した図であり、ダウンロード開始要請時刻とファイル変換完了要請時刻と、通信装置100において、ダウンロード開始要請時刻およびファイル変換完了要請時刻が有効であること、または無効であることを示すフラグを持つ。このフラグは、ダウンロード開始要請時刻およびファイル変換完了要請時刻が有効である時にはON、無効である時にはOFFを示すように表示される。
FIG. 3 is a diagram illustrating an example of the start completion request time table 112. The download start request time, the file conversion completion request time, and the download start request time and the file conversion completion request time are valid in the
図4は、開始要請時刻テーブル213の一例を示した図であり、ダウンロード開始要請時刻と、通信装置200において、ダウンロード開始要請時刻が有効であることあるいは無効であることを示すフラグを持つ。このフラグは、ダウンロード開始要請時刻が有効である時にはON、無効である時にはOFFを示すように表示される。
FIG. 4 is a diagram illustrating an example of the start request time table 213, which has a download start request time and a flag indicating that the download start request time is valid or invalid in the
次に、動作について説明する。
図5は、通信部101の動作手順を示すフローチャートである。
通信装置100に備えられた通信部101は、開始完了要請時刻テーブル112を検索し、現時刻がダウンロード開始要請時刻列の値と一致し、フラグ列の値がONであるレコードについて、ファイル変換完了要請時刻とデータNoを取得し、この取得したファイル変換完了要請時刻とデータNoを通信装置100中のメモリ部(図示せず)に記憶する(ステップS1)。
通信部101は、ダウンロード開始前に、予測部103に現時刻を送り、この現時刻を基に予測されたダウンロード完了予測時刻を予測部103から受け取り(ステップS2)、このダウンロード完了予測時刻が、ステップS1で記憶されたファイル変換完了要請時刻を越えるか否かを判定する(ステップS3)。
Next, the operation will be described.
FIG. 5 is a flowchart showing an operation procedure of the
The
The
通信部101は、ダウンロード完了予測時刻が、ステップS1で記憶されたファイル変換完了要請時刻を越える場合に、通知部104に、その旨を通知する(ステップS4)。
また、ダウンロード完了予測時刻が、ステップS1で記憶されたファイル変換完了要請時刻を越えない場合には、ダウンロードを開始する(ステップS5)。
When the predicted download completion time exceeds the file conversion completion request time stored in step S1, the
If the predicted download completion time does not exceed the file conversion completion request time stored in step S1, the download is started (step S5).
通信部101は、ダウンロード完了後、履歴テーブル111に新しいレコードを追加し、履歴テーブル111上のデータNo列を検索し、最大のデータNoに1を加えた値を、新しく加えたレコードのデータNo列の値にセットする(ステップS6)。
その後、通信部101は、ダウンロードを行ったファイルのサイズとダウンロードに要した時間を履歴テーブルの新たに加えたレコードのファイルサイズ列とダウンロード時間列の値として記録する(ステップS7)。
After the download is completed, the
Thereafter, the
次に、通信部101は、現時刻とファイルサイズを予測部103に送り、これら現時刻とファイルサイズを基に生成されたファイル変換完了予測時刻を予測部103から受け取り(ステップS8)、このファイル変換完了予測時刻がファイル変換完了要請時刻を越えるか否かを判定する(ステップS9)。
通信部101は、ファイル変換完了予測時刻がステップS1で記憶されたファイル変換完了要請時刻を越える場合には、通知部104に、その旨とステップS1で記憶されたデータNoを通知する(ステップS10)。
Next, the
When the predicted file conversion completion time exceeds the file conversion completion request time stored in step S1, the
通信部101は、ファイル変換完了予測時刻が、ステップS1で記憶されたファイル変換完了要請時刻を越えない場合には、ダウンロードするデータのファイル名を変換部102に渡す(ステップS11)。
続いて、通信部101は、変換完了後に、履歴テーブル111に新しく加えたレコードの変換時間列の値に、変換部102で、ダウンロードするデータのファイル名のデータを文字コードに変換するために要した変換時間をセットする(ステップS12)。
なお、ステップS4、ステップS10、ステップS12が完了した後、ステップS1に戻り、再度処理が進められる。
When the predicted file conversion completion time does not exceed the file conversion completion request time stored in step S1, the
Subsequently, after the conversion is completed, the
In addition, after step S4, step S10, and step S12 are completed, it returns to step S1 and a process is advanced again.
図6は、変換部102の動作手順を示すフローチャートである。
変換部102は、通信部101により起動され、図5のステップS11で通信部101により送信されたファイル名を受け取り、このファイル名のファイルについてファイル変換を行なう。例えば、ダウンロードされたデータ(ファイル)の文字コード変換を行い(ステップS21)、変換完了後、変換に要した時間を通信部101に送る(ステップS22)。
FIG. 6 is a flowchart showing an operation procedure of the conversion unit 102.
The conversion unit 102 is activated by the
図7は、予測部103の動作手順を示すフローチャートである。
予測部103は、通信部101により起動され、通信部101により現時刻のみ、あるいは、現時刻とファイルサイズを受け取ったか否かを判定する(ステップS31)。
現時刻のみを受け取った場合に、履歴テーブル111を参照し、全てのレコードにおける最大のダウンロード時間を検索し、得た値を受け取った現時刻に加え、ダウンロード完了予測時刻として返す(ステップS32)。
または、予測部103は、現時刻とファイルサイズを受け取った場合には、履歴テーブル111を参照し、全てのレコードにおいて、受け取ったファイルサイズと最も近いレコードの変換時間を検索し、得た変換時間の値を受け取った現時刻に加えた時間からファイル変換完了予測時刻を予測し、このファイル変換完了予測時刻を通信部101に返す(ステップS33)。
FIG. 7 is a flowchart showing an operation procedure of the prediction unit 103.
The prediction unit 103 is activated by the
When only the current time is received, the maximum download time in all records is searched by referring to the history table 111, and the obtained value is added to the received current time and returned as the predicted download completion time (step S32).
Alternatively, when the prediction unit 103 receives the current time and the file size, the prediction unit 103 refers to the history table 111 and searches for the conversion time of the record closest to the received file size in all the records. The file conversion completion predicted time is predicted from the time added to the current time at which the value is received, and the file conversion completion predicted time is returned to the communication unit 101 (step S33).
図8は、通知部104の動作手順を示すフローチャートである。
通知部104は、通信部101により起動され、ダウンロード完了予測時刻がファイル変換完了要請時刻を越える旨を通信部101から受け取ったか否かを判定する(ステップS41)。
ダウンロード完了予測時刻が、ファイル変換完了要請時刻を越える旨を受け取った場合は、通知部104はネットワーク30を通じて、通信装置200の開始要請時刻テーブル213上のフラグを全てONに書き換える(ステップS42)。また、通知部104は、通信装置100の開始完了要請時刻テーブル112上のフラグを全てOFFに書き換える(ステップS43)。
FIG. 8 is a flowchart showing an operation procedure of the notification unit 104.
The notification unit 104 is activated by the
When the notification that the download completion prediction time exceeds the file conversion completion request time is received, the notification unit 104 rewrites all the flags on the start request time table 213 of the
一方、通知部104は、ステップS41でファイル変換完了予測時刻がファイル変換完了要請時刻を越える旨とデータNoを通信部101から受け取った場合は、通知部104はネットワーク30を通じて、通信装置200の開始要請時刻テーブル213上のデータNo列を検索し、一致するレコードのフラグ以外をONに書き換える(ステップS44)。また、通知部104は、開始要請時刻テーブル112上のデータNo列を検索し、一致するレコードのフラグ以外をOFFに書き換える(ステップS45)。
On the other hand, when the notification unit 104 receives from the
通知部104は、ステップS43、あるいはステップS45の処理終了後、ステップS41で受け取ったダウンロード完了予測時刻がファイル変換完了要請時刻を越える旨を示すメッセージを表示部105に送る(ステップS46)。
表示部105は、通知部104から渡されたメッセージを表示する。
The notification unit 104 sends a message indicating that the download completion prediction time received in step S41 exceeds the file conversion completion request time to the display unit 105 after the process of step S43 or step S45 is completed (step S46).
The display unit 105 displays the message passed from the notification unit 104.
図9は、通信部201の動作手順を示すフローチャートである。
通信装置200に備えられた通信部201は、開始要請時刻テーブル213のダウンロード開始要請時刻列とフラグ列を監視し、現時刻と一致するレコードが存在し、かつ、フラグがONであるレコードが存在するか否かを判定する(ステップS51)。
通信部201は、該当するレコードが存在する場合、ダウンロードを開始し(ステップS52)、ダウンロード完了後に、ファイル名を変換部202に渡す(ステップS53)。
なお、通信部201は、ステップS53の終了後、あるいは、ステップS51において、該当するレコードが存在しない場合は、再度最初から処理が始められる。
図9のステップS53で通信部201によりファイル名が渡されると、変換部202は、渡されたファイル名を持つファイルの文字コードを変換する。
FIG. 9 is a flowchart showing an operation procedure of the
The
If there is a corresponding record, the
Note that the
When the file name is passed by the
次に、図2に示す履歴テーブル111、図3に示す開始完了要請時刻テーブル112、図4に示す開始要請時刻テーブル213にそれぞれ記載されている内容と図5、図7、図8、図9のフローチャートを参照して、本通信システムの動作例について説明する。
まず、現時刻が9:00であった場合、通信部101は、図3の開始完了要請時刻テーブル112を検索し、ダウンロード開始時刻列の値が9:00であり、フラグ列の値がONであるレコードについて、ファイル変換完了要請時刻である9:05とデータNoである1を記憶する(図5のステップS1参照)。
Next, the contents described in the history table 111 shown in FIG. 2, the start completion request time table 112 shown in FIG. 3, and the start request time table 213 shown in FIG. 4, and FIG. 5, FIG. 7, FIG. An operation example of the communication system will be described with reference to the flowchart of FIG.
First, when the current time is 9:00, the
通信部101は、ダウンロード開始前に、予測部103に現時刻9:00を送る。予測部103は、通信部101から現時刻のみ、あるいは、現時刻とファイルサイズを受け取ったか否かを判定する(図7のステップS31参照)。
予測部103は、現時刻9:00のみを受け取ったため、図2の履歴テーブル111を参照し、全てのレコードにおける最大のダウンロード時間を検索し、得た値360[秒]を受け取った時刻9:00に加え、ダウンロード完了予測時刻9:06として通信部101に返す(図7のステップS32参照)。
The
Since the prediction unit 103 has received only the current time 9:00, the prediction unit 103 refers to the history table 111 in FIG. 2 and searches for the maximum download time in all records, and receives the obtained value 360 [seconds] 9: In addition to 00, it is returned to the
通信部101は、ダウンロード完了予測時刻9:06を受け取り(図5のステップS2参照)、ダウンロード完了予測時刻9:06が、記憶されているファイル変換完了要請時刻9:05を越えるか否かを判定する(図5のステップS3参照)。
続いて、通信部101は、ダウンロード完了予測時刻9:06が、記憶されているファイル変換完了要請時刻9:05を越えるため、通知部104に、その旨を通知する(図5のステップS4参照)。
The
Subsequently, since the estimated download completion time 9:06 exceeds the stored file conversion completion request time 9:05, the
通知部104は、通信部101により起動され、ダウンロード完了予測時刻がファイル変換完了要請時刻を越える旨を通信部101から受け取ったか否かを判定する(図8のステップS41参照)。
通知部104は、ダウンロード完了予測時刻がファイル変換完了要請時刻を越える旨を受け取ったため、ネットワーク30を通じて、通信装置200の開始要請時刻テーブル213上のフラグを全てONに書き換え(図8のステップS42参照)、また、通信装置100の開始完了要請時刻テーブル112上のフラグを全てOFFに書き換える(図8のステップS43参照)。
The notification unit 104 is activated by the
Since the notification unit 104 has received that the download completion prediction time exceeds the file conversion completion request time, all the flags on the start request time table 213 of the
また、通知部104は、ダウンロード完了予測時刻がファイル変換完了要請時刻を越える旨を受け取ったため、ダウンロード完了予測時刻がファイル変換完了要請時刻を越える旨を示すメッセージを表示部105に送る(図8のステップS46参照)。
表示部105は、通知部104から渡されたメッセージを表示し、その後、通信部101は図5のステップS1に戻り、新たに処理が進められる。
Further, since the notification unit 104 has received that the predicted download completion time exceeds the file conversion completion request time, the notification unit 104 sends a message indicating that the predicted download completion time exceeds the file conversion completion request time to the display unit 105 (FIG. 8). (See step S46).
The display unit 105 displays the message passed from the notification unit 104, and then the
次に、通信装置200の通信部201は、通信装置200の開始要請時刻テーブル213のダウンロード開始要請時刻列とフラグ列を監視し、現時刻と一致するレコードが存在し、かつ、フラグがONであるレコードが存在するか否かを判定する(図9のステップS51参照)。
ここで、図4の開始要請時刻テーブル213は、上記のように、図8のステップS42を参照して説明した通り、通知部104により通信装置200の開始要請時刻テーブル213上のフラグが全てONに書き換えられたので、通信部201は、開始要請時刻テーブル213が書き換えられた後に、9:05になったときに、データNoが2であるレコードが該当するため、ダウンロードを開始し(図9のステップS52参照)、ダウンロード完了後に、ファイル名を変換部202に渡す(図9のステップS53参照)。
Next, the
Here, in the start request time table 213 of FIG. 4, as described above with reference to step S42 of FIG. 8, all the flags on the start request time table 213 of the
変換部202は、渡されたファイル名を持つファイルの文字コードを変換する。
通信部201は、図9のステップS52に戻り、さらに、その後、日時が経過し、再度9:00になったときに、データNoが1であるレコードが該当するため、ダウンロードを開始する(図9のステップS52参照)。
The conversion unit 202 converts the character code of the file having the passed file name.
The
次に、図2に示す履歴テーブル111、図10に示す開始完了要請時刻テーブル113、図11に示す開始要請時刻テーブル214にそれぞれ記載されている内容と図5、図7、図8、図9のフローチャートを参照して、本通信システムの別の動作例について説明する。
まず、現時刻が9:00であった場合、通信部101は、開始完了要請時刻テーブル113を検索し、ダウンロード開始時刻列の値が9:00であり、フラグ列の値がONであるレコードについて、ファイル変換完了要請時刻である9:07とデータNoである1を記憶する(図5のステップS1参照)。
Next, the contents described in the history table 111 shown in FIG. 2, the start completion request time table 113 shown in FIG. 10, and the start request time table 214 shown in FIG. 11 and FIG. 5, FIG. 7, FIG. Another operation example of the communication system will be described with reference to the flowchart of FIG.
First, when the current time is 9:00, the
通信部101は、ダウンロード開始前に、予測部103に現時刻9:00を送る。予測部103は、通信部101から現時刻のみ、あるいは、現時刻とファイルサイズを受け取ったか否かを判定する(図7のステップS31参照)。
予測部103は、現時刻9:00のみを受け取ったため、図2の履歴テーブル111を参照し、全てのレコードにおける最大のダウンロード時間を検索し、得た値360[秒]を受け取った時刻9:00に加え、ダウンロード完了予測時刻9:06として通信部101に返す(図7のステップS32参照)。
The
Since the prediction unit 103 has received only the current time 9:00, the prediction unit 103 refers to the history table 111 in FIG. 2 and searches for the maximum download time in all records, and receives the obtained value 360 [seconds] 9: In addition to 00, it is returned to the
通信部101は、ダウンロード完了予測時刻9:06を受け取り(図5のステップS2参照)、ダウンロード完了予測時刻9:06が、記憶されているファイル変換完了要請時刻9:07を越えるか否かを判定する(図5のステップS3参照)。
続いて、通信部101は、ダウンロード完了予測時刻9:06が、開始完了要請時刻テーブル113に記憶されているファイル変換完了要請時刻9:07を越えないため、ダウンロードを開始する(図5のステップS5参照)。
通信部101は、ダウンロード完了後、履歴テーブル111に新しいレコードを追加する。履歴テーブル上のデータNo列を検索し、最大のデータNo4に1を加えた値5を、新しく加えたレコードのデータNo列の値にセットする(図5のステップS6参照)。
The
Subsequently, the
The
ダウンロード対象のファイルサイズが90[MByte]であり、ダウンロード時間が360[秒]であったものとする。
通信部101は、ダウンロードを行ったファイルのサイズ90[Mbyte]とダウンロードに要した時間360[秒]を履歴テーブルの新たに加えたレコードのファイルサイズ列とダウンロード時間列の値として記録する(図5のステップS7参照)。
ダウンロードに360[秒]を要したため、現時刻は、9:06になる。
通信部101は、現時刻9:06とファイルサイズ90[MByte]を予測部103に送る。
It is assumed that the file size to be downloaded is 90 [MByte] and the download time is 360 [seconds].
The
Since the download took 360 [seconds], the current time is 9:06.
The
予測部103は、通信部101により起動され、通信部101から現時刻のみ、あるいは、現時刻とファイルサイズを受け取ったか否かを判定する(図7のステップS31参照)。
予測部103は、現時刻とファイルサイズを受け取ったため、履歴テーブル111を参照し、全てのレコードにおいて、受け取ったファイルサイズ90[Mbyte]と最も近いレコードの変換時間を検索し、得た値240[秒]を、受け取った時刻9:06に加え、ファイル変換完了予測時刻9:10として通信部101に返す(図7のステップS33参照)。
The prediction unit 103 is activated by the
Since the prediction unit 103 has received the current time and the file size, the prediction unit 103 refers to the history table 111, searches for the conversion time of the record closest to the received file size 90 [Mbyte] in all records, and obtains the value 240 [ [Second] is returned to the
通信部101は、ファイル変換完了予測時刻9:10を受け取り(図5のステップS8参照)、ファイル変換完了予測時刻9:10がファイル変換完了要請時刻を越えるか否かを判定する(図5のステップS9参照)。
続いて、通信部101は、ファイル変換完了予測時刻9:10がファイル変換完了要請時刻9:07を越えるため、通知部104に、その旨と記憶しているデータNo1を通知する(図5のステップS10参照)。
The
Subsequently, since the file conversion completion predicted time 9:10 exceeds the file conversion completion request time 9:07, the
通知部104は、ダウンロード完了予測時刻がファイル変換完了要請時刻を越える旨を受け取ったか否かを判定する(図8のステップS41参照)。
通知部104は、ファイル変換完了予測時刻がファイル変換完了要請時刻を越える旨とデータNo1を受け取ったため、ネットワーク30を通じて、通信装置200の開始要請時刻テーブル214上のデータNo列を検索し、一致するレコードのフラグ以外をONに書き換え(図8のステップS44参照)、また、通信装置100の開始完了要請時刻テーブル113上のデータNo列を検索し、一致するレコードのフラグ以外をOFFに書き換える(図8のステップS45参照)。
The notification unit 104 determines whether or not it has received that the predicted download completion time exceeds the file conversion completion request time (see step S41 in FIG. 8).
Since the notification unit 104 receives the data No1 indicating that the predicted file conversion completion time exceeds the file conversion completion request time, the notification unit 104 searches the data No column on the start request time table 214 of the
続いて、通知部104は、ダウンロード完了予測時刻がファイル変換完了要請時刻を越える旨を受け取ったため、ダウンロード完了予測時刻がファイル変換完了要請時刻を越える旨を示すメッセージを表示部105に送る(図8のステップS46参照)。
表示部105は、通知部104から渡されたメッセージを表示し、その後、通信部101は図5のステップS1に戻り、新たに処理が進められる。
Subsequently, since the notification unit 104 receives that the predicted download completion time exceeds the file conversion completion request time, the notification unit 104 sends a message indicating that the download completion predicted time exceeds the file conversion completion request time to the display unit 105 (FIG. 8). Step S46).
The display unit 105 displays the message passed from the notification unit 104, and then the
次に、通信装置200の通信部201は、通信装置200の開始要請時刻テーブル214のダウンロード開始要請時刻列とフラグ列を監視し、現時刻と一致するレコードが存在し、かつ、フラグがONであるレコードが存在するか否かを判定する(図9のステップS51参照)。
通信部201は、開始要請時刻テーブル214が書き換えられた後に、日時が経過し、再度9:05になったときに、データNoが2であるレコードが該当するため、ダウンロードを開始し(図9のステップS52参照)、ダウンロード完了後に、ファイル名を変換部202に渡す(図9のステップS53参照)。
変換部202は、渡されたファイル名を持つファイルの文字コードを変換する。
その後、通信部201は、ステップS51に戻り、新たに処理が進められる。
に戻る。
Next, the
The
The conversion unit 202 converts the character code of the file having the passed file name.
Thereafter, the
Return to.
以上のように本実施の形態によれば、ネットワークの障害、通信装置の障害、サーバ装置の障害のいずれの障害に対しても、サーバ装置から自動的にデータ(ファイル)のダウンロードを成功させ、その後、ファイル変換処理を実行することができる。
また、サーバ装置の障害に対して、設定した時間を越えてダウンロードに時間がかかることが予測された場合に、オペレータに通知を行い、発注者へサイトの復旧を催促させることができる。
さらに、ネットワークの障害に対して、設定時間を越えてダウンロード時間がかかることが予測された場合、ダウンロード中のデータファイルおよびその後のスケジュールについて、異なるネットワークに接続する別の通信装置からダウンロードすることができる。
さらにまた、通信装置の障害に対して、設定時間を越えてファイルの変換時間がかかることが予測された場合、ダウンロード中のデータファイルより後のスケジュールについて、異なるネットワークに接続する別の通信装置からダウンロードすることができる。
As described above, according to the present embodiment, data (file) is automatically downloaded from the server device automatically in response to any failure of the network, the communication device, and the server device, Thereafter, a file conversion process can be executed.
Further, when it is predicted that the download will take longer than the set time due to a failure of the server device, the operator can be notified to prompt the orderer to restore the site.
Furthermore, when it is predicted that the download time will exceed the set time due to a network failure, the data file being downloaded and the subsequent schedule may be downloaded from another communication device connected to a different network. it can.
Furthermore, when it is predicted that the file conversion time will exceed the set time due to the failure of the communication device, the schedule after the data file being downloaded is from another communication device connected to a different network. Can be downloaded.
また、本実施の形態によれば、ネットワークの障害、通信装置の障害、サーバ装置の障害のいずれの障害に対しても、人手を要しないで自動的に通信システムを復旧することができ、これにより復旧時間を短縮することができる。
さらに、これらの障害に対して、個別に適切な運用手順を設計する必要があったところを、一律に、自動的にダウンロード装置および回線が切り替わるだけの手順とすることで、運用手順の誤りを削減することができる。
Further, according to the present embodiment, it is possible to automatically restore the communication system without any manual operation for any failure of the network, the communication device, and the server device. The recovery time can be shortened.
Furthermore, it is possible to eliminate errors in the operation procedure by making it necessary to design an appropriate operation procedure individually for these failures, and to make the procedure for switching the download device and line automatically. Can be reduced.
1 サーバ装置、10、20、30 ネットワーク、101 通信部、102 変換部、103 予測部、104 通知部、105 表示部、111 履歴テーブル、112、113 開始完了要請時刻テーブル、201 通信部、202 変換部、213、214 開始要請時刻テーブル213、901 通信部、902 表示部、903 停止部、911 ダウンロード開始時刻設定テーブル。
1
Claims (7)
ファイル変換完了要請時刻とこのファイル変換完了要請時刻が有効であるか否かを示す第1のフラグとを含む開始完了要請時刻テーブルと、
前記履歴テーブルのダウンロード時間と現時刻とを基にダウンロード完了予測時刻を予測する予測手段と、
前記予測手段に前記現時刻を送信し、又前記予測手段により予測された前記ダウンロード完了予測時刻が前記開始完了要請時刻テーブルに含まれた前記ファイル変換完了要請時刻を越える場合に越える旨を送信する第1の通信手段と、
前記第1の通信手段により送信された前記ダウンロード完了予測時刻が前記ファイル変換完了要請時刻を越える旨を受信すると、前記開始完了要請時刻テーブルの前記第1のフラグを無効に書換える通知手段と、を有する第1の通信装置と、
ダウンロード開始要請時刻とこのダウンロード開始要請時刻が有効であるか否かを示す第2のフラグとを含み、前記第1の通信手段により送信された前記ダウンロード完了予測時刻が前記ファイル変換完了要請時刻を越える旨を受信した時に前記通知手段により前記第2のフラグを有効に書換えられる開始要請時刻テーブルと、
ダウンロード開始時刻が前記開始要請時刻テーブルの前記ダウンロード開始要請時刻と一致し、かつ前記第2のフラグが有効である時にサーバ装置のデータをダウンロードし、ダウンロード完了後にダウンロードしたデータの第1のファイル名を送信する第2の通信手段と、
前記第2の通信手段により送信された前記第1のファイル名のデータファイルのフォーマットと文字コードとを変換する第1の変換手段と、を有する第2の通信装置と、を備えたことを特徴とする通信システム。 A history table containing download times for downloading server device data;
A start completion request time table including a file conversion completion request time and a first flag indicating whether the file conversion completion request time is valid;
Prediction means for predicting the download completion prediction time based on the download time and the current time of the history table;
The present time is transmitted to the prediction means, and a notification that the download completion prediction time predicted by the prediction means is exceeded when the file conversion completion request time included in the start completion request time table is exceeded is transmitted. A first communication means;
A notification means for invalidating and rewriting the first flag in the start completion request time table when receiving that the predicted download completion time transmitted by the first communication means exceeds the file conversion completion request time; A first communication device comprising:
A download start request time and a second flag indicating whether or not the download start request time is valid, and the download completion prediction time transmitted by the first communication means includes the file conversion completion request time. A start request time table in which the second flag is effectively rewritten by the notification means when it is received,
The server device data is downloaded when the download start time matches the download start request time in the start request time table and the second flag is valid, and the first file name of the downloaded data after the download is completed A second communication means for transmitting
A second communication device having first conversion means for converting the format and character code of the data file of the first file name transmitted by the second communication means. A communication system.
前記第1の通信装置は、前記通知手段により送信された前記ダウンロード完了予測時刻が前記ファイル変換完了要請時刻を越える旨を表示する表示手段を備えたことを特徴とする請求項1記載の通信システム。 The notifying means transmits that the predicted download completion time exceeds the file conversion completion request time,
2. The communication system according to claim 1, wherein the first communication device includes display means for displaying that the download completion prediction time transmitted by the notification means exceeds the file conversion completion request time. .
前記開始完了要請時刻テーブルは、前記ファイル変換完了要請時刻と前記第1のフラグとに対応するデータ番号を含み、
前記予測手段は、前記履歴テーブルのファイルサイズと現時刻とを基にファイル変換完了予測時刻を予測し、
前記第1の通信手段は、前記予測手段に前記ファイルサイズと前記現時刻とを送信し、又前記予測手段により予測された前記ファイル変換完了予測時刻が前記開始完了要請時刻テーブルに含まれた前記ファイル変換完了要請時刻を越える場合に越える旨と前記データ番号とを送信し、
前記通知手段は、前記第1の通信手段により送信された前記ファイル変換完了予測時刻が前記ファイル変換完了要請時刻を越える旨と前記データ番号とを受信すると、前記開始完了要請時刻テーブルの前記第1のフラグを無効に書換え、
前記開始要請時刻テーブルは、前記第1の通信手段により送信された前記ファイル変換完了予測時刻が前記ファイル変換完了要請時刻を越える旨を受信した時に前記通知手段により前記データ番号と対応する前記第2のフラグを有効に書換えられることを特徴とする請求項1記載の通信システム。 The history table includes a file size of data downloaded from the server device,
The start completion request time table includes a data number corresponding to the file conversion completion request time and the first flag,
The prediction means predicts a file conversion completion predicted time based on the file size and the current time of the history table,
The first communication unit transmits the file size and the current time to the prediction unit, and the file conversion completion predicted time predicted by the prediction unit is included in the start completion request time table. If the file conversion completion request time is exceeded, send the data number and the data number,
When the notification means receives that the file conversion completion predicted time transmitted by the first communication means exceeds the file conversion completion request time and the data number, the notifying means in the start completion request time table Rewrite the flag in invalid,
The start request time table stores the second corresponding to the data number by the notifying means when receiving that the predicted file conversion completion time transmitted by the first communication means exceeds the file conversion completion request time. The communication system according to claim 1, wherein the flag is effectively rewritten.
前記第1の通信装置は、前記ファイル変換完了予測時刻が前記ファイル変換完了要請時刻を越える旨を表示する表示手段を備えたことを特徴とする請求項5記載の通信システム。 The notifying means transmits that the predicted file conversion completion time exceeds the file conversion completion request time,
6. The communication system according to claim 5, wherein the first communication device comprises display means for displaying that the predicted file conversion completion time exceeds the file conversion completion request time.
前記第1の通信手段は、前記ファイル変換完了予測時刻が前記ファイル変換完了要請時刻を越えない場合にダウンロードするデータのファイル名を前記第2の変換手段に送信し、又前記第2の変換手段から送信された前記変換時間を前記履歴テーブルに記録し、
前記予測手段は、前記履歴テーブルに記録された前記変換時間に前記現時刻を加えたファイル変換完了予測時刻を予測することを特徴とする請求項1記載の通信システム。 The first communication device converts the format and character code of the downloaded data file based on the file name transmitted by the first communication means, and sets the conversion time required for the conversion to the first communication means. Comprising second conversion means for transmitting to
The first communication means transmits a file name of data to be downloaded to the second conversion means when the predicted file conversion completion time does not exceed the file conversion completion request time, and the second conversion means Record the conversion time sent from the history table,
2. The communication system according to claim 1, wherein the prediction unit predicts a file conversion completion prediction time obtained by adding the current time to the conversion time recorded in the history table.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2008016467A JP4946892B2 (en) | 2008-01-28 | 2008-01-28 | Communications system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2008016467A JP4946892B2 (en) | 2008-01-28 | 2008-01-28 | Communications system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2009176224A JP2009176224A (en) | 2009-08-06 |
| JP4946892B2 true JP4946892B2 (en) | 2012-06-06 |
Family
ID=41031206
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2008016467A Expired - Fee Related JP4946892B2 (en) | 2008-01-28 | 2008-01-28 | Communications system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4946892B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113711200B (en) * | 2019-04-12 | 2025-06-20 | 住友电气工业株式会社 | Data visualization device, data processing method, and recording medium |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH1049451A (en) * | 1996-08-05 | 1998-02-20 | Nec Corp | Automatic switching system for transfer destination in file transfer |
| JP2003122375A (en) * | 2001-10-16 | 2003-04-25 | Mitsubishi Electric Corp | In-vehicle electronic device and data receiving method |
| JP4001772B2 (en) * | 2002-05-28 | 2007-10-31 | 日本電信電話株式会社 | File transfer system |
| JP4245986B2 (en) * | 2003-06-02 | 2009-04-02 | Kddi株式会社 | NETWORK SYSTEM, DATA DOWNLOAD CONTINUING METHOD AT TERMINAL SWITCHING IN THE NETWORK SYSTEM, AND PROGRAM THEREOF |
| WO2005088452A1 (en) * | 2004-03-16 | 2005-09-22 | Matsushita Electric Industrial Co., Ltd. | Terminal device for updating computer program and update method |
| WO2006075557A1 (en) * | 2005-01-17 | 2006-07-20 | Matsushita Electric Industrial Co., Ltd. | Program execution device |
-
2008
- 2008-01-28 JP JP2008016467A patent/JP4946892B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2009176224A (en) | 2009-08-06 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10268471B2 (en) | Method for upgrading terminal system, terminal, and system | |
| US7240099B2 (en) | System and method for efficiently performing data transfer operations | |
| EP2439658A1 (en) | Image processing system, image processing method, image processing apparatus, and relay apparatus | |
| JP2015103106A (en) | Communication device and communication program | |
| JP4946892B2 (en) | Communications system | |
| JP6349618B2 (en) | Information provision system by data relay application | |
| JP2001249815A (en) | Network connection device | |
| KR101090014B1 (en) | ROM image download system of wireless terminal and its method | |
| JP2006235838A (en) | Software update system, server, method, and program | |
| JP2008508623A (en) | Portable wireless communication device and method for updating software | |
| JP2011188019A (en) | Digital composite machine | |
| JP4133290B2 (en) | Data update method for image forming apparatus, image forming apparatus, and image forming system | |
| JP2005229279A (en) | Portable terminal equipment, method of use of portable terminal equipment and program therefor | |
| JP2002229816A (en) | Failure information acquisition system | |
| JP5174718B2 (en) | Network system and network adapter | |
| CN106210898B (en) | Upgrading method and system for television terminal in network-free state | |
| US20190361645A1 (en) | Communication terminal, method of controlling communication terminal, and non-transitory computer-readable recording medium therefor | |
| JP6011601B2 (en) | Information processing apparatus and program | |
| JP6024115B2 (en) | Request management apparatus, request management method, and request management program | |
| US11416188B2 (en) | Printing apparatus and non-transitory computer-readable storage medium storing a computer program | |
| JP5297179B2 (en) | Remote control system | |
| WO2011047574A1 (en) | Data processing method, system and device thereof | |
| JP2007193615A (en) | Display management method and display management apparatus utilizing the same, display management system | |
| JP2006185309A (en) | Electronic apparatus and method for updating firmware | |
| JP2005051297A (en) | Network scanning system, network scanner and network scanning unit |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20101026 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20120203 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20120207 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120220 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150316 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150316 Year of fee payment: 3 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| LAPS | Cancellation because of no payment of annual fees |