JP2014106907A - Information processing device and program - Google Patents

Information processing device and program Download PDF

Info

Publication number
JP2014106907A
JP2014106907A JP2012261567A JP2012261567A JP2014106907A JP 2014106907 A JP2014106907 A JP 2014106907A JP 2012261567 A JP2012261567 A JP 2012261567A JP 2012261567 A JP2012261567 A JP 2012261567A JP 2014106907 A JP2014106907 A JP 2014106907A
Authority
JP
Japan
Prior art keywords
synchronization
execution
source data
load
network
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
Application number
JP2012261567A
Other languages
Japanese (ja)
Inventor
Kensuke Tanaka
健介 田中
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2012261567A priority Critical patent/JP2014106907A/en
Publication of JP2014106907A publication Critical patent/JP2014106907A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Hardware Redundancy (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an information processing device and program which are capable of efficiently performing data synchronization between the information processing device and an external apparatus.SOLUTION: A server device 100 of this embodiment includes: a synchronization source data storage unit 120 that stores synchronization source data that is an execution target of synchronization processing; a synchronization execution unit 103 that executes the synchronization processing between the synchronization source data and synchronization destination data which is stored in an external apparatus that is connected via a network 10; and a synchronization execution control unit 104 that inhibits the execution of the synchronous processing performed by the synchronization execution unit 103 on the basis of at least either the load of the external apparatus or the load of the network 10. Thus, synchronization can be performed in consideration of the load of the external apparatus and the load of the network 10, thereby allowing efficient data synchronization between the server device 100 and the external apparatus.

Description

本発明は、情報処理装置およびプログラムに関する。   The present invention relates to an information processing apparatus and a program.

同期元データを記憶する情報処理装置の一例としてのプライマリサーバと同期先データを記憶する外部機器の一例としてのセカンダリサーバとがネットワークを介して接続されたシステムにおいては、プライマリサーバとセカンダリサーバとの間で同期元データと同期先データとを同期する必要がある。そして、同期元データと同期先データとを同期する方法には、システムの管理者から指示があった場合に行う方法や予め設定されたタイミングに自動的に行う方法がある。   In a system in which a primary server as an example of an information processing device that stores synchronization source data and a secondary server as an example of an external device that stores synchronization destination data are connected via a network, the primary server and the secondary server It is necessary to synchronize the synchronization source data and the synchronization destination data. As a method of synchronizing the synchronization source data and the synchronization destination data, there are a method that is performed when an instruction is given from a system administrator and a method that is automatically performed at a preset timing.

しかしながら、システムの管理者から指示があった場合に同期元データと同期先データとを同期する方法は、プライマリサーバ(情報処理装置の一例)に記憶された同期元データの更新の有無を管理者が判断して、同期を指示する必要があり、同期し忘れるなどの課題がある。また、予め設定されたタイミングに自動的に同期する方法は、セカンダリサーバ(外部機器の一例)やネットワークの負荷状況を考慮せずに同期が行われるため、同期を効率的に実行できないという課題がある。   However, the method of synchronizing the synchronization source data and the synchronization destination data when instructed by the system administrator determines whether or not the synchronization source data stored in the primary server (an example of the information processing apparatus) has been updated. Therefore, there is a problem that it is necessary to instruct synchronization and forget to synchronize. In addition, since the method of automatically synchronizing with a preset timing is synchronized without considering the secondary server (an example of an external device) or the load state of the network, there is a problem that synchronization cannot be performed efficiently. is there.

本発明は、上記に鑑みてなされたものであって、情報処理装置と外部機器との間で効率的にデータの同期を行うことができる情報処理装置およびプログラムを提供することを目的とする。   The present invention has been made in view of the above, and an object of the present invention is to provide an information processing apparatus and a program that can efficiently synchronize data between the information processing apparatus and an external device.

上述した課題を解決し、目的を達成するために、本発明は、同期元データを記憶する記憶部と、同期元データと、ネットワークを介して接続された外部機器に記憶された同期先データとを同期させる同期処理を実行する実行部と、外部機器の負荷およびネットワークの負荷の少なくともいずれか一方に基づいて、同期処理の実行を禁止する制御部と、を備えたことを特徴とする。   In order to solve the above-described problems and achieve the object, the present invention provides a storage unit that stores synchronization source data, synchronization source data, synchronization destination data stored in an external device connected via a network, and And a control unit that prohibits execution of the synchronization process based on at least one of a load on an external device and a load on the network.

また、本発明は、同期元データを記憶する記憶部を備えた情報処理装置を制御するコンピュータを、同期元データと、情報処理装置とネットワークを介して接続された外部機器に記憶された同期先データとを同期させる同期処理を実行する実行部と、外部機器の負荷およびネットワークの負荷の少なくともいずれか一方に基づいて、同期処理の実行を禁止する制御部と、して機能させる。   The present invention also provides a computer that controls an information processing apparatus including a storage unit that stores synchronization source data, a synchronization destination stored in synchronization source data and an external device connected to the information processing apparatus via a network. It functions as an execution unit that executes a synchronization process that synchronizes data and a control unit that prohibits the execution of the synchronization process based on at least one of a load on an external device and a load on a network.

本発明によれば、情報処理装置と外部機器との間で効率的にデータの同期を行うことができる、という効果を奏する。   According to the present invention, there is an effect that data can be efficiently synchronized between the information processing apparatus and the external device.

図1は、本実施の形態にかかる同期処理システムの構成を示すブロック図である。FIG. 1 is a block diagram showing a configuration of a synchronous processing system according to the present embodiment. 図2は、本実施の形態にかかるサーバ装置の機能構成を示すブロック図である。FIG. 2 is a block diagram illustrating a functional configuration of the server apparatus according to the present embodiment. 図3は、本実施の形態にかかるサーバ装置の同期ルール記憶部が記憶する同期ルールのデータ構成を示す図である。FIG. 3 is a diagram illustrating a data configuration of a synchronization rule stored in the synchronization rule storage unit of the server device according to the present embodiment. 図4は、本実施の形態にかかるサーバ装置における同期ルールの設定処理の流れを示すフローチャートである。FIG. 4 is a flowchart showing the flow of the synchronization rule setting process in the server device according to this embodiment. 図5は、本実施の形態にかかるサーバ装置における同期処理の実行の流れを示すフローチャートである。FIG. 5 is a flowchart showing a flow of execution of synchronization processing in the server device according to the present embodiment. 図6は、本実施の形態にかかるサーバ装置のハードウェア構成の一例を示す図である。FIG. 6 is a diagram illustrating an example of a hardware configuration of the server apparatus according to the present embodiment.

以下に添付図面を参照して、情報処理装置およびプログラムの実施の形態を詳細に説明する。   Hereinafter, embodiments of an information processing apparatus and a program will be described in detail with reference to the accompanying drawings.

図1は、本実施の形態にかかる同期処理システムの構成を示すブロック図である。本実施の形態にかかる同期処理システム1は、図1に示すように、ネットワーク10を介して、サーバ装置100、スキャナ装置200、ロードバランスサーバ装置300およびセカンダリサーバ装置400が接続されている。   FIG. 1 is a block diagram showing a configuration of a synchronous processing system according to the present embodiment. As shown in FIG. 1, the synchronization processing system 1 according to the present embodiment is connected to a server device 100, a scanner device 200, a load balance server device 300, and a secondary server device 400 via a network 10.

サーバ装置100は、同期元データ(例えば、プロファイルA、プロファイルB、システム設定など)を記憶する同期元データ記憶部120(図2参照)および当該同期元データを用いて行われる同期処理のルール(以下、同期ルールという)のデータを記憶する同期ルール記憶部110(図2参照)を有し、同期ルールに従って同期処理を実行する情報処理装置である。同期処理および同期ルールの詳細については後述する。   The server apparatus 100 includes a synchronization source data storage unit 120 (see FIG. 2) that stores synchronization source data (for example, profile A, profile B, system settings, and the like) and rules for synchronization processing performed using the synchronization source data ( The information processing apparatus includes a synchronization rule storage unit 110 (refer to FIG. 2) that stores data (hereinafter referred to as synchronization rules) and executes synchronization processing according to the synchronization rules. Details of the synchronization processing and the synchronization rules will be described later.

スキャナ装置200は、サーバ装置100に記憶された同期元データの同期処理の実行対象となる同期先データ(例えば、プロファイルAなど)を記憶する記憶部210(図2参照)を有する外部機器である。   The scanner device 200 is an external device having a storage unit 210 (see FIG. 2) that stores synchronization destination data (for example, profile A) that is an execution target of synchronization processing of synchronization source data stored in the server device 100. .

ロードバランスサーバ装置300は、サーバ装置100に記憶された同期元データの同期処理の実行対象となる同期先データ(例えば、システム設定など)を記憶する記憶部310(図2参照)を有する外部機器である。   The load balance server apparatus 300 includes an external device having a storage unit 310 (see FIG. 2) that stores synchronization destination data (for example, system settings and the like) that is an execution target of synchronization processing of synchronization source data stored in the server apparatus 100. It is.

セカンダリサーバ装置400は、サーバ装置100に記憶された同期元データの同期処理の実行対象となる同期先データ(例えば、プロファイルB、システム設定など)を記憶する記憶部410(図2参照)を有する外部機器である。   The secondary server apparatus 400 includes a storage unit 410 (see FIG. 2) that stores synchronization destination data (for example, profile B, system settings, and the like) that is an execution target of synchronization processing of synchronization source data stored in the server apparatus 100. It is an external device.

図2は、本実施の形態にかかるサーバ装置の機能構成を示すブロック図である。本実施の形態にかかるサーバ装置100は、同期ルール設定部101、同期元データ取得部102、同期実行部103、同期実行制御部104、同期ルール記憶部110および同期元データ記憶部120を備えている。   FIG. 2 is a block diagram illustrating a functional configuration of the server apparatus according to the present embodiment. The server device 100 according to the present embodiment includes a synchronization rule setting unit 101, a synchronization source data acquisition unit 102, a synchronization execution unit 103, a synchronization execution control unit 104, a synchronization rule storage unit 110, and a synchronization source data storage unit 120. Yes.

同期元データ記憶部120は、プロファイルA、プロファイルB、システム設定などの同期元データを記憶する。   The synchronization source data storage unit 120 stores synchronization source data such as profile A, profile B, and system settings.

同期ルール記憶部110は、同期元データ記憶部120に記憶された同期元データと、スキャナ装置200、ロードバランスサーバ装置300、セカンダリサーバ装置400などの記憶部210,310,410に記憶された同期先データと、の同期処理を実行する際の規則である同期ルールのデータを記憶する。   The synchronization rule storage unit 110 is synchronized with the synchronization source data stored in the synchronization source data storage unit 120 and the synchronization units stored in the storage units 210, 310, and 410 such as the scanner device 200, the load balance server device 300, and the secondary server device 400. Data of a synchronization rule that is a rule for executing a synchronization process with the previous data is stored.

図3は、本実施の形態にかかるサーバ装置の同期ルール記憶部が記憶する同期ルールのデータ構成を示す図である。本実施の形態では、同期ルール記憶部110に記憶された同期ルールのデータは、図3に示すように、同期元データ名データ301に対応付けて、同期先データ302、同期タイミングデータ303および同期条件データ304を記憶する。   FIG. 3 is a diagram illustrating a data configuration of a synchronization rule stored in the synchronization rule storage unit of the server device according to the present embodiment. In the present embodiment, the synchronization rule data stored in the synchronization rule storage unit 110 is associated with the synchronization source data name data 301 in association with the synchronization source data name data 301, as shown in FIG. The condition data 304 is stored.

同期元データ名データ301は、同期元データ記憶部120に記憶された同期元データを識別する同期元データ名のデータである。   The synchronization source data name data 301 is data of a synchronization source data name that identifies the synchronization source data stored in the synchronization source data storage unit 120.

同期先データ302は、同期元データ名データ301が表す同期元データ名により識別される同期元データと同期処理を実行する同期先データを記憶する外部機器のデータである。   The synchronization destination data 302 is data of an external device that stores the synchronization source data identified by the synchronization source data name represented by the synchronization source data name data 301 and the synchronization destination data for executing the synchronization process.

同期タイミングデータ303は、同期元データ名データ301が表す同期元データ名により識別される同期元データと、同期先データ302が表す外部機器に記憶された同期先データとの同期処理を実行する予め設定されたタイミングのデータである。   The synchronization timing data 303 is used in advance to execute a synchronization process between the synchronization source data identified by the synchronization source data name represented by the synchronization source data name data 301 and the synchronization destination data stored in the external device represented by the synchronization destination data 302. It is the data of the set timing.

同期条件データ304は、同期元データ名データ301が表す同期元データ名により識別される同期元データと、同期先データ302が表す外部機器に記憶された同期先データとの同期処理を実行可能な条件のデータである。   The synchronization condition data 304 can execute synchronization processing between the synchronization source data identified by the synchronization source data name represented by the synchronization source data name data 301 and the synchronization destination data stored in the external device represented by the synchronization destination data 302. Condition data.

図2に戻り、同期ルール設定部101は、サーバ装置100の管理者の操作に応じて入力された同期ルールのデータを同期ルール記憶部110に記憶させて、同期ルールの設定処理を実行する。   Returning to FIG. 2, the synchronization rule setting unit 101 stores the synchronization rule data input in accordance with the operation of the administrator of the server apparatus 100 in the synchronization rule storage unit 110, and executes the synchronization rule setting process.

図4は、本実施の形態にかかるサーバ装置における同期ルールの設定処理の流れを示すフローチャートである。本実施の形態では、同期ルール設定部101は、図4に示すように、サーバ装置100の管理者の操作に応じて入力された同期ルールの入力を受け付ける(ステップS401)。次いで、同期ルール設定部101は、入力を受け付けた同期ルールのデータを同期ルール記憶部110に保存する(ステップS402)。   FIG. 4 is a flowchart showing the flow of the synchronization rule setting process in the server device according to this embodiment. In the present embodiment, as shown in FIG. 4, the synchronization rule setting unit 101 receives an input of a synchronization rule that is input in accordance with an operation of an administrator of the server device 100 (step S401). Next, the synchronization rule setting unit 101 stores the data of the synchronization rule that has received the input in the synchronization rule storage unit 110 (step S402).

図2に戻り、同期元データ取得部102は、同期元データ記憶部120から、同期処理の実行対象の同期元データを取得する。そして、同期元データ取得部102は、取得した同期元データを同期実行部103に送る。   Returning to FIG. 2, the synchronization source data acquisition unit 102 acquires synchronization source data to be subjected to synchronization processing from the synchronization source data storage unit 120. Then, the synchronization source data acquisition unit 102 sends the acquired synchronization source data to the synchronization execution unit 103.

同期実行部103は、同期元データ取得部102により取得された同期元データと、外部機器に記憶された同期先データとの同期処理を実行する実行部として機能する。   The synchronization execution unit 103 functions as an execution unit that executes a synchronization process between the synchronization source data acquired by the synchronization source data acquisition unit 102 and the synchronization destination data stored in the external device.

同期実行制御部104は、外部機器の負荷およびネットワーク10の負荷の少なくともいずれか一方に基づいて、同期実行部103による同期処理の実行を禁止する制御部として機能する。   The synchronization execution control unit 104 functions as a control unit that prohibits execution of synchronization processing by the synchronization execution unit 103 based on at least one of the load on the external device and the load on the network 10.

次に、図5を用いて、本実施の形態にかかるサーバ装置100において実行する同期処理について詳細に説明する。図5は、本実施の形態にかかるサーバ装置における同期処理の実行の流れを示すフローチャートである。   Next, the synchronization processing executed in the server apparatus 100 according to the present embodiment will be described in detail with reference to FIG. FIG. 5 is a flowchart showing a flow of execution of synchronization processing in the server device according to the present embodiment.

同期実行部103は、同期ルール記憶部110に記憶された同期タイミングデータ303が表す同期タイミングを参照して、ネットワーク10を介して接続された外部機器毎に、同期処理を実行するタイミング(予め設定されたタイミング)となったか否かを判断して、同期処理の実行を開始する。例えば、同期タイミングデータ303が表す同期タイミングが「毎日12時」や「6時間ごと」等である場合、同期実行部103は、予め設定された時間または一定時間毎に同期処理の実行を開始させることができるスケジューラによって実現可能である。また、同期タイミングデータ303が表す同期タイミングが「管理者がロードバランスサーバ装置からログアウトしたとき」などユーザインタフェースを介して管理者がサーバ装置100に対して操作を行ったタイミングである場合、同期実行部103は、当該サーバ装置100に対する操作を行ったタイミングをトリガとして同期処理の実行を開始させる。   The synchronization execution unit 103 refers to the synchronization timing represented by the synchronization timing data 303 stored in the synchronization rule storage unit 110, and executes a synchronization process for each external device connected via the network 10 (set in advance). And the execution of the synchronization process is started. For example, when the synchronization timing represented by the synchronization timing data 303 is “every day at 12:00” or “every 6 hours”, the synchronization execution unit 103 starts executing the synchronization processing at a preset time or every predetermined time. It can be realized by a scheduler that can. In addition, when the synchronization timing represented by the synchronization timing data 303 is a timing when the administrator performs an operation on the server apparatus 100 via the user interface such as “when the administrator logs out from the load balance server apparatus”, the synchronization execution is performed. The unit 103 starts the execution of the synchronization process with the timing when the operation on the server device 100 is performed as a trigger.

同期処理の実行を開始後、同期実行部103は、まず、前回の同期処理から現在までに、同期元データ記憶部120に記憶された同期元データが更新されたか否かを判断する(ステップS501)。具体的には、同期実行部103は、同期ルール記憶部110に記憶された同期元データ名データ301のうち、同期処理の実行の開始のトリガとなった同期タイミングを表す同期タイミングデータ303と対応付けて記憶された同期元データ名データ301を特定する。そして、同期実行部103は、同期元データ記憶部120に記憶された同期元データのうち、特定した同期元データ名データ301が表す同期元データ名により識別される同期元データが更新されたか否かを判断する。そして、同期実行部103は、同期元データ記憶部120に記憶された同期元データが更新されていないと判断した場合(ステップS501:No)、同期実行部103は、同期処理の実行を終了する。   After starting the execution of the synchronization process, the synchronization execution unit 103 first determines whether or not the synchronization source data stored in the synchronization source data storage unit 120 has been updated from the previous synchronization process to the present time (step S501). ). Specifically, the synchronization execution unit 103 corresponds to the synchronization timing data 303 that represents the synchronization timing that triggered the start of the execution of the synchronization process, among the synchronization source data name data 301 stored in the synchronization rule storage unit 110. The synchronization source data name data 301 stored together is specified. Then, the synchronization execution unit 103 determines whether or not the synchronization source data identified by the synchronization source data name represented by the identified synchronization source data name data 301 among the synchronization source data stored in the synchronization source data storage unit 120 has been updated. Determine whether. When the synchronization execution unit 103 determines that the synchronization source data stored in the synchronization source data storage unit 120 has not been updated (step S501: No), the synchronization execution unit 103 ends the execution of the synchronization process. .

一方、同期元データ記憶部120に記憶された同期元データが更新されていると判断した場合(ステップS501:Yes)、同期実行部103は、同期対象データ取得部102に対して同期元データの取得を指示する取得指示を送る。ここで、取得指示には、同期ルール記憶部110に記憶された同期元データ名データ301のうち、同期処理の実行の開始のトリガとなった同期タイミングデータ303と対応付けて記憶された同期元データ名データ301を含む。   On the other hand, when it is determined that the synchronization source data stored in the synchronization source data storage unit 120 has been updated (step S501: Yes), the synchronization execution unit 103 sends the synchronization source data to the synchronization target data acquisition unit 102. Send an acquisition instruction to instruct acquisition. Here, the acquisition instruction includes, in the synchronization source data name data 301 stored in the synchronization rule storage unit 110, the synchronization source stored in association with the synchronization timing data 303 that is a trigger for starting the execution of the synchronization process. Data name data 301 is included.

同期元データ取得部102は、同期実行部103から取得指示を受け取ると、同期元データ記憶部120から、取得指示に含まれる同期元データ名データ301が表す同期元データ名により識別される同期元データを取得する(ステップS502)。そして、同期元データ取得部102は、取得した同期元データを同期実行部103に送る。   When receiving the acquisition instruction from the synchronization execution unit 103, the synchronization source data acquisition unit 102 receives from the synchronization source data storage unit 120 the synchronization source identified by the synchronization source data name represented by the synchronization source data name data 301 included in the acquisition instruction. Data is acquired (step S502). Then, the synchronization source data acquisition unit 102 sends the acquired synchronization source data to the synchronization execution unit 103.

また、同期タイミングデータ303が同期タイミング(予め設定されたタイミング)において同期元データ記憶部120に記憶された同期元データが更新されていると判断した場合(ステップS501:Yes)、同期実行制御部104は、外部機器の負荷およびネットワーク10の負荷の少なくともいずれか一方に基づいて、同期処理の実行を禁止するか否かを判定する(ステップS503)。すなわち、同期実行制御部104は、予め設定されたタイミングに、外部機器の負荷が大きいか否かおよびネットワーク10の負荷が大きいか否かの少なくともいずれか一方に基づいて同期処理の実行を禁止するか否かを判定する。これにより、同期処理の実行をサーバ装置100の管理者が指示する必要がなくなるので、管理者の負担を軽減することができる。   When the synchronization timing data 303 determines that the synchronization source data stored in the synchronization source data storage unit 120 has been updated at the synchronization timing (preset timing) (step S501: Yes), the synchronization execution control unit 104 determines whether to prohibit the execution of the synchronization process based on at least one of the load on the external device and the load on the network 10 (step S503). That is, the synchronization execution control unit 104 prohibits execution of synchronization processing at a preset timing based on at least one of whether the load on the external device is large and whether the load on the network 10 is large. It is determined whether or not. This eliminates the need for the administrator of the server apparatus 100 to instruct execution of the synchronization process, thereby reducing the burden on the administrator.

例えば、同期ルール記憶部110において、同期処理の実行の開始のトリガとなった同期タイミングデータ303と対応付けて記憶された同期条件データ304が表す同期条件が「セカンダリサーバ装置のアイドル時間が10分以上のとき」である場合、同期実行制御部104は、セカンダリサーバ装置400のアイドル時間(すなわち、セカンダリサーバ装置400が待機状態に遷移してからの経過時間)をセカンダリサーバ装置400の負荷として計算する。そして、同期実行制御部104は、計算したアイドル時間が予め設定された時間(例えば、10分)以上の場合、外部機器であるセカンダリサーバ装置400の負荷が小さいと判断して、同期処理の実行を許可する。一方、同期実行制御部104は、計算したアイドル時間が予め設定された時間より短い場合、セカンダリサーバ装置400の負荷が大きいと判断して、同期処理の実行を禁止する。これにより、セカンダリサーバ装置400の負荷が大きいときに同期処理が実行されるのを防止できる。   For example, in the synchronization rule storage unit 110, the synchronization condition represented by the synchronization condition data 304 stored in association with the synchronization timing data 303 that is a trigger for starting the execution of the synchronization process is “the idle time of the secondary server device is 10 minutes. When the above is true, the synchronous execution control unit 104 calculates the idle time of the secondary server device 400 (that is, the elapsed time since the secondary server device 400 transitions to the standby state) as the load of the secondary server device 400. To do. Then, when the calculated idle time is equal to or longer than a preset time (for example, 10 minutes), the synchronization execution control unit 104 determines that the load on the secondary server device 400 that is an external device is small, and executes the synchronization process. Allow. On the other hand, if the calculated idle time is shorter than the preset time, the synchronization execution control unit 104 determines that the load on the secondary server device 400 is large and prohibits execution of the synchronization process. Thereby, it is possible to prevent the synchronization process from being executed when the load on the secondary server device 400 is large.

また、同期ルール記憶部110において、同期処理の実行の開始のトリガとなった同期タイミングデータ303と対応付けて記憶された同期条件データ304が表す同期条件が「直前のネットワークトラフィックが○MB以下のとき」である場合、同期実行制御部104は、直前のネットワークトラフィック(すなわち、ネットワーク10を流れるデータ量)をネットワーク10の負荷として計算する。そして、同期実行制御部104は、計算したネットワークトラフィックが所定の閾値(例えば、○MB)以下の場合、ネットワーク10の負荷が小さいと判断して、同期処理の実行を許可する。一方、同期実行制御部104は、計算したネットワークトラフィックが所定の閾値より多い場合(すなわち、ネットワーク10の負荷が所定の閾値より高い場合)、ネットワーク10の負荷が大きいと判断して、同期処理の実行を禁止する。これにより、ネットワーク10の負荷が大きいときに同期処理が実行されるのを防止できる。   In the synchronization rule storage unit 110, the synchronization condition represented by the synchronization condition data 304 stored in association with the synchronization timing data 303 that is the trigger for starting the execution of the synchronization process is “the previous network traffic is less than or equal to ○ MB”. In the case of “time”, the synchronization execution control unit 104 calculates the immediately preceding network traffic (that is, the amount of data flowing through the network 10) as the load of the network 10. Then, when the calculated network traffic is equal to or less than a predetermined threshold (for example, ◯ MB), the synchronization execution control unit 104 determines that the load on the network 10 is small and permits the execution of the synchronization process. On the other hand, when the calculated network traffic is greater than the predetermined threshold (that is, when the load on the network 10 is higher than the predetermined threshold), the synchronization execution control unit 104 determines that the load on the network 10 is large and performs the synchronization process. Prohibit execution. Thereby, it is possible to prevent the synchronization process from being executed when the load on the network 10 is large.

本実施の形態では、外部機器の負荷またはネットワーク10の負荷に基づいて、同期処理の実行の禁止を判定する例について説明したが、外部機器の負荷およびネットワーク10の負荷に基づいて、同期処理の実行の禁止を判定しても良い。例えば、同期実行制御部104は、外部機器のアイドル時間が予め設定された時間より短い場合およびネットワークトラフィックが所定の閾値より多い場合の両方を満たした場合に、同期処理の実行を禁止する。   In this embodiment, the example in which the prohibition of the execution of the synchronization process is determined based on the load of the external device or the load of the network 10 has been described. However, the synchronization process is determined based on the load of the external device and the load of the network 10. The prohibition of execution may be determined. For example, the synchronization execution control unit 104 prohibits the execution of the synchronization process when both the case where the idle time of the external device is shorter than a preset time and the case where the network traffic is greater than a predetermined threshold are satisfied.

また、本実施の形態では、同期実行制御部104は、セカンダリサーバ装置400のアイドル時間(外部機器の負荷の一例)が予め設定された時間より長いか否かまたはネットワーク10の負荷が所定の閾値より高いか否かに基づいて、同期処理の実行を禁止するか否かを判定する判定処理を行っているが、外部機器の負荷およびネットワーク10の負荷の少なくともいずれか一方に基づいて、同期処理の実行を禁止するものであれば良い。例えば、同期実行制御部104は、セカンダリサーバ装置400のアイドル時間が、予め設定された時間若しくは当該予め設定された時間より所定時間(例えば、1分など)短い時間となっている状態が続いている場合に、同期処理の実行を禁止しても良い。または、同期実行制御部104は、ネットワーク10の負荷が、所定の閾値若しくは当該所定の閾値より所定の値低い値となっている状態が続いている場合に、同期処理の実行を禁止しても良い。または、同期実行制御部104は、セカンダリサーバ装置400のアイドル時間が予め設定された時間若しくは当該予め設定された時間より所定時間短い時間となっている状態が続き、かつネットワーク10の負荷が所定の閾値若しくは当該所定の閾値より所定の値低い値となっている状態が続いている場合に、同期処理の実行を禁止しても良い。   In the present embodiment, the synchronization execution control unit 104 determines whether the idle time of the secondary server apparatus 400 (an example of the load of the external device) is longer than a preset time or the load of the network 10 is a predetermined threshold value. A determination process for determining whether to prohibit the execution of the synchronization process is performed based on whether or not the synchronization process is higher, but the synchronization process is performed based on at least one of the load on the external device and the load on the network 10. Anything that prohibits execution is acceptable. For example, the synchronization execution control unit 104 continues the state where the idle time of the secondary server device 400 is a preset time or a predetermined time (for example, one minute) shorter than the preset time. In such a case, the execution of the synchronization process may be prohibited. Alternatively, the synchronization execution control unit 104 may prohibit the execution of the synchronization process when the load on the network 10 continues to be a predetermined threshold value or a value lower than the predetermined threshold value by a predetermined value. good. Alternatively, the synchronization execution control unit 104 continues the state in which the idle time of the secondary server device 400 is a preset time or a time shorter than the preset time by a predetermined time, and the load on the network 10 is a predetermined value. The execution of the synchronization process may be prohibited when the threshold value or a state that is a predetermined value lower than the predetermined threshold value continues.

同期処理の実行を許可すると判定された場合(ステップS503:No)、同期実行部103は、同期元データ取得部102により取得された同期元データを、同期ルール記憶部110に記憶された同期先データ302のうち同期処理の実行の開始のトリガとなった同期タイミングデータ303と対応付けて記憶された同期先データ302が表す同期先により識別される外部機器に送信する。これにより、同期実行部103は、取得された同期元データと、外部機器に記憶された同期先データとの同期処理を実行する(ステップS504)。   When it is determined that the execution of the synchronization process is permitted (step S503: No), the synchronization execution unit 103 stores the synchronization source data acquired by the synchronization source data acquisition unit 102 in the synchronization rule storage unit 110. The data 302 is transmitted to the external device identified by the synchronization destination represented by the synchronization destination data 302 stored in association with the synchronization timing data 303 that is the trigger for starting the execution of the synchronization processing. Thereby, the synchronization execution unit 103 executes a synchronization process between the acquired synchronization source data and the synchronization destination data stored in the external device (step S504).

一方、同期処理の実行を禁止すると判定された場合(ステップS503:Yes)、同期実行部103は、同期処理の実行を終了する。同期実行制御部104は、同期処理の実行を禁止した場合、同期処理の実行を禁止した同期タイミングから当該同期タイミングの次の同期タイミングまでの間に、同期処理を実行させる。言い換えると、同期実行制御部104は、同期処理の実行を禁止したある同期タイミングから、同期タイミングの間隔より短い所定時間経過した際に、同期処理を実行させる。これにより、ある同期タイミングにおいて同期処理の実行が禁止された場合に、次の同期タイミングまで同期処理が実行されず、外部機器に記憶された同期先データが古いデータのまま記憶され続けることを防止できる。   On the other hand, when it is determined that the execution of the synchronization process is prohibited (step S503: Yes), the synchronization execution unit 103 ends the execution of the synchronization process. When the execution of the synchronization process is prohibited, the synchronization execution control unit 104 causes the synchronization process to be executed between the synchronization timing at which the execution of the synchronization process is prohibited and the next synchronization timing of the synchronization timing. In other words, the synchronization execution control unit 104 causes the synchronization process to be executed when a predetermined time shorter than the synchronization timing interval elapses from a certain synchronization timing at which execution of the synchronization process is prohibited. This prevents synchronization processing from being executed until the next synchronization timing when synchronization processing is prohibited at a certain synchronization timing, and prevents the synchronization destination data stored in the external device from being stored as old data. it can.

図6は、本実施の形態にかかるサーバ装置のハードウェア構成の一例を示す図である。本実施の形態のサーバ装置100は、CPU601などの制御装置と、ROM(Read Only Memory)602やRAM(Random Access Memory)603等の主記憶装置と、ネットワーク10に接続するための通信I/F604と、HDD(Hard Disk Drive)605や光学ドライブ606等の外部記憶装置を備えている。CPU601、ROM602、RAM603、通信I/F604、HDD605および光学ドライブ606は、バス607を介して、接続されている。   FIG. 6 is a diagram illustrating an example of a hardware configuration of the server apparatus according to the present embodiment. The server device 100 according to the present embodiment includes a control device such as a CPU 601, a main storage device such as a ROM (Read Only Memory) 602 and a RAM (Random Access Memory) 603, and a communication I / F 604 for connection to the network 10. And an external storage device such as an HDD (Hard Disk Drive) 605 and an optical drive 606. The CPU 601, ROM 602, RAM 603, communication I / F 604, HDD 605, and optical drive 606 are connected via a bus 607.

本実施の形態のサーバ装置100で実行されるプログラムは、インストール可能な形式又は実行可能な形式のファイルでCD−ROM、フレキシブルディスク(FD)、CD−R、DVD(Digital Versatile Disk)等のコンピュータで読み取り可能な記録媒体に記録されてコンピュータ・プログラム・プロダクトとして提供される。   The program executed in the server apparatus 100 according to the present embodiment is a file in an installable format or an executable format, and is a computer such as a CD-ROM, a flexible disk (FD), a CD-R, or a DVD (Digital Versatile Disk). Recorded on a readable recording medium and provided as a computer program product.

また、本実施の形態のサーバ装置100で実行されるプログラムを、インターネット等のネットワーク10に接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることにより提供するように構成してもよい。また、本実施の形態のサーバ装置100で実行されるプログラムをインターネット等のネットワーク経由で提供または配布するように構成してもよい。   Further, the program executed by the server device 100 of the present embodiment may be configured to be stored by being stored on a computer connected to the network 10 such as the Internet and downloaded via the network. Further, the program executed by the server apparatus 100 of the present embodiment may be configured to be provided or distributed via a network such as the Internet.

また、本実施の形態のサーバ装置100のプログラムを、ROM等に予め組み込んで提供するように構成してもよい。   Further, the program of the server apparatus 100 of the present embodiment may be configured to be provided by being incorporated in advance in a ROM or the like.

本実施の形態のサーバ装置100で実行されるプログラムは、上述した各部(同期ルール設定部101、同期元データ取得部102、同期実行部103および同期実行制御部104)を含むモジュール構成となっており、実際のハードウェアとしてはCPU(プロセッサ)が上記記憶媒体からプログラムを読み出して実行することにより上記各部が主記憶装置上にロードされ、同期ルール設定部101、同期元データ取得部102、同期実行部103および同期実行制御部104が主記憶装置上に生成されるようになっている。   The program executed by the server device 100 according to the present embodiment has a module configuration including the above-described units (synchronization rule setting unit 101, synchronization source data acquisition unit 102, synchronization execution unit 103, and synchronization execution control unit 104). As actual hardware, a CPU (processor) reads the program from the storage medium and executes it, so that the above-described units are loaded onto the main storage device, and the synchronization rule setting unit 101, the synchronization source data acquisition unit 102, the synchronization An execution unit 103 and a synchronous execution control unit 104 are generated on the main storage device.

このように本実施の形態のサーバ装置100によれば、同期処理の実行対象の同期元データを記憶する同期元データ記憶部120と、同期元データと、ネットワーク10を介して接続された外部機器に記憶された同期先データとの同期処理を実行する同期実行部103と、外部機器の負荷およびネットワーク10の負荷の少なくともいずれか一方に基づいて、同期実行部103による同期処理の実行を禁止する同期実行制御部104と、を備えることにより、外部機器の負荷やネットワーク10の負荷を考慮して効率的にデータの同期が行えない場合を避けて同期を行うことができるので、サーバ装置100と外部機器との間で効率的にデータの同期を行うことができる。   As described above, according to the server device 100 of the present embodiment, the synchronization source data storage unit 120 that stores the synchronization source data to be subjected to synchronization processing, the synchronization source data, and the external device connected via the network 10 The synchronization execution unit 103 that executes the synchronization process with the synchronization destination data stored in the server and the synchronization execution unit 103 prohibits the execution of the synchronization process based on at least one of the load on the external device and the load on the network 10. Since the synchronization execution control unit 104 is provided, the synchronization can be performed while avoiding the case where the data cannot be efficiently synchronized in consideration of the load on the external device and the load on the network 10. Data can be efficiently synchronized with an external device.

1 同期処理システム
10 ネットワーク
100 サーバ装置
101 同期ルール設定部
102 同期元データ取得部
103 同期実行部
104 同期実行制御部
110 同期ルール記憶部
120 同期元データ記憶部
200 スキャナ装置
300 ロードバランスサーバ装置
400 セカンダリサーバ装置
210,310,410 記憶部
601 CPU
602 ROM
603 RAM
604 通信I/F
605 HDD
606 光学ドライブ
607 バス
DESCRIPTION OF SYMBOLS 1 Synchronization processing system 10 Network 100 Server apparatus 101 Synchronization rule setting part 102 Synchronization source data acquisition part 103 Synchronization execution part 104 Synchronization execution control part 110 Synchronization rule storage part 120 Synchronization source data storage part 200 Scanner apparatus 300 Load balance server apparatus 400 Secondary Server device 210, 310, 410 Storage unit 601 CPU
602 ROM
603 RAM
604 Communication I / F
605 HDD
606 Optical drive 607 Bus

特許第4942686号公報Japanese Patent No. 4926686

Claims (6)

同期元データを記憶する記憶部と、
前記同期元データと、ネットワークを介して接続された外部機器に記憶された同期先データとを同期させる同期処理を実行する実行部と、
前記外部機器の負荷および前記ネットワークの負荷の少なくともいずれか一方に基づいて、前記同期処理の実行を禁止する制御部と、
を備えたことを特徴とする情報処理装置。
A storage unit for storing synchronization source data;
An execution unit that executes synchronization processing for synchronizing the synchronization source data and synchronization destination data stored in an external device connected via a network;
A control unit that prohibits execution of the synchronization processing based on at least one of a load on the external device and a load on the network;
An information processing apparatus comprising:
前記実行部は、予め設定されたタイミングに、前記同期処理を実行することを特徴とする請求項1に記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the execution unit executes the synchronization process at a preset timing. 前記制御部は、前記タイミングに前記同期処理の実行を禁止した場合、前記タイミングから当該タイミングの次の前記タイミングまでの間に、前記同期処理を実行させることを特徴とする請求項2に記載の情報処理装置。   3. The control unit according to claim 2, wherein when the execution of the synchronization process is prohibited at the timing, the control unit causes the synchronization process to be executed between the timing and the timing next to the timing. Information processing device. 前記制御部は、前記外部機器が待機状態に遷移してからの経過時間が予め設定された時間より短い場合、前記同期処理の実行を禁止することを特徴とする請求項1から3のいずれか一に記載の情報処理装置。   The said control part prohibits execution of the said synchronous process, when the elapsed time after the said external apparatus changes to a standby state is shorter than the preset time. The information processing apparatus according to one. 前記制御部は、前記ネットワークの負荷が所定の閾値より高い場合、前記同期処理の実行を禁止することを特徴とする請求項1から4のいずれか一に記載の情報処理装置。   5. The information processing apparatus according to claim 1, wherein the control unit prohibits execution of the synchronization process when a load on the network is higher than a predetermined threshold. 同期元データを記憶する記憶部を備えた情報処理装置を制御するコンピュータを、
前記同期元データと、前記情報処理装置とネットワークを介して接続された外部機器に記憶された同期先データとを同期させる同期処理を実行する実行部と、
前記外部機器の負荷および前記ネットワークの負荷の少なくともいずれか一方に基づいて、前記同期処理の実行を禁止する制御部と、
して機能させるためのプログラム。
A computer that controls an information processing apparatus including a storage unit that stores synchronization source data;
An execution unit for executing synchronization processing for synchronizing the synchronization source data and the synchronization destination data stored in the external device connected to the information processing apparatus via a network;
A control unit that prohibits execution of the synchronization processing based on at least one of a load on the external device and a load on the network;
Program to make it function.
JP2012261567A 2012-11-29 2012-11-29 Information processing device and program Pending JP2014106907A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012261567A JP2014106907A (en) 2012-11-29 2012-11-29 Information processing device and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012261567A JP2014106907A (en) 2012-11-29 2012-11-29 Information processing device and program

Publications (1)

Publication Number Publication Date
JP2014106907A true JP2014106907A (en) 2014-06-09

Family

ID=51028295

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012261567A Pending JP2014106907A (en) 2012-11-29 2012-11-29 Information processing device and program

Country Status (1)

Country Link
JP (1) JP2014106907A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107766132A (en) * 2017-06-25 2018-03-06 平安科技(深圳)有限公司 Multi-task scheduling method, application server and computer-readable recording medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107766132A (en) * 2017-06-25 2018-03-06 平安科技(深圳)有限公司 Multi-task scheduling method, application server and computer-readable recording medium

Similar Documents

Publication Publication Date Title
US9753941B2 (en) Storage system and method for processing data operation request
US20180183965A1 (en) Information processing apparatus, method for controlling information processing apparatus, image forming apparatus, method for controlling image forming apparatus, and information processing system
US20150199518A1 (en) Image forming apparatus that performs update of firmware, and control method therefor
US20130262913A1 (en) Information processing apparatus, system time synchronization method and computer readable medium
CN105786539B (en) File downloading method and device
JP2007324850A (en) Stream data processor, and stream data processing method
JP2012198674A (en) Printer driver, information processor, and recording medium
JP6457340B2 (en) Estimation apparatus, system, method, and program
JPWO2015133216A1 (en) Data transmission system, terminal device, program and method
JP2014106907A (en) Information processing device and program
JP2008236266A (en) Transmission device, frame for maintenance processing method and transmission program
US11263112B2 (en) Method and apparatus for evaluating quality of software running environment of device
JP2008227884A (en) Image processor
US10153945B2 (en) Information processing apparatus, control method, and storage medium storing program
CN112698783A (en) Object storage method, device and system
US20220326729A1 (en) Device clock setting while booting a device
US9699345B2 (en) Processing apparatus, method for controlling the same, and storage medium
JP5839664B2 (en) Software distribution server, software distribution method, software distribution program, and recording medium
JP2016020034A (en) Information processing device, control method of the same, and program
US10951472B2 (en) Information processing device and information processing system
JP6631343B2 (en) Firmware update system, cloud system, and information processing device
JP2009230262A (en) Information processing apparatus, information processing method and history information accumulation part control program
JP2008198172A (en) Image formation system
KR20180073003A (en) Apparatus and method for syncronizing of object
JPWO2018220749A1 (en) Communication device, communication method and communication program