JP2006065711A - Electronic equipment, starting-up method for electronic equipment, and starting method for application program - Google Patents

Electronic equipment, starting-up method for electronic equipment, and starting method for application program Download PDF

Info

Publication number
JP2006065711A
JP2006065711A JP2004249484A JP2004249484A JP2006065711A JP 2006065711 A JP2006065711 A JP 2006065711A JP 2004249484 A JP2004249484 A JP 2004249484A JP 2004249484 A JP2004249484 A JP 2004249484A JP 2006065711 A JP2006065711 A JP 2006065711A
Authority
JP
Japan
Prior art keywords
program
application program
electronic device
storage unit
sum value
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
JP2004249484A
Other languages
Japanese (ja)
Inventor
Masaaki Bigo
晶安己 尾後
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Electric 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 Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP2004249484A priority Critical patent/JP2006065711A/en
Publication of JP2006065711A publication Critical patent/JP2006065711A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To start up electronic equipment or an application program only by a specified user. <P>SOLUTION: This electronic equipment is provided with a program execution storage part 3, a plurality of storage parts 5, 6 for storing respectively system programs or application programs divided into a plurality, and a boot loader for copying the system programs or application programs stored in the plurality of storage parts into the program execution storage part, when starting the electronic equipment, and at least one out of the plurality of storage parts is detachably attached to the electronic equipment. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、システムプログラムに従って動作する電子機器、電子機器の起動方法および電子機器上でオペレーティングシステムが動作し、このオペレーティングシステム上で動作するアプリケーションプログラムの起動方法に関し、詳しくは、特定のユーザのみが電子機器またはアプリケーションプログラムの起動を行なえる電子機器、電子機器の起動方法およびアプリケーションプログラムの起動方法に関するものである。   The present invention relates to an electronic device that operates in accordance with a system program, an electronic device activation method, and an operating system that operates on the electronic device, and more specifically, only a specific user can operate the application program that operates on the operating system. The present invention relates to an electronic device that can start an electronic device or an application program, a method for starting an electronic device, and a method for starting an application program.

測定装置、組み込み機器、コンピュータ等の電子機器は、システムプログラムに従って動作するが、起動時は、まずブートローダと呼ばれる起動用のプログラムを実行し、続いてシステムプログラムを実行する(例えば、特許文献1、特許文献2参照)。なお、システムプログラムとは、電子機器用オペレーティングシステム(以下、OS(Operating System)と略す)とOS上で動作するアプリケーションプログラムとを組み合わせたものや、単一のプログラムの場合もある。   Electronic devices such as measurement devices, embedded devices, and computers operate according to a system program. At the time of startup, first, a startup program called a boot loader is executed, and then the system program is executed (for example, Patent Document 1, Patent Document 2). The system program may be a combination of an electronic device operating system (hereinafter abbreviated as OS (Operating System)) and an application program operating on the OS, or a single program.

図4は、従来の電子機器の構成を示した図である。図4において、ROM(Read Only Memory)1は、ブートローダと呼ばれる起動用のプログラム、システムプログラムを保存する。   FIG. 4 is a diagram illustrating a configuration of a conventional electronic device. In FIG. 4, a ROM (Read Only Memory) 1 stores a boot program called a boot loader and a system program.

CPU2は、電子機器全体を制御する。メインメモリ3は、ROM1のプログラムがコピーされる。外部記憶メディア4は、例えば、外付けタイプのハードディスク、フロッピー(登録商標)ディスク、CD(Compact Disc)、MO(magneto-optic)、USB(Universal Serial Bus)メモリ等であり、電子機器に自由に取り付け、取り外しが行なえる。また、ROM1、CPU2、メインメモリ3、外部記憶メディア4は、バスで相互に接続される。   The CPU 2 controls the entire electronic device. In the main memory 3, the program in the ROM 1 is copied. The external storage medium 4 is, for example, an external hard disk, floppy (registered trademark) disk, CD (Compact Disc), MO (magneto-optic), USB (Universal Serial Bus) memory, etc. Can be installed and removed. The ROM 1, the CPU 2, the main memory 3, and the external storage medium 4 are connected to each other via a bus.

このような装置の動作を説明する。
電子機器の主電源がオンされた起動時にCPU2が、ROM1に格納されたブートローダを最初に実行する。そして、ブートローダが、ROM1のシステムプログラムを、メインメモリ3にコピーする。さらに、CPU2が、メインメモリ3にコピーされたシステムプログラムを実行し、このシステムプログラムに従って電子機器を動作させる。
The operation of such an apparatus will be described.
When the main power source of the electronic device is turned on, the CPU 2 first executes the boot loader stored in the ROM 1. Then, the boot loader copies the system program in the ROM 1 to the main memory 3. Further, the CPU 2 executes a system program copied to the main memory 3 and operates the electronic device according to the system program.

特許第2872008号公報(段落番号0003、第2図)Japanese Patent No. 2872008 (paragraph number 0003, FIG. 2) 特開2001−142744号公報(段落番号0002)JP 2001-142744 A (paragraph number 0002)

このように機器を起動さえすれば、ブートローダによってシステムプログラムがメインメモリ3にコピーされ、機器が動作する。従って、特定のユーザにのみ機器の起動を許可するということが難しいという問題があった。   As long as the device is activated in this way, the system program is copied to the main memory 3 by the boot loader, and the device operates. Therefore, there is a problem that it is difficult to allow only a specific user to start the device.

そのため特定のユーザにのみ機器を起動させるものとして、外部記憶メディア4に暗証番号を登録しておく方法がある。そして、機器の起動時にブートローダが外部記憶メディア4の暗証番号を確認し、暗証番号があっていればシステムプログラムをメインメモリ3にコピーする。しかしながら、暗証番号は固定長のことが多く、第3者に解読される可能性があるという問題があった。   For this reason, there is a method of registering a personal identification number in the external storage medium 4 as a device that activates only a specific user. Then, the boot loader confirms the personal identification number of the external storage medium 4 when the device is activated, and copies the system program to the main memory 3 if the personal identification number is present. However, there is a problem that the personal identification number is often a fixed length and may be deciphered by a third party.

そこで本発明の目的は、特定のユーザのみが電子機器またはアプリケーションプログラムの起動を行なえる電子機器、電子機器の起動方法およびアプリケーションプログラムの起動方法を実現することにある。   SUMMARY OF THE INVENTION An object of the present invention is to realize an electronic device, an electronic device activation method, and an application program activation method in which only a specific user can activate an electronic device or an application program.

請求項1記載の発明は、
システムプログラムに従って動作する電子機器において、
プログラム実行用記憶部と、
複数に分割された前記システムプログラムのそれぞれを記憶する複数の記憶部と、
電子機器の起動時に、前記複数の記憶部に記憶されるシステムプログラムを前記プログラム実行用記憶部にコピーするブートローダと
を設け、前記複数の記憶部のうち少なくとも1個は、電子機器に着脱自在であることを特徴とするものである。
請求項2記載の発明は、
分割される前の前記システムプログラムのサム値を記憶するサム値記憶部を設け、
ブートローダは、前記プログラム実行用記憶部にコピーした後のシステムプログラムのサム値と前記サム値記憶部のサム値とを比較することを特徴とするものである。
The invention according to claim 1
In an electronic device that operates according to a system program,
A storage unit for program execution;
A plurality of storage units for storing each of the system programs divided into a plurality;
A boot loader that copies a system program stored in the plurality of storage units to the program execution storage unit when the electronic device is activated, and at least one of the plurality of storage units is detachable from the electronic device; It is characterized by being.
The invention according to claim 2
A sum value storage unit for storing the sum value of the system program before being divided is provided,
The boot loader compares the sum value of the system program after being copied to the program execution storage unit with the sum value of the sum value storage unit.

請求項3記載の発明は、
オペレーティングシステムが動作し、このオペレーティングシステム上で動作するアプリケーションプログラムを実行する電子機器において、
プログラム実行用記憶部と、
複数に分割された前記アプリケーションプログラムのそれぞれを記憶する複数の記憶部と、
前記アプリケーションプログラムの起動時に、前記複数の記憶部に記憶されるアプリケーションプログラムを前記プログラム実行用記憶部にコピーするアプリケーションプログラム起動手段と
を設け、前記複数の記憶部のうち少なくとも1個は、電子機器に着脱自在であることを特徴とするものである。
請求項4記載の発明は、請求項3記載の発明において、
分割される前の前記アプリケーションプログラムのサム値を記憶するサム値記憶部を設け、
アプリケーションプログラム起動手段は、前記プログラム実行用記憶部にコピーした後のアプリケーションプログラムのサム値と前記サム値記憶部のサム値とを比較することを特徴とするものである。
The invention described in claim 3
In an electronic device that runs an operating system and executes an application program that runs on the operating system,
A storage unit for program execution;
A plurality of storage units for storing each of the application programs divided into a plurality of parts;
Application program starting means for copying the application program stored in the plurality of storage units to the program execution storage unit when starting the application program is provided, and at least one of the plurality of storage units is an electronic device It is characterized by being detachable.
The invention according to claim 4 is the invention according to claim 3,
A sum value storage unit for storing the sum value of the application program before being divided is provided,
The application program starting means compares the sum value of the application program after being copied to the program execution storage unit with the sum value of the sum value storage unit.

請求項5記載の発明は、請求項1〜4のいずれかに記載の発明において、
プログラム実行用記憶部は、電子機器に着脱自在であることを特徴とするものである。
請求項6記載の発明は、請求項1〜4のいずれかに記載の発明において、
プログラム実行用記憶部は、前記複数の記憶部のうちのいずれかと共通であることを特徴とするものである。
請求項7記載の発明は、請求項2または4記載の発明において、
サム値記憶部は、前記複数の記憶部のうちのいずれかと共通であることを特徴とするものである。
The invention according to claim 5 is the invention according to any one of claims 1 to 4,
The program execution storage unit is detachable from the electronic device.
The invention according to claim 6 is the invention according to any one of claims 1 to 4,
The program execution storage unit is common to any one of the plurality of storage units.
The invention according to claim 7 is the invention according to claim 2 or 4,
The sum value storage unit is common to any one of the plurality of storage units.

請求項8記載の発明は、
システムプログラムに従って動作する電子機器の起動方法において、
前記システムプログラムを複数に分割して複数の記憶部に記憶させるステップと、
電子機器の起動時にブートローダが、前記複数の記憶部に記憶されるシステムプログラムをプログラム実行用記憶部にコピーするステップと、
を設け、前記複数の記憶部のうち少なくとも1個は、電子機器に着脱自在であることを特徴とするものである。
The invention described in claim 8
In a method for starting an electronic device that operates according to a system program,
Dividing the system program into a plurality of parts and storing them in a plurality of storage units;
A boot loader that copies a system program stored in the plurality of storage units to a program execution storage unit when the electronic device is activated;
And at least one of the plurality of storage units is detachable from the electronic device.

請求項9記載の発明は、
電子機器上でオペレーティングシステムが動作し、このオペレーティングシステム上で動作するアプリケーションプログラムの起動方法において、
前記アプリケーションプログラムを複数に分割して複数の記憶部に記憶させるステップと、
前記アプリケーションプログラムの起動時にアプリケーションプログラム起動手段が、前記複数の記憶部に記憶されるアプリケーションプログラムをプログラム実行用記憶部にコピーするステップと
を設け、前記複数の記憶部のうち少なくとも1個は、電子機器に着脱自在であることを特徴とするものである。
The invention according to claim 9
An operating system operates on an electronic device, and in a method of starting an application program that operates on the operating system,
Dividing the application program into a plurality of parts and storing them in a plurality of storage units;
A step of copying an application program stored in the plurality of storage units to a program execution storage unit when starting the application program, wherein at least one of the plurality of storage units is an electronic It is characterized by being detachable from the device.

本発明によれば、以下のような効果がある。
請求項1、2、5〜7によれば、ブートローダが、複数の記憶部に記憶されるシステムプログラムを、プログラム実行用記憶部にコピーする。これにより、システムプログラムが記憶された着脱可能な記憶部を持つ特定のユーザのみが電子機器の起動を行なえる。また、着脱可能な記憶部に保存されるシステムプログラムは一部分なので、プログラムを解読される可能性はきわめて低い。
The present invention has the following effects.
According to the first, second, and fifth to seventh aspects, the boot loader copies the system program stored in the plurality of storage units to the program execution storage unit. Thereby, only a specific user having a removable storage unit in which the system program is stored can activate the electronic device. Further, since the system program stored in the removable storage unit is a part, the possibility of the program being decoded is extremely low.

請求項2によれば、ブートローダが、プログラム実行用記憶部にコピーした後のシステムプログラムのサム値と、分割前のシステムプログラムのサム値とを比較し、合っていれば電子機器を起動する。これにより、コピーが失敗したシステムプログラムや、第3者によって改ざんされたシステムプログラムによって電子機器が動作することがない。   According to the second aspect, the boot loader compares the sum value of the system program after being copied to the program execution storage unit and the sum value of the system program before the division, and activates the electronic device if they match. As a result, the electronic device is not operated by a system program in which copying has failed or a system program altered by a third party.

請求項3〜7によれば、アプリケーションプログラム起動手段が、複数の記憶部に記憶されるアプリケーションプログラムを、プログラム実行用記憶部にコピーする。これにより、アプリケーションプログラムが記憶された着脱可能な記憶部を持つ特定のユーザのみがアプリケーションプログラムの起動を行なえる。また、着脱可能な記憶部に保存されるアプリケーションプログラムは一部分なので、プログラムのデータを解読される可能性はきわめて低い。   According to the third to seventh aspects, the application program starting unit copies the application program stored in the plurality of storage units to the program execution storage unit. Thereby, only a specific user having a removable storage unit storing the application program can start the application program. In addition, since the application program stored in the removable storage unit is a part, the possibility of decoding the program data is extremely low.

請求項4によれば、アプリケーションプログラム起動手段が、プログラム実行用記憶部
にコピーした後のアプリケーションプログラムのサム値と、分割前のアプリケーションプログラムのサム値とを比較し、合っていればアプリケーションプログラムを起動する。これにより、コピーが失敗したアプリケーションプログラムや、第3者によって改ざんされたアプリケーションプログラムが動作することがない。
According to claim 4, the application program starting means compares the sum value of the application program after being copied to the program execution storage unit and the sum value of the application program before the division. to start. As a result, an application program that has failed to be copied or an application program that has been tampered with by a third party does not operate.

請求項8によれば、システムプログラムが複数に分割され、各記憶部にばらばらに記憶される。そして、ブートローダが、複数の記憶部に記憶されるシステムプログラムを、プログラム実行用記憶部にコピーする。これにより、システムプログラムが記憶された着脱可能な記憶部を持つ特定のユーザのみが電子機器の起動を行なえる。また、着脱可能な記憶部に保存されるシステムプログラムは一部分なので、プログラムを解読される可能性はきわめて低い。   According to the eighth aspect of the present invention, the system program is divided into a plurality of parts and stored separately in each storage unit. Then, the boot loader copies the system program stored in the plurality of storage units to the program execution storage unit. Thereby, only a specific user having a removable storage unit in which the system program is stored can activate the electronic device. Further, since the system program stored in the removable storage unit is a part, the possibility of the program being decoded is extremely low.

請求項9によれば、アプリケーションプログラムが複数に分割され、各記憶部にばらばらに記憶される。アプリケーションプログラム起動手段が、複数の記憶部に記憶されるアプリケーションプログラムを、プログラム実行用記憶部にコピーする。これにより、アプリケーションプログラムが記憶された着脱可能な記憶部を持つ特定のユーザのみがアプリケーションプログラムの起動を行なえる。また、着脱可能な記憶部に保存されるアプリケーションプログラムは一部分なので、プログラムのデータを解読される可能性はきわめて低い。   According to the ninth aspect of the present invention, the application program is divided into a plurality of parts and stored separately in each storage unit. The application program starting unit copies the application program stored in the plurality of storage units to the program execution storage unit. Thereby, only a specific user having a removable storage unit storing the application program can start the application program. In addition, since the application program stored in the removable storage unit is a part, the possibility of decoding the program data is extremely low.

以下図面を用いて本発明の実施の形態を説明する。
[第1の実施例]
図1は、本発明の第1の実施例を示す構成図である。ここで、図4と同一のものは同一符号を付し、説明を省略する。図1において、ROM1の代わりにROM5が設けられる。また、外部記憶メディア4の代わりに外部記憶メディア6が設けられる。外部記憶メディア6は、記憶部であり、システムプログラムの一部、例えば、プログラムの先頭から任意のサイズのデータを記憶している。
Embodiments of the present invention will be described below with reference to the drawings.
[First embodiment]
FIG. 1 is a block diagram showing a first embodiment of the present invention. Here, the same components as those in FIG. In FIG. 1, a ROM 5 is provided instead of the ROM 1. An external storage medium 6 is provided instead of the external storage medium 4. The external storage medium 6 is a storage unit, and stores a part of the system program, for example, data of an arbitrary size from the top of the program.

ROM5は、記憶部であり、例えば、フラッシュメモリやEEPROM(Electronically Erasable and Programmable Read Only Memory)等の電気的に書き換えが可能な不揮発性のメモリである。また、ROM5は、ブートローダ、システムプログラムの残りのデータ(外部記憶メディア6に保存したプログラムの続きのデータ)を記憶する。なお、メインメモリ3は、プログラム実行用記憶部である。   The ROM 5 is a storage unit, and is, for example, an electrically rewritable nonvolatile memory such as a flash memory or an EEPROM (Electronically Erasable and Programmable Read Only Memory). Further, the ROM 5 stores the remaining data of the boot loader and the system program (data subsequent to the program stored in the external storage medium 6). The main memory 3 is a program execution storage unit.

このような装置の動作を説明する。また、図2は、図1に示す装置の動作を説明したフローチャートである。あらかじめ、システムプログラムを分割し、外部記憶メディア6にシステムプログラムの一部を記憶し、ROM5にその他のシステムプログラムを記憶しておく。   The operation of such an apparatus will be described. FIG. 2 is a flowchart for explaining the operation of the apparatus shown in FIG. The system program is divided in advance, a part of the system program is stored in the external storage medium 6, and other system programs are stored in the ROM 5.

機器の起動時にCPU2が、ROM5上のブートローダを実行する(S11)。そして、ブートローダが、まず、機器本体に外部記憶メディア6が接続されているかを確認し、接続されていればシステムプログラムが記憶されているかを確認する。接続されていないか、またはシステムプログラムが記憶されていなければ、ブートローダは、起動処理を停止する(S12)。   The CPU 2 executes the boot loader on the ROM 5 when the device is activated (S11). Then, the boot loader first checks whether the external storage medium 6 is connected to the device main body, and if it is connected, checks whether the system program is stored. If it is not connected or the system program is not stored, the boot loader stops the startup process (S12).

外部記憶メディア6が接続されシステムプログラムも記憶されていれば、ブートローダが、外部記憶メディア6に記憶されるシステムプログラムをメインメモリ3へコピーする(S12、S13)。   If the external storage medium 6 is connected and the system program is also stored, the boot loader copies the system program stored in the external storage medium 6 to the main memory 3 (S12, S13).

そして、ブートローダが、ROM5に記憶される残りのシステムプログラムを、外部記憶メディア6のシステムプログラムがコピーされたメインメモリ3へ追加コピーする(S14)。つまり、ステップS13、S14によって、外部記憶メディア6とROM5に分かれて記憶されていたシステムプログラムが、ひとつのシステムプログラムとしてメインメモリ3上にコピーされる。   Then, the boot loader additionally copies the remaining system program stored in the ROM 5 to the main memory 3 in which the system program in the external storage medium 6 is copied (S14). That is, the system program stored separately in the external storage medium 6 and the ROM 5 is copied onto the main memory 3 as one system program by steps S13 and S14.

さらに、CPU2が、メインメモリ3上のシステムプログラムを実行することで、電子機器が動作する。   Furthermore, the electronic device operates when the CPU 2 executes the system program on the main memory 3.

このように、電子機器本体に接続された外部記憶メディア6にシステムプログラムの一部が存在しなければ、ブートローダがメインメモリ3上にシステムプログラムをコピーせずに起動を停止するので、電子機器が起動されない。これにより、システムプログラムの一部が記憶された外部記憶メディア6を持つ特定のユーザのみが電子機器の起動を行なえる。また、外部記憶メディア6に保存されるシステムプログラムは一部分なので、プログラムのデータを解読される可能性はきわめて低い。さらに、システムプログラムやOSに依存しない。   As described above, if a part of the system program does not exist in the external storage medium 6 connected to the main body of the electronic device, the boot loader stops the start without copying the system program onto the main memory 3, so that the electronic device Does not start. Thereby, only a specific user having the external storage medium 6 in which a part of the system program is stored can start up the electronic device. Further, since the system program stored in the external storage medium 6 is a part, the possibility of decoding the program data is extremely low. Furthermore, it does not depend on the system program or OS.

[第2の実施例]
図3は、本発明の第2の実施例を示した構成図である。ここで、図1と同一のものには同一符号を付し、説明を省略する。図1に示す装置は、特定のユーザにのみ電子機器の起動を行なう例を説明したが、特定のユーザにのみアプリケーションプログラムを起動させる例を説明する。図3において、外部記憶メディア7、外部記憶メディア8が新たに設けられる。
[Second Embodiment]
FIG. 3 is a block diagram showing a second embodiment of the present invention. Here, the same components as those in FIG. In the apparatus shown in FIG. 1, an example in which an electronic device is activated only by a specific user has been described, but an example in which an application program is activated only by a specific user will be described. In FIG. 3, an external storage medium 7 and an external storage medium 8 are newly provided.

外部記憶メディア7は、アプリケーションプログラムの先頭から任意のサイズのデータを記憶している。外部記憶メディア8は、アプリケーションプログラムを起動するための起動用プログラムと、アプリケーションプログラムの残りのデータ(外部記憶メディア7に保存したプログラムの続きのデータ)を記憶する。   The external storage medium 7 stores data of an arbitrary size from the top of the application program. The external storage medium 8 stores a startup program for starting the application program and the remaining data of the application program (continuous data of the program stored in the external storage medium 7).

このような装置の動作を説明する。
あらかじめ、アプリケーションプログラムを分割し、外部記憶メディア7にアプリケーションプログラムの先頭データを記憶し、外部記憶メディア8に残りのデータを記憶しておく。
The operation of such an apparatus will be described.
The application program is divided in advance, the head data of the application program is stored in the external storage medium 7, and the remaining data is stored in the external storage medium 8.

そして、図1に示す装置のように電子機器が起動し、OSが動作する。そして、外部記憶メディア7、8に分割して記憶されたアプリケーションプログラムを、OS上から直接起動することはできないので、OS上からアプリケーション起動用プログラムを起動する。このアプリケーションプログラム起動手段(つまり、起動した起動用プログラム)が、分割したアプリケーションプログラムを結合し、メインメモリ3にコピーする。そして、CPU2によって、メインメモリ3上のアプリケーションプログラムが起動される。   Then, the electronic device is activated and the OS operates like the apparatus shown in FIG. Then, the application program stored separately in the external storage media 7 and 8 cannot be started directly from the OS, so the application starting program is started from the OS. This application program activation means (that is, the activated activation program) combines the divided application programs and copies them to the main memory 3. Then, the application program on the main memory 3 is activated by the CPU 2.

このように、アプリケーションプログラム起動手段が、電子機器本体に接続された外部記憶メディア7、8に記憶されるアプリケーションプログラムを、メインメモリ3上にコピーする。これにより、アプリケーションプログラムのそれぞれが記憶された外部記憶メディア7、8を持つ特定のユーザのみがアプリケーションプログラムの起動を行なえる。また、外部記憶メディア7、8に保存されるアプリケーションプログラムは一部分なので、プログラムのデータを解読される可能性はきわめて低い。さらに、アプリケーションプログラムやOSに依存しない。   As described above, the application program starting unit copies the application program stored in the external storage media 7 and 8 connected to the electronic device main body onto the main memory 3. Thereby, only a specific user who has the external storage media 7 and 8 in which the application programs are stored can start the application program. Further, since the application program stored in the external storage media 7 and 8 is a part, the possibility of decoding the program data is extremely low. Furthermore, it does not depend on the application program or OS.

なお、本発明はこれに限定されるものではなく、以下のようなものでもよい。
図1に示す装置において、外部記憶メディア6にシステムプログラムの先頭からの一部を記憶し、残りをROM5に記憶する構成を示したが、ROM5にシステムプログラムの先頭からの一部を記憶し、残りを外部記憶メディア6に記憶してもよい。
In addition, this invention is not limited to this, The following may be sufficient.
In the apparatus shown in FIG. 1, a configuration is shown in which a part from the top of the system program is stored in the external storage medium 6 and the rest is stored in the ROM 5, but a part from the top of the system program is stored in the ROM 5. The rest may be stored in the external storage medium 6.

また、図1に示す装置において、残りのシステムプログラムをROM5に記憶する構成を示したが、外部記憶メディアを新たに設け、新たな外部記憶メディアに残りのシステムプログラムを記憶してもよい。   In the apparatus shown in FIG. 1, the remaining system program is stored in the ROM 5, but an external storage medium may be newly provided and the remaining system program may be stored in the new external storage medium.

また、図3に示す装置において、アプリケーションプログラム、起動用プログラムを外部記憶メディア7、8に記憶させる構成を示したが、アプリケーションプログラムの一部や起動用プログラムをROM5に記憶させてもよい。   In the apparatus shown in FIG. 3, the application program and the startup program are stored in the external storage media 7 and 8. However, a part of the application program and the startup program may be stored in the ROM 5.

また、図1、図3に示す装置において、メインメモリ3にプログラム(システムプログラム、アプリケーションプログラム)をコピーし、実行させる構成を示したが、外部記憶メディア6〜8にコピーしてもよい。または、新たに外部記憶メディアを設け、新たな外部記憶メディアにコピーしてもよい。   In the apparatus shown in FIGS. 1 and 3, a configuration is shown in which a program (system program, application program) is copied to the main memory 3 and executed. However, the program may be copied to the external storage media 6 to 8. Alternatively, a new external storage medium may be provided and copied to a new external storage medium.

また、図1、図3に示す装置において、プログラムを2分割する構成を示したが、何個に分割してもよい。そして、記憶部である外部記憶メディアやROMも複数個設け、分割したシステムプログラムのそれぞれを、各記憶部に分けて記憶させるとよい。なお、外部記憶メディアは少なくとも1個設ければよい。   Moreover, although the structure which divides | segments a program into 2 was shown in the apparatus shown in FIG. 1, FIG. 3, you may divide | segment into how many. A plurality of external storage media and ROMs that are storage units are also provided, and each of the divided system programs may be stored separately in each storage unit. Note that at least one external storage medium may be provided.

これにより、全ての外部記憶メディアを持つ特定のユーザのみが電子機器の起動またはアプリケーションプログラムの起動を行なえる。また、外部記憶メディアに保存されるプログラムは複数に分割されたうちの一部分なので、プログラムのデータを解読される可能性はきわめて低い。   As a result, only a specific user having all external storage media can start the electronic device or the application program. In addition, since the program stored in the external storage medium is a part of the plurality of divided programs, the possibility of decoding the program data is extremely low.

また、図1に示す装置において、ブートローダが、ROM5、外部記憶メディア6のシステムプログラムをメインメモリ3にコピーして結合する構成を示したが、システムプログラムのコピーが成功したかを確認してもよい。すなわち、分割される前のシステムプログラムのチェック用のサム値を求めておき、ROM5に記憶する。なお、ROM5は、サム値記憶部でもある。そして、分割されたシステムプログラムをメインメモリ3にコピーして一つのシステムプログラムにした後、ブートローダが、メインメモリ3にコピーした後のシステムプログラムのサム値とROM5に記憶されるサム値とを比較する。そして、サム値が合っていれば、電子機器を起動し、サム値が合わなければ起動を停止するとよい。なお、分割前のシステムプログラムのサム値は、外部記憶メディア6または新たに設ける外部記憶メディアに格納してもよい。   Further, in the apparatus shown in FIG. 1, the boot loader has shown a configuration in which the system program in the ROM 5 and the external storage medium 6 is copied and combined with the main memory 3, but it can be confirmed whether the system program has been successfully copied. Good. That is, a sum value for checking the system program before being divided is obtained and stored in the ROM 5. The ROM 5 is also a sum value storage unit. Then, after the divided system program is copied to the main memory 3 to form one system program, the boot loader compares the sum value of the system program after being copied to the main memory 3 with the sum value stored in the ROM 5. To do. If the sum value is correct, the electronic device is started. If the sum value is not correct, the start is stopped. Note that the sum value of the system program before division may be stored in the external storage medium 6 or a newly provided external storage medium.

このように、ブートローダが、メインメモリ3にコピーした後のシステムプログラムのサム値と、分割前のシステムプログラムのサム値とを比較し、合っていれば電子機器を起動する。これにより、コピーが失敗したシステムプログラムや、第3者によって改ざんされたシステムプログラムによって電子機器が動作することがない。   As described above, the boot loader compares the sum value of the system program after copying to the main memory 3 and the sum value of the system program before the division, and activates the electronic device if they match. As a result, the electronic device is not operated by a system program in which copying has failed or a system program altered by a third party.

同様に、図3に示す装置においても、分割される前のアプリケーションプログラムのチェック用のサム値を求めておき、外部記憶メディア8に記憶する。なお、外部記憶メディア8は、サム値記憶部でもある。そして、そして、分割されたアプリケーションプログラムをメインメモリ3にコピーして一つのアプリケーションプログラムにした後、アプリケーションプログラム起動手段が、メインメモリ3にコピーした後のアプリケーションプログラムのサム値と外部メディア8に記憶されるサム値とを比較する。そして、サム値が合っていれば、アプリケーションプログラムを起動し、サム値が合わなければ起動を停止するとよい。なお、分割前のアプリケーションプログラムのサム値は、外部記憶メディア7または新たに設ける外部記憶メディアに格納してもよい。   Similarly, in the apparatus shown in FIG. 3, a sum value for checking the application program before being divided is obtained and stored in the external storage medium 8. The external storage medium 8 is also a sum value storage unit. Then, after the divided application program is copied to the main memory 3 to be one application program, the application program starting means stores the sum value of the application program after being copied to the main memory 3 and the external medium 8. Compare the resulting sum value. If the sum value is correct, the application program is started. If the sum value is not correct, the start is stopped. Note that the sum value of the application program before division may be stored in the external storage medium 7 or an external storage medium newly provided.

このように、アプリケーションプログラム起動手段が、メインメモリ3にコピーした後のアプリケーションプログラムのサム値と、分割前のアプリケーションプログラムのサム値とを比較し、合っていればアプリケーションプログラムを起動する。これにより、コピーが失敗したアプリケーションプログラムや、第3者によって改ざんされたアプリケーションプログラムが動作することがない。   In this way, the application program starting means compares the sum value of the application program after copying to the main memory 3 and the sum value of the application program before the division, and starts the application program if they match. As a result, an application program that has failed to be copied or an application program that has been tampered with by a third party does not operate.

本発明の第1の実施例を示す構成図である。It is a block diagram which shows the 1st Example of this invention. 図1に示す装置の動作を説明したフローチャートである。It is a flowchart explaining operation | movement of the apparatus shown in FIG. 本発明の第2の実施例を示す構成図である。It is a block diagram which shows the 2nd Example of this invention. 従来の電子機器の構成を示した図である。It is the figure which showed the structure of the conventional electronic device.

符号の説明Explanation of symbols

3 メインメモリ
5 ROM
6〜8 外部記憶メディア
3 Main memory 5 ROM
6-8 External storage media

Claims (9)

システムプログラムに従って動作する電子機器において、
プログラム実行用記憶部と、
複数に分割された前記システムプログラムのそれぞれを記憶する複数の記憶部と、
電子機器の起動時に、前記複数の記憶部に記憶されるシステムプログラムを前記プログラム実行用記憶部にコピーするブートローダと
を設け、前記複数の記憶部のうち少なくとも1個は、電子機器に着脱自在であることを特徴とする電子機器。
In an electronic device that operates according to a system program,
A storage unit for program execution;
A plurality of storage units for storing each of the system programs divided into a plurality;
A boot loader that copies a system program stored in the plurality of storage units to the program execution storage unit when the electronic device is activated, and at least one of the plurality of storage units is detachable from the electronic device; An electronic device characterized by being.
分割される前の前記システムプログラムのサム値を記憶するサム値記憶部を設け、
ブートローダは、前記プログラム実行用記憶部にコピーした後のシステムプログラムのサム値と前記サム値記憶部のサム値とを比較することを特徴とする請求項1記載の電子機器。
A sum value storage unit for storing the sum value of the system program before being divided is provided,
2. The electronic device according to claim 1, wherein the boot loader compares the sum value of the system program after being copied to the program execution storage unit with the sum value of the sum value storage unit.
オペレーティングシステムが動作し、このオペレーティングシステム上で動作するアプリケーションプログラムを実行する電子機器において、
プログラム実行用記憶部と、
複数に分割された前記アプリケーションプログラムのそれぞれを記憶する複数の記憶部と、
前記アプリケーションプログラムの起動時に、前記複数の記憶部に記憶されるアプリケーションプログラムを前記プログラム実行用記憶部にコピーするアプリケーションプログラム起動手段と
を設け、前記複数の記憶部のうち少なくとも1個は、電子機器に着脱自在であることを特徴とする電子機器。
In an electronic device that runs an operating system and executes an application program that runs on the operating system,
A storage unit for program execution;
A plurality of storage units for storing each of the application programs divided into a plurality of parts;
Application program starting means for copying the application program stored in the plurality of storage units to the program execution storage unit when starting the application program is provided, and at least one of the plurality of storage units is an electronic device An electronic device characterized by being detachable.
分割される前の前記アプリケーションプログラムのサム値を記憶するサム値記憶部を設け、
アプリケーションプログラム起動手段は、前記プログラム実行用記憶部にコピーした後のアプリケーションプログラムのサム値と前記サム値記憶部のサム値とを比較することを特徴とする請求項3記載の電子機器。
A sum value storage unit for storing the sum value of the application program before being divided is provided,
4. The electronic apparatus according to claim 3, wherein the application program starting unit compares the sum value of the application program after being copied to the program execution storage unit with the sum value of the sum value storage unit.
プログラム実行用記憶部は、電子機器に着脱自在であることを特徴とする請求項1〜4のいずれかに記載の電子機器。   The electronic device according to claim 1, wherein the program execution storage unit is detachable from the electronic device. プログラム実行用記憶部は、前記複数の記憶部のうちのいずれかと共通であることを特徴とする請求項1〜4のいずれかに記載の電子機器。   The electronic apparatus according to claim 1, wherein the program execution storage unit is common to any one of the plurality of storage units. サム値記憶部は、前記複数の記憶部のうちのいずれかと共通であることを特徴とする請求項2または4記載の電子機器。   5. The electronic apparatus according to claim 2, wherein the sum value storage unit is common to any one of the plurality of storage units. システムプログラムに従って動作する電子機器の起動方法において、
前記システムプログラムを複数に分割して複数の記憶部に記憶させるステップと、
電子機器の起動時にブートローダが、前記複数の記憶部に記憶されるシステムプログラムをプログラム実行用記憶部にコピーするステップと、
を設け、前記複数の記憶部のうち少なくとも1個は、電子機器に着脱自在であることを特徴とする電子機器の起動方法。
In a method for starting an electronic device that operates according to a system program,
Dividing the system program into a plurality of parts and storing them in a plurality of storage units;
A boot loader that copies a system program stored in the plurality of storage units to a program execution storage unit when the electronic device is activated;
And at least one of the plurality of storage units is detachable from the electronic device.
電子機器上でオペレーティングシステムが動作し、このオペレーティングシステム上で動作するアプリケーションプログラムの起動方法において、
前記アプリケーションプログラムを複数に分割して複数の記憶部に記憶させるステップと、
前記アプリケーションプログラムの起動時にアプリケーションプログラム起動手段が、前記複数の記憶部に記憶されるアプリケーションプログラムをプログラム実行用記憶部にコピーするステップと
を設け、前記複数の記憶部のうち少なくとも1個は、電子機器に着脱自在であることを特徴とするアプリケーションプログラムの起動方法。
An operating system operates on an electronic device, and in a method of starting an application program that operates on the operating system,
Dividing the application program into a plurality of parts and storing them in a plurality of storage units;
A step of copying an application program stored in the plurality of storage units to a program execution storage unit when starting the application program, wherein at least one of the plurality of storage units is an electronic A method for starting an application program, which is detachable from a device.
JP2004249484A 2004-08-30 2004-08-30 Electronic equipment, starting-up method for electronic equipment, and starting method for application program Pending JP2006065711A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004249484A JP2006065711A (en) 2004-08-30 2004-08-30 Electronic equipment, starting-up method for electronic equipment, and starting method for application program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004249484A JP2006065711A (en) 2004-08-30 2004-08-30 Electronic equipment, starting-up method for electronic equipment, and starting method for application program

Publications (1)

Publication Number Publication Date
JP2006065711A true JP2006065711A (en) 2006-03-09

Family

ID=36112131

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004249484A Pending JP2006065711A (en) 2004-08-30 2004-08-30 Electronic equipment, starting-up method for electronic equipment, and starting method for application program

Country Status (1)

Country Link
JP (1) JP2006065711A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011253291A (en) * 2010-06-01 2011-12-15 Sharp Corp Image processing apparatus
WO2016145774A1 (en) * 2015-03-18 2016-09-22 中兴通讯股份有限公司 Electronic equipment start-up method and device
JP2017505930A (en) * 2014-10-21 2017-02-23 スンシル ユニバーシティー リサーチ コンソルティウム テクノ−パークSoongsil University Research Consortium Techno−Park User terminal and core code protection method for application program using the same
CN112306402A (en) * 2020-07-31 2021-02-02 神州融安科技(北京)有限公司 Program execution method, electronic device, and computer-readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60247682A (en) * 1984-05-23 1985-12-07 三菱電機株式会社 Data protection managing system
JPS62237550A (en) * 1986-04-09 1987-10-17 Hitachi Ltd Method for protecting personal computer program from being copied
JPH01253051A (en) * 1988-03-31 1989-10-09 Toyo Commun Equip Co Ltd Information protecting method
JPH07146788A (en) * 1993-11-22 1995-06-06 Fujitsu Ltd System and method for preparing virus diagnostic mechanism and virus diagnostic mechanism and diagnostic method
JP2000112750A (en) * 1998-10-02 2000-04-21 Hyper Tec:Kk Information processor

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60247682A (en) * 1984-05-23 1985-12-07 三菱電機株式会社 Data protection managing system
JPS62237550A (en) * 1986-04-09 1987-10-17 Hitachi Ltd Method for protecting personal computer program from being copied
JPH01253051A (en) * 1988-03-31 1989-10-09 Toyo Commun Equip Co Ltd Information protecting method
JPH07146788A (en) * 1993-11-22 1995-06-06 Fujitsu Ltd System and method for preparing virus diagnostic mechanism and virus diagnostic mechanism and diagnostic method
JP2000112750A (en) * 1998-10-02 2000-04-21 Hyper Tec:Kk Information processor

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011253291A (en) * 2010-06-01 2011-12-15 Sharp Corp Image processing apparatus
JP2017505930A (en) * 2014-10-21 2017-02-23 スンシル ユニバーシティー リサーチ コンソルティウム テクノ−パークSoongsil University Research Consortium Techno−Park User terminal and core code protection method for application program using the same
WO2016145774A1 (en) * 2015-03-18 2016-09-22 中兴通讯股份有限公司 Electronic equipment start-up method and device
CN112306402A (en) * 2020-07-31 2021-02-02 神州融安科技(北京)有限公司 Program execution method, electronic device, and computer-readable storage medium
CN112306402B (en) * 2020-07-31 2024-05-07 神州融安科技(北京)有限公司 Program execution method, electronic device, and computer-readable storage medium

Similar Documents

Publication Publication Date Title
KR101288700B1 (en) Multi-operating system(os) start device, computer-readable recording medium, and multi-os start method
US8438377B2 (en) Information processing apparatus, method and computer-readable storage medium that encrypts and decrypts data using a value calculated from operating-state data
JP2009037467A (en) Start control method and start control program, and image forming apparatus
JP4940599B2 (en) Information processing apparatus, information processing apparatus control program, and information processing apparatus control method
JP2017027244A (en) Information processor, initialization method of non-volatile storage device by the information processor and program
JP2006065711A (en) Electronic equipment, starting-up method for electronic equipment, and starting method for application program
JP2003058486A (en) Image forming device
JP6554881B2 (en) Semiconductor device and storage medium control method
JP4744983B2 (en) Information processing device
JP2006031240A (en) Information processor
JP2008269210A (en) Removable memory unit and computer device
JP2002041292A (en) Computer recovery device
JP2005050079A (en) Server device, bios updating program, bootstrap program, and bios updating method
JP4170133B2 (en) Information processing device
JP7341376B2 (en) Information processing device, information processing method, and information processing program
JP2006126987A (en) Image processor
JP2005313568A (en) Printer, erasing method of data in printer, program and recording medium
JP2012194675A (en) Information apparatus and emergency access method for information apparatus
JP2005165557A (en) Information processor, control method and control program
JP2007102511A (en) Information processor
JP2008217549A (en) Password reset device and password reset method
JP5679751B2 (en) Electronic device, control method and program
CN113051579A (en) Control method and device
JP5718746B2 (en) Memory system, security memory, and information protection method
JP2005327216A (en) Method for starting os from hard disk image file

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20061106

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091125

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100125

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100216

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100329

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20100601