JP7848151B2 - Information processing system and recovery method - Google Patents
Information processing system and recovery methodInfo
- Publication number
- JP7848151B2 JP7848151B2 JP2023042295A JP2023042295A JP7848151B2 JP 7848151 B2 JP7848151 B2 JP 7848151B2 JP 2023042295 A JP2023042295 A JP 2023042295A JP 2023042295 A JP2023042295 A JP 2023042295A JP 7848151 B2 JP7848151 B2 JP 7848151B2
- Authority
- JP
- Japan
- Prior art keywords
- information processing
- data
- devices
- common data
- partial
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Hardware Redundancy (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Description
本開示は、情報処理システム及び復旧方法に関する。 This disclosure relates to an information processing system and a recovery method.
近年、デジタルサイネージのような情報処理装置を複数備える情報処理システムが注目されている。例えば、鉄道車両には、情報処理システムとして、乗客に対する情報伝達を目的として、運行情報及び企業広告などを表示する情報処理装置が数多く設置されている。 In recent years, information processing systems equipped with multiple information processing devices, such as digital signage, have been attracting attention. For example, railway cars are equipped with numerous information processing devices that display operational information and corporate advertisements, serving as information processing systems for passengers.
上記のような情報処理システムにおいて、情報処理装置に搭載されている記憶装置に記憶されているデータの復旧などを行う場合、その復旧用のデータをネットワーク経由で情報処理装置に送信して、データの復旧など行う技術が普及している(特許文献1参照)。また、特許文献2では、2台の情報処理装置を一組とし、相手の情報処理装置に自装置のバックアップデータを書き込み、自装置のデータが破損した場合、相手の情報処理装置のバックアップデータを自装置にコピーすることで、データの復旧を可能とする技術が開示されている。 In information processing systems like the one described above, when recovering data stored in a memory device mounted on an information processing device, a technology is widely used in which recovery data is transmitted to the information processing device via a network to perform the data recovery (see Patent Document 1). Furthermore, Patent Document 2 discloses a technology in which two information processing devices are used as a pair, and backup data from one device is written to the other device. If the data on one device is corrupted, the backup data from the other device is copied to the original device, enabling data recovery.
情報処理装置を複数備える情報処理システムを鉄道車両などに適用する場合、情報処理装置間を接続するネットワーク通信には、信頼性及びコストなどの観点から芯数の少ない有線ケーブルを使用する必要がある。また、有線ケーブルを配線するためのスペースが制限されているため、有線ケーブルの長さをできるだけ小さくすることが望まれている。このため、情報処理装置を数珠つなぎに接続するデイジーチェーン接続が用いられることが多い。 When applying an information processing system with multiple information processing devices to railway vehicles or similar applications, the network communication connecting these devices requires the use of wired cables with a low number of cores, considering factors such as reliability and cost. Furthermore, due to limited space for wiring, minimizing the length of the wired cables is desirable. Therefore, daisy-chain connections, where information processing devices are connected in a series, are frequently used.
上記のような状況において、複数の情報処理装置のいずれかの記憶装置に記憶されたデータの復旧を行う必要が生じた場合、特許文献1に記載された技術のように復旧用データを外部のサーバ装置から情報処理装置に送信すると、他の情報処理装置を経由するために通信負荷が大きくなるという問題がある。特に復旧用データの送信元となるサーバ装置と復旧対象の情報処理装置との間の配線距離が長いほど、通信負荷がかかる範囲が広くなる。 In the situation described above, if it becomes necessary to recover data stored in the storage device of one of multiple information processing devices, transmitting the recovery data from an external server device to the information processing device, as described in Patent Document 1, presents a problem of increased communication load due to the data having to pass through other information processing devices. In particular, the longer the wiring distance between the server device sending the recovery data and the information processing device to be recovered, the wider the scope of the communication load becomes.
また、特許文献2に記載の技術では、2台の情報処理装置が互いに相手の装置のバックアップデータを保持しているため、通信負荷を軽減することができる。しかしながら、相手装置の全てのデータについてバックアップデータを保持する必要があるため、各情報処理装置が有する記憶装置に大きな容量が必要となる。 Furthermore, in the technology described in Patent Document 2, since two information processing devices each hold backup data of the other device, the communication load can be reduced. However, because it is necessary to hold backup data for all the data on the other device, each information processing device requires a large capacity in its storage device.
本開示の目的は、通信負荷及び記憶容量を軽減しつつ、データの復旧が可能な情報処理システム及び復旧方法を提供することにある。 The purpose of this disclosure is to provide an information processing system and recovery method that enable data recovery while reducing communication load and storage capacity.
本開示の一態様に従う情報処理システムは、デイジーチェーン接続により相互に通信可能に接続された複数の情報処理装置を備えた情報処理システムであって、前記情報処理装置は、他の前記情報処理装置の一部の情報処理装置と共通する一部装置共通データを記憶する記憶部と、前記一部の情報処理装置のそれぞれについて、当該一部の情報処理装置と接続するための情報と、当該一部の情報処理装置と接続する際に経由する他の前記情報処理装置の数である経由装置数とを含む第1のアクセス情報を取得し、前記一部装置共通データが破損した場合、前記第1のアクセス情報に基づいて、前記経由装置数が最小の前記一部の情報処理装置である第1の復旧元装置に記憶された一部装置共通データを自装置の前記記憶部にコピーすることで、前記破損した一部装置共通データを復旧する処理部と、を有する。 An information processing system according to one aspect of this disclosure is an information processing system comprising a plurality of information processing devices connected to each other in a daisy-chain configuration, wherein each information processing device includes: a storage unit for storing some common device data shared with some of the other information processing devices; and a processing unit that, for each of the some information processing devices, acquires first access information including information for connecting to the some information processing device and the number of intermediate devices, which is the number of other information processing devices passed through when connecting to the some information processing device; and, in the event of corruption of the some common device data, recovers the corrupted some common device data by copying the some common device data stored in a first recovery source device, which is the some information processing device with the smallest number of intermediate devices, to the storage unit of the device itself, based on the first access information.
本発明によれば、通信負荷及び記憶容量を軽減しつつ、データの復旧が可能になる。 According to this invention, data recovery becomes possible while reducing communication load and storage capacity.
以下、本開示の実施例について図面を参照して説明する。なお、以下の説明では、「プログラム」を動作主体として処理を説明する場合があるが、プログラムは、CPU(Central Processing Unit)のようなプロセッサによって実行されることで、定められた処理を、適宜に記憶部及びインターフェース部のうちの少なくとも1つを用いながら行うため、処理の動作主体が、プロセッサ(又はプロセッサを有する情報処理装置)とされてもよい。 The embodiments of this disclosure will be described below with reference to the drawings. In the following description, the processing may be described with "program" as the operating entity. However, since a program is executed by a processor such as a CPU (Central Processing Unit) and performs defined processing using at least one of the storage unit and interface unit as appropriate, the operating entity of the processing may be the processor (or an information processing device having a processor).
図1は、本開示の実施例1に係る情報処理システムのハードウェア構成を示す図である。図1に示す情報処理システム100は、複数の情報処理装置1を有する。本実施例では、情報処理システム100は、鉄道車両上に設置され、デイジーチェーン接続により全ての情報処理装置1が相互に通信可能に接続されている。情報処理装置1は、例えば、運行情報及び企業広告のような乗客向けの情報を液晶ディスプレイなどの表示画面に表示する装置である。なお、図1では、情報処理装置1が2台示されているが、情報処理装置1は、2台に限らない。 Figure 1 shows the hardware configuration of an information processing system according to Embodiment 1 of this disclosure. The information processing system 100 shown in Figure 1 has a plurality of information processing devices 1. In this embodiment, the information processing system 100 is installed on a railway vehicle, and all information processing devices 1 are connected to each other via daisy-chain connection for communication. An information processing device 1 is a device that displays passenger-oriented information, such as operational information and corporate advertisements, on a display screen such as a liquid crystal display. Although two information processing devices 1 are shown in Figure 1, the number of information processing devices 1 is not limited to two.
情報処理装置1は、CPU11、メモリ12、記憶装置13及びネットワークインターフェイス14を有する。 The information processing device 1 includes a CPU 11, memory 12, storage device 13, and network interface 14.
記憶装置13は、CPU11の動作を規定するプログラム及びそのプログラムにて使用及び生成される種々のデータを記憶する記憶部である。CPU11は、プロセッサの一例であり、記憶装置13に記憶されたプログラムを読み取ってメモリ12にロードし、メモリ12をワークエリアとして用いて読み取ったプログラムを実行することで、種々の処理を実行する処理部である。ネットワークインターフェイス14は、他の情報処理装置1とネットワーク配線101を介して通信可能に接続するインターフェイス部である。 The storage device 13 is a storage unit that stores a program that defines the operation of the CPU 11 and various data used and generated by that program. The CPU 11 is an example of a processor, and is a processing unit that reads the program stored in the storage device 13, loads it into the memory 12, and executes the read program using the memory 12 as a work area, thereby performing various processes. The network interface 14 is an interface unit that enables communication with other information processing devices 1 via network wiring 101.
図2は、記憶装置13に記憶されたデータの一例を示す図である。図2に示すように記憶装置13は、装置固有データ130、一部装置共通データ131及び全装置共通データ132を記憶する。 Figure 2 shows an example of data stored in the storage device 13. As shown in Figure 2, the storage device 13 stores device-specific data 130, data common to some devices 131, and data common to all devices 132.
装置固有データ130は、複数の情報処理装置1のそれぞれに固有のデータである。装置固有データ130は、例えば、当該データを記憶した記憶装置13を有する情報処理装置1(以下、自装置と呼ぶこともある)に対応する液晶ディスプレイような表示画面の輝度及び色味の設定に関わるパラメータなどである。 The device-specific data 130 is data unique to each of the multiple information processing devices 1. The device-specific data 130 includes, for example, parameters related to the brightness and color settings of a display screen, such as a liquid crystal display, corresponding to an information processing device 1 (hereinafter sometimes referred to as "this device") that has a storage device 13 containing the data.
一部装置共通データ131は、複数の情報処理装置1のうち一部の情報処理装置1に共通するデータである。例えば、一部装置共通データ131は、情報処理装置1が複数種類あり、自装置と同一の種類の情報処理装置1にて実行されるアプリケーションプログラムなどである。本実施例では、情報処理システム100は、同一の一部装置共通データ131を有する情報処理装置1を2台以上備える。 The partially shared device data 131 is data common to some of the multiple information processing devices 1. For example, the partially shared device data 131 might be an application program executed on an information processing device 1 of the same type as the device itself, given that there are multiple types of information processing devices 1. In this embodiment, the information processing system 100 comprises two or more information processing devices 1 having the same partially shared device data 131.
全装置共通データ132は、複数の情報処理装置1の全てに共通するデータである。例えば、全装置共通データ132は、OS(Operating System)などである。 The all-device common data 132 is data common to all of the multiple information processing devices 1. For example, the all-device common data 132 might be the OS (Operating System).
一部装置共通データ131及び全装置共通データ132は、それぞれ自データのバージョンを示すバージョン情報を含む。 The data common to some devices 131 and the data common to all devices 132 each include version information indicating the version of their own data.
以下、記憶装置13に障害が発生した場合に係る処理について主に説明する。 The following primarily describes the process that occurs when a failure occurs in the storage device 13.
図3は、情報処理装置1の機能的な構成の一例を示すブロック図である。なお、図3に示すように情報処理装置1は、図1に示したハードウェア構成に加えて、記憶装置13とは別に、データを記憶するためのハードウェアとして補助記憶装置17を有する。 Figure 3 is a block diagram showing an example of the functional configuration of the information processing device 1. As shown in Figure 3, in addition to the hardware configuration shown in Figure 1, the information processing device 1 also has an auxiliary storage device 17 as hardware for storing data, separate from the storage device 13.
情報処理装置1は、機能的な構成として、ユーザ(乗客)向けのサービスを提供するアプリケーション実行部15と、記憶装置13に記憶されたデータの管理を行うデータ管理部16とを有する。 The information processing device 1 has a functional configuration that includes an application execution unit 15 that provides services to users (passengers) and a data management unit 16 that manages the data stored in the storage device 13.
アプリケーション実行部15は、アプリケーションプログラムであるアプリケーション150にて実現される。アプリケーション実行部15は、例えば、乗客に向けて運行情報及び案内情報などを表示する。 The application execution unit 15 is implemented by an application program, application 150. The application execution unit 15 displays, for example, operational information and guidance information to passengers.
データ管理部16は、バックアップ格納プログラム160、同一データ探索プログラム161、記憶装置診断プログラム162及びデータ修復プログラム163にて実現される。本実施例では、バックアップ格納プログラム160及び同一データ探索プログラム161は、記憶装置13に記憶され、記憶装置診断プログラム162及びデータ修復プログラム163は、記憶装置13に関する障害が発生した場合でも実行されるように補助記憶装置17に記憶される。 The data management unit 16 is implemented by a backup storage program 160, a duplicate data search program 161, a storage device diagnostic program 162, and a data repair program 163. In this embodiment, the backup storage program 160 and the duplicate data search program 161 are stored in the storage device 13, while the storage device diagnostic program 162 and the data repair program 163 are stored in the auxiliary storage device 17 so that they can be executed even if a failure occurs in the storage device 13.
バックアップ格納プログラム160は、装置固有データ130をバックアップするバックアップ処理を実行するためのプログラムである。同一データ探索プログラム161は、一部装置共通データ131の復旧元となる情報処理装置1を探索する探索処理を実行するためのプログラムである。記憶装置診断プログラム162は、記憶装置13の状態を診断し、記憶装置13に関する障害を検出する診断処理を実行するためのプログラムである。データ修復プログラム163は、記憶装置13に記憶されたデータ(装置固有データ130、一部装置共通データ131及び全装置共通データ132)が破損した場合に、そのデータを復旧するデータ復旧処理を実行するためのプログラムである。 The backup storage program 160 is a program for executing a backup process to back up the device-specific data 130. The identical data search program 161 is a program for executing a search process to find the information processing device 1 that will be the source of the partially device-common data 131. The storage device diagnostic program 162 is a program for executing a diagnostic process to diagnose the state of the storage device 13 and detect any problems related to the storage device 13. The data recovery program 163 is a program for executing a data recovery process to recover data (device-specific data 130, partially device-common data 131, and all-device-common data 132) stored in the storage device 13 if that data is corrupted.
図4は、バックアップ格納プログラム160によるバックアップ処理を説明するための図である。なお、以下の説明及び図面では、複数の情報処理装置1を区別するために情報処理装置1-0、1-1、1-2…と符号に添え字を付して示すことがある。また、情報処理装置1が有する構成及びデータなどについても、情報処理装置1と同じ添え字を付すことがある。このため、例えば、情報処理装置1-0が有する装置固有データ130が装置固有データ130-0、情報処理装置1-1が有する記憶装置13が記憶装置13-1などと表記されることがある。また、ここでは、情報処理装置1-0が有するバックアップ格納プログラム160によるバックアップ処理を一例として説明する。 Figure 4 illustrates the backup process performed by the backup storage program 160. In the following explanation and diagrams, multiple information processing devices 1 may be denoted with subscripts such as 1-0, 1-1, 1-2, etc., to distinguish them. Similarly, the configuration and data of each information processing device may also be denoted with the same subscripts. For example, device-specific data 130 of information processing device 1-0 may be referred to as device-specific data 130-0, and storage device 13 of information processing device 1-1 may be referred to as storage device 13-1. Furthermore, the backup process performed by the backup storage program 160 of information processing device 1-0 will be explained here as an example.
バックアップ処理は、データ修復プログラム163のよるデータ復旧処理の前処理として、情報処理装置1の初回起動時など、記憶装置13が故障なく動作している際に行われる。 The backup process is performed as a pre-processing step for the data recovery process by the data recovery program 163, when the information processing device 1 is first started up and the storage device 13 is operating without failure.
バックアップ処理では、バックアップ格納プログラム160は、先ず、手順P1として、他の情報処理装置1のうち、自装置である情報処理装置1-0と接続するネットワーク配線101の長さが最も短い情報処理装置1である最近傍の情報処理装置を探索する。ここでは、バックアップ格納プログラム160は、他の情報処理装置1を経由せずに接続できる情報処理装置1(図の例では、情報処理装置1-1)を最近傍の情報処理装置1として探索する。このとき、他の情報処理装置1を経由せずに接続できる情報処理装置1が複数存在する場合、例えば、その複数の情報処理装置のいずれか1つが最近傍の情報処理装置1として探索される。 In the backup process, the backup storage program 160 first searches for the nearest information processing device 1 among the other information processing devices 1, specifically the one with the shortest network wiring length 101 connecting to its own device, information processing device 1-0, as step P1. Here, the backup storage program 160 searches for the nearest information processing device 1 that can be connected without going through other information processing devices 1 (in the example shown in the figure, information processing device 1-1). If there are multiple information processing devices 1 that can be connected without going through other information processing devices 1, for example, one of those multiple information processing devices will be searched for as the nearest information processing device 1.
最近傍の情報処理装置1を探索する探索方法は、特に限定されない。例えば、探索方法は、複数の情報処理装置1を撮像した撮像画像から各情報処理装置1の位置を特定し、その位置に基づいて最近傍の情報処理装置1として探索する方法などが挙げられる。また、情報処理装置1の位置関係又は接続関係などを示す情報が記憶装置13などに予め登録されていれば、その情報を用いて最近傍の情報処理装置1が探索されてもよい。 The search method for finding the nearest information processing device 1 is not particularly limited. For example, one search method could involve identifying the location of each information processing device 1 from an image captured from multiple information processing devices 1, and then searching for the nearest information processing device 1 based on that location. Alternatively, if information indicating the positional relationships or connection relationships of the information processing devices 1 is pre-registered in a storage device 13 or similar, that information may be used to search for the nearest information processing device 1.
続いて、バックアップ格納プログラム160は、手順P2として、自装置の装置固有データ130-0を、最近傍の情報処理装置1-1の記憶装置13に復旧用データ133-1として登録する。これにより、装置固有データ130のバックアップデータが最近傍の情報処理装置1-1に記憶されることとなる。 Next, as step P2, the backup storage program 160 registers the device-specific data 130-0 of its own device as recovery data 133-1 in the storage device 13 of the nearest information processing device 1-1. As a result, backup data of the device-specific data 130 is stored in the nearest information processing device 1-1.
さらに、バックアップ格納プログラム160は、手順P3として、最近傍の情報処理装置1-1と接続するための情報を、自装置の補助記憶装置17-0に復旧元アクセス情報170-0として格納する。情報処理装置1に接続するための情報は、例えば、その情報処理装置1のIPアドレスなどである。 Furthermore, as step P3, the backup storage program 160 stores information for connecting to the nearest information processing device 1-1 as recovery source access information 170-0 in its own auxiliary storage device 17-0. The information for connecting to the information processing device 1 is, for example, the IP address of that information processing device 1.
図5は、復旧用データ133のデータ構成の一例を示す図である。 Figure 5 shows an example of the data structure of the recovery data 133.
復旧用データ133は、最近傍の情報処理装置1(他の情報処理装置1を経由せずに接続できる情報処理装置1)の装置固有データ130であるため、最近傍の情報処理装置1が複数存在する場合、その複数の最近傍の情報処理装置1のそれぞれの装置固有データ130を含むことがある。図5の例では、復旧用データ133は、情報処理装置1-aの装置固有データ130-aと情報処理装置1-bの装置固有データ130-bとを含む。また、復旧用データ133は、装置固有データ130を含まないこともある。つまり、1台の情報処理装置1における復旧用データ133は、0個以上の装置固有データ130を含む。 The recovery data 133 is the device-specific data 130 of the nearest information processing device 1 (an information processing device 1 that can be connected without going through other information processing devices 1). Therefore, if there are multiple nearest information processing devices 1, the recovery data 133 may include the device-specific data 130 of each of those multiple nearest information processing devices 1. In the example in Figure 5, the recovery data 133 includes the device-specific data 130-a of information processing device 1-a and the device-specific data 130-b of information processing device 1-b. Furthermore, the recovery data 133 may not include any device-specific data 130. In other words, the recovery data 133 of a single information processing device 1 may contain zero or more device-specific data 130.
図6は、復旧用データ133が情報処理装置1にて格納される格納例を示す図である。 Figure 6 shows an example of how the recovery data 133 is stored in the information processing device 1.
図6の例では、情報処理装置1-c及び1-dが互いに最近傍の情報処理装置となる復旧ペアを構成し、情報処理装置1-c及び1-dには、互いにペア相手の装置固有データ130が登録される。つまり、情報処理装置1-cには、情報処理装置1-dの装置固有データ130d-cが復旧用データ133-cとして記憶され、情報処理装置1-dには、情報処理装置1-cの装置固有データ130c-dが復旧用データ133-dとして記憶される。 In the example shown in Figure 6, information processing devices 1-c and 1-d form a recovery pair, with each being the nearest information processing device. Each information processing device 1-c and 1-d registers the device-specific data 130 of its paired device. Specifically, information processing device 1-c stores the device-specific data 130d-c of information processing device 1-d as recovery data 133-c, and information processing device 1-d stores the device-specific data 130c-d of information processing device 1-c as recovery data 133-d.
上記のような復旧ペアが情報処理システム100の全ての情報処理装置1において構築されてもよい。この場合、各情報処理装置1の復旧用データ133が1台の情報処理装置の装置固有データ130を有することとなり、情報処理装置1のそれぞれが記憶する復旧用データ133の数のばらつきを抑制することが可能となる。 The recovery pairs described above may be established in all information processing devices 1 of the information processing system 100. In this case, the recovery data 133 of each information processing device 1 will have device-specific data 130 for one information processing device, making it possible to suppress variations in the number of recovery data 133 stored by each information processing device 1.
図7は、バックアップ格納プログラム160によるバックアップ処理の一例をより詳細に説明するためのフローチャートである。 Figure 7 is a flowchart illustrating in more detail an example of the backup process performed by the backup storage program 160.
バックアップ処理では、先ず、バックアップ格納プログラム160は、自装置の補助記憶装置17-0に復旧元アクセス情報170-0が格納されているか否かを判定する(ステップS1600)。復旧元アクセス情報170-0が格納されている場合、バックアップ格納プログラム160は、処理を終了する。一方、復旧元アクセス情報170-0が格納されていない場合、バックアップ格納プログラム160は、最近傍の情報処理装置1を探索する(ステップS1601)。そして、バックアップ格納プログラム160は、自装置の記憶装置13に記憶された装置固有データ130-0を、最近傍の情報処理装置1である情報処理装置1-1の記憶装置13に復旧用データ133-1として登録する(ステップS1602)。 In the backup process, the backup storage program 160 first determines whether the recovery source access information 170-0 is stored in the auxiliary storage device 17-0 of its own device (step S1600). If the recovery source access information 170-0 is stored, the backup storage program 160 terminates the process. On the other hand, if the recovery source access information 170-0 is not stored, the backup storage program 160 searches for the nearest information processing device 1 (step S1601). Then, the backup storage program 160 registers the device-specific data 130-0 stored in the storage device 13 of the nearest information processing device 1, information processing device 1-1, as recovery data 133-1 (step S1602).
続いて、バックアップ格納プログラム160は、最近傍の情報処理装置1-1に接続するための情報を含む復旧元アクセス情報170-0を、自装置の補助記憶装置17-0に記憶し(ステップS1603)、処理を終了する Next, the backup storage program 160 stores the recovery source access information 170-0, which includes information for connecting to the nearest information processing device 1-1, in the auxiliary storage device 17-0 of its own device (step S1603), and then terminates the process.
図8は、同一データ探索プログラム161による探索処理の一例を説明するための図である。ここでは、情報処理装置1-0が有する同一データ探索プログラム161による探索処理を一例として説明する。 Figure 8 illustrates an example of the search process performed by the identical data search program 161. Here, the search process performed by the identical data search program 161 on the information processing device 1-0 is explained as an example.
探索処理は、バックアップ処理と同様に、データ修復プログラム163のよるデータ復旧処理の前処理として、情報処理装置1の初回起動時など、記憶装置13が故障なく動作している際に行われる。 The search process, similar to the backup process, is performed as a pre-processing step before the data recovery process by the data recovery program 163, and is carried out when the information processing device 1 is first started up and the storage device 13 is operating without failure.
探索処理では、同一データ探索プログラム161は、先ず、手順Q1として、他の情報処理装置1に記憶された一部装置共通データ131のうち、自装置の記憶装置13に記憶された一部装置共通データ131-0と同じ一部装置共通データ131を同一データとして探索する。ここでは、同一データ探索プログラム161は、例えば、他の情報処理装置1のそれぞれから、その情報処理装置1に記憶された一部装置共通データ131の種別を示す情報を取得し、自装置の記憶装置13に記憶された一部装置共通データ131-0の種別と同じ種別の一部装置共通データ131を同一データとして探索する。一部装置共通データ131の種別は、例えば、アプリケーションプログラムの種類などであり、例えば、その種別を示す情報は一部装置共通データ131内に格納されている。 In the search process, the identical data search program 161 first, as procedure Q1, searches for identical data among the partially device common data 131 stored in other information processing devices 1 that are the same as partially device common data 131-0 stored in the device's storage device 13. Here, the identical data search program 161 obtains information indicating the type of partially device common data 131 stored in each of the other information processing devices 1, and searches for partially device common data 131 of the same type as partially device common data 131-0 stored in the device's storage device 13. The type of partially device common data 131 is, for example, the type of application program, and information indicating that type is stored within the partially device common data 131.
続いて、同一データ探索プログラム161は、手順Q2として、同一データを記憶した他の情報処理装置1のそれぞれに接続するための情報を、補助記憶装置17-0に同一データアクセス情報171-0として格納する。図8の例では、情報処理装置1-0及び1-2は互いに同じ一部装置共通データ(一部装置共通データA)131-0及び131-2を記憶する。この場合、情報処理装置1-1の同一データ探索プログラム161は、情報処理装置1-2に接続するための情報を同一データアクセス情報171-0として格納する。 Next, as step Q2, the identical data search program 161 stores information for connecting to each of the other information processing devices 1 that store the same data as identical data access information 171-0 in the auxiliary storage device 17-0. In the example in Figure 8, information processing devices 1-0 and 1-2 each store the same partially common device data (partially common device data A) 131-0 and 131-2. In this case, the identical data search program 161 of information processing device 1-1 stores information for connecting to information processing device 1-2 as identical data access information 171-0.
図9は、同一データ探索プログラム161による探索処理の一例をより詳細に説明するためのフローチャートである。 Figure 9 is a flowchart illustrating in more detail an example of the search process performed by the identical data search program 161.
探索処理では、先ず、同一データ探索プログラム161は、自装置の補助記憶装置17-0に同一データアクセス情報171-0が格納されているか否かを判定する(ステップS1610)。同一データアクセス情報171-0が格納されている場合、同一データ探索プログラム161は、処理を終了する。一方、同一データアクセス情報171-0が格納されていない場合、同一データ探索プログラム161は、情報処理システム100に含まれる情報処理装置1ごとに、ステップS1612~S1614を繰り返すループ処理(A)を開始する(ステップS1611)。 In the search process, the identical data search program 161 first determines whether the same data access information 171-0 is stored in the auxiliary storage device 17-0 of its own device (step S1610). If the same data access information 171-0 is stored, the identical data search program 161 terminates its processing. On the other hand, if the same data access information 171-0 is not stored, the identical data search program 161 starts a loop process (A) that repeats steps S1612 to S1614 for each information processing device 1 included in the information processing system 100 (step S1611).
ループ処理(A)では、同一データ探索プログラム161は、情報処理システム100に含まれる情報処理装置1のいずれかである対象の情報処理装置1に接続する(ステップS1612)。同一データ探索プログラム161は、接続した対象の情報処理装置1に記憶された一部装置共通データ131と自装置に記憶された一部装置共通データ131の種別が同一か否かを判定する(ステップS1613)。 In loop processing (A), the identical data search program 161 connects to a target information processing device 1, which is one of the information processing devices 1 included in the information processing system 100 (step S1612). The identical data search program 161 determines whether the type of the partially common device data 131 stored in the connected target information processing device 1 is the same as the type of partially common device data 131 stored in its own device (step S1613).
一部装置共通データ131の種別が同一である場合、同一データ探索プログラム161は、対象の情報処理装置1と接続するためのアクセス情報を自装置の補助記憶装置17-0に同一データアクセス情報171-0として格納する。そして、同一データ探索プログラム161は、対象の情報処理装置1と接続するために経由する他の情報処理装置1の数を経由装置数として同一データアクセス情報171-0に追加する(ステップS1614)。一方、一部装置共通データ131の種別が同一でない場合、ステップS1614の処理はスキップされる。 If the types of the common data 131 for some devices are the same, the identical data search program 161 stores the access information for connecting to the target information processing device 1 as identical data access information 171-0 in the auxiliary storage device 17-0 of its own device. Then, the identical data search program 161 adds the number of other information processing devices 1 that are passed through to connect to the target information processing device 1 as the number of intermediary devices to the identical data access information 171-0 (step S1614). On the other hand, if the types of the common data 131 for some devices are not the same, the process in step S1614 is skipped.
そして、情報処理システム100に含まれる情報処理装置1の全てに対してステップS1612~S1614の処理が繰り返されると、同一データ探索プログラム161は、ループ処理(A)を抜けて(ステップS1615)、処理を終了する。 Then, when steps S1612 to S1614 are repeated for all information processing devices 1 included in the information processing system 100, the same data search program 161 exits the loop process (A) (step S1615) and terminates its processing.
図10は、記憶装置診断プログラム162による診断処理の一例を説明するためのフローチャートである。診断処理は、例えば、情報処理装置1の起動時に開始される。 Figure 10 is a flowchart illustrating an example of the diagnostic process performed by the storage device diagnostic program 162. The diagnostic process begins, for example, when the information processing device 1 is started up.
先ず、記憶装置診断プログラム162は、記憶装置13に関する障害は発生しているか否かを判定する(ステップS1620)。記憶装置13に関する障害が発生していない場合、記憶装置診断プログラム162は、記憶装置13を起動して(ステップS1626)、処理を終了する。 First, the storage device diagnostic program 162 determines whether or not a malfunction has occurred in the storage device 13 (step S1620). If no malfunction has occurred in the storage device 13, the storage device diagnostic program 162 starts the storage device 13 (step S1626) and terminates the process.
記憶装置13に関する障害が発生している場合、記憶装置診断プログラム162は、記憶装置13のハードウェアの状態を診断するハードウェア診断を行う(ステップS1621)。記憶装置診断プログラム162は、ハードウェア診断の結果に基づいて、記憶装置13のハードウェアが故障しているか否かを判定する(ステップS1622)。 If a problem occurs with the storage device 13, the storage device diagnostic program 162 performs a hardware diagnosis to check the hardware status of the storage device 13 (step S1621). Based on the results of the hardware diagnosis, the storage device diagnostic program 162 determines whether or not the hardware of the storage device 13 is faulty (step S1622).
ハードウェアが故障している場合、記憶装置13の修復には記憶装置13を交換する必要があるため、記憶装置診断プログラム162は、補助記憶装置17に記憶された縮退動作プログラム(図示せず)を実行することで情報処理装置1に縮退運転を行わせ(ステップS1623)、処理を終了する。縮退運転では、例えば、企業のロゴのようなユーザ向けデフォルト画面を表示するように最低限の処理が行われる。 If the hardware fails, repairing the storage device 13 requires replacing it. Therefore, the storage device diagnostic program 162 executes a degraded operation program (not shown) stored in the auxiliary storage device 17, causing the information processing device 1 to perform degraded operation (step S1623), and then terminates the process. In degraded operation, minimal processing is performed, such as displaying a user-facing default screen like a company logo.
ハードウェアが故障していない場合、ソフトウェア起因のデータの破損が発生していると考えられるため、記憶装置診断プログラム162は、データ修復プログラム163を実行することで、データを復旧するデータ復旧処理を実行する(ステップS1624)。 If the hardware is not faulty, it is likely that the data corruption is software-related. Therefore, the storage device diagnostic program 162 executes a data recovery process to recover the data by running the data repair program 163 (step S1624).
その後、記憶装置診断プログラム162は、データ復旧処理によるデータの復旧が成功したか否かを判定する(ステップS1625)。修復が成功した場合、記憶装置診断プログラム162は、記憶装置13を起動して(ステップS1626)、処理を終了する。修復が失敗した場合、記憶装置診断プログラム162は、補助記憶装置17に記憶された縮退動作プログラムを実行することで情報処理装置1に縮退運転を行わせ(ステップS1623)、処理を終了する。 Subsequently, the storage device diagnostic program 162 determines whether the data recovery process was successful (step S1625). If the repair is successful, the storage device diagnostic program 162 starts the storage device 13 (step S1626) and terminates the process. If the repair fails, the storage device diagnostic program 162 executes the degraded operation program stored in the auxiliary storage device 17, causing the information processing device 1 to perform degraded operation (step S1623), and terminates the process.
図11は、データ修復プログラム163によるデータ復旧処理の一例を説明するための図である。以下では、情報処理装置1-0の記憶装置13に記憶されたデータが破損し、情報処理装置1-0が有するデータ修復プログラム163がデータ復旧処理を実行するものとする。 Figure 11 illustrates an example of data recovery processing by the data recovery program 163. In the following scenario, data stored in the storage device 13 of the information processing device 1-0 is corrupted, and the data recovery program 163 of the information processing device 1-0 executes data recovery processing.
データ修復プログラム163は、手順R1として、情報処理装置1-0の補助記憶装置17-0に記憶されている復旧元アクセス情報170-0を確認して、装置固有データ130-0及び全装置共通データ132-0を復旧するためのデータを格納する復旧元の情報処理装置として最近傍の情報処理装置1-1を特定する。そして、データ修復プログラム163は、装置固有データ130-0については、最近傍の情報処理装置1-1の復旧用データ133-1に格納される情報処理装置1-0の装置固有データ130を、自装置の記憶装置13-0にコピーすることで修復する。また、データ修復プログラム163は、全装置共通データ132-0については、最近傍の情報処理装置1-1に格納されている全装置共通データ132-1を自装置の記憶装置13-0にコピーすることで復旧する。 As procedure R1, the data recovery program 163 checks the recovery source access information 170-0 stored in the auxiliary storage device 17-0 of the information processing device 1-0 and identifies the nearest information processing device 1-1 as the recovery source information processing device that stores the data for recovering the device-specific data 130-0 and the all-device common data 132-0. Then, for the device-specific data 130-0, the data recovery program 163 recovers it by copying the device-specific data 130 of the information processing device 1-0, which is stored in the recovery data 133-1 of the nearest information processing device 1-1, to the storage device 13-0 of its own device. Furthermore, for the all-device common data 132-0, the data recovery program 163 recovers it by copying the all-device common data 132-1, which is stored in the nearest information processing device 1-1, to the storage device 13-0 of its own device.
また、データ修復プログラム163は、手順R2として、情報処理装置1-0の補助記憶装置17-0に格納される同一データアクセス情報171-0を確認して、復旧元の情報処理装置として、自装置に記憶された一部装置共通データ131-0と同じ一部装置共通データ131を記憶した情報処理装置1のうち、経由装置数が最小の情報処理装置である最小経由の情報処理装置1-2を特定する。そして、データ修復プログラム163は、一部装置共通データ131-0について、最小経由の情報処理装置1-2に格納されている一部装置共通データ131-2を自装置の記憶装置13-0にコピーすることで復旧する。 Furthermore, as step R2, the data recovery program 163 checks the identical data access information 171-0 stored in the auxiliary storage device 17-0 of the information processing device 1-0, and identifies the information processing device with the fewest number of intermediate devices, namely the information processing device 1-2, which stores the same partial device common data 131 as the partial device common data 131-0 stored in its own device. Then, the data recovery program 163 recovers the partial device common data 131-0 by copying the partial device common data 131-2 stored in the information processing device 1-2 with the fewest number of intermediate devices to the storage device 13-0 of its own device.
図12は、データ修復プログラム163によるデータ復旧処理の一例をより詳細に説明するためのフローチャートである。データ修復プログラム163は、記憶装置診断プログラム162による診断処理の途中(具体的には、図10のステップS1624)で起動される。また、本実施例では、データ修復プログラム163は、通信量の低減化を図るために、装置固有データ130、一部装置共通データ131及び全装置共通データ132のうち破損したデータを特定し、その破損したデータのみを復旧する。データが破損したか否かの判定方法は、特に限定されないが、例えば、各データのハッシュ値を予め登録しておき、判定時に取得したハッシュ値と登録されたハッシュ値とが一致するか否かを判定する方法などである。 Figure 12 is a flowchart illustrating in more detail an example of data recovery processing by the data recovery program 163. The data recovery program 163 is activated during the diagnostic process by the storage device diagnostic program 162 (specifically, at step S1624 in Figure 10). In this embodiment, to reduce communication volume, the data recovery program 163 identifies corrupted data from the device-specific data 130, some device-common data 131, and all-device-common data 132, and recovers only that corrupted data. The method for determining whether data is corrupted is not particularly limited, but for example, hash values for each data type are registered in advance, and the program determines whether the hash value obtained at the time of determination matches the registered hash value.
先ず、データ修復プログラム163は、全装置共通データ132-0が破損しているか否かを判定する(ステップS1630)。全装置共通データ132-0が破損している場合、データ修復プログラム163は、復旧元アクセス情報170-0に基づいて最近傍の情報処理装置1-1に接続する(ステップS1631)。データ修復プログラム163は、情報処理装置1-1に記憶された全装置共通データ132-1を、情報処理装置1-0の記憶装置13にコピーすることで、故障した全装置共通データ132-0を復旧する(ステップS1632)。なお、全装置共通データ132-0が破損していない場合、ステップS1631及びS1632の処理はスキップされる。 First, the data recovery program 163 determines whether the common data 132-0 for all devices is corrupted (step S1630). If the common data 132-0 is corrupted, the data recovery program 163 connects to the nearest information processing device 1-1 based on the recovery source access information 170-0 (step S1631). The data recovery program 163 recovers the corrupted common data 132-0 by copying the common data 132-0 stored in the information processing device 1-1 to the storage device 13 of the information processing device 1-0 (step S1632). If the common data 132-0 is not corrupted, steps S1631 and S1632 are skipped.
続いて、データ修復プログラム163は、装置固有データ130-0が破損しているか否かを判定する(ステップS1633)。装置固有データ130-0が破損している場合、データ修復プログラム163は、復旧元アクセス情報170-0に基づいて最近傍の情報処理装置1-1に接続する(ステップS1634)。データ修復プログラム163は、情報処理装置1-1に記憶された復旧用データ133-1内の装置固有データを、情報処理装置1-0の記憶装置13にコピーすることで、破損した装置固有データ130-0を復旧する(ステップS1635)。なお、装置固有データ130-0が破損していない場合、ステップS1634及びS1635の処理はスキップされる。 Next, the data recovery program 163 determines whether the device-specific data 130-0 is corrupted (step S1633). If the device-specific data 130-0 is corrupted, the data recovery program 163 connects to the nearest information processing device 1-1 based on the recovery source access information 170-0 (step S1634). The data recovery program 163 recovers the corrupted device-specific data 130-0 by copying the device-specific data in the recovery data 133-1 stored in the information processing device 1-1 to the storage device 13 of the information processing device 1-0 (step S1635). If the device-specific data 130-0 is not corrupted, steps S1634 and S1635 are skipped.
さらに、データ修復プログラム163は、一部装置共通データ131-0が破損しているか否かを判定する(ステップS1636)。一部装置共通データ131-0が破損している場合、データ修復プログラム163は、同一データアクセス情報171-0に基づいて最小経由の情報処理装置1-2に接続する(ステップS1637)。そして、データ修復プログラム163は、最小経由の情報処理装置1-2に記憶された一部装置共通データ131-1を、情報処理装置1-0の記憶装置13にコピーすることで、破損した一部装置共通データ131-0を復旧し(ステップS1685)、処理を終了する。なお、一部装置共通データ131-0が故障していない場合、ステップS1636及びS1637の処理はスキップされる。 Furthermore, the data recovery program 163 determines whether the partially shared device data 131-0 is corrupted (step S1636). If the partially shared device data 131-0 is corrupted, the data recovery program 163 connects to the information processing device 1-2 via the shortest route based on the same data access information 171-0 (step S1637). Then, the data recovery program 163 recovers the corrupted partially shared device data 131-0 by copying the partially shared device data 131-0 stored in the information processing device 1-2 to the storage device 13 of the information processing device 1-0 (step S1685), and terminates the process. Note that if the partially shared device data 131-0 is not corrupted, steps S1636 and S1637 are skipped.
以上説明したように本実施例によれば、情報処理装置1の記憶装置13は、他の情報処理装置1の一部の情報処理装置1と共通する一部装置共通データ131を記憶する。同一データ探索プログラム161は、上記の一部の情報処理装置のそれぞれについて、その一部の情報処理装置と接続するための情報と、その一部の情報処理装置と接続する際に経由する他の前記情報処理装置の数である経由装置数とを含む同一データアクセス情報171(第1のアクセス情報)を取得する。そして、一部装置共通データ131が破損した場合、データ修復プログラム163は、同一データアクセス情報171に基づいて、最小経由の情報処理装置(第1の復旧元装置)に記憶された一部装置共通データを自装置の記憶装置13にコピーすることで、破損した一部装置共通データを復旧する。したがって、他の情報処理装置1の一部の情報処理装置1と共通する一部装置共通データ131については、最小経由の情報処理装置1、つまり、自装置の一部装置共通データ131と同じ一部装置共通データ131を記憶する情報処理装置1のうち経由装置数が最小の情報処理装置1から一部装置共通データ131をコピーすることで復旧することが可能になる。このため、通信負荷及び記憶容量を軽減しつつ、データの復旧が可能になる。 As described above, according to this embodiment, the storage device 13 of the information processing device 1 stores some common device data 131 that is common to some of the information processing devices 1 of other information processing devices 1. The identical data search program 161 acquires identical data access information 171 (first access information) for each of the above some information processing devices, which includes information for connecting to that some information processing device and the number of intermediate devices, which is the number of other information processing devices that are passed through when connecting to that some information processing device. If the some common device data 131 is corrupted, the data repair program 163 recovers the corrupted some common device data by copying the some common device data stored in the information processing device with the fewest intermediate devices (first recovery source device) to the storage device 13 of the device itself, based on the identical data access information 171. Therefore, the some common device data 131 that is common to some of the information processing devices 1 of other information processing devices 1 can be recovered by copying the some common device data 131 from the information processing device with the fewest intermediate devices, that is, from the information processing device 1 with the fewest intermediate devices that stores the same some common device data 131 as the device itself. Therefore, data recovery becomes possible while reducing communication load and storage capacity.
また、本実施例では、バックアップ格納プログラム160は、複数の情報処理装置1のうち他の情報処理装置1を経由せずに接続された情報処理装置1である最近傍の情報処理装置1(第2の復旧元装置)に自装置の装置固有データ130を登録するとともに、最近傍の情報処理装置と接続するための情報を含む復旧元アクセス情報(第2のアクセス情報)170を取得する。そして、装置固有データが破損した場合、データ修復プログラム163は、復旧元アクセス情報170に基づいて、最近傍の情報処理装置に登録された装置固有データ130を自装置の記憶装置13にコピーすることで、破損した装置固有データ130を復旧する。この場合、装置固有データ130の復旧に係る通信負荷を軽減することが可能となる。 Furthermore, in this embodiment, the backup storage program 160 registers the device-specific data 130 of the device with the nearest information processing device 1 (second recovery source device), which is an information processing device 1 connected without going through other information processing devices 1, and acquires recovery source access information (second access information) 170, which includes information for connecting to the nearest information processing device. If the device-specific data is corrupted, the data repair program 163 recovers the corrupted device-specific data 130 by copying the device-specific data 130 registered with the nearest information processing device to the device's storage device 13, based on the recovery source access information 170. In this case, the communication load related to the recovery of the device-specific data 130 can be reduced.
また、本実施例では、データ修復プログラム163は、全装置共通データ132が破損した場合、復旧元アクセス情報170に基づいて、最近傍の情報処理装置に記憶されている全装置共通データ132を自装置の記憶装置13にコピーすることで、破損した全装置共通データ132を復旧する。この場合、全装置共通データ132の復旧に係る通信負荷及び記憶容量を軽減することが可能となる。 Furthermore, in this embodiment, if the all-device common data 132 is corrupted, the data recovery program 163 recovers the corrupted all-device common data 132 by copying the all-device common data 132 stored in the nearest information processing device to the device's storage device 13, based on the recovery source access information 170. In this case, the communication load and storage capacity required for recovering the all-device common data 132 can be reduced.
また、本実施例では、記憶装置診断プログラム162は、記憶装置13に関する障害を検出した場合、その障害が記憶装置13に記憶されたデータの破損か記憶装置13のハードウェアの故障かを判定する。データの破損の場合、データ修復プログラム163は、記憶装置13に記憶された装置固有データ130、一部装置共通データ131及び全装置共通データ132を復旧する。また、ハードウェアの故障の場合、記憶装置診断プログラム162は、情報処理装置1に縮退動作を行わせる。このため、障害発生時に適切な処理を行うことが可能となる。 Furthermore, in this embodiment, when the storage device diagnostic program 162 detects a problem related to the storage device 13, it determines whether the problem is due to corruption of data stored in the storage device 13 or a hardware failure of the storage device 13. If data corruption occurs, the data recovery program 163 recovers the device-specific data 130, some device-common data 131, and all-device-common data 132 stored in the storage device 13. If hardware failure occurs, the storage device diagnostic program 162 causes the information processing device 1 to perform a degraded operation. This enables appropriate processing when a problem occurs.
また、本実施例では、データ修復プログラム163は、データの破損の場合、装置固有データ130、一部装置共通データ131及び全装置共通データ132のうち破損したデータを特定し、当該破損したデータのみを復旧する。このため、データの復旧の際にかかる負荷を軽減することが可能となる。 Furthermore, in this embodiment, the data recovery program 163 identifies the corrupted data from among the device-specific data 130, some device-common data 131, and all-device-common data 132 in the event of data corruption, and recovers only that corrupted data. This reduces the load incurred during data recovery.
本実施例では、一部装置共通データ131をアップデートするアップデート処理について説明する。なお、全装置共通データ132についても本実施例と同様な方法によりアップデートすることができる。 This embodiment describes an update process for updating some of the common device data 131. Note that the common device data 132 can also be updated using the same method as in this embodiment.
図13は、本実施例に係る情報処理装置1の機能的な構成の一例を示すブロック図である。図13に示す情報処理装置1は、図3に示した実施例1の情報処理装置1と比べて、データ管理部16を実現するプログラムにアップデートプログラム164が追加されている点で異なる。以下、アップデートプログラム164によるアップデート処理について主に説明する。 Figure 13 is a block diagram showing an example of the functional configuration of the information processing device 1 according to this embodiment. The information processing device 1 shown in Figure 13 differs from the information processing device 1 of Embodiment 1 shown in Figure 3 in that an update program 164 is added to the program that implements the data management unit 16. The update process by the update program 164 will be mainly described below.
図14は、アップデートプログラム164によるアップデート処理の一例を説明するための図である。図14では、情報処理装置1-0~1-5が示されており、情報処理装置1-0、1-2、1-3及び1-5は同一種別(種別A)の一部装置共通データ131を有し、情報処理装置1-1及び1-4は異なる種別(種別B、種別C)の一部装置共通データ131を有する。 Figure 14 illustrates an example of the update process performed by the update program 164. Figure 14 shows information processing devices 1-0 to 1-5. Information processing devices 1-0, 1-2, 1-3, and 1-5 have some common device data 131 of the same type (Type A), while information processing devices 1-1 and 1-4 have some common device data 131 of different types (Type B and Type C).
情報処理装置1-0~1-5のいずれかの情報処理装置の一部装置共通データ131がアップデートされた場合、他の情報処理装置のアップデートプログラム164は、そのアップデートされた一部装置共通データ131に基づいて、自装置の一部装置共通データ131をアップデートする。このとき、通信負荷の低減を図るために、アップデートプログラム164は、経由装置数が最小の情報処理装置1である最小経由の情報処理装置1から一部装置共通データ131を、自装置の記憶装置13にコピーすることで、自装置の一部装置共通データ131をアップデートする。 When the common data 131 of any of the information processing devices 1-0 to 1-5 is updated, the update program 164 of the other information processing devices updates its own common data 131 based on the updated common data 131. At this time, in order to reduce the communication load, the update program 164 updates its own common data 131 by copying the common data 131 from the information processing device 1 with the fewest number of intermediate devices to its own storage device 13.
これにより、情報処理装置1のいずれかの一部装置共通データ131がアップデートされると、その一部装置共通データ131がアップデートされた情報処理装置1に近い情報処理装置1から順次、一部装置共通データ131がアップデートされることとなる。例えば、図14の例では、情報処理装置1-5の一部装置共通データ131がアップデートされた場合、(1)情報処理装置1-5の一部装置共通データ131が情報処理装置1-4にコピーされ、(2)情報処理装置1-4の一部装置共通データ131が情報処理装置1-2にコピーされ、(3)情報処理装置1-2の一部装置共通データ131を情報処理装置1-1にコピーされることで、情報処理装置1-4、1-2、1-1の順番に一部装置共通データ131が順番にアップデートされる。ただし、同じ種別の一部装置共通データ131の少なくとも1つ(この場合、情報処理装置1-5)は、図示していないサーバなどから直接アップデートされる。 As a result, when any of the Information Processing Units 1 have their partial device common data 131 updated, the partial device common data 131 will be updated sequentially, starting with the Information Processing Unit 1 closest to the one that received the update. For example, in the example shown in Figure 14, if the partial device common data 131 of Information Processing Unit 1-5 is updated, (1) the partial device common data 131 of Information Processing Unit 1-5 is copied to Information Processing Unit 1-4, (2) the partial device common data 131 of Information Processing Unit 1-4 is copied to Information Processing Unit 1-2, and (3) the partial device common data 131 of Information Processing Unit 1-2 is copied to Information Processing Unit 1-1. Thus, the partial device common data 131 is updated sequentially in the order of Information Processing Units 1-4, 1-2, and 1-1. However, at least one of the partial device common data 131 of the same type (in this case, Information Processing Unit 1-5) is updated directly from a server or other device not shown in the diagram.
図15は、アップデート処理の一例をより詳細に説明するためのフローチャートである。ここでは、情報処理装置1-0の一部装置共通データ131-0をアップデートする例に挙げて、アップデート処理のより詳細な説明を行う。 Figure 15 is a flowchart illustrating an example of the update process in more detail. Here, we will use the example of updating some of the common data 131-0 of the information processing device 1-0 to provide a more detailed explanation of the update process.
なお、情報処理装置1-0の初回起動時において、同一データ探索プログラム161は、実施例1と同様にして、自装置の一部装置共通データ131同一種別の一部装置共通データ131を有する情報処理装置1-2、1-3及び1-5に接続するための情報を含む同一データアクセス情報171-0を自装置の補助記憶装置17に記憶しておく。その後、情報処理装置1-1は、運用時において、定期的にアップデートプログラム164を実行することにより、アップデート処理を行う。 Furthermore, at the initial startup of the information processing device 1-0, the same data search program 161 stores the same data access information 171-0, which includes information for connecting to information processing devices 1-2, 1-3, and 1-5 that have some of the same type of common device data 131, in the auxiliary storage device 17 of the device, in the same manner as in Embodiment 1. Subsequently, during operation, the information processing device 1-1 performs update processing by periodically executing the update program 164.
アップデート処理では、先ず、アップデートプログラム164は、自装置の同一データアクセス情報171に基づいて、自装置の一部装置共通データ131と同一種別の一部装置共通データ131を記憶する情報処理装置1である同一種別装置のそれぞれから、その同一種別装置に記憶された一部装置共通データ131のバージョン情報及びアップデートフラグを取得し、取得した情報をまとめたデータテーブルをアップデート判定データとしてメモリ12上に作成する(ステップS1640)。アップデートフラグは、アップデートの状態を示す情報であり、例えば、各情報処理装置1の記憶装置13に記憶される。アップデートフラグは、アップデートの必要がないことを示す「-」、アップデートの必要があることを示す「アップデート予定」、及び、アップデート中であることを示す「アップデート中」のいずれかの値を示す。また、アップデートフラグの初期値は、「-」である。 In the update process, the update program 164 first obtains version information and update flags for the partially common device data 131 stored in the partially common device data 131 of the partially common device data 131 of the partially common device data 131 of the same type from each of the information processing devices 1 that store partially common device data 131 of the same type, based on the identical data access information 171 of the device itself. A data table summarizing the obtained information is then created in memory 12 as update determination data (step S1640). The update flag indicates the update status and is stored, for example, in the storage device 13 of each information processing device 1. The update flag displays one of the following values: "-" indicating no update is needed, "Update scheduled" indicating an update is needed, or "Updating" indicating an update is in progress. The initial value of the update flag is "-".
図16は、アップデート判定データの一例を示す図である。図16に示すアップデート判定データ1600は、フィールド1601~1604を含む。フィールド1601は、同一種別装置に接続するための情報であるIPアドレスを格納する。フィールド1602は、同一種別装置までの経由装置数を格納する。フィールド1603は、同一種別装置に格納された一部装置共通データ131のバージョン情報を格納する。フィールド1604は、同一種別装置に格納された一部装置共通データ131のアップデートフラグを格納する。IPアドレス及び経由装置数は、同一データアクセス情報171-0から取得することができ、バージョン情報及びアップデートフラグは、アップデートプログラム164にて取得される。 Figure 16 shows an example of update determination data. The update determination data 1600 shown in Figure 16 includes fields 1601 to 1604. Field 1601 stores the IP address, which is information for connecting to a device of the same type. Field 1602 stores the number of intermediate devices to reach the device of the same type. Field 1603 stores the version information of the common device data 131 stored in the device of the same type. Field 1604 stores the update flag of the common device data 131 stored in the device of the same type. The IP address and the number of intermediate devices can be obtained from the same data access information 171-0, while the version information and update flag are obtained by the update program 164.
図15の説明に戻る。アップデートプログラム164は、アップデート判定データに基づいて、自装置の一部装置共通データ131のバージョンよりも大きいバージョンの一部装置共通データ131を記憶した同一種別装置である先行更新装置が存在するか否かを判定する(ステップS1641)。先行更新装置が存在しない場合、アップデートプログラム164は、処理を終了する。一方、先行更新装置が存在する場合、自装置のアップデートフラグに「アップデート予定」を設定する(ステップS1642)。 Returning to the explanation of Figure 15, the update program 164 determines, based on the update determination data, whether there is a preceding update device of the same type that stores a version of the partial device common data 131 that is higher than the version of the partial device common data 131 of the current device (step S1641). If no preceding update device exists, the update program 164 terminates processing. On the other hand, if a preceding update device exists, the update flag of the current device is set to "Update Scheduled" (step S1642).
アップデートプログラム164は、アップデート判定データにおいて経由装置数が最小の情報処理装置1である最小経由の情報処理装置1の一部装置共通データ131がアップデート済みか否かを判定する(ステップS1643)。例えば、アップデートプログラム164は、最小経由の情報処理装置1の一部装置共通データ131のバージョンが自装置の一部装置共通データ131のバージョンよりも大きい場合、最小経由の情報処理装置1の一部装置共通データ131がアップデート済みであると判定する。 The update program 164 determines whether the partial device common data 131 of the information processing device 1 with the fewest number of intermediate devices has been updated (step S1643). For example, if the version of the partial device common data 131 of the information processing device 1 with the fewest number of intermediate devices is greater than the version of the partial device common data 131 of its own device, the update program 164 determines that the partial device common data 131 of the information processing device 1 with the fewest number of intermediate devices has been updated.
最小経由の情報処理装置1の一部装置共通データ131がアップデート済みの場合、アップデートプログラム164は、最小経由の情報処理装置1の一部装置共通データ131を自装置の記憶装置13にコピーすることで、自装置の一部装置共通データ131をアップデートし(ステップS1644)、処理を終了する。なお、アップデートプログラム164は、アップデート中(ステップS1644の処理の実行中)は、自装置のアップデートフラグを「アップデート中」とし、アップデートが終了すると、自装置のアップデートフラグを「-」とする。 If the partial device common data 131 of the information processing device 1 has already been updated, the update program 164 updates the partial device common data 131 of the information processing device 1 by copying it to the storage device 13 of the device itself (step S1644), and then terminates the process. During the update (while step S1644 is being executed), the update flag of the device is set to "Updating," and when the update is complete, the update flag of the device is set to "-."
最小経由装置の一部装置共通データ131がアップデート済みでない場合、アップデートプログラム164は、アップデートフラグが「アップデート中」の情報処理装置1が存在するか否かを判定する(ステップS1645)。 If some of the common data 131 for the minimum transit device has not been updated, the update program 164 determines whether or not there is an information processing device 1 with the update flag set to "Updating" (step S1645).
アップデートフラグが「アップデート中」の情報処理装置1が存在する場合、アップデートプログラム164は、一定期間待機する(ステップS1646)、その後、アップデートプログラム164は、自装置の同一データアクセス情報171に基づいて、アップデート判定データを更新し(ステップS1647)、ステップS1643の処理に戻る。 If there is an information processing device 1 with the update flag set to "Updating," the update program 164 waits for a certain period of time (step S1646). Afterward, the update program 164 updates the update determination data based on the same data access information 171 of its own device (step S1647), and returns to the process in step S1643.
アップデートフラグが「アップデート中」の情報処理装置1が存在しない場合、アップデートフラグが「アップデート予定」の情報処理装置1が存在しているのに関わらず、アップデートの順次実行が停止した状態である。これは、例えば、情報処理装置1-2及び1-3が互いに相手の一部装置共通データ131のアップデートを待つような場合に生じる。この状態を解消するために、アップデートプログラム164は、アップデート判定データにおいて経由装置数が2番目に小さい情報処理装置1である第2最小経由の情報処理装置1の一部装置共通データ131がアップデート済みか否かを判定する(ステップS1648)。 If no information processing device 1 has an update flag set to "Updating," the sequential execution of updates is stopped, even if an information processing device 1 has an update flag set to "Scheduled for Update." This occurs, for example, when information processing devices 1-2 and 1-3 are waiting for each other to update their respective partial device common data 131. To resolve this situation, the update program 164 determines whether the partial device common data 131 of the second least transiting information processing device 1, which is the information processing device 1 with the second smallest number of transiting devices in the update determination data, has been updated (step S1648).
第2最小経由の情報処理装置1の一部装置共通データ131がアップデート済みの場合、アップデートプログラム164は、第2最小経由の情報処理装置1の一部装置共通データ131を自装置の記憶装置13にコピーすることで、自装置の一部装置共通データ131をアップデートし(ステップS1648)、処理を終了する。一方、第2最小経由の情報処理装置の一部装置共通データ131がアップデート済みでない場合、アップデートプログラム164は、一定期間待機して(ステップS1646)、ステップS1647の処理に移行する。 If the partial device common data 131 of the information processing device 1 via the second minimum route has already been updated, the update program 164 updates the partial device common data 131 of the information processing device 1 via the second minimum route to the storage device 13 of the device itself (step S1648), and then terminates the process. On the other hand, if the partial device common data 131 of the information processing device 1 via the second minimum route has not already been updated, the update program 164 waits for a certain period of time (step S1646) and then proceeds to the process in step S1647.
なお、ステップS1643及びS1648では、一部装置共通データ131全体がコピーされる代わりに、一部装置共通データ131におけるアップデート前後の差分データのみがコピーされてもよい。 Furthermore, in steps S1643 and S1648, instead of copying the entire common data 131 for some devices, only the difference data before and after the update in the common data 131 for some devices may be copied.
以上説明したように本実施例によれば、アップデートプログラム164は、最小経由の情報処理装置1に記憶された一部装置共通データ131のバージョンが自装置の一部装置共通データ131のバージョンよりも大きい場合、最小経由の情報処理装置1に記憶された一部装置共通データ131に基づいて、自装置の一部装置共通データ131をアップデートする。この場合、通信負荷及び記憶容量を軽減しつつ、データのアップデートが可能となる。 As described above, according to this embodiment, if the version of the partial device common data 131 stored in the minimum-transit information processing device 1 is greater than the version of the partial device common data 131 of the device itself, the update program 164 updates the partial device common data 131 of the device itself based on the partial device common data 131 stored in the minimum-transit information processing device 1. In this case, data updates become possible while reducing communication load and storage capacity.
また、本実施例では、アップデートプログラム164は、アップデートフラグが「アップデート予定」の情報処理装置1が存在しているのに関わらず、アップデートの順次実行が停止した状態では、第2最小経由の情報処理装置の一部装置共通データ131に基づいて、自装置の一部装置共通データ131をアップデートする。この場合、通信負荷の増加を抑制しつつ、アップデートを適切に行うことが可能になる。 Furthermore, in this embodiment, even if there is an information processing device 1 with the update flag set to "Scheduled for Update," if the sequential execution of the update is stopped, the update program 164 updates the partial device common data 131 of its own device based on the partial device common data 131 of the information processing device via the second minimum. In this case, it becomes possible to perform the update appropriately while suppressing an increase in communication load.
上述した本開示の実施例は、本開示の説明のための例示であり、本開示の範囲をそれらの実施例にのみ限定する趣旨ではない。当業者は、本開示の範囲を逸脱することなしに、他の様々な態様で本開示を実施することができる。 The embodiments of this disclosure described above are illustrative for illustrative purposes only and are not intended to limit the scope of this disclosure to those embodiments. Those skilled in the art can implement this disclosure in various other forms without departing from the scope of this disclosure.
1:情報処理装置 11:CPU 12:メモリ 13:記憶装置 14:ネットワークインターフェイス 15:アプリケーション実行部 16:データ管理部 17:補助記憶装置 130:装置固有データ 131:一部装置共通データ 132:全装置共通データ 133:復旧データ150:アプリケーション 160:バックアップ格納プログラム161:同一データ探索プログラム162:記憶装置診断プログラム163:データ修復プログラム164:アップデートプログラム 170:復旧元アクセス情報 171:同一データアクセス情報
1: Information Processing Unit 11: CPU 12: Memory 13: Storage Device 14: Network Interface 15: Application Execution Unit 16: Data Management Unit 17: Auxiliary Storage Device 130: Device-Specific Data 131: Data Common to Some Devices 132: Data Common to All Devices 133: Recovery Data 150: Application 160: Backup Storage Program 161: Identical Data Search Program 162: Storage Device Diagnostic Program 163: Data Repair Program 164: Update Program 170: Recovery Source Access Information 171: Identical Data Access Information
Claims (8)
前記情報処理装置は、
他の前記情報処理装置の一部の情報処理装置と共通する一部装置共通データを記憶する記憶部と、
前記一部の情報処理装置のそれぞれについて、当該一部の情報処理装置と接続するための情報と、当該一部の情報処理装置と接続する際に経由する他の前記情報処理装置の数である経由装置数とを含む第1のアクセス情報を取得し、前記一部装置共通データが破損した場合、前記第1のアクセス情報に基づいて、前記経由装置数が最小の前記一部の情報処理装置である第1の復旧元装置に記憶された一部装置共通データを自装置の前記記憶部にコピーすることで、前記破損した一部装置共通データを復旧する処理部と、を有する、情報処理システム。 An information processing system comprising multiple information processing devices connected to each other via daisy-chain connection, enabling them to communicate with one another,
The aforementioned information processing device is
A storage unit that stores some common data shared with some other information processing devices,
An information processing system comprising: for each of the aforementioned partial information processing devices, a first access information is acquired which includes information for connecting to the partial information processing device and the number of intermediate devices which is the number of other information processing devices through which the connection is made; and if the partial device common data is corrupted, a processing unit is used to recover the corrupted partial device common data by copying the partial device common data stored in a first recovery source device, which is the partial information processing device with the smallest number of intermediate devices, to the storage unit of the device itself, based on the first access information.
前記処理部は、前記複数の情報処理装置のうち他の前記情報処理装置を経由せずに接続された情報処理装置である第2の復旧元装置に前記装置固有データを登録するとともに、前記第2の復旧元装置と接続するための情報を含む第2のアクセス情報を取得し、前記装置固有データが破損した場合、前記第2のアクセス情報に基づいて、前記第2の復旧元装置に登録された装置固有データを自装置の前記記憶部にコピーすることで、前記破損した装置固有データを復旧する、請求項1に記載の情報処理システム。 The storage unit stores device-specific data unique to each information processing device,
The processing unit registers the device-specific data in a second recovery source device, which is an information processing device connected to the plurality of information processing devices without going through the other information processing devices, and obtains second access information including information for connecting to the second recovery source device. If the device-specific data is corrupted, the processing unit recovers the corrupted device-specific data by copying the device-specific data registered in the second recovery source device to the storage unit of its own device based on the second access information.
前記処理部は、前記全装置共通データが破損した場合、前記第2のアクセス情報に基づいて、前記第2の復旧元装置に記憶されている全装置共通データを自装置の前記記憶部にコピーすることで、前記破損した全装置共通データを復旧する、請求項2に記載の情報処理システム。 The storage unit stores common data for all of the information processing devices,
The information processing system according to claim 2, wherein, if the common data for all devices is corrupted, the processing unit recovers the corrupted common data for all devices by copying the common data for all devices stored in the second recovery source device to the storage unit of its own device based on the second access information.
前記処理部は、前記記憶部に関する障害を検出した場合、当該障害が前記記憶部に記憶されたデータの破損か前記記憶部のハードウェアの故障かを判定し、前記データの破損の場合、前記記憶部に記憶された前記一部装置共通データ、前記装置固有データ及び前記全装置共通データを復旧し、前記ハードウェアの故障の場合、前記プログラムを実行することで、前記縮退動作を行わせる、請求項3に記載の情報処理システム。 The information processing device includes an auxiliary storage device that stores a program for causing the information processing device to perform a predetermined degraded operation.
The information processing system according to claim 3, wherein, when the processing unit detects a failure related to the storage unit, it determines whether the failure is due to corruption of data stored in the storage unit or a hardware failure of the storage unit, and in the case of data corruption, it restores the partial device common data, device-specific data, and all device common data stored in the storage unit, and in the case of a hardware failure, it executes the program to perform the degraded operation.
前記情報処理装置は、
他の前記情報処理装置の一部の情報処理装置と共通する一部装置共通データを記憶し、
前記一部の情報処理装置のそれぞれについて、当該一部の情報処理装置と接続するための情報と、当該一部の情報処理装置と接続する際に経由する他の前記情報処理装置の数である経由装置数とを含む第1のアクセス情報を取得し、前記一部装置共通データが破損した場合、前記第1のアクセス情報に基づいて、前記経由装置数が最小の前記一部の情報処理装置である第1の復旧元装置に記憶された一部装置共通データを自装置にコピーすることで、前記破損した一部装置共通データを復旧する、復旧方法。 A recovery method using an information processing system comprising multiple information processing devices connected to each other via daisy-chain connection,
The aforementioned information processing device is
It stores some common data shared with some other information processing devices,
A recovery method comprising: obtaining first access information for each of the aforementioned partial information processing devices, which includes information for connecting to the partial information processing device and the number of intermediate devices, which is the number of other information processing devices through which the connection is made; and, in the event that the partial device common data is corrupted, recovering the corrupted partial device common data by copying the partial device common data stored in a first recovery source device, which is the partial information processing device with the smallest number of intermediate devices, to the device itself based on the first access information.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2023042295A JP7848151B2 (en) | 2023-03-16 | 2023-03-16 | Information processing system and recovery method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2023042295A JP7848151B2 (en) | 2023-03-16 | 2023-03-16 | Information processing system and recovery method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2024131821A JP2024131821A (en) | 2024-09-30 |
| JP7848151B2 true JP7848151B2 (en) | 2026-04-20 |
Family
ID=92901544
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2023042295A Active JP7848151B2 (en) | 2023-03-16 | 2023-03-16 | Information processing system and recovery method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7848151B2 (en) |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20030163753A1 (en) | 2002-02-28 | 2003-08-28 | Dell Products L.P. | Automatic BIOS recovery in a multi-node computer system |
| JP2019020816A (en) | 2017-07-12 | 2019-02-07 | 株式会社日立製作所 | Method and system for recovering data in a distributed computing system |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH01209565A (en) * | 1988-02-17 | 1989-08-23 | Fujitsu Ltd | Memory back-up system |
| WO2012081075A1 (en) * | 2010-12-13 | 2012-06-21 | 三菱電機株式会社 | Car interior information display system and guidance information processing method |
-
2023
- 2023-03-16 JP JP2023042295A patent/JP7848151B2/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20030163753A1 (en) | 2002-02-28 | 2003-08-28 | Dell Products L.P. | Automatic BIOS recovery in a multi-node computer system |
| JP2019020816A (en) | 2017-07-12 | 2019-02-07 | 株式会社日立製作所 | Method and system for recovering data in a distributed computing system |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2024131821A (en) | 2024-09-30 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7865782B2 (en) | I/O device fault processing method for use in virtual computer system | |
| CN110780890A (en) | System upgrading method and device, electronic equipment and medium | |
| US8266474B2 (en) | Fast cluster failure detection | |
| CN103488498A (en) | Computer booting method and computer | |
| WO2021004256A1 (en) | Node switching method in node failure and related device | |
| JPH086910A (en) | Cluster computer system | |
| CN111367885A (en) | Database management system, database management method, storage medium, and electronic device | |
| US10467100B2 (en) | High availability state machine and recovery | |
| CN111031126A (en) | Cluster cache sharing method, system, equipment and storage medium | |
| JP7848151B2 (en) | Information processing system and recovery method | |
| US10803001B2 (en) | Electronic device and operating method thereof | |
| CN112636987A (en) | Block chain cross-chain gateway determination method, system and terminal equipment | |
| JP2001022599A (en) | Fault tolerant system, fault tolerant processing method, and fault tolerant control program recording medium | |
| JP2012203442A (en) | Enclosure manager, firmware management system, firmware management method and program | |
| US7552355B2 (en) | System for providing an alternative communication path in a SAS cluster | |
| JP2008217202A (en) | Disk array device and firmware update method | |
| KR101731422B1 (en) | Restoration apparatus and method for fault over the virtual environment | |
| CN114117280A (en) | Page static resource using method and device, terminal equipment and storage medium | |
| CN108259613B (en) | Disaster recovery data online synchronization device, method and computer readable storage medium | |
| CN116760835B (en) | Distributed storage method, device and medium | |
| US20230027848A1 (en) | Firmware provision apparatus and provision method therefor | |
| CN113312209A (en) | Data hot standby method, device, server and storage medium | |
| JP2006338225A (en) | Automatic installation method of computer | |
| JP2024136875A (en) | Information processing system and program | |
| CN115269244A (en) | Control method and device and electronic equipment |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20250618 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20260212 |
|
| 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: 20260317 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20260408 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7848151 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |