[go: up one dir, main page]

JPH04105110A - Power controller - Google Patents

Power controller

Info

Publication number
JPH04105110A
JPH04105110A JP2222964A JP22296490A JPH04105110A JP H04105110 A JPH04105110 A JP H04105110A JP 2222964 A JP2222964 A JP 2222964A JP 22296490 A JP22296490 A JP 22296490A JP H04105110 A JPH04105110 A JP H04105110A
Authority
JP
Japan
Prior art keywords
configuration information
system configuration
file
storage means
file number
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
JP2222964A
Other languages
Japanese (ja)
Inventor
Tadashi Shigeta
繁田 忠志
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP2222964A priority Critical patent/JPH04105110A/en
Publication of JPH04105110A publication Critical patent/JPH04105110A/en
Pending legal-status Critical Current

Links

Landscapes

  • Power Sources (AREA)

Abstract

PURPOSE:To always ensure the control of a power supply that is coincident with the system constitution by controlling the ON/OFF operations of the power supply of a system based on two pieces of system constitution information stored in an external storage part. CONSTITUTION:In an ON state of the system power supply, the system constitution information is read out of a 1st system constitution information file No storage means 12 and the system power supply is turned on. Then a file No stored in a 2nd system constitution information file No. storage means 6 is written into the means 12 in an OFF state of the system power supply. Thus the system constitution defined after the next ON state of the system power supply can be changed even in a system operation state without affecting the present system. Furthermore the file obtained before the change of the system constitution information is available until the system power supply is turned off even after the change of the system constitution information. Thus it is possible to ensure the power supply control coincident with the system constitution.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は電源制御装置に関し、特に外部記憶部に記憶さ
れたシステム構成情報にもとずいてシステムの電源の切
断あるいは投入を制御する電源制御装置に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a power supply control device, and more particularly to a power supply control device that controls turning off or turning on the power of a system based on system configuration information stored in an external storage unit. Regarding equipment.

〔従来の技術〕[Conventional technology]

従来、この種の電源制御装置は、通常、システムの構成
情報にもとずいて電源制御を行っている。しかもそのシ
ステムの構成情報は外部記憶部に記憶されているが、−
個のシステム構成情報ファイルしかないのが一般的であ
った。
Conventionally, this type of power supply control device usually performs power supply control based on system configuration information. Moreover, the configuration information of the system is stored in the external storage unit, but -
Generally, there were only one system configuration information file.

しかし、近年は、電源制御対象となるシステム構成が変
更となった場合に、電源制御装置のシステム構成情報の
変更のためシステムを一旦停止した状態で外部記憶部内
のシステム構成情報を変更し、その後システムの再立上
げを行わなければならない問題があり、システムの構成
情報ファイルを複数持たせることによりシステム運用中
においてもシステムの構成変更を可能とし、変更を行っ
たシステム構成情報ファイルの番号を外部記憶部内に記
憶しておき、次回のシステム立上げ時に記憶された番号
のファイルにより電源制御を行わせ、システム構成変更
時のシステム停止時間を短縮するようになってきている
However, in recent years, when the system configuration subject to power control changes, the system configuration information in the external storage unit is changed while the system is temporarily stopped in order to change the system configuration information of the power control device. There is a problem in which the system must be restarted, so by having multiple system configuration information files, it is possible to change the system configuration even during system operation, and the number of the system configuration information file that has been changed can be exported. These numbers are stored in a storage unit, and power supply control is performed using a file with the stored number the next time the system is started up, thereby reducing system stoppage time when the system configuration is changed.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来の電源制御装置では、システムの構成変更
を行う場合、システムの構成変更前に予めファイル上の
システム構成情報を変更しておくのが一般的である。
In the conventional power supply control device described above, when changing the system configuration, it is common to change the system configuration information on a file in advance before changing the system configuration.

しかし、システム構成情報変更後、運用上の理由により
システムを停止させる必要があると、システム立上げ時
にシステムの構成変更を行っていないにもかかわらず、
変更後のシステム構成情報ファイルで電源制御が行われ
てしまうという欠点を有していた。
However, if the system needs to be stopped for operational reasons after changing the system configuration information, the
This has the disadvantage that power control is performed using the system configuration information file after the change.

本発明の目的は、常にシステム構成に合致した電源制御
が可能な電源制御装置を提供することにある。
An object of the present invention is to provide a power supply control device that can always perform power supply control that matches the system configuration.

〔課題を解決するための手段〕[Means to solve the problem]

本発明の電源制御装置は、システム構成情報を記憶する
第一及び第二のシステム構成情報ファイルと、現在運用
に使用しているシステム構成情報ファイルの番号を記憶
する第一のシステム構成情報ファイル番号記憶手段とを
有する外部記憶部を備え、前記外部記憶部に記憶された
システム構成情報にもとずいてシステムの電源の切断あ
るいは投入を制御する電源制御装置において、次回のシ
ステム電源投入時に使用するシステム構成情報ファイル
番号を記憶する第二のシステム構成情報ファイル番号記
憶手段と、システム構成情報の作成後、前記外部記憶部
内のいずれかのシステム構成情報ファイルに書込むと同
時に書込んだシステム構成情報ファイルの番号を前記第
二のシステム構成情報ファイル番号記憶手段に書込むシ
ステム構成情報作成手段とを設け、 システム電源投入時に前記第一のシステム構成情報ファ
イル番号記憶手段に記憶されたシステム構成情報を読出
しシステムの電源投入を行い、システム電源切断時に前
記第二のシステム構成情報ファイル番号記憶手段に記憶
されたファイル番号を前記第一のシステム構成情報ファ
イル番号記憶手段に書込む構成である。
The power supply control device of the present invention includes first and second system configuration information files that store system configuration information, and a first system configuration information file number that stores the number of the system configuration information file currently used for operation. In a power control device that includes an external storage section having a storage means and controls turning off or turning on a system based on system configuration information stored in the external storage section, the power control device is used when the system is powered on next time. a second system configuration information file number storage means for storing a system configuration information file number; and system configuration information written at the same time as being written to any of the system configuration information files in the external storage unit after the system configuration information is created. system configuration information creation means for writing a file number into the second system configuration information file number storage means, and the system configuration information stored in the first system configuration information file number storage means when the system is powered on. The reading system is configured to turn on the power and write the file number stored in the second system configuration information file number storage means into the first system configuration information file number storage means when the system power is turned off.

〔実施例〕〔Example〕

次に、本発明の実施例について図面を参照して説明する
Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明の電源制御装置の一実施例を示す構成図
、第2図はシステム構成情報作成時の処理を示すフロー
図、第3図はシステム電源切断時の処理を示すフロー図
、第4図はシステム電源投入時の処理を示すフロー図(
以後システム構成情報をSG情報、システム構成情報フ
ァイルをSGファイル、システム構成情報作成手段をS
Gユーティリティと呼ぶ)である。
FIG. 1 is a configuration diagram showing an embodiment of the power supply control device of the present invention, FIG. 2 is a flow chart showing processing when creating system configuration information, and FIG. 3 is a flow chart showing processing when system power is turned off. Figure 4 is a flow diagram showing the processing when the system power is turned on (
From now on, the system configuration information will be referred to as SG information, the system configuration information file will be referred to as SG file, and the system configuration information creation means will be referred to as S.
G utility).

本実施例における電源制御装置は第1図にて示されるよ
うに電源制御部と外部記憶部とを備える。電源制御部は
制御部1と、システム電源投入部2と、システム電源切
断部3と、外部記憶部のSGファイルがら読込んたSG
情報4と、SG情報を作成変更するSGユーティリティ
5と、次回のSGファイル番号を記憶する第二のSGフ
ァイル番号記憶手段6とを備える。外部記憶部は、現在
運用中のSGファイル番号を記憶する第一のSG番号記
憶手段12と、第一のSGファイル1゜と、第二のSG
ファイル11とを備える。
The power supply control device in this embodiment includes a power supply control section and an external storage section, as shown in FIG. The power control unit includes a control unit 1, a system power-on unit 2, a system power-off unit 3, and an SG read from the SG file in the external storage unit.
information 4, an SG utility 5 for creating and changing SG information, and a second SG file number storage means 6 for storing the next SG file number. The external storage unit includes a first SG number storage unit 12 that stores the SG file number currently in operation, a first SG file 1°, and a second SG file number.
The file 11 is also provided.

第2図において、SGユーティリティは、SG情報の作
成処理21と、SG情報を現在使用中でないSGファイ
ルに書込む処理22と、書込んだSGファイルの番号を
第二のSGファイル記憶手段に記憶する処理23とから
なっている。
In FIG. 2, the SG utility includes a process 21 for creating SG information, a process 22 for writing SG information into an SG file that is not currently in use, and storing the number of the written SG file in a second SG file storage means. It consists of processing 23.

第3図において、システム電源切断時の処理は、次回の
SGファイル指定有りかどうかの判別処理31と、次回
のSGファイル番号を第一のSGファイル番号記憶手段
に書込む処理32とからなっている。
In FIG. 3, the process when the system power is turned off consists of a process 31 for determining whether the next SG file has been specified, and a process 32 for writing the next SG file number into the first SG file number storage means. There is.

第4図において、システム電源投入時の処理は、現在の
SGファイル番号を第一のSGファイル番号記憶手段か
ら読取る処理41と、読取ったSGファイル番号のSG
ファイルからSG情報を読取る処理42とからなってい
る。
In FIG. 4, the process when the system power is turned on includes a process 41 of reading the current SG file number from the first SG file number storage means, and a process 41 of reading the SG file number of the read SG file number.
It consists of a process 42 of reading SG information from a file.

次に、本実施例の動作について説明する。第一のSGフ
ァイル番号記憶手段12には第一のSGファイル10を
示す“′1“°あるいは第二のSGファイル11を示す
2′°のいずれかが書込まれる。また、第二のSGファ
イル番号記憶手段6にはシステム運用中に構成変更がな
いことを示す” o ”あるいは第一あるいは第二のS
Gファイルを示す°゛1″あるいは“2”の値が書込ま
れ、初期値としては“0″が設定される。
Next, the operation of this embodiment will be explained. In the first SG file number storage means 12, either "'1"° indicating the first SG file 10 or 2'° indicating the second SG file 11 is written. In addition, the second SG file number storage means 6 contains "o" indicating that there is no configuration change during system operation, or the first or second S
A value of "1" or "2" indicating the G file is written, and "0" is set as the initial value.

ここで電源制御装置は第一のSGファイル10をSG情
報4に読取って電源制御を行っていたとし、システムの
変更があった場合を説明する。
Here, it is assumed that the power supply control device reads the first SG file 10 as SG information 4 and performs power supply control, and a case will be described in which there is a change in the system.

システムの構成変更が必要となると第2図にて示される
SGユーティリティにより処理21にてSG情報が作成
され、処理22にて第一のSGファイル番号記憶手段で
指定されるSGファイル以外のSGファイルにSG情報
を書込む。ここでは、第一のSGファイル番号記憶手段
12には“1パが書込まれておりSG情報は第二のSG
ファイル11に書込まれる。
When it is necessary to change the system configuration, SG information is created in process 21 by the SG utility shown in FIG. Write SG information to. Here, "1 pa" is written in the first SG file number storage means 12, and the SG information is stored in the second SG file number storage means 12.
Written to file 11.

それと同時に第二のSGファイル11に書込んだことを
示す“2″という情報を第二のSGファイル番号記憶手
段6に書込んでおく。
At the same time, information "2" indicating that the data has been written to the second SG file 11 is written in the second SG file number storage means 6.

本実施例では、SGファイルは2つ存在しており現在使
用中のSGファイルを変更するわけではないのでシステ
ム構成変更はシステムの運用中に実施可能である。
In this embodiment, there are two SG files, and since the currently used SG file is not changed, the system configuration can be changed while the system is in operation.

その後、システムの運用が終了しシステムの電源を切断
するが、システム電源切断時は第3図にて示される電源
切断処理にて実施される。まず、次回のSGファイルを
変更する必要があるかを処理31にて第二のSGファイ
ル番号記憶手段6の値にて判別する。値が°°O′°で
あれば次回のSGファイルは現在使用中、この場合には
、第一のSGファイル10を使用することを示し、“1
パであれば次回のSGファイルは第一のSGファイルを
使用することを示し、2°°であれば次回のSGファイ
ルは第二のSGファイル11を使用することを示す。前
述のように値は“2″が記憶されており、次回の立上げ
は第二のSGファイル11を使用することを示すことに
なり、処理32にてそのSGファイル番号を第一のSG
ファイル番号記憶手段12に書込んでおき、その後シス
テムの電源を切断する。
Thereafter, the operation of the system is completed and the power to the system is turned off. When the system power is turned off, the power cut-off process shown in FIG. 3 is executed. First, in process 31, it is determined based on the value of the second SG file number storage means 6 whether the next SG file needs to be changed. If the value is °°O'°, the next SG file is currently in use, and in this case, the first SG file 10 is used, and the value is "1".
If it is 2°, it means that the next SG file will use the first SG file, and if it is 2°, it means that the next SG file will use the second SG file 11. As mentioned above, the value "2" is stored, indicating that the second SG file 11 will be used for the next startup, and in process 32 the SG file number is transferred to the first SG file 11.
The file number is written in the file number storage means 12, and then the power of the system is turned off.

システム電源投入は第4図に示す処理にて実施される。The system power is turned on by the process shown in FIG.

システム電源投入時は処理41にて今回使用するSGフ
ァイルを第一のSGファイル番号記憶手段12から読出
し、処理42にて読取ったSGファイル番号のSGファ
イルからSG情報をSG情報4に読込む。ここでは、第
一のSGファイル番号記憶手段には2′°の値か記憶さ
れており、第二のSGファイル11を用いてシステムの
電源を投入することになる。
When the system power is turned on, the SG file to be used this time is read from the first SG file number storage means 12 in process 41, and SG information is read into the SG information 4 from the SG file with the read SG file number in process 42. Here, a value of 2'° is stored in the first SG file number storage means, and the system is powered on using the second SG file 11.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、外部記憶部にシステム構
成情報を記憶する第一と第二のシステム構成情報ファイ
ルと、現在運用に使用しているシステム構成情報ファイ
ルの番号を記憶する第一のシステム構成情報ファイル番
号記憶手段を設け、電源制御部に次回のシステム電源投
入時に使用するシステム構成情報ファイル番号を記憶す
る第二のシステム構成情報ファイル番号記憶手段と、シ
ステム構成情報を作成後、外部記憶装置内の何れかのシ
ステム構成情報ファイルに書込むと同時に書込んだシス
テム構成情報ファイルの番号を第二のシステム構成情報
ファイル番号記憶手段に書込むシステム構成情報作成手
段を設け、システム電源投入時に第一のシステム構成情
報ファイル番号記憶手段に記憶されたシステム構成情報
を読出しシステムの電源投入を行い、システム電源切断
時に第二のシステム構成情報ファイル番号記憶手段に記
憶されたファイル番号を第一のシステム構成情報ファイ
ル番号記憶手段に書込むことにより、システムの運用中
に次回のシステム電源投入後のシステム構成を現在のシ
ステムに影響なく変更でき、しかもシステムの構成情報
変更後であってもシステム電源を切断するまでは、シス
テムの構成情報変更前のファイルが用いられるため、シ
ステム構成に合致した電源制御が可能となるという効果
を有する。
As explained above, the present invention provides first and second system configuration information files that store system configuration information in an external storage unit, and a first system configuration information file that stores the number of the system configuration information file currently being used for operation. A system configuration information file number storage means is provided, and a second system configuration information file number storage means is provided for storing the system configuration information file number to be used at the next power-on of the system in the power control unit, and after the system configuration information is created, an external System configuration information creation means is provided for writing the number of the written system configuration information file into a second system configuration information file number storage means at the same time as writing to any system configuration information file in the storage device, and the system power is turned on. When powering on the system, the system configuration information stored in the first system configuration information file number storage means is read out, and when the system power is turned off, the file number stored in the second system configuration information file number storage means is read out from the first system configuration information file number storage means. By writing to the system configuration information file number storage means, the system configuration after the next system power-on can be changed during system operation without affecting the current system, and even after the system configuration information has been changed, the system configuration can be changed. Since the file before the system configuration information is changed is used until the power is turned off, it is possible to perform power control that matches the system configuration.

手段、10・・第一のSGファイル、]1・・第二のS
Gファイル、12・・・第一のSGファイル番号記憶手
段、21,22.23・・・SGユーティリティ処理、
31.32・・・電源切断処理、41.42・・電源投
入処理。
Means, 10...First SG file, ]1... Second S
G file, 12... first SG file number storage means, 21, 22.23... SG utility processing,
31.32... Power-off processing, 41.42... Power-on processing.

Claims (1)

【特許請求の範囲】 システム構成情報を記憶する第一及び第二のシステム構
成情報ファイルと、現在運用に使用しているシステム構
成情報ファイルの番号を記憶する第一のシステム構成情
報ファイル番号記憶手段とを有する外部記憶部を備え、
前記外部記憶部に記憶されたシステム構成情報にもとず
いてシステムの電源の切断あるいは投入を制御する電源
制御装置において、 次回のシステム電源投入時に使用するシステム構成情報
ファイル番号を記憶する第二のシステム構成情報ファイ
ル番号記憶手段と、システム構成情報の作成後、前記外
部記憶部内のいずれかのシステム構成情報ファイルに書
込むと同時に書込んだシステム構成情報ファイルの番号
を前記第二のシステム構成情報ファイル番号記憶手段に
書込むシステム構成情報作成手段とを設け、 システム電源投入時に前記第一のシステム構成情報ファ
イル番号記憶手段に記憶されたシステム構成情報を読出
しシステムの電源投入を行い、システム電源切断時に前
記第二のシステム構成情報ファイル番号記憶手段に記憶
されたファイル番号を前記第一のシステム構成情報ファ
イル番号記憶手段に書込むことを特徴とする電源制御装
置。
[Scope of Claims] First and second system configuration information files that store system configuration information, and first system configuration information file number storage means that stores the number of the system configuration information file currently in use. an external storage unit having
In the power control device that controls turning off or turning on the power of the system based on the system configuration information stored in the external storage unit, a second system configuration information file number that stores a system configuration information file number to be used when the system is powered on next time. a system configuration information file number storage means; after the system configuration information is created, the number of the system configuration information file written at the same time as being written to any of the system configuration information files in the external storage section; system configuration information creation means for writing into the file number storage means; when the system power is turned on, the system configuration information stored in the first system configuration information file number storage means is read out, the system is powered on, and the system power is turned off. A power supply control device characterized in that the file number stored in the second system configuration information file number storage means is written into the first system configuration information file number storage means.
JP2222964A 1990-08-24 1990-08-24 Power controller Pending JPH04105110A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2222964A JPH04105110A (en) 1990-08-24 1990-08-24 Power controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2222964A JPH04105110A (en) 1990-08-24 1990-08-24 Power controller

Publications (1)

Publication Number Publication Date
JPH04105110A true JPH04105110A (en) 1992-04-07

Family

ID=16790646

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2222964A Pending JPH04105110A (en) 1990-08-24 1990-08-24 Power controller

Country Status (1)

Country Link
JP (1) JPH04105110A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006239765A (en) * 2005-03-07 2006-09-14 Honda Motor Co Ltd Laser beam machining method for interior material
JP2007079881A (en) * 2005-09-14 2007-03-29 Nec Corp Power source supply system, portable apparatus, and method of controlling power-on sequence used for them
JP2008016577A (en) * 2006-07-05 2008-01-24 Disco Abrasive Syst Ltd Laser processing method for wafer

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006239765A (en) * 2005-03-07 2006-09-14 Honda Motor Co Ltd Laser beam machining method for interior material
JP2007079881A (en) * 2005-09-14 2007-03-29 Nec Corp Power source supply system, portable apparatus, and method of controlling power-on sequence used for them
JP4581933B2 (en) * 2005-09-14 2010-11-17 日本電気株式会社 Power supply system, portable device, and power-on sequence control method used therefor
JP2008016577A (en) * 2006-07-05 2008-01-24 Disco Abrasive Syst Ltd Laser processing method for wafer

Similar Documents

Publication Publication Date Title
JPH04105110A (en) Power controller
US7107407B2 (en) Arithmetic unit with reduced startup time and method of loading data
JPH0496122A (en) Information processor
JPS62269256A (en) Data storage system for semiconductor file
JPS6329861A (en) Ipl control system
JPH0833838B2 (en) Computer system
JPH04251313A (en) Power supply controller
JP2000267707A (en) Sequence controller, maintenance method for maintenance area in the same device, and recording medium for storing computer program for executing the same method
JPH01180620A (en) Disk controller
JPH02235133A (en) Semiconductor disk device
JPH06168079A (en) Data backup system
JPH02128260A (en) Memory data check method when power is turned on/off
JPS61255440A (en) Program interruption control system
JPH07122044A (en) Magnetic recording and reproducing device
JPS6349952A (en) Memory control system
JPH02231658A (en) Data file processing system
JPH04102941A (en) Microprocessor system
JPH0527922A (en) Disk controller
JPS63298654A (en) Microcomputer
JPH04167015A (en) Computer system
JP2002149262A (en) Program executing method
JPH04105157A (en) Changing system for set parameter value of system command
JPH04205528A (en) Back-up memory controller
JPH04160636A (en) Driving information loading control system
JPH0619767A (en) Magnetic disk device with file restoration function