JPH0244429A - Information processing terminal equipment - Google Patents

Information processing terminal equipment

Info

Publication number
JPH0244429A
JPH0244429A JP19654388A JP19654388A JPH0244429A JP H0244429 A JPH0244429 A JP H0244429A JP 19654388 A JP19654388 A JP 19654388A JP 19654388 A JP19654388 A JP 19654388A JP H0244429 A JPH0244429 A JP H0244429A
Authority
JP
Japan
Prior art keywords
program
information processing
tasks
task
system parameter
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
JP19654388A
Other languages
Japanese (ja)
Inventor
Kazuo Fujimoto
和生 藤本
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP19654388A priority Critical patent/JPH0244429A/en
Publication of JPH0244429A publication Critical patent/JPH0244429A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To enable the number of tasks or the execution start address of a program loaded from an external equipment to be changed and to easily perform the development and the change of a multitask program by providing a means to change each parameter value stored in a system parameter storage part. CONSTITUTION:A system parameter reading part 3 reads out each system parameter preserved in the system parameter storage part 7, and decides the amplitude of the parameter, and the number of tasks can be changed arbitrarily by changing the internal value of the system parameter storage part 7 at a system parameter generating part 2 at the time of starting up a multitask operating system. Therefore, it is possible to change the number of tasks or the execution start address of the program loaded from the external equipment, and to execute each task under multitask OS environment. In such a way, the development of the multitask program and the change of the program in an information processing terminal 10 can be performed easily.

Description

【発明の詳細な説明】 1、発明の名称 情報処理端末器 2、特許請求の範囲 (1)情報処理の作業単位であるタスクを、複数個実行
する機能を有するマルチタスクオペレーティングシステ
ムのプログラムコードを記憶したROMと、前記マルチ
タスクオペレーティングシステムの起動条件パラメータ
を保存する機能を有するシステムパラメータ格納部と、
前記システムパラメータ格納部から前記起動条件ノ(ラ
メータを読み出す機能を有するシステムノくラメータ読
み取り部と、前記起動条件)(ラメータを用いて、前記
マルチタスクオペレーティングシステムに必要とされる
システム領域を確保する機能を有するシステムテーブル
作成部と、前記マルチタスクオペレーティングシステム
の起動時に、前記システムパラメータ格納部の内部の値
を変更することによって、前記タスクの個数を任意に変
更する実行手段とを有する情報処理 3、産業上の利用
分野 本発明は店舗等に置かれ、複数のプログラムを同時に実
行するマルチタスクオペレーティングシステムを搭載し
、接続されている複数の入出力装置を多重に動かすこと
のできる情報処理端末器に関するものである。
Detailed Description of the Invention 1. Name of the invention Information processing terminal 2. Claims (1) A program code for a multi-task operating system having a function of executing a plurality of tasks, which are work units of information processing. a system parameter storage unit having a function of storing a stored ROM and startup condition parameters of the multitasking operating system;
The activation condition information (a system parameter reading unit having a function of reading parameters and the activation condition) from the system parameter storage unit (using the parameters to secure a system area required for the multitasking operating system) Information processing comprising: a system table creation unit having a function; and an execution unit that arbitrarily changes the number of tasks by changing an internal value of the system parameter storage unit when the multitasking operating system is started. , Industrial Application Field The present invention is an information processing terminal installed in a store, etc., equipped with a multitasking operating system that runs multiple programs simultaneously, and capable of multiplexing multiple input/output devices connected to it. It is related to.

従来の技術 近年はサービス業務の多様化により、携帯用や、据置型
の情報処理端末器があり、これらの端末器は、内蔵され
ているか、もしくは外部に接続される複数のデバイスを
制御して、ユーザの要求する様々なサービスを提供して
いる。従来この種の情報処理端末器は、各デバイス制御
を実現するために、第9図に示すような構成をとってい
た。第9図において、6oはここで説明する情報処理端
末器、67は端末器システムの動作開始に必要とされる
パラメータが格納されているシステムパラメータ格納部
、63はシステムパラメータ格納部57のパラメータを
読み取る機能を有するシステムパラメータ読み取り部、
66は読み取ったシステムパラメータを用いて、システ
ムの起動を行い、タスクプログラムの実行を行う機能を
有するタスクプログラム実行部である。
Conventional technology In recent years, due to the diversification of service operations, there are portable and stationary information processing terminals, and these terminals can control multiple devices that are built-in or externally connected. , provides various services requested by users. Conventionally, this type of information processing terminal has had a configuration as shown in FIG. 9 in order to realize control of each device. In FIG. 9, 6o is the information processing terminal described here, 67 is a system parameter storage section in which parameters required for starting the operation of the terminal device system are stored, and 63 is the system parameter storage section 57 for storing parameters. a system parameter reading unit having a reading function;
Reference numeral 66 denotes a task program execution unit having a function of starting the system and executing a task program using the read system parameters.

ここでタスクとは、並列に処理されるプログラムの処理
単位であり、全体としては、まとまった作業を比較的小
規模の処理単位に分割したものである。またタスクは他
のタスクとは、全く独立して動作可能な処理単位である
Here, a task is a processing unit of a program that is processed in parallel, and is a work that is divided into relatively small processing units as a whole. Further, a task is a processing unit that can operate completely independently of other tasks.

以下第9図の情報処理端末器60の動作を説明する。情
報処理端末器60は電源投入後、システムの立ち上げが
行われ、内蔵しているデバイスや接続されているデバイ
スポートの初期設定を行うシステムイニシャライズとい
う機能を実行する。
The operation of the information processing terminal 60 shown in FIG. 9 will be explained below. After the power is turned on, the information processing terminal 60 starts up the system and executes a function called system initialization, which initializes the built-in devices and connected device ports.

次にシステムパラメータ格納部67に格納されているシ
ステムパラメータを読み出す。例えばこの情報処理端末
器60が、複数のタスク処理を多重に行う機能を有する
マルチタらクオペレーティングシステム(以下マルチタ
スクO8と略す)を機器に組み込んでいる場合、通常は
タスクの数が2つ以上存在し、そのタスクプログラムの
開始番地が何番地か等の情報を持ち、これらの情報をシ
ステムパラメータ格納部67に書き込んでおき、使用開
始時にこの情報を読みだすことによって、ユーザプログ
ラム(ユーザタスク)の実行を開始する。
Next, the system parameters stored in the system parameter storage section 67 are read out. For example, if the information processing terminal 60 incorporates a multitask operating system (hereinafter abbreviated as multitask O8) that has the function of multiplexing multiple task processing, the number of tasks is usually two or more. A user program (user task) is created by writing this information into the system parameter storage unit 67, and reading this information at the time of starting use. Start execution.

このようなマルチタスクO8,システムイニシャライズ
プログラム、ユーザタスクを構成する方法に以下の3種
類が存在する。
There are the following three types of methods for configuring the multitask O8, system initialization program, and user task.

第1はマルチタスクO81システムイニシヤライズプロ
グラム、ユーザタスク全てをROM化したシステムがあ
る。このようなシステムのプログラムを開発する場合は
、通常開発装置側で開発したプログラムを、情報処理端
末器60の内部のマイクロコンピュータが実行可能なオ
ブジェクトコードに変換し、そのデータをROMの形に
して格納する場合が多い。その際に、ユーザのプログラ
ムだけでなく、マルチタスクO8のプログラムコードも
一緒にしてオブジェクトコードに変換される。そして内
部のタスクの数や、ユーザのプログラムの開始番地がど
こかというシステムパラメータもROM化される。
First, there is a system in which a multitasking O81 system initialization program and all user tasks are stored in ROM. When developing a program for such a system, the program developed by the development device is usually converted into object code that can be executed by the microcomputer inside the information processing terminal 60, and the data is stored in the form of a ROM. Often stored. At this time, not only the user's program but also the program code of the multitasking O8 is converted into object code. System parameters such as the number of internal tasks and the starting address of the user's program are also stored in the ROM.

第2はマルチタスクO8と、システムイニシャライズプ
ログラムだけがROM化されているシステムである。シ
ステムイニシャライズプログラムは前記のような初期化
動作を行い、外部機器から必要に応じてタスクプログラ
ムを読み込み、そのタスクを情報処理端末器60内で生
成して、マルチタスクOSに制御を移す。一番最初に動
くタスクは、システム立ち上げ用のシステムタスクであ
り、そのシステムタスクはユーザのタスクを生成し、ユ
ーザタスクへ制御を移し、自分自身をシステム内から削
除する。(本発明のシステム構成はこの第2の構成に該
当する。) 第3はマルチタスクO8もシステムイニシャライズプロ
グラムもユーザタスクもROM化されていない場合(パ
ーソナルコンピュータ用のO8がこれに該当する)は、
システム側に簡単なプートプログラムがROM化されて
いる。このプートプロクラムがマルチタスクoSやシス
テムイニシャライズプログラム等を外部装置から読み込
んで、内部に蓄え、後は第2のシステムと同様の動作を
行う。
The second is a system in which only the multitasking O8 and the system initialization program are stored in ROM. The system initialization program performs the initialization operation as described above, reads a task program from an external device as necessary, generates the task within the information processing terminal 60, and transfers control to the multitasking OS. The first task to run is the system task for system startup, which creates a user task, transfers control to the user task, and deletes itself from the system. (The system configuration of the present invention corresponds to this second configuration.) Thirdly, if neither the multitasking O8 nor the system initialization program nor the user task is stored in ROM (this applies to O8 for personal computers), ,
A simple boot program is stored in ROM on the system side. This put program reads the multitasking OS, system initialization program, etc. from an external device, stores it internally, and then performs the same operations as the second system.

第1のシステムは全てがROM化されているために、マ
ルチタスクO81ユーザタスクのどちらか一方、もしく
は両方のシステムの変更を行うには、必ず全てのROM
の交換をともなった。1店舗に1台づつ設置されるよう
な情報処理端末器60では、システムの変更を行うため
に、台数分のROMを全て交換せねばならないので、シ
ステムプログラムが度々変更されるようなシステムには
不向きである。
Since the first system is all ROMized, in order to change the system for either or both of the multitasking O81 user tasks, it is necessary to use all ROMs.
accompanied by the exchange of In the case of information processing terminals 60 that are installed one at a time in each store, in order to change the system, all the ROMs for the number of terminals must be replaced, so this is not suitable for systems where the system program is frequently changed. Not suitable.

第3のシステムでは、起動時に必ず外部装置を必要とし
、システム全体が大規模になってしまうとともに(サー
ビスプログラム起動するために、フロッピーディスク装
置等の外部装置を必要とするが、起動後は外部装置は不
必要になってしまう)システムの立ち上げに多くの時間
を費やしてしまう欠点もあり、やはり店舗に設置するよ
うな情報処理端末器6oには、不適当である。
The third system always requires an external device at startup, making the entire system large-scale (in order to start the service program, an external device such as a floppy disk device is required, but after startup There is also the disadvantage that it takes a lot of time to start up the system (the device becomes unnecessary), so it is unsuitable for the information processing terminal 6o that is installed in a store.

従って、必要時にのみ外部からプログラム(ユーザタス
ク)を読みむ機能を有し、それ以外は一度読み込んだプ
ログラムを内部に蓄えておいて、そのプログラムを実行
するように構成できる第2のシステムが適当である。こ
の第2のシステムを用いたプログラム開発は、次のよう
に行われる。
Therefore, it is appropriate to have a second system that has a function to read a program (user task) from the outside only when necessary, and can be configured to store the loaded program internally and execute the program at other times. It is. Program development using this second system is performed as follows.

端末器の内部で動作させるタスクをプログラムコードに
変換するために、プログラム開発装置側で、アセンブラ
もしくはコンパイラと呼ばれるプログラムを実行する。
A program called an assembler or compiler is executed on the program development device side in order to convert the tasks to be executed inside the terminal device into program code.

アセンブラとは、アセンブリ言語で書かれたソースプロ
グラムを機械語に変換するプログラムのことである。ま
たコンパイラとはRASICやCのような高級言語で書
かれたソースプログラムを、機械語に変換するプログラ
ムのことである。アセンブラによって、ソースプログラ
ムを機械語に変換することを、アセンブルすると呼び、
同様にコンパイラにより、高級言語で書かれたプログラ
ムを機械語に変換することをコンパイルと呼ぶ。アセン
ブルやコンパイルヲ行ったのちに、そのプログラムの実
行開始番地等を定めるために、リンクと呼ばれる処理を
行う。リンクはリンカと呼ばれるプログラムが実行する
。リンクまで行われた状態のプログラムは、すぐに実行
可能なオブジェクトコードのデータ列に変換されている
ので、メモリにそのデータ列を書き込んでおくことによ
って、情報処理端末器60を動作させることが可能とな
る。つまり、開発装置側でプログラムを作成した後に、
アセンブルもしくはコンパイルし、次にリンクして情報
処理端末器60内で実行可能なデータ列に変換しなけれ
ばならない。
An assembler is a program that converts source programs written in assembly language into machine language. A compiler is a program that converts a source program written in a high-level language such as RASIC or C into machine language. Converting a source program into machine language using an assembler is called assembling.
Similarly, the process of converting a program written in a high-level language into machine language using a compiler is called compilation. After assembling and compiling, a process called linking is performed to determine the execution start address of the program. Linking is performed by a program called a linker. Since the program that has been linked has been converted into a data string of object code that can be executed immediately, it is possible to operate the information processing terminal device 60 by writing that data string into memory. becomes. In other words, after creating a program on the development equipment side,
It must be assembled or compiled and then linked to convert it into a data string that can be executed within the information processing terminal 60.

発明が解決しようとする課題 しかしながら従来の技術内で述べた第2のシステムをも
ちいた情報処理端末器の構成では、次のような課題があ
った。
Problems to be Solved by the Invention However, the configuration of an information processing terminal using the second system described in the prior art section has the following problems.

現在あるアプリケーションタスクプログラムを変更した
い時に、開発時に用いた情報であるタスク数や、アプリ
ケーションタスクプログラムのコードサイズ、実行開始
番地等の情報を外部から供給しなければならない。しか
し、リンク後の実行可能なオブジェクトコードのデータ
列の情報には、A番地には、Bデータという情報しか持
っていないために、情報処理端末器内でタスクプログラ
ムの開始番地や、タスク数を知ることができないという
課題が生じる。また現在あるアプリケーションタスクプ
ログラムを変更したい時に、タスク数や、タスクプログ
ラムの開始番地を変更する手段を持たない。つまりシス
テムパラメータ格納部の内部の値を変更する手段を持た
ないため、バージョンアップ等で、タスクプログラムコ
ードのサイズが変更された場合に、対応することが困難
であった。
When it is desired to change an existing application task program, the information used during development, such as the number of tasks, the code size of the application task program, and the execution start address, must be externally supplied. However, in the data string information of the executable object code after linking, the A address only has the information B data, so the start address of the task program and the number of tasks cannot be stored in the information processing terminal. The problem arises of not being able to know. Furthermore, when it is desired to change the current application task program, there is no means to change the number of tasks or the start address of the task program. In other words, since there is no means to change the internal values of the system parameter storage unit, it is difficult to deal with changes in the size of the task program code due to version upgrades or the like.

本発明はこのような課題を解決するもので、外部機器側
からマルチタスクO8を搭載した情報処理端末器内に、
アプリケージジンタスクプログラムをロードする際に、
タスクプログラムコードの入力手段と、タスク数の入力
手段と、タスクプログラムの実行開始番地の入力手段を
持ち、端末器内で、内部のシステム変数を再構成するこ
とにより、任意にマルチタスクプログラムを変更できる
機能を持たせたものである。
The present invention is intended to solve such problems, and allows the information processing terminal equipped with the multitasking O8 to be accessed from the external device side.
When loading the app cage gin task program,
It has a means for inputting the task program code, a means for inputting the number of tasks, and a means for inputting the execution start address of the task program, and the multitasking program can be changed arbitrarily by reconfiguring the internal system variables in the terminal device. It has functions that can be used.

課題を解決するだめの手段 前記課題を解決するために、本発明は、情報処理の作業
単位であるタスクを、複数個実行する機能を有するマル
チタスクオペレーティングシステムのプログラムコード
を記憶したROMと、マルチタスクオペレーティングシ
ステムの起動条件ノくラメータを保存する機能を有する
システムノくラメータ格納部と、システムパラメータ格
納部から起動条件パラメータを読み出す機能を有するシ
ステムパラメータ読み取り部と、起動条件パラメータを
用いて、マルチタスクオペレーティングシステムに必要
とされるシステム領域を確保する機能を有するシステム
テーブル作成部と、マルチタスクオペレーティングシス
テムの起動時に、システムパラメータ格納部の内部の値
を変更することによって、タスクの個数を任意に変更す
る実行手段とを有するものにしたものである。
Means for Solving the Problems In order to solve the problems described above, the present invention provides a ROM that stores program codes for a multitasking operating system that has the function of executing a plurality of tasks, which are work units of information processing; A system parameter storage section that has a function of storing the startup condition parameter of the task operating system, a system parameter reading section that has a function of reading the startup condition parameter from the system parameter storage section, and a multi-function system using the startup condition parameter. The system table creation part has the function of securing the system area required for the task operating system, and the number of tasks can be set arbitrarily by changing the internal values of the system parameter storage part when starting the multitasking operating system. and an execution means for changing the information.

作用 この構成により、外部機器からロードされたプログラム
のタスクの数や実行開始番地が変更することが可能とな
り、マルチタスクO8環境下で各タスクを実行すること
できるので、情報処理端末器のマルチタスクプログラム
の開発、及びプログラム変更を容易に行うことができる
Effect This configuration allows the number of tasks and execution start address of a program loaded from an external device to be changed, and each task can be executed in a multitasking O8 environment, so multitasking of an information processing terminal is possible. Program development and program changes can be easily performed.

実施例 以下本発明の詳細な説明する。第1図は本発明の第1の
実施例の情報処理端末器の構成図である。第1図におい
て、10はここで説明する情報処理端末器、1は情報処
理端末器10内の制御をつかさどるO8が保存されてい
るマルチタスクオペレーティングシステムプログラムコ
ードを記憶したROMである。7はタスク数や、タスク
プログラムの実行開始番地等が保存されているシステム
パラメータ格納部、3はシステムパラメータ格納部7に
保存されている各システムパラメータを読み出し、その
適性を判定する機能を有するシステムパラメータ読み取
り部、6は読み取ったシステムパラメータを用いて、実
際にマルチタスクオペレーティングシステムの動作を開
始させるために、用意されるシステムテーブルを作成す
る機能を有するシステムテーブル作成部である。
EXAMPLES The present invention will be described in detail below. FIG. 1 is a block diagram of an information processing terminal according to a first embodiment of the present invention. In FIG. 1, reference numeral 10 denotes an information processing terminal to be described herein, and 1 denotes a ROM storing a multitasking operating system program code in which O8, which controls the inside of the information processing terminal 10, is stored. 7 is a system parameter storage section in which the number of tasks, the execution start address of the task program, etc. are stored, and 3 is a system having a function of reading out each system parameter stored in the system parameter storage section 7 and determining its suitability. The parameter reading unit 6 is a system table creation unit that uses the read system parameters to create a system table prepared for actually starting the operation of the multitasking operating system.

この情報処理端末器10の内部の処理の手順を詳細に示
すために、第1図の情報処理端末器1゜を詳しく示した
第2図で説明する。第2図中の8はシステムパラメータ
格納部7内の情報であるタスク数を格納するタスク数格
納領域、9はユーザのタスクプログラムの実行開始番地
等の情報を格納するタスクプログラム開始番地格納領域
、2はシステムパラメータを変更したり、入力したりす
る機能を有するシステムパラメータ生成部、6はシステ
ムテーブル作成後、タスクプログラムを実行する機能を
有するタスクプログラム実行部である。
In order to show the internal processing procedure of this information processing terminal device 10 in detail, it will be explained with reference to FIG. 2, which shows the information processing terminal device 1° of FIG. 1 in detail. 2, 8 is a task number storage area for storing the number of tasks which is information in the system parameter storage unit 7; 9 is a task program start address storage area for storing information such as the execution start address of the user's task program; Reference numeral 2 denotes a system parameter generation unit having a function of changing or inputting system parameters, and 6 a task program execution unit having a function of executing a task program after creating a system table.

まず本情報処理端末器10を起動すると、従来例の中で
述べたシステムイニシャライズプログラムが動作する。
First, when the information processing terminal 10 is started, the system initialization program described in the conventional example runs.

第3図のように、システムパラメータ読み取り部3が複
数の各システムパラメータを読み出して、マルチタスク
O8を起動するに該当しうる全てのパラメータが書き込
み済みか否かを判定する。書き込み済みならば、情報処
理端末器1oがもつキーボード等の入力装置から、シス
テムパラメータを変更したいという要求が発せられてい
るか否かを判定する。要求が無ければ、各パラメータの
有効性の判定を行う。個々のパラメータの判定が終われ
ば、複数のパラメータが相互に関連する複合判定の処理
を行う。この結果が正常と判定されなければ、システム
パラメータ生成部2が起動され、各パラメータの入力を
行う。この入力手段については後で述べる。判定結果が
正常と判定されれば、システムテーブル作成部6におい
て、マルチタスクO8を動作させる必要なシステムテー
ブルを作成する。実際には、各タスクの状態を保存する
場所の確保、システム内のスタックの位置を定めスタッ
ク領域の確保等の、マルチタスクのシステムが動作して
いる時の情報が管理、保存するシステムテーブルが生成
される。次に、タスクプログラム実行部6において、マ
ルチタスクO8環境下でタスクプログラムの実行を開始
する。
As shown in FIG. 3, the system parameter reading unit 3 reads out each of the plurality of system parameters and determines whether all the parameters that can be used to start the multitasking O8 have been written. If the information has been written, it is determined whether a request to change the system parameters has been issued from an input device such as a keyboard of the information processing terminal 1o. If there is no request, the validity of each parameter is determined. After the determination of each individual parameter is completed, a composite determination process in which a plurality of parameters are mutually related is performed. If the result is not determined to be normal, the system parameter generation unit 2 is activated and inputs each parameter. This input means will be described later. If the determination result is determined to be normal, the system table creation unit 6 creates a system table necessary for operating the multitasking O8. In reality, there are system tables that manage and save information when a multitasking system is operating, such as securing a place to save the state of each task, determining the stack position in the system, and securing the stack area. generated. Next, the task program execution unit 6 starts executing the task program under the multitasking O8 environment.

システムパラメータが書き込み済みでなかった場合、も
しくはシステムパラメータの変更要求があった場合、も
しくは、パラメータの判定結果が正常と判定されなかっ
た場合は、システムパラメータ生成部2が起動され、各
パラメータの入力を実行する。システムパラメータ格納
部7内のパラメータは、前記で述べたタスク数や、タス
クプログラム実行開始番地の他に、第4図に示す情報で
構成されている場合を説明する。14はタスク毎もしく
は全てのタスクに共通なスタックのサイズを格納するス
タックサイズ格納領域である。16と16は同時に独立
に動作するタスク間の同期をとるために用いられる、メ
ールボックス(メールボックスの定義については後で述
べる)の数とサイズを格納する、メールボックス数格納
領域とメールボックスサイズ格納領域である。17は情
報処理端末器10内に実装されているメモリのサイズを
示すメモリサイズ格納領域である。18は情報処理端末
器1Qに接続できる外部機器とのインタフェース仕様等
の情報を格納するコミュニケーションポート設定値領域
である。
If the system parameters have not been written, or if there is a request to change the system parameters, or if the parameter determination results are not determined to be normal, the system parameter generation unit 2 is activated and each parameter is input. Execute. A case will be explained in which the parameters in the system parameter storage section 7 are composed of information shown in FIG. 4 in addition to the number of tasks and the task program execution start address described above. 14 is a stack size storage area that stores the stack size common to each task or all tasks. 16 and 16 are the mailbox number storage area and mailbox size, which store the number and size of mailboxes (the definition of mailboxes will be described later), which are used to synchronize tasks that operate simultaneously and independently. This is a storage area. Reference numeral 17 is a memory size storage area indicating the size of memory installed in the information processing terminal 10. 18 is a communication port setting value area that stores information such as interface specifications with external devices that can be connected to the information processing terminal 1Q.

複数のタスクが同時に、並列に処理されるために、タス
ク数はもちろん、タスク毎のスタックや、タスクプログ
ラム開始番地情報等が必要である。
Since a plurality of tasks are processed simultaneously and in parallel, not only the number of tasks but also the stack for each task, task program start address information, etc. are required.

またメールボックスは各自並列に動作している複数のタ
スク間で同期をとる時(タスクム内の処理人と、タスク
B内の処理Bが終了した時点で、タスクCの処理を開始
する等)に使われる。タスク毎にスタックサイズ格納領
域14を設ける構成を採用した場合は、タスク数に比例
してスタックサイズ格納領域14も大きくなる。第4図
に示す情報は、利用するアプリケーション毎に異なるの
で、これらの情報は、外部から変更できる構成にするこ
とが求められる。また−度格納された情報は、変更要求
が発せられないかぎり、内部の情報が変更しないような
構成をとる必要がある。これらの情報は、不揮発性でか
つ何度も書き換え可能なメモリである。EEFROMや
バッテリバックアップされたRAM等に書き込まれ保存
される。また−度入力されたタスクプログラムも同様な
メモリ構成を用いて保存される。
Also, the mailbox is used when synchronizing multiple tasks that are each running in parallel (for example, starting task C processing when processing B in task B finishes with the processor in task B). used. When a configuration in which a stack size storage area 14 is provided for each task is adopted, the stack size storage area 14 also increases in proportion to the number of tasks. Since the information shown in FIG. 4 differs depending on the application used, it is required that this information be configured to be changeable from the outside. Furthermore, it is necessary to adopt a structure in which the internal information is not changed unless a change request is issued for the stored information. This information is non-volatile memory that can be rewritten many times. It is written and saved in EEFROM, battery-backed RAM, etc. Furthermore, task programs that have been input repeatedly are also stored using the same memory structure.

マルチタスクO8をROMで供給する理由は、第1にO
Sコードの保護である。開発者側でコードの内部を変更
され、システムの誤動作を防ぐ目的がある。店舗に設置
しである端末器が誤動作した場合、ユーザが任意に変更
したOSを使うと、修正箇所の発見が難しくなる。また
OSコードの著作権保護にもつながる。フロッピーディ
スク等で供給すると管理も大変になるし、無断でコピー
されやすい。ROMで供給することによって、ユーザは
情報処理端末器10に差し込んであるROMのみの管理
をすれば良い。ROMのコピーを防ぐためには、ROM
コード内に特定の番号を入れておき、端末器のインスト
ール時にその番号が照合されないと、設置できないよう
に構成する方法がある。もしくは別にセキュリティボッ
クス等とペアで設置者に配り、セキュリティボックスが
無いとインストールできないように構成し、インストー
ル終了後、セキュリティボックスを返却するような構成
をとってもよい。
The reason why multitasking O8 is provided in ROM is that
This is the protection of the S code. The code is changed by the developer to prevent system malfunctions. If a terminal installed in a store malfunctions, if the user uses an OS that has been arbitrarily modified, it will be difficult to find the fix. It also leads to copyright protection of the OS code. If it is provided on a floppy disk, it will be difficult to manage and it will be easy to copy without permission. By supplying the data in ROM, the user only has to manage the ROM inserted into the information processing terminal 10. To prevent ROM copying, ROM
There is a method of configuring a device by including a specific number in the code so that the terminal cannot be installed unless that number is verified during installation. Alternatively, a configuration may be adopted in which the system is distributed to installers in pairs with a security box, etc., so that installation cannot be performed without the security box, and the security box is returned after the installation is completed.

第2にO8のバージョンアップ等が発生しても、O8の
入ったROMを交換するだけで、タスクプログラムが入
ったメモリを交換したり、改めて開発装置からプログラ
ムをロードする必要はない。
Second, even if an O8 version upgrade occurs, it is only necessary to replace the ROM containing the O8, and there is no need to replace the memory containing the task program or to load the program anew from the development device.

また情報処理端末器1oに接続できるコミュニケーショ
ンポート設定値領域18に保存されている情報もアプリ
ケーションが異なる毎に違ってくる。また情報処理端末
器1oの使われかたでも違ってくる。例えば店舗の利用
者数や、設備の価格等を考慮して、低速のプリンタを使
う場合と、高速のプリンタを使う場合を考えると、同じ
入出力ポートに接続されていても、使い方が随分違って
くる。これら店舗毎の異なる仕様にも適宜対応できる構
成をとる必要がある。
Furthermore, the information stored in the communication port setting area 18 that can be connected to the information processing terminal 1o also differs depending on the application. It also depends on how the information processing terminal 1o is used. For example, considering the number of users in a store, the price of equipment, etc., when using a low-speed printer and when using a high-speed printer, the usage may be quite different even if they are connected to the same input/output port. It's coming. It is necessary to adopt a configuration that can appropriately accommodate the different specifications of each store.

次にシステムパラメータ読み取り部3の構成例を第6図
に示す。301,309は該当するパラメータを個々に
判定する機能を有する該当パラメータ判定部である。3
10は情報処理端末器10がもつ入力装置から発せられ
たシステムパラメータの変更要求を受は付ける機能を有
するシステムパラメータ変更要求受付部である。311
は該当パラメータ判定部301.309の処理結果やシ
ステムパラメータ変更要求受付部の要求を判定し、シス
テムパラメータの生成手段を認め、システムパラメータ
生成部2を起動するか否かを決めるシステムパラメータ
生成部である。312は個々のシステムパラメータの判
定が正常と認定された後に、複数のパラメータによって
複合的に判定する機能を有するパラメータ複合判定部で
ある。ノくラメータ複合判定部312は、例えばタスク
の数が増え、タスク毎にスタックを割り当てた場合、各
スタックの領域の合計が、内蔵しているメモリのサイズ
を越えていないか等を判定する。システムパラメータ読
み取り部3は、各システムノくラメータの正当性、及び
相互に関連のあるシステムノくラメータの複合判定を行
い、マルチタスクoSが正常に起動され、各タスクの処
理を実行中に、メモリ不足のようなシステム異常を起こ
さないように、各システムパラメータを判定するもので
ある。
Next, an example of the configuration of the system parameter reading section 3 is shown in FIG. Reference numerals 301 and 309 indicate relevant parameter determining units having a function of individually determining relevant parameters. 3
Reference numeral 10 denotes a system parameter change request reception unit having a function of accepting and accepting system parameter change requests issued from an input device included in the information processing terminal 10. 311
is a system parameter generation unit that judges the processing results of the corresponding parameter judgment units 301 and 309 and the request of the system parameter change request reception unit, approves the system parameter generation means, and decides whether or not to start the system parameter generation unit 2. be. Reference numeral 312 is a parameter composite determination unit having a function of making a composite determination based on a plurality of parameters after the determination of each individual system parameter is certified as normal. For example, when the number of tasks increases and a stack is allocated to each task, the parameter composite determination unit 312 determines whether the total area of each stack exceeds the size of the built-in memory. The system parameter reading unit 3 performs a composite judgment of the validity of each system parameter and mutually related system parameters, and when the multitasking OS is normally activated and the processing of each task is being executed. Each system parameter is determined to prevent system abnormalities such as memory shortages.

システムテーブル生成部5の構成例を第6図に示す。第
6図で602は、各タスクの状態を保存する場所の確保
、システム内のスタックの位置を定めスタック領域の確
保等の、マルチタスクのシステムが動作している時の情
報がおさめられる場所を獲得する機能を有するシステム
作業領域獲得部である。503は各タスクが動作を開始
するために必要な変数(各タスクの番号や、優先順位等
)を設定する機能を有するシステム変数設定部である。
An example of the configuration of the system table generation section 5 is shown in FIG. In Fig. 6, 602 indicates a place where information is stored when the multitasking system is operating, such as securing a place to save the state of each task, determining the position of the stack in the system, and securing the stack area. This is a system work area acquisition unit that has the function of acquiring. A system variable setting unit 503 has a function of setting variables (number, priority, etc. of each task) necessary for each task to start its operation.

システムの作業領域を確保し、システム変数の初期設定
を行うことによって、マルチタスクO8環境下で各タス
クの動作を開始するだめの条件が全て完了する。
By securing a system work area and initializing system variables, all the conditions for starting the operation of each task under the multitasking O8 environment are completed.

システムテーブルを毎回構成しなおす理由は、以前使わ
れていたメモリの不要情報部分を取り払い、できるだけ
メモリを有効に活用しようとするものである。
The reason for reconfiguring the system table each time is to remove unnecessary information from previously used memory and to use memory as effectively as possible.

第7図はシステムパラメータを変更する例を示す図であ
る。31は情報処理端末器10の入力装置であるキーボ
ード、33は出力装置のデイスプレィ、44は情報処理
端末器10に接続される外部機器で、プログラム等を開
発する機器でもあるパーソナルコンピュータ、43は情
報処理端末器1oとバーンナルコンピュータ44を接続
するR、S−232やGP−IB、I、AM等の接続ケ
ーブルである。キーボード31の特定キーを入力するこ
とによって、システムパラメータの入力が開始される。
FIG. 7 is a diagram showing an example of changing system parameters. 31 is a keyboard which is an input device of the information processing terminal 10, 33 is a display which is an output device, 44 is an external device connected to the information processing terminal 10 and is a personal computer which is also a device for developing programs etc., 43 is an information These are connection cables such as R, S-232, GP-IB, I, and AM that connect the processing terminal device 1o and the burner computer 44. By inputting a specific key on the keyboard 31, input of system parameters is started.

第8図のように、まず入力すべきパラメータのメニュー
がデイスプレィ33や、パーンナルコンピュータ44側
に出力される。次にキーボード31からの入力を行いた
いときは、該轟パラメータをメニューに従って入力する
。キーボード31からの入力が行われた場合、ここでは
パーソナルコンピュータ44との通信は中断され、デー
タ入力終了までキーボード31からの入力しか受は付け
ない構成をとっている。一方パーソナルコンピュータ4
4から該当パラメータが送られてきた場合は、キーボー
ド31の入力を無効にし、パーソナルコンピュータ44
とのコミュニケーションポートを有効にする。このよう
にどちらか−方の入力のみ有効にした理由は、同時に同
じパラメータに対して、異なった値が入力された場合、
どちらを有効にするかが判定が難しく、先に入力が行わ
れた方を有効と判定する構成をとったためである。別の
例として、入力装置に優先順序をつければ、複数の入力
装置からの、パラメータを受は付け、優先順序の高い装
置の値を採用するようにも構成できる。
As shown in FIG. 8, a menu of parameters to be input is first output to the display 33 or the personal computer 44. Next, when it is desired to input from the keyboard 31, the relevant parameters are input according to the menu. When an input is made from the keyboard 31, communication with the personal computer 44 is interrupted, and only input from the keyboard 31 is accepted until data input is completed. On the other hand, personal computer 4
If the relevant parameter is sent from PC 4, the keyboard 31 input is disabled and the personal computer 44
Enable the communication port with. The reason why only one input is valid is that if different values are input for the same parameter at the same time,
This is because it is difficult to determine which one is valid, and the configuration is such that the one inputted first is determined to be valid. As another example, if input devices are prioritized, parameters from multiple input devices can be accepted and the value of the device with a higher priority can be adopted.

ただしシステムパラメータ値を変更できる入力装置の限
定を行う必要がある。例えば情報処理端末器1Qに不正
使用者が、外部から不正アクセスできないような構成を
とることが必要である。予め情報処理端末器10に登録
されている入力装置と、登録番号を照会しないと変更で
きないように構成したり、外部装置と接続する場合は、
前記O8をROMで供給する理由内で述べたように、セ
キュリティボックス等を利用する方法がある。
However, it is necessary to limit the input devices that can change system parameter values. For example, it is necessary to adopt a configuration that prevents unauthorized users from accessing the information processing terminal 1Q from outside. When configuring an input device registered in the information processing terminal 10 in advance so that it cannot be changed without inquiring the registration number, or when connecting to an external device,
As mentioned in the reason for supplying O8 in ROM, there is a method of using a security box or the like.

このセキュリティボックスを間に入れて外部装置と接続
しないと、システムパラメータを変更できないように構
成すれば良い。
The configuration may be such that system parameters cannot be changed unless this security box is inserted and connected to an external device.

システムパラメータの入力完了後、外部機器である開発
装置側で開発したプログラムのオブジェクトコードのデ
ータ列を、情報処理端末器10側にロードする。ロード
が正常に終了すれば、ロードされたタスクプログラムが
起動され、処理が開始される。
After inputting the system parameters is completed, the data string of the object code of the program developed by the development device, which is an external device, is loaded into the information processing terminal 10. If the loading is completed normally, the loaded task program is activated and processing begins.

プログラムが正常にロードされたか否かのロード判定方
法は、入力されたタスクプログラム開始番地を指すメモ
リにタスクプログラムコードがロードされて内部データ
コードが変更されているか否かを判定し、また必要に応
じてプログラムコードに各種誤り発見、訂正符号を追加
し、情報処理端末器10側で誤りがあるか否かを演算す
るように構成すればよい。
The loading method to determine whether the program has been loaded normally is to determine whether the task program code has been loaded into the memory pointing to the input task program start address and whether or not the internal data code has been changed. Accordingly, various error detection and correction codes may be added to the program code, and the information processing terminal 10 may be configured to calculate whether or not there is an error.

異常処理発見時は、情報処理端末器10が暴走して内部
のデータをできるだけ破壊しないようにするため、例え
ば異常処理を発見したという表示をデイスプレィ等に表
示したまま、その後の処理を一切実行しないように構成
すればよい。その時に異常処理の詳細な情報も表示する
ようにすれば、店舗毎の対応策をとりやすいし、開発時
においても、どこの部分のバグか判定しやすい。
When an abnormal process is detected, in order to prevent the information processing terminal 10 from going out of control and destroying internal data as much as possible, for example, a message indicating that an abnormal process has been detected is displayed on the display, but no further processing is executed. You can configure it like this. If detailed information about the abnormality processing is also displayed at that time, it will be easier to take countermeasures for each store, and it will be easier to determine which part of the bug is occurring during development.

また−度システムパラメータ及び、プログラムを格納し
たあとは、情報処理端末器の設置者が変更要求を出さな
いかぎり、前記パラメータ及びプログラムを変更するこ
とはない。前述したようにこれらのシステムパラメータ
及びタスクプログラムはバックアップされたRAMもし
くはICEFROMに保存されており、情報処理端末器
10の動作開始時に、システムパラメータ読み取り部3
でシステムパラメータが書き込み済みと判定され、後は
第3図で示したように処理が自動的に進み、タスクプロ
グラムが起動され、処理を開始することができる。
Furthermore, once the system parameters and programs have been stored, they will not be changed unless the installer of the information processing terminal issues a change request. As mentioned above, these system parameters and task programs are stored in the backed up RAM or ICEFROM, and when the information processing terminal 10 starts operating, the system parameter reading section 3
When it is determined that the system parameters have been written, the process automatically proceeds as shown in FIG. 3, the task program is started, and the process can be started.

本実施例の効果をまとめると、第1に開発装置側で開発
した複数のタスクプログラムを、情報処理端末器10に
ロードして実行するに必要な、タスクの数や、実行開始
番地を入力する手段を有すること。第2にO8の起動時
に、タスク数等のシステムパラメータの内容により、シ
ステムテーブルを毎回作成しなおす構成にしたことによ
り、各タスクプログラムの処理を可能にする前記システ
ムテーブルを構成しなおす機能をもつこと。第3にシス
テムパラメータの入力手段を複数もつことである。
To summarize the effects of this embodiment, firstly, the number of tasks and execution start address required to load and execute multiple task programs developed on the development device side into the information processing terminal 10 are input. have the means. Second, when O8 is started, the system table is re-created each time depending on the contents of system parameters such as the number of tasks, so it has the ability to re-configure the system table to enable processing of each task program. thing. Thirdly, it has a plurality of input means for system parameters.

発明の効果 以上述べてきたように、本発明はシステムパラメータ格
納部に格納される各パラメータ値を変更する手段を有す
ることで、外部機器からロードされたプログラムのタス
クの数や実行開始番地が変更することが可能となり、マ
ルチタスクO8環境下で各タスクを実行することできる
ので、マルチタスクプログラムの開発、及びプログラム
変更を容易に行うことができる情報処理端末器を提供す
ることができる。
Effects of the Invention As described above, the present invention has means for changing each parameter value stored in the system parameter storage unit, so that the number of tasks and the execution start address of a program loaded from an external device can be changed. Since each task can be executed in a multitasking O8 environment, it is possible to provide an information processing terminal that can easily develop multitasking programs and change programs.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例の情報処理端末器の構成図、
第2図は第1図の情報処理端末器の詳細な構成図、第3
図は本実施例の情報処理端末器の処理内容を示す図、第
4図は本実施例のシステムパラメータ格納部の構成図、
第6図は本実施例のシステムパラメータ読み取り部の構
成図、第6図は本実施例のシステムテーブル作成部の構
成図、第7図は本実施例の情報処理端末器と外部機器と
利用したプログラム開発装置の構成図、第8図は第7図
におけるプログラム開発の手順を示した図、第9図は従
来の情報処理端末器の構成図である。 1・・・・・・ROM、3・・・・・・システムパラメ
ータ読み取す部、6°°°°゛°システムテ一ブル作成
部、7・・・・・・システムパラメータ格納部、10・
・・・・・情報処理端末器。 代理人の氏名 弁理士 粟 野 重 孝 ほか1名第 図 10情報処理搗禾魯 第 図 第 図 第 図 第 図 第 図 キーホード 43層城γ−ラル 第 図 第 図 システムテーブル作成郁
FIG. 1 is a configuration diagram of an information processing terminal according to an embodiment of the present invention;
Figure 2 is a detailed configuration diagram of the information processing terminal shown in Figure 1;
FIG. 4 is a diagram showing the processing contents of the information processing terminal of this embodiment, and FIG. 4 is a configuration diagram of the system parameter storage unit of this embodiment.
Fig. 6 is a block diagram of the system parameter reading unit of this embodiment, Fig. 6 is a block diagram of the system table creation unit of this embodiment, and Fig. 7 is a block diagram of the system parameter reading unit of this embodiment. FIG. 8 is a diagram showing the program development procedure in FIG. 7, and FIG. 9 is a diagram showing the configuration of a conventional information processing terminal. 1...ROM, 3...System parameter reading unit, 6°°°°°゛° system table creation unit, 7...System parameter storage unit, 10.
...Information processing terminal. Name of agent Patent attorney Shigetaka Awano and 1 other person Figure 10 Information processing Figure Figure Keyboard 43 layer castle γ-ral Figure Figure System table creation Iku

Claims (1)

【特許請求の範囲】 (1)情報処理の作業単位であるタスクを、複数個実行
する機能を有するマルチタスクオペレーティングシステ
ムのプログラムコードを記憶したROMと、前記マルチ
タスクオペレーティングシステムの起動条件パラメータ
を保存する機能を有するシステムパラメータ格納部と、
前記システムパラメータ格納部から前記起動条件パラメ
ータを読み出す機能を有するシステムパラメータ読み取
り部と、前記起動条件パラメータを用いて、前記マルチ
タスクオペレーティングシステムに必要とされるシステ
ム領域を確保する機能を有するシステムテーブル作成部
と、前記マルチタスクオペレーティングシステムの起動
時に、前記システムパラメータ格納部の内部の値を変更
することによって、前記タスクの個数を任意に変更する
実行手段とを有する情報処理端末器。 (2)システムパラメータ格納部の値を、内蔵した入力
機器、もしくは外部機器から変更できる機能を有するシ
ステムパラメータ生成部を設けた請求項1記載の情報処
理端末器。(3)システムパラメータ格納部を、タスク
の数を格納する機能を有するタスク数格納領域と、前記
タスクのプログラム開始番地を格納する機能を有するユ
ーザプログラム開始番地格納領域とで構成し、複数のタ
スクの内で、任意のタスクプログラムを実行する実行手
段を設けた請求項1記載の情報処理端末器。 (4)情報処理端末器に接続された外部機器から、複数
のタスクのプログラムをロードする手段と、ロードされ
た複数のタスクのプログラムの開始番地を前記ユーザプ
ログラム開始番地格納領域に、タスクの数を前記タスク
数格納領域にそれぞれ格納する手段を有する請求項3記
載の情報処理端末器。
[Scope of Claims] (1) A ROM that stores the program code of a multitasking operating system that has the function of executing a plurality of tasks that are work units of information processing, and stores startup condition parameters of the multitasking operating system. a system parameter storage unit having the function of
a system parameter reading section having a function of reading out the startup condition parameters from the system parameter storage section; and creating a system table having a function of securing a system area required for the multitasking operating system using the startup condition parameters. and execution means for arbitrarily changing the number of tasks by changing an internal value of the system parameter storage when the multitasking operating system is started. (2) The information processing terminal device according to claim 1, further comprising a system parameter generation section having a function of changing the value of the system parameter storage section from a built-in input device or an external device. (3) The system parameter storage unit is configured with a task number storage area that has a function of storing the number of tasks, and a user program start address storage area that has a function of storing the program start address of the task, and 2. The information processing terminal according to claim 1, further comprising an execution means for executing an arbitrary task program. (4) means for loading programs for a plurality of tasks from an external device connected to an information processing terminal; and storing the start addresses of the loaded programs for the plurality of tasks in the user program start address storage area, the number of tasks; 4. The information processing terminal according to claim 3, further comprising means for storing each of the task number storage areas in the task number storage area.
JP19654388A 1988-08-05 1988-08-05 Information processing terminal equipment Pending JPH0244429A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19654388A JPH0244429A (en) 1988-08-05 1988-08-05 Information processing terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19654388A JPH0244429A (en) 1988-08-05 1988-08-05 Information processing terminal equipment

Publications (1)

Publication Number Publication Date
JPH0244429A true JPH0244429A (en) 1990-02-14

Family

ID=16359489

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19654388A Pending JPH0244429A (en) 1988-08-05 1988-08-05 Information processing terminal equipment

Country Status (1)

Country Link
JP (1) JPH0244429A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5186882A (en) * 1990-11-29 1993-02-16 Robert Bosch Gmbh Method for mounting a filter on the valve
US5688355A (en) * 1994-10-03 1997-11-18 Xerox Corporation Process for fabricating flexible belts using laser ablation

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5186882A (en) * 1990-11-29 1993-02-16 Robert Bosch Gmbh Method for mounting a filter on the valve
US5688355A (en) * 1994-10-03 1997-11-18 Xerox Corporation Process for fabricating flexible belts using laser ablation

Similar Documents

Publication Publication Date Title
JP4199923B2 (en) Mobile device application installation method
Richter Applied Microsoft. NET framework programming
US7669201B2 (en) System and method for common file installation
US6920631B2 (en) Software installation and validation using custom actions
US6550061B1 (en) System and method for modifying configuration files in a secured operating system
EP1133738B1 (en) Method and apparatus for new device driver installation by an operating system
RU2443012C2 (en) Configuration of isolated extensions and device drivers
US7519809B2 (en) Operating system-wide sandboxing via switchable user skins
US6349408B1 (en) Techniques for implementing a framework for extensible applications
US7873960B2 (en) Generic packaging tool for packaging application and component therefor to be installed on computing device
US20080222160A1 (en) Method and system for providing a program for execution without requiring installation
KR20010006997A (en) System and method for improving the manageability and usability of a java environment
WO1998027484A1 (en) Installation method and installation system for computer program
US20050246656A1 (en) User interfaces for developing enterprise applications
JP2010508578A (en) Platform authentication via transparent secondary factors
JP2004070945A (en) System and method for using firmware interface table to dynamically load ssdt of acpi
CA2016396C (en) Initial program load (ipl) based on an object abstraction for a data processing system
JPH0244429A (en) Information processing terminal equipment
Cisco 4 - Creating Accounting Policy Modules
Pitts et al. Red Hat Linux
Korn {UWIN}-{UNIX} for Windows
JPH05274282A (en) Method for information processing and device therefor
US20030212770A1 (en) System and method of controlling software components
JPH0962493A (en) Software installation system
JP2921480B2 (en) Method of starting maintenance mode in computer system