JP5867960B2 - Data distribution apparatus, data distribution method, and data distribution program - Google Patents
Data distribution apparatus, data distribution method, and data distribution program Download PDFInfo
- Publication number
- JP5867960B2 JP5867960B2 JP2012022105A JP2012022105A JP5867960B2 JP 5867960 B2 JP5867960 B2 JP 5867960B2 JP 2012022105 A JP2012022105 A JP 2012022105A JP 2012022105 A JP2012022105 A JP 2012022105A JP 5867960 B2 JP5867960 B2 JP 5867960B2
- Authority
- JP
- Japan
- Prior art keywords
- date
- time
- load value
- minimum
- distribution
- 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.)
- Active
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
Description
本発明は、プログラムなどのデータを配信するためのデータ配信装置、データ配信方法およびデータ配信プログラムに関する。 The present invention relates to a data distribution apparatus, a data distribution method, and a data distribution program for distributing data such as a program.
サーバ装置がネットワーク回線を介してプログラムなどのデータをクライアント端末に配信する場合に、クライアント端末やネットワーク回線の負荷が増大することがある。例えば、クライアント端末の使用状況を考慮せずにプログラムを配信すると、クライアント端末内で実行中の処理とプログラム配信とが重なった場合に、クライアント端末の負荷が増大する。 When the server device distributes data such as a program to a client terminal via a network line, the load on the client terminal or the network line may increase. For example, if a program is distributed without considering the usage status of the client terminal, the load on the client terminal increases when processing being executed in the client terminal and program distribution overlap.
特許文献1には、クライアント端末の使用状況を考慮して、クライアント端末で適切な時間帯、例えば、利用者の業務を妨げるおそれがない時間帯に管理プログラムを実行させることができる管理装置が記載されている。特許文献1に記載された管理装置は、クライアント端末の使用状況を指標値に数値化して記録する。そして、記録した指標値をもとに、クライアント端末が管理プログラムを実行可能な時間帯(予定時間帯)を決定する。そして、決定した予定時間帯に管理プログラムの実行指示をクライアント端末に送信する。また、特許文献1に記載された管理装置は、同一の時間帯に管理プログラムを実行する情報処理装置がより少ない時間帯を優先して予定時間帯として選択する。
特許文献1に記載された管理装置は、情報処理装置の使用状況に応じて予定時間帯を決定しているので、情報処理装置や通信回線の負荷を低減することができる。しかし、情報処理装置が多数ある場合には、管理装置の負荷が増大する可能性がある。
Since the management apparatus described in
そこで、本発明は、プログラムなどのデータを配信する際の負荷を分散かつ低減することができるデータ配信装置、データ配信方法およびデータ配信プログラムを提供することを目的とする。 Accordingly, an object of the present invention is to provide a data distribution apparatus, a data distribution method, and a data distribution program that can distribute and reduce a load when distributing data such as a program.
本発明によるデータ配信装置は、端末の負荷値を算出する負荷値算出手段と、端末の日付における単位時間ごとの負荷値と曜日における単位時間ごとの負荷値を集計する負荷値集計手段と、曜日に関する集計結果をもとに、負荷値が最小になる曜日および時間帯を特定し、特定した曜日および時間帯を第1の負荷値最小日時に設定し、日付に関する集計結果をもとに、負荷値が最小になる日付および時間帯を特定し、特定した日付および時間帯を第2の負荷値最小日時に設定し、第1の負荷値最小日時と第2の負荷値最小日時とにおける負荷値を比較し、負荷値が小さい方を初回配信日時に決定し、他方を第二回配信日時に決定する配信日時決定手段と、初回配信日時に端末にデータを配信し、初回配信日時に端末にデータを配信できなかった場合には第二回配信日時にデータを配信する配信手段とを含むことを特徴とする。 A data distribution apparatus according to the present invention includes a load value calculating unit that calculates a load value of a terminal, a load value totaling unit that totals a load value per unit time on a date of the terminal and a load value per unit time on a day of the week, The day of the week and the time zone where the load value becomes the minimum are specified based on the aggregation result for the load, the specified day of the week and the time zone are set as the first minimum load value date, and the load is determined based on the aggregation result regarding the date. The date and time zone in which the value is minimized are specified, the specified date and time zone are set as the second load value minimum date and time, and the load value at the first load value minimum date and the second load value minimum date and time The distribution date determination means that determines the first delivery date and time with the smaller load value, the second delivery date and time, and the data is delivered to the terminal at the first delivery date and the terminal at the first delivery date and time. Unable to deliver data When it is characterized in that it comprises a distribution means for distributing the data to the second time distribution date.
本発明によるデータ配信方法は、負荷値算出手段が、端末の負荷値を算出し、負荷値集計手段が、端末の日付における単位時間ごとの負荷値と曜日における単位時間ごとの負荷値を集計し、配信日時決定手段が、曜日に関する集計結果をもとに、負荷値が最小になる曜日および時間帯を特定し、特定した曜日および時間帯を第1の負荷値最小日時に設定し、日付に関する集計結果をもとに、負荷値が最小になる日付および時間帯を特定し、特定した日付および時間帯を第2の負荷値最小日時に設定し、第1の負荷値最小日時と第2の負荷値最小日時とにおける負荷値を比較して、負荷値が小さい方を初回配信日時に決定し、他方を第二回配信日時に決定し、配信手段が、初回配信日時に端末にデータを配信し、初回配信日時に端末にデータを配信できなかった場合には第二回配信日時にデータを配信することを特徴とする。 In the data distribution method according to the present invention, the load value calculation means calculates the load value of the terminal, and the load value aggregation means totals the load value for each unit time on the date of the terminal and the load value for each unit time on the day of the week. The delivery date and time determining means identifies the day of the week and the time zone in which the load value is minimum based on the tabulation result on the day of the week, sets the identified day of the week and time zone as the first load value minimum date and time, and The date and time zone in which the load value is minimized are identified based on the tabulation results, the identified date and time zone are set as the second load value minimum date and time, and the first load value minimum date and time Compare the load value at the minimum load value date and time, decide the one with the smaller load value as the first delivery date and time, decide the other as the second delivery date and time, and the delivery means will deliver the data to the terminal at the first delivery date and time Data on the device at the first delivery date and time If it can not trust is characterized by distributing the data to the second annual distribution date.
本発明によるデータ配信プログラムは、コンピュータに、端末の負荷値を算出する処理と、端末の日付における単位時間ごとの負荷値と曜日における単位時間ごとの負荷値を集計する処理と、接続状態保持手段で、曜日および日付ごとに端末の接続時間情報を保持する処理と、曜日に関する集計結果をもとに、負荷値が最小になる曜日および時間帯を特定し、特定した曜日および時間帯を第1の負荷値最小日時に設定する処理と、日付に関する集計結果をもとに、負荷値が最小になる日付および時間帯を特定し、特定した日付および時間帯を第2の負荷値最小日時に設定する処理と、第1の負荷値最小日時と第2の負荷値最小日時とにおける負荷値を比較して、負荷値が小さい方を初回配信日時に決定し、他方を第二回配信日時に決定する処理と、初回配信日時に端末にデータを配信し、初回配信日時に端末にデータを配信できなかった場合には第二回配信日時にデータを配信する処理とを実行させ、第1の負荷値最小日時を設定する処理で、接続時間情報をもとに、負荷値が最小になる曜日において、端末が接続状態にある時間のうち最も遅い時間帯を特定し、特定した時間帯を第1の負荷値最小日時の時間帯に設定させ、第2の負荷値最小日時を設定する処理で、接続時間情報をもとに、負荷値が最小になる日付において、端末が接続状態にある時間のうち最も早い時間帯を特定し、特定した時間帯を第2の負荷値最小日時の時間帯に設定させることを特徴とする。 The data distribution program according to the present invention includes a computer for calculating a load value of a terminal, a process of totaling a load value for each unit time on a date of the terminal and a load value for each unit time on a day of the week, and a connection state holding unit. Then, based on the processing for holding the connection time information of the terminal for each day of the week and date and the tabulation result regarding the day of the week , the day of the week and the time zone where the load value is the minimum is specified, Based on the process of setting the minimum load value date and time and the tabulated results on the date, the date and time zone where the load value is minimized are specified, and the specified date and time zone are set as the second minimum load value date and time. Comparing the load value in the first load value minimum date and time and the second load value minimum date and time, the one with the smaller load value is determined as the first distribution date and the other is determined as the second distribution date and time Place to do If, to deliver data to the terminal for the first time distribution date, if it could not deliver data to the terminal first run time to execute a process of delivering data to the second time distribution date, the minimum first load value In the process of setting the date and time, based on the connection time information, on the day of the week when the load value becomes the minimum, the latest time zone among the times when the terminal is in the connected state is specified, and the specified time zone is the first load. In the process of setting the second minimum load value date and time in the process of setting the minimum value date and time, the date when the load value is minimum based on the connection time information, An early time zone is specified, and the specified time zone is set to the time zone of the second minimum load value date and time .
本発明によれば、プログラムなどのデータを配信する際のサーバ側およびクライアント端末側の負荷を分散かつ低減することができる。 According to the present invention, it is possible to distribute and reduce the load on the server side and the client terminal side when distributing data such as programs.
実施形態1.
以下、本発明の第1の実施形態を図面を参照して説明する。ここでは、データとしてプログラムを配信するデータ配信装置について説明する。
A first embodiment of the present invention will be described below with reference to the drawings. Here, a data distribution apparatus that distributes a program as data will be described.
図1は、本発明によるデータ配信装置を含むデータ配信システムの第1の実施形態を示すブロック図である。図2は、データ配信装置の第1の実施形態の構成を示すブロック図である。 FIG. 1 is a block diagram showing a first embodiment of a data distribution system including a data distribution apparatus according to the present invention. FIG. 2 is a block diagram showing the configuration of the first embodiment of the data distribution apparatus.
図1に示すように、データ配信システムは、データ配信装置(センターサーバ)10と、クライアント端末30、40、50とを含む。センターサーバ10は、ネットワーク20を介して、クライアント端末30〜50と接続されている。なお、図1では、3つのクライアント端末30〜50が例示されているが、クライアント端末はいくつあってもよい。
As shown in FIG. 1, the data distribution system includes a data distribution device (center server) 10 and
図2に示すように、センターサーバ10は、接続状態保持手段11と、負荷値算出手段12と、負荷値集計手段13と、配信日時決定手段14と、配信手段15とを備える。なお、接続状態保持手段11、負荷値算出手段12、負荷値集計手段13、配信日時決定手段14および配信手段15は、センターサーバ10が備えるCPUなどによって実現される。
As shown in FIG. 2, the
接続状態保持手段11は、クライアント端末ごとに、接続情報を保持する。
The connection
図3は、接続状態保持手段11が保持する接続情報の一例を示す説明図である。
FIG. 3 is an explanatory diagram illustrating an example of connection information held by the connection
接続情報は、センターサーバ10とクライアント端末との接続状態を示す接続状態情報を含む。また、接続情報は、クライアント端末がセンターサーバ10に接続した時間(接続時間)および切断した時間(切断時間)を示す接続時間情報を含む。接続時間および接続時間は、曜日、日付ごとに接続時間情報に格納される。なお、本実施形態では、「日付」は、何月何日の「何日」を示す。
The connection information includes connection state information indicating a connection state between the
図3(a)は、クライアント端末30の接続状態情報の一例である。図3(b)は、クライアント端末30の接続時間情報の一例である。
FIG. 3A is an example of connection state information of the
負荷値算出手段12は、クライアント端末ごとに負荷値を算出する。負荷値算出手段12は、本実施形態では、電文に対する重みからクライアント端末の負荷値を算出する。重みは、電文作成して通信するまでのクライアント端末のCPU利用率に相当する。なお、全てのクライアント端末が同じ機種、同じ能力とは限らないので、電文に対する重みは、クライアント端末ごとに設定される。
The load
図4は、電文種別と重みとの対応を示す情報(重み対応情報)の一例を示す説明図である。図4に示す情報は、予め、センターサーバ10が備える記憶部(図示せず)にクライアント端末ごとに格納される。
FIG. 4 is an explanatory diagram illustrating an example of information (weight correspondence information) indicating correspondence between message types and weights. The information shown in FIG. 4 is stored in advance for each client terminal in a storage unit (not shown) included in the
負荷値集計手段13は、負荷値を現在日時と同じ日付、同じ曜日の単位時間ごとに集計する。負荷値集計手段13は、クライアント端末ごとに負荷値を集計し、集計結果を記憶部に格納する。なお、本実施形態では、単位時間を15分とする。 The load value totaling means 13 totals the load value for each unit time on the same date and the same day of the week as the current date and time. The load value totaling means 13 totals the load values for each client terminal and stores the total results in the storage unit. In the present embodiment, the unit time is 15 minutes.
配信日時決定手段14は、クライアント端末ごとに、負荷値の集計結果からプログラム配信する日時を決定する。また、配信日時決定手段14は、クライアント端末ごとに、センターサーバ10と各クライアント端末間の回線速度を示す情報を保持する。
The distribution date and time determination means 14 determines the date and time at which the program is distributed for each client terminal from the load value tabulation result. Further, the delivery
配信手段15は、各クライアント端末にプログラムを配信する。配信手段15は、プログラム配信を実施するときに、クライアント端末の接続状態に応じて、プログラムを配信する。配信手段15は、プログラムの配信結果をクライアント端末ごとに保持する。
The
クライアント端末30〜50は、例えば、パーソナルコンピュータ(PC)である。クライアント端末30〜50は、センターサーバ10に対して、照会電文や登録電文などの各種電文を送信する。また、センターサーバ10から配信されるプログラムを受信する。
The
次に本実施形態の動作を説明する。ここでは、センターサーバ10がクライアント端末30にプログラムを配信する動作を説明する。
Next, the operation of this embodiment will be described. Here, the operation in which the
接続状態保持手段11は、ネットワーク20を介してクライアント端末30が接続されると、接続されたクライアント端末30の接続状態情報を「接続」にする。接続状態保持手段11は、その日において最初の接続であった場合には、接続時間を、その日の曜日、日付に対応して接続時間情報に格納する。
When the
接続状態保持手段11は、クライアント端末30が切断されると、クライアント端末30の接続状態情報を「非接続」にする。そして、切断時間を、その日の曜日、日付に対応して接続時間情報に格納する。
When the
負荷値算出手段12は、センターサーバ10がクライアント端末30からネットワーク20を介して電文を受信すると、図4に示す重み対応情報をもとに、受信した電文の重みを判定する。例えば、センターサーバ10がA参照電文を受信した場合は、負荷値算出手段12は、A参照電文の重みを「5」と判定する。
When the
負荷値算出手段12は、判定した電文の重みをもとにクライアント端末30の負荷値を算出する。負荷値は、本実施形態では、重みを等倍した値である。例えば、センターサーバ10がA参照電文を受信した場合は、負荷値算出手段12は、A参照電文の重み「5」から、クライアント端末の負荷値を「5」と算出する。なお、負荷値は、重みを等倍した値ではなく、重みをもとに他の方法で算出した値でもよい。
The load value calculation means 12 calculates the load value of the
負荷値集計手段13は、クライアント端末30の負荷値を、現在日時と同じ日付、同じ曜日の単位時間ごとに集計する。具体的には、負荷値集計手段13は、負荷値算出手段12が算出した負荷値を、現在日時と同じ曜日の同じ時間帯、および同じ日付の同じ時間帯の集計結果に加算する。なお、負荷値集計手段13は、プログラム配信後も、集計した負荷値を初期化せずに、集計し続ける。
The load value totaling means 13 totals the load value of the
負荷値算出手段12および負荷値集計手段13は、センターサーバ10がクライアント端末30から電文を受信する度に、負荷値算出および負荷値集計の処理を繰り返し実施する。
Each time the
図5は、クライアント端末30の負荷値の集計結果の一例を示す説明図である。図5(a)は、負荷値を曜日ごとに集計した結果を示す。図5(b)は、負荷値を日付ごとに集計した結果を示す。
FIG. 5 is an explanatory diagram illustrating an example of a total result of load values of the
配信日時決定手段14は、センターサーバ10に配信予定のプログラムが登録されると、配信予定のプログラムのプログラムサイズ、およびクライアント端末ごとの回線速度からプログラムの配信に要する時間(以下、配信所要予想時間という)を算出する。そして、配信所要予想時間が、単位時間の何個分であるかを算出する。つまり、プログラム配信に必要な連続した単位時間の個数(以下、連続個数という)を算出する。
When a program scheduled to be distributed is registered in the
配信日時決定手段14は、負荷値集計手段13が集計した曜日ごとの集計結果をもとに、負荷値が最小となる曜日と時間帯とを特定する。
The distribution date and
具体的には、配信日時決定手段14は、曜日ごとの集計結果とクライアント端末30の接続時間情報とをもとに、曜日ごとに、クライアント端末30が接続状態にある時間、つまり、接続時間から切断時間までの間で、単位時間の負荷値を連続個数分加算する。そして、加算した負荷値が最小となる曜日とその曜日における時間帯とを特定する。以下、特定した曜日と時間帯を「第1の負荷値最小日時」という。
Specifically, the delivery date and time determination means 14 determines from the time when the
なお、第1の負荷値最小日時における時間帯を、特定した曜日における最も遅い時間帯(クライアント端末が接続状態にある時間のうち最も遅い時間帯)としてもよい。 The time zone at the first minimum load value date and time may be the latest time zone on the specified day of the week (the latest time zone among the times when the client terminal is in the connected state).
配信日時決定手段14は、同様に、負荷値集計手段13が集計した日付ごとの集計結果をもとに、負荷値が最小となる日付と時間帯とを特定する。
Similarly, the delivery date and
具体的には、配信日時決定手段14は、日付ごとの集計結果とクライアント端末30の接続時間情報とをもとに、日付ごとに、接続時間から切断時間までの間で、単位時間の負荷値を連続個数分加算する。そして、加算した負荷値が最小となる日付とその日付における時間帯とを特定する。以下、特定した日付と時間帯を「第2の負荷値最小日時」という。
Specifically, the distribution date and
なお、第2の負荷値最小日時における時間帯を、特定した日付における最も早い時間帯(クライアント端末が接続状態にある時間のうち最も早い時間帯)としてもよい。 Note that the time zone at the second minimum load value date and time may be the earliest time zone on the specified date (the earliest time zone in which the client terminal is in the connected state).
また、第1の負荷値最小日時における時間帯を、特定した曜日における最も早い時間帯とし、第2の負荷値最小日時における時間帯を、特定した日付における最も遅い時間帯としてもよい。 Alternatively, the time zone at the first minimum load value date and time may be the earliest time zone on the specified day of the week, and the time zone at the second minimum load value date and time may be the latest time zone on the specified date.
配信日時決定手段14は、第1の負荷値最小日時における負荷値と、第2の負荷値最小日時における負荷値とを比較する。
The distribution
負荷値が異なる場合は、配信日時決定手段14は、負荷値が小さい方を初回配信日時、大きい方を予備の配信日時(第二回配信日時)に決定する。例えば、第1の負荷値最小日時における負荷値の方が小さい場合には、第1の負荷値最小日時が初回配信日時となり、第2の負荷値最小日時が第二回配信日時となる。 When the load values are different, the distribution date determination means 14 determines the one with the smaller load value as the initial distribution date and the larger one as the spare distribution date (second distribution date). For example, when the load value at the first load value minimum date and time is smaller, the first load value minimum date and time becomes the first delivery date and time, and the second load value minimum date and time becomes the second delivery date and time.
負荷値が同一の場合は、配信日時決定手段14は、プログラム配信を開始する日付に近い方を初回配信日時、もう一方を第二回配信日時に決定する。 When the load values are the same, the distribution date and time determination means 14 determines the first distribution date and time as the first distribution date and the other one closer to the date on which the program distribution starts, and the second distribution date and time.
次に、プログラム配信時におけるセンターサーバ10の動作について説明する。
Next, the operation of the
配信手段15は、クライアント端末30の初回配信日時になった時に、クライアント端末30の接続状態情報を接続状態保持手段11から取得する。そして、クライアント端末30が接続状態であるか否かを判定する。
The
配信手段15は、クライアント端末30が接続状態である場合は、プログラム配信を開始する。配信手段15は、プログラム配信が終了した後に、クライアント端末30の配信結果を「配信済み」にする。
The
配信手段15は、クライアント端末30が非接続状態である場合は、プログラム配信を実施しない。そして、クライアント端末30の配信結果を「未配信」にする。
The distribution means 15 does not perform program distribution when the
配信手段15は、クライアント端末30の第二配信日時になったときに、クライアント端末30の配信結果が「未配信」の場合には、クライアント端末30の接続状態情報を接続状態保持手段11から取得する。そして、クライアント端末30が接続状態である場合には、プログラム配信を開始する。配信手段15は、プログラム配信が終了した後に、クライアント端末30の配信結果を「配信済み」にする。
When the second distribution date / time of the
配信日時決定手段14は、配信手段15が初回配信、第二配信を実施しても、クライアント端末30の配信結果が「未配信」である場合には、再度、初回配信日時、第二配信日時を決定する。このとき、図5(a)および図5(b)に示す集計結果が更新されている場合は、初回配信日時、第二配信日時は更新される。
The delivery date and time determination means 14 re-enters the first delivery date and the second delivery date and time when the delivery result of the
配信日時決定手段14および配信手段15は、センターサーバ10に接続されている全てのクライアント端末の配信結果が「配信済み」になるまで、以上の動作を繰り返し実行する。
The delivery date determination means 14 and the delivery means 15 repeatedly execute the above operations until the delivery results of all the client terminals connected to the
以上に説明したように、本実施形態では、プログラム配信の初回配信日時、第二回配信日時が、日付、曜日の別指標からそれぞれ決定されるので、センターサーバ10におけるプログラム配信の負荷を分散することができる。
As described above, in the present embodiment, since the first delivery date and time and the second delivery date and time of program delivery are determined from different indicators of date and day of the week, the program delivery load in the
また、プログラム配信する日時を決定するときに、第1の負荷値最小日時における時間帯を、特定した曜日における最も遅い時間帯、第2の負荷値最小日時における時間帯を、特定した日付における最も早い時間帯に設定することにより、さらに、プログラム配信の負荷を分散することができる。 Further, when determining the program delivery date and time, the time zone at the first load value minimum date and time is the latest time zone on the specified day of the week, and the time zone at the second load value minimum date and time is the most on the specified date. By setting the time zone earlier, the load of program distribution can be further distributed.
また、プログラム配信日時を決定するときに、同時に予備の配信日時(第二回配信日時)を決定している。そのため、プログラム配信日時を決定する処理回数を減らすことができ、センターサーバ10の負荷を低減することができる。
In addition, when determining the program distribution date and time, a preliminary distribution date and time (second distribution date and time) is determined at the same time. Therefore, the number of processes for determining the program distribution date and time can be reduced, and the load on the
また、クライアント端末から受信した電文に重みを設けて、日付ごと、曜日ごとの単位時間の負荷値を集計している。つまり、CPU利用率に相当する重みから負荷値を算出し統計的に集計している。そのため、クライアント端末のCPU使用率を正確に判断することができる。従って、クライアント端末のCPU使用率が低い日時にプログラム配信日時を設定することができるので、プログラム配信時のクライアント端末の負荷を低減することができる。 In addition, weights are provided for messages received from client terminals, and the load values of unit time for each date and day of the week are tabulated. That is, the load value is calculated from the weight corresponding to the CPU usage rate and statistically tabulated. Therefore, it is possible to accurately determine the CPU usage rate of the client terminal. Therefore, since the program distribution date and time can be set at the date and time when the CPU usage rate of the client terminal is low, the load on the client terminal at the time of program distribution can be reduced.
また、クライアント端末ごとの負荷値をプログラム配信後も初期化せずに集計し続けているので、CPU使用率が低い日時の傾向を考慮したプログラム配信を行うことができる。例えば、クライアント端末がコンビニエンスストアのレジ端末である場合には、負荷値を統計的に集計しつづけることにより、業務が忙しい日付、曜日、日時が特定でき、業務が忙しくない日時にプログラム配信を実行することができる。 In addition, since the load values for each client terminal are continuously counted without being initialized even after program distribution, it is possible to perform program distribution in consideration of the tendency of dates and times when the CPU usage rate is low. For example, if the client terminal is a convenience store cashier terminal, by continuously counting load values statistically, it is possible to identify busy days, days of the week, and date / time, and execute program distribution at times when the business is not busy can do.
また、クライアント端末ごとに回線速度を保持し、クライアント端末ごとの配信所要時間を予想することができるので、より適切なプログラム配信日時を決定することができる。 In addition, since the line speed is held for each client terminal and the required time for distribution for each client terminal can be predicted, a more appropriate program distribution date and time can be determined.
また、配信先のクライアント端末が未接続状態の場合、例えば、クライアント端末が電源OFFになっている場合には、プログラム配信を実行しない。従って、無駄なプログラム配信を削減することができ、センターサーバ10と各クライアント端末間の回線負荷の増加を防止することができる。
Further, when the distribution destination client terminal is not connected, for example, when the client terminal is turned off, the program distribution is not executed. Therefore, useless program distribution can be reduced, and an increase in line load between the
また、クライアント端末ごとのプログラム配信結果を保持しているので、未配信のクライアント端末を特定することができる。そして、クライアント端末のプログラム配信結果が「配信済み」になるまでプログラム配信を繰り返し実行するので、全てのクライアント端末にプログラム配信を確実に行うことができる。 In addition, since the program distribution result for each client terminal is held, undelivered client terminals can be identified. Since the program distribution is repeatedly executed until the program distribution result of the client terminal becomes “distributed”, it is possible to reliably distribute the program to all the client terminals.
なお、本実施形態では、センターサーバ10がプログラムを配信する場合について説明したが、センターサーバ10が配信するデータは、プログラム以外であってもよい。
In the present embodiment, the case where the
図6は、本発明によるデータ配信装置の主要部を示すブロック図である。図6に示すように、データ配信装置(図1に示すセンターサーバ10に相当。)は、端末(図1に示すクライアント端末30、40、50に相当。)の負荷値を算出する負荷値算出手段120(図2に示すセンターサーバ10における負荷値算出手段12に相当。)と、端末の日付における単位時間ごとの負荷値と曜日における単位時間ごとの負荷値を集計する負荷値集計手段130(図2に示すセンターサーバ10における負荷値集計手段13に相当。)と、曜日に関する集計結果をもとに、負荷値が最小になる曜日および時間帯を特定し、特定した曜日および時間帯を第1の負荷値最小日時に設定し、日付に関する集計結果をもとに、負荷値が最小になる日付および時間帯を特定し、特定した日付および時間帯を第2の負荷値最小日時に設定し、第1の負荷値最小日時と第2の負荷値最小日時とにおける負荷値を比較し、負荷値が小さい方を初回配信日時に決定し、他方を第二回配信日時に決定する配信日時決定手段140(図2に示すセンターサーバ10における配信日時決定手段14に相当。)と、初回配信日時に端末にデータを配信し、初回配信日時に端末にデータを配信できなかった場合には第二回配信日時にデータを配信する配信手段150(図2に示すセンターサーバ10における配信手段15に相当。)とを含む。
FIG. 6 is a block diagram showing the main part of the data distribution apparatus according to the present invention. As shown in FIG. 6, the data distribution apparatus (corresponding to the
上記の実施形態には、以下のようなデータ配信装置も開示されている。 In the above embodiment, the following data distribution apparatus is also disclosed.
(1)負荷値算出手段120は、端末から受信した電文に重みを付けた値を負荷値とするデータ配信装置。
(1) A data distribution device in which the load
(2)曜日および日付ごとに端末の接続時間情報を保持する接続状態保持手段(図2に示すセンターサーバ10における接続状態保持手段11に相当。)を備え、配信日時決定手段140は、接続時間情報をもとに、負荷値が最小になる曜日において、端末が接続状態にある時間のうち最も遅い時間帯を特定し、特定した時間帯を第1の負荷値最小日時の時間帯にに設定し、負荷値が最小になる日付において、端末が接続状態にある時間のうち最も早い時間帯を特定し、特定した時間帯を第2の負荷値最小日時の時間帯にに設定するデータ配信装置。
(2) A connection state holding unit (corresponding to the connection
(3)配信日時決定手段140は、第1の負荷値最小日時と第2の負荷値最小日時とにおける負荷値が同じ場合には、現在日時から近い方を初回配信日時に決定し、他方を第二回配信日時に決定するデータ配信装置。 (3) When the first load value minimum date and time and the second load value minimum date and time are the same, the distribution date determination means 140 determines the one closest to the current date as the first distribution date and the other A data distribution device that determines the second distribution date and time.
(4)配信手段150は、端末のデータの配信結果を保持し、配信日時決定手段140は、第二回配信日時経過後に、端末のデータの配信結果が未配信である場合には、端末の初回配信日時および第二回配信日時を新たに決定するデータ配信装置。
(4) The
(5)配信手段150が、プログラムを配信するデータ配信装置。
(5) A data distribution apparatus in which the
10 センターサーバ
11 接続状態保持手段
12、120 負荷値算出手段
13、130 負荷値集計手段
14、140 配信日時決定手段
15、150 配信手段
20 ネットワーク
30、40、50 クライアント端末
DESCRIPTION OF
Claims (10)
前記端末の日付における単位時間ごとの負荷値と曜日における単位時間ごとの負荷値を集計する負荷値集計手段と、
曜日に関する集計結果をもとに、負荷値が最小になる曜日および時間帯を特定し、特定した曜日および時間帯を第1の負荷値最小日時に設定し、
日付に関する集計結果をもとに、負荷値が最小になる日付および時間帯を特定し、特定した日付および時間帯を第2の負荷値最小日時に設定し、
前記第1の負荷値最小日時と前記第2の負荷値最小日時とにおける負荷値を比較し、負荷値が小さい方を初回配信日時に決定し、他方を第二回配信日時に決定する配信日時決定手段と、
前記初回配信日時に前記端末にデータを配信し、前記初回配信日時に前記端末にデータを配信できなかった場合には前記第二回配信日時にデータを配信する配信手段とを含む
ことを特徴とするデータ配信装置。 Load value calculating means for calculating the load value of the terminal;
Load value totaling means for totaling the load value per unit time on the date of the terminal and the load value per unit time on the day of the week;
Based on the tabulation results for the day of the week, identify the day of the week and the time zone where the load value is minimum, set the identified day of the week and time zone as the first minimum load value date,
Based on the date-related tabulation results, specify the date and time zone where the load value is minimum, set the specified date and time zone as the second minimum load value date,
A distribution date and time at which the load value at the first load value minimum date and the second load value minimum date and time are compared, and the smaller load value is determined as the first distribution date and the other is determined as the second distribution date and time. A determination means;
Delivery means for delivering data to the terminal at the first delivery date and time and delivering data at the second delivery date when the data could not be delivered to the terminal at the first delivery date and time. Data distribution device.
端末から受信した電文に対して定められている重みに応じて負荷値を算出する
請求項1に記載のデータ配信装置。 Load value calculation means
The data distribution apparatus according to claim 1, wherein a load value is calculated according to a weight determined for a message received from a terminal.
配信日時決定手段は、
前記接続時間情報をもとに、負荷値が最小になる曜日において、前記端末が接続状態にある時間のうち最も遅い時間帯を特定し、特定した時間帯を第1の負荷値最小日時の時間帯に設定し、負荷値が最小になる日付において、前記端末が接続状態にある時間のうち最も早い時間帯を特定し、特定した時間帯を第2の負荷値最小日時の時間帯に設定する
請求項1または請求項2に記載のデータ配信装置。 It has a connection state holding means for holding the connection time information of the terminal for each day of the week and date,
Delivery date determination means
Based on the connection time information, on the day of the week when the load value becomes the minimum, the latest time zone among the times when the terminal is in the connected state is specified, and the specified time zone is the time of the first load value minimum date and time. In the date when the load value is minimized, the earliest time zone of the time when the terminal is in the connected state is specified, and the specified time zone is set as the time zone of the second minimum load value date and time. The data distribution apparatus according to claim 1 or 2.
第1の負荷値最小日時と第2の負荷値最小日時とにおける負荷値が同じ場合には、現在日時から近い方を初回配信日時に決定し、他方を第二回配信日時に決定する
請求項1から請求項3のうちいずれか1項に記載のデータ配信装置。 Delivery date determination means
If the first load value minimum date and time and the second load value minimum date and time are the same, the one closer to the current date and time is determined as the first distribution date and the other is determined as the second distribution date and time. The data distribution device according to any one of claims 1 to 3.
端末のデータの配信結果を示す情報を保持し、
配信日時決定手段は、
第二回配信日時経過後に、前記端末のデータの配信結果を示す情報が未配信であることを示している場合には、前記端末の初回配信日時および第二回配信日時を新たに決定する
請求項1から請求項4のうちいずれか1項に記載のデータ配信装置。 Distribution means
Holds information indicating the data distribution result of the device,
Delivery date determination means
After Second distribution date passed, billing information indicating the delivery result data of the terminal when the identification information indicates that the undelivered is newly determined initial distribution date and second time distribution date of the terminal The data distribution apparatus according to any one of claims 1 to 4.
請求項1から請求項5のうちのいずれか1項に記載のデータ配信装置。 The data distribution apparatus according to any one of claims 1 to 5, wherein the distribution unit distributes the program.
負荷値集計手段が、前記端末の日付における単位時間ごとの負荷値と曜日における単位時間ごとの負荷値を集計し、
配信日時決定手段が、
曜日に関する集計結果をもとに、負荷値が最小になる曜日および時間帯を特定し、特定した曜日および時間帯を第1の負荷値最小日時に設定し、
日付に関する集計結果をもとに、負荷値が最小になる日付および時間帯を特定し、特定した日付および時間帯を第2の負荷値最小日時に設定し、
前記第1の負荷値最小日時と前記第2の負荷値最小日時とにおける負荷値を比較して、負荷値が小さい方を初回配信日時に決定し、他方を第二回配信日時に決定し、
配信手段が、前記初回配信日時に前記端末にデータを配信し、前記初回配信日時に前記端末にデータを配信できなかった場合には前記第二回配信日時にデータを配信する
ことを特徴とするデータ配信方法。 The load value calculation means calculates the load value of the terminal,
The load value counting means totals the load value per unit time on the date of the terminal and the load value per unit time on the day of the week,
The delivery date determination means
Based on the tabulation results for the day of the week, identify the day of the week and the time zone where the load value is minimum, set the identified day of the week and time zone as the first minimum load value date,
Based on the date-related tabulation results, specify the date and time zone where the load value is minimum, set the specified date and time zone as the second minimum load value date,
Compare the load value at the first load value minimum date and time and the second load value minimum date and time, determine the smaller load value as the first delivery date and time, and determine the other as the second delivery date and time,
The distribution unit distributes data to the terminal at the first distribution date and time, and distributes data at the second distribution date and time when the data cannot be distributed to the terminal at the first distribution date and time. Data delivery method.
請求項7に記載のデータ配信方法。 The data distribution method according to claim 7, wherein the load value calculating means calculates the load value according to a weight determined for the message received from the terminal.
端末の負荷値を算出する処理と、
前記端末の日付における単位時間ごとの負荷値と曜日における単位時間ごとの負荷値を集計する処理と、
接続状態保持手段で、曜日および日付ごとに端末の接続時間情報を保持する処理と、
曜日に関する集計結果をもとに、負荷値が最小になる曜日および時間帯を特定し、特定した曜日および時間帯を第1の負荷値最小日時に設定する処理と、
日付に関する集計結果をもとに、負荷値が最小になる日付および時間帯を特定し、特定した日付および時間帯を第2の負荷値最小日時に設定する処理と、
前記第1の負荷値最小日時と前記第2の負荷値最小日時とにおける負荷値を比較して、負荷値が小さい方を初回配信日時に決定し、他方を第二回配信日時に決定する処理と、
前記初回配信日時に前記端末にデータを配信し、前記初回配信日時に前記端末にデータを配信できなかった場合には前記第二回配信日時にデータを配信する処理とを実行させ、
前記第1の負荷値最小日時を設定する処理で、
前記接続時間情報をもとに、負荷値が最小になる曜日において、前記端末が接続状態にある時間のうち最も遅い時間帯を特定し、特定した時間帯を第1の負荷値最小日時の時間帯に設定させ、
前記第2の負荷値最小日時を設定する処理で、
前記接続時間情報をもとに、負荷値が最小になる日付において、前記端末が接続状態にある時間のうち最も早い時間帯を特定し、特定した時間帯を第2の負荷値最小日時の時間帯に設定させる
ためのデータ配信プログラム。 On the computer,
Processing to calculate the load value of the terminal;
A process of aggregating the load value per unit time on the date of the terminal and the load value per unit time on the day of the week;
A process of holding connection time information of the terminal for each day of the week and date in the connection state holding means,
A process of identifying a day of the week and a time zone in which the load value is minimum based on the aggregation result regarding the day of the week, and setting the identified day of the week and time zone as the first load value minimum date and time;
A process for identifying a date and a time zone in which the load value is minimized based on the aggregation result regarding the date, and setting the identified date and time zone as a second load value minimum date and time;
A process of comparing load values in the first load value minimum date and time and the second load value minimum date and time to determine the smaller load value as the first delivery date and the other as the second delivery date and time. When,
Deliver data to the terminal at the first delivery date and time, and if the data could not be delivered to the terminal at the first delivery date and time, execute processing to deliver data at the second delivery date and time ,
In the process of setting the first load value minimum date and time,
Based on the connection time information, on the day of the week when the load value becomes the minimum, the latest time zone among the times when the terminal is in the connected state is specified, and the specified time zone is the time of the first load value minimum date and time. Let the band set,
In the process of setting the second load value minimum date and time,
Based on the connection time information, on the date when the load value becomes minimum, the earliest time zone among the times when the terminal is in the connected state is specified, and the specified time zone is the time of the second load value minimum date and time. Data distribution program for setting the band .
端末の負荷値を算出する処理で、
端末から受信した電文に対して定められている重みに応じて負荷値を算出させる
請求項9に記載のデータ配信プログラム。 On the computer,
In the process of calculating the load value of the terminal,
The data distribution program according to claim 9, wherein a load value is calculated according to a weight determined for a message received from a terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012022105A JP5867960B2 (en) | 2012-02-03 | 2012-02-03 | Data distribution apparatus, data distribution method, and data distribution program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012022105A JP5867960B2 (en) | 2012-02-03 | 2012-02-03 | Data distribution apparatus, data distribution method, and data distribution program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2013161224A JP2013161224A (en) | 2013-08-19 |
JP5867960B2 true JP5867960B2 (en) | 2016-02-24 |
Family
ID=49173427
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2012022105A Active JP5867960B2 (en) | 2012-02-03 | 2012-02-03 | Data distribution apparatus, data distribution method, and data distribution program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5867960B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2017162101A (en) * | 2016-03-08 | 2017-09-14 | 株式会社東芝 | Apparatus for determining optimum patch application time |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003015894A (en) * | 2001-06-28 | 2003-01-17 | Nec Corp | Patch application system, its method and patch program |
JP2004038616A (en) * | 2002-07-04 | 2004-02-05 | Matsushita Electric Ind Co Ltd | Software automatic updating device, software automatic updating method, and software automatic updating program |
JP2004258719A (en) * | 2003-02-24 | 2004-09-16 | Matsushita Electric Ind Co Ltd | Monitoring system |
JP4383952B2 (en) * | 2004-04-27 | 2009-12-16 | 株式会社エヌ・ティ・ティ・ドコモ | Data distribution apparatus and data distribution time changing method |
JP5295079B2 (en) * | 2009-11-17 | 2013-09-18 | 三菱電機株式会社 | Program download apparatus and program download method |
-
2012
- 2012-02-03 JP JP2012022105A patent/JP5867960B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2013161224A (en) | 2013-08-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2017520032A5 (en) | ||
CN109388504B (en) | Method and device for processing informationized docking, computer equipment and storage medium | |
CN109144700B (en) | Method and device for determining timeout duration, server and data processing method | |
US9292336B1 (en) | Systems and methods providing optimization data | |
JP2010204876A (en) | Distributed system | |
CN110928655A (en) | Task processing method and device | |
CN108111499B (en) | Business processing performance optimization method and device, electronic equipment and storage medium | |
CN106940631A (en) | A kind of parallel printing system based on controller | |
US20170185456A1 (en) | Dynamically scaled web service deployments | |
JP5867960B2 (en) | Data distribution apparatus, data distribution method, and data distribution program | |
US20130117275A1 (en) | Index monitoring system, index monitoring method and program | |
CN105610886B (en) | Information push control method and information push platform | |
EP3365787B1 (en) | Data storage device monitoring | |
US11609799B2 (en) | Method and system for distributed workload processing | |
JP2017027624A5 (en) | ||
US20120054751A1 (en) | Disposition determination technique | |
CN104781788A (en) | Resource management system, resource management method and program | |
JP6823257B2 (en) | Job monitoring program, job monitoring device and job monitoring method | |
JP2008003736A (en) | Method of warning shortage of computer resource | |
CN111611123B (en) | Data processing method, data processing system and equipment | |
US20090307393A1 (en) | Inbound message rate limit based on maximum queue times | |
CN111858019A (en) | Task scheduling method and device and computer readable storage medium | |
US9137367B1 (en) | Systems and methods for representative credit predicated upon relationship development | |
CN111813351B (en) | Dynamic management method and device for printing tasks, main printer and system | |
US11892930B2 (en) | Performance metric calculations |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20150107 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20150721 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20150811 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20150929 |
|
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: 20151208 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20160104 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5867960 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |