[go: up one dir, main page]

JPH09160860A - Data processing device - Google Patents

Data processing device

Info

Publication number
JPH09160860A
JPH09160860A JP7319923A JP31992395A JPH09160860A JP H09160860 A JPH09160860 A JP H09160860A JP 7319923 A JP7319923 A JP 7319923A JP 31992395 A JP31992395 A JP 31992395A JP H09160860 A JPH09160860 A JP H09160860A
Authority
JP
Japan
Prior art keywords
processing device
data processing
software
processing
hardware
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
JP7319923A
Other languages
Japanese (ja)
Inventor
Hiroyuki Kanehara
弘幸 金原
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP7319923A priority Critical patent/JPH09160860A/en
Publication of JPH09160860A publication Critical patent/JPH09160860A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

(57)【要約】 【課題】 ソフトウェアのデータ処理をハードウェアに
置き換えても、ソフトウェアの大幅な変更は必要ないよ
うにする。 【解決手段】 ハードウェアの処理デバイス7と同様に
機能するソフトウェアの処理デバイス10をカーネル空
間に設け、処理デバイスをソフトウェア10からハード
ウェア7に切り換えてもソフトウェアの変更を不要とし
た。
(57) [Abstract] [PROBLEMS] Even if the data processing of software is replaced with hardware, it is not necessary to drastically change the software. A software processing device 10 that functions similarly to a hardware processing device 7 is provided in the kernel space, and even if the processing device is switched from the software 10 to the hardware 7, the software does not need to be changed.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、カーネル空間にオ
ペレーティングシステムが予め設定され、ユーザ空間に
各種のアプリケーションプログラムが書換自在に設定さ
れるデータ処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data processing device in which an operating system is preset in a kernel space and various application programs are rewritably set in a user space.

【0002】[0002]

【従来の技術】一般的に、マイクロコンピュータやワー
クステーション等のデータ処理装置は、ハードウェアと
してCPU(Central Processing Unit)とメモリとを有
しており、このメモリには、ソフトウェアが設定される
カーネル空間とユーザ空間とが仮想的に設けられてい
る。カーネル空間には、オペレーティングシステムが予
め設定されており、ユーザ空間には、各種のアプリケー
ションプログラムが書換自在に設定される。
2. Description of the Related Art Generally, a data processing device such as a microcomputer or a workstation has a CPU (Central Processing Unit) as a hardware and a memory, and a kernel in which software is set in the memory. A space and a user space are virtually provided. An operating system is preset in the kernel space, and various application programs are rewritably set in the user space.

【0003】例えば、ユーザが所望のアプリケーション
プログラムをユーザ空間に設定すると、そのデータ処理
がオペレーティングシステムの統合制御下に実行され
る。しかし、このようにソフトウェアのデータ処理によ
り各種作業を実行すると、例えば、高解像度なカラー画
像を出力する場合、そのデータ量が膨大なのでCPUの
処理負担が大きく処理速度が低い。
For example, when the user sets a desired application program in the user space, the data processing is executed under the integrated control of the operating system. However, when various operations are executed by data processing of software in this way, for example, when outputting a high-resolution color image, the amount of data is enormous, so that the processing load on the CPU is large and the processing speed is low.

【0004】このため、実際のデータ処理装置では、画
像出力等のデータ処理の必要が予想される場合、そのデ
ータ処理に利用される処理デバイスをハードウェアによ
り設けた機種が多い。一般的に、ハードウェアはソフト
ウェアより処理速度が高いので、アプリケーションプロ
グラムによるデータ処理を高速に実行することができ
る。さらに、ハードウェアによりデータ処理を実行すれ
ば、CPUの処理負担を軽減することができ、並列処理
の稼働率も向上させることができる。
For this reason, in actual data processing apparatuses, when it is expected that data processing such as image output is required, many models are provided with a processing device used for the data processing by hardware. In general, hardware has a higher processing speed than software, so that data processing by an application program can be executed at high speed. Further, if the data processing is executed by hardware, the processing load on the CPU can be reduced, and the operating rate of parallel processing can be improved.

【0005】しかし、実際にはデータ処理装置を製作す
る時点で最適なハードウェアが存在しないこともあり、
このような場合には必要なデータ処理をソフトウェアに
より実行する必要があるので、所定のプログラムをアプ
リケーションプログラムとオペレーティングシステムと
に記述する。このようなデータ処理装置は、ソフトウェ
アにより必要なデータ処理を実行できるが、前述のよう
にソフトウェアのデータ処理には速度や負担の課題があ
るので、最適なハードウェアが開発されれば、これを新
製品に利用することは当然である。同様に、所定のデー
タ処理をソフトウェアにより実行する製品を出荷した後
に最適なハードウェアが開発されると、これを出荷した
製品のバージョンアップに利用することもある。
However, in reality, there are times when optimum hardware does not exist at the time of manufacturing a data processing device,
In such a case, it is necessary to execute necessary data processing by software, so a predetermined program is described in the application program and the operating system. Such a data processing device can execute necessary data processing by software. However, as described above, data processing of software has problems of speed and burden. It is natural to use it for new products. Similarly, when optimal hardware is developed after shipping a product that executes predetermined data processing by software, this may be used for version upgrade of the shipped product.

【0006】[0006]

【発明が解決しようとする課題】上述のように処理デバ
イスをハードウェアにより設けたデータ処理装置では、
データ処理を高速に実行することができ、CPUの処理
負担を軽減することができる。
In the data processing apparatus having the processing device provided by hardware as described above,
Data processing can be executed at high speed, and the processing load on the CPU can be reduced.

【0007】しかし、所定のデータ処理をソフトウェア
により実行するデータ処理装置を、そのデータ処理をハ
ードウェアにより実行するデータ処理装置に切り換える
場合、ハードウェアの処理デバイスを駆動制御する制御
ドライバ等をソフトウェアに新規に設ける必要がある。
つまり、アプリケーションプログラムやオペレーティン
グシステムを大幅に改造する必要があるので、新製品の
開発や既存装置のバージョンアップが困難である。
However, when a data processing apparatus that executes predetermined data processing by software is switched to a data processing apparatus that executes the data processing by hardware, a control driver or the like for driving and controlling the processing device of hardware is set by software. It is necessary to newly install it.
In other words, it is difficult to develop a new product or upgrade the version of an existing device because the application program and the operating system need to be significantly modified.

【0008】[0008]

【課題を解決するための手段】請求項1記載の発明は、
オペレーティングシステムが予め設定されたカーネル空
間と、各種のアプリケーションプログラムが書換自在に
設定されるユーザ空間と、を有するデータ処理装置にお
いて、前記アプリケーションプログラムのデータ処理に
利用される処理デバイスをソフトウェアにより前記カー
ネル空間に設けた。従って、ソフトウェアの処理デバイ
スをハードウェアの処理デバイスに置き換える場合で
も、オペレーティングシステムやアプリケーションプロ
グラムの大幅な変更を要しない。
According to the first aspect of the present invention,
In a data processing device having a kernel space in which an operating system is preset and a user space in which various application programs are rewritably set, a processing device used for data processing of the application program is processed by the kernel by software. Set up in space. Therefore, even if the software processing device is replaced with the hardware processing device, a drastic change in the operating system or the application program is not required.

【0009】請求項2記載の発明では、請求項1記載の
発明において、ハードウェアの処理デバイスが装着され
るデバイスポートを設け、このデバイスポートに対する
前記処理デバイスの装着を検知する装着検知手段を設
け、この検知に対応してアプリケーションプログラムの
データ処理の利用対象をソフトウェアの処理デバイスか
ら前記ハードウェアの処理デバイスに切り換えるデバイ
ス切換手段を設けた。従って、ソフトウェアの処理デバ
イスによりデータ処理を実行するデータ処理装置にハー
ドウェアの処理デバイスを装着すると、以後はハードウ
ェアの処理デバイスによりデータ処理が実行される。
According to a second aspect of the present invention, in the first aspect of the present invention, a device port to which a hardware processing device is attached is provided, and attachment detection means for detecting attachment of the processing device to the device port is provided. Corresponding to this detection, device switching means is provided for switching the target of data processing of the application program from the software processing device to the hardware processing device. Therefore, when the hardware processing device is mounted on the data processing device that executes the data processing by the software processing device, the data processing is executed by the hardware processing device thereafter.

【0010】請求項3記載の発明では、請求項2記載の
発明において、ハードウェアの処理デバイスが装着され
るデバイスポートを設け、アプリケーションプログラム
のデータ処理の利用対象をソフトウェアの処理デバイス
から前記ハードウェアの処理デバイスに切り換えるデバ
イス切換手段を設け、ハードウェアの処理デバイスの動
作不良を検知する不良検知手段を設け、この検知に対応
して前記デバイス切換手段はアプリケーションプログラ
ムのデータ処理の利用対象を前記ハードウェアの処理デ
バイスからソフトウェアの処理デバイスに切り換える。
従って、データ処理を実行するハードウェアの処理デバ
イスに動作不良が発生すると、そのデータ処理がソフト
ウェアの処理デバイスに引き継がれる。
According to a third aspect of the present invention, in the second aspect of the present invention, a device port to which a hardware processing device is attached is provided, and an application program data processing target is a software processing device from the hardware processing device. Device switching means for switching to a processing device of the hardware, and failure detection means for detecting a malfunction of the processing device of the hardware are provided. Switch from a ware processing device to a software processing device.
Therefore, when a malfunction occurs in the hardware processing device that executes data processing, the data processing is taken over by the software processing device.

【0011】[0011]

【発明の実施の形態】本発明の実施の一形態を図面に基
づいて以下に説明する。まず、本実施の形態のデータ処
理装置1は、図1に示すように、CPU(Central Proce
ssing Unit)2を有しており、このCPU2は、バスラ
イン3に接続されている。このバスライン3には、メモ
リ4、各種のI/O(Input/Output)5、デバイスポー
ト6が接続されており、このデバイスポート6には、ハ
ードウェアの処理デバイス7が着脱自在に装着される。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to the drawings. First, as shown in FIG. 1, the data processing device 1 according to the present embodiment has a CPU (Central Process).
ssing unit) 2, and the CPU 2 is connected to the bus line 3. A memory 4, various I / O (Input / Output) 5, and a device port 6 are connected to the bus line 3, and a hardware processing device 7 is detachably attached to the device port 6. It

【0012】前記メモリ4は、図2に示すように、カー
ネル空間8とユーザ空間9とを有しており、前記カーネ
ル空間8にはオペレーティングシステムが予め設定さ
れ、前記ユーザ空間9にはアプリケーションプログラム
が書換自在に設定されている。なお、ここでは前記空間
8,9を前記メモリ4の記憶領域と同様に表現するが、
これは実際には各々のソフトウェアによるデータ処理が
実行される仮想的な空間である。
As shown in FIG. 2, the memory 4 has a kernel space 8 and a user space 9, an operating system is preset in the kernel space 8, and an application program is set in the user space 9. Is set to be rewritable. Although the spaces 8 and 9 are expressed in the same manner as the storage area of the memory 4 here,
This is actually a virtual space in which data processing by each software is executed.

【0013】本実施の形態のデータ処理装置1は、例え
ば、レーザプリンタにイメージデータを出力するような
データ処理を実行することができ、このようなデータ処
理を実行するアプリケーションプログラムが前記ユーザ
空間9に書換自在に格納される。このデータ処理にはイ
メージデータの加工が含まれるが、このイメージデータ
の加工処理は前記処理デバイス7が実行する。このハー
ドウェアの処理デバイス7と同様に機能するソフトウェ
アの処理デバイスが、ここでは仮想デバイス10として
前記カーネル空間8に設けられており、この仮想デバイ
ス10と前記処理デバイス7とを選択的に駆動制御する
制御ドライバ(図示せず)も前記カーネル空間8に設け
られている。
The data processing apparatus 1 according to the present embodiment can execute data processing such as outputting image data to a laser printer, and an application program for executing such data processing is stored in the user space 9 Is rewritably stored in. This data processing includes processing of image data, and the processing device 7 executes the processing of this image data. A software processing device that functions similarly to the hardware processing device 7 is provided in the kernel space 8 as a virtual device 10 here, and selectively drives and controls the virtual device 10 and the processing device 7. A control driver (not shown) for controlling is also provided in the kernel space 8.

【0014】さらに、本実施の形態のデータ処理装置1
は、装着検知手段、不良検知手段、デバイス切換手段、
(何れも図示せず)を有している。前記装着検知手段
は、このデバイスポート6に対する前記処理デバイス7
の装着を検知し、前記不良検知手段は、前記デバイスポ
ート6に装着された前記処理デバイス7の動作不良を検
知する。このようなことは、例えば、前記CPU2が前
記デバイスポート6に所定の信号を送信し、返信される
信号を判定することにより実現される。
Further, the data processing device 1 of the present embodiment.
Is mounting detection means, defect detection means, device switching means,
(Neither is shown). The mounting detection means is configured to process the processing device 7 for the device port 6.
Is detected, and the defect detecting means detects an operation defect of the processing device 7 attached to the device port 6. Such a thing is realized, for example, by the CPU 2 transmitting a predetermined signal to the device port 6 and determining the signal to be returned.

【0015】前記デバイス切換手段は、前記デバイスポ
ート6に前記処理デバイス7が装着されていないことを
前記装着検知手段が検知すると、これに対応して前記制
御ドライバに前記仮想デバイス10を接続してアプリケ
ーションプログラムの利用対象とし、前記デバイスポー
ト6に前記処理デバイス7が装着されたことを前記装着
検知手段が検知すると、これに対応して前記制御ドライ
バに前記処理デバイス7を接続してアプリケーションプ
ログラムの利用対象とする。しかし、このような状態で
前記デバイスポート6に装着された前記処理デバイス7
の動作不良を前記不良検知手段が検知すると、これに対
応して前記制御ドライバに前記仮想デバイス10を接続
してアプリケーションプログラムの利用対象とする。
When the attachment detecting means detects that the processing device 7 is not attached to the device port 6, the device switching means connects the virtual device 10 to the control driver in response to the detection. When the attachment detecting means detects that the processing device 7 is attached to the device port 6 as an application program use target, the processing device 7 is connected to the control driver in response to the detection, and the application program Use it. However, the processing device 7 attached to the device port 6 in such a state
When the failure detecting means detects the operation failure of, the corresponding virtual device 10 is connected to the control driver to be used by the application program.

【0016】このような構成において、本実施の形態の
データ処理装置1は、各種のアプリケーションプログラ
ムが書換自在に設定され、この設定されたアプリケーシ
ョンプログラムに対応して各種のデータ処理を実行する
ことができる。例えば、データ処理として画像処理を実
行することができ、この画像処理をハードウェアの処理
デバイス7とソフトウェアの仮想デバイス10とで選択
的に実行することができる。
In such a configuration, the data processing device 1 of the present embodiment is set so that various application programs can be rewritten, and various data processes can be executed corresponding to the set application programs. it can. For example, image processing can be executed as data processing, and this image processing can be selectively executed by the hardware processing device 7 and the software virtual device 10.

【0017】本実施の形態のデータ処理装置1は、例え
ば、ハードウェアの処理デバイス7が装着されない状態
で製品として出荷され、この状態ではソフトウェアの仮
想デバイス10により画像処理を実行する。しかし、バ
ージョンアップによりハードウェアの処理デバイス7が
装着されると、この処理デバイス7により画像処理を実
行する状態に自動的に切り換わる。また、このような状
態でハードウェアの処理デバイス7に動作不良が発生す
ると、その画像処理はソフトウェアの仮想デバイス10
に自動的に引き継がれる。
The data processing apparatus 1 according to the present embodiment is shipped as a product without the hardware processing device 7 attached, and in this state, the virtual device 10 of software executes image processing. However, when the hardware processing device 7 is attached due to the version upgrade, the processing device 7 automatically switches to a state in which image processing is executed. In addition, when a malfunction occurs in the hardware processing device 7 in such a state, the image processing is performed by the software virtual device 10.
Automatically taken over by.

【0018】このようなデータ処理装置1の処理動作
を、図2及び図3に基づいて以下に説明する。まず、図
3に示すように、データ処理装置1の起動時に処理デバ
イス7の装着が確認され、この装着が検知されないと仮
想デバイス10によるデータ処理が設定される。このよ
うな状態で画像処理が開始されると、図2に示すよう
に、ユーザ空間9のアプリケーションプログラムからカ
ーネル空間8のオペレーティングシステムにデバイスオ
ープンの要求が出力されるので、これに対応してカーネ
ル空間8の仮想デバイス10がオープンされる。
The processing operation of the data processing apparatus 1 will be described below with reference to FIGS. 2 and 3. First, as shown in FIG. 3, the mounting of the processing device 7 is confirmed when the data processing apparatus 1 is started, and if this mounting is not detected, the data processing by the virtual device 10 is set. When image processing is started in such a state, a device open request is output from the application program in the user space 9 to the operating system in the kernel space 8 as shown in FIG. The virtual device 10 in the space 8 is opened.

【0019】この時、ユーザ空間9では画像処理のデー
タサイズが検出され(ステップUS1)、カーネル空間
8では仮想デバイス10が初期化されてからデータサイ
ズの記憶領域がメモリ4に確保される。この記憶領域は
両方の空間8,9で参照できるようマッピングされ(ス
テップSS1)、そのスタートアドレスがカーネル空間
8からユーザ空間9に通達される。このユーザ空間9で
は、イメージデータが読み込まれて画像処理のマスクパ
ラメータが設定され(ステップUS2,US3)、この
マスクパラメータがカーネル空間8の制御ドライバに通
達される(ステップSS2)。
At this time, the data size of the image processing is detected in the user space 9 (step US1), and after the virtual device 10 is initialized in the kernel space 8, a storage area of the data size is secured in the memory 4. This storage area is mapped so that it can be referred to in both spaces 8 and 9 (step SS1), and its start address is communicated from the kernel space 8 to the user space 9. In this user space 9, image data is read and mask parameters for image processing are set (steps US2 and US3), and the mask parameters are notified to the control driver in the kernel space 8 (step SS2).

【0020】つぎに、ユーザ空間9でアプリケーション
プログラムによりマスクパラメータに対応して画像処理
の開始フラグが設定され(ステップUS4)、カーネル
空間8では制御ドライバがマスクパラメータと開始フラ
グとに対応して仮想デバイス10を駆動制御する。この
仮想デバイス10によりカーネル空間8において画像デ
ータに画像処理が実行され、この画像データはメモリ4
のマッピングされた記憶領域に書き込まれる(ステップ
SS3)。
Next, an application program sets a start flag for image processing in the user space 9 corresponding to the mask parameter (step US4), and in the kernel space 8, the control driver virtualizes the mask parameter and the start flag in correspondence with the mask parameter. The device 10 is driven and controlled. Image processing is performed on the image data in the kernel space 8 by the virtual device 10, and the image data is stored in the memory 4
Is written in the mapped storage area (step SS3).

【0021】この画像処理が完了すると、例えば、画像
データはユーザ空間9でページメモリ等に書き込まれる
ので(ステップUS5)、このページメモリからレーザ
プリンタに出力されて印刷に利用される。このようなデ
ータ処理が完了すると、ユーザ空間9のアプリケーショ
ンプログラムからカーネル空間8のオペレーティングシ
ステムにデバイスクローズの要求が出力されるので(ス
テップUS6)、これに対応してカーネル空間8の仮想
デバイス10がクローズされてからメモリ4が解放され
る(ステップSS4)。
When this image processing is completed, for example, image data is written in the page memory or the like in the user space 9 (step US5), and is output from the page memory to the laser printer and used for printing. When such data processing is completed, the application program of the user space 9 outputs a device close request to the operating system of the kernel space 8 (step US6), and accordingly the virtual device 10 of the kernel space 8 is output. After being closed, the memory 4 is released (step SS4).

【0022】一方、データ処理装置1の起動時に処理デ
バイス7の装着が確認された場合は、図3に示すよう
に、上述のようなソフトウェアの仮想デバイス10によ
るデータ処理(図2のステップSS1〜SS4)が、ハ
ードウェアの処理デバイス7により実行される。さら
に、このようにデータ処理を実行する処理デバイス7に
動作不良が発生すると、このデータ処理は自動的に仮想
デバイス10に引き継がれる。
On the other hand, when it is confirmed that the processing device 7 is attached when the data processing apparatus 1 is started up, as shown in FIG. 3, data processing by the virtual device 10 of the software as described above (steps SS1 to SS1 in FIG. 2). SS4) is executed by the processing device 7 of the hardware. Furthermore, when a malfunction occurs in the processing device 7 that executes data processing in this way, the data processing is automatically taken over by the virtual device 10.

【0023】本実施の形態のデータ処理装置1は、上述
のようにデバイスポート6に処理デバイス7が装着され
ていない状態では、カーネル空間8の仮想デバイス10
により所定のデータ処理を実行するので、このデータ処
理に専用のハードウェアを要しない。しかし、デバイス
ポート6に処理デバイス7が装着されれば、この処理デ
バイス7によりデータ処理を実行するので、ソフトウェ
アによるデータ処理を実行する必要がなく、CPU2の
処理負担を軽減して処理速度を向上させることができ
る。
The data processing apparatus 1 of the present embodiment has the virtual device 10 in the kernel space 8 in the state where the processing device 7 is not attached to the device port 6 as described above.
Since the predetermined data processing is executed by, the dedicated hardware is not required for this data processing. However, if the processing device 7 is attached to the device port 6, the data processing is executed by this processing device 7, so there is no need to execute the data processing by software, and the processing load on the CPU 2 is reduced and the processing speed is improved. Can be made.

【0024】そして、ソフトウェアの仮想デバイス10
がハードウェアの処理デバイス7と同様に形成されてい
るので、上述のように仮想デバイス10を処理デバイス
7に置き換える場合でも、オペレーティングシステムや
アプリケーションプログラムを大幅に改造する必要がな
く、簡易な設定の修正程度でデバイスを切り換えること
ができる。このため、仮想デバイス10を処理デバイス
7に置き換えるデータ処理装置1のバージョンアップを
簡易に実行することができ、例えば、仮想デバイス10
を設けた既存のデータ処理装置1から処理デバイス7を
設けた新型のデータ処理装置を開発することも簡易に実
行することができる。
Then, the software virtual device 10
Is formed in the same manner as the hardware processing device 7, even when the virtual device 10 is replaced with the processing device 7 as described above, it is not necessary to remodel the operating system and application programs, and simple settings can be made. The device can be switched with a correction level. Therefore, the version upgrade of the data processing device 1 that replaces the virtual device 10 with the processing device 7 can be easily executed. For example, the virtual device 10
It is also possible to easily develop a new data processing device having the processing device 7 from the existing data processing device 1 having the above.

【0025】しかも、処理デバイス7をデバイスポート
6に装着していない状態では、自動的に仮想デバイス1
0によりデータ処理が実行され、処理デバイス7をデバ
イスポート6に装着すると、自動的に処理デバイス7に
よりデータ処理が実行されるので、この切り換えを手動
操作により行なう必要がない。さらに、処理デバイス7
に動作不良が発生すると、そのデータ処理が仮想デバイ
ス10により継続されるので、この切り換えも手動操作
により行なう必要がなく、自動的に最適なデバイスでデ
ータ処理が実行される。
Moreover, when the processing device 7 is not attached to the device port 6, the virtual device 1 is automatically
When the data processing is executed by 0 and the processing device 7 is attached to the device port 6, the data processing is automatically executed by the processing device 7, so that it is not necessary to perform this switching manually. Furthermore, the processing device 7
If a malfunction occurs in the virtual device 10, the data processing is continued by the virtual device 10. Therefore, it is not necessary to perform this switching manually, and the data processing is automatically executed by the optimum device.

【0026】また、上述のように処理デバイス7に相当
する仮想デバイス10がカーネル空間8に独立に形成さ
れているので、その処理速度を客観的に観察することが
でき、仮想デバイス10を処理デバイス7に置き換える
必要の有無を判断することもできる。例えば、仮想デバ
イス10の形成後に処理デバイス7が開発されたような
場合、この処理デバイス7と仮想デバイス10との処理
速度を比較することができ、この仮想デバイス10の処
理速度がデータ処理装置1の製品レベルで充分高速なら
ば、これを処理デバイス7に置き換える必要はない。
Since the virtual device 10 corresponding to the processing device 7 is independently formed in the kernel space 8 as described above, its processing speed can be objectively observed, and the virtual device 10 can be processed. It is also possible to judge whether it is necessary to replace with 7. For example, when the processing device 7 is developed after the virtual device 10 is formed, the processing speeds of the processing device 7 and the virtual device 10 can be compared, and the processing speed of the virtual device 10 is the data processing device 1. It is not necessary to replace it with the processing device 7 if the product level is high enough.

【0027】[0027]

【発明の効果】請求項1記載の発明は、アプリケーショ
ンプログラムのデータ処理に利用される処理デバイスを
ソフトウェアによりカーネル空間に設けたことにより、
ソフトウェアの処理デバイスをハードウェアの処理デバ
イスに置き換える場合でも、オペレーティングシステム
やアプリケーションプログラムの大幅な変更を必要とせ
ず、処理デバイスをソフトウェアからハードウェアに置
き換えるバージョンアップや新型開発を簡易に実行する
ことができる。
According to the invention described in claim 1, since the processing device used for data processing of the application program is provided in the kernel space by software,
Even if a software processing device is replaced with a hardware processing device, it is possible to easily perform a version upgrade or new development in which the processing device is changed from software to hardware without significantly changing the operating system or application program. it can.

【0028】請求項2記載の発明では、ハードウェアの
処理デバイスが装着されるデバイスポートを設け、この
デバイスポートに対する処理デバイスの装着を検知する
装着検知手段を設け、この検知に対応してアプリケーシ
ョンプログラムのデータ処理の利用対象をソフトウェア
の処理デバイスからハードウェアの処理デバイスに切り
換えるデバイス切換手段を設けたことにより、ソフトウ
ェアの処理デバイスによりデータ処理を実行するデータ
処理装置にハードウェアの処理デバイスを装着すると、
以後はハードウェアの処理デバイスによりデータ処理が
実行されるので、この切り換えを手動操作により行なう
必要がない。
According to the second aspect of the present invention, a device port to which a hardware processing device is attached is provided, and attachment detection means for detecting attachment of the processing device to the device port is provided, and an application program corresponding to this detection is provided. When the hardware processing device is mounted on the data processing device that executes the data processing by the software processing device, by providing the device switching means for switching the usage target of the data processing of the software processing device to the hardware processing device. ,
After that, since the data processing is executed by the hardware processing device, it is not necessary to perform this switching manually.

【0029】請求項3記載の発明では、ハードウェアの
処理デバイスが装着されるデバイスポートを設け、アプ
リケーションプログラムのデータ処理の利用対象をソフ
トウェアの処理デバイスから前記ハードウェアの処理デ
バイスに切り換えるデバイス切換手段を設け、前記ハー
ドウェアの処理デバイスの動作不良を検知する不良検知
手段を設け、この検知に対応して前記デバイス切換手段
はアプリケーションプログラムのデータ処理の利用対象
を前記ハードウェアの処理デバイスから前記ソフトウェ
アの処理デバイスに切り換えることにより、データ処理
を実行するハードウェアの処理デバイスに動作不良が発
生すると、そのデータ処理がソフトウェアの処理デバイ
スに引き継がれるので、この切り換えも手動操作により
行なう必要がなく、データ処理が自動的に最適な処理デ
バイスで実行される。
In a third aspect of the present invention, a device switching means is provided which has a device port to which a hardware processing device is attached, and which switches a software processing device from a software processing device to a data processing device of the application program. And a failure detection means for detecting an operation failure of the processing device of the hardware, and in response to this detection, the device switching means targets the application program for data processing from the processing device of the hardware to the software. When a malfunction occurs in the hardware processing device that executes data processing by switching to this processing device, the data processing is taken over by the software processing device, so there is no need to perform this switching manually either. Data processing is performed by the automatic optimal processing device.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の実施の一形態のデータ処理装置を示す
ブロック図である。
FIG. 1 is a block diagram showing a data processing device according to an embodiment of the present invention.

【図2】ソフトウェアの処理デバイスである仮想デバイ
スを利用したデータ処理を示すフローチャートである。
FIG. 2 is a flowchart showing data processing using a virtual device which is a software processing device.

【図3】仮想デバイスとハードウェアの処理デバイスと
を切り換える処理動作を示すフローチャートである。
FIG. 3 is a flowchart showing a processing operation for switching between a virtual device and a hardware processing device.

【符号の説明】[Explanation of symbols]

1 データ処理装置 6 デバイスポート 7 ハードウェアの処理デバイス 8 カーネル空間 9 ユーザ空間 10 ソフトウェアの処理デバイス 1 Data Processing Device 6 Device Port 7 Hardware Processing Device 8 Kernel Space 9 User Space 10 Software Processing Device

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 オペレーティングシステムが予め設定さ
れたカーネル空間と、各種のアプリケーションプログラ
ムが書換自在に設定されるユーザ空間と、を有するデー
タ処理装置において、前記アプリケーションプログラム
のデータ処理に利用される処理デバイスをソフトウェア
により前記カーネル空間に設けたことを特徴とするデー
タ処理装置。
1. A processing device used in data processing of an application program in a data processing device having a kernel space in which an operating system is preset and a user space in which various application programs are rewritably set. Is provided in the kernel space by software.
【請求項2】 ハードウェアの処理デバイスが装着され
るデバイスポートを設け、このデバイスポートに対する
前記処理デバイスの装着を検知する装着検知手段を設
け、この検知に対応してアプリケーションプログラムの
データ処理の利用対象をソフトウェアの処理デバイスか
ら前記ハードウェアの処理デバイスに切り換えるデバイ
ス切換手段を設けたことを特徴とする請求項1記載のデ
ータ処理装置。
2. A device port to which a hardware processing device is attached is provided, and attachment detection means for detecting attachment of the processing device to the device port is provided, and data processing of an application program is used in response to the detection. 2. The data processing apparatus according to claim 1, further comprising device switching means for switching an object from a software processing device to the hardware processing device.
【請求項3】 ハードウェアの処理デバイスが装着され
るデバイスポートを設け、アプリケーションプログラム
のデータ処理の利用対象をソフトウェアの処理デバイス
から前記ハードウェアの処理デバイスに切り換えるデバ
イス切換手段を設け、前記ハードウェアの処理デバイス
の動作不良を検知する不良検知手段を設け、この検知に
対応して前記デバイス切換手段はアプリケーションプロ
グラムのデータ処理の利用対象を前記ハードウェアの処
理デバイスから前記ソフトウェアの処理デバイスに切り
換えることを特徴とする請求項1記載のデータ処理装
置。
3. A device port to which a hardware processing device is attached is provided, and device switching means is provided for switching a target of data processing of an application program from a software processing device to the hardware processing device. Defect detection means for detecting an operation failure of the processing device, and in response to this detection, the device switching means switches the application program data processing target from the hardware processing device to the software processing device. The data processing device according to claim 1, wherein
JP7319923A 1995-12-08 1995-12-08 Data processing device Pending JPH09160860A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7319923A JPH09160860A (en) 1995-12-08 1995-12-08 Data processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7319923A JPH09160860A (en) 1995-12-08 1995-12-08 Data processing device

Publications (1)

Publication Number Publication Date
JPH09160860A true JPH09160860A (en) 1997-06-20

Family

ID=18115748

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7319923A Pending JPH09160860A (en) 1995-12-08 1995-12-08 Data processing device

Country Status (1)

Country Link
JP (1) JPH09160860A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010045764A (en) * 2008-06-18 2010-02-25 Ricoh Co Ltd Control unit and method of controlling the same
JP2019077050A (en) * 2017-10-20 2019-05-23 コニカミノルタ株式会社 Image formation device, device setting method and device setting program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010045764A (en) * 2008-06-18 2010-02-25 Ricoh Co Ltd Control unit and method of controlling the same
US8305638B2 (en) 2008-06-18 2012-11-06 Ricoh Company, Limited Image processing apparatus having plural detachable image processing units for image processing tasks
JP2019077050A (en) * 2017-10-20 2019-05-23 コニカミノルタ株式会社 Image formation device, device setting method and device setting program

Similar Documents

Publication Publication Date Title
JPH05204617A (en) Device and method of ensuring interchangeability of version of software prepared for specific computer -hardware-architecture
JPH09160860A (en) Data processing device
KR100503484B1 (en) Image forming device
JPS63216125A (en) Printer capable of emulating device type
KR100350982B1 (en) Image forming apparatus and method of operating the same
JPH0760669A (en) Operation system for industrial machine
JPH11232183A (en) Printer control information managing device and recording medium for recording control information management program
JPH05274157A (en) Image forming device
JP2003052189A (en) Method for control information communication between motor driver and controller, and the motor driver, and system
JPH06208525A (en) Method for switching operation mode of processor
JPH03140279A (en) Printer device with rewritable control program
JPH10226140A (en) Image forming device
JP2001067212A (en) Obstacle avoidance information processing system
JPS62236745A (en) Data processing device
JP2004240717A (en) Software updating device
JPH05150976A (en) Microprogram rewriting method in central processing unit
JPH05254219A (en) Printer controlling apparatus
JP2716552B2 (en) Printer connection method
JP2000020262A (en) Printer device
JP2002268891A (en) Equipment controller
JPH06274434A (en) Computer peripheral device and control method thereof
JPH08137675A (en) Operation environment setting system and its device
JPH01255004A (en) Numerical controller
JPH02114293A (en) graphic display device
JP2000149111A (en) Controller for automatic vending machine