Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP2864528B2 - Message management method - Google Patents
[go: Go Back, main page]

JP2864528B2 - Message management method - Google Patents

Message management method

Info

Publication number
JP2864528B2
JP2864528B2 JP1110428A JP11042889A JP2864528B2 JP 2864528 B2 JP2864528 B2 JP 2864528B2 JP 1110428 A JP1110428 A JP 1110428A JP 11042889 A JP11042889 A JP 11042889A JP 2864528 B2 JP2864528 B2 JP 2864528B2
Authority
JP
Japan
Prior art keywords
message
file
message file
module
output
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.)
Expired - Fee Related
Application number
JP1110428A
Other languages
Japanese (ja)
Other versions
JPH02287856A (en
Inventor
和之 井出
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP1110428A priority Critical patent/JP2864528B2/en
Publication of JPH02287856A publication Critical patent/JPH02287856A/en
Application granted granted Critical
Publication of JP2864528B2 publication Critical patent/JP2864528B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は複数のメッセージファイルを格納する記憶手
段から特定のメッセージファイルをロードして、所望の
メッセージを出力するメッセージ管理方式に関する。
Description: BACKGROUND OF THE INVENTION The present invention relates to a message management system for loading a specific message file from storage means for storing a plurality of message files and outputting a desired message.

〔従来の技術〕[Conventional technology]

従来、メッセージを出力するメッセージ管理方式とし
ては、特開昭58−197557号公報、特開昭60−19012号公
報、特開昭62−172444号公報の各公報に記載されたもの
が知られている。
Conventionally, as a message management method for outputting a message, those described in JP-A-58-197557, JP-A-60-19012, and JP-A-62-172444 are known. I have.

上記特開昭58−197557号公報に記載された発明では、
メッセージを出力するプログラムを格納する記憶手段
と、メッセージを格納するメッセージ記憶手段とを設
け、記憶手段から読み出されたプログラムによりメッセ
ージ記憶手段からメッセージを読出して出力するように
している。
In the invention described in JP-A-58-197557,
A storage unit for storing a program for outputting a message and a message storage unit for storing a message are provided, and the program is read from the storage unit to read and output the message from the message storage unit.

また特開昭60−19012号公報に記載された発明では、
パラメータテーブルの識別コードに基づきメッセージ言
語ファイルから対応する識別コードを有するメッセージ
原文を取出し、該メッセージ原文中のタグに基づいてパ
ラメータテーブル中の対応するパラメータをメッセージ
文中に埋め込むようにしている。
In the invention described in JP-A-60-19012,
A message original having a corresponding identification code is extracted from the message language file based on the identification code of the parameter table, and the corresponding parameter in the parameter table is embedded in the message sentence based on the tag in the message original.

さらに特開昭62−172444号公報に記載された発明で
は、各国語で記述されたメッセージデータを管理する制
御手段と、前記メッセージデータからメッセージを組み
立てる編集手段を用いて複数言語のメッセージ作成する
ようにしている。
Further, in the invention described in Japanese Patent Application Laid-Open No. Sho 62-172444, a message in a plurality of languages is created using a control means for managing message data described in various languages and an editing means for assembling a message from the message data. I have to.

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

ところで、上記各公報に記載された発明では、メッセ
ージファイルを管理するプログラムもメッセージを発行
するプログラム(メッセージ発行元モジュール)内に存
在しており、そのメッセージ発行元モジュールが、複数
のメッセージファイルの中から、出力対象となっている
メッセージが保存されているメッセージファイルを特定
しなければならず、メッセージ発行元モジュール毎にメ
ッセージファイルの言語を変更したり、部分的な入れ替
えを行うことができなかった。
By the way, in the inventions described in the above publications, a program for managing a message file also exists in a program for issuing a message (message issuing module), and the message issuing module is included in a plurality of message files. Must specify the message file in which the message to be output is stored, and it was not possible to change the language of the message file for each message issuing module or to perform partial replacement .

本発明は上記欠点を解消し、メッセージ発行元モジュ
ール毎にメッセージファイルの言語を変更したり、部分
的な入れ替えを行うことのできるメッセージ管理方式を
提供することを目的とする。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a message management system which can solve the above-mentioned drawbacks and can change the language of a message file for each message issuing module or can perform partial replacement.

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

本発明は、メッセージを発行するモジュールから通知
された自己のモジュール名、および環境変数として予め
設定される言語種類またはユーザによる入力指示等のメ
ッセージファイルを特定する情報に基づいて、メッセー
ジファイルを特定するメッセージファイル管理手段を設
け、複数のメッセージファイルを格納している記憶手段
から、特定されたメッセージファイルをロードするよう
にしたものである。
According to the present invention, a message file is specified based on its own module name notified from a module that issues a message, and information specifying a message file such as a language type or an input instruction input by a user set in advance as an environment variable. A message file management means is provided, and a specified message file is loaded from a storage means storing a plurality of message files.

〔作用〕[Action]

本発明では、メッセージを発行する各モジュールは、
ロードされる毎に、自己のモジュール名をメッセージフ
ァイル管理手段に通知する。そのメッセージファイル管
理手段は、通知されたモジュール名、及び環境変数とし
て予め設定される言語種類またはユーザによる入力指示
等の情報に基づいて、メッセージファイルを特定する。
その特定されたメッセージファイルは、記憶手段から実
メモリにロードされる。
In the present invention, each module that issues a message
Each time it is loaded, it notifies its own module name to the message file management means. The message file management means specifies a message file based on the notified module name and information such as a language type or an input instruction input by a user set in advance as an environment variable.
The specified message file is loaded from the storage means to the real memory.

〔実施例〕〔Example〕

以下、本発明に係るメッセージ管理方式の実施例を添
付図面を参照して説明する。
Hereinafter, embodiments of the message management system according to the present invention will be described with reference to the accompanying drawings.

第1図は本発明に係るメッセージ管理方式を適用した
処理装置の一実施例を示すブロック図である。同図にお
いて、処理装置は、中央処理装置(以下、CPUという)
1と、所定のモジュール、所定のプログラム、メッセー
ジファイル等を格納している記憶部2と、各種のデー
タ、指令等を入力するための例えばキーボード等から構
成された入力指示部3と、メッセージを出力する例え
ば、表示装置やプリンタなどから構成された出力部4と
を有している。
FIG. 1 is a block diagram showing an embodiment of a processing device to which a message management system according to the present invention is applied. In the figure, a processing unit is a central processing unit (hereinafter referred to as a CPU).
1, a storage unit 2 storing a predetermined module, a predetermined program, a message file, and the like; an input instruction unit 3 including, for example, a keyboard for inputting various data, instructions, and the like; For example, the output unit 4 includes a display device and a printer.

CPU1は、上記記憶部2に格納されている所定のモジュ
ール、所定のプログラム等をロードして実行する制御部
10と、入力された情報に基づいてメッセージファイルを
特定するメッセージファイル管理部(メッセージファイ
ル管理プログラム)11と、メッセージ原文を特定するメ
ッセージ出力管理部(メッセージ出力管理プログラム)
12とを有している。
The CPU 1 is a control unit that loads and executes a predetermined module, a predetermined program, and the like stored in the storage unit 2.
10, a message file management unit (message file management program) for specifying a message file based on input information, and a message output management unit (message output management program) for specifying a message text
12 and has.

記憶部2は、メッセージ発行元モジュールを格納して
いるモジュール格納部20と、メッセージファイルを格納
しているメッセージファイル記憶部21と、与えられたパ
ラメータに基づいてメツセージ原文を編集するためのメ
ッセージ編集プログラム22、および編集後のメッセージ
文を出力部4に出力するためのメッセージ出力制御プロ
グラム23を格納しているプログラム格納部24と、RAMか
ら構成され、メッセージファイル管理部11によって特定
されたメッセージファイルが展開されるメッセージテー
ブル25、読み出されたプログラム等を記憶する実メモリ
26とを有している。
The storage unit 2 includes a module storage unit 20 storing a message issuer module, a message file storage unit 21 storing a message file, and a message editing unit for editing a message original based on given parameters. A message storage unit 24 storing a program 22, a message output control program 23 for outputting the edited message text to the output unit 4, and a RAM, and a message file specified by the message file management unit 11 Table 25 in which is expanded, actual memory for storing read programs, etc.
26.

第2図は上記処理装置のデータの流れを示したもので
ある。なお同図において、第1図で示した構成要素と同
様の機能を果たす部分には同一の符号を付しており、ま
た点線で囲んだ部分はデータ内容を示している。
FIG. 2 shows the flow of data in the above processing device. In the figure, the same reference numerals are given to the parts performing the same functions as the constituent elements shown in FIG. 1, and the part surrounded by a dotted line shows the data contents.

次に上記処理装置のメッセージファイルを特定する処
理動作を第3図のフローチャートに基づき説明する。
Next, the processing operation of the above processing device for specifying a message file will be described with reference to the flowchart of FIG.

最初に、メッセージファイル管理プログラム(メッセ
ージファイル管理部11)、メッセージ出力管理プログラ
ム(メッセージ出力管理部12)およびメッセージ編集プ
ログラム22は、処理装置が起動することにより、制御部
10によって該当する各格納部から実メモリ26にロードさ
れる。
First, the message file management program (message file management unit 11), the message output management program (message output management unit 12), and the message editing program 22 are activated by the processing unit, and the control unit is activated.
According to 10, the data is loaded into the real memory 26 from the corresponding storage unit.

そして制御部10によってモジュール格納部20から各メ
ッセージ発行元モジュールがロードされる毎に(ステッ
プ100)、当該各モジュールは自己のモジュール名のみ
をメッセージファイル管理部11に通知する。この場合、
各モジュールは、明示的にメッセージファイルを指定す
るのではなく、モジュール名のみをメッセージファイル
管理部11に通知することになる。
Each time a message issuing module is loaded from the module storage unit 20 by the control unit 10 (step 100), each module notifies the message file management unit 11 only of its own module name. in this case,
Each module does not explicitly specify a message file, but notifies the message file management unit 11 only of the module name.

メッセージ発行元モジュールからモジュール名の通知
を受けたメッセージファイル管理部11は、当該モジュー
ル名に対応するメッセージファイルがロードされている
か否かを判断し(ステップ101)、ロードされている場
合は、特定のメッセージファイルがロードされていると
判断して、メッセージファイルを特定する処理動作を終
了する。
The message file management unit 11 having received the notification of the module name from the message issuing module determines whether or not the message file corresponding to the module name has been loaded (Step 101). It is determined that the message file has been loaded, and the processing operation for specifying the message file ends.

一方ステップ101においてメッセージファイルがロー
ドされていない場合、メッセージファイル管理部11は、
メッセージファイルが特定されているか否かを判断し
(ステップ102)、メッセージファイルが特定されてい
る場合は、該当するメッセージファイルをメッセージフ
ァイル記憶部21からロードし(ステップ103)、また上
記ステップ102でメッセージファイルが特定されていな
い場合は、メッセージ発行元モジュールからのモジュー
ル名(ファイル名)、および環境変数として予め与えら
れている言語種類、又はユーザからの指示等のファイル
を特定するファイル特定子に従って、メッセージファイ
ルを特定し(ステップ104)、その後、上記ステップ103
で説明したように、該当するメッセージファイルをメッ
セージファイル記憶部21からロードする。
On the other hand, when the message file is not loaded in step 101, the message file management unit 11
It is determined whether or not the message file has been specified (step 102). If the message file has been specified, the corresponding message file is loaded from the message file storage unit 21 (step 103). If the message file is not specified, the module name (file name) from the message issuing module, the language type given in advance as an environment variable, or a file specifier that specifies a file such as an instruction from the user is used. , The message file is specified (step 104), and then the above-mentioned step 103
As described above, the corresponding message file is loaded from the message file storage unit 21.

このようにしてメッセージファイルをロードしたメッ
セージファイル管理部11は、ロードしたメッセージファ
イルを、第2図に示したように、メッセージテーブル25
上に展開する。このメッセージファイルは、識別子とメ
ッセージ原文とが対応して登録されており、識別子を特
定することにより対応するメッセージ原文が得られるよ
うになっている。
The message file management unit 11 having loaded the message file in this way stores the loaded message file in the message table 25 as shown in FIG.
Expand on top. In this message file, an identifier and a message original are registered in association with each other, and a corresponding message original can be obtained by specifying the identifier.

上記第3図で説明した実施例では、特定のメッセージ
ファイルをロードする場合の処理動作について説明した
が、次に特定のメッセージファイルから読み出された所
望のメッセージが出力されるメッセージ出力処理の動作
を第4図のフローチャートに基づき説明する。
In the embodiment described with reference to FIG. 3, the processing operation when a specific message file is loaded has been described, but the operation of the message output processing in which a desired message read from the specific message file is output next Will be described based on the flowchart of FIG.

メッセージ発行元モジュールが実行され、そのモジュ
ールからメッセージの出力要求があると(ステップ20
0)、メッセージファイル管理部11は、当該モジュール
のメッセージファイルがロードされているか否かを判断
し(ステップ201)、ロードされている場合は、メッセ
ージファイル出力管理部12に対してメッセージ原文を読
み出すよう指示する。これに応答してメッセージファイ
ル出力管理部12は、メッセージの出力要求の対象となっ
ているメッセージの識別子に基づいて、メッセージテー
ブル25上に展開されている各メッセージ原文の中から、
どのメッセージ原文を用いるべきかを特定して、該特定
されたメッセージ原文を読み出す(ステップ202)。
When the message issuing module is executed and a message output request is issued from the module (step 20)
0), the message file management unit 11 determines whether the message file of the module has been loaded (step 201), and if so, reads the message original to the message file output management unit 12. Instruct In response to this, the message file output management unit 12 determines, based on the identifier of the message that is the target of the message output request,
A message text to be used is specified, and the specified message text is read (step 202).

そして、メッセージ発行元モジュールからパラメータ
が与えられていれば、制御部10は、メッセージ編集プロ
グラム23を実行して、パラメータを上記ステップ202に
おいて読み出されたメッセージ原文に埋め込んで、メッ
セージ文の編集を行う(ステップ203)。
Then, if a parameter is given from the message issuing module, the control unit 10 executes the message editing program 23, embeds the parameter in the message original read in step 202, and edits the message. Perform (step 203).

ここで、例えば、パラメータとして、読み出されたメ
ッセージ原文の言語とは異なる言語や、メッセージ原文
の変更内容が与えられていれば、メッセージ原文の言語
を変更したり、部分的な入れ替えを行うことができる。
Here, for example, if a language different from the language of the read message original or a changed content of the message original is given as a parameter, the language of the message original may be changed or a partial replacement may be performed. Can be.

メッセージ文の編集を行った制御部10は、メッセージ
出力制御プログラム25を実メモリ26にロードして実行
し、編集されたメッセージ文を、出力部4に出力するた
めのデータ形式に変換して、例えば表示装置、あるいは
プリンタなどに出力する(ステップ204)。
The control unit 10 that has edited the message text loads the message output control program 25 into the real memory 26 and executes it, converts the edited message text into a data format for output to the output unit 4, For example, the data is output to a display device or a printer (step 204).

なお、上記ステップ201において、メッセージファイ
ルがロードされていない場合、メッセージファイル管理
部11は、「エラーメッセージの表示内容」を示すデフォ
ルト値を制御部10に送出する。すると制御部10は、上記
ステップ204で説明したように、「エラーメッセージの
表示内容」を、メッセージ文として出力部4に出力する
ためのデータ形式に変換する。
If the message file has not been loaded in step 201, the message file management unit 11 sends a default value indicating “display contents of the error message” to the control unit 10. Then, the control unit 10 converts the “display content of the error message” into a data format to be output to the output unit 4 as a message text, as described in step 204 above.

上記実施例によれば、メッセージファイルを特定する
プログラム(メッセージファイル管理プログラム)を、
メッセージ発行元モジュールから独立させたので、メッ
セージ発行元モジュールは、メッセージを出力するため
のメッセージファイルを意識する必要がない。
According to the above embodiment, a program for specifying a message file (message file management program)
Since the message issuing module is independent from the message issuing module, the message issuing module does not need to be aware of a message file for outputting a message.

また、メッセージ発行元モジュール毎にメッセージフ
ァイルの言語を変更したり、部分的な入れ替えを行うこ
とができる。
Further, the language of the message file can be changed for each message issuing module, or partial replacement can be performed.

〔発明の効果〕〔The invention's effect〕

以上説明したように、メッセージファイルを特定する
プログラム(メッセージファイル管理手段)を、メッセ
ージ発行元モジュールから独立させ、そのメッセージフ
ァイル管理手段は、メッセージ発行元モジュールから通
知された自己のモジュール名、およびメッセージファイ
ルを特定する情報に基づいて、メッセージファイルを特
定するようにしたため、メッセージ発行元モジュール毎
にメッセージファイルの言語を変更したり、部分的な入
れ替えを行うことが可能となる。
As described above, the program for specifying the message file (message file management means) is made independent from the message issuing module, and the message file managing means uses its own module name and the message notified from the message issuing module. Since the message file is specified based on the information for specifying the file, it is possible to change the language of the message file for each message issuing module or to partially replace the message file.

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

第1図は本発明に係るメッセージ管理方式を適用した処
理装置の一実施例を示すブロック図、第2図は本実施例
におけるデータの流れの一例を示す構成図、第3図は処
理装置のメッセージファイルを特定する処理動作を示す
フローチャート、第4図は処理装置のメッセージ出力処
理の動作を示すフローチャートである。 1……中央処理装置、2……記憶部、3……入力指示
部、4……出力部、10……制御部、11……メッセージフ
ァイル管理部、12……メッセージ出力管理部、20……モ
ジュール格納部、21……メッセージファイル記憶部、22
……メッセージ編集プログラム、23……メッセージ出力
制御プログラム、24……プログラム格納部、25……メッ
セージテーブル、26……実メモリ。
FIG. 1 is a block diagram showing an embodiment of a processing device to which a message management system according to the present invention is applied, FIG. 2 is a configuration diagram showing an example of a data flow in this embodiment, and FIG. FIG. 4 is a flowchart showing a processing operation for specifying a message file, and FIG. 4 is a flowchart showing a message output processing operation of the processing device. DESCRIPTION OF SYMBOLS 1 ... Central processing unit, 2 ... Storage part, 3 ... Input instruction part, 4 ... Output part, 10 ... Control part, 11 ... Message file management part, 12 ... Message output management part, 20 ... ... Module storage unit, 21 ... Message file storage unit, 22
…… Message editing program, 23 …… Message output control program, 24 …… Program storage unit, 25 …… Message table, 26 …… Real memory.

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.6,DB名) G06F 15/00 G06F 9/00 G06F 11/00 G06F 13/00──────────────────────────────────────────────────続 き Continued on the front page (58) Fields investigated (Int. Cl. 6 , DB name) G06F 15/00 G06F 9/00 G06F 11/00 G06F 13/00

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】複数のメッセージファイルを格納する記憶
手段から特定されたメッセージファイルをロードして、
所望のメッセージを出力するメッセージ管理方式におい
て、 メッセージを発行するモジュールから通知された自己を
示すモジュール名、およびメッセージファイルを特定す
る情報に基づいて当該モジュールに対応するメッセージ
ファイルを特定するメッセージファイル管理手段 を具えたことを特徴とするメッセージ管理方式。
1. A method for loading a specified message file from storage means for storing a plurality of message files,
In a message management method for outputting a desired message, a message file management means for specifying a message file corresponding to the module based on a module name indicating itself notified from a module issuing the message and information for specifying the message file A message management method characterized by comprising:
JP1110428A 1989-04-28 1989-04-28 Message management method Expired - Fee Related JP2864528B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1110428A JP2864528B2 (en) 1989-04-28 1989-04-28 Message management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1110428A JP2864528B2 (en) 1989-04-28 1989-04-28 Message management method

Publications (2)

Publication Number Publication Date
JPH02287856A JPH02287856A (en) 1990-11-27
JP2864528B2 true JP2864528B2 (en) 1999-03-03

Family

ID=14535500

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1110428A Expired - Fee Related JP2864528B2 (en) 1989-04-28 1989-04-28 Message management method

Country Status (1)

Country Link
JP (1) JP2864528B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4044120B1 (en) * 2006-08-10 2008-02-06 株式会社日立国際電気 Image distribution device

Also Published As

Publication number Publication date
JPH02287856A (en) 1990-11-27

Similar Documents

Publication Publication Date Title
US6040830A (en) Intelligent proxy objects
US7434157B2 (en) Programmable object model for namespace or schema library support in a software application
EP1920350B1 (en) Markup based extensibility for user interfaces
JPH0776958B2 (en) Document shaping device
JP2003316769A (en) Electronic form program development system, method, program and medium
JP4672754B2 (en) Program / design document generation apparatus and program / design document generation program
JP2864528B2 (en) Message management method
CN113378525A (en) PDF document paragraph presentation method, device, storage medium and equipment
JPH08179896A (en) Logging data analysis system
JPS60134282A (en) System screen display system
JP2692196B2 (en) Test data editing method
JP2000181905A (en) Preparation device for electronic document file and recording medium
JP2003076544A (en) Web application development method and apparatus
JP2002109166A (en) Document approval system
JP3305858B2 (en) Automatic figure creation device and automatic figure creation method
JPH10289011A (en) Numerically controlled device and background processing customizing method for the device
JPH11296361A (en) Program information management device
JP3466869B2 (en) Font data management method and apparatus, and recording medium
JP2002163107A (en) Automatic program creation apparatus and method
JPH03214335A (en) Computer system
JPH08137880A (en) Document processing device
JP2000148638A (en) Autopilot device, autopilot method, and recording medium recording autopilot program
JPH03212724A (en) File format identification system for floppy disk processor
JPH03248228A (en) Error detection for software design information
JPH0619691A (en) Design support device using design process information

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees