JP2024015747A - Information processing device, bios log management program and bios log management method - Google Patents

Information processing device, bios log management program and bios log management method Download PDF

Info

Publication number
JP2024015747A
JP2024015747A JP2022118028A JP2022118028A JP2024015747A JP 2024015747 A JP2024015747 A JP 2024015747A JP 2022118028 A JP2022118028 A JP 2022118028A JP 2022118028 A JP2022118028 A JP 2022118028A JP 2024015747 A JP2024015747 A JP 2024015747A
Authority
JP
Japan
Prior art keywords
log
bios
storage area
partial
partial storage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2022118028A
Other languages
Japanese (ja)
Inventor
雅典 ▲高▼橋
Masanori Takahashi
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2022118028A priority Critical patent/JP2024015747A/en
Publication of JP2024015747A publication Critical patent/JP2024015747A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)
  • Stored Programmes (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce computer startup time.
SOLUTION: An information processing device 1 includes a plurality of partial storage areas obtained by dividing a storage area for storing logs of a BIOS, changes a partial storage area for recording the logs of the BIOS each time the BIOS is started, records the logs of the BIOS in the changed partial storage area, and secures, if it is determined that there is no partial storage area, in which the logs can be recorded without erasing the logs, among the plurality of partial storage areas after the BIOS is started and while an OS is operating, a new partial storage area by erasing the logs in a partial storage area with an old log record.
SELECTED DRAWING: Figure 2
COPYRIGHT: (C)2024,JPO&INPIT

Description

本発明は、情報処理装置などに関する。 The present invention relates to an information processing device and the like.

BIOS(Basic Input/Output System)は、コンピュータのマザーボードやシステムボードに組み込まれたファームウェアである。コンピュータの電源を投入すると、BIOSは、CPU(Central Processing Unit)やメモリなど初期化を行った後、OS(Operating System)を起動させ動作する。また、その間にBIOSはコンピュータの状態などを、ログとして保存することが可能である。 BIOS (Basic Input/Output System) is firmware built into a computer's motherboard or system board. When the computer is powered on, the BIOS initializes the CPU (Central Processing Unit), memory, etc., and then starts and operates the OS (Operating System). Additionally, during this time, the BIOS can save the computer status and the like as a log.

また、BMC(Baseboard Management Controller)は、遠隔でコンピュータを管理するためのファームウェアである。BMCは、機能の1つとしてBIOSのログを管理する。近年、コンピュータには、価格を抑えるために、BMCを搭載しない機種が存在する。BMCを搭載しない機種の場合には、BIOSがログの管理を行う必要がある。 Further, BMC (Baseboard Management Controller) is firmware for remotely managing computers. BMC manages BIOS logs as one of its functions. In recent years, there are computer models that are not equipped with a BMC in order to keep prices down. In the case of a model that is not equipped with a BMC, the BIOS must manage logs.

ところが、BIOSがアクセスできる保存領域は限られており、BIOSのログを一部のみしか保存できないのが現状である。BIOSのログは、エラー原因の特定などの障害調査に利用されるため、一部のみしか保存できない場合には、解析に時間がかかってしまう。 However, the storage area that the BIOS can access is limited, and currently only a portion of the BIOS log can be stored. BIOS logs are used for fault investigation such as identifying the cause of errors, so if only a portion of them can be saved, analysis will take time.

BIOSのログの保存領域が限られるため、BIOSのログは、消去される。すなわち、BIOSのログは、フラッシュメモリに書き込まれるが、フラッシュメモリの特性上、書き込む際に上書きができず、上書きする場合には、消去する必要がある。ログの消去には、時間がかかるため、現状では、BIOSの起動時に消去処理をすることが多い。 Since the storage area for BIOS logs is limited, the BIOS logs are erased. That is, the BIOS log is written to the flash memory, but due to the characteristics of the flash memory, it cannot be overwritten during writing, and if it is to be overwritten, it must be erased. Since erasing logs takes time, currently, the erasure process is often performed when the BIOS is started.

特開2001-067229号公報Japanese Patent Application Publication No. 2001-067229 特開2016-181106号公報Japanese Patent Application Publication No. 2016-181106

しかしながら、BMCを搭載しないコンピュータであっても、全てのBIOSのログを管理する必要がある。このため、ログの書き込み量が増える。したがって、BIOSの起動毎に、古いログを消去する必要があり、BIOSの起動時間が一部のみログ書き込みの場合と比べて増加してしまう。ひいては、コンピュータの起動時間が増加してしまうという問題がある。 However, even in a computer without a BMC, it is necessary to manage all BIOS logs. Therefore, the amount of log writing increases. Therefore, it is necessary to erase old logs each time the BIOS is started, and the BIOS startup time increases compared to the case where only a portion of the log is written. As a result, there is a problem in that the startup time of the computer increases.

1つの側面では、BMCを搭載しないコンピュータにおいて、コンピュータの起動時間を短縮することを目的とする。 One aspect of the present invention is to reduce the startup time of a computer that does not include a BMC.

1つの態様では、情報処理装置は、BIOSのログを記憶する記憶領域を分割した複数の部分記憶領域と、前記BIOSの起動毎に前記BIOSのログを記録する部分記憶領域を変更する変更部と、前記変更部によって変更された部分記憶領域に前記BIOSのログを記録する記録部と、前記BIOSの起動後かつOSの運用中に、前記複数の部分記憶領域の中でログを消去しないでログを記録することができる部分記憶領域がないと判定する場合に、ログの記録が古い部分記憶領域のログを消去して新たな部分記憶領域を確保する消去部と、を有する。 In one aspect, the information processing device includes a plurality of partial storage areas obtained by dividing a storage area for storing BIOS logs, and a changing unit that changes the partial storage area for recording the BIOS logs each time the BIOS is started. , a recording unit that records the log of the BIOS in the partial storage area changed by the changing unit; and a recording unit that records the log of the BIOS in the partial storage area changed by the changing unit; If it is determined that there is no partial storage area in which logs can be recorded, the erasing unit erases the log of the partial storage area with old log records to secure a new partial storage area.

1つの態様によれば、BMCを搭載しないコンピュータにおいて、コンピュータの起動時間を短縮することができる。 According to one aspect, the computer startup time can be shortened in a computer not equipped with a BMC.

図1は、実施例に係るBIOSログ管理処理の流れの一例を示す図である。FIG. 1 is a diagram illustrating an example of the flow of BIOS log management processing according to the embodiment. 図2は、実施例に係るBIOSログ管理部を含む情報処理装置の機能構成を示すブロック図である。FIG. 2 is a block diagram showing the functional configuration of an information processing device including a BIOS log management unit according to an embodiment. 図3Aは、実施例に係る書込管理の概念を示す図(1)である。FIG. 3A is a diagram (1) showing the concept of write management according to the embodiment. 図3Bは、実施例に係る書込管理の概念を示す図(2)である。FIG. 3B is a diagram (2) showing the concept of write management according to the embodiment. 図4は、実施例に係る管理テーブルの構成の一例を示す図である。FIG. 4 is a diagram illustrating an example of the configuration of a management table according to the embodiment. 図5は、実施例に係る領域管理テーブルの構成の一例を示す図である。FIG. 5 is a diagram illustrating an example of the configuration of an area management table according to the embodiment. 図6は、実施例に係るOS運用中のログ消去処理の流れの一例を示す図である。FIG. 6 is a diagram illustrating an example of the flow of log deletion processing during OS operation according to the embodiment. 図7は、実施例に係るBIOS起動時の処理のフローチャートの一例を示す図である。FIG. 7 is a diagram illustrating an example of a flowchart of processing at the time of starting the BIOS according to the embodiment. 図8は、実施例に係るOS運用中の消去処理のフローチャートの一例を示す図である。FIG. 8 is a diagram illustrating an example of a flowchart of deletion processing during OS operation according to the embodiment. 図9は、実施例に係るエラー発生時の処理のフローチャートの一例を示す図である。FIG. 9 is a diagram illustrating an example of a flowchart of processing when an error occurs according to the embodiment. 図10は、BIOSログ管理プログラムを実行するコンピュータの一例を示す図である。FIG. 10 is a diagram illustrating an example of a computer that executes a BIOS log management program.

以下に、本願の開示する情報処理装置、BIOSログ管理プログラムおよびBIOSログ管理方法の実施例を図面に基づいて詳細に説明する。なお、実施例によりこの発明が限定されるものではない。 DESCRIPTION OF THE PREFERRED EMBODIMENTS Examples of an information processing apparatus, a BIOS log management program, and a BIOS log management method disclosed in the present application will be described in detail below with reference to the drawings. Note that this invention is not limited to the examples.

[BIOSログ管理処理の流れ]
図1は、実施例に係るBIOSログ管理処理の流れの一例を示す図である。図1に示すように、情報処理装置1には、Firmware10と、OS20と、CPU/Chip Set30と、SPI Flash40とが含まれる。Firmware10には、BIOSのログ管理部11が含まれる。CPU/Chip Set30には、SMM(System Management Mode)管理部31が含まれる。SPI Flash40には、BIOSのログ領域41が含まれる。BIOSのログ領域41は、BIOSのログを記憶する記憶領域であり、複数に分割される。以降、ログ領域41を分割した個々の領域のことをログ部分領域ということがある。
[Flow of BIOS log management processing]
FIG. 1 is a diagram illustrating an example of the flow of BIOS log management processing according to the embodiment. As shown in FIG. 1, the information processing device 1 includes Firmware 10, an OS 20, a CPU/Chip Set 30, and an SPI Flash 40. Firmware 10 includes a BIOS log management section 11. The CPU/Chip Set 30 includes an SMM (System Management Mode) management section 31 . The SPI Flash 40 includes a BIOS log area 41. The BIOS log area 41 is a storage area for storing BIOS logs, and is divided into a plurality of areas. Hereinafter, each area into which the log area 41 is divided may be referred to as a log partial area.

BIOSが起動されると、BIOSは、Boot時に、一度初期化するために、SMM管理部31に初期化を指示し(<1>)、SMM管理部31は、初期化指示を受け付ける。ここでいう初期化とは、ログ領域41のデータの消去のことをいう。また、エラーが発生すると、SMM管理部31は、エラーが発生したことを受け付ける(<2>)。ここでいうSMMは、BIOSによってのみ利用可能なモードであり、OSからも独立した環境を提供できるモードである。初期化指示やエラー発生を受け付けたSMM管理部31は、最高優先度を持ったハードウェア割込みを示すSMI(System Management Interrupt)を発行し(<3>)、BIOSのモードはSMMになる。モードがSMMになったBIOS(SMM)は、ログ管理部11に初期化指示やエラーログの書き込みを指示する(<4>)。ログ管理部11は、分割されたログ領域41の中の指定された書込箇所(ログ部分領域)に初期化データまたはエラーログを書き込む(<5>)。 When the BIOS is started, the BIOS instructs the SMM management unit 31 to initialize once at boot time (<1>), and the SMM management unit 31 accepts the initialization instruction. Initialization here refers to erasing data in the log area 41. Further, when an error occurs, the SMM management unit 31 accepts that an error has occurred (<2>). The SMM referred to here is a mode that can be used only by the BIOS, and is also a mode that can provide an environment independent from the OS. Upon receiving the initialization instruction and the error occurrence, the SMM management unit 31 issues an SMI (System Management Interrupt) indicating a hardware interrupt with the highest priority (<3>), and the BIOS mode becomes SMM. The BIOS (SMM) whose mode has become SMM instructs the log management unit 11 to initialize and write an error log (<4>). The log management unit 11 writes the initialization data or the error log to a designated writing location (log partial area) in the divided log area 41 (<5>).

また、エラーログ以外のログについては、BIOSは、Boot時またはRuntime時に、ログ管理部11に対して、全ログの書き込みを指示し(<1´>)、ログ管理部11は、全ログの書き込みを受け付ける。全ログの書き込みを受け付けたログ管理部11は、分割されたログ領域42の中の指定された書込箇所(部分ログ領域)にログを書き込む(<2´>)。すなわち、ログ管理部11は、BIOS(Boot、Runtime)やBIOS(SMM)からログの書込み指示を受け付けた場合には、分割されたログ領域41のうち指定された部分ログ領域の空間にログを書き込む。 Regarding logs other than error logs, the BIOS instructs the log management unit 11 to write all logs at boot or runtime (<1'>), and the log management unit 11 writes all logs. Accepts writing. The log management unit 11 that has received the writing of all logs writes the logs to the designated writing location (partial log area) in the divided log area 42 (<2'>). That is, when the log management unit 11 receives a log write instruction from the BIOS (Boot, Runtime) or the BIOS (SMM), the log management unit 11 writes the log in a specified partial log area space of the divided log area 41. Write.

また、BIOSは、Boot時に、BIOS Menuに従って処理する(<11>)。BIOS Menuとは、BIOSの設定画面のことをいい、例えば、ログ領域41を初期化する該当箇所(部分ログ領域)を指定することができるMenuである。BIOS Menuに従って、ログ管理部11は、ログ領域41の該当箇所(部分ログ領域)を必要がある場合消去(初期化)する(<12>)。すなわち、BIOSのログは、フラッシュメモリ(例えば、SPI(Serial Peripheral Interface) Flash)に書き込まれるが、フラッシュメモリの特性上、書き込む際に上書きができず、上書きする場合には、消去(初期化)する必要がある。消去には、時間がかかるため、BIOSのBoot時に、ログを消去しないでログを記録することができる部分ログ領域がない場合には、ログ領域41の該当箇所(部分ログ領域)の消去処理をする。 Further, the BIOS processes according to the BIOS Menu at the time of booting (<11>). The BIOS Menu refers to a BIOS setting screen, and is a Menu in which, for example, a corresponding location (partial log area) for initializing the log area 41 can be specified. According to the BIOS Menu, the log management unit 11 erases (initializes) the corresponding part (partial log area) of the log area 41 if necessary (<12>). In other words, the BIOS log is written to flash memory (for example, SPI (Serial Peripheral Interface) Flash), but due to the characteristics of flash memory, it cannot be overwritten when writing, and when it is overwritten, it must be erased (initialized). There is a need to. Since erasing takes time, if there is no partial log area where logs can be recorded without erasing them when booting the BIOS, the corresponding part of the log area 41 (partial log area) should be erased. do.

また、BIOSは、起動後かつOSのRunning(運用)中に、ログを消去しないでログを記録することができる部分ログ領域がない場合には、ログの記録が最古のログ部分領域のデータを消去して、ログを記録する新たな空間を確保する。消去には、時間がかかるため、BIOSは、起動後かつOSの運用中に、ログ領域41のいずれかの部分ログ領域のデータを消去するようにする。なお、BIOSの起動後かつOSの運用中に行われる消去処理の流れについては、後述する。 In addition, if there is no partial log area in which logs can be recorded without erasing them after startup and while the OS is running (operation), the BIOS stores the data in the oldest log partial area. to create new space for recording logs. Since erasing takes time, the BIOS erases data in any partial log area of the log area 41 after startup and while the OS is in operation. Note that the flow of the erasing process performed after the BIOS is started and while the OS is in operation will be described later.

[BIOSログ管理部の機能構成]
ここで、BIOSのログ管理部11を含む情報処理装置1の機能構成について、図2を参照して説明する。図2は、実施例に係るBIOSログ管理部を含む情報処理装置の機能構成を示すブロック図である。図2に示すように、情報処理装置1には、BIOSのログ管理部11、記憶部12およびSPI Flash40が含まれる。
[Functional configuration of BIOS log management section]
Here, the functional configuration of the information processing device 1 including the BIOS log management section 11 will be described with reference to FIG. 2. FIG. 2 is a block diagram showing the functional configuration of an information processing device including a BIOS log management unit according to an embodiment. As shown in FIG. 2, the information processing device 1 includes a BIOS log management section 11, a storage section 12, and an SPI Flash 40.

SPI Flash40には、BIOSのログ領域41が確保される。BIOSのログ領域41には、分割された複数の部分ログ領域が含まれる。なお、図2では、BIOSのログ領域41は、4つに分割されているが、これに限定されず、複数の部分ログ領域に分割されていれば良い。 A BIOS log area 41 is secured in the SPI Flash 40. The BIOS log area 41 includes a plurality of divided partial log areas. Note that in FIG. 2, the BIOS log area 41 is divided into four parts, but is not limited to this, and may be divided into a plurality of partial log areas.

記憶部12は、管理テーブル121および領域管理テーブル122を有する。管理テーブル121は、SPI Flash40内のBIOSのログ領域41の管理に用いられるテーブルである。また、領域管理テーブル122は、BIOSのログ領域41を分割した各部分ログ領域を管理するテーブルである。なお、部分ログ領域は、部分記憶領域の一例である。また、管理テーブル121および領域管理テーブル122の各構成の一例については、後述する。 The storage unit 12 has a management table 121 and an area management table 122. The management table 121 is a table used to manage the BIOS log area 41 within the SPI Flash 40. Further, the area management table 122 is a table for managing each partial log area obtained by dividing the log area 41 of the BIOS. Note that the partial log area is an example of a partial storage area. Further, an example of each configuration of the management table 121 and the area management table 122 will be described later.

ログ管理部11は、振分処理部111、圧縮管理部112、暗号圧縮処理部113、圧縮処理部114、書込管理部115および書込処理部116を有する。なお、書込管理部115は、変更部、記録部および消去部の一例である。書込処理部116は、記録部の一例である。 The log management section 11 includes a distribution processing section 111 , a compression management section 112 , a cryptographic compression processing section 113 , a compression processing section 114 , a write management section 115 , and a write processing section 116 . Note that the write management section 115 is an example of a changing section, a recording section, and an erasing section. The write processing unit 116 is an example of a recording unit.

振分処理部111は、BIOSのログを振り分ける。BIOSのログには、公開できない情報が含まれる。したがって、振分処理部111は、Boot時のBIOSやBIOS(SMM)からログの書き込み指示を受け付けると、ログを非公開ログと非公開ログ以外のログとに振り分ける。 The distribution processing unit 111 distributes the BIOS logs. The BIOS log contains information that cannot be made public. Therefore, when the distribution processing unit 111 receives a log write instruction from the BIOS at boot time or the BIOS (SMM), the distribution processing unit 111 distributes the logs into private logs and logs other than private logs.

圧縮管理部112は、振り分けられたログごとに、BIOSのログの圧縮を管理する。例えば、圧縮管理部112は、ログの分類が非公開ログの場合には、非公開ログの容量が所定の容量になると当該ログの圧縮処理を暗号圧縮処理部113に実行させる。また、圧縮管理部112は、ログの分類が非公開ログ以外のログの場合には、非公開ログ以外のログの容量が所定の容量になると当該ログの圧縮処理を圧縮処理部114に実行させる。 The compression management unit 112 manages compression of BIOS logs for each assigned log. For example, if the log is classified as a private log, the compression management unit 112 causes the cryptographic compression processing unit 113 to perform compression processing on the log when the capacity of the private log reaches a predetermined capacity. In addition, if the log classification is a log other than a private log, the compression management unit 112 causes the compression processing unit 114 to perform compression processing on the log when the capacity of the log other than the private log reaches a predetermined capacity. .

暗号圧縮処理部113は、非公開ログについて、暗号圧縮処理を実行する。圧縮処理部114は、非公開ログ以外のログについて、圧縮処理を実行する。 The cryptographic compression processing unit 113 performs cryptographic compression processing on the private log. The compression processing unit 114 performs compression processing on logs other than private logs.

書込管理部115は、BIOSの起動毎に、ログ領域41の中の部分ログ領域を指定してログの書き込みを管理する。例えば、書込管理部115は、管理テーブル121を用いて、BIOSの起動毎に、BIOSのログを書き込む部分ログ領域を変更する。そして、書込管理部115は、変更される部分ログ領域にBIOSのログを書き込むように、書込処理部117に指示する。 The write management unit 115 specifies a partial log area in the log area 41 and manages log writing every time the BIOS is started. For example, the write management unit 115 uses the management table 121 to change the partial log area in which the BIOS log is written each time the BIOS is started. Then, the write management unit 115 instructs the write processing unit 117 to write the BIOS log in the partial log area to be changed.

また、書込管理部115は、BIOSの起動後かつOSの運用中に、分割されたログ領域41のうち指定された部分ログ領域のデータを消去する。すなわち、書込管理部115は、BIOSの起動後かつOSの運用中に、指定された部分ログ領域を初期化する。例えば、書込管理部115は、管理テーブル121を用いて、複数の部分ログ領域の全てにログが記録されているか否かを判定する。すなわち、書込管理部115は、複数の部分ログ領域の中でログを消去しないでログを記録することができる部分ログ領域がないか否かを判定する。そして、書込管理部115は、複数の部分ログ領域の全てにログが記録されていると判定する場合には、管理テーブル121を用いて、以下の処理を行う。書込管理部115は、ログ領域41のうち、エラーが発生した際に書き込んだ部分ログ領域を除いた部分ログ領域であってログの書き込みが最古の部分ログ領域のデータを消去するように、書込処理部116に指示する。 Further, the write management unit 115 erases data in a specified partial log area of the divided log area 41 after the BIOS is started and while the OS is in operation. That is, the write management unit 115 initializes the specified partial log area after the BIOS is started and while the OS is operating. For example, the write management unit 115 uses the management table 121 to determine whether logs are recorded in all of the plurality of partial log areas. That is, the write management unit 115 determines whether there is any partial log area in which a log can be recorded without erasing the log among the plurality of partial log areas. When the write management unit 115 determines that logs are recorded in all of the plurality of partial log areas, the write management unit 115 uses the management table 121 to perform the following processing. The write management unit 115 erases the data in the partial log area in which the oldest log has been written, which is the partial log area excluding the partial log area written when an error occurred in the log area 41. , instructs the write processing unit 116.

なお、書込管理部115は、BIOSの起動後かつOSの運用中に、特定の部分ログ領域を全て消去できない場合がある。例えば、OSに負荷がかかっている場合である。かかる場合には、書込管理部115は、次回のBIOSの起動時に、管理テーブル121を用いて、特定の部分ログ領域の消去できなかった残りを消去するようにすれば良い。 Note that the write management unit 115 may not be able to erase all of a specific partial log area after the BIOS is started and while the OS is in operation. For example, this is the case when the OS is under load. In such a case, the write management unit 115 may use the management table 121 to erase the remaining part of the specific partial log area that could not be erased the next time the BIOS is started.

書込処理部116は、書込管理部115によって変更され指定された部分ログ領域にBIOSのログを書き込む。また、書込処理部116は、書込管理部115によって消去するように指示された部分ログ領域のデータを消去する。 The write processing unit 116 writes the BIOS log in the partial log area changed and designated by the write management unit 115. Furthermore, the write processing unit 116 erases data in the partial log area that is instructed to be erased by the write management unit 115.

[書込管理の概念]
ここで、書込管理部115によって実施される書込管理の概念を、図3Aおよび図3Bを参照して説明する。図3Aおよび図3Bは、実施例に係る書込管理の概念を示す図である。図3Aおよび図3Bに示すBIOSのログ領域41は、4個に分割されている。各部分ログ領域は、41-1、41-2、41-3、41-4と記載するものとする。そして、部分ログ領域41-3は、前前前回の起動ログを保持(DataStored)し、部分ログ領域41-4は、前前回の起動ログを保持し、部分ログ領域41-1は、前回の起動ログを保持している。いずれの部分ログ領域もエラーが発生した際のログではない。ここでは、BIOSの起動時にログを書き込む箇所が部分ログ領域41-2の場合を一例として説明する。
[Write management concept]
Here, the concept of write management performed by the write management unit 115 will be explained with reference to FIGS. 3A and 3B. 3A and 3B are diagrams illustrating the concept of write management according to the embodiment. The BIOS log area 41 shown in FIGS. 3A and 3B is divided into four areas. Each partial log area shall be written as 41-1, 41-2, 41-3, and 41-4. The partial log area 41-3 holds (DataStored) the previous and previous startup logs, the partial log area 41-4 holds the previous and previous startup logs, and the partial log area 41-1 stores the previous and previous startup logs. Keeps startup logs. Neither partial log area is a log when an error occurs. Here, an example will be described in which a log is written in the partial log area 41-2 when the BIOS is started.

書込管理部15は、BIOSの起動時に、部分ログ領域41-2について、ログを保持(DataStored)していないことを確認する。書込管理部15は、部分ログ領域41-2について、ログを保持している場合には、他の部分ログ領域も既にログを保持しているので、BIOSの起動時にデータを消去する。そして、書込管理部15は、データを消去した後に部分ログ領域41-2にログを書き込んでいく。一方、書込管理部15は、部分ログ領域41-2について、ログを保持していない場合には、部分ログ領域41-2にログを書き込んでいく。 When the BIOS is started, the write management unit 15 confirms that no log is held (DataStored) in the partial log area 41-2. If the write management unit 15 holds logs in the partial log area 41-2, other partial log areas also already hold logs, so the write management unit 15 erases the data when the BIOS is started. After erasing the data, the write management unit 15 writes the log to the partial log area 41-2. On the other hand, if the write management unit 15 does not hold any logs in the partial log area 41-2, it writes the logs in the partial log area 41-2.

そして、部分ログ領域41-3は、ログ領域41のうちログの書き込みが最古のエリアである。したがって、書込管理部115は、複数の部分ログ領域の全てにログが記録されているので、BIOSの起動後かつOSの運用中に、データを消去する。この後、書込管理部115は、次回のBIOSの起動時には、データを消去した部分ログ領域41-3にログを書き込むことができる。このように、書込管理部115は、OSの運用中に部分ログ領域のデータを消去しておくことで、BIOSの起動毎に、ログを書き込む部分ログ領域をローテーションしてログを書き込むことができる。加えて、書込管理部115は、OSの運用中に、部分ログ領域のデータを消去しておくことで、次回のコンピュータの起動時間を短縮することができる。 The partial log area 41-3 is the area in the log area 41 where logs are written the oldest. Therefore, since logs are recorded in all of the plurality of partial log areas, the write management unit 115 erases the data after the BIOS is started and while the OS is operating. Thereafter, the write management unit 115 can write the log to the partial log area 41-3 from which the data has been erased the next time the BIOS is started. In this way, by erasing data in the partial log area during OS operation, the write management unit 115 can rotate the partial log area in which logs are written and write logs each time the BIOS is started. can. In addition, the write management unit 115 can shorten the time it takes to start up the computer next time by erasing data in the partial log area while the OS is operating.

仮に、BIOSの起動時、部分ログ領域41-2へのログの書き込み中に、エラーが発生したとする。すると、書込管理部115は、部分ログ領域41-2をBIOSの起動毎のローテーションから外すことで、エラー時のログを保持する。部分ログ領域41-2以外の部分ログ領域について、書込管理部115は、ローテーションを継続する。つまり、書込管理部115は、OSの運用中にデータを消去した部分ログ領域41-3に、次回のBIOSの起動時にログの書き込みを予定する。さらに、部分ログ領域41-3は、OSの運用中にデータを消去したので、部分ログ領域41-4が、ログ領域41のうちログの書き込みが最古のエリアとなる。したがって、書込管理部115は、複数の部分ログ領域の全てにログが記録されている場合には、BIOSの起動後かつOSの運用中に、部分ログ領域41-4のデータの消去を予定する。 Assume that an error occurs while writing a log to the partial log area 41-2 when the BIOS is started. Then, the write management unit 115 retains the error log by removing the partial log area 41-2 from rotation every time the BIOS is started. The write management unit 115 continues rotation of partial log areas other than the partial log area 41-2. In other words, the write management unit 115 plans to write a log into the partial log area 41-3 from which data was erased during operation of the OS when the BIOS is started next time. Further, since the data in the partial log area 41-3 was erased during operation of the OS, the partial log area 41-4 becomes the area in the log area 41 where logs are written the oldest. Therefore, if logs are recorded in all of the plurality of partial log areas, the write management unit 115 plans to erase the data in the partial log area 41-4 after the BIOS is started and while the OS is operating. do.

図3Bには、複数の部分ログ領域に、エラーが発生した際のログが保持されている場合である。図3B上図は、2つの部分ログ領域41-4、41-2に、エラーが発生した際のログが保持されている場合である。かかる場合には、部分ログ領域41-2、41-4以外の部分ログ領域41-1、41-3について、書込管理部115は、ローテーションを継続する。 FIG. 3B shows a case where logs when an error occurs are held in a plurality of partial log areas. The upper diagram of FIG. 3B shows a case where logs when an error occurs are held in two partial log areas 41-4 and 41-2. In such a case, the write management unit 115 continues rotation of the partial log areas 41-1 and 41-3 other than the partial log areas 41-2 and 41-4.

図3B下図は、3つの部分ログ領域41-4、41-2、41-3に、エラーが発生した際のログが保持されている場合である。かかる場合には、書込管理部115は、部分ログ領域41-1について、BIOSの起動時に、ログを保持していないことを確認し、ログを保持している場合には、書き込む前にデータを消去してからログを書き込んでいく。一方、書込管理部15は、部分ログ領域41-1について、ログを保持していない場合には、そのまま部分ログ領域41-1にログを書き込んでいく。 The lower diagram of FIG. 3B shows a case where logs when an error occurs are held in three partial log areas 41-4, 41-2, and 41-3. In such a case, the write management unit 115 confirms that no log is held in the partial log area 41-1 at the time of BIOS startup, and if the log is held, the write management unit 115 deletes the data before writing the partial log area 41-1. After deleting the , write the log. On the other hand, if the write management unit 15 does not hold any logs in the partial log area 41-1, it continues writing the logs into the partial log area 41-1.

[管理テーブルの構成の一例]
ここで、実施例に係る管理テーブル121の構成の一例を、図4を参照して説明する。図4は、実施例に係る管理テーブルの構成の一例を示す図である。図4に示すように、管理テーブル121は、TableWriting、TableInit、TableInitializing、TableCount、TableMask、TablesDataStoredおよびFlashManagementTableListを対応付けて記憶する。
[Example of management table configuration]
Here, an example of the configuration of the management table 121 according to the embodiment will be described with reference to FIG. 4. FIG. 4 is a diagram illustrating an example of the configuration of a management table according to the embodiment. As shown in FIG. 4, the management table 121 stores TableWriting, TableInit, TableInitializing, TableCount, TableMask, TablesDataStored, and FlashManagementTableList in association with each other.

TableWritingは、ログの書き込みをしている部分ログ領域を指定するために用いられる。TableWritingは、1バイト長であり、各ビットを各部分ログ領域に対応付ける。一例として、図3Aおよび図3Bの例では、部分ログ領域41-2がログを書き込んでいる場合には、TableWritingは「01000000」を記憶する。 TableWriting is used to specify the partial log area where logs are being written. TableWriting has a length of 1 byte, and each bit is associated with each partial log area. As an example, in the example of FIGS. 3A and 3B, when the partial log area 41-2 is writing a log, TableWriting stores "01000000".

TableInitは、初期化する対象の部分ログ領域を指定するために用いられる。TableInitは、1バイト長であり、各ビットを各部分ログ領域に対応付ける。一例として、図3Aおよび図3Bの例では、部分ログ領域41-3が初期化(消去)する対象である場合には、TableInitは「00100000」を記憶する。 TableInit is used to specify the partial log area to be initialized. TableInit is 1 byte long and associates each bit with each partial log area. As an example, in the example of FIGS. 3A and 3B, when the partial log area 41-3 is the target to be initialized (erased), TableInit stores "00100000".

TableInitializingは、初期化処理をする部分ログ領域を選択するために用いられる。TableInitializingは、1バイト長であり、各ビットを各部分ログ領域に対応付ける。TableCountは、部分ログ領域の使用可能な総数を記憶する。図3Aおよび図3Bの例では、TableCountは、「4」を記憶する。TableMaskは、マスクしている部分ログ領域を指定するために用いられる。TableMaskは、1バイト長であり、各ビットを各部分ログ領域に対応付ける。ここでいうマスクとは、書き込み後に上書きできないように保持することをいう。例えば、マスクしている部分ログ領域は、エラーの際にログを保存した領域である。 TableInitializing is used to select a partial log area to be initialized. TableInitializing is 1 byte long and associates each bit with each partial log area. TableCount stores the total number of available partial log areas. In the example of FIGS. 3A and 3B, TableCount stores "4". TableMask is used to specify the partial log area to be masked. TableMask is 1 byte long and associates each bit with each partial log area. The term "mask" here refers to holding so that it cannot be overwritten after writing. For example, the masked partial log area is the area where the log was saved when an error occurred.

TablesDataStoredは、ログデータを記憶している部分ログ領域を指定するために用いられる。TablesDataStoredは、1バイト長であり、各ビットを各部分ログ領域に対応付ける。一例として、図3Aおよび図3Bの例では、部分ログ領域41-1,41-3,41-4がログデータを記憶している場合には、TablesDataStoredは「10110000」を記憶する。FlashManagementTableListは、各領域管理テーブル122のアドレスを記憶する。なお、TableInitおよびTableMaskは、BIOSメニューが示す値と連動する。 TablesDataStored is used to specify a partial log area that stores log data. TablesDataStored is 1 byte long, and each bit is associated with each partial log area. As an example, in the example of FIGS. 3A and 3B, if the partial log areas 41-1, 41-3, and 41-4 store log data, TablesDataStored stores "10110000". FlashManagementTableList stores the address of each area management table 122. Note that TableInit and TableMask are linked to the values indicated by the BIOS menu.

[領域管理テーブルの構成の一例]
ここで、実施例に係る領域管理テーブル122の構成の一例を、図5を参照して説明する。領域管理テーブル122は、ログ領域41を分割した部分ログ領域の個数だけ存在する。図5は、実施例に係る領域管理テーブルの構成の一例を示す図である。図5に示すように、領域管理テーブル122は、FlashID、CountStartUp、DataStartAddressおよびDataLengthを対応付けて記憶する。
[Example of area management table configuration]
Here, an example of the configuration of the area management table 122 according to the embodiment will be described with reference to FIG. 5. The area management table 122 exists as many as the number of partial log areas obtained by dividing the log area 41. FIG. 5 is a diagram illustrating an example of the configuration of an area management table according to the embodiment. As shown in FIG. 5, the area management table 122 stores FlashID, CountStartUp, DataStartAddress, and DataLength in association with each other.

FlashIDは、部分ログ領域を区別するためのIDである。CountStartUpは、ログを記憶してから何回目のBIOSの起動であるかを示すカウンタである。最新のBIOS起動のログであれば、「0」が設定され、領域が初期化されなければ、BIOS起動毎にカウントがアップされる。DataStartAddressは、ログデータの保存先のアドレスである。DataLengthは、ログデータの保存先のサイズである。 FlashID is an ID for distinguishing partial log areas. CountStartUp is a counter that indicates how many times the BIOS has been started since the log was stored. If it is the latest BIOS startup log, "0" is set, and if the area is not initialized, the count is incremented each time the BIOS is started. DataStartAddress is the address where log data is saved. DataLength is the size of the log data storage destination.

[OS運用中のログ消去処理の流れ]
ここで、実施例に係るOS運用中のログ消去処理の流れについて、図6を参照して説明する。図6は、実施例に係るOS運用中のログ消去処理の流れの一例を示す図である。図6に示すように、OS運用中に、ログ管理部11は、ACPI(Advanced Programmable Interrupt Controller)を利用して、BIOSのログ領域41のデータを消去(初期化)する。ACPIを利用するのは、ACPIのAML(ACPI Machine Language)を利用してSMMに入ることができるからである。SMMに入ることで、OSの運用中にBIOSのログ管理部11に割り込むことができる。
[Flow of log deletion process during OS operation]
Here, the flow of log deletion processing during OS operation according to the embodiment will be described with reference to FIG. 6. FIG. 6 is a diagram illustrating an example of the flow of log deletion processing during OS operation according to the embodiment. As shown in FIG. 6, during OS operation, the log management unit 11 uses ACPI (Advanced Programmable Interrupt Controller) to erase (initialize) data in the log area 41 of the BIOS. ACPI is used because it is possible to enter SMM using ACPI's AML (ACPI Machine Language). By entering SMM, it is possible to interrupt the log management section 11 of the BIOS during operation of the OS.

例えば、BIOS(Sweep)は、OS起動後暫くしてから、ACPI Driver21を呼び出すために、CPU/Chip Set30のACPI Register領域32を操作する(<21>)。ACPI Register領域32が操作されたため、CPU/Chip Set30は、SCI(System Control Interrupt)を発行する(<22>)。SCIは、ACPIイベントをOSに通知するためのハードウェア割込みである。ACPI Driver21は、SCIを受け付けてHandler処理を実行し(<23>)、指定のAMLを呼び出す。AMLは、SMMを呼び出すために、SMM Register領域33を操作する(<24>)。SMM Register領域33が操作されたため、CPU/Chip Set30は、SMIを発行する(<25>)。BIOS(SMM)は、SMIを受け付けてSMMになり、BIOSのログ管理部11にBIOSのログ消去を依頼する(<26>)。 For example, the BIOS (Sweep) operates the ACPI Register area 32 of the CPU/Chip Set 30 in order to call the ACPI Driver 21 some time after the OS is started (<21>). Since the ACPI Register area 32 has been operated, the CPU/Chip Set 30 issues an SCI (System Control Interrupt) (<22>). SCI is a hardware interrupt for notifying the OS of ACPI events. The ACPI Driver 21 receives the SCI, executes Handler processing (<23>), and calls the specified AML. AML operates the SMM Register area 33 to call the SMM (<24>). Since the SMM Register area 33 has been operated, the CPU/Chip Set 30 issues an SMI (<25>). The BIOS (SMM) receives the SMI, becomes an SMM, and requests the BIOS log management unit 11 to delete the BIOS log (<26>).

BIOSのログ管理部11は、BIOSのログ領域41の該当箇所(部分ログ領域)を消去(初期化)する(<27>)。例えば、ログ管理部11における書込管理部115は、管理テーブル121を用いて、ログ領域41を分割した複数の部分ログ領域の全てにログが記録されているか否かを判定する。そして、書込管理部115は、複数の部分ログ領域の全てにログが記録されていると判定する場合には、管理テーブル121を用いて、エラーが発生した際に書き込んだ部分ログ領域を除いた部分ログ領域のうちログの書き込みが最古の部分ログ領域のデータを消去するように、書込処理部116に指示する。そして、書込処理部116は、指示された部分ログ領域のデータを消去する。なお、書込管理部115は、OSの運用中に、特定の部分ログ領域を全て消去できない場合がある。かかる場合には、書込管理部115は、次回のBIOSの起動時に、管理テーブル121を用いて、特定の部分ログ領域の消去できなかった残りを消去するようにすれば良い。 The log management unit 11 of the BIOS erases (initializes) the corresponding part (partial log area) of the log area 41 of the BIOS (<27>). For example, the write management unit 115 in the log management unit 11 uses the management table 121 to determine whether logs are recorded in all of the plurality of partial log areas obtained by dividing the log area 41. If the write management unit 115 determines that logs are recorded in all of the plurality of partial log areas, the write management unit 115 uses the management table 121 to exclude the partial log area written when the error occurred. The write processing unit 116 is instructed to erase the data in the partial log area in which the oldest log has been written among the partial log areas. Then, the write processing unit 116 erases the data in the specified partial log area. Note that the write management unit 115 may not be able to erase all of a specific partial log area during operation of the OS. In such a case, the write management unit 115 may use the management table 121 to erase the remaining part of the specific partial log area that could not be erased the next time the BIOS is started.

これにより、ログ管理部11は、OSの運用中に、BIOSの部分ログ領域を消去することで、次回のBIOS起動時にBIOSの部分ログ領域の消去処理を抑制することができる。結果的に、ログ管理部11は、コンピュータの起動時間を短縮することができる。 Thereby, by erasing the partial log area of the BIOS during operation of the OS, the log management unit 11 can suppress the process of erasing the partial log area of the BIOS when the BIOS is started next time. As a result, the log management unit 11 can shorten the computer startup time.

[BIOS起動時の処理のフローチャート]
図7は、実施例に係るBIOS起動時の処理のフローチャートの一例を示す図である。なお、図7では、BIOSが起動されたものとする。
[Flowchart of processing at BIOS startup]
FIG. 7 is a diagram illustrating an example of a flowchart of processing at the time of starting the BIOS according to the embodiment. Note that in FIG. 7, it is assumed that the BIOS has been started.

BIOSが起動されると、ログ管理部11は、管理テーブル121を取得する(ステップS11)。ログ管理部11は、管理テーブル121のTableWritingを「0」に初期化する(ステップS12)。すなわち、ログ管理部11は、現にログを書き込む対象の部分ログ領域がないので、TableWritingを「0」に初期化する。 When the BIOS is started, the log management unit 11 acquires the management table 121 (step S11). The log management unit 11 initializes TableWriting of the management table 121 to "0" (step S12). That is, the log management unit 11 initializes TableWriting to "0" because there is currently no partial log area to write a log to.

ログ管理部11は、管理テーブル121のTablesMaskにBIOS Menuで指定したMask箇所を追加する(ステップS13)。BIOS Menuには、ユーザが特定の部分ログ領域のデータを保持(Mask)したい場合には、保持したい部分ログ領域が指定されている。ログ管理部11は、かかるBIOS Menuを取得し、BIOS Menuで指定したMask箇所をTablesMaskに設定する。 The log management unit 11 adds the Mask location specified in the BIOS Menu to TablesMask of the management table 121 (step S13). In the BIOS Menu, when a user wants to hold (mask) data in a specific partial log area, the partial log area to be held is specified. The log management unit 11 obtains the BIOS Menu and sets the Mask location specified in the BIOS Menu to TablesMask.

ログ管理部11は、管理テーブル121のMask=0かつDataStored=0な領域管理テーブル122があるか否かを判定する(ステップS14)。すなわち、ログ管理部11は、保持(Mask)する部分ログ領域がなく、データが入っていない部分ログ領域があるか否かを判定する。つまり、ログ管理部11は、部分ログ領域を消去しないで、すぐに書き込める部分ログ領域の対象が存在するかどうかを判定する。Mask=0かつDataStored=0な領域管理テーブル122があると判定した場合には(ステップS14;Yes)、ログ管理部11は、Mask=0かつDataStored=0な領域管理テーブル122に対応する部分ログ領域にログを書き込むべく、ステップS25に移行する。 The log management unit 11 determines whether there is an area management table 122 in which the management table 121 has Mask=0 and DataStored=0 (step S14). That is, the log management unit 11 determines whether or not there is no partial log area to be held (masked) and there is a partial log area that does not contain data. In other words, the log management unit 11 determines whether there is a target for a partial log area that can be written immediately without erasing the partial log area. If it is determined that there is an area management table 122 with Mask=0 and DataStored=0 (step S14; Yes), the log management unit 11 stores a partial log corresponding to the area management table 122 with Mask=0 and DataStored=0. The process moves to step S25 to write the log in the area.

一方、Mask=0かつDataStored=0な領域管理テーブル122がないと判定した場合には(ステップS14;No)、ログ管理部11は、管理テーブル121のTablesInitにBIOS Menuで指定した初期化対象箇所を書き込む(ステップS15)。BIOS Menuには、ユーザが特定の部分ログ領域を消去したい場合には、消去したい部分ログ領域が指定されている。ログ管理部11は、かかるBIOS Menuを取得し、BIOS Menuで指定した初期化対処箇所をTableInitに設定する。 On the other hand, if it is determined that there is no area management table 122 with Mask = 0 and DataStored = 0 (step S14; No), the log management unit 11 sets the initialization target location specified in the BIOS Menu to TablesInit of the management table 121. is written (step S15). In the BIOS Menu, if the user wants to erase a specific partial log area, the partial log area to be erased is specified. The log management unit 11 obtains the BIOS Menu and sets the initialization area specified in the BIOS Menu in TableInit.

ログ管理部11は、Mask=0な領域管理テーブル122があるか否かを判定する(ステップS16)。すなわち、ログ管理部11は、管理テーブル121のTablesMaskを用いて、保持(Mask)がされていないログ領域41があるか否かを判定する。Mask=0な領域管理テーブル122があると判定した場合には(ステップS16;Yes)、ログ管理部11は、管理テーブル121のMask=0かつCountが最大な領域管理テーブル122を特定し、TablesInitの対応しているビットを立てる(ステップS17)。すなわち、ログ管理部11は、保持(Mask)がされている部分ログ領域を除いて、ログの書込みが一番古い部分ログ領域を特定し、消去する対象とする。そして、ログ管理部11は、消去処理に移行すべく、ステップS19に移行する。 The log management unit 11 determines whether there is an area management table 122 with Mask=0 (step S16). That is, the log management unit 11 uses the TablesMask of the management table 121 to determine whether there is any log area 41 that is not maintained (masked). If it is determined that there is an area management table 122 with Mask=0 (step S16; Yes), the log management unit 11 identifies the area management table 122 with Mask=0 and the maximum Count of the management table 121, and TablesInit The corresponding bit is set (step S17). That is, the log management unit 11 identifies the partial log area in which the oldest log has been written, excluding the retained (masked) partial log area, and sets it as the target for deletion. The log management unit 11 then proceeds to step S19 to proceed to the deletion process.

一方、Mask=0な領域管理テーブル122がないと判定した場合には(ステップS16;No)、ログ管理部11は、BIOS Menuに初期化が指定されている部分ログ領域があるか否かを判定する(ステップS18)。BIOS Menuには、ユーザが特定の部分ログ領域を消去したい場合には、消去したい部分ログ領域が指定されている。ログ管理部11は、ユーザが消去したい部分ログ領域があるか否かを判定する。BIOS Menuに初期化が指定されている部分ログ領域がないと判定した場合には(ステップS18;No)、ログ管理部11は、消去処理をしないで、BIOS起動時の処理を終了する。 On the other hand, if it is determined that there is no area management table 122 with Mask=0 (step S16; No), the log management unit 11 checks whether there is a partial log area specified to be initialized in the BIOS Menu. Determination is made (step S18). In the BIOS Menu, if the user wants to erase a specific partial log area, the partial log area to be erased is specified. The log management unit 11 determines whether there is a partial log area that the user wants to erase. If it is determined that there is no partial log area designated to be initialized in the BIOS Menu (step S18; No), the log management unit 11 ends the BIOS startup process without performing the deletion process.

一方、BIOS Menuに初期化が指定されている部分ログ領域があると判定した場合には(ステップS18;Yes)、ログ管理部11は、消去処理をすべく、ステップS19に移行する。 On the other hand, if it is determined that there is a partial log area designated to be initialized in the BIOS Menu (step S18; Yes), the log management unit 11 moves to step S19 to perform deletion processing.

ステップS19において、ログ管理部11は、管理テーブル121のTablesInitに立っているビットがなくなるまで、ステップS20~S23を行う(ステップS19,S24)。すなわち、ログ管理部11は、TablesInitに立っているビットに対応する対象の部分ログ領域の消去処理を行う。 In step S19, the log management unit 11 performs steps S20 to S23 until there are no bits set in TablesInit of the management table 121 (steps S19 and S24). That is, the log management unit 11 performs a process of erasing the target partial log area corresponding to the bit set in TablesInit.

ログ管理部11は、管理テーブル121のTalbesInitに立っているビットの1つを選択して、その対応するTableInitializingのビットに「1」を立てる(ステップS20)。すなわち、ログ管理部11は、消去する部分ログ領域を1つ選択して、初期化中であるとする。 The log management unit 11 selects one of the bits set in TalbesInit of the management table 121, and sets "1" to the corresponding bit in TableInitializing (step S20). That is, it is assumed that the log management unit 11 selects one partial log area to be erased and is in the process of initializing it.

そして、ログ管理部11は、管理テーブル121のTableInitializingが「1」の領域管理テーブル122に対し、Data Start AddressとData Lengthからデータの範囲を特定し、消去処理を行う(ステップS21)。すなわち、ログ管理部11は、TableInitializingから特定された部分ログ領域のデータを消去する。 Then, the log management unit 11 specifies the data range from the Data Start Address and Data Length for the area management table 122 in which TableInitializing of the management table 121 is "1", and performs deletion processing (step S21). That is, the log management unit 11 deletes data in the partial log area specified from TableInitializing.

そして、ログ管理部11は、消去処理のEndFlagを確認したら、管理テーブル121のDataStoredの該当ビットを0に設定するとともに、TablesInitおよびTableInitializingの該当ビットを0に設定する(ステップS22)。すなわち、ログ管理部11は、消去処理が完了したら、消去処理が完了した部分ログ領域について、管理テーブル121の該当箇所を、データが入っていない、かつログ消去が完了した状態に設定する。 After confirming the EndFlag of the erasing process, the log management unit 11 sets the corresponding bit of DataStored in the management table 121 to 0, and also sets the corresponding bits of TablesInit and TableInitializing to 0 (step S22). That is, when the deletion process is completed, the log management unit 11 sets the corresponding location in the management table 121 to a state in which no data is stored and the log deletion has been completed for the partial log area for which the deletion process has been completed.

そして、ログ管理部11は、該当する領域管理テーブル122のCountStartUpを「0」に設定する(ステップS23)。すなわち、ログ管理部11は、対象の部分ログ領域の起動回数を初期化する。そして、ログ管理部11は、ステップS24およびステップS19に移行する。 Then, the log management unit 11 sets CountStartUp in the corresponding area management table 122 to "0" (step S23). That is, the log management unit 11 initializes the number of activations of the target partial log area. The log management unit 11 then proceeds to step S24 and step S19.

ログ管理部11は、管理テーブル121のTablesInitに立っているビットがなくなると、管理テーブル121のMask=0かつDataStored=1な領域管理テーブル122の全てのCountStartUpに1を足す(ステップS25)。すなわち、ログ管理部11は、保持(Mask)対象でなく、データが入っている部分ログ領域を対象に、BIOSを起動した回数を1だけ加算する。 When there are no bits set in TablesInit of the management table 121, the log management unit 11 adds 1 to all CountStartUps in the area management table 122 where Mask=0 and DataStored=1 in the management table 121 (step S25). That is, the log management unit 11 adds 1 to the number of times the BIOS has been started for the partial log area that contains data, not for retention (mask).

ログ管理部11は、管理テーブル121のMask=0かつDataStored=0な領域管理テーブル122を1つ選択し、TableWritingの該当ビットに「1」を立てる(ステップS26)。すなわち、ログ管理部11は、保持(Mask)対象でなく、データが入っていない部分ログ領域を選択して、ログの書込み対象とする。 The log management unit 11 selects one area management table 122 in which Mask=0 and DataStored=0 in the management table 121, and sets "1" to the corresponding bit of TableWriting (step S26). That is, the log management unit 11 selects a partial log area that is not to be held (mask) and does not contain data, and makes it a log writing target.

ログ管理部11は、管理テーブル121のTableWriting=1の領域管理テーブル122のStartAddressからログを書き込む(ステップS27)。そして、ログ管理部11は、BIOS起動時の処理を終了する。 The log management unit 11 writes the log from StartAddress of the area management table 122 where TableWriting=1 of the management table 121 (step S27). Then, the log management unit 11 ends the processing at the time of starting the BIOS.

[OS運用中の消去処理のフローチャート]
図8は、実施例に係るOS運用中の消去処理のフローチャートの一例を示す図である。
[Flowchart of deletion processing during OS operation]
FIG. 8 is a diagram illustrating an example of a flowchart of deletion processing during OS operation according to the embodiment.

OSが起動し暫くしてから、ログ管理部11は、管理テーブル121を取得する(ステップS31)。ログ管理部11は、管理テーブル121のMask=0かつDataStored=0な領域管理テーブル122があるか否かを判定する(ステップS32)。すなわち、ログ管理部11は、保持(Mask)する部分ログ領域がなく、データが入っていない部分ログ領域があるか否かを判定する。つまり、ログ管理部11は、部分ログ領域を消去しないで、すぐに書き込める部分ログ領域の対象が存在するかどうかを判定する。Mask=0かつDataStored=0な領域管理テーブル122があると判定した場合には(ステップS32;Yes)、ログ管理部11は、OS運用中の消去処理を終了する。 After a while after the OS starts, the log management unit 11 acquires the management table 121 (step S31). The log management unit 11 determines whether there is an area management table 122 in which the management table 121 has Mask=0 and DataStored=0 (step S32). That is, the log management unit 11 determines whether or not there is no partial log area to be held (masked) and there is a partial log area that does not contain data. In other words, the log management unit 11 determines whether there is a target for a partial log area that can be written immediately without erasing the partial log area. If it is determined that there is an area management table 122 with Mask=0 and DataStored=0 (step S32; Yes), the log management unit 11 ends the deletion process during OS operation.

一方、Mask=0かつDataStored=0な領域管理テーブル122がないと判定した場合には(ステップS32;No)、ログ管理部11は、以下の処理を行う。ログ管理部11は、Mask=1以外の領域管理テーブル122であってCountStartUpが最大の領域管理テーブル122を特定し、管理テーブル121の対応するTalesInitのビットを立てる(ステップS33)。すなわち、ログ管理部11は、保持(Mask)しない部分ログ領域の内、最も古いBIOS起動時のログが保持されている部分ログ領域を選択して、ログの消去対象とする。 On the other hand, if it is determined that there is no area management table 122 with Mask=0 and DataStored=0 (step S32; No), the log management unit 11 performs the following process. The log management unit 11 identifies the area management table 122 with Mask=1 other than 1 and has the largest CountStartUp, and sets the corresponding TalesInit bit of the management table 121 (step S33). That is, the log management unit 11 selects the partial log area in which the oldest BIOS startup log is held from among the partial log areas that are not to be held (mask), and makes it a log deletion target.

そして、ログ管理部11は、ログの消去対象について、消去処理を行う(ステップS34)。すなわち、ログ管理部11は、図6で説明したOS運用中のログ消去処理を実行する。そして、ログ管理部11は、OS運用中の消去処理を終了する。 Then, the log management unit 11 performs a deletion process on the log to be deleted (step S34). That is, the log management unit 11 executes the log deletion process during OS operation described with reference to FIG. Then, the log management unit 11 ends the deletion process during OS operation.

[エラー発生時の処理のフローチャート]
図9は、実施例に係るエラー発生時の処理のフローチャートの一例を示す図である。
[Flowchart of processing when an error occurs]
FIG. 9 is a diagram illustrating an example of a flowchart of processing when an error occurs according to the embodiment.

エラーが発生すると、ログ管理部11は、管理テーブル121を取得する(ステップS41)。ログ管理部11は、管理テーブル121のTableWriting=1な領域管理テーブル122があるか否かを判定する(ステップS42)。すなわち、ログ管理部11は、ログを書き込み中の部分ログ領域があるか否かを判定する。TableWriting=1な領域管理テーブル122がないと判定した場合には(ステップS42;No)、ログ管理部11は、部分ログ領域の書き込み中のエラーでないので、処理を終了する。 When an error occurs, the log management unit 11 acquires the management table 121 (step S41). The log management unit 11 determines whether there is an area management table 122 with TableWriting=1 in the management table 121 (step S42). That is, the log management unit 11 determines whether there is a partial log area in which a log is being written. If it is determined that there is no area management table 122 with TableWriting=1 (step S42; No), the log management unit 11 terminates the process because there is no error during writing of the partial log area.

一方、TableWriting=1な領域管理テーブル122があると判定した場合には(ステップS42;Yes)、ログ管理部11は、あると判定した領域管理テーブル122を選択して、管理テーブル121にMaskを追加する(ステップS43)。すなわち、ログ管理部11は、対象の領域管理テーブル122をMaskするために、管理テーブル121のTablesMaskの該当ビットを立てる。 On the other hand, if it is determined that there is an area management table 122 with TableWriting=1 (step S42; Yes), the log management unit 11 selects the area management table 122 determined to exist and sets Mask in the management table 121. Add (step S43). That is, the log management unit 11 sets the corresponding bit of TablesMask of the management table 121 in order to mask the target area management table 122.

そして、ログ管理部11は、管理テーブル121のTableWritingを「0」にする(ステップS44)。すなわち、ログ管理部11は、ログの書き込み中である状態を、ログを書き込みしていない状態に変更する。そして、ログ管理部11は、エラー発生時の処理を終了する。 Then, the log management unit 11 sets TableWriting of the management table 121 to "0" (step S44). That is, the log management unit 11 changes the state in which the log is being written to the state in which the log is not being written. The log management unit 11 then ends the processing when an error occurs.

[実施例の効果]
このようにして、情報処理装置1は、BIOSのログを記憶する記憶領域を分割した複数の部分記憶領域を有する。情報処理装置1は、BIOSの起動毎にBIOSのログを記録する部分記憶領域を変更する。情報処理装置1は、変更された部分記憶領域にBIOSのログを記録する。情報処理装置1は、BIOSの起動後かつOSの運用中に、複数の部分記憶領域の中でログを消去しないでログを記録することができる部分記憶領域がないと判定する場合には、ログの記録が古い部分記憶領域のログを消去して新たな部分記憶領域を確保する。かかる構成によれば、情報処理装置1は、ログの部分記憶領域の消去を、BIOSの起動時に行わず、OS運用中に行うことで、次回のBIOSの起動時に消去処理を行わないでログを書き込むことができることとなり、コンピュータの起動時間を短縮できる。
[Effects of Examples]
In this way, the information processing device 1 has a plurality of partial storage areas obtained by dividing the storage area for storing BIOS logs. The information processing device 1 changes the partial storage area in which the BIOS log is recorded each time the BIOS is started. The information processing device 1 records the BIOS log in the changed partial storage area. If the information processing device 1 determines that there is no partial storage area in which the log can be recorded without erasing the log among the plurality of partial storage areas after the BIOS is started and while the OS is operating, the information processing device 1 deletes the log. Delete the log of the partial storage area with old records and secure a new partial storage area. According to this configuration, the information processing device 1 erases the partial storage area of the log during OS operation instead of when starting the BIOS, so that the information processing device 1 can erase the log without performing the erasing process the next time the BIOS is started. This makes it possible to write data, thereby shortening the computer's startup time.

また、情報処理装置1は、複数の部分記憶領域の中でログを消去しないでログを記録することができる部分記憶領域がないと判定する場合には、エラーが発生した際にログを記録した部分記憶領域を除いた複数の部分記憶領域のうちログの記録が最古の部分記憶領域のログを消去する。かかる構成によれば、情報処理装置1は、OS運用中に、重要なログを維持(保護)したまま、次回のBIOSの起動時に書き込むことができる部分記憶領域のログを消去できる。 In addition, if the information processing device 1 determines that there is no partial storage area in which the log can be recorded without erasing the log among the plurality of partial storage areas, the information processing device 1 determines whether the log is recorded when an error occurs. The log of the partial storage area with the oldest log record among the plurality of partial storage areas excluding the partial storage area is deleted. According to this configuration, the information processing device 1 can erase logs in a partial storage area that can be written at the next startup of the BIOS while maintaining (protecting) important logs during OS operation.

また、情報処理装置1は、OSの運用中に、OSのACPIドライバから、指定のAMLを利用してBIOSのSMMを呼び出し、SMMからBIOSのログの消去指示を取得したタイミングで、特定の部分記憶領域のログを消去する。かかる構成によれば、情報処理装置1は、OSの運用中にBIOSのログ領域を消去する仕組みを実現できる。 Further, during operation of the OS, the information processing device 1 calls the SMM of the BIOS from the ACPI driver of the OS using the specified AML, and at the timing when the instruction to delete the BIOS log is obtained from the SMM, the information processing device 1 Clear logs from storage area. According to this configuration, the information processing device 1 can realize a mechanism for erasing the log area of the BIOS during operation of the OS.

また、情報処理装置1は、さらに、OSの運用中に、特定の部分記憶領域のログを消去できなかった場合には、次回のBIOSの起動時に、特定の部分記憶領域の消去できなかった残りのログを消去する。かかる構成によれば、情報処理装置1は、OSの運用中に、特定の部分記憶領域のログを全て消去できなかった場合であっても、次回のBIOSの起動時に、残りを消去すればよいので、消去に時間がかからず、コンピュータの起動時間を短縮できる。 Furthermore, if the information processing device 1 is unable to erase the log of a specific partial storage area during operation of the OS, the information processing device 1 will automatically delete the remaining logs that could not be erased in the specific partial storage area when the BIOS is started next time. Clear the logs. According to this configuration, even if the information processing device 1 is unable to erase all logs in a specific partial storage area during operation of the OS, the information processing device 1 only needs to erase the remaining logs the next time the BIOS is started. Therefore, erasing does not take much time, and the computer startup time can be shortened.

[その他]
なお、上記実施例では、図示した装置の各構成要素は、必ずしも物理的に図示の如く構成されていることを要しない。すなわち、装置の分散・統合の具体的態様は図示のものに限られず、その全部または一部を、各種の負荷や使用状況などに応じて、任意の単位で機能的または物理的に分散・統合して構成することができる。例えば、振分処理部111と、圧縮管理部112と、暗号圧縮処理部113と、圧縮処理部114とを統合しても良い。また、書込管理部115を、BIOSのログの書込処理と、BIOS起動時のログの消去処理と、OS起動後のログの消去処理とに分散しても良い。
[others]
In the above embodiments, each component of the illustrated device does not necessarily have to be physically configured as illustrated. In other words, the specific manner of distributing and integrating devices is not limited to what is shown in the diagram, and all or part of them can be functionally or physically distributed or integrated in arbitrary units depending on various loads and usage conditions. can be configured. For example, the distribution processing section 111, the compression management section 112, the cryptographic compression processing section 113, and the compression processing section 114 may be integrated. Further, the write management unit 115 may be distributed to perform BIOS log write processing, log deletion processing at the time of BIOS startup, and log deletion processing after OS startup.

また、上記実施例で説明した各種の処理は、あらかじめ用意されたプログラムをパーソナルコンピュータやワークステーションなどのコンピュータで実行することによって実現することができる。そこで、以下では、図1に示した情報処理装置1と同様の機能を実現するBIOSログ管理プログラムを実行するコンピュータの一例を説明する。図10は、BIOSログ管理プログラムを実行するコンピュータの一例を示す図である(簡略化のため一部表記は省略)。 Further, the various processes described in the above embodiments can be realized by executing a program prepared in advance on a computer such as a personal computer or a workstation. Therefore, an example of a computer that executes a BIOS log management program that implements the same functions as the information processing device 1 shown in FIG. 1 will be described below. FIG. 10 is a diagram illustrating an example of a computer that executes a BIOS log management program (some descriptions are omitted for brevity).

図10に示すように、コンピュータ200は、各種演算処理を実行するCPU(Central Processing Unit)203と、ユーザからのデータの入力を受け付ける入力装置215と、表示装置209とを有する。また、コンピュータ200は、記憶媒体からプログラムなどを読取る内部ストレージ213、外部ストレージ214と、ネットワークを介して他のコンピュータとの間でデータの授受を行う通信装置217とを有する。また、コンピュータ200は、各種情報を一時記憶するメモリ201と、SPI Flash205などを有する。そして、メモリ201、CPU203、内部ストレージ213、外部ストレージ214、SPI Flash205、表示装置209、入力装置215、通信装置217は、バス219で接続されている。 As shown in FIG. 10, the computer 200 includes a CPU (Central Processing Unit) 203 that executes various calculation processes, an input device 215 that accepts data input from a user, and a display device 209. The computer 200 also includes an internal storage 213 and an external storage 214 that read programs and the like from storage media, and a communication device 217 that exchanges data with other computers via a network. The computer 200 also includes a memory 201 that temporarily stores various information, an SPI Flash 205, and the like. The memory 201, CPU 203, internal storage 213, external storage 214, SPI Flash 205, display device 209, input device 215, and communication device 217 are connected via a bus 219.

SPI Flash 205は、BIOSログ管理プログラム205aおよびBIOSログ管理処理関連情報205bを記憶する。通信装置217は、ネットワークと装置内部とのインターフェースを司り、他のコンピュータからのデータの入出力を制御する。通信装置217には、例えば、モデムやLANアダプタなどを採用することができる。 The SPI Flash 205 stores a BIOS log management program 205a and BIOS log management processing related information 205b. The communication device 217 manages the interface between the network and the inside of the device, and controls the input/output of data from other computers. For example, a modem, a LAN adapter, or the like can be used as the communication device 217.

表示装置209は、カーソル、アイコンあるいはツールボックスをはじめ、文書、画像、機能情報などのデータを表示する表示装置である。表示装置209は、例えば、液晶ディスプレイや有機EL(Electroluminescence)ディスプレイなどを採用することができる。 The display device 209 is a display device that displays data such as a cursor, icons, toolbox, documents, images, and functional information. The display device 209 can employ, for example, a liquid crystal display or an organic EL (Electroluminescence) display.

CPU203は、BIOSログ管理プログラム205aを読み出して、メモリ201に展開し、プロセスとして実行する。かかるプロセスは情報処理装置1の各機能部に対応する。BIOSログ管理処理関連情報205bには、例えば、管理テーブル121、領域管理テーブル122が含まれる。そして、例えば外部ストレージ214が、BIOSログ管理プログラム205aなどの各情報を記憶する。 The CPU 203 reads the BIOS log management program 205a, expands it into the memory 201, and executes it as a process. This process corresponds to each functional unit of the information processing device 1. The BIOS log management processing related information 205b includes, for example, a management table 121 and an area management table 122. For example, the external storage 214 stores information such as the BIOS log management program 205a.

1 情報処理装置
10 Firmware
11 ログ管理部
12 記憶部
20 OS
30 CPU/Chip Set
40 SPI Flash
41 ログ領域
111 振分処理部
112 圧縮管理部
113 暗号圧縮処理部
114 圧縮処理部
115 書込管理部
116 書込処理部
121 管理テーブル
122 領域管理テーブル
1 Information processing device 10 Firmware
11 Log management section 12 Storage section 20 OS
30 CPU/Chip Set
40 SPI Flash
41 Log area 111 Distribution processing unit 112 Compression management unit 113 Cryptographic compression processing unit 114 Compression processing unit 115 Write management unit 116 Write processing unit 121 Management table 122 Area management table

Claims (6)

BIOS(Basic Input/Output System)のログを記憶する記憶領域を分割した複数の部分記憶領域と、
前記BIOSの起動毎に前記BIOSのログを記録する部分記憶領域を変更する変更部と、
前記変更部によって変更された部分記憶領域に前記BIOSのログを記録する記録部と、
前記BIOSの起動後かつOS(Operating System)の運用中に、前記複数の部分記憶領域の中でログを消去しないでログを記録することができる部分記憶領域がないと判定する場合に、ログの記録が古い部分記憶領域のログを消去して新たな部分記憶領域を確保する消去部と、
を有することを特徴とする情報処理装置。
A plurality of partial storage areas obtained by dividing a storage area for storing BIOS (Basic Input/Output System) logs;
a changing unit that changes a partial storage area for recording logs of the BIOS each time the BIOS is started;
a recording unit that records the BIOS log in the partial storage area changed by the changing unit;
After the BIOS has started and while the OS (Operating System) is operating, if it is determined that there is no partial storage area in which the log can be recorded without erasing the log, the log an erasing unit that erases a log of a partial storage area with old records to secure a new partial storage area;
An information processing device comprising:
前記消去部は、前記複数の部分記憶領域の中でログを消去しないでログを記録することができる部分記憶領域がないと判定する場合に、エラーが発生した際にログを記録した部分記憶領域を除いた複数の部分記憶領域のうちログの記録が最古の部分記憶領域のログを消去する
ことを特徴とする請求項1に記載の情報処理装置。
When the erasing unit determines that there is no partial storage area in which the log can be recorded without erasing the log among the plurality of partial storage areas, the deletion unit deletes the partial storage area in which the log was recorded when an error occurred. The information processing apparatus according to claim 1, wherein the log of the partial storage area with the oldest log record among the plurality of partial storage areas excluding .
前記消去部は、前記OSの運用中に、前記OSのACPIドライバから、指定のAMLを利用して前記BIOSのSMMを呼び出し、前記SMMから前記BIOSのログの消去指示を取得したタイミングで、特定の部分記憶領域のログを消去する
ことを特徴とする請求項1または請求項2に記載の情報処理装置。
The erasing unit calls the SMM of the BIOS from the ACPI driver of the OS using specified AML while the OS is in operation, and performs a specified operation at a timing when an instruction to erase the log of the BIOS is obtained from the SMM. The information processing apparatus according to claim 1 or 2, wherein the log of a partial storage area of the information processing apparatus is erased.
前記消去部は、さらに、前記OSの運用中に、特定の部分記憶領域のログを消去できなかった場合には、次回の前記BIOSの起動時に、前記特定の部分記憶領域の消去できなかった残りのログを消去する
ことを特徴とする請求項1または請求項2に記載の情報処理装置。
Furthermore, when the log in a specific partial storage area cannot be erased during operation of the OS, the erasing unit erases the remaining log that could not be erased in the specific partial storage area when the BIOS is started next time. The information processing apparatus according to claim 1 or 2, wherein the information processing apparatus erases a log of the information processing apparatus.
BIOSのログを記憶する記憶領域を分割した複数の部分記憶領域の中の部分記憶領域であって、前記BIOSの起動毎に前記BIOSのログを記録する部分記憶領域を変更し、
該変更した部分記憶領域に前記BIOSのログを記録し、
前記BIOSの起動後かつOSの運用中に、前記複数の部分記憶領域の中でログを消去しないでログを記録することができる部分記憶領域がないと判定する場合に、ログの記録が古い部分記憶領域のログを消去して新たな部分記憶領域を確保する
処理をコンピュータに実行させるBIOSログ管理プログラム。
a partial storage area among a plurality of partial storage areas obtained by dividing a storage area for storing BIOS logs, and changing the partial storage area for recording the BIOS logs each time the BIOS is started;
Recording the BIOS log in the changed partial storage area,
After the BIOS is started and while the OS is operating, if it is determined that there is no partial storage area in the plurality of partial storage areas in which logs can be recorded without erasing the logs, the portion where log records are old is determined. A BIOS log management program that causes a computer to erase logs from a storage area and secure a new partial storage area.
BIOSのログを記憶する記憶領域を分割した複数の部分記憶領域の中の部分記憶領域であって、前記BIOSの起動毎に前記BIOSのログを記録する部分記憶領域を変更し、
該変更した部分記憶領域に前記BIOSのログを記録し、
前記BIOSの起動後かつOSの運用中に、前記複数の部分記憶領域の中でログを消去しないでログを記録することができる部分記憶領域がないと判定する場合に、ログの記録が古い部分記憶領域のログを消去して新たな部分記憶領域を確保する
処理をコンピュータが実行するBIOSログ管理方法。
a partial storage area among a plurality of partial storage areas obtained by dividing a storage area for storing BIOS logs, and changing the partial storage area for recording the BIOS logs each time the BIOS is started;
Recording the BIOS log in the changed partial storage area,
After the BIOS is started and while the OS is operating, if it is determined that there is no partial storage area in the plurality of partial storage areas in which logs can be recorded without erasing the logs, the portion where log records are old is determined. A BIOS log management method in which a computer executes the process of deleting logs in a storage area and securing a new partial storage area.
JP2022118028A 2022-07-25 2022-07-25 Information processing device, bios log management program and bios log management method Pending JP2024015747A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022118028A JP2024015747A (en) 2022-07-25 2022-07-25 Information processing device, bios log management program and bios log management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2022118028A JP2024015747A (en) 2022-07-25 2022-07-25 Information processing device, bios log management program and bios log management method

Publications (1)

Publication Number Publication Date
JP2024015747A true JP2024015747A (en) 2024-02-06

Family

ID=89772796

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022118028A Pending JP2024015747A (en) 2022-07-25 2022-07-25 Information processing device, bios log management program and bios log management method

Country Status (1)

Country Link
JP (1) JP2024015747A (en)

Similar Documents

Publication Publication Date Title
US6308265B1 (en) Protection of boot block code while allowing write accesses to the boot block
US7069431B2 (en) Recovery of a BIOS image
US7454557B2 (en) System and method for booting from a non-volatile application and file storage device
US7702894B2 (en) System and method for loading programs from HDD independent of operating system
US7512777B2 (en) Method and system for maintaining system management BIOS
US5960460A (en) Non-intrusive replication of hard disk
US20080270685A1 (en) Information processing apparatus and firmware updating method
JP2003316595A (en) Installation method, file updating method, its program and computer system
US11354192B2 (en) Data storage devices and methods for firmware failure prevention
US20150347151A1 (en) System and method for booting from a non-volatile memory
KR100766863B1 (en) Software-installation system using movable data storage and method thereof
US6473655B1 (en) Data processing system and method for creating a virtual partition within an existing partition in a hard disk drive
US7958344B2 (en) Method for adjusting set-up default value of bios and mainboard using the same method
US8145604B2 (en) Method and apparatus for relocating an active five system journal
US20050114643A1 (en) Method of traceless portable application execution
JP2003108274A (en) Computer apparatus, method for control of augmented device and computer program
JP2009265877A (en) Electronic apparatus
JP4289028B2 (en) Hard disk backup recovery system and information processing apparatus
JP2024015747A (en) Information processing device, bios log management program and bios log management method
US7234039B1 (en) Method, system, and apparatus for determining the physical memory address of an allocated and locked memory buffer
US7017035B2 (en) Method and apparatus for using an ACPI NVS memory region as an alternative CMOS information area
US20070016761A1 (en) Method, apparatus, and computer program product for implementing enhanced system behavior control
JP6669958B2 (en) Information processing device
JP2008059388A (en) Information processor and data erasing method of hard disk applied to information processor
CN100511145C (en) Method of updating system for managing data of input / output system