JP2015129994A - Transmission program, transmission method, and transmission apparatus - Google Patents
Transmission program, transmission method, and transmission apparatus Download PDFInfo
- Publication number
- JP2015129994A JP2015129994A JP2014000205A JP2014000205A JP2015129994A JP 2015129994 A JP2015129994 A JP 2015129994A JP 2014000205 A JP2014000205 A JP 2014000205A JP 2014000205 A JP2014000205 A JP 2014000205A JP 2015129994 A JP2015129994 A JP 2015129994A
- Authority
- JP
- Japan
- Prior art keywords
- information
- transmission
- area
- block
- disk image
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Computer And Data Communications (AREA)
- Stored Programmes (AREA)
Abstract
Description
本発明は、データの送信に関する。 The present invention relates to data transmission.
情報処理装置を用いた情報処理システムの構築において、送信装置から配信対象の対象装置にディスクイメージ(システムイメージ)を配信することが行われている。対象装置では、配信されたディスクイメージが展開され、展開されたディスクイメージのシステムが構築される。 In the construction of an information processing system using an information processing apparatus, a disk image (system image) is distributed from a transmission apparatus to a target apparatus to be distributed. In the target device, the distributed disk image is expanded, and a system of the expanded disk image is constructed.
このような情報処理システムの構築において、例えばSaaS(Software as a Service)の形態では、インターネットを介してディスクイメージの配信を行うことがある。この場合には、ディスクイメージを配信する際のネットワークの帯域が十分に確保されている環境とは異なり、配信中の通信断に対する考慮が必要となる。通信断に対する考慮がされない場合には、どこまでデータを送信したかを把握できないため、通信断が発生した際に、実際には送信済みのデータも再送しなくてはならなくなり、冗長なデータ送信が発生する。 In constructing such an information processing system, for example, in the form of SaaS (Software as a Service), a disk image may be distributed via the Internet. In this case, it is necessary to consider communication interruption during distribution unlike an environment where a sufficient network bandwidth is ensured when distributing a disk image. If communication interruption is not taken into account, it is impossible to know how far the data has been transmitted. Therefore, when communication interruption occurs, data that has already been transmitted must be retransmitted, and redundant data transmission is not possible. Occur.
ネットワークを介してソフトウェアを更新する方法の一例として、例えば以下の通信システムがある。すなわち通信システムは、ホスト局と複数の端末とから成り、端末利用者に対してホームショッピングや情報サービスなどのサービスを行なう。また通信システムでは、端末操作プログラムがバージョンアップされると、ホスト局から端末にバージョンアップされたプログラムがダウンロードされる。そして端末が、不揮発性メモリの記憶手段と、不揮発性メモリ上にある操作プログラムで端末利用者がサービスを受けるときは、サービスを受けながら電話回線の空き時間を利用してダウンロードする制御手段とを有する。 As an example of a method for updating software via a network, for example, there is the following communication system. That is, the communication system includes a host station and a plurality of terminals, and provides services such as home shopping and information services to terminal users. In the communication system, when the terminal operation program is upgraded, the upgraded program is downloaded from the host station to the terminal. Then, when the terminal receives a service using the operation program stored in the nonvolatile memory, the terminal includes a control means for downloading using the idle time of the telephone line while receiving the service. Have.
ディスクイメージの配信時の通信断の発生を考慮して、ディスクイメージ配信先の記憶領域(ディスクイメージが展開される領域)とは異なる別個の記憶領域を設け、その領域に配信の進捗状況を保持する技術が存在する。 Considering the occurrence of communication interruption during disk image distribution, a separate storage area is provided that is different from the disk image distribution destination storage area (the area where the disk image is expanded), and the progress of distribution is maintained in that area. There is technology to do.
しかしながら、別個の記憶領域を設けて配信の進捗状況を保持する態様では、別個の記憶領域が揮発性の場合には、装置の電源断によりデータが消失してしまう。また、別個の記憶領域が不揮発性の場合には、進捗状況を保持するための不揮発性の記憶領域を増加させることとなるため、コストが増加するという問題がある。 However, in an aspect in which a separate storage area is provided to maintain the progress of distribution, if the separate storage area is volatile, data is lost due to the power-off of the apparatus. In addition, when the separate storage area is nonvolatile, there is a problem that the cost increases because the nonvolatile storage area for maintaining the progress status is increased.
そこで、1つの側面では、本発明は、通信断の際の冗長なデータ送信を抑止する通信プログラムを提供することを目的とする。 Accordingly, in one aspect, an object of the present invention is to provide a communication program that suppresses redundant data transmission when communication is interrupted.
一態様によるプログラムがコンピュータに実行させる処理は、第1情報に含まれる複数の第2情報それぞれを、記憶装置にアクセス可能な情報処理装置に送信して、送信した第2情報を記憶装置に記憶させ、第2情報の送信が中断された後に中断の復旧がされた場合、複数の第2情報の送信完了まで書き込み可能な記憶装置内の領域であって送信完了以降に使用される領域に、複数の第2情報の記憶の進行状況を特定する進行状況情報を記憶した情報処理装置から、進行状況情報を取得し、取得した進行状況情報に基いて、複数の第2情報のうち復旧後に送信する第2情報を特定し、特定した第2情報の送信を再開する処理を含む。 The process according to one aspect of the program causes the computer to transmit each of the plurality of second information included in the first information to an information processing apparatus accessible to the storage device, and store the transmitted second information in the storage device In the case where the interruption is restored after the transmission of the second information is interrupted, an area in the storage device that is writable until the transmission of the plurality of second information is completed, and the area that is used after the transmission is completed, The progress information is acquired from the information processing apparatus storing the progress information that identifies the progress of storing the plurality of second information, and is transmitted after recovery from the plurality of second information based on the acquired progress information. Including the process of identifying the second information to be performed and restarting the transmission of the identified second information.
一態様によれば、通信断の際の冗長なデータ送信を抑止する通信プログラムを提供することができる。 According to one aspect, it is possible to provide a communication program that suppresses redundant data transmission when communication is interrupted.
送信装置から対象装置へのディスクイメージの配信途中の通信断に備えて、ディスクイメージの配信の進捗情報をイメージの展開先となる記憶領域に単に記憶してしまうと、例えば、進捗情報はイメージの展開により上書きされてしまう。また、ディスクイメージの中の空き領域に進捗情報を記憶したとしても、その空き領域は他の処理において参照される可能性のある記憶領域であり、他の処理がイメージの展開中に動作した場合に誤作動が発生するおそれがある。そのため、進捗情報を保持する記憶領域や保持の態様は、ディスクイメージの配信および展開作業に影響を及ぼさない(誤作動や意図しない上書きをおこさない)ようにすることが望まれる。 If the progress information of the distribution of the disk image is simply stored in the storage area to which the image is deployed in preparation for the communication interruption during the distribution of the disk image from the transmission device to the target device, for example, the progress information is Overwritten by expansion. In addition, even if progress information is stored in a free area in the disk image, the free area is a storage area that can be referred to in other processes, and other processes operate during image expansion. May malfunction. For this reason, it is desirable that the storage area for holding the progress information and the mode of holding do not affect the distribution and development of the disk image (no malfunction or unintentional overwriting).
また、進捗情報を、ディスクイメージに含まれる中断時の復元プログラムにより使用されるリカバリ領域に記憶することも考えられる。しかしながら、ディスクイメージにはこのようなリカバリ領域が含まれない可能性がある。それは、SaaSのようにディスク容量に応じた従量課金の場合には、課金節約等の事情による。 It is also conceivable to store the progress information in a recovery area used by the interruption restoration program included in the disk image. However, there is a possibility that such a recovery area is not included in the disk image. In the case of pay-as-you-go billing according to the disk capacity like SaaS, it is due to circumstances such as billing saving.
さらに、ディスクイメージにリカバリ領域が設けられていたとしても、リカバリ領域とディスクイメージの展開先の領域との区別をする判断材料がないと正しくリカバリ領域を判断できない。このような判断の材料となる情報取得のためには、(少なくとも)リカバリ領域を管理するソフトウェア等との連携がさらに必要となる。そのため進捗情報をリカバリ領域に記憶する場合には、このようなソフトウェアの適用に伴う改版の負荷が増大してしまう。また、リカバリ領域はベンダー毎に固有のフォーマットで実装されており、その仕様は開示されていないことがある。また、このようなリカバリ領域は、ディスクイメージの展開時にのみ利用される領域であるので、展開後のディスクの利用効率の観点から望ましくない。 Further, even if the recovery area is provided in the disk image, the recovery area cannot be correctly determined without a determination material for distinguishing between the recovery area and the disk image development destination area. In order to acquire information that can be used as a basis for such determination, it is necessary to further cooperate with (at least) software that manages the recovery area. For this reason, when the progress information is stored in the recovery area, the revision load accompanying the application of such software increases. In addition, the recovery area is implemented in a format unique to each vendor, and its specifications may not be disclosed. Further, such a recovery area is an area that is used only when the disk image is expanded, and is not desirable from the viewpoint of the efficiency of use of the disk after the expansion.
以上のような状況を鑑み、実施形態に係る情報処理システムでは、対象装置における進捗情報を記憶する記憶領域として、ディスクイメージの送信完了まで書込み可能な領域であって送信完了以降に使用される領域を使用する。具体的には例えば実施形態に係る情報処理システムでは、進捗情報が記憶される領域として、ディスクイメージが展開された後の記憶装置内の領域であって、ディスクイメージを用いて情報処理装置が起動される際に参照される情報が記憶される領域が使用される。さらに具体的には例えば実施形態に係る情報処理システムでは、進捗情報が記憶される領域として、ディスクイメージに含まれるマスターブートレコード(MBR(Master Boot Record))の領域が使用される。すなわち、実施形態の情報処理システムにおいて、配信対象の対象装置は、ディスクイメージの配信及び展開中は、ディスクイメージにおけるMBRの領域に進捗管理のための情報を格納する。そして、ディスクイメージの展開が完了したら、対象装置は、再度MBR領域のデータを受信し、進捗管理に用いたMBR領域に正しいデータを格納する。ディスクイメージの配信中に通信切断が発生したら、配信の再開の際に送信装置は、対象装置のMBR領域に格納された進捗管理のための情報に基いて、ディスクイメージのどこのデータから配信を再開するかを特定する。そして送信装置は、特定したデータからディスクイメージの配信を再開する。 In view of the situation as described above, in the information processing system according to the embodiment, as a storage area for storing progress information in the target apparatus, an area that can be written until the completion of the transmission of the disk image and is used after the completion of the transmission Is used. Specifically, for example, in the information processing system according to the embodiment, the progress information is stored in an area in the storage device after the disk image is expanded, and the information processing apparatus is activated using the disk image. An area for storing information to be referred to is used. More specifically, for example, in the information processing system according to the embodiment, an area of a master boot record (MBR (Master Boot Record)) included in a disk image is used as an area for storing progress information. In other words, in the information processing system of the embodiment, the distribution target apparatus stores information for progress management in the MBR area of the disk image during distribution and development of the disk image. When the development of the disk image is completed, the target apparatus receives the data in the MBR area again and stores the correct data in the MBR area used for progress management. If communication disconnection occurs during the distribution of the disk image, the transmission device, when resuming the distribution, distributes data from anywhere in the disk image based on the information for progress management stored in the MBR area of the target device. Specify whether to resume. Then, the transmission device resumes the distribution of the disk image from the specified data.
このようにすることで、ディスクイメージの配信中に通信切断が発生しても、配信の再開の際に、対象装置からの進捗情報に基いて特定したデータから配信の再開ができるため、冗長なデータの送信を抑止できる。また、配信の進捗管理のための情報を、ディスクイメージにおけるMBR領域に格納し、最後にMBR領域に正しいデータを格納することで、イメージの展開により進捗情報が上書きされてしまうことを防ぐことができる。また、進捗管理のための情報がディスクイメージ内に格納されることにより、ディスクイメージの展開先の領域の他に別途進捗管理のための領域を確保せずに済み、配信にかかるコストを抑えることができ、リソースの使用効率の悪化も防ぐことができる。 In this way, even if communication disconnection occurs during the distribution of the disk image, the distribution can be resumed from the data specified based on the progress information from the target device when the distribution is resumed. Data transmission can be suppressed. In addition, by storing information for managing the progress of distribution in the MBR area of the disk image and finally storing the correct data in the MBR area, it is possible to prevent the progress information from being overwritten by image expansion. it can. In addition, because the information for progress management is stored in the disk image, it is not necessary to secure a separate area for progress management in addition to the area where the disk image is deployed, thereby reducing the cost of distribution. It is possible to prevent deterioration of resource use efficiency.
図1はMBRのヘッダフォーマットの一例を示す。MBRは、ブートストラップローダ11、パーティションテーブル12、及びブートシグネチャ13の領域を含む。ブートストラップローダ11の領域には、ブートに関するプログラムが格納される。パーティションテーブル12の領域には、パーティションに関する情報が格納される。ブートシグネチャ13の領域には、MBRが有効であることを示す値(具体的には例えば「0xAA55」)が格納される。
FIG. 1 shows an example of the MBR header format. The MBR includes areas of a
対象装置では、管理するディスクサイズの増大に対応するため、MBRを拡張したGPT(GUID Partition Table)が使用されることがある。図2は、GPT管理フォーマットの一例を示す。図2に示すように、GPT管理フォーマットは、MBRを共通して保有する。そのため、対象装置でGPTが使用される場合にも、GPTに含まれるMBRを用いて進捗情報の管理が可能である。 In the target device, a GPT (GUID Partition Table) in which MBR is expanded may be used to cope with an increase in the managed disk size. FIG. 2 shows an example of the GPT management format. As shown in FIG. 2, the GPT management format has an MBR in common. Therefore, even when the GPT is used in the target device, the progress information can be managed using the MBR included in the GPT.
ただし、MBRのサイズは512バイトと比較的小さいサイズであるが、GPTのサイズはMBRと比べて大きい。これは、GPTはMBR領域に加えて、複数のGPTヘッダとパーティションテーブルを含むためである。このため、MBR領域の配信途中で予期せぬ通信断が発生する確率と、GPT領域の配信途中で予期せぬ通信断が発生する確率を比較すると、配信領域のサイズが大きいため、GPT領域の配信途中で予期せぬ通信断が発生する確率が高くなる。 However, although the MBR size is a relatively small size of 512 bytes, the GPT size is larger than the MBR. This is because the GPT includes a plurality of GPT headers and a partition table in addition to the MBR region. For this reason, comparing the probability that an unexpected communication interruption occurs during the delivery of the MBR area and the probability that an unexpected communication interruption occurs during the distribution of the GPT area, the size of the distribution area is large. There is a high probability that an unexpected communication interruption will occur during distribution.
GPT領域は、特にデータの信頼性の確保が求められる特殊領域を含む。実施形態においては、特殊領域以外の一般領域に関しては、配信途中で予期せぬ通信断が発生した場合はブロック単位でデータの再送が行われる。しかしながら、信頼性の確保が求められる特殊領域に関しては、実施形態では、データの信頼性の確保のため、ブロック単位ではなく、意味のあるデータの単位での復元を行う。すなわち、特殊領域のデータの送信中に通信断が発生した場合には、再送信処理においては、特殊領域に含まれるブロックのうち最初のブロックから再度送信が行われる。このようにすることで、ディスクイメージの中でも特に重要な領域に関しては、再送信処理において再度最初からデータを再送することができ、信頼性を高めることができる。 The GPT area includes a special area that is particularly required to ensure data reliability. In the embodiment, regarding a general area other than the special area, if an unexpected communication interruption occurs during distribution, data is retransmitted in units of blocks. However, with regard to a special area where reliability is required, in the embodiment, in order to ensure data reliability, restoration is performed not in units of blocks but in units of meaningful data. That is, when a communication interruption occurs during transmission of data in the special area, transmission is performed again from the first block among the blocks included in the special area in the retransmission process. In this way, regarding a particularly important area in the disk image, data can be retransmitted from the beginning again in the retransmission process, and reliability can be improved.
特殊領域は、例えば図2の例における、MBR、第一GPTヘッダ、第一GPTエントリ配列、第二GPTエントリ配列、第二GPTヘッダ等の領域である。 The special area is an area such as the MBR, the first GPT header, the first GPT entry array, the second GPT entry array, and the second GPT header in the example of FIG.
尚、データの信頼性を確保するために配信途中で通信断が発生した場合にその領域の最初からブロックの再送が行われる特殊領域に対して、通信断が発生した場合に、ブロック単位で再送が行われる領域を一般領域と記す。一般領域のデータの送信中に通信断が発生した場合には、再送信処理においては、受信が完了していたブロックの次のブロックから送信が再開される。 In order to ensure data reliability, when communication interruption occurs during distribution, if a communication interruption occurs for a special area where blocks are retransmitted from the beginning of the area, retransmission is performed in block units. An area where the process is performed is referred to as a general area. If communication interruption occurs during transmission of data in the general area, in the retransmission process, transmission is resumed from the block next to the block whose reception has been completed.
実施形態においては、進捗管理のためのデータは、MBRに書き込まれる。MBRには本来の用途で用いられるデータの代わりに、進捗管理のためのデータが格納されることとなるため、MBRは、進捗管理のためのデータが書き込まれている場合には、本来の用途では用いることができない。進捗管理のためのデータが格納される領域は、具体的には、MBRのブートストラップローダ11及びブートシグネチャ13の領域である。
In the embodiment, data for progress management is written in the MBR. Since data for progress management is stored in the MBR instead of data used for the original use, the MBR is used for the original use when the data for progress management is written. Can not be used. Specifically, the area for storing data for progress management is the area of the
ここで、MBRの正当性は、ブートシグネチャ13により保証される。すなわちブートシグネチャ13に正しいデータ(具体的には例えば「0xAA55」)が設定されていない場合には、MBRは無効なものとして扱われる。実施形態では、ブートシグネチャ13の領域に進捗管理のデータが格納されるため、配信中はMBR自体が無効として扱われる。したがって、進捗管理のためのデータがMBRに書き込まれている間、すなわちディスクイメージの配信及び展開中には、対象装置のOS(Operating System)が起動されることはない。これは、ディスクイメージの配信及び展開中には、オペレーションミス等による対象装置の誤起動を防止するという効果をもたらす。
Here, the validity of the MBR is guaranteed by the
ブートシグネチャ13に正しいデータが設定されていると、ブートストラップローダ11からOSローダへのアクセスが可能な状態となる。仮に、ディスクイメージの配信途中で通信の切断が発生した場合にブートシグネチャ13に正しい値が設定されていると、対象装置は、ディスクイメージの配信途中の段階である不完全なOSが起動可能な状態となってしまう。この場合システム配信途中で通信の切断が発生し、システムが再起動された場合、不完全なOSのロードが開始され、OSの初期化処理中にエラーで停止するということが起こりうる。このような場合に、復旧を続行させるためには、BIOS(Basic Input/Output System)の起動順序の変更が必要になる。これは、送信装置と対象装置との余分な通信が発生し、復旧にかかる時間が長くなる。従って、ディスクイメージの配信及び展開中での誤起動を抑止することは、サービスの全体品質の向上につながる。
If correct data is set in the
また、ブートシグネチャ13に正しくないデータが格納されていたとしても、ブートストラップローダ11に本来のプログラムが格納されていると、OSローダを起動してしまう可能性がある。この領域のデータを、進捗情報で上書きすることで、ブートストラップローダ11からのOSローダへのアクセスは不可能となる。よって、ディスクイメージの配信途中の段階である不完全なOSの起動を防止することができる。
Even if incorrect data is stored in the
ここで、ディスクイメージとは、対象装置に構築したいシステムのディスク全体をファイル化したイメージファイルである。ディスクイメージを所定のサイズ毎に分割したデータをイメージデータまたはブロックと記す。送信装置は、ブロック毎に対象装置へデータを送信するものとする。 Here, the disk image is an image file in which the entire disk of the system to be built on the target device is filed. Data obtained by dividing a disk image into predetermined sizes is referred to as image data or blocks. It is assumed that the transmission device transmits data to the target device for each block.
図3は、実施形態に係る送信装置の構成を図解した機能ブロック図である。図3において、送信装置1は、送信部3、及び取得部4、再開部5を含む。送信装置1はネットワーク等を介して情報処理装置2に接続される。
FIG. 3 is a functional block diagram illustrating the configuration of the transmission apparatus according to the embodiment. In FIG. 3, the
送信部3は、第1情報に含まれる複数の第2情報それぞれを、記憶装置にアクセス可能な情報処理装置に送信して、送信した第2情報を記憶装置に記憶させる。
The
取得部4は、第2情報の送信が中断された後に中断の復旧がされた場合、複数の第2情報の送信完了まで書き込み可能な記憶装置内の領域であって送信完了以降に使用される領域に、複数の第2情報の記憶の進行状況を特定する進行状況情報を記憶した情報処理装置2から、進行状況情報を取得する。
When the interruption is recovered after the transmission of the second information is interrupted, the
再開部5は、取得部4により取得された進行状況情報に基いて、複数の第2情報のうち復旧後に送信する第2情報を特定し、特定した第2情報の送信を再開する。
The resuming
第1情報は情報処理装置2に適用するディスクイメージであり、第2情報はディスクイメージに含まれるイメージデータである。
The first information is a disk image applied to the
複数の第2情報の送信完了まで書き込み可能な領域であって送信完了以降に使用される記憶装置内の領域は、ディスクイメージが展開された後の、ディスクイメージを用いて情報処理装置2が起動される際に参照される情報が記憶される領域である。
The area in the storage device that is writable until the transmission of a plurality of second information is completed and that is used after the transmission is completed is activated by the
また、複数の第2情報の送信完了まで書き込み可能な領域であって送信完了以降に使用される記憶装置内の領域は、ディスクイメージに含まれるマスターブートレコードが記憶される記憶領域である。 Further, an area in the storage device that is writable until transmission of a plurality of second information is completed, and is used after the transmission is completed, is a storage area in which a master boot record included in the disk image is stored.
また、複数の第2情報の送信完了まで書き込み可能な領域であって送信完了以降に使用される記憶装置内の領域は、マスターブートレコードが記憶される記憶領域のうちの、ブートシグネチャ13及びブートストラップローダ11が記憶される領域である。
In addition, an area in the storage device that is writable until the transmission of the plurality of second information is completed and is used after the transmission is completed is the
ブートシグネチャ13が記憶される領域には、第2情報が記憶装置に記憶されることに応じて、進行状況情報が記憶されることにより、マスターブートレコードが有効であることを示す情報とは異なる情報が記憶される。
The area where the
また送信部3は、ディスクイメージの送信完了後、進行状況情報が記憶された領域に記憶されるディスクイメージに含まれるマスターブートレコードの情報を、情報処理装置2に送信する。
The
(実施形態1)
次に、実施形態1に係る情報処理システムの構成を説明する。図4は、実施形態1に係る情報処理システムの構成の一例を示す。実施形態1に係る情報処理システムは、配信サーバ21、及び対象サーバ22を含む。配信サーバ21と対象サーバ22は、例えばインターネット等のネットワークを介して接続される。配信サーバ21は対象サーバ22へディスクイメージの送信を行い、対象サーバ22は配信サーバ21から受信したディスクイメージを展開する(対象サーバのディスクに書き込む)。配信サーバ21は送信装置1の一例である。対象サーバ22は情報処理装置2の一例である。
(Embodiment 1)
Next, the configuration of the information processing system according to the first embodiment will be described. FIG. 4 shows an example of the configuration of the information processing system according to the first embodiment. The information processing system according to the first embodiment includes a
配信サーバ21は、送信処理部23及び送信情報記憶部24を含む。送信処理部23は、送信部3、取得部4、及び再開部5の一例である。
The
送信処理部23は、送信情報記憶部24に格納されたディスクイメージを読み込み、読み込んだディスクイメージを対象サーバ22に送信する送信処理を行う。また送信処理部23は、送信処理が中断した場合は、配信の再開が可能となったことを検知すると、ディスクイメージの再送信処理を行う。
The
実施形態1のディスクイメージの配信では、ディスクイメージに含まれるデータの送信順は予め定められているものとして説明する。例えば、先ず、ディスクイメージの特殊領域のデータが送信され、その後、一般領域のデータが送信される。また、特殊領域及び一般領域のデータは、その領域の中のブロック番号(またはアドレス等)の昇順で送信される。尚、送信の順序は、例えば送信の順序を配信サーバ21及び対象サーバ22で記録するなどすれば特に限定されない。
In the distribution of the disk image according to the first embodiment, it is assumed that the transmission order of data included in the disk image is predetermined. For example, first, the special area data of the disk image is transmitted, and then the general area data is transmitted. Further, the data in the special area and the general area are transmitted in the ascending order of the block numbers (or addresses) in the areas. The order of transmission is not particularly limited as long as the order of transmission is recorded by the
送信処理では、送信処理部23は、ディスクイメージの最初のブロックを送信する前に、MBRの初期化のための送信前処理を行う。また送信処理部23は、ディスクイメージのデータを送信する際には、ディスクイメージの送信状況の進捗管理を行う。
In the transmission processing, the
送信前処理では、送信処理部23は、ディスクイメージのMBR領域の、ブートストラップローダ11とブートシグネチャ13の領域を「0」で埋める。これは、MBR領域のブートストラップローダ11の領域とブートシグネチャ13の領域が対象サーバ22で進捗管理のために使用されるためであり、これらの領域の値が「0」であることで進捗管理情報が初期化されていることが示される。以下の説明では、ディスクイメージの配信前にブートストラップローダ11とブートシグネチャ13を「0」で埋める処理を初期化処理と記す。尚、ブートストラップローダ11及びブートシグネチャ13以外のGPTの領域は、初期化されない。すなわち、MBRパーティションテーブルの領域、GPTヘッダ、GPTパーティションテーブル、及びGPTトレーラ領域は、イメージの展開処理におけるディスクの物理位置を算出するため、保護対象とされる。
In the pre-transmission process, the
尚、初期化処理は上記に限定されず、ブートストラップローダ11の領域に意味をなさないデータが格納され、ブートシグネチャ13の値が無効であることを示す値(すなわち「0xAA55」以外の値)となっていれば特に限定されない。送信前にブートストラップローダ11とブートシグネチャ13の領域が初期化されて配信されると、対象サーバ22は、ディスクイメージの受信途中における予期しないOSの起動を防ぐことができる。
The initialization process is not limited to the above, and a value indicating that the meaningless data is stored in the area of the
進捗管理では、送信処理部23は、対象サーバ22に対するディスクイメージの送信が何処まで進捗したかを、送信ブロック識別情報を用いて管理する。送信ブロック識別情報は、送信が完了したブロックの次のブロックを特定するための情報が格納される。この送信ブロック識別情報40を用いて、送信処理部23は、配信の中断発生時の再送信処理において最初に送信を開始するブロックを特定する。
In the progress management, the
図5は、送信ブロック識別情報のデータの一例を示す。図5において、送信ブロック識別情報40は、領域識別情報41及びブロック番号42を含む。
FIG. 5 shows an example of transmission block identification information data. In FIG. 5, the transmission
領域識別情報41は、直近で送信が完了した領域の次の領域を識別するための識別情報である。ここで、「送信が完了した領域」とは、その領域に含まれる全てのデータの送信が完了した領域を指す。そして、「次」の領域とは、ディスクイメージの中のデータの送信順において「次」に送信されるデータが格納されている領域を指す。尚、この「領域」は、複数の特殊領域または一般領域のいずれかである。領域識別情報41は、言い換えると、現在送信処理中のブロックが格納されている領域の識別情報であるともいえる。
The
ブロック番号42は、直近で送信が完了したブロックのブロック番号の次のブロック番号を示す情報である。言い換えると、ブロック番号42は、現在送信処理中のブロックのブロック番号であるともいえる。尚、ブロック番号42は、一般領域のブロックのブロック番号が格納され、特殊領域のブロック番号は格納されないものとする。尚、ブロック番号42は、直近で送信が完了したブロックを特定可能であれば、ブロック番号に限定されず、例えばディスクイメージにおけるブロックのアドレスなど、種々の情報としてもよい。
The
進捗管理において送信処理部23は、ある領域に含まれるすべてのブロックの送信が完了する毎に、その領域の次の領域を示す領域識別情報を、送信ブロック識別情報40の領域識別情報41に格納する。また送信処理部23は、一般領域のブロックの送信が完了する毎に、送信ブロック識別情報40のブロック番号42に、送信が完了したブロックのブロック番号の次のブロック番号を格納する。
In the progress management, the
ディスクイメージの送信処理の中断が発生すると、送信処理部23は、送信処理が中断中であることを示す中断フラグを設定する。中断フラグが設定されている場合、送信処理部23は、配信が再開できることを検知するまで待機する。配信が再開できることを検知すると、送信処理部23は、中断フラグの設定を解除し、再送信処理を開始する。
When the disk image transmission process is interrupted, the
尚、配信サーバが複数の対象サーバにディスクイメージの配信を行う場合に、中断フラグには、複数の対象サーバの各々を識別するための識別情報を含めてもよい。送信処理部23は、中断フラグを確認することで、配信処理が中断されている対象サーバを特定することができる。
When the distribution server distributes the disk image to a plurality of target servers, the interruption flag may include identification information for identifying each of the plurality of target servers. The
再送信処理では、送信処理部23は先ず、配信が中断されていた配信先の対象サーバ22へ配信再開要求を送信する。次に送信処理部23は、対象サーバ22から進捗管理のための情報を受信し、受信した情報に基いて再送信処理において最初に送信するブロックを特定する。そして、特定したブロックから、送信処理部23は、送信処理を再開する。再送信処理において最初に送信するブロックを特定する処理の詳細については後ほど説明する。尚、再送信処理においても、進捗管理は、送信処理においてと同様に行われる。
In the retransmission process, the
配信対象のディスクイメージに含まれるすべてのデータの送信が完了すると、送信処理部23は、再度、MBR領域のブートストラップローダ11及びブートシグネチャ13の領域のデータを(初期化処理を行わずに)対象サーバ22へ送信する。尚、MBRの領域のすべてのデータを再送してもよい。
When the transmission of all the data included in the distribution target disk image is completed, the
送信情報記憶部24は、対象サーバ22に配信されるディスクイメージ、送信ブロック識別情報40、及び中断フラグを記憶する。
The transmission
次に、対象サーバ22について説明する。対象サーバ22は、受信処理部25及び受信情報記憶部26を含む。
Next, the
受信情報記憶部26は、配信サーバ21から受信したディスクイメージのデータが展開される領域である。
The reception
受信処理部25は、配信サーバ21から送信されたディスクイメージのデータを受信し、受信したデータを展開する(対象サーバ22の受信情報記憶部26に書き込む)受信処理を行う。また受信処理部25は、受信処理が中断した場合は、ディスクイメージの再受信処理を行う。
The
受信処理では、受信処理部25は、配信サーバ21から送信されたディスクイメージのデータを受信し、受信したデータを展開する。その際、データの受信処理の進捗状況を、受信ブロック識別情報50を用いて管理する。
In the reception process, the
図6は、受信ブロック識別情報50のデータの一例を示す。図6において、受信ブロック識別情報50は、領域識別情報51とブロック番号52を含む。この受信ブロック識別情報50の領域識別情報51は、展開されたディスクイメージのうちのMBRのブートシグネチャ13の領域に格納され、ブロック番号52は、展開されたディスクイメージのうちのブートストラップローダ11の領域に格納される。このブートストラップローダ11とブートシグネチャ13の領域は、送信前に配信サーバ21によって、初期化処理がなされて送信される領域である。
FIG. 6 shows an example of the data of the reception
領域識別情報51は、直近で受信及び展開が完了した領域の次の領域を識別するための識別情報である。ここで、「受信及び展開が完了した領域」とは、その領域に含まれる全てのデータの受信及び展開が完了した領域を指す。そして、「次」の領域とは、ディスクイメージの中のデータの送信順において「次」に受信されるデータが格納されている領域を指す。領域識別情報は、言い換えると、現在受信処理中のブロックが格納されている領域の識別情報であるともいえる。領域識別情報には、一般領域を示す識別情報と、複数の特殊領域を示す識別情報のいずれかが格納される。
The
図7は、領域識別情報51のデータの具体的例を示す。図7においては、例えば領域識別情報「DCFF」は、一般領域を指す。また例えば、領域識別情報「DC00」は、ディスク先頭のMBRの領域を指す。尚、領域識別情報は、図7の例に限定されず、領域識別情報51の値は、ディスクイメージの各特殊領域と一般領域を識別可能であれば所定の値を採ることができる。また例えば、図7に示した特殊領域以外にも他に信頼性を確保したい領域(中断が発生した場合その領域の最初からデータの送信を再開したい領域)がある場合は、その領域に対応する領域識別情報を割り当てればよい。また領域識別情報は、例えばその領域識別情報が示す特殊領域の領域番号と同値であってもよい。領域識別情報51は、MBRのブートシグネチャ13の領域に格納される情報であるので、図7で示した領域識別情報は、予約済みのブートシグネチャであると考えることもできる。
FIG. 7 shows a specific example of the data of the
ブロック番号52は、直近で受信及び展開が完了したブロックのブロック番号の次のブロック番号を示す情報である。言い換えると、ブロック番号52は、現在受信処理中のブロックのブロック番号であるともいえる。尚、ブロック番号52は、一般領域のブロックのブロック番号が格納され、特殊領域のブロック番号は格納されないものとする。尚、ブロック番号52は、直近で受信及び展開が完了したブロックを特定可能であれば、ブロック番号に限定されず、例えばディスクイメージにおけるブロックのアドレスなど、種々の情報としてもよい。 The block number 52 is information indicating the block number next to the block number of the block that has been most recently received and expanded. In other words, it can be said that the block number 52 is the block number of the block currently being received. The block number 52 stores the block number of the block in the general area and does not store the block number in the special area. The block number 52 is not limited to the block number as long as it can identify the block that has been received and expanded most recently, and may be various information such as the address of the block in the disk image.
ブートストラップローダ11の領域に格納されるブロック番号52は、ブートシグネチャ13の領域に格納される領域識別情報51が一般領域を示す識別情報(図7の例では「DCFF」)が格納されているときに有効になる。言い換えると、領域識別情報51に特殊領域のいずれかを示す領域識別情報が格納されているときには、ブロック番号52は無効となる。
In the block number 52 stored in the area of the
例えば、領域識別情報51に「DCFF」が格納されており、ブロック番号52に「N(正の整数)」が格納されている場合、再送信処理においては、一般領域のブロック番号「N」で示されるブロックから送信処理が再開されるように制御される。また、例えば、領域識別情報51に「DC00」が格納されている場合には、ディスク先頭のMBRの領域の最初のブロックから送信処理が再開されるように制御される。
For example, when “DCFF” is stored in the
受信処理部25は、一般領域のブロックの受信及び展開が完了する毎に、受信及び展開が完了したブロックのブロック番号の次のブロック番号を、受信ブロック識別情報50のブロック番号52に格納する。また、受信処理部25は、ある領域に含まれるすべてのブロックの受信及び展開が完了する毎に、その領域のデータの次に送信されるデータが格納される領域を示す領域識別情報を、受信ブロック識別情報50の領域識別情報51に格納する。
The
図8は、データを受信した場合の受信ブロック識別情報50の変化を説明するための図である。図8の(1)は、初期化された状態の受信ブロック識別情報50とディスクイメージ展開領域の様子を示している。(1)において、受信ブロック識別情報50は「0」で初期化されている。(2)は、(1)の状態から一般領域のブロック番号「N-2」のブロックの受信及び展開が完了し、ブロック番号「N-1」のブロックの受信処理の途中である状態を示している。この場合、受信ブロック識別情報50の領域識別情報51には「DCFF」が格納され、ブロック番号52には「N-1」が格納されている。(3)は、(2)の状態から一般領域のブロック番号「N-1」のブロックの受信及び展開が完了し、ブロック番号「N」のブロックの受信処理の途中である状態を示している。この場合、受信ブロック識別情報50の領域識別情報51には「DCFF」が格納され、ブロック番号52には「N」が格納されている。(4)は、(3)の状態から一般領域のブロック番号「N」のブロックの受信及び展開が完了し、ブロック番号「N+1」のブロックの受信処理の途中である状態を示している。この場合、受信ブロック識別情報50の領域識別情報51には「DCFF」が格納され、ブロック番号52には「N+1」が格納されている。(5)は、(4)の状態から一般領域のブロック番号「N+1」のブロックの受信及び展開が完了し、ブロック番号「N+2」のブロックの受信処理の途中である状態を示している。この場合、受信ブロック識別情報50の領域識別情報51には「DCFF」が格納され、ブロック番号52には「N+2」が格納されている。このように、ブロックの受信処理が完了する毎に、受信ブロック識別情報50のブロック番号52の値が更新される。
FIG. 8 is a diagram for explaining a change in the received
ディスクイメージの受信処理の中断が発生すると、受信処理部25は、再受信処理を開始する。再受信処理では先ず、受信処理部25は、配信サーバ21から配信再開要求を受信する。すると、受信処理部25は、受信ブロック識別情報50に格納された情報を配信サーバ21へ送信する。そして、受信処理部25は配信サーバ21からディスクイメージのうち再開後のデータを受信し、展開する。尚、配信が中断されてから再開後のデータの受信及び展開は、中断前に展開されていたディスクイメージのデータに対して整合性がとれる形で展開されるものとする。受信処理部25は、受信ブロック識別情報50から中断前の配信の進捗を確認することにより、中断の前後で整合性の取れたディスクイメージの展開を行う。尚、受信ブロック識別情報50のブロック番号52(すなわちブートストラップローダ11の領域)に、中断の前後で整合性を保つための管理情報を含ませてもよい。
When the disk image reception process is interrupted, the
すべてのディスクイメージのデータの受信と展開が完了すると、受信処理部25は、再度MBRのブートストラップローダ11及びブートシグネチャ13のデータを配信サーバ21から受信する。すると受信処理部25は再度、MBRのブートストラップローダ11及びブートシグネチャ13の領域に、再受信したデータを書き込む。これにより、MBRのブートストラップの領域に本来の値が格納され、ブートシグネチャ13の領域にMBRが有効であることを示す値(「0xAA55」)が格納されることとなる。そして、ディスクイメージの受信処理または再受信処理が終了する。
When the reception and expansion of all the disk image data are completed, the
次に、ディスクイメージの配信の中断時の、配信サーバ21と対象サーバ22の動作について説明する。図9は、実施形態1に係るディスクイメージの配信の中断時の配信サーバ21と対象サーバ22の動作関係を説明するための図である。
Next, operations of the
図9において、先ず配信サーバ21は、中断からの配信処理の再開が可能であることを検知する(S91)。すると、配信サーバ21は、処理再開要求を対象サーバ22へ送信する(S92)。
In FIG. 9, first, the
対象サーバ22は、処理再開要求を受信すると、受信ブロック識別情報50を参照して(S93)、その情報を配信サーバ21へ通知する(S94)。ただし、受信ブロック識別情報50の領域識別情報51が一般領域を示す場合、対象サーバ22は、受信ブロック識別情報50のうちブロック番号52を配信サーバ21に通知する。また、受信ブロック識別情報50の領域識別情報51が特殊領域のいずれかを示す場合、対象サーバ22は、受信ブロック識別情報50のうちの領域識別情報51を配信サーバ21に通知する。以下の説明では、ここで通知される受信ブロック識別情報50の一部を受信ブロック通知と記す。
When receiving the process resumption request, the
受信ブロック通知を受信すると、配信サーバ21は、再送信処理において最初に送信するブロック(以下、再開ブロックと記す)を特定する。具体的には、配信サーバ21は、送信ブロック識別情報40と受信した受信ブロック通知の内容とを比較し(S95)、内容が一致するか否かを判定する。送信処理部23は、受信ブロック通知の内容がブロック番号52である場合、送信ブロック識別情報40のブロック番号42と比較する。また、ブロック通知の内容が領域識別情報51である場合、送信処理部23は、送信ブロック識別情報40の領域識別情報41と比較する。
When receiving the reception block notification, the
そして、受信ブロック通知の内容と、送信ブロック識別情報40の内容が一致すると判定した場合、送信処理部23は、一致した内容で示されるブロックを再開ブロックとして特定する(S96)。受信ブロック通知の内容と、送信ブロック識別情報40の内容が一致しないと判定した場合、送信処理部23は、受信ブロック通知で示されるブロックを再開ブロックとして特定する(S96)。もしくは、受信ブロック通知の内容と、送信ブロック識別情報40の内容が一致しないと判定した場合、送信処理部23は、配信の再開ができない旨を、表示装置などを介して表示して処理を終了してもよい。
If it is determined that the content of the received block notification matches the content of the transmission
再開ブロックを特定すると、送信処理部23は、特定したブロックを読み込んで、対象サーバ22へ送信し(S97)、特定したブロックから送信処理を再開する。
When the restart block is specified, the
そして、対象サーバ22の受信処理部25は、再送信処理において配信サーバ21から送信される情報の受信処理を行う。
And the
次に、配信サーバ21の送信処理部23の送信処理のフローを説明する。図10は、実施形態1に係る配信サーバ21の送信処理部23の送信処理の内容を図解したフローチャートである。
Next, a flow of transmission processing of the
図10において、先ず送信処理部23は、送信情報記憶部24から配信対象のディスクイメージのブロックを読み込む(S101)。次に、送信処理部23は、S101で読み込んだブロックがディスクイメージにおけるMBRのブートストラップローダ11またはブートシグネチャ13の領域のデータか否かを判定する(S102)。読み込んだブロックがディスクイメージにおけるMBRのブートストラップローダ11またはブートシグネチャ13の領域のデータであると判定した場合(S102でYes)、送信処理部23は、読み込んだブロックのデータを初期化する(S103)。具体的には例えば、送信処理部23は読み込んだブロックのデータをすべて「0」で置き換える。そして処理はS104に遷移する。
In FIG. 10, the
一方、S102において、読み込んだブロックのデータがディスクイメージにおけるブートストラップローダ11及びブートシグネチャ13の領域のデータのいずれでもないと判定した場合(S102でNo)、送信処理部23は、次の処理を実行する。すなわち、送信処理部23は、S101で読み込んだブロックが含まれる領域のすべてのブロックが読み込み済みか否かを判定する(S104)。S101で読み込んだブロックが含まれる領域の全てのブロックが読み込み済みであると判定した場合、送信処理部23は、送信ブロック識別情報40の領域識別情報41を、読み込み済みであると判定した領域の次の領域を示す領域識別情報に更新する(S105)。尚、読み込み済みであると判定した領域の次の領域が存在しない場合は、すべての領域の読み込みが終了した旨を示す値に、領域識別情報41を更新してもよい。そして処理はS106に遷移する。
On the other hand, when it is determined in S102 that the read block data is neither the
一方、S104において、S101で読み込んだブロックが含まれる領域のいずれかのブロックが読み込み済みでないと判定した場合(S104でNo)、送信処理部23は、S101で読み込んだブロックが含まれる領域が一般領域か否かを判定する(S106)。S101で読み込んだブロックが含まれる領域は一般領域であると判定した場合(S106でYes)、送信処理部23は、送信ブロック識別情報40のブロック番号42を、S101で読み込んだブロックの次のブロックのブロック番号に更新する。そして処理はS108に遷移する。
On the other hand, when it is determined in S104 that any block in the area including the block read in S101 has not been read (No in S104), the
一方、S106において、S101で読み込んだブロックが含まれる領域は一般領域でない、すなわち、特殊領域であると判定した場合(S106でNo)、送信処理部23は、S101で読み込んだブロックを対象サーバ22へ送信する(S108)。
On the other hand, if it is determined in S106 that the area including the block read in S101 is not a general area, that is, a special area (No in S106), the
次に、送信処理部23は、ディスクイメージに含まれるすべてのブロックの送信が完了したか否かを判定する(S109)。ディスクイメージに含まれるいずれかのブロックの送信が完了していないと判定された場合(S109でNo)、処理はS101に遷移し、送信処理部23は、送信順において次の、未だ読み込んでいないブロックを読み込む。
Next, the
ディスクイメージに含まれるすべてのブロックの送信が完了したと判定した場合(S109でYes)、送信処理部23は、再度、ディスクイメージにおけるMBR領域のブートストラップローダ11及びブートシグネチャ13の領域のブロックを読み込む。そして送信処理部23は、読み込んだブートストラップローダ11及びブートシグネチャ13の領域のブロックを対象サーバ22へ送信する(S110)。そして処理は終了する。
If it is determined that the transmission of all the blocks included in the disk image has been completed (Yes in S109), the
次に、配信サーバ21の送信処理部23の再送信処理のフローを説明する。図11は、実施形態1に係る配信サーバ21の送信処理部23の再送信処理の内容を図解したフローチャートである。尚、図11のフローはディスクイメージの対象サーバ22への送信処理において中断が発生している状態から開始されるものとする。
Next, the flow of retransmission processing of the
図11において、先ず送信処理部23は、中断からディスクイメージの配信が可能となったことを検知する(S201)。この中断からの検知は、例えば、他の装置から配信が可能になった旨の通知を送信処理部23が受信することによって検知してもよいし、送信処理部23がネットワーク等の状況を確認して配信が可能になったことを検知してもよい。そして、送信処理部23は中断フラグの設定を解除する。
In FIG. 11, the
次に、送信処理部23は、対象サーバ22に処理再開要求を送信する(S202)。処理再開要求には、配信サーバ21のメモリ上で動作する、処理再開のための制御を行う所定のソフトウェアを含んでもよい。
Next, the
次に、送信処理部23は、対象サーバ22から受信ブロック通知を受信する(S203)。
Next, the
次に、送信処理部23は、対象サーバ22から受信した受信ブロック通知に含まれる情報が領域識別情報51か否かを判定する(S204)。受信ブロック通知に含まれる情報が領域識別情報であると判定した場合(S204でYes)、送信処理部23は、送信ブロック識別情報40の領域識別情報41と受信ブロック通知の領域識別情報51が一致するか否かを判定する(S205)。送信ブロック識別情報40と受信ブロック通知の領域識別情報が一致すると判定した場合(S205でYes)、送信処理部23は、一致した領域識別情報で示される領域の最初のブロックを再開ブロックとして特定する(S206)。そして、S206で特定したブロックを読み込み対象のブロックとして、処理は図10のS101に遷移する。
Next, the
一方、S205において、送信ブロック識別情報40と受信ブロック通知の領域識別情報が一致しないと判定した場合(S205でNo)、送信処理部23は次の処理を行う。すなわち、送信処理部23は、受信ブロック通知の領域識別情報51で示される領域の最初のブロックを再開ブロックとして特定する(S207)。ここで、送信処理部23は、受信ブロック通知の内容で処理を再開する旨の警告表示などを行ってもよい。そして、S207で特定したブロックを読み込み対象のブロックとして、処理は図10のS101に遷移する。
On the other hand, when it is determined in S205 that the transmission
S204において、受信ブロック通知に含まれる情報が領域識別情報でないと判定した場合(S204でNo)、送信処理部23は、送信ブロック識別情報40の領域識別情報41が一般領域を示すものであるか否かを判定する(S208)。そして、送信ブロック識別情報40の領域識別情報41が一般領域を示すと判定した場合(S208でYes)、送信処理部23は、送信ブロック識別情報40のブロック番号42と、受信ブロック通知のブロック番号52とが一致するか否かを判定する(S209)。送信ブロック識別情報40と受信ブロック通知のブロック番号が一致すると判定した場合(S209でYes)、送信処理部23は、一致したブロック番号のブロックを再開ブロックとして特定する(S210)。そして、S210で特定したブロックを読み込み対象のブロックとして、処理は図10のS101に遷移する。
If it is determined in S204 that the information included in the reception block notification is not area identification information (No in S204), the
一方、S209において、送信ブロック識別情報40と受信ブロック通知のブロック番号が一致しないと判定した場合(S209でNo)、送信処理部23は、受信ブロック通知のブロック番号52のブロックを再開ブロックとして特定する(S211)。ここで、送信処理部23は、受信ブロック通知の内容で処理を再開する旨の警告表示などを行ってもよい。そして、S211で特定したブロックを読み込み対象のブロックとして、処理は図10のS101に遷移する。
On the other hand, when it is determined in S209 that the transmission
S208において、送信ブロック識別情報40の領域識別情報41が一般領域を示すものでないと判定した場合(S208でNo)、送信処理部23は、エラー処理を行って処理を終了する。エラー処理では例えば、送信処理部23は、エラーが発生したことを示す旨の警告表示などを、表示装置などを介して行ってもよい。
In S208, when it is determined that the
次に、対象サーバ22の受信処理部25の受信処理のフローを説明する。図12は、実施形態1に係る対象サーバ22の受信処理部25の受信処理の内容を図解したフローチャートである。
Next, the flow of reception processing of the
図12において、先ず受信処理部25は、配信サーバ21からディスクイメージのブロックを受信し展開する(S301)。尚、受信処理部25は、ブロックを受信する毎に、正常にデータが受信したことを示す情報(例えばACK)等を配信サーバ21へ送信するなどの制御を行ってもよい。
In FIG. 12, the
次に、受信処理部25は、S301で受信及び展開したブロックが一般領域のブロックか否かを判定する(S302)。受信及び展開したブロックが一般領域のブロックであると判定した場合(S302でYes)、受信処理部25は、受信ブロック識別情報50のブロック番号52を更新する(S307)。具体的には、受信処理部25は、S301で受信及び展開したブロックの次のブロックのブロック番号を、ブロック番号52に格納する。そして、処理はS303に遷移する。
Next, the
S302において、受信及び展開したブロックが一般領域のブロックでないと判定した場合(S302でNo)、受信処理部25は、S301で受信及び展開したブロックが含まれる領域の全てのブロックの受信及び展開が完了したか否かを判定する(S303)。
If it is determined in S302 that the received and expanded block is not a general area block (No in S302), the
S303において、S301で受信及び展開したブロックが含まれる領域のいずれかのブロックの受信及び展開が完了していないと判定した場合(S303でNo)、処理はS301に遷移し、受信処理部25は、次のブロックを受信し展開する。
If it is determined in S303 that reception and expansion of any block in the area including the block received and expanded in S301 is not completed (No in S303), the process transitions to S301, and the
S303において、S301で受信及び展開したブロックが含まれる領域のすべてのブロックの受信及び展開が完了したと判定した場合(S303でYes)、受信処理部25は、受信ブロック識別情報50の領域識別情報51を更新する(S304)。具体的には、すべてのブロックの受信及び展開が完了したと判定した領域の次の領域を示す領域識別情報を領域識別情報51に格納する。
When it is determined in S303 that reception and expansion of all blocks in the area including the block received and expanded in S301 are completed (Yes in S303), the
次に、受信処理部25は、ディスクイメージの全てのブロックの受信及び展開が完了したか否かを判定する(S305)。ディスクイメージのいずれかのブロックの受信及び展開が完了していないと判定した場合(S305でNo)、処理はS301に遷移し、受信処理部25は、次のブロックを受信し展開する。
Next, the
S305において、ディスクイメージの全てのブロックの受信及び展開が完了したと判定した場合(S305でYes)、受信処理部25は、MBRのブートストラップローダ11及びブートシグネチャ13の領域のブロックを再受信し展開する(S306)。そして処理は終了する。
If it is determined in S305 that reception and expansion of all blocks of the disk image have been completed (Yes in S305), the
次に、対象サーバ22の受信処理部25の再受信処理のフローを説明する。図13は、実施形態1に係る対象サーバ22の受信処理部25の再受信処理の内容を図解したフローチャートである。
Next, the flow of re-reception processing of the
図13において、先ず受信処理部25は、配信サーバ21から処理再開要求を受信する(S401)。すると、受信処理部25は、受信ブロック識別情報50の領域識別情報51を参照し、領域識別情報51が一般領域を示すか否かを判定する(S402)。領域識別情報51が一般領域を示すと判定した場合(S402でYes)、受信処理部25は、受信ブロック通知として、ブロック番号52を配信サーバ21へ送信する(S403)。そして、処理は図12のS301に遷移する。
In FIG. 13, first, the
一方、S402において、領域識別情報51は一般領域を示すものではないと判定した場合(S402でNo)、受信処理部25は、受信ブロック通知として、領域識別情報51を配信サーバ21へ送信する(S404)。そして、処理は図12のS301に遷移する。
On the other hand, if it is determined in S402 that the
尚、ディスクイメージの配信処理の開始前、及び、配信中断後の再配信処理の開始前に、送信処理部23は対象サーバ22に対して、対象サーバ22のメモリ上で動作し、受信処理部25の機能を提供するソフトウェアを送信する構成としてもよい。尚、このソフトウェアは受信処理部25のメモリ上で動作するため、対象サーバの電源が落ちると、メモリ上のソフトウェアの内容も失われるものである。よって対象サーバ22にこのようなソフトウェアのための不揮発性の記憶領域を別個に設けなくてよい。
The
次に、配信サーバ21及び対象サーバ22のハードウェア構成について説明する。図14は、配信サーバ21及び対象サーバ22のハードウェア構成の一例を示す。
Next, the hardware configuration of the
図14において、配信サーバ21及び対象サーバ22は、CPU(Central Processing Unit)501、メモリ502、記憶装置503、読取装置504、及び通信インターフェース505を含む。CPU501、メモリ502、記憶装置503、読取装置504、及び通信インターフェース505はバスを介して接続される。
In FIG. 14, the
配信サーバ21のCPU501は、メモリ502を利用して上述のフローチャートの手順を記述したプログラムを実行することにより、送信処理部23の一部または全部の機能を提供する。対象サーバ22のCPU501は、メモリ502を利用して上述のフローチャートの手順を記述したプログラムを実行することにより、受信処理部25の一部または全部の機能を提供する。
The
メモリ502は、例えば半導体メモリであり、RAM(Random Access Memory)領域およびROM(Read Only Memory)領域を含んで構成される。記憶装置503は、例えばハードディスクである。なお、記憶装置503は、フラッシュメモリ等の半導体メモリであってもよい。また、記憶装置503は、外部記録装置であってもよい。配信サーバ21の記憶装置503は送信情報記憶部24の一部または全部の機能を提供する。対象サーバ22の記憶装置503は受信情報記憶部26の一部または全部の機能を提供する。
The
読取装置504は、CPU501の指示に従って着脱可能記憶媒体550にアクセスする。着脱可能記憶媒体550は、たとえば、半導体デバイス(USBメモリ等)、磁気的作用により情報が入出力される媒体(磁気ディスク等)、光学的作用により情報が入出力される媒体(CD−ROM、DVD等)などにより実現される。尚、読取装置504は配信サーバ21及び対象サーバ22に含まれなくてもよい。
The
通信インターフェース505は、配信サーバ21と対象サーバ22の間でデータを送受信する。
The
実施形態のプログラムは、例えば、下記の形態で配信サーバ21及び対象サーバ22に提供される。
(1)記憶装置503に予めインストールされている。
(2)着脱可能記憶媒体550により提供される。
(3)プログラムサーバ(図示せず)から通信インターフェース505を介して提供される。
The program of the embodiment is provided to the
(1) Installed in advance in the
(2) Provided by the removable storage medium 550.
(3) Provided via a
さらに、実施形態の配信サーバ21及び対象サーバ22の一部は、ハードウェアで実現してもよい。或いは、実施形態の配信サーバ21及び対象サーバ22は、ソフトウェアおよびハードウェアの組み合わせで実現してもよい。
Furthermore, a part of the
尚、配信サーバ21の送信処理部23の機能は、SaaS等の形態で提供されてもよい。
The function of the
(実施形態2)
実施形態2では、配信サーバと対象サーバが中継装置を介して接続される。
(Embodiment 2)
In the second embodiment, the distribution server and the target server are connected via a relay device.
図15は、実施形態2に係る情報処理システムの構成の一例を示す。図15において、情報処理システムは、配信サーバ601、対象サーバ602、ファイアウォール607、及び中継装置608を含む。
FIG. 15 shows an example of the configuration of the information processing system according to the second embodiment. In FIG. 15, the information processing system includes a
配信サーバ601と対象サーバ602は中継装置608を介して接続される。そして配信サーバ601と中継装置608の間は、ファイアウォール607を介して接続され、ファイアウォール607により通信の制御が行われる。中継装置608は、対象サーバ602と同一サブネット内に含まれる。配信サーバ601と中継装置608の間はSSL(Secure Sockets Layer)−VPN(Virtual Private Network)によりトンネリングされてもよい。尚、ディスクイメージの配信前においては、対象サーバ602は停止しており、また対象サーバ602にはOS等の情報は格納されていないものとする。
中継装置608は、制御部609とソフトウェア記憶部610を含む。
制御部609は、配信サーバ601から配信されるディスクイメージを対象サーバ602へ転送する。転送において制御部609は、ディスクイメージ全体を一度保存した後に転送するのではなく、パケット単位で転送を行う。配信サーバ601からのディスクイメージの配信に当たって、配信前に制御部609は、停止していた対象サーバ602を、例えばWOL(Wake-on-LAN)の技術を利用して起動する。WOLは、コンピュータネットワークに繋がっているコンピュータの電源操作を遠隔で行う技術である。そして制御部609は、例えば起動された対象サーバ602からのDHCP(Dynamic Host Configuration Protocol)の要求に応答する形で、対象サーバ602のネットワークのアドレスの設定を行う。また制御部609は、対象サーバ602のメモリ上で実行され、受信処理部605の機能を提供するソフトウェアをソフトウェア記憶部610から取得して、対象サーバ602へ送信する。以下の説明では、対象サーバ602のメモリ上で実行され、受信処理部605の機能を提供するソフトウェアを展開ソフトウェアと記す。そして制御部609は、対象サーバ602のアドレスを配信サーバ601に通知する。ここで通知されたアドレスに宛てて、配信サーバ601は、ディスクイメージを送信する。
The
The
制御部609はディスクイメージの配信処理の中断が発生すると、配信処理の中断要求を配信サーバ601へ送信する。それとともに制御部609は、対象サーバ602に対してシャットダウン要求を送信する。このシャットダウン要求は、例えばWOLの技術を利用して行われる。対象サーバ602からシャットダウン要求を受け付けたことを示す情報を受信すると、制御部609は、配信サーバ601に対して配信に使用されていたセッションの終了通知を送信する。
When the disk image distribution process is interrupted, the
その後制御部609は、配信処理の再開が可能となったことを検知する。すると制御部609は、中断時にシャットダウン要求を送信した対象サーバ602に対して起動指示を送信する。この起動指示は例えばWOLの技術を利用して行われる。そして制御部609は、対象サーバ602から展開ソフトウェアの要求を受信すると、要求された展開ソフトウェアを対象サーバ602へ送信する。
Thereafter, the
そして制御部609は、配信サーバ601と対象サーバ602に対して処理再開要求を送信し、その応答として対象サーバ602から受信ブロック識別情報50の情報を受信する。そして制御部609は受信した受信ブロック識別情報50を、配信サーバ601へ転送する。
Then, the
ソフトウェア記憶部610は、展開ソフトウェアを格納する。
配信サーバ601は、送信処理部603及び送信情報記憶部604を含む。送信処理部603の送信処理については、実施形態1と同様であり、図10の動作フローと同様である。ただし、配信処理が中断した場合の送信処理部603の動作は実施形態1と一部異なる。
The
The
配信処理が中断した場合、送信処理部603は、中継装置608から中断要求を受信する。中断要求を受信すると送信処理部603は、中断フラグを設定し、中断要求を受け付けたことを示す情報を中継装置608へ送信する。その後、中継装置608からセッションの終了通知を受信すると、送信処理部603は、ディスクイメージの配信において使用されていた対象サーバ602とのセッションを終了して、配信の処理再開要求を中継装置608から受信するまで待機する。
When the distribution process is interrupted, the
処理再開要求を中継装置608から受信すると、送信処理部603は、中断フラグの設定を解除する。その後、対象サーバ602から、中継装置608を介して、受信ブロック識別情報50を受信する。受信ブロック通知を受信してからの再送信処理は、実施形態1と同様である。すなわち、図11のS203からの動作フローと同様となる。
When the processing resumption request is received from the
送信情報記憶部604については、実施形態1の送信情報記憶部24と同様である。
対象サーバ602は、受信処理部605及び受信情報記憶部606を含む。受信処理部605の受信処理については、実施形態1と同様であり、図12の動作フローと同様である。
The transmission
The
ただし実施形態2では、配信処理が中断した場合対象サーバ602は、中継装置608からシャットダウン要求を受信する。シャットダウン要求を受信すると対象サーバ602は、シャットダウン要求を受け付けたことを示す情報を中継装置608へ送信し、システムのシャットダウンを行う。尚、シャットダウン要求は、例えばWOLの技術を利用して行われる。
However, in the second embodiment, when the distribution process is interrupted, the
その後、配信の再開が可能であることが中継装置608で検知されると、対象サーバ602は中継装置608から起動指示を受信する。起動指示を受信すると対象サーバ602は、システムの起動を開始する。ただしこの場合は、ディスクイメージの配信途中であるため、対象サーバ602のブートストラップローダ11及びブートシグネチャ13の領域には、受信ブロック識別情報50が格納されている。そのためOSの起動は行われない。尚、起動指示は例えばWOLの技術を利用して行われる。
Thereafter, when the
システムの起動が行われると対象サーバ602は、展開ソフトウェアの取得要求を中継装置608へ送信して、中継装置608から展開ソフトウェアを取得する。そして対象サーバ602は、取得した展開ソフトウェアをメモリ上で実行する。
When the system is activated, the
その後、受信処理部605は、実施形態1で説明した図13のフローに従って再受信処理を行う。ただし、図13のフローにおいて、S401で受信する処理再開要求の送信元は中継装置608である。
受信情報記憶部606については、実施形態1の受信情報記憶部26と同様である。
Thereafter, the
The reception
図16は、実施形態2に係る情報処理システムのディスクイメージの配信と中断処理のフローを示す図である。 FIG. 16 is a diagram illustrating a flow of disk image distribution and interruption processing of the information processing system according to the second embodiment.
図16において、先ず対象サーバ602は、配信サーバ601に対して中継装置608を介してディスクイメージの配信要求を行う(S701)。
In FIG. 16, first, the
配信サーバ601の送信処理部603は、ディスクイメージの配信要求を受信すると、ディスクイメージに含まれる最初のブロック(ブロック番号1のブロック)を、中継装置608を介して、対象サーバ602へ送信する(S702)。ここで、配信サーバ601の送信処理部603の送信処理の詳細は、図10のフローと同様である。そして、対象サーバ602の受信処理部605は、ディスクイメージに含まれるブロックを受信する。ここで、対象サーバ602の受信処理部605の受信処理は図12のフローと同様である。ただし、図16では、図12のS301において、対象サーバ602の受信処理部605は、正常にブロックが受信できたことを示す情報であるACKを、中継装置608を介して、配信サーバ601へ送信する(S703)。
Upon receiving the disk image distribution request, the
同様に配信サーバ601の送信処理部603は、ディスクイメージに含まれるブロック(ブロック番号Nのブロック)を、中継装置608を介して、対象サーバ602へ送信する(S704)。対象サーバ602の受信処理部605はディスクイメージに含まれるブロックを受信すると、正常にブロックが受信できたことを示す情報であるACKを、中継装置608を介して、配信サーバ601へ送信する(S705)。
Similarly, the
その後、配信処理の中断が発生すると中継装置608は、中断要求を配信サーバ601へ送信する(S706)。配信サーバ601の送信処理部603は、中断要求を受信すると、中断フラグを設定し、中断要求を受け付けたことを示す情報を中継装置608へ送信する(S707)。
Thereafter, when the distribution process is interrupted, the
次に、中継装置608は、配信サーバ601から中断要求を受け付けたことを示す情報を受信すると、対象サーバ602に対して、シャットダウン要求を送信する(S708)。対象サーバ602の受信処理部605は、シャットダウン要求を受信すると、シャットダウン要求を受信したことを示す情報を中継装置608へ送信する(S709)。そして対象サーバ602の受信処理部605は、シャットダウン処理を行い停止する。
Next, when receiving information indicating that the interruption request has been received from the
中継装置608は、対象サーバ602からシャットダウン要求を受信したことを示す情報を受信すると、配信サーバ601に対して、セッション終了通知を送信する(S710)。
When receiving the information indicating that the shutdown request has been received from the
配信サーバ601の送信処理部603はセッション終了通知を受信すると、ディスクイメージの配信で使用していたセッションを切断して終了する。
Upon receiving the session end notification, the
図17は、実施形態2に係る情報処理システムのディスクイメージの配信中断から再開までの処理のフローを示す図である。尚、図17の開始時点においては、ディスクイメージの対象サーバ602への配信が中断されている状態であり、図16のフローが終了したときの状態であるとする。
FIG. 17 is a diagram illustrating a processing flow from the interruption of the distribution of the disk image to the restart of the information processing system according to the second embodiment. Note that at the start of FIG. 17, it is assumed that the distribution of the disk image to the
図17において、中継装置608は、ディスクイメージの配信が可能となったことを検知する(S801)。すると中継装置608は、対象サーバ602へ起動指示を送信する(S802)。
In FIG. 17, the
対象サーバ602は起動指示を受信すると、システムの起動が行われる(S803)。このとき、対象サーバ602ではディスクイメージの展開途中であるので、対象サーバ602のMBRのブートストラップローダ11及びブートシグネチャ13の領域には、進捗を管理するための情報が格納されている。よって、対象サーバ602のOSが起動することはなく、BIOSの処理が実行される。
When the
次に対象サーバ602は、展開ソフトウェアの要求を中継装置608へ送信する(S804)。中継装置608は、展開ソフトウェアの要求を受信すると、要求された展開ソフトウェアをソフトウェア記憶部610から読み込み、対象サーバ602へ送信する(S805)。
Next, the
対象サーバ602はS804で要求した展開ソフトウェアを受信すると、メモリ上で受信した展開ソフトウェアを実行する(S806)。この展開ソフトウェアは、受信処理部605の機能を提供するソフトウェアである。
When the
次に中継装置608は、処理再開要求を配信サーバ601へ送信する(S807)。送信処理部603は処理再開要求を受信すると、中断フラグの設定を解除する。
Next, the
次に中継装置608は、処理再開要求を対象サーバ602へ送信する(S808)。対象サーバ602は、処理再開要求を受信すると、受信ブロック識別情報50を参照して(S809)、その情報を、中継装置608を介して配信サーバ601へ通知する(S810)。具体的には、先ず受信処理部605は処理再開要求を受信すると、受信ブロック識別情報50の領域識別情報51を参照し、領域識別情報51が一般領域を示すか否かを判定する。そして、領域識別情報51が一般領域を示すと判定した場合、受信処理部605は、受信ブロック識別情報50のうち、ブロック番号52を受信ブロック通知として、中継装置608を介して配信サーバ601へ送信する。領域識別情報51は特殊領域を示すと判定した場合、受信処理部605は、受信ブロック識別情報50のうち、領域識別情報51を受信ブロック通知として、中継装置608を介して配信サーバ601へ送信する。
Next, the
受信ブロック通知を受信すると、配信サーバ601は、再送信処理を行う。
再送信処理では先ず、配信サーバ601は、送信ブロック識別情報40と受信した受信ブロック通知の内容とを比較し、内容が一致するか否かを判定する(S811)。
When receiving the reception block notification, the
In the retransmission process, first, the
すなわち、送信処理部603は、受信ブロック通知の内容がブロック番号52である場合、送信ブロック識別情報40のブロック番号42と受信ブロック通知のブロック番号52とを比較する。また、ブロック通知の内容が領域識別情報51である場合、送信処理部603は、送信ブロック識別情報40の領域識別情報41と受信ブロック通知の領域識別情報51とを比較する。
That is, when the content of the reception block notification is the block number 52, the
そして、受信ブロック通知の内容と、送信ブロック識別情報40の内容が一致すると判定した場合、送信処理部603は、一致した内容で示されるブロックを再開ブロックとして特定する(S812)。受信ブロック通知の内容と、送信ブロック識別情報40の内容が一致しないと判定した場合、送信処理部603は、受信ブロック通知で示されるブロックを再開ブロックとして特定する(S812)。
If it is determined that the content of the received block notification matches the content of the transmission
再開ブロックを特定すると、送信処理部603は、特定したブロックを読み込んで、対象サーバ602へ送信し(S813)、特定したブロックから送信処理を再開する。
When the restart block is specified, the
そして、対象サーバ602の受信処理部605は、再送信処理において配信サーバ601から送信される情報の受信処理を行う。
Then, the
尚、配信処理の開始前、すなわち図16のS701の前に、図17のS802からS806までと同様の処理が行われてもよい。 Note that the processing similar to S802 to S806 in FIG. 17 may be performed before the start of the distribution processing, that is, before S701 in FIG.
配信サーバ601、対象サーバ602、及び中継装置608のハードウェア構成は、図14で示したものと同様である。
The hardware configurations of the
配信サーバ601のCPU501は、メモリ502を利用して上述のフローチャートの手順を記述したプログラムを実行することにより、送信処理部603の一部または全部の機能を提供する。対象サーバ602のCPU501は、メモリ502を利用して上述のフローチャートの手順を記述したプログラムを実行することにより、受信処理部605の一部または全部の機能を提供する。中継装置608のCPU501は、メモリ502を利用して上述のフローチャートの手順を記述したプログラムを実行することにより、制御部609の一部または全部の機能を提供する。
The
配信サーバ601の記憶装置503は送信情報記憶部604の一部または全部の機能を提供する。対象サーバ602の記憶装置503は受信情報記憶部606の一部または全部の機能を提供する。中継装置608の記憶装置503はソフトウェア記憶部610の一部または全部の機能を提供する。
The
読取装置504は配信サーバ601、対象サーバ602、及び中継装置608に含まれなくてもよい。
The
通信インターフェース505は、配信サーバ601と中継装置608間、及び、中継装置608と対象サーバ602の間でデータを送受信する。
The
実施形態のプログラムは、例えば、下記の形態で配信サーバ601、対象サーバ602、及び中継装置608に提供される。
(1)記憶装置503に予めインストールされている。
(2)着脱可能記憶媒体550により提供される。
(3)プログラムサーバ(図示せず)から通信インターフェース505を介して提供される。
The program of the embodiment is provided to the
(1) Installed in advance in the
(2) Provided by the removable storage medium 550.
(3) Provided via a
さらに、実施形態の配信サーバ601及び対象サーバ602の一部は、ハードウェアで実現してもよい。或いは、実施形態の配信サーバ601及び対象サーバ602は、ソフトウェアおよびハードウェアの組み合わせで実現してもよい。
Furthermore, a part of the
尚、実施形態は、以上に述べた実施の形態に限定されるものではなく、実施形態の要旨を逸脱しない範囲内で種々の構成または実施形態を取ることができる。 The embodiments are not limited to the above-described embodiments, and various configurations or embodiments can be taken without departing from the gist of the embodiments.
上記実施形態に関し、更に以下の付記を開示する。
(付記1)
コンピュータに、
第1情報に含まれる複数の第2情報それぞれを、記憶装置にアクセス可能な情報処理装置に送信して、送信した該第2情報を該記憶装置に記憶させ、
当該第2情報の送信が中断された後に該中断の復旧がされた場合、前記複数の第2情報の送信完了まで書き込み可能な前記記憶装置内の領域であって前記送信完了以降に使用される該領域に、前記複数の第2情報の記憶の進行状況を特定する進行状況情報を記憶した前記情報処理装置から、前記進行状況情報を取得し、
取得した前記進行状況情報に基いて、前記複数の第2情報のうち復旧後に送信する第2情報を特定し、特定した該第2情報の送信を再開する
処理を実行させることを特徴とする送信プログラム。
(付記2)
前記第1情報は前記情報処理装置に適用するディスクイメージであり、
前記第2情報は前記ディスクイメージに含まれるイメージデータであり、
前記領域は、前記ディスクイメージが展開された後の前記記憶装置内の領域であって、前記ディスクイメージを用いて前記情報処理装置が起動される際に参照される情報が記憶される該領域である
ことを特徴とする付記1に記載の送信プログラム。
(付記3)
前記領域は、前記ディスクイメージに含まれるマスターブートレコードが記憶される記憶領域である
ことを特徴とする付記2に記載の送信プログラム。
(付記4)
前記領域は、前記マスターブートレコードが記憶される記憶領域のうちの、ブートシグネチャ及びブートストラップローダが記憶される領域である
ことを特徴とする付記3に記載の送信プログラム。
(付記5)
前記ブートシグネチャが記憶される領域には、前記第2情報が前記記憶装置に記憶されることに応じて、前記進行状況情報が記憶されることにより、前記マスターブートレコードが有効であることを示す情報とは異なる情報が記憶される
ことを特徴とする付記4に記載の送信プログラム。
(付記6)
前記コンピュータに、
前記ディスクイメージの送信完了後、前記進行状況情報が記憶された領域に記憶される前記ディスクイメージに含まれるマスターブートレコードの情報を、前記情報処理装置に送信する
処理を実行させることを特徴とする付記3〜5のうちいずれか1項に記載の送信プログラム。
(付記7)
第1情報に含まれる複数の第2情報それぞれを、記憶装置にアクセス可能な情報処理装置に送信して、送信した該第2情報を該記憶装置に記憶させ、
当該第2情報の送信が中断された後に該中断の復旧がされた場合、前記複数の第2情報の送信完了まで書き込み可能な前記記憶装置内の領域であって前記送信完了以降に使用される該領域に、前記複数の第2情報の記憶の進行状況を特定する進行状況情報を記憶した前記情報処理装置から、前記進行状況情報を取得し、
取得した前記進行状況情報に基いて、前記複数の第2情報のうち復旧後に送信する第2情報を特定し、特定した該第2情報の送信を再開する
ことを特徴とする送信方法。
(付記8)
前記第1情報は前記情報処理装置に適用するディスクイメージであり、
前記第2情報は前記ディスクイメージに含まれるイメージデータであり、
前記領域は、前記ディスクイメージが展開された後の前記記憶装置内の領域であって、前記ディスクイメージを用いて前記情報処理装置が起動される際に参照される情報が記憶される該領域である
ことを特徴とする付記7に記載の送信方法。
(付記9)
前記領域は、前記ディスクイメージに含まれるマスターブートレコードが記憶される記憶領域である
ことを特徴とする付記8に記載の送信方法。
(付記10)
前記領域は、前記マスターブートレコードが記憶される記憶領域のうちの、ブートシグネチャ及びブートストラップローダが記憶される領域である
ことを特徴とする付記9に記載の送信方法。
(付記11)
第1情報に含まれる複数の第2情報それぞれを、記憶装置にアクセス可能な情報処理装置に送信して、送信した該第2情報を該記憶装置に記憶させる送信部と、
当該第2情報の送信が中断された後に該中断の復旧がされた場合、前記複数の第2情報の送信完了まで書き込み可能な前記記憶装置内の領域であって前記送信完了以降に使用される該領域に、前記複数の第2情報の記憶の進行状況を特定する進行状況情報を記憶した前記情報処理装置から、前記進行状況情報を取得する取得部と、
取得された前記進行状況情報に基いて、前記複数の第2情報のうち復旧後に送信する第2情報を特定し、特定した該第2情報の送信を再開する再開部と、
を備えることを特徴とする送信装置。
(付記12)
前記第1情報は前記情報処理装置に適用するディスクイメージであり、
前記第2情報は前記ディスクイメージに含まれるイメージデータであり、
前記領域は、前記ディスクイメージが展開された後の前記記憶装置内の領域であって、前記ディスクイメージを用いて前記情報処理装置が起動される際に参照される情報が記憶される該領域である
ことを特徴とする付記11に記載の送信装置。
(付記13)
前記領域は、前記ディスクイメージに含まれるマスターブートレコードが記憶される記憶領域である
ことを特徴とする付記12に記載の送信装置。
(付記14)
前記領域は、前記マスターブートレコードが記憶される記憶領域のうちの、ブートシグネチャ及びブートストラップローダが記憶される領域である
ことを特徴とする付記13に記載の送信装置。
Regarding the above embodiment, the following additional notes are disclosed.
(Appendix 1)
On the computer,
Transmitting each of the plurality of second information included in the first information to an information processing apparatus accessible to the storage device, and storing the transmitted second information in the storage device;
When the interruption is restored after the transmission of the second information is interrupted, it is an area in the storage device that is writable until the transmission of the plurality of second information is completed, and is used after the transmission is completed Acquiring the progress status information from the information processing apparatus storing the progress status information for specifying the progress status of the storage of the plurality of second information in the area;
Based on the acquired progress information, the second information to be transmitted after recovery is identified from among the plurality of second information, and the process of restarting the transmission of the identified second information is executed. program.
(Appendix 2)
The first information is a disk image applied to the information processing apparatus;
The second information is image data included in the disk image,
The area is an area in the storage device after the disk image is expanded, and is an area in which information that is referred to when the information processing apparatus is started up using the disk image is stored. The transmission program according to
(Appendix 3)
The transmission program according to
(Appendix 4)
The transmission program according to
(Appendix 5)
In the area where the boot signature is stored, the progress information is stored in response to the second information being stored in the storage device, thereby indicating that the master boot record is valid. The transmission program according to
(Appendix 6)
In the computer,
After the completion of the transmission of the disk image, a process of transmitting the information of the master boot record included in the disk image stored in the area where the progress status information is stored to the information processing apparatus is executed. The transmission program according to any one of
(Appendix 7)
Transmitting each of the plurality of second information included in the first information to an information processing apparatus accessible to the storage device, and storing the transmitted second information in the storage device;
When the interruption is restored after the transmission of the second information is interrupted, it is an area in the storage device that is writable until the transmission of the plurality of second information is completed, and is used after the transmission is completed Acquiring the progress status information from the information processing apparatus storing the progress status information for specifying the progress status of the storage of the plurality of second information in the area;
Based on the acquired progress status information, second information to be transmitted after recovery is identified from among the plurality of second information, and transmission of the identified second information is resumed.
(Appendix 8)
The first information is a disk image applied to the information processing apparatus;
The second information is image data included in the disk image,
The area is an area in the storage device after the disk image is expanded, and is an area in which information that is referred to when the information processing apparatus is started up using the disk image is stored. The transmission method according to appendix 7, which is characterized in that it exists.
(Appendix 9)
The transmission method according to appendix 8, wherein the area is a storage area in which a master boot record included in the disk image is stored.
(Appendix 10)
The transmission method according to appendix 9, wherein the area is an area in which a boot signature and a bootstrap loader are stored in a storage area in which the master boot record is stored.
(Appendix 11)
A plurality of second information included in the first information is transmitted to an information processing apparatus accessible to the storage device, and the transmission unit stores the transmitted second information in the storage device;
When the interruption is restored after the transmission of the second information is interrupted, it is an area in the storage device that is writable until the transmission of the plurality of second information is completed, and is used after the transmission is completed An acquisition unit for acquiring the progress status information from the information processing apparatus storing the progress status information for specifying the progress status of the storage of the plurality of second information in the area;
Based on the obtained progress status information, the second information to be transmitted after recovery is identified from among the plurality of second information, and the resuming unit that resumes the transmission of the identified second information;
A transmission device comprising:
(Appendix 12)
The first information is a disk image applied to the information processing apparatus;
The second information is image data included in the disk image,
The area is an area in the storage device after the disk image is expanded, and is an area in which information that is referred to when the information processing apparatus is started up using the disk image is stored. The transmitting apparatus according to
(Appendix 13)
The transmission device according to appendix 12, wherein the area is a storage area in which a master boot record included in the disk image is stored.
(Appendix 14)
The transmission device according to
1 送信装置
2 情報処理装置
3 送信部
4 取得部
5 再開部
11 ブートストラップローダ
12 パーティションテーブル
13 ブートシグネチャ
21 配信サーバ
22 対象サーバ
23 送信処理部
24 送信情報記憶部
25 受信処理部
26 受信情報記憶部
40 送信ブロック識別情報
41 領域識別情報
42 ブロック番号
50 受信ブロック識別情報
51 領域識別情報
52 ブロック番号
501 CPU
502 メモリ
503 記憶装置
504 読取装置
505 通信インターフェース
506 入力装置
550 着脱可能記憶媒体
601 配信サーバ
602 対象サーバ
603 送信処理部
604 送信情報記憶部
605 受信処理部
606 受信情報記憶部
607 ファイアウォール
608 中継装置
609 制御部
610 ソフトウェア記憶部
DESCRIPTION OF
502
Claims (8)
第1情報に含まれる複数の第2情報それぞれを、記憶装置にアクセス可能な情報処理装置に送信して、送信した該第2情報を該記憶装置に記憶させ、
当該第2情報の送信が中断された後に該中断の復旧がされた場合、前記複数の第2情報の送信完了まで書き込み可能な前記記憶装置内の領域であって前記送信完了以降に使用される該領域に、前記複数の第2情報の記憶の進行状況を特定する進行状況情報を記憶した前記情報処理装置から、前記進行状況情報を取得し、
取得した前記進行状況情報に基いて、前記複数の第2情報のうち復旧後に送信する第2情報を特定し、特定した該第2情報の送信を再開する
処理を実行させることを特徴とする送信プログラム。 On the computer,
Transmitting each of the plurality of second information included in the first information to an information processing apparatus accessible to the storage device, and storing the transmitted second information in the storage device;
When the interruption is restored after the transmission of the second information is interrupted, it is an area in the storage device that is writable until the transmission of the plurality of second information is completed, and is used after the transmission is completed Acquiring the progress status information from the information processing apparatus storing the progress status information for specifying the progress status of the storage of the plurality of second information in the area;
Based on the acquired progress information, the second information to be transmitted after recovery is identified from among the plurality of second information, and the process of restarting the transmission of the identified second information is executed. program.
前記第2情報は前記ディスクイメージに含まれるイメージデータであり、
前記領域は、前記ディスクイメージが展開された後の前記記憶装置内の領域であって、前記ディスクイメージを用いて前記情報処理装置が起動される際に参照される情報が記憶される該領域である
ことを特徴とする請求項1に記載の送信プログラム。 The first information is a disk image applied to the information processing apparatus;
The second information is image data included in the disk image,
The area is an area in the storage device after the disk image is expanded, and is an area in which information that is referred to when the information processing apparatus is started up using the disk image is stored. The transmission program according to claim 1, wherein:
ことを特徴とする請求項2に記載の送信プログラム。 The transmission program according to claim 2, wherein the area is a storage area in which a master boot record included in the disk image is stored.
ことを特徴とする請求項3に記載の送信プログラム。 The transmission program according to claim 3, wherein the area is an area in which a boot signature and a bootstrap loader are stored in a storage area in which the master boot record is stored.
ことを特徴とする請求項4に記載の送信プログラム。 In the area where the boot signature is stored, the progress information is stored in response to the second information being stored in the storage device, thereby indicating that the master boot record is valid. The transmission program according to claim 4, wherein information different from information is stored.
前記ディスクイメージの送信完了後、前記進行状況情報が記憶された領域に記憶される前記ディスクイメージに含まれるマスターブートレコードの情報を、前記情報処理装置に送信する
処理を実行させることを特徴とする請求項3〜5のうちいずれか1項に記載の送信プログラム。 In the computer,
After the completion of the transmission of the disk image, a process of transmitting the information of the master boot record included in the disk image stored in the area where the progress status information is stored to the information processing apparatus is executed. The transmission program according to any one of claims 3 to 5.
当該第2情報の送信が中断された後に該中断の復旧がされた場合、前記複数の第2情報の送信完了まで書き込み可能な前記記憶装置内の領域であって前記送信完了以降に使用される該領域に、前記複数の第2情報の記憶の進行状況を特定する進行状況情報を記憶した前記情報処理装置から、前記進行状況情報を取得し、
取得した前記進行状況情報に基いて、前記複数の第2情報のうち復旧後に送信する第2情報を特定し、特定した該第2情報の送信を再開する
ことを特徴とする送信方法。 Transmitting each of the plurality of second information included in the first information to an information processing apparatus accessible to the storage device, and storing the transmitted second information in the storage device;
When the interruption is restored after the transmission of the second information is interrupted, it is an area in the storage device that is writable until the transmission of the plurality of second information is completed, and is used after the transmission is completed Acquiring the progress status information from the information processing apparatus storing the progress status information for specifying the progress status of the storage of the plurality of second information in the area;
Based on the acquired progress status information, second information to be transmitted after recovery is identified from among the plurality of second information, and transmission of the identified second information is resumed.
当該第2情報の送信が中断された後に該中断の復旧がされた場合、前記複数の第2情報の送信完了まで書き込み可能な前記記憶装置内の領域であって前記送信完了以降に使用される該領域に、前記複数の第2情報の記憶の進行状況を特定する進行状況情報を記憶した前記情報処理装置から、前記進行状況情報を取得する取得部と、
取得した前記進行状況情報に基いて、前記複数の第2情報のうち復旧後に送信する第2情報を特定し、特定した該第2情報の送信を再開する再開部と、
を備えることを特徴とする送信装置。 A plurality of second information included in the first information is transmitted to an information processing apparatus accessible to the storage device, and the transmission unit stores the transmitted second information in the storage device;
When the interruption is restored after the transmission of the second information is interrupted, it is an area in the storage device that is writable until the transmission of the plurality of second information is completed, and is used after the transmission is completed An acquisition unit for acquiring the progress status information from the information processing apparatus storing the progress status information for specifying the progress status of the storage of the plurality of second information in the area;
Based on the obtained progress status information, the second information to be transmitted after recovery among the plurality of second information is identified, and a restarting unit that resumes the transmission of the identified second information;
A transmission device comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014000205A JP2015129994A (en) | 2014-01-06 | 2014-01-06 | Transmission program, transmission method, and transmission apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014000205A JP2015129994A (en) | 2014-01-06 | 2014-01-06 | Transmission program, transmission method, and transmission apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2015129994A true JP2015129994A (en) | 2015-07-16 |
Family
ID=53760693
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2014000205A Pending JP2015129994A (en) | 2014-01-06 | 2014-01-06 | Transmission program, transmission method, and transmission apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2015129994A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018078774A1 (en) * | 2016-10-27 | 2018-05-03 | 楽天株式会社 | Ic chip support type terminal, ic chip setting method, and program |
WO2018105609A1 (en) * | 2016-12-06 | 2018-06-14 | 株式会社オートネットワーク技術研究所 | Program update system, distribution device, and program update method |
JP2019160133A (en) * | 2018-03-16 | 2019-09-19 | 株式会社リコー | Information processing device, information processing system, and method |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008046944A (en) * | 2006-08-18 | 2008-02-28 | Sony Corp | Apparatus and method for information processing, computer program, and semiconductor device |
-
2014
- 2014-01-06 JP JP2014000205A patent/JP2015129994A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008046944A (en) * | 2006-08-18 | 2008-02-28 | Sony Corp | Apparatus and method for information processing, computer program, and semiconductor device |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018078774A1 (en) * | 2016-10-27 | 2018-05-03 | 楽天株式会社 | Ic chip support type terminal, ic chip setting method, and program |
JPWO2018078774A1 (en) * | 2016-10-27 | 2019-06-27 | 楽天株式会社 | IC chip compatible terminal, IC chip setting method, and program |
US10846580B2 (en) | 2016-10-27 | 2020-11-24 | Rakuten, Inc. | IC chip support terminal, IC chip setting method, and program |
WO2018105609A1 (en) * | 2016-12-06 | 2018-06-14 | 株式会社オートネットワーク技術研究所 | Program update system, distribution device, and program update method |
JPWO2018105609A1 (en) * | 2016-12-06 | 2018-12-06 | 株式会社オートネットワーク技術研究所 | Program update system, distribution apparatus, and program update method |
US10684932B2 (en) | 2016-12-06 | 2020-06-16 | Autonetworks Technologies, Ltd. | Program update system, distribution device, and program update method |
JP2019160133A (en) * | 2018-03-16 | 2019-09-19 | 株式会社リコー | Information processing device, information processing system, and method |
JP7259203B2 (en) | 2018-03-16 | 2023-04-18 | 株式会社リコー | Information processing device, information processing system and method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2017149825A1 (en) | Program update system, program update method, and computer program | |
US9015458B2 (en) | Computer system and method for updating basic input/output system by switching between local mode and bypass mode through baseboard management controller | |
US9507604B2 (en) | Boot method and boot system | |
US9182998B2 (en) | Remote bios update in system having multiple computers | |
US8281038B2 (en) | Thin client terminal, operation program and method thereof, and thin client system | |
WO2013103023A1 (en) | Information processing device, information processing method, and computer program | |
CN106020875B (en) | Firmware update management method and device of embedded terminal | |
US8090975B2 (en) | Recovery server for recovering managed server | |
TW200415888A (en) | Improved reliability of diskless network-bootable computers using non-volatile memory cache | |
US10430082B2 (en) | Server management method and server for backup of a baseband management controller | |
JP2011090481A (en) | Information processing apparatus and system setting method | |
US9792111B2 (en) | Obtaining device drivers from an out-of-band management network | |
CN108509215B (en) | System software replacing method and device, terminal equipment and storage medium | |
CN111104201A (en) | System migration method and device, electronic equipment and storage medium | |
JP2009199197A (en) | Computer system, data matching method and data matching program | |
WO2011095074A1 (en) | Method for upgrading terminal device system and terminal device | |
CN104636159B (en) | The method and apparatus that software in virtual machine is upgraded | |
JP2015129994A (en) | Transmission program, transmission method, and transmission apparatus | |
WO2020113478A1 (en) | Address information processing method and apparatus, electronic device, and storage medium | |
WO2023198056A1 (en) | Firmware update method for embedded device, and embedded device | |
CN113032183A (en) | System management method, device, computer equipment and storage medium | |
JP6021597B2 (en) | Information processing apparatus, information processing method, and computer program | |
JP2005050097A (en) | Information processor, information processing method, program, and storage medium | |
JP2017107283A (en) | Initialization method, deployment server, deployment program, and initialization program | |
JP2006172098A (en) | Packet communication device, rebooting method in packet communication device, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20160905 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20170727 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20170822 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20180227 |