Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6987503B2 - Systems, information processing equipment, information processing methods and programs - Google Patents
[go: Go Back, main page]

JP6987503B2 - Systems, information processing equipment, information processing methods and programs - Google Patents

Systems, information processing equipment, information processing methods and programs Download PDF

Info

Publication number
JP6987503B2
JP6987503B2 JP2017005190A JP2017005190A JP6987503B2 JP 6987503 B2 JP6987503 B2 JP 6987503B2 JP 2017005190 A JP2017005190 A JP 2017005190A JP 2017005190 A JP2017005190 A JP 2017005190A JP 6987503 B2 JP6987503 B2 JP 6987503B2
Authority
JP
Japan
Prior art keywords
update
data
failure
information
information processing
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
Application number
JP2017005190A
Other languages
Japanese (ja)
Other versions
JP2018116357A5 (en
JP2018116357A (en
Inventor
祐喜 中森
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2017005190A priority Critical patent/JP6987503B2/en
Publication of JP2018116357A publication Critical patent/JP2018116357A/en
Publication of JP2018116357A5 publication Critical patent/JP2018116357A5/ja
Application granted granted Critical
Publication of JP6987503B2 publication Critical patent/JP6987503B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

本発明は、システム、情報処理装置、情報処理方法及びプログラムに関する。 The present invention relates to a system, an information processing apparatus, an information processing method and a program.

近年、複合機等のネットワークに接続可能な情報処理装置内に記憶されているデータに関して、そのマスターデータをネットワークに接続された管理サーバー等の他の情報処理装置に保存して一元管理することがある。そのデータとそのデータのマスターデータとは、内容が同期されており、管理サーバー上のマスターデータの内容が更新されると、更新後の内容が複合機等に通知されて複合機等の内部のデータの内容も更新される。同様に、複合機等の内部のデータの内容が更新されると、管理サーバー上のマスターデータの内容も更新される。特許文献1に記載のシステムでは、複合機のデータが更新されると、更新内容がマスターデータに反映される。
また、管理サーバーに問題が発生した場合にシステムを維持できなくなることに備えて、特許文献2のように、マスターデータの複製データを管理サーバーとは別の情報処理装置において保存させ、データの二重化を行う方法やシステムが提案されている。
一方、特許文献3には、ネットワークを介してデータの多重化を行う際にデータが破損することにより多重化が行えなかった等の場合に、データを復旧させる方法も提案されている。
In recent years, with respect to data stored in an information processing device that can be connected to a network such as a multifunction device, the master data can be stored in another information processing device such as a management server connected to the network for centralized management. be. The contents of the data and the master data of the data are synchronized, and when the contents of the master data on the management server are updated, the updated contents are notified to the multifunction device, etc., and the inside of the multifunction device, etc. The contents of the data are also updated. Similarly, when the content of the internal data of the multifunction device or the like is updated, the content of the master data on the management server is also updated. In the system described in Patent Document 1, when the data of the multifunction device is updated, the updated contents are reflected in the master data.
Further, in case a problem occurs in the management server, the duplicated data of the master data is stored in an information processing device different from the management server, and the data is duplicated, as in Patent Document 2, in case the system cannot be maintained. Methods and systems have been proposed.
On the other hand, Patent Document 3 also proposes a method of recovering data when multiplexing cannot be performed due to data corruption when multiplexing data via a network.

特開2015−121989号公報Japanese Unexamined Patent Publication No. 2015-121989 特許第5691246号公報Japanese Patent No. 5691246 特許第5130538号公報Japanese Patent No. 5130538

情報処理装置が管理するあるデータの複製データを、他の情報処理装置に管理させる場合、従来の技術では、同期処理に失敗した場合、複製データが元のデータと内容が一致しているかを確認できず、データの保全性を保証できない場合がある。データの保全性とは、データが矛盾なく整合していることである。
例えば、特許文献1のシステムでは、複合機においてデータの更新が有った場合に、同期処理により、マスターデータ全体が上書きされるのではなく、複合機において更新があった一部のデータが更新される。即ち、前回同期した際のデータとの差分の情報が複合機からサーバーに通知され、通知された差分の情報によって、マスターデータの一部が更新される。
このマスターデータについて、特許文献2や特許文献3のシステムのように、マスターデータの複製データを、マスターデータとは別に管理することを考える。その場合、マスターデータが更新される度に複製データも更新されることとなる。この更新は上述のように、前回同期した際のマスターデータと現在のマスターデータとの差分の情報を用いて行われる。
この際、複製データの更新が失敗した場合、マスターデータと、複製データとの間で更新差分を用いた更新状況にずれが生じてしまう。このような場合、マスターデータと複製データとの内容が一致するか否かの確認が困難となり、データの保全性が低下するという問題がある。
When the duplicated data of a certain data managed by the information processing device is managed by another information processing device, in the conventional technology, if the synchronization process fails, it is confirmed whether the duplicated data matches the original data. In some cases, data integrity cannot be guaranteed. Data integrity means that the data is consistent and consistent.
For example, in the system of Patent Document 1, when data is updated in the multifunction device, the synchronization process does not overwrite the entire master data, but a part of the updated data in the multifunction device is updated. Will be done. That is, the information on the difference from the data at the time of the previous synchronization is notified from the multifunction device to the server, and a part of the master data is updated by the information on the notified difference.
Regarding this master data, it is considered that the duplicated data of the master data is managed separately from the master data as in the system of Patent Document 2 and Patent Document 3. In that case, the duplicated data will be updated every time the master data is updated. As described above, this update is performed using the information of the difference between the master data at the time of the previous synchronization and the current master data.
At this time, if the update of the duplicated data fails, the update status using the update difference between the master data and the duplicated data will be different. In such a case, it becomes difficult to confirm whether or not the contents of the master data and the duplicated data match, and there is a problem that the data integrity is deteriorated.

本発明のシステムは、第1のデータを管理する第1の情報処理装置と、前記第1のデータの複製である第2のデータを管理する第2の情報処理装置と、を含むシステムであって、前記第1の情報処理装置は、前記第1のデータの第1の更新に応じて送信した、前記第1の更新の内容を示す更新情報に基づく前記第2のデータの第2の更新の失敗を検知する検知手段と、前記検知手段により前記第2の更新の失敗が検知された場合、前記第1のデータの内容を示す情報である内容情報を、前記第2の情報処理装置に送信する送信手段と、を有し、前記第2の情報処理装置は、前記第1の情報処理装置から前記内容情報が受信された場合、受信された前記内容情報に基づいて、前記第2のデータの内容を、前記第1のデータの内容に更新する更新手段を有し、前記送信手段は、前記検知手段により前記第2の更新の失敗が検知され、前記第2の更新の失敗が再度の第2の更新の実行により解消し得る失敗である場合、前記第1の更新の内容を示す更新情報を前記第2の情報処理装置に再送信し、前記更新手段は、前記第1の情報処理装置から前記更新情報が再受信された場合、再受信された前記更新情報に基づいて、前記第2の更新を再実行し、前記送信手段は更に、前記再送信を行っても前記第2の更新の失敗が解消しない場合に、前記内容情報を、前記第2の情報処理装置に送信することを特徴とする。 The system of the present invention is a system including a first information processing device for managing the first data and a second information processing device for managing the second data which is a copy of the first data. The second update of the second data is based on the update information indicating the content of the first update transmitted by the first information processing apparatus in response to the first update of the first data. When the failure of the second update is detected by the detection means and the detection means for detecting the failure of the first information processing device, the content information indicating the content of the first data is transmitted to the second information processing apparatus. The second information processing apparatus has a transmission means for transmitting, and when the content information is received from the first information processing apparatus, the second information processing apparatus is based on the received content information. The transmission means has an update means for updating the contents of the data to the contents of the first data, the detection means detects the failure of the second update, and the failure of the second update is repeated. If the failure can be resolved by executing the second update, the update information indicating the content of the first update is retransmitted to the second information processing apparatus, and the update means is the first information. When the update information is re-received from the processing device, the second update is re-executed based on the re-received update information, and the transmission means further performs the re-transmission, but the second update is performed. It is characterized in that the content information is transmitted to the second information processing apparatus when the failure of updating is not resolved.

本発明によれば、データの保全性を向上させることができる。 According to the present invention, the integrity of data can be improved.

同期システムのシステム構成の一例を示す図である。It is a figure which shows an example of the system configuration of a synchronization system. 複合機のハードウェア構成の一例を示す図である。It is a figure which shows an example of the hardware composition of a multifunction device. 複合機の機能構成の一例を示す図である。It is a figure which shows an example of the functional composition of a multifunction device. 設定画面の一例を示す図である。It is a figure which shows an example of a setting screen. 複合機の機能構成の一例を示す図である。It is a figure which shows an example of the functional composition of a multifunction device. 複合機の処理の一例を示すフローチャートである。It is a flowchart which shows an example of the processing of a multifunction device. 複合機の処理の一例を示すフローチャートである。It is a flowchart which shows an example of the processing of a multifunction device. 複合機の処理の一例を示すフローチャートである。It is a flowchart which shows an example of the processing of a multifunction device. 複合機の処理の一例を示すフローチャートである。It is a flowchart which shows an example of the processing of a multifunction device. 通知画面の一例を示す図である。It is a figure which shows an example of a notification screen. 複合機の処理の一例を示すフローチャートである。It is a flowchart which shows an example of the processing of a multifunction device.

以下、本発明の実施形態について図面に基づいて説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.

<実施形態1>
図1は、同期システムのシステム構成の一例を示す図である。同期システムは、複合機110a、複合機110b、複合機110cを含む。各要素は、LANやインターネット等のネットワーク100を介して相互に接続されている。以下では、複合機110a、複合機110b、複合機110cを総称して複合機110とする。複合機110のそれぞれは、ネットワーク接続可能な情報処理装置の一例であり、印刷機能やスキャン機能を有する。
複合機110aは、サーバー機能を有する。複合機110aのサーバー機能は、複合機110の各種設定データを管理している。設定データとは、複合機110の動作に関する種々のデータであり、例えば印刷設定の情報等である。複合機110aのサーバー機能120は、管理している設定データのレプリケーションを、複合機110のうちの何れかに対して実施する。レプリケーションとは、情報処理装置が記憶するあるデータの複製を他の情報処理装置内に生成して、双方のデータを同期させながら管理する処理のことである。本実施形態では、複合機110aは、サーバー機能120を介して管理している各種設定データのレプリケーションを、複合機110cに対して実施することとする。複合機110aは、第1の情報処理装置の一例である。複合機110cは、第2の情報処理装置の一例である。
<Embodiment 1>
FIG. 1 is a diagram showing an example of a system configuration of a synchronization system. The synchronization system includes a multifunction device 110a, a multifunction device 110b, and a multifunction device 110c. Each element is connected to each other via a network 100 such as a LAN or the Internet. In the following, the multifunction device 110a, the multifunction device 110b, and the multifunction device 110c will be collectively referred to as the multifunction device 110. Each of the multifunction devices 110 is an example of an information processing device that can be connected to a network, and has a printing function and a scanning function.
The multifunction device 110a has a server function. The server function of the multifunction device 110a manages various setting data of the multifunction device 110. The setting data is various data related to the operation of the multifunction device 110, for example, information on print settings and the like. The server function 120 of the multifunction device 110a performs replication of the managed setting data to any one of the multifunction devices 110. Replication is a process of generating a copy of a certain data stored in an information processing device in another information processing device and managing both data in synchronization with each other. In the present embodiment, the multifunction device 110a replicates various setting data managed via the server function 120 to the multifunction device 110c. The multifunction device 110a is an example of the first information processing device. The multifunction device 110c is an example of a second information processing device.

複合機110aのサーバー機能は、複合機110のそれぞれを、データの同期を行う対象の複合機として登録する。同期システムにおいて、複合機110のそれぞれは、ユーザーによる操作やコピー/FAX等の処理実行等によって内部のデータに更新が発生した場合、その更新内容を複合機110aのサーバー機能へ送信して、設定データの更新を要求する。複合機110aのサーバー機能は、送信された更新内容に応じて、管理する設定データを更新する。複合機110aのサーバー機能は、設定データに更新があるか否かを定期的、又は必要に応じて、複合機110のそれぞれに問い合わせ、更新されたデータがあれば更新内容を取得して、取得した更新内容に応じて管理する設定データを更新する。
本実施形態では、データの同期処理を行うサーバー機能が複合機110aに実装されることとする。しかし、例えば、同期システムにパーソナルコンピュータやサーバー装置等の情報処理装置が含まれる場合、それらの情報処理装置にサーバー機能が実装されることとしてもよい。また、本実施形態では、同期システムは、複合機110のそれぞれに記憶されているデータを同期させることとする。しかし、同期システムは、例えば、同期システムに複合機110以外に複数の情報処理装置が含まれている場合、その複数の情報処理装置に記憶されているデータを同期させることとしてもよい。また、本実施形態では、同期システムは、複合機110のそれぞれ内の設定データを同期することとするが、他のデータ(例えば、複合機110の利用履歴データ等)を同期することとしてもよい。
The server function of the multifunction device 110a registers each of the multifunction devices 110 as a target multifunction device for data synchronization. In the synchronization system, when an update occurs in the internal data due to an operation by the user or execution of processing such as copy / FAX, each of the multifunction devices 110 sends the updated contents to the server function of the multifunction device 110a and sets the settings. Request a data update. The server function of the multifunction device 110a updates the setting data to be managed according to the transmitted update content. The server function of the multifunction device 110a periodically or, if necessary, inquires of each of the multifunction devices 110 whether or not the setting data has been updated, and if there is updated data, the updated contents are acquired and acquired. Update the setting data to be managed according to the updated contents.
In the present embodiment, the server function for performing data synchronization processing is implemented in the multifunction device 110a. However, for example, when the synchronization system includes information processing devices such as a personal computer and a server device, the server function may be implemented in those information processing devices. Further, in the present embodiment, the synchronization system synchronizes the data stored in each of the multifunction devices 110. However, for example, when the synchronization system includes a plurality of information processing devices other than the multifunction device 110, the synchronization system may synchronize the data stored in the plurality of information processing devices. Further, in the present embodiment, the synchronization system synchronizes the setting data in each of the multifunction devices 110, but may synchronize other data (for example, usage history data of the multifunction device 110). ..

図2は、複合機110のハードウェア構成の一例を示す図である。複合機110は、コントローラユニット200、操作部220、スキャナ230、プリンタ240を含む。コントローラユニット200は、操作部220と接続されるとともに、画像入力デバイスであるスキャナ230や画像出力デバイスであるプリンタ240とも接続される。
コントローラユニット200は、操作部I/F201、CPU(Central Processing Unit)202、RAM(Random Access Memory)203を含む。また、コントローラユニット200は、デバイスI/F204、HDD(Hard Disk Drive)205、ROM(Read Only Memory)206、NetworkI/F207、画像処理部208を含む。各要素は、システムバス210を介して、相互に接続されている。
操作部I/F201は、タッチパネル等の入力装置で構成される操作部220を介した入力を受付けるインタフェースである。操作部I/F201は、操作部220に表示する各種データ等の情報を操作部220に送信したり、操作部220に対して入力された情報を取得して、CPU202に送信したりする。CPU202は、コントローラユニット200を制御する中央演算装置である。
FIG. 2 is a diagram showing an example of the hardware configuration of the multifunction device 110. The multifunction device 110 includes a controller unit 200, an operation unit 220, a scanner 230, and a printer 240. The controller unit 200 is connected to the operation unit 220, and is also connected to the scanner 230, which is an image input device, and the printer 240, which is an image output device.
The controller unit 200 includes an operation unit I / F 201, a CPU (Central Processing Unit) 202, and a RAM (Random Access Memory) 203. Further, the controller unit 200 includes a device I / F204, an HDD (Hard Disk Drive) 205, a ROM (Read Only Memory) 206, a NetworkI / F207, and an image processing unit 208. The elements are connected to each other via the system bus 210.
The operation unit I / F 201 is an interface for receiving input via the operation unit 220 composed of an input device such as a touch panel. The operation unit I / F 201 transmits information such as various data displayed on the operation unit 220 to the operation unit 220, or acquires information input to the operation unit 220 and transmits the information to the CPU 202. The CPU 202 is a central arithmetic unit that controls the controller unit 200.

RAM203は、CPU202のワークエリアやデータの一時的な記憶場所として機能する記憶装置である。デバイスI/F204は、スキャナ230やプリンタ240等のデバイスとの間のデータや制御信号の入出力に利用されるインタフェースである。HDD205は、各種設定情報、各種プログラム等を記憶する記憶装置である。ROM206は、各種設定情報やブートプログラム等を記憶する記憶装置である。
NetworkI/F207は、ネットワーク100に接続され、ネットワーク100を介してネットワーク100上の各装置との間での情報の入出力に利用されるインタフェースである。画像処理部208は、スキャナ230からの入力画像処理、プリンタ240への出力画像処理、画像回転、画像圧縮、解像度変換、色空間変換、階調変換等の処理を行う演算装置である。
CPU202は、ROM206に格納されているブートプログラムを実行することで、OS(Operating System)を立ち上げる。CPU202は、立ち上げたOS上で、HDD205に記憶されている各種プログラムを実行し、各種処理を実現する。
複合機110aのCPUが、複合機110aのHDD又はROMに記憶されたプログラムに基づき処理を実行することで、図3で後述する複合機110aの機能及び図6、7、9、11で後述するフローチャートの処理等が実現される。
複合機110cのCPUが、複合機110cのHDD又はROMに記憶されたプログラムに基づき処理を実行することで、図5で後述する複合機110cの機能及び図8で後述するフローチャートの処理等が実現される。
The RAM 203 is a storage device that functions as a temporary storage place for the work area and data of the CPU 202. The device I / F 204 is an interface used for input / output of data and control signals to / from a device such as a scanner 230 or a printer 240. The HDD 205 is a storage device that stores various setting information, various programs, and the like. The ROM 206 is a storage device that stores various setting information, a boot program, and the like.
The NetworkI / F207 is an interface connected to the network 100 and used for input / output of information to and from each device on the network 100 via the network 100. The image processing unit 208 is a calculation device that performs processing such as input image processing from the scanner 230, output image processing to the printer 240, image rotation, image compression, resolution conversion, color space conversion, and gradation conversion.
The CPU 202 starts the OS (Operating System) by executing the boot program stored in the ROM 206. The CPU 202 executes various programs stored in the HDD 205 on the booted OS to realize various processes.
The CPU of the multifunction device 110a executes processing based on the program stored in the HDD or ROM of the multifunction device 110a, whereby the function of the multifunction device 110a described later in FIG. 3 and the functions described later in FIGS. Flow chart processing and the like are realized.
When the CPU of the multifunction device 110c executes processing based on the program stored in the HDD or ROM of the multifunction device 110c, the functions of the multifunction device 110c described later in FIG. 5 and the processing of the flowchart described later in FIG. 8 are realized. Will be done.

図3は、複合機110aの機能構成等の一例を示す図である。
複合機110aは、データ管理アプリケーション300、データ管理部310を含む。データ管理アプリケーション300は、複合機110aのサーバー機能を実現する。データ管理部310は、複合機110aのHDD205、RAM203等に記憶されている設定データを管理する。また、複合機110のそれぞれは、データ同期クライアント320を含む。
データ管理アプリケーション300は、送受信部301、制御部302、解析部303、データ処理部304、表示制御部305を含む。送受信部301は、NetworkI/F207を介して、複合機110の何れかからの処理要求を受信したり、要求された処理の結果を示す情報を要求元に送信したりする。制御部302は、送受信部301により受信された処理要求に応じた処理の制御を行う。解析部303は、送受信部301により受信された処理要求を解析し、どのような処理の要求であるかを把握する。データ処理部304は、送受信部301により受信された処理要求に応じて、データ管理部310とやり取りしてデータの作成/更新/削除/参照を実行する。表示制御部305は、複合機110aの操作部に対して種々の情報を表示し、また、外部の装置に対して、種々のユーザーインターフェース画面を提供する。
データ同期クライアント320は、複合機110のそれぞれに実装されており、ネットワーク100を介して、サーバー機能を実現するデータ管理アプリケーション300とデータの送受信を行う。
本実施形態では、データ管理アプリケーション300及びデータ管理部310は、複合機110aに実装されることとした。しかし、データ管理アプリケーション300及びデータ管理部310は、複合機110のそれぞれに実装されることとしてもよい。その場合、複合機110のうちサーバー機能を実現する複合機において、データ管理アプリケーション300及びデータ管理部310が有効化され、他の複合機において、データ管理アプリケーション300及びデータ管理部310が無効化されることになる。
FIG. 3 is a diagram showing an example of a functional configuration and the like of the multifunction device 110a.
The multifunction device 110a includes a data management application 300 and a data management unit 310. The data management application 300 realizes the server function of the multifunction device 110a. The data management unit 310 manages the setting data stored in the HDD 205, RAM 203, etc. of the multifunction device 110a. Further, each of the multifunction devices 110 includes a data synchronization client 320.
The data management application 300 includes a transmission / reception unit 301, a control unit 302, an analysis unit 303, a data processing unit 304, and a display control unit 305. The transmission / reception unit 301 receives a processing request from any of the multifunction devices 110 via the NetworkI / F207, and transmits information indicating the result of the requested processing to the requester. The control unit 302 controls the processing according to the processing request received by the transmission / reception unit 301. The analysis unit 303 analyzes the processing request received by the transmission / reception unit 301, and grasps what kind of processing request it is. The data processing unit 304 communicates with the data management unit 310 to create / update / delete / reference data in response to the processing request received by the transmission / reception unit 301. The display control unit 305 displays various information to the operation unit of the multifunction device 110a, and also provides various user interface screens to the external device.
The data synchronization client 320 is mounted on each of the multifunction devices 110, and transmits / receives data to / from the data management application 300 that realizes the server function via the network 100.
In the present embodiment, the data management application 300 and the data management unit 310 are mounted on the multifunction device 110a. However, the data management application 300 and the data management unit 310 may be implemented in each of the multifunction devices 110. In that case, the data management application 300 and the data management unit 310 are enabled in the multifunction device that realizes the server function among the multifunction devices 110, and the data management application 300 and the data management unit 310 are disabled in the other multifunction devices. Will be.

本実施形態では、データ管理アプリケーション300は、複合機110の設定データである「デバイス基本データ」「デバイス設定データ」「パーソナライズデータ」を管理する。「デバイス基本データ」は、同期システムに登録された複合機110の装置識別番号やバージョン等の装置情報に関するデータである。「デバイス設定データ」は、複合機110のネットワーク設定、プリンタ動作、スキャン動作等の設定情報、デバイスの動作情報等、に関するデータである。「パーソナライズデータ」は、複合機110を使用するユーザーが自分用のデータとして登録する表示言語やショートカットボタン等に関するデータである。データ管理アプリケーション300は、これらの設定データを、データ管理部310に管理するよう依頼する。そして、データ管理部310は、例えば、HDD205、RAM203等に実装された設定データを記憶するデータベース(DB)に、これらの設定データを記憶し管理する。データ管理アプリケーション300は、複合機110cにデータ管理部310により管理されているデータベースをレプリケーションする。
以下では、複合機110a、複合機110b、複合機110cが同期システムのクライアントとして登録済みであるとする。
In the present embodiment, the data management application 300 manages "device basic data", "device setting data", and "personalized data" which are setting data of the multifunction device 110. The "device basic data" is data related to device information such as a device identification number and a version of the multifunction device 110 registered in the synchronization system. The "device setting data" is data related to the network setting of the multifunction device 110, setting information such as printer operation and scanning operation, device operation information, and the like. The "personalized data" is data related to a display language, a shortcut button, or the like registered as personal data by a user who uses the multifunction device 110. The data management application 300 requests the data management unit 310 to manage these setting data. Then, the data management unit 310 stores and manages these setting data in, for example, a database (DB) for storing the setting data mounted on the HDD 205, RAM 203, and the like. The data management application 300 replicates the database managed by the data management unit 310 to the multifunction device 110c.
In the following, it is assumed that the multifunction device 110a, the multifunction device 110b, and the multifunction device 110c are registered as clients of the synchronization system.

図4は、データ管理部310により管理されるDBを別の複合機110にレプリケーションする際に利用される種々のパラメータを設定するための設定画面の一例を示す図である。以下では、データ管理部310により管理されるDBを、管理DBとする。管理DBは、第1のデータの一例である。また、データ管理アプリケーション300は、例えば、外部の情報処理装置からネットワーク100を介して、設定画面の表示の要求を受付ける。そして、データ管理アプリケーション300は、表示制御部305を介して、要求元の情報処理装置に図4の設定画面の情報を送信し、その情報処理装置の表示部に設定画面を表示させるように制御する。そして、データ管理アプリケーション300は、要求元の情報処理装置の表示部に表示された設定画面にユーザーにより入力された情報を受付ける。
また、データ管理アプリケーション300は、例えば、複合機110aの表示部に図4の設定画面を表示し、表示した設定画面を介してユーザーからの入力を受付けることとしてもよい。
図4の設定画面は、入力フィールド401、開始ボタン402、キャンセルボタンを含む。入力フィールド401は、レプリケーションに関するパラメータを入力する入力フィールドである。入力フィールド401には、レプリケーション先(管理DBの複製の管理先)となる複合機110のIPアドレス、レプリケーションの際の認証用のアクセスユーザー名及びパスワード、レプリケーション(データの同期処理)を実行する間隔等が入力される。データ管理アプリケーション300は、開始ボタン402の選択を検知すると、入力フィールド401に入力された情報に基づいて、レプリケーションの実行を開始する。
FIG. 4 is a diagram showing an example of a setting screen for setting various parameters used when replicating a DB managed by the data management unit 310 to another multifunction device 110. In the following, the DB managed by the data management unit 310 will be referred to as a management DB. The management DB is an example of the first data. Further, the data management application 300 receives, for example, a request for displaying a setting screen from an external information processing device via the network 100. Then, the data management application 300 transmits the information of the setting screen of FIG. 4 to the information processing device of the request source via the display control unit 305, and controls the display unit of the information processing device to display the setting screen. do. Then, the data management application 300 receives the information input by the user on the setting screen displayed on the display unit of the information processing apparatus of the request source.
Further, the data management application 300 may, for example, display the setting screen of FIG. 4 on the display unit of the multifunction device 110a and accept input from the user via the displayed setting screen.
The setting screen of FIG. 4 includes an input field 401, a start button 402, and a cancel button. The input field 401 is an input field for inputting parameters related to replication. In the input field 401, the IP address of the multifunction device 110 that is the replication destination (replication management destination of the management DB), the access user name and password for authentication at the time of replication, and the interval at which replication (data synchronization processing) is executed. Etc. are input. When the data management application 300 detects the selection of the start button 402, the data management application 300 starts the execution of replication based on the information input in the input field 401.

図5は、本実施形態におけるレプリケーション先である複合機110cの機能構成等の一例を示す図である。複合機110cは、レプリケーションアプリケーション500、データ管理部510を含む。データ管理部510は、管理DBを複製して生成されたDBを、複合機110cのHDD等に記憶し、管理する。そして、レプリケーションアプリケーション500は、データ管理部510により管理される管理DBを複製して生成されたDBを、管理DBと同期するように制御する。本実施形態では、レプリケーションアプリケーション500、及びデータ管理部510は、複合機110cに実装されることとするが、複合機110a、又は複合機110bに実装されることとしてもよい。また、レプリケーションアプリケーション500、及びデータ管理部510は、ネットワーク100に接続されたパーソナルコンピュータ(PC)、サーバー装置等の情報処理装置に実装されることとしてもよい。
レプリケーションアプリケーション500は、送受信部501、制御部502、解析部503、データ処理部504を含む。
送受信部501は、NetworkI/F207を介して、複合機110aからの処理の要求を受信したり、処理の結果を外部の装置に送信したりする。制御部502は、送受信部501により受信された処理の要求に応じた処理の制御を行う。解析部503は、送受信部501により受信された処理の要求を解析する。データ処理部504は、送受信部501により受信された処理の要求に応じて、データ管理部510とやり取りしてデータの作成/更新/削除/参照を実行する。データ管理部510が管理するデータは、複合機110cのHDDやRAM等に記憶される。
FIG. 5 is a diagram showing an example of the functional configuration and the like of the multifunction device 110c which is the replication destination in the present embodiment. The multifunction device 110c includes a replication application 500 and a data management unit 510. The data management unit 510 stores and manages the DB generated by duplicating the management DB in the HDD or the like of the multifunction device 110c. Then, the replication application 500 controls the DB generated by replicating the management DB managed by the data management unit 510 so as to be synchronized with the management DB. In the present embodiment, the replication application 500 and the data management unit 510 are mounted on the multifunction device 110c, but may be mounted on the multifunction device 110a or the multifunction device 110b. Further, the replication application 500 and the data management unit 510 may be mounted on an information processing device such as a personal computer (PC) or a server device connected to the network 100.
The replication application 500 includes a transmission / reception unit 501, a control unit 502, an analysis unit 503, and a data processing unit 504.
The transmission / reception unit 501 receives a processing request from the multifunction device 110a via the NetworkI / F207, and transmits the processing result to an external device. The control unit 502 controls the processing according to the processing request received by the transmission / reception unit 501. The analysis unit 503 analyzes the processing request received by the transmission / reception unit 501. The data processing unit 504 communicates with the data management unit 510 to execute data creation / update / deletion / reference in response to the processing request received by the transmission / reception unit 501. The data managed by the data management unit 510 is stored in the HDD, RAM, or the like of the multifunction device 110c.

図6は、複合機110aの処理の一例を示すフローチャートである。データ管理アプリケーション300は、図4の設定画面の開始ボタン402の選択を検知した場合、図6のフローチャートの処理を開始する。図6を用いて、レプリケーションが開始された際の処理を説明する。本実施形態では、図4の設定画面の入力フィールド401にレプリケーション先として、複合機110cのIPアドレスが入力されたとする。
S601において、制御部302は、データ管理部310により管理される管理DBへのアクセスが他から行えないように制御する。制御部302は、例えば、データ処理部304にアクセス排他を要求する。そして、データ処理部304は、管理DBのデータが変更されないように、管理DBのデータをロックする。
S602において、制御部302は、図4の設定画面の入力フィールド401に入力されたIPアドレスへアクセス可能であるか否かを確認する。本実施形態では、図4の設定画面の入力フィールド401には、複合機110cのIPアドレスが入力されているので、制御部302は、複合機110cへアクセス可能か否かを確認する。
S603において、制御部302は、S602で複合機110cへアクセス可能であることが確認されたか否かを判定する。制御部302は、S602で複合機110cへアクセス可能であることが確認されたと判定した場合、S604の処理に進む。制御部302は、S602で複合機110cへアクセス可能であることが確認されなかったと判定した場合、S621の処理に進む。
FIG. 6 is a flowchart showing an example of processing of the multifunction device 110a. When the data management application 300 detects the selection of the start button 402 on the setting screen of FIG. 4, the data management application 300 starts the processing of the flowchart of FIG. A process when replication is started will be described with reference to FIG. In the present embodiment, it is assumed that the IP address of the multifunction device 110c is input as the replication destination in the input field 401 of the setting screen of FIG.
In S601, the control unit 302 controls so that the management DB managed by the data management unit 310 cannot be accessed from others. The control unit 302 requests, for example, access exclusion from the data processing unit 304. Then, the data processing unit 304 locks the data in the management DB so that the data in the management DB is not changed.
In S602, the control unit 302 confirms whether or not the IP address input in the input field 401 of the setting screen of FIG. 4 can be accessed. In the present embodiment, since the IP address of the multifunction device 110c is input in the input field 401 of the setting screen of FIG. 4, the control unit 302 confirms whether or not the multifunction device 110c can be accessed.
In S603, the control unit 302 determines whether or not it is confirmed that the multifunction device 110c can be accessed in S602. When the control unit 302 determines that it is confirmed that the multifunction device 110c can be accessed in S602, the control unit 302 proceeds to the process of S604. When the control unit 302 determines that it is not confirmed that the multifunction device 110c can be accessed in S602, the control unit 302 proceeds to the process of S621.

S604において、制御部302は、送受信部301を介して、複合機110cのレプリケーションアプリケーション500に対して、管理DBの複製であるDBの受け入れが可能か否かの問い合わせを送信する。以下では、管理DBの複製であるDBを、複製DBとする。
S605において、制御部302は、S604で送信した問い合わせに対する複合機110cからの応答を受信したか否かを判定する。制御部302は、例えば、設定された期間の間、複合機110cからの応答を待機する。そして、制御部302は、設定された期間の間に複合機110cから応答を受信したら、複合機110cからの応答を受信したと判定する。また、制御部302は、設定された期間の間に複合機110cから応答がなければ、S604で送信した問い合わせに対する複合機110cからの応答を受信していないと判定する。制御部302は、S604で送信した問い合わせに対する複合機110cからの応答を受信したと判定した場合、S606の処理に進む。制御部302は、S604で送信した問い合わせに対する複合機110cからの応答を受信していないと判定した場合、S621の処理に進む。
S606において、制御部302は、S605で受信したと判定した複合機110cからの応答の内容が、複製DBを受け入れ可能であることを示す応答であるか否かを判定する。制御部302は、S605で受信したと判定した複合機110cからの応答の内容が、複製DBを受け入れ可能であることを示す応答であると判定した場合、S607の処理に進む。制御部302は、S605で受信したと判定した複合機110cからの応答の内容が、複製DBを受け入れできないことを示す応答であると判定した場合、S621の処理に進む。
In S604, the control unit 302 transmits an inquiry to the replication application 500 of the multifunction device 110c via the transmission / reception unit 301 whether or not the DB that is a copy of the management DB can be accepted. In the following, a DB that is a duplicate of the management DB will be referred to as a duplicate DB.
In S605, the control unit 302 determines whether or not a response from the multifunction device 110c to the inquiry transmitted in S604 has been received. The control unit 302 waits for a response from the multifunction device 110c, for example, for a set period. Then, when the control unit 302 receives the response from the multifunction device 110c during the set period, it determines that the response from the multifunction device 110c has been received. Further, if there is no response from the multifunction device 110c during the set period, the control unit 302 determines that the response from the multifunction device 110c to the inquiry transmitted in S604 has not been received. When the control unit 302 determines that the response from the multifunction device 110c to the inquiry transmitted in S604 has been received, the control unit 302 proceeds to the process of S606. When the control unit 302 determines that the response from the multifunction device 110c to the inquiry transmitted in S604 has not been received, the control unit 302 proceeds to the process of S621.
In S606, the control unit 302 determines whether or not the content of the response from the multifunction device 110c determined to have been received in S605 is a response indicating that the duplicate DB is acceptable. When the control unit 302 determines that the content of the response from the multifunction device 110c determined to have been received in S605 is a response indicating that the duplicate DB is acceptable, the control unit 302 proceeds to the process of S607. When the control unit 302 determines that the content of the response from the multifunction device 110c determined to have been received in S605 is a response indicating that the duplicate DB cannot be accepted, the control unit 302 proceeds to the process of S621.

S607において、制御部302は、データ処理部304に対して、管理DBの内容を示す情報の生成を指示する。管理DBの内容を示す情報を、管理DBの内容情報とする。管理DBの内容情報は、例えば、管理DBそのものの情報であってもよいし、初期状態の管理DBにこれまで加えられた全ての変更を示す設定された形式のログ情報等であってもよい。以下では、レプリケーションの開始の際に、レプリケーション先に送信されるデータを、レプリケーション用初期データとする。本実施形態では、制御部302は、データ処理部304に対して、レプリケーション用初期データとして、管理DBの内容情報の生成を指示する。
本実施形態では、データ処理部304は、管理DBそのものの情報を複製し、複製した情報を、レプリケーション用初期データとして制御部302に渡す。
制御部302は、データ処理部304からレプリケーション用初期データを取得し、送受信部301を介して、取得したレプリケーション用初期データを複合機110cに実装されるレプリケーションアプリケーション500に送信する。これにより、制御部302は、複製DBの登録をレプリケーションアプリケーション500に指示する。
レプリケーションアプリケーション500は、レプリケーション用初期データである複製DBを受信したら、以下の処理を行う。即ち、レプリケーションアプリケーションは、データ管理部510を介して、複製DBを、複合機110cのHDD等に記憶する。以降、データ管理部510は、記憶した複製DBを管理することになる。データ管理部510により管理される複製DBは、第2のデータの一例である。
In S607, the control unit 302 instructs the data processing unit 304 to generate information indicating the contents of the management DB. The information indicating the contents of the management DB is referred to as the contents information of the management DB. The content information of the management database may be, for example, the information of the management database itself, or the log information in a set format indicating all the changes made so far to the management database in the initial state. .. In the following, the data sent to the replication destination at the start of replication will be the initial data for replication. In the present embodiment, the control unit 302 instructs the data processing unit 304 to generate the content information of the management DB as the initial data for replication.
In the present embodiment, the data processing unit 304 duplicates the information of the management DB itself, and passes the duplicated information to the control unit 302 as initial data for replication.
The control unit 302 acquires the replication initial data from the data processing unit 304, and transmits the acquired replication initial data to the replication application 500 mounted on the multifunction device 110c via the transmission / reception unit 301. As a result, the control unit 302 instructs the replication application 500 to register the replication DB.
When the replication application 500 receives the replication DB which is the initial data for replication, the replication application 500 performs the following processing. That is, the replication application stores the replication DB in the HDD or the like of the multifunction device 110c via the data management unit 510. After that, the data management unit 510 will manage the stored duplicate DB. The duplicate DB managed by the data management unit 510 is an example of the second data.

S608において、制御部302は、送受信部301を介して、S607で指示した複製DBの登録が成功したことを示す応答をレプリケーションアプリケーションから受信したか否かを判定する。制御部302は、S607で指示した複製DBの登録が成功したことを示す応答をレプリケーションアプリケーション500から受信したと判定した場合、S609の処理に進む。また、制御部302は、S607で指示した複製DBの登録が成功したことを示す応答をレプリケーションアプリケーション500から受信していないと判定した場合、S622の処理に進む。
より具体的には、制御部302は、例えば、設定された期間の間、レプリケーションアプリケーション500からの応答を待機する。そして、制御部302は、レプリケーションアプリケーション500からの応答が、登録が成功したことを示す情報である場合、S609の処理に進む。また、制御部302は、レプリケーションアプリケーション500からの応答が、登録が成功したことを示す情報でない場合、又は、設定された期間内に応答がなかった場合、S622の処理に進む。
ここで、制御部302は、例えば、タイムアウトエラー(設定された期間に応答が得られなかった場合)等の場合、再度S607の処理をやり直してもよい。
In S608, the control unit 302 determines whether or not a response indicating that the registration of the replication DB instructed in S607 was successful has been received from the replication application via the transmission / reception unit 301. When the control unit 302 determines that the response indicating that the registration of the replication DB instructed in S607 is successful has been received from the replication application 500, the control unit 302 proceeds to the process of S609. If the control unit 302 determines that the replication application 500 has not received the response indicating that the replication DB instructed in S607 has been successfully registered, the control unit 302 proceeds to the process of S622.
More specifically, the control unit 302 waits for a response from the replication application 500, for example, for a set period of time. Then, when the response from the replication application 500 is information indicating that the registration is successful, the control unit 302 proceeds to the process of S609. Further, if the response from the replication application 500 is not information indicating that the registration was successful, or if there is no response within the set period, the control unit 302 proceeds to the process of S622.
Here, the control unit 302 may repeat the process of S607, for example, in the case of a timeout error (when a response is not obtained in the set period) or the like.

S609において、制御部302は、複合機110cを管理DBのレプリケーション先として登録する。より具体的には、制御部302は、例えば、複合機110cの情報を、レプリケーション先を示す情報として、複合機110aのHDD等に記憶する。
S610において、制御部302は、レプリケーションのために必要な管理DBについての変更の内容を示す差分データの管理を、データ処理部304に指示する。差分データとは、管理DBについての変更の内容を示す情報である。
差分データの管理の指示を受けたデータ処理部304は、データ管理部310により管理される管理DBと、データ管理部510により管理される複製DBとの同期処理を実行する間隔でタイマーイベントをセットする。データ処理部304は、例えば、図4の設定画面の入力フィールドに入力された間隔でタイマーイベントをセットする。また、データ処理部304は、例えば、設定された間隔(例えば1時間等)でタイマーイベントをセットすることとしてもよい。そして、データ処理部304は、データ管理部310に対して、管理DBについての差分データの管理を指示する。以降、タイマーイベントが発生する度に、同期システムは、図7、8で後述する、管理DBとデータ管理部510により管理される複製DBとの同期処理を実行することになる。
データ管理部310は、管理DBの差分データの管理を開始する。これにより、データ管理部310は、S607で生成されたレプリケーション用初期データの内容からの変更を示す差分データを特定できるようになる。
In S609, the control unit 302 registers the multifunction device 110c as the replication destination of the management DB. More specifically, the control unit 302 stores, for example, the information of the multifunction device 110c in the HDD or the like of the multifunction device 110a as information indicating the replication destination.
In S610, the control unit 302 instructs the data processing unit 304 to manage the difference data indicating the content of the change in the management DB required for replication. The difference data is information indicating the content of the change in the management DB.
The data processing unit 304, which has received an instruction to manage the difference data, sets a timer event at an interval for executing synchronization processing between the management DB managed by the data management unit 310 and the replication DB managed by the data management unit 510. do. The data processing unit 304, for example, sets a timer event at an interval input in the input field of the setting screen of FIG. Further, the data processing unit 304 may set a timer event at a set interval (for example, 1 hour or the like). Then, the data processing unit 304 instructs the data management unit 310 to manage the difference data for the management DB. After that, each time a timer event occurs, the synchronization system executes a synchronization process between the management DB and the replication DB managed by the data management unit 510, which will be described later in FIGS. 7 and 8.
The data management unit 310 starts managing the difference data of the management DB. As a result, the data management unit 310 can identify the difference data indicating the change from the contents of the initial replication data generated in S607.

S611において、制御部302は、データ処理部304にS601でかけられた管理DBのロックの解除を要求する。そして、データ処理部304は、管理DBのロックを解除し、管理DBへのアクセス排他を解除する。
S621において、制御部302は、複合機110cをレプリケーション先に設定できないことをユーザーに通知する。制御部302は、例えば、操作部220等に、複合機110cをレプリケーション先に設定できないことを示す情報(例えば、文字列、画像等)を表示することで、レプリケーション処理の開始に失敗したことをユーザーに通知する。また、制御部302は、例えば、複合機110cをレプリケーション先に設定できないことを示す情報を設定された送信先に送信することで、レプリケーション処理の開始に失敗したことをユーザーに通知してもよい。
S622において、制御部302は、レプリケーション処理の開始に失敗したことをユーザーに通知する。制御部302は、例えば、操作部220等にレプリケーション処理の開始に失敗したことを示す情報(例えば、文字列、画像等)を表示することで、レプリケーション処理の開始に失敗したことをユーザーに通知する。また、制御部302は、例えば、レプリケーション処理の開始に失敗したことを示す情報を設定された送信先に送信することで、レプリケーション処理の開始に失敗したことをユーザーに通知してもよい。
In S611, the control unit 302 requests the data processing unit 304 to release the lock of the management DB applied in S601. Then, the data processing unit 304 releases the lock of the management DB and releases the access exclusion to the management DB.
In S621, the control unit 302 notifies the user that the multifunction device 110c cannot be set as the replication destination. The control unit 302 displays, for example, information (for example, a character string, an image, etc.) indicating that the multifunction device 110c cannot be set as the replication destination on the operation unit 220 or the like, thereby indicating that the start of the replication process has failed. Notify the user. Further, the control unit 302 may notify the user that the start of the replication process has failed by, for example, transmitting information indicating that the multifunction device 110c cannot be set as the replication destination to the set destination. ..
In S622, the control unit 302 notifies the user that the start of the replication process has failed. The control unit 302 notifies the user that the start of the replication process has failed by displaying, for example, information (for example, a character string, an image, etc.) indicating that the start of the replication process has failed in the operation unit 220 or the like. do. Further, the control unit 302 may notify the user that the start of the replication process has failed by, for example, transmitting information indicating that the start of the replication process has failed to the set destination.

次に、S610でセットされたタイマーイベントが発生する度に行われる、管理DBとデータ管理部510により管理される複製DBとの同期処理について、図7、図8を用いて説明する。
図7は、複合機110aの処理の一例を示すフローチャートである。図7を用いて、データ管理アプリケーション300が定期的に同期用のデータを送信する際の処理を説明する。
制御部302は、S610でセットされたタイマーイベントが発生したことを検知し、図7の処理を開始する。図7のS601〜S603の処理は、図6のS601〜S603と同様の処理である。ただし、S603で、制御部302は、S602で複合機110cへアクセス可能であることが確認されたと判定した場合、S701の処理に進む。また、制御部302は、S602で複合機110cへアクセス可能であることが確認されなかったと判定した場合、S711の処理に進む。
Next, the synchronization processing between the management DB and the replication DB managed by the data management unit 510, which is performed each time the timer event set in S610 occurs, will be described with reference to FIGS. 7 and 8.
FIG. 7 is a flowchart showing an example of processing of the multifunction device 110a. A process when the data management application 300 periodically transmits data for synchronization will be described with reference to FIG. 7.
The control unit 302 detects that the timer event set in S610 has occurred, and starts the process of FIG. 7. The processing of S601 to S603 of FIG. 7 is the same processing as that of S601 to S603 of FIG. However, if it is determined in S603 that the control unit 302 can access the multifunction device 110c in S602, the process proceeds to S701. If the control unit 302 determines that it is not confirmed that the multifunction device 110c can be accessed in S602, the control unit 302 proceeds to the process of S711.

S701において、制御部302は、データ処理部304に管理DBへの変更のうち、前回発生したタイマーイベントに応じた同期処理の実行後からの生じた変更を示す差分データの取得を指示する。前回発生したタイマーイベントに応じた同期処理の実行後からの生じた変更を示す差分データは、データ管理部510により管理される複製DBの更新の内容を示す更新情報の一例である。
データ処理部304は、データ管理部310により管理されている管理DBの差分データから、前回のタイマーイベントに応じた同期処理の実行後に生じた管理DBの変更を示す差分データを取得する。そして、データ処理部304は、取得した差分データを、同期処理用の差分データとして、制御部302に渡す。データ管理部310は、差分データとして、DBに対して実行したSQLの実行ログのデータを管理してもよいし、設定された形式のログのデータを管理してもよい。
制御部302は、データ処理部304から同期処理用の差分データを取得し、送受信部301を介して、取得した差分データをレプリケーションアプリケーション500に送信する。これにより、制御部302は、管理DBと、データ管理部510により管理される複製DBとの同期処理を、レプリケーションアプリケーション500に指示する。
また、データ処理部304は、今回のタイマーイベントが初めてのタイマーイベントである場合、データ管理部310により管理されている管理DBの差分データを全て取得し、制御部302に渡す。
In S701, the control unit 302 instructs the data processing unit 304 to acquire the difference data indicating the change that has occurred since the execution of the synchronization process according to the timer event that occurred last time among the changes to the management DB. The difference data indicating the change that has occurred since the execution of the synchronization process according to the timer event that occurred last time is an example of the update information that indicates the update content of the duplicate DB managed by the data management unit 510.
The data processing unit 304 acquires, from the difference data of the management DB managed by the data management unit 310, the difference data indicating the change of the management DB that has occurred after the execution of the synchronization process according to the previous timer event. Then, the data processing unit 304 passes the acquired difference data to the control unit 302 as the difference data for synchronization processing. The data management unit 310 may manage the SQL execution log data executed for the DB as the difference data, or may manage the log data in the set format.
The control unit 302 acquires the difference data for synchronization processing from the data processing unit 304, and transmits the acquired difference data to the replication application 500 via the transmission / reception unit 301. As a result, the control unit 302 instructs the replication application 500 to perform synchronization processing between the management DB and the replication DB managed by the data management unit 510.
Further, when the timer event this time is the first timer event, the data processing unit 304 acquires all the difference data of the management DB managed by the data management unit 310 and passes it to the control unit 302.

S702において、制御部302は、S701で送信した同期処理の指示に対する複合機110cからの応答を受信したか否かを判定する。制御部302は、例えば、設定された期間の間、複合機110cからの応答を待機する。そして、制御部302は、設定された期間の間に複合機110cから応答を受信したら、複合機110cからの応答を受信したと判定する。また、制御部302は、設定された期間の間に複合機110cから応答がなければ、S701で送信した指示に対する複合機110cからの応答を受信していないと判定する。制御部302は、S701で送信した指示に対する複合機110cからの応答を受信したと判定した場合、S703の処理に進む。送受信部301は、S701で送信した指示に対する複合機110cからの応答を受信していないと判定した場合、S711の処理に進む。
S703において、制御部302は、S702で受信したと判定した複合機110cからの応答が同期処理の成功を示す応答であるか否かを判定する。制御部302は、S702で受信したと判定した複合機110cからの応答が同期処理の成功を示す応答であると判定した場合、S704の処理に進む。制御部302は、S702で受信したと判定した複合機110cからの応答が同期処理の成功を示す応答でないと判定した場合、S711の処理に進む。
In S702, the control unit 302 determines whether or not a response from the multifunction device 110c to the synchronization processing instruction transmitted in S701 has been received. The control unit 302 waits for a response from the multifunction device 110c, for example, for a set period. Then, when the control unit 302 receives the response from the multifunction device 110c during the set period, it determines that the response from the multifunction device 110c has been received. Further, if there is no response from the multifunction device 110c during the set period, the control unit 302 determines that the response from the multifunction device 110c to the instruction transmitted in S701 has not been received. When the control unit 302 determines that the response from the multifunction device 110c to the instruction transmitted in S701 has been received, the control unit 302 proceeds to the process of S703. When the transmission / reception unit 301 determines that the response from the multifunction device 110c to the instruction transmitted in S701 has not been received, the transmission / reception unit 301 proceeds to the process of S711.
In S703, the control unit 302 determines whether or not the response from the multifunction device 110c determined to have been received in S702 is a response indicating the success of the synchronization processing. When the control unit 302 determines that the response from the multifunction device 110c determined to have been received in S702 is a response indicating the success of the synchronization processing, the control unit 302 proceeds to the processing of S704. When the control unit 302 determines that the response from the multifunction device 110c determined to have been received in S702 is not a response indicating the success of the synchronization processing, the control unit 302 proceeds to the processing of S711.

S704において、制御部302は、データ処理部304に対して、現在の管理DBの状態が今回のタイマーイベントに応じた同期処理でデータ管理部510により管理される複製DBと同期された状態であることを通知する。データ処理部304は、管理DBへの変更の履歴の情報を、複合機110aのHDD等に記憶されたファイルとして管理している。以下では、管理DBへの変更の履歴の情報が記憶され、管理されているファイルを、差分管理ファイルとする。データ処理部304は、S704で制御部302から通知を受けると、以下の処理を行う。即ち、データ処理部304は、データ処理部304により管理されている差分管理ファイルに、現在の管理DBの状態が、今回のタイマーイベントに応じた同期処理でデータ管理部510により管理される複製DBと同期された状態であることを示す情報を記憶する。そして、データ処理部304は、記憶した情報に基づいて、次回のタイマーイベントに応じた同期処理において、前回の同期処理で同期された管理DBの状態を把握し、その状態からの管理DBの変更を示す差分データを取得する。制御部302は、S704の処理を完了すると、S611の処理に進む。
図7のS611の処理は、図6のS611と同様の処理である。
S711において、制御部302は、データ処理部304に対して、データ処理部304により管理されている差分管理ファイルを初期化するよう指示する。データ処理部304は、差分管理ファイルを初期化するよう指示を受けると、例えば、差分管理ファイルに記憶されている情報を全て削除することで、差分管理ファイルを初期化する。制御部302は、S711の処理を完了すると、S607の処理に進む。
In S704, the control unit 302 is in a state in which the current management DB state is synchronized with the data processing unit 304 with the duplication DB managed by the data management unit 510 in the synchronization processing according to the current timer event. Notify that. The data processing unit 304 manages the information of the history of changes to the management DB as a file stored in the HDD or the like of the multifunction device 110a. In the following, the file in which the information of the change history to the management DB is stored and managed is referred to as a difference management file. Upon receiving a notification from the control unit 302 in S704, the data processing unit 304 performs the following processing. That is, in the data processing unit 304, the current management DB status is managed by the data management unit 510 in the difference management file managed by the data processing unit 304 in the synchronous processing according to the timer event this time. Stores information indicating that it is in a synchronized state with. Then, the data processing unit 304 grasps the state of the management DB synchronized in the previous synchronization processing in the synchronization processing according to the next timer event based on the stored information, and changes the management DB from that state. Acquire the difference data indicating. When the control unit 302 completes the process of S704, the control unit 302 proceeds to the process of S611.
The process of S611 in FIG. 7 is the same process as that of S611 in FIG.
In S711, the control unit 302 instructs the data processing unit 304 to initialize the difference management file managed by the data processing unit 304. When the data processing unit 304 is instructed to initialize the difference management file, the data processing unit 304 initializes the difference management file, for example, by deleting all the information stored in the difference management file. When the control unit 302 completes the process of S711, the control unit 302 proceeds to the process of S607.

図7のS607、S608の処理は、図6のS607、S608と同様の処理である。ただし、S608で、制御部302は、S607で指示した複製DBの登録が成功したことを示す応答をレプリケーションアプリケーション500から受信したと判定した場合、S712の処理に進む。また、制御部302は、S607で指示した複製DBの登録が成功したことを示す応答をレプリケーションアプリケーション500から受信していないと判定した場合、S721の処理に進む。
S712において、制御部302は、データ処理部304に管理DBに行われた変更の内容を示す情報を、差分管理ファイルに記憶する処理を、現時点から開始するように指示する。データ処理部304は、ステップS711で初期化された差分管理ファイルに対して、管理DBに変更の度に、変更の内容を示す情報を記憶する処理を開始する。
S721において、制御部302は、今回のタイマーイベントに応じた管理DBとデータ管理部510により管理される複製DBとの同期処理における複製DBの更新が失敗したことをユーザーに通知する。制御部302は、例えば、操作部220等に今回のタイマーイベントに応じた管理DBとデータ管理部510により管理される複製DBとの同期処理が失敗したことを示す情報(例えば、文字列、画像等)を表示する。これにより、制御部302は、ことをユーザーに通知する。また、制御部302は、例えば、今回のタイマーイベントに応じた管理DBとデータ管理部510により管理される複製DBとの同期処理における複製DBの更新が失敗したことを示す情報を設定された送信先に送信してもよい。こうすることでも、制御部302は、レプリケーション処理の開始に失敗したことをユーザーに通知できる。
The processing of S607 and S608 of FIG. 7 is the same processing as that of S607 and S608 of FIG. However, if it is determined in S608 that the control unit 302 has received the response indicating that the registration of the replication DB instructed in S607 is successful from the replication application 500, the process proceeds to the process of S712. If the control unit 302 determines that the replication application 500 has not received the response indicating that the replication DB instructed in S607 has been successfully registered, the control unit 302 proceeds to the process of S721.
In S712, the control unit 302 instructs the data processing unit 304 to start the process of storing the information indicating the content of the change made in the management DB in the difference management file from the present time. The data processing unit 304 starts a process of storing information indicating the content of the change in the management DB each time the difference management file initialized in step S711 is changed.
In S721, the control unit 302 notifies the user that the update of the duplicate DB in the synchronization process between the management DB corresponding to the current timer event and the duplicate DB managed by the data management unit 510 has failed. The control unit 302 indicates, for example, information (for example, a character string, an image) indicating that the operation unit 220 or the like has failed in the synchronization processing between the management DB corresponding to the timer event and the duplicate DB managed by the data management unit 510. Etc.) is displayed. As a result, the control unit 302 notifies the user of this. Further, the control unit 302 is set with, for example, information indicating that the update of the duplicate DB in the synchronization process between the management DB corresponding to the current timer event and the duplicate DB managed by the data management unit 510 has failed. You may send it first. By doing so, the control unit 302 can notify the user that the start of the replication process has failed.

図7、図8の同期処理において、データ管理部510により管理される複製DBの更新は、様々な原因により失敗する場合がある。失敗の原因としては、例えば、複合機110aと複合機110cとの間の通信経路に発生した異常により通信ができないこと、複合機110cでメモリの空き容量不足等の何らかのエラーが生じたことがある。また、失敗の原因としては、複合機110aが送信した差分データが適切な差分データでないこと等もある。そして、データ管理部510により管理される複製DBの更新が失敗した場合、管理DBとデータ管理部510により管理される複製DBとが一致することが保証されないこととなる。
そこで、本実施形態では、制御部302は、S603、S702、S703の処理により、データ管理部510により管理される複製DBの更新の失敗を検知することとした。そして、制御部302は、データ管理部510により管理される複製DBの更新の失敗を検知した場合、S711以降の処理に進み、レプリケーション用初期データを複合機110cに送信する。そして、複合機110cは、送信されたレプリケーション用初期データに基づいて、データ管理部510により管理される複製DBを更新することで、データ管理部510により管理される複製DBを、現在の管理DBと同じ内容に更新できる。これにより、同期システムは、データ管理部510により管理される複製DBの更新が失敗した場合でも、データ管理部510により管理される複製DBを、管理DBと同じ内容に更新できる。
In the synchronization process of FIGS. 7 and 8, the update of the duplicate DB managed by the data management unit 510 may fail due to various causes. The cause of the failure is, for example, that communication cannot be performed due to an abnormality in the communication path between the multifunction device 110a and the multifunction device 110c, or that some error such as insufficient free memory space has occurred in the multifunction device 110c. .. Further, the cause of the failure may be that the difference data transmitted by the multifunction device 110a is not appropriate difference data. If the update of the duplicate DB managed by the data management unit 510 fails, it is not guaranteed that the management DB and the duplicate DB managed by the data management unit 510 match.
Therefore, in the present embodiment, the control unit 302 determines to detect the failure to update the duplicate DB managed by the data management unit 510 by the processing of S603, S702, and S703. Then, when the control unit 302 detects the failure to update the replication DB managed by the data management unit 510, the control unit 302 proceeds to the processing after S711 and transmits the initial replication data to the multifunction device 110c. Then, the multifunction device 110c updates the replication DB managed by the data management unit 510 based on the transmitted initial data for replication, so that the replication DB managed by the data management unit 510 is changed to the current management DB. Can be updated to the same content as. As a result, the synchronization system can update the duplicate DB managed by the data management unit 510 to the same contents as the management DB even if the update of the duplicate DB managed by the data management unit 510 fails.

図8は、複合機110cの処理の一例を示すフローチャートである。図8を用いて、複合機110cが、複合機110aにより図7のS701又はS607の処理で送信されたデータを受信した際に行う同期処理を説明する。
S801において、制御部502は、データ管理部510により管理される複製DBへのアクセスが他から行えないように、データ処理部504に複製DBへのアクセスを排他するよう指示する。データ処理部504hが、データ管理部510により管理される複製DBのデータをロックし、内容が変更されないようにする。
S802において、制御部502は、送受信部501を介して複合機110aから受信したデータを、一時ファイルとして、HDD205、RAM203等に記憶する。この複合機110aから受信したデータは、図7のS701又はS607の処理で送信されたデータである。一時ファイルとは、ある処理が行われている間等の設定された一時的な期間の間だけ記憶されるファイルである。
S803において、制御部502は、解析部503を介して、S802で一時ファイルとして記憶したデータが、レプリケーション用初期データであるか否かを判定する。制御部502は、例えば、この判定の処理の実行を解析部503に指示し、判定の結果を解析部503から取得する。制御部502は、S802で一時ファイルとして記憶したデータが、レプリケーション用初期データであると判定した場合、S811の処理に進む。また、制御部502は、S802で一時ファイルとして記憶したデータが、レプリケーション用初期データでないと判定した場合、S804の処理に進む。
FIG. 8 is a flowchart showing an example of processing of the multifunction device 110c. With reference to FIG. 8, the synchronization process performed when the multifunction device 110c receives the data transmitted by the multifunction device 110a in the process of S701 or S607 of FIG. 7 will be described.
In S801, the control unit 502 instructs the data processing unit 504 to exclude the access to the duplication DB so that the duplication DB managed by the data management unit 510 cannot be accessed from others. The data processing unit 504h locks the data in the duplicate DB managed by the data management unit 510 so that the contents are not changed.
In S802, the control unit 502 stores the data received from the multifunction device 110a via the transmission / reception unit 501 in the HDD 205, RAM 203, or the like as a temporary file. The data received from the multifunction device 110a is the data transmitted in the process of S701 or S607 of FIG. 7. A temporary file is a file that is stored only for a set temporary period such as while a certain process is being performed.
In S803, the control unit 502 determines, via the analysis unit 503, whether or not the data stored as a temporary file in S802 is the initial data for replication. For example, the control unit 502 instructs the analysis unit 503 to execute this determination process, and acquires the determination result from the analysis unit 503. When the control unit 502 determines that the data stored as a temporary file in S802 is the initial data for replication, the control unit 502 proceeds to the process of S811. If the control unit 502 determines that the data stored as a temporary file in S802 is not the initial data for replication, the control unit 502 proceeds to the process of S804.

S804において、制御部502は、データ処理部504を介して、S802で記憶したデータが、前回の管理DBとデータ管理部510により管理される複製DBとの同期処理で同期された後の管理DBへの変更を示す差分データであるか否かを判定する。制御部502は、例えば、この判定の処理の実行をデータ処理部504に指示し、判定の結果をデータ処理部504から取得する。データ処理部504は、例えば、差分データに付与されたバージョン情報に基づいて、データ管理部510により管理される複製DBに対して前回反映された差分データの次の差分データであるか否かを判定する。
制御部502は、S802で記憶したデータが、前回の管理DBとデータ管理部510により管理される複製DBとの同期処理で同期された後の管理DBへの変更を示す差分データであると判定した場合、S805の処理に進む。また、制御部502は、S802で記憶したデータが、前回の管理DBとデータ管理部510により管理される複製DBとの同期処理で同期された後の管理DBへの変更を示す差分データでないと判定した場合、S820の処理に進む。
S805において、制御部502は、データ処理部504に対して、S802で記憶した差分データを用いて、データ管理部510により管理される複製DBの更新を指示する。データ処理部504は、S802で記憶された差分データを解析し、解析結果に基づいて、データ管理部510により管理される複製DBを更新する。
In S804, the control unit 502 manages the management DB after the data stored in S802 is synchronized with the previous management DB and the replication DB managed by the data management unit 510 via the data processing unit 504. It is determined whether or not the data is a difference data indicating a change to. For example, the control unit 502 instructs the data processing unit 504 to execute this determination process, and acquires the determination result from the data processing unit 504. For example, the data processing unit 504 determines whether or not it is the next difference data of the difference data previously reflected in the duplicate DB managed by the data management unit 510 based on the version information given to the difference data. judge.
The control unit 502 determines that the data stored in S802 is differential data indicating a change to the management DB after being synchronized by the synchronization process between the previous management DB and the duplicate DB managed by the data management unit 510. If so, the process proceeds to S805. Further, the control unit 502 must be differential data indicating that the data stored in S802 is changed to the management DB after being synchronized by the synchronization process between the previous management DB and the replication DB managed by the data management unit 510. If it is determined, the process proceeds to S820.
In S805, the control unit 502 instructs the data processing unit 504 to update the replication DB managed by the data management unit 510 using the difference data stored in S802. The data processing unit 504 analyzes the difference data stored in S802, and updates the replication DB managed by the data management unit 510 based on the analysis result.

S806において、制御部502は、データ処理部504を介して、S805で指示したデータ管理部510により管理される複製DBの更新が成功したか否かを判定する。制御部502は、例えば、この判定の処理の実行を、データ処理部504に指示し、判定結果をデータ処理部504から取得する。制御部502は、S805で指示したデータ管理部510により管理される複製DBの更新が成功したと判定した場合、S807の処理に進む。また、制御部502は、S805で指示したデータ管理部510により管理される複製DBの更新が失敗したと判定した場合、S820の処理に進む。
S807において、制御部502は、データ処理部504に対して、現在のデータ管理部510により管理される複製DBの状態が今回のタイマーイベントに応じた同期処理で管理DBと同期された状態であることを通知する。データ処理部504は、管理DBへの変更の履歴の情報を、複合機110aのHDD等に記憶された差分管理ファイルとして管理している。データ処理部504は、S807で制御部502から通知を受けると、データ処理部504により管理されている差分管理ファイルに、現在の複製DBの状態が、今回のタイマーイベントに応じた同期処理で管理DBと同期された状態であることを示す情報を記憶する。制御部502は、S807の処理を完了すると、S808の処理に進む。
In S806, the control unit 502 determines whether or not the update of the duplicate DB managed by the data management unit 510 instructed in S805 is successful via the data processing unit 504. For example, the control unit 502 instructs the data processing unit 504 to execute this determination process, and acquires the determination result from the data processing unit 504. When the control unit 502 determines that the update of the duplicate DB managed by the data management unit 510 instructed in S805 is successful, the control unit 502 proceeds to the process of S807. Further, when the control unit 502 determines that the update of the duplicate DB managed by the data management unit 510 instructed in S805 has failed, the control unit 502 proceeds to the process of S820.
In S807, the control unit 502 is in a state in which the state of the duplicate DB managed by the current data management unit 510 is synchronized with the management DB in the synchronization process according to the current timer event with respect to the data processing unit 504. Notify that. The data processing unit 504 manages the information of the change history to the management DB as a difference management file stored in the HDD or the like of the multifunction device 110a. When the data processing unit 504 receives a notification from the control unit 502 in S807, the current replication DB status is managed in the difference management file managed by the data processing unit 504 by synchronous processing according to the current timer event. Information indicating that the state is synchronized with the DB is stored. When the control unit 502 completes the process of S807, the control unit 502 proceeds to the process of S808.

S808において、制御部502は、送受信部501を介して、S802で記憶した差分データに基づくデータ管理部510により管理される複製DBの更新が成功したことを示す応答を複合機110aに送信する。
S809において、制御部502は、S802で一時ファイルとしてHDD205、RAM203等に記憶したデータを、削除する。
S810において、制御部502は、データ処理部504に対して、S801でかけられたデータ管理部510により管理される複製DBについてのロックの解除を指示する。データ処理部504は、データ管理部510により管理される複製DBについてのロックを解除し、データ管理部510により管理される複製DBへのアクセスの排他を解除する。
In S808, the control unit 502 transmits a response indicating that the update of the replication DB managed by the data management unit 510 based on the difference data stored in S802 is successful to the multifunction device 110a via the transmission / reception unit 501.
In S809, the control unit 502 deletes the data stored in the HDD 205, RAM 203, etc. as a temporary file in S802.
In S810, the control unit 502 instructs the data processing unit 504 to release the lock on the duplicate DB managed by the data management unit 510 applied in S801. The data processing unit 504 releases the lock on the duplicate DB managed by the data management unit 510, and releases the exclusion of access to the duplicate DB managed by the data management unit 510.

S811において、制御部502は、S802で記憶した一時ファイルであるレプリケーション用初期データに基づいて、データ管理部510により管理される複製DBを初期化するようにデータ処理部504に指示する。データ処理部504は、S802で記憶されたレプリケーション用初期データを用いて、データ管理部510により管理される複製DBを初期化する。
データ処理部504は、例えば、S802で記憶したレプリケーション用初期データが管理DBのデータそのものである場合、データ管理部510により管理される複製DBの内容をS802で記憶したレプリケーション用初期データで上書きする。また、データ処理部504は、例えば、S802で記憶したレプリケーション用初期データが管理DBの初期データからの変更のログ情報である場合、その初期データにレプリケーション用初期データが示す変更を加えてもよい。こうすることでも、データ処理部504は、データ管理部510により管理される複製DBを現在の管理DBと同じ内容に初期化できる。
In S811, the control unit 502 instructs the data processing unit 504 to initialize the replication DB managed by the data management unit 510 based on the replication initial data which is a temporary file stored in S802. The data processing unit 504 initializes the replication DB managed by the data management unit 510 using the replication initial data stored in S802.
For example, when the replication initial data stored in S802 is the data of the management DB itself, the data processing unit 504 overwrites the contents of the replication DB managed by the data management unit 510 with the replication initial data stored in S802. .. Further, for example, when the replication initial data stored in S802 is the log information of the change from the initial data of the management DB, the data processing unit 504 may make the change indicated by the replication initial data to the initial data. .. By doing so, the data processing unit 504 can initialize the duplicate DB managed by the data management unit 510 to the same contents as the current management DB.

S812において、制御部502は、データ処理部504に対して、複合機110cのHDD等に記憶されている差分管理ファイルを初期化するように指示する。データ処理部504は、例えば、データ処理部504により管理されていた差分管理ファイルに記憶されている情報を削除する等して、差分管理ファイルを初期化する。
S813において、制御部502は、S811とS812との処理が正しく行われたか否かを判定する。制御部502は、例えば、データ処理部504からS811とS812とで指示された処理が成功したか否かを問い合わせる。制御部502は、S811とS812との処理が正しく行われたと判定した場合、S808の処理に進み、S811とS812との処理が正しく行われていないと判定した場合、S820の処理に進む。
S820において、制御部502は、送受信部501を介して、複合機110aに対して、同期処理が失敗したことを示す応答を送信する。
In S812, the control unit 502 instructs the data processing unit 504 to initialize the difference management file stored in the HDD or the like of the multifunction device 110c. The data processing unit 504 initializes the difference management file, for example, by deleting the information stored in the difference management file managed by the data processing unit 504.
In S813, the control unit 502 determines whether or not the processing of S811 and S812 is performed correctly. The control unit 502 inquires, for example, from the data processing unit 504 whether or not the processing instructed by S811 and S812 is successful. When the control unit 502 determines that the processing of S811 and S812 is performed correctly, the process proceeds to the processing of S808, and when it is determined that the processing of S811 and S812 is not performed correctly, the control unit 502 proceeds to the processing of S820.
In S820, the control unit 502 transmits a response indicating that the synchronization process has failed to the multifunction device 110a via the transmission / reception unit 501.

以上、本実施形態では、制御部302は、管理DBとデータ管理部510により管理される複製DBとの同期処理において、データ管理部510により管理される複製DBの更新処理の失敗を検知する。制御部302は、データ管理部510により管理される複製DBの更新処理の失敗を検知すると、管理DBの内容を示すレプリケーション用初期データをレプリケーション先である複合機110cに送信する。そして、制御部502は、データ管理部510により管理される複製DBの内容を、現在の管理DBと同じ内容となるように更新する。これにより、同期システムは、管理DBのレプリケーション先で管理されている複製DBの更新が失敗した場合でも、その複製DBを現在の管理DBの内容に更新することで、その複製DBと管理DBとを一致させることができる。即ち、同期システムは、管理DBとレプリケーション先で管理されている複製DBとを矛盾なく一貫して一致させることができ、管理DBとレプリケーション先で管理されている複製DBとの保全性を向上させることができる。
例えば、レプリケーションアプリケーション500が複合機110aから既にデータ管理部510により管理される複製DBに反映済みの差分データが送られてきた場合、データ管理アプリケーション300へエラーを応答する。このとき、データ管理アプリケーション300は、複合機110cからエラーを示す応答を受信する。そして、データ管理アプリケーション300は、レプリケーション用初期データをレプリケーションアプリケーション500へ送信することで、管理DBとデータ管理部510により管理される複製DBとの内容に差分がない状態にすることができる。
As described above, in the present embodiment, the control unit 302 detects the failure of the update process of the copy DB managed by the data management unit 510 in the synchronization process of the management DB and the copy DB managed by the data management unit 510. When the control unit 302 detects the failure of the update process of the replication DB managed by the data management unit 510, the control unit 302 transmits the replication initial data indicating the contents of the management DB to the replication destination multifunction device 110c. Then, the control unit 502 updates the contents of the duplicate DB managed by the data management unit 510 so as to have the same contents as the current management DB. As a result, even if the update of the replication DB managed by the replication destination of the management DB fails, the synchronization system updates the replication DB to the contents of the current management DB, so that the replication DB and the management DB can be used. Can be matched. That is, the synchronization system can consistently and consistently match the management DB and the replication DB managed at the replication destination, and improve the integrity of the management DB and the replication DB managed at the replication destination. be able to.
For example, when the replication application 500 has already sent the difference data reflected in the replication DB managed by the data management unit 510 from the multifunction device 110a, an error is returned to the data management application 300. At this time, the data management application 300 receives a response indicating an error from the multifunction device 110c. Then, the data management application 300 can send the replication initial data to the replication application 500 so that there is no difference in the contents of the management DB and the replication DB managed by the data management unit 510.

<実施形態2>
実施形態1では、同期システムは、レプリケーション先における複製DBの更新の失敗を検知し、レプリケーション用初期データをレプリケーション先に送信し、レプリケーション先の複製DBを現在の管理DBと同じ内容に更新することとした。しかし、レプリケーション先における複製DBの更新の失敗の種類によっては、同期システムは、同期処理のリトライを行うことで、レプリケーション先における複製DBを管理DBと整合をとったまま更新できる場合がある。
そこで、本実施形態では、同期システムは、レプリケーション先の複製DBの更新の失敗が生じた場合でも、生じた失敗によっては、失敗した更新処理と同様の更新処理をリトライする処理を行う。このように同期システムは、更新処理のリトライを行うことで整合をとったままレプリケーション先における複製DBを更新できる場合、複製DBの一部を再度送信される差分データで更新することになる。即ち、同期システムは、そのような場合に実施形態1のようにレプリケーション用初期データを用いて、レプリケーション先の複製DBの全てを管理DBの内容で更新しなくて済む。即ち、同期システムは、実施形態1に比べて、不要な処理の負担を軽減することができる。
本実施形態の同期システムのシステム構成は、実施形態1と同様である。また、同期システムの各システム構成要素のハードウェア構成、機能構成も実施形態1と同様である。
<Embodiment 2>
In the first embodiment, the synchronization system detects the failure to update the replication DB at the replication destination, sends the initial data for replication to the replication destination, and updates the replication DB at the replication destination to the same contents as the current management DB. And said. However, depending on the type of failure to update the replication DB at the replication destination, the synchronization system may be able to update the replication DB at the replication destination while maintaining consistency with the management DB by retrying the synchronization process.
Therefore, in the present embodiment, even if the update of the replication DB of the replication destination fails, the synchronization system performs a process of retrying the same update process as the failed update process depending on the failure. In this way, if the replication DB at the replication destination can be updated while maintaining consistency by retrying the update process, the synchronization system will update a part of the replication DB with the differential data transmitted again. That is, in such a case, the synchronization system does not have to update all of the replication destination replication DBs with the contents of the management DB by using the replication initial data as in the first embodiment. That is, the synchronization system can reduce the burden of unnecessary processing as compared with the first embodiment.
The system configuration of the synchronization system of the present embodiment is the same as that of the first embodiment. Further, the hardware configuration and the functional configuration of each system component of the synchronization system are the same as those in the first embodiment.

図9は、複合機110aの処理の一例を示すフローチャートである。図9を用いて、本実施形態のデータ管理アプリケーション300が定期的に同期用のデータを送信する際の処理を説明する。
図9の処理は、図7の処理と比べて、S911、S912の処理がある点で異なる。また、図9の処理は、図7の処理と比べて、S703で複合機110cからの応答が同期処理の成功を示す応答でないと判定された場合、S911の処理に進む点で異なる。以下では、図9の処理のうち、図7と異なる点について説明する。
FIG. 9 is a flowchart showing an example of processing of the multifunction device 110a. A process when the data management application 300 of the present embodiment periodically transmits data for synchronization will be described with reference to FIG. 9.
The process of FIG. 9 is different from the process of FIG. 7 in that there are processes of S911 and S912. Further, the process of FIG. 9 is different from the process of FIG. 7 in that if the response from the multifunction device 110c is determined in S703 to be not a response indicating the success of the synchronization process, the process proceeds to the process of S911. Hereinafter, among the processes of FIG. 9, the points different from those of FIG. 7 will be described.

S911において、制御部302は、S702で受信されたと判定した応答の内容を解析部303に確認することを指示する。解析部303は、受信した応答の内容を確認し、確認結果を、制御部302に渡す。制御部302は、解析部303により確認された応答が示すエラーが再度S701の処理をリトライし、失敗した更新と同様の更新を複合機110cに指示することで復旧可能なエラーであるか否かを判定する。制御部302は、解析部303により確認された応答が示すエラーが再度S701の処理をリトライし、失敗した更新と同様の更新を複合機110cに指示することで復旧可能なエラーであると判定した場合、S912の処理に進む。また、制御部302は、解析部303により確認された応答が示すエラーが再度S701の処理をリトライし、失敗した更新と同様の更新を複合機110cに指示することで復旧可能なエラーでないと判定した場合、S711の処理に進む。
制御部302は、例えば、解析部303により確認された応答が示すエラーが、設定されたエラーである場合、再度S701の処理をリトライし、失敗した更新と同様の更新を複合機110cに指示することで復旧可能なエラーであると判定する。設定されたエラーとしては、例えば、一時的なメモリの空き容量不足によるエラーや、複合機110cにおけるユーザーの誤操作によるエラー等がある。また、制御部302は、例えば、解析部303により確認された応答が示すエラーが、設定されたエラーでない場合、再度S701の処理をリトライし、失敗した更新と同様の更新を複合機110cに指示することで復旧可能なエラーでないと判定する。
S912において、制御部302は、設定された閾値以上、S701の処理をリトライし、失敗した更新と同様の更新を複合機110cに指示しているか否かを判定する。制御部302は、設定された閾値以上、S701の処理をリトライし、失敗した更新と同様の更新を複合機110cに指示していると判定した場合、S711の処理に進む。また、制御部302は、S701の処理をリトライし、失敗した更新と同様の更新を複合機110cに指示した回数が設定された閾値未満であると判定した場合、S701の処理に進む。
In S911, the control unit 302 instructs the analysis unit 303 to confirm the content of the response determined to have been received in S702. The analysis unit 303 confirms the content of the received response and passes the confirmation result to the control unit 302. Whether or not the error indicated by the response confirmed by the analysis unit 303 is a recoverable error by retrying the processing of S701 and instructing the multifunction device 110c to perform the same update as the failed update. Is determined. The control unit 302 determines that the error indicated by the response confirmed by the analysis unit 303 is a recoverable error by retrying the processing of S701 and instructing the multifunction device 110c to perform the same update as the failed update. If so, the process proceeds to S912. Further, the control unit 302 determines that the error indicated by the response confirmed by the analysis unit 303 is not a recoverable error by retrying the processing of S701 and instructing the multifunction device 110c to perform the same update as the failed update. If so, the process proceeds to S711.
For example, when the error indicated by the response confirmed by the analysis unit 303 is the set error, the control unit 302 retries the processing of S701 again and instructs the multifunction device 110c to perform the same update as the failed update. Therefore, it is determined that the error is recoverable. Examples of the set error include an error due to a temporary shortage of free memory, an error due to an erroneous operation by the user in the multifunction device 110c, and the like. Further, for example, if the error indicated by the response confirmed by the analysis unit 303 is not the set error, the control unit 302 retryes the processing of S701 again and instructs the multifunction device 110c to perform the same update as the failed update. By doing so, it is determined that the error is not recoverable.
In S912, the control unit 302 retries the process of S701 at or above the set threshold value, and determines whether or not the multifunction device 110c is instructed to perform the same update as the failed update. When the control unit 302 retries the process of S701 by the set threshold value or more and determines that the multifunction device 110c is instructed to perform the same update as the failed update, the control unit 302 proceeds to the process of S711. Further, when the control unit 302 retries the process of S701 and determines that the number of times the multifunction device 110c is instructed to perform the same update as the failed update is less than the set threshold value, the control unit 302 proceeds to the process of S701.

以上、本実施形態の処理により、同期システムは、S701の処理をリトライすれば、復旧可能なエラーが発生した場合、レプリケーション用初期データを複合機110cに送信せず、再度差分データを送信する。これにより、同期システムは、実施形態1に比べて、不要な処理の負担を軽減することができる。
また、同期システムは、S701の処理をリトライし、失敗した更新と同様の更新を複合機110cに指示することで復旧が可能なエラーが発生した場合でも、設定された閾値以上の回数連続してエラーが発生した場合、以下のような処理を行う。即ち、同期システムは、レプリケーション用初期データを複合機110cに送信する。これにより、同期システムは、例えば、エラー原因の解消に想定外の時間がかかっているような場合であっても、適切なタイミングで、管理DBとデータ管理部510により管理される複製DBとの同期をとることができる。
また、図9の例では、同期システムは、S701の処理のリトライの際に管理DBのロックを解除しないこととしたが、管理DBのロックを一時的に解除することとしてもよい。
As described above, according to the process of the present embodiment, if the process of S701 is retried, if a recoverable error occurs, the synchronization system does not transmit the replication initial data to the multifunction device 110c, but transmits the difference data again. As a result, the synchronization system can reduce the burden of unnecessary processing as compared with the first embodiment.
Further, even if an error that can be recovered occurs by retrying the processing of S701 and instructing the multifunction device 110c to perform the same update as the failed update, the synchronization system continuously exceeds the set threshold value. If an error occurs, perform the following processing. That is, the synchronization system transmits the initial replication data to the multifunction device 110c. As a result, in the synchronization system, for example, even if it takes an unexpected time to eliminate the cause of the error, the management DB and the duplicate DB managed by the data management unit 510 are connected at an appropriate timing. Can be synchronized.
Further, in the example of FIG. 9, the synchronization system does not release the lock of the management DB when the process of S701 is retried, but the lock of the management DB may be temporarily released.

<実施形態3>
実施形態1、2では、同期システムは、レプリケーション先である複合機110cの複製DBの更新の失敗を検知すると、レプリケーション用初期データを複合機110cに送信した。そして、同期システムは、送信したレプリケーション用初期データに基づいて、複合機110cに複製DBの更新させることとした。しかし、例えば、複合機110cの複製DBの更新の失敗の原因が、複合機110aと複合機110cとの間の通信経路の異常等である場合、複合機110aは、その原因が解消するまで、レプリケーション用初期データを複合機110cに送信できない。そのような場合に、複合機110aは、レプリケーション用初期データを複合機110cに送信しようとすると、複合機110aのCPUに対する不要な処理の負担が増加し、更に、通信経路に対して不要なデータの通信の負荷が増加してしまうという問題がある。
そこで、本実施形態では、同期システムは、管理DBとデータ管理部510により管理される複製DBとの同期処理が失敗したことをユーザーに通知する。そして、同期システムは、その失敗の原因が解消した後に、レプリケーション用初期データを複合機110cに送信する処理を行う。これにより、同期システムは、実施形態1、2と比べて、不要な処理による複合機110aのCPUの負担を軽減し、通信経路の帯域を節約することができる。
本実施形態の同期システムのシステム構成は、実施形態1と同様である。また、同期システムの各システム構成要素のハードウェア構成、機能構成も実施形態1と同様である。
<Embodiment 3>
In the first and second embodiments, when the synchronization system detects the failure to update the replication DB of the multifunction device 110c, which is the replication destination, the synchronization system transmits the initial replication data to the multifunction device 110c. Then, the synchronization system decides to have the multifunction device 110c update the replication DB based on the transmitted initial data for replication. However, for example, when the cause of the failure to update the replication DB of the multifunction device 110c is an abnormality in the communication path between the multifunction device 110a and the multifunction device 110c, the multifunction device 110a continues until the cause is resolved. Initial data for replication cannot be sent to the multifunction device 110c. In such a case, when the multifunction device 110a tries to transmit the initial data for replication to the multifunction device 110c, the load of unnecessary processing on the CPU of the multifunction device 110a increases, and further, unnecessary data for the communication path. There is a problem that the communication load of is increased.
Therefore, in the present embodiment, the synchronization system notifies the user that the synchronization process between the management DB and the replication DB managed by the data management unit 510 has failed. Then, the synchronization system performs a process of transmitting the initial data for replication to the multifunction device 110c after the cause of the failure is eliminated. As a result, the synchronization system can reduce the load on the CPU of the multifunction device 110a due to unnecessary processing and save the bandwidth of the communication path, as compared with the first and second embodiments.
The system configuration of the synchronization system of the present embodiment is the same as that of the first embodiment. Further, the hardware configuration and the functional configuration of each system component of the synchronization system are the same as those in the first embodiment.

図10は、管理DBとデータ管理部510により管理される複製DBとの同期処理においてデータ管理部510により管理される複製DBの更新が失敗したことを通知する通知画面の一例を示す図である。
制御部302は、図7、図9のS721で、例えば、図10に示す通知画面1001を複合機110aの操作部等に表示する。それにより、制御部302は、管理DBとデータ管理部510により管理される複製DBとの同期処理においてデータ管理部510により管理される複製DBの更新が失敗したことをユーザーに通知する。また、制御部302は、通知画面1001に複製DBの更新の失敗が生じた時点の情報を表示する。
また、制御部302は、通知画面1001に、複製DBの更新の失敗の原因を示す情報(例えば、文字列等)を表示してもよい。制御部302は、ユーザーに失敗の原因を通知することで、ユーザーによる現状の把握を容易にし、ユーザーの利便性をより向上させることができる。制御部302は、S820で送信された応答の内容を確認することで、複製DBの更新が失敗の原因を示す情報を取得できる。複製DBの更新の失敗の原因を示す情報としては、例えば、複合機110aと複合機110cとの間の通信経路に異常があることを示す情報、複合機110cにおいて何らかのエラーが発生したことを示す情報等がある。
また、制御部302は、通知画面1001に、複製DBの更新の失敗の原因の解消の示唆となる情報を表示してもよい。例えば、制御部302は、通知画面1001に、複製DBの更新の失敗の原因の解消の示唆となる情報として、レプリケーション先の状態を見直すことを指示する文字列を表示してもよい。制御部302は、ユーザーに対して、複製DBの更新の失敗の原因の解消の示唆となる情報を提示することで、ユーザーを支援できる。
複合機110aのユーザーは、通知画面1001の内容を確認し、図4の設定画面に入力されたパラメータの見直しやレプリケーション先のデバイスが休止状態でないか等を検討する。
FIG. 10 is a diagram showing an example of a notification screen for notifying that the update of the duplicate DB managed by the data management unit 510 has failed in the synchronization process between the management DB and the duplicate DB managed by the data management unit 510. ..
In S721 of FIGS. 7 and 9, the control unit 302 displays, for example, the notification screen 1001 shown in FIG. 10 on the operation unit of the multifunction device 110a or the like. As a result, the control unit 302 notifies the user that the update of the duplicate DB managed by the data management unit 510 has failed in the synchronization process between the management DB and the duplicate DB managed by the data management unit 510. Further, the control unit 302 displays information on the notification screen 1001 at the time when the update of the duplicate DB fails.
Further, the control unit 302 may display information (for example, a character string or the like) indicating the cause of the failure to update the duplicate DB on the notification screen 1001. By notifying the user of the cause of the failure, the control unit 302 can easily grasp the current situation by the user and further improve the convenience of the user. By confirming the content of the response transmitted in S820, the control unit 302 can acquire information indicating the cause of the failure in updating the duplicate DB. Information indicating the cause of the failure to update the duplicate DB includes, for example, information indicating that there is an abnormality in the communication path between the multifunction device 110a and the multifunction device 110c, and indicating that some error has occurred in the multifunction device 110c. There is information etc.
Further, the control unit 302 may display information on the notification screen 1001 that suggests that the cause of the failure to update the duplicate DB is resolved. For example, the control unit 302 may display on the notification screen 1001 a character string instructing to review the state of the replication destination as information suggesting the resolution of the cause of the failure to update the replication DB. The control unit 302 can support the user by presenting to the user information suggesting that the cause of the failure to update the duplicate database is resolved.
The user of the multifunction device 110a confirms the content of the notification screen 1001, reviews the parameters input to the setting screen of FIG. 4, and examines whether the replication destination device is in hibernation.

複製DBの失敗の原因が解消された後、制御部302は、図11の処理を実行する。
図11は、複合機110aの処理の一例を示すフローチャートである。図11を用いて、同期処理におけるデータ管理部510により管理される複製DBの更新処理が失敗した後に複合機110aが実行する処理を説明する。
図11のS601〜S606、S611の処理は、図6のS601〜S606、S611と同様の処理である。ただし、S603で、制御部302は、S602で複合機110cへアクセス可能であることが確認されなかったと判定した場合、S1111の処理に進む。また、S605で、制御部302は、S604で送信した問い合わせに対する複合機110cからの応答を受信していないと判定した場合、S1111の処理に進む。
また、S606で、制御部302は、S605で受信したと判定した複合機110cからの応答の内容が、複製DBを受け入れ可能であることを示す応答であると判定した場合、S712の処理に進む。図11のS712の処理は、図7のS712と同様の処理である。また、S606で、制御部302は、S605で受信したと判定した複合機110cからの応答の内容が、複製DBを受け入れ可能であることを示す応答でないと判定した場合、S1111の処理に進む。
After the cause of the failure of the duplicate DB is eliminated, the control unit 302 executes the process shown in FIG.
FIG. 11 is a flowchart showing an example of processing of the multifunction device 110a. FIG. 11 will explain the process executed by the multifunction device 110a after the update process of the replication DB managed by the data management unit 510 in the synchronous process fails.
The processes of S601 to S606 and S611 in FIG. 11 are the same as the processes of S601 to S606 and S611 in FIG. However, if it is determined in S603 that the control unit 302 has not confirmed that the multifunction device 110c can be accessed in S602, the process proceeds to S1111. Further, when the control unit 302 determines in S605 that the response from the multifunction device 110c to the inquiry transmitted in S604 has not been received, the process proceeds to the process of S1111.
Further, when the control unit 302 determines in S606 that the content of the response from the multifunction device 110c determined to have been received in S605 is a response indicating that the duplicate DB can be accepted, the process proceeds to the process of S712. .. The process of S712 in FIG. 11 is the same process as that of S712 in FIG. Further, when the control unit 302 determines in S606 that the content of the response from the multifunction device 110c determined to have been received in S605 is not a response indicating that the duplicate DB is acceptable, the process proceeds to S1111.

S1101において、制御部302は、データ管理部510により管理される複製DBの更新の失敗の原因が解消されたか否かを判定する。本実施形態では、複合機110aと複合機110cとの間の通信経路に障害が発生したことにより、データ管理部510により管理される複製DBの更新が失敗したとする。制御部302は、複合機110cとの通信を試みて、通信が成功した場合、複製DBの更新の失敗の原因が解消したと判定し、通信が失敗した場合、複製DBの更新の失敗の原因が解消していないと判定する。
また、複合機110cにおいて一時的なメモリ容量不足等の何らかのエラーが発生したことにより、データ管理部510により管理される複製DBの更新が失敗した場合、制御部302は、以下のようにしてもよい。即ち、制御部302は、複合機110cからエラーの復旧を示す情報を受信した場合、複製DBの更新の失敗の原因が解消したと判定し、複合機110cからエラーの復旧を示す情報を受信していない場合、複製DBの更新の失敗の原因が解消していないと判定する。
制御部302は、データ管理部510により管理される複製DBの更新の失敗の原因が解消されたと判定した場合、S601の処理に進む。制御部302は、データ管理部510により管理される複製DBの更新の失敗の原因が解消されていないと判定した場合、S1101の処理を繰り返す。
S1111において、制御部302は、データ管理部510により管理される複製DBの更新が失敗したことを示す通知画面1001を、複合機110aの操作部等に表示する。これにより、制御部302は、データ管理部510により管理される複製DBの更新が失敗したことを、ユーザーに通知する。
In S1101, the control unit 302 determines whether or not the cause of the failure to update the duplicate DB managed by the data management unit 510 has been resolved. In the present embodiment, it is assumed that the update of the replication DB managed by the data management unit 510 fails due to a failure in the communication path between the multifunction device 110a and the multifunction device 110c. The control unit 302 attempts to communicate with the multifunction device 110c, determines that the cause of the failure to update the duplicate DB has been resolved if the communication is successful, and if the communication fails, the cause of the failure to update the duplicate DB. Is not resolved.
Further, when the update of the duplicate DB managed by the data management unit 510 fails due to some error such as a temporary memory capacity shortage in the multifunction device 110c, the control unit 302 may perform the following. good. That is, when the control unit 302 receives the information indicating error recovery from the multifunction device 110c, it determines that the cause of the failure to update the duplicate DB has been resolved, and receives the information indicating error recovery from the multifunction device 110c. If not, it is determined that the cause of the failure to update the duplicate DB has not been resolved.
When the control unit 302 determines that the cause of the failure to update the duplicate DB managed by the data management unit 510 has been resolved, the control unit 302 proceeds to the process of S601. When the control unit 302 determines that the cause of the failure to update the duplicate DB managed by the data management unit 510 has not been resolved, the control unit 302 repeats the process of S1101.
In S1111, the control unit 302 displays a notification screen 1001 indicating that the update of the duplicate DB managed by the data management unit 510 has failed on the operation unit or the like of the multifunction device 110a. As a result, the control unit 302 notifies the user that the update of the duplicate DB managed by the data management unit 510 has failed.

以上、本実施形態の処理では、同期システムは、管理DBとデータ管理部510により管理される複製DBとの同期処理が失敗したことをユーザーに通知する。そして、同期システムは、その失敗の原因が解消した後に、レプリケーション用初期データを複合機110cに送信する処理を行うこととした。これにより、同期システムは、実施形態1、2と比べて、不要な処理による複合機110aのCPUの負担を軽減し、通信経路の帯域を節約することができる。 As described above, in the processing of the present embodiment, the synchronization system notifies the user that the synchronization processing between the management DB and the replication DB managed by the data management unit 510 has failed. Then, the synchronization system decides to perform a process of transmitting the initial data for replication to the multifunction device 110c after the cause of the failure is resolved. As a result, the synchronization system can reduce the load on the CPU of the multifunction device 110a due to unnecessary processing and save the bandwidth of the communication path, as compared with the first and second embodiments.

<その他の実施形態>
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサがプログラムを読み出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
<Other embodiments>
The present invention supplies a program that realizes one or more functions of the above-described embodiment to a system or device via a network or storage medium, and one or more processors in the computer of the system or device reads and executes the program. It can also be realized by the processing to be performed. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.

上述した実施形態では、同期システムは、定期的に管理DBに関する差分データを、複合機110cに送信し、送信した差分データを、複合機110cで管理される複製DBに適応させることで、同期処理を行うこととした。しかし、同期システムは、例えば、設定された時点において、管理DBに関する差分データを、複合機110cに送信し、送信した差分データを、複合機110cで管理される複製DBに適応させることで、同期処理を行うこととしてもよい。また、同期システムは、例えば、定期的に、管理DBのデータのうち、変更される可能性のあるデータを、複合機110cに送信し、送信したデータで、複合機110cで管理される複製DBの対応する部分を置き換えることで、同期処理を行うこととしてもよい。
例えば、上述した同期システムの機能構成の一部又は全てをハードウェアとして複合機110のそれぞれに実装してもよい。
以上、本発明の好ましい実施形態について詳述したが、本発明は係る特定の実施形態に限定されるものではない。上述した各実施形態を任意に組み合わせてもよい。
In the above-described embodiment, the synchronization system periodically transmits the difference data regarding the management DB to the multifunction device 110c, and adapts the transmitted difference data to the replication DB managed by the multifunction device 110c for synchronization processing. I decided to do. However, the synchronization system synchronizes, for example, by transmitting the difference data regarding the management DB to the multifunction device 110c at the set time point and adapting the transmitted difference data to the replication DB managed by the multifunction device 110c. Processing may be performed. Further, for example, the synchronization system periodically transmits data that may be changed among the data in the management DB to the multifunction device 110c, and the transmitted data is a replication DB managed by the multifunction device 110c. Synchronous processing may be performed by replacing the corresponding part of.
For example, a part or all of the functional configurations of the above-mentioned synchronization system may be implemented as hardware in each of the multifunction devices 110.
Although the preferred embodiment of the present invention has been described in detail above, the present invention is not limited to the specific embodiment. Each of the above-described embodiments may be arbitrarily combined.

110 複合機
300 データ管理アプリケーション
500 レプリケーションアプリケーション
110 Multifunction device 300 Data management application 500 Replication application

Claims (13)

第1のデータを管理する第1の情報処理装置と、前記第1のデータの複製である第2のデータを管理する第2の情報処理装置と、を含むシステムであって、
前記第1の情報処理装置は、
前記第1のデータの第1の更新に応じて送信した、前記第1の更新の内容を示す更新情報に基づく前記第2のデータの第2の更新の失敗を検知する検知手段と、
前記検知手段により前記第2の更新の失敗が検知された場合、前記第1のデータの内容を示す情報である内容情報を、前記第2の情報処理装置に送信する送信手段と、
を有し、
前記第2の情報処理装置は、
前記第1の情報処理装置から前記内容情報が受信された場合、受信された前記内容情報に基づいて、前記第2のデータの内容を、前記第1のデータの内容に更新する更新手段を有し、
前記送信手段は、前記検知手段により前記第2の更新の失敗が検知され、前記第2の更新の失敗が再度の第2の更新の実行により解消し得る失敗である場合、前記第1の更新の内容を示す更新情報を前記第2の情報処理装置に再送信し、
前記更新手段は、前記第1の情報処理装置から前記更新情報が再受信された場合、再受信された前記更新情報に基づいて、前記第2の更新を再実行し、
前記送信手段は更に、前記再送信を行っても前記第2の更新の失敗が解消しない場合に、前記内容情報を、前記第2の情報処理装置に送信することを特徴とするシステム。
A system including a first information processing device that manages the first data and a second information processing device that manages the second data that is a duplicate of the first data.
The first information processing device is
A detection means for detecting the failure of the second update of the second data based on the update information indicating the content of the first update transmitted in response to the first update of the first data.
When the failure of the second update is detected by the detection means, the transmission means for transmitting the content information, which is the information indicating the content of the first data, to the second information processing apparatus, and the transmission means.
Have,
The second information processing device is
When the content information is received from the first information processing apparatus, there is an update means for updating the content of the second data to the content of the first data based on the received content information. death,
When the detection means detects the failure of the second update and the failure of the second update is a failure that can be resolved by executing the second update again, the transmission means has the first update. The updated information indicating the contents of the above is retransmitted to the second information processing apparatus.
When the update information is re-received from the first information processing apparatus, the update means re-executes the second update based on the re-received update information.
The transmission means is further characterized in that the content information is transmitted to the second information processing apparatus when the failure of the second update is not resolved even if the retransmission is performed.
前記送信手段は、前記検知手段により前記第2の更新の失敗が検知され、前記第2の更新の失敗が前記更新情報の再送信により解消し得る失敗でない場合、前記更新情報を再送信せずに、前記内容情報を、前記第2の情報処理装置に送信することを特徴とする請求項1記載のシステム。 If the detection means detects the failure of the second update and the failure of the second update is not a failure that can be resolved by retransmitting the update information, the transmission means does not retransmit the update information. The system according to claim 1, wherein the content information is transmitted to the second information processing apparatus. 前記第2の更新が失敗した回数が設定された閾値未満である場合、前記送信手段は、前記更新情報を前記第2の情報処理装置に再送信することを特徴とする請求項1又は2記載のシステム。 The first or second aspect of claim 1 or 2, wherein when the number of times the second update fails is less than a set threshold value, the transmitting means retransmits the updated information to the second information processing apparatus. System. 前記第2の更新が失敗した回数が前記閾値に達した場合、前記送信手段は、前記内容情報を、前記第2の情報処理装置に送信することを特徴とする請求項3記載のシステム。 The system according to claim 3, wherein when the number of times the second update fails reaches the threshold value, the transmission means transmits the content information to the second information processing apparatus. 前記検知手段により前記第2の更新の失敗が検知された場合、前記第2の更新が失敗したことを示す情報を出力する出力手段を更に有することを特徴とする請求項1乃至4何れか1項記載のシステム。 Any one of claims 1 to 4, further comprising an output means for outputting information indicating that the second update has failed when the detection means detects the failure of the second update. The system described in the section. 前記検知手段により前記第2の更新の失敗が検知された場合、前記出力手段は、前記第2の更新が失敗したことと、前記第2の更新の失敗の原因と、を示す情報を出力することを特徴とする請求項5記載のシステム。 When the detection means detects the failure of the second update, the output means outputs information indicating that the second update has failed and the cause of the failure of the second update. 5. The system according to claim 5. 前記検知手段により前記第2の更新の失敗が検知された場合、前記出力手段は、前記第2の更新が失敗したことと、前記第2の更新の失敗の原因の解消の示唆となる情報と、を示す情報を出力する請求項5記載のシステム。 When the failure of the second update is detected by the detection means, the output means has information suggesting that the second update has failed and that the cause of the failure of the second update has been resolved. The system according to claim 5, which outputs information indicating that. 前記内容情報は、前記第1のデータであることを特徴とする請求項1乃至7何れか1項記載のシステム。 The system according to any one of claims 1 to 7, wherein the content information is the first data. 第1のデータを管理する情報処理装置であって、
前記第1のデータの第1の更新に応じて送信した、前記第1の更新の内容を示す更新情報に基づく、前記第1のデータの複製である第2のデータの第2の更新の失敗を検知する検知手段と、
前記検知手段により前記第2の更新の失敗が検知された場合、前記第1のデータの内容を示す情報である内容情報を、前記第2のデータの管理先に送信する送信手段と、を有し、
前記送信手段は、前記検知手段により前記第2の更新の失敗が検知され、前記第2の更新の失敗が再度の第2の更新の実行により解消し得る失敗である場合、前記第1の更新の内容を示す更新情報を第2の情報処理装置に再送信し、
前記送信手段は更に、前記再送信を行っても前記第2の更新の失敗が解消しない場合に、前記内容情報を、前記第2の情報処理装置に送信することを特徴とする情報処理装置。
An information processing device that manages the first data.
Failure of the second update of the second data, which is a duplicate of the first data, based on the update information indicating the content of the first update transmitted in response to the first update of the first data. Detection means to detect
When the detection means detects the failure of the second update, the detection means includes a transmission means for transmitting the content information, which is information indicating the content of the first data, to the management destination of the second data. death,
When the detection means detects the failure of the second update and the failure of the second update is a failure that can be resolved by executing the second update again, the transmission means has the first update. The updated information indicating the contents of is retransmitted to the second information processing device,
The information processing apparatus further comprises transmitting the content information to the second information processing apparatus when the failure of the second update is not resolved even if the retransmission is performed.
前記情報処理装置は、複合機である請求項9記載の情報処理装置。 The information processing device according to claim 9, wherein the information processing device is a multifunction device. 第1のデータを管理する第1の情報処理装置と、前記第1のデータの複製である第2のデータを管理する第2の情報処理装置と、を含むシステムにおける情報処理方法であって、
前記第1の情報処理装置が、前記第1のデータの第1の更新に応じて送信した、前記第1の更新の内容を示す更新情報に基づく前記第2のデータの第2の更新の失敗を検知する検知ステップと、
前記第1の情報処理装置が、前記検知ステップで前記第2の更新の失敗が検知された場合、前記第1のデータの内容を示す情報である内容情報を、前記第2の情報処理装置に送信する送信ステップと、
前記第2の情報処理装置が、前記第1の情報処理装置から前記内容情報が受信された場合、受信された前記内容情報に基づいて、前記第2のデータの内容を、前記第1のデータの内容に更新する更新ステップと、を含み、
前記送信ステップでは、前記検知ステップで前記第2の更新の失敗が検知され、前記第2の更新の失敗が再度の第2の更新の実行により解消し得る失敗である場合、前記第1の更新の内容を示す更新情報を前記第2の情報処理装置に再送信し、
前記更新ステップでは、前記第1の情報処理装置から前記更新情報が再受信された場合、再受信された前記更新情報に基づいて、前記第2の更新を再実行し、
前記送信ステップでは更に、前記再送信を行っても前記第2の更新の失敗が解消しない場合に、前記内容情報を、前記第2の情報処理装置に送信することを特徴とする情報処理方法。
An information processing method in a system including a first information processing device that manages a first data and a second information processing device that manages a second data that is a duplicate of the first data.
Failure of the second update of the second data based on the update information indicating the content of the first update transmitted by the first information processing apparatus in response to the first update of the first data. Detection step to detect, and
When the first information processing apparatus detects the failure of the second update in the detection step, the content information indicating the content of the first data is transmitted to the second information processing apparatus. Send step to send and
When the second information processing apparatus receives the content information from the first information processing apparatus, the content of the second data is changed to the first data based on the received content information. Including update steps to update to the contents of
In the transmission step, when the failure of the second update is detected in the detection step and the failure of the second update is a failure that can be resolved by executing the second update again , the first update The updated information indicating the contents of the above is retransmitted to the second information processing apparatus.
In the update step, when the update information is re-received from the first information processing apparatus, the second update is re-executed based on the re-received update information.
Further, in the transmission step, the information processing method is characterized in that the content information is transmitted to the second information processing apparatus when the failure of the second update is not resolved even if the retransmission is performed.
第1のデータを管理する情報処理装置が実行する情報処理方法であって、
前記第1のデータの第1の更新に応じて送信した、前記第1の更新の内容を示す更新情報に基づく、前記第1のデータの複製である第2のデータの第2の更新の失敗を検知する検知ステップと、
前記検知ステップで前記第2の更新の失敗が検知された場合、前記第1のデータの内容を示す情報である内容情報を、前記第2のデータの管理先に送信する送信ステップと、
を含み、
前記送信ステップでは、前記検知ステップで前記第2の更新の失敗が検知され、前記第2の更新の失敗が再度の第2の更新の実行により解消し得る失敗である場合、前記第1の更新の内容を示す更新情報を第2の情報処理装置に再送信し、
前記送信ステップでは更に、前記再送信を行っても前記第2の更新の失敗が解消しない場合に、前記内容情報を、前記第2の情報処理装置に送信することを特徴とする情報処理方法。
It is an information processing method executed by an information processing device that manages the first data.
Failure of the second update of the second data, which is a duplicate of the first data, based on the update information indicating the content of the first update transmitted in response to the first update of the first data. Detection step to detect, and
When the failure of the second update is detected in the detection step, the transmission step of transmitting the content information, which is the information indicating the content of the first data, to the management destination of the second data, and the transmission step.
Including
In the transmission step, when the failure of the second update is detected in the detection step and the failure of the second update is a failure that can be resolved by executing the second update again , the first update The updated information indicating the contents of is retransmitted to the second information processing device,
Further, in the transmission step, the information processing method is characterized in that the content information is transmitted to the second information processing apparatus when the failure of the second update is not resolved even if the retransmission is performed.
第1のデータを管理するコンピュータに、
前記第1のデータの第1の更新に応じて送信した、前記第1の更新の内容を示す更新情報に基づく、前記第1のデータの複製である第2のデータの第2の更新の失敗を検知する検知ステップと、
前記検知ステップで前記第2の更新の失敗が検知された場合、前記第1のデータの内容を示す情報である内容情報を、前記第2のデータの管理先に送信する送信ステップと、
を実行させるためのプログラムであって、
前記送信ステップでは、前記検知ステップで前記第2の更新の失敗が検知され、前記第2の更新の失敗が再度の第2の更新の実行により解消し得る失敗である場合、前記第1の更新の内容を示す更新情報を第2の情報処理装置に再送信し、
前記送信ステップでは更に、前記再送信を行っても前記第2の更新の失敗が解消しない場合に、前記内容情報を、前記第2の情報処理装置に送信することを特徴とするプログラム。
To the computer that manages the first data
Failure of the second update of the second data, which is a duplicate of the first data, based on the update information indicating the content of the first update transmitted in response to the first update of the first data. Detection step to detect, and
When the failure of the second update is detected in the detection step, the transmission step of transmitting the content information, which is the information indicating the content of the first data, to the management destination of the second data, and the transmission step.
It is a program to execute
In the transmission step, when the failure of the second update is detected in the detection step and the failure of the second update is a failure that can be resolved by executing the second update again , the first update The updated information indicating the contents of is retransmitted to the second information processing device,
Further, in the transmission step, the program is characterized in that the content information is transmitted to the second information processing apparatus when the failure of the second update is not resolved even if the retransmission is performed.
JP2017005190A 2017-01-16 2017-01-16 Systems, information processing equipment, information processing methods and programs Expired - Fee Related JP6987503B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017005190A JP6987503B2 (en) 2017-01-16 2017-01-16 Systems, information processing equipment, information processing methods and programs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017005190A JP6987503B2 (en) 2017-01-16 2017-01-16 Systems, information processing equipment, information processing methods and programs

Publications (3)

Publication Number Publication Date
JP2018116357A JP2018116357A (en) 2018-07-26
JP2018116357A5 JP2018116357A5 (en) 2020-01-30
JP6987503B2 true JP6987503B2 (en) 2022-01-05

Family

ID=62985479

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017005190A Expired - Fee Related JP6987503B2 (en) 2017-01-16 2017-01-16 Systems, information processing equipment, information processing methods and programs

Country Status (1)

Country Link
JP (1) JP6987503B2 (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000250799A (en) * 1999-03-02 2000-09-14 Mitsubishi Electric Corp Replicated file management system
JP2005293323A (en) * 2004-03-31 2005-10-20 Nec Corp Differential distribution record reflection system between different type rdbms
JP2006085324A (en) * 2004-09-15 2006-03-30 Hitachi Ltd Replication system
JP4842742B2 (en) * 2006-09-05 2011-12-21 富士通株式会社 Software management program, software management method, and software management apparatus
JP2009070293A (en) * 2007-09-14 2009-04-02 Ricoh Co Ltd Image forming apparatus, information synchronization system, and information setting method
JP6329429B2 (en) * 2014-05-09 2018-05-23 キヤノン株式会社 Information processing apparatus, control method, and program

Also Published As

Publication number Publication date
JP2018116357A (en) 2018-07-26

Similar Documents

Publication Publication Date Title
CN107924362B (en) Database system, server device, computer-readable recording medium, and information processing method
JP5602419B2 (en) Image forming apparatus, image forming apparatus control method and program
KR101958245B1 (en) Information processing apparatus, information processing system, control method for the information processing apparatus, and program
JP4944812B2 (en) Information processing system, information processing method, and program
US10423375B2 (en) Non-transitory computer-readable storage medium, client computer, and print method
US20220244894A1 (en) Printing system and device for processing transactions in a distributed ledger
JP6506527B2 (en) Information processing apparatus and data synchronization method, data synchronization system and program
US10200556B2 (en) Information processing apparatus, image forming apparatus, information processing system, method for controlling information processing apparatus, method for controlling image forming apparatus, and storage medium storing program
JP6635157B2 (en) Image forming apparatus, its processing method, and program
JP6905321B2 (en) Data management systems, data management devices, devices, data management methods, and programs
JP6987503B2 (en) Systems, information processing equipment, information processing methods and programs
JP6639363B2 (en) Server device, information processing method and program
JP6812249B2 (en) Information processing equipment, information processing methods and programs
WO2017145828A1 (en) Information processing device for managing data of client device, client device, backup method, and storage medium
JP6256573B2 (en) Image processing apparatus and image processing method
JP6015850B2 (en) Information processing system, server device, program, and information processing method
JP7171685B2 (en) Information processing device, information processing method and program
JP4140956B2 (en) Print information processing apparatus, print system, print information processing method, print program, and storage medium storing print program
JP2021177356A (en) Information processing equipment, control methods and programs for information processing equipment
JP2019140441A (en) System and method in system
US20260067409A1 (en) Image forming apparatus, control method, and non-transitory computer-readable recording medium
JP7242303B2 (en) Network device, method and program
JP6378813B2 (en) Printing apparatus, information processing method, and program
JP2018073283A (en) SYSTEM, SERVER DEVICE, CLIENT DEVICE, INFORMATION PROCESSING METHOD, AND PROGRAM
JP2021060934A (en) Information processing apparatus, control method thereof, set value management system, and program

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20191213

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20191213

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200821

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200901

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20201006

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20201110

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210107

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210323

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: 20211102

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20211201

R151 Written notification of patent or utility model registration

Ref document number: 6987503

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees