JPH0337721A - Attribute borrowing system for dictionary system - Google Patents

Attribute borrowing system for dictionary system

Info

Publication number
JPH0337721A
JPH0337721A JP17240289A JP17240289A JPH0337721A JP H0337721 A JPH0337721 A JP H0337721A JP 17240289 A JP17240289 A JP 17240289A JP 17240289 A JP17240289 A JP 17240289A JP H0337721 A JPH0337721 A JP H0337721A
Authority
JP
Japan
Prior art keywords
attribute
digits
money
item
attributes
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.)
Granted
Application number
JP17240289A
Other languages
Japanese (ja)
Other versions
JP2605401B2 (en
Inventor
Hiroshi Oka
岡 浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP1172402A priority Critical patent/JP2605401B2/en
Publication of JPH0337721A publication Critical patent/JPH0337721A/en
Application granted granted Critical
Publication of JP2605401B2 publication Critical patent/JP2605401B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To automatically adjust attributes of related items at the time of changing the attribute of one item by holding information of relations between the item and the other items in a dictionary to borrow attributes of the other items. CONSTITUTION:When items have such relations that the number of digits of the attribute of 'total amount of money' is equal to (the number of digits of the attribute of 'amount of money') +2, information indicating that 'total amount of money' is obtained by adding 2 to the number of digits of the attribute of 'amount of money' and a pointer to 'amount of money' are set to the attribute part of 'total amount of money'. When the number of digits of the attribute of 'amount of money' is changed, the number of digits of 'total amount of money' is automatically adjusted and expanded as (the number of digits of 'amount of money')+2 when an attribute information expanding part 2 expands a source program. Attributes are borrowed from two items 'unit price' and 'quantity' to adjust the attribute of 'sales' in such relations that the number of digits of the sum of these two items is equal to the number of digits of 'sales'. Thus, an influence upon the program accompanying the change of attributes is completely managed.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明はコンピュータソフトウェア開発支援システムに
関し、特にその用語管理辞書に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a computer software development support system, and particularly to a terminology management dictionary thereof.

(従来の技術) 従来、この種の用語辞書ではプログラムのなかのある項
目に関して注目し、項目の名称、または項目の形式によ
シ辞書から属性情報を取出し、その項目の属性として属
性情報を原始プログラム中に展開する方式のみが公知と
なっていた。
(Prior art) Conventionally, this type of terminology dictionary focuses on a certain item in a program, retrieves attribute information from the dictionary according to the name of the item or the format of the item, and uses the attribute information as the attribute of the item. Only the method of expanding into a program was known.

(発明が解決しようとする課題) 上述した従来の辞書システムは、個々の項目ごとに属性
を独立して管理しているため、例えば被代入項目と代入
項目のように、片方の属性を変更した場合に他方の属性
も影響を受けるという関係は把握されず、属性の変更に
伴うプログラムへの影響が完全に管理されないという欠
点がある。
(Problem to be Solved by the Invention) In the conventional dictionary system described above, attributes are managed independently for each item. This method has the disadvantage that the relationship in which the other attribute is also affected in some cases is not understood, and the impact on the program due to attribute changes is not completely managed.

本発明の目的は、辞書システムの内部に、ある項目と他
の項百との関係情報を示す属性関連情報部を備えてかき
、関連情報により関連があると示される項目中の属性情
報を連鎖して取出すことにより上記欠点を除去し、属性
の変更に伴うプログラムへの影響が完全に管理されるよ
うに構成した辞書システムにかける属性借用方式を提供
することにめる。
An object of the present invention is to provide a dictionary system with an attribute-related information section that shows relational information between a certain item and another 100 entries, and to chain attribute information in items that are shown to be related by the related information. The object of the present invention is to provide an attribute borrowing method for a dictionary system that eliminates the above-mentioned drawbacks by extracting the attributes, and is configured so that the influence on the program due to attribute changes can be completely managed.

(課題を解決するための手段) 本発明による辞書システムにおける属性借用方式は辞書
部と、属性情報展開部とを具備して構成したものである
(Means for Solving the Problems) The attribute borrowing method in the dictionary system according to the present invention is configured to include a dictionary section and an attribute information expansion section.

辞書部は、ある項目と他の項目との関連情報を備えてか
くための属性関連情報部、訣よび関連情報により関連が
あると示された項目の属性情報を連鎖して取出すための
ポインタを備えたものである。
The dictionary section includes an attribute related information section for storing related information between a certain item and another item, a pointer for extracting the attribute information of items indicated as related by the instructions and related information in a chain. It is prepared.

属性情報展開部は原始プログラムを読込み、辞書部への
引用がなされているときには辞書部から属性情報を取出
して属性プログラムへ展開するが、項目が属性を借用す
ると定義づけられているときにはポインタをたどって借
用元の属性を取出し、属性関連情報の指示に従って決定
された属性を展開するためのものである。
The attribute information expansion section reads the source program, and when a reference is made to the dictionary section, extracts the attribute information from the dictionary section and expands it into the attribute program, but when an item is defined to borrow an attribute, it follows the pointer. This is to extract the attributes of the borrowing source and expand the determined attributes according to the instructions of the attribute related information.

(実施例) 次に、本発明について図面を参照して説明する。(Example) Next, the present invention will be explained with reference to the drawings.

第1図は、本発明による辞書システムに訃ける属性借用
方式の一実施例を示すブロック図である。
FIG. 1 is a block diagram showing one embodiment of an attribute borrowing method for a dictionary system according to the present invention.

第1図にかいて、1は辞書部、2は属性情報展開部、3
は原始プログラム格納手段、4は展開プログラム格納手
段である。
In Figure 1, 1 is a dictionary section, 2 is an attribute information expansion section, and 3 is a dictionary section.
4 is a source program storage means, and 4 is an expanded program storage means.

第1図にかいて、辞書部1はその中に項目ごとのアイテ
ムをもつが、当該アイテム中にはそのアイテムへアクセ
スするための項目名を備え、もしその項目の属性が他の
項目の属性から借用されるものであれば、その関連を示
す属性関連情報部と、借用元の項目を取出すためのボイ
/りとが含まれている。
In Figure 1, the dictionary part 1 has an item for each item, and each item has an item name for accessing that item, and if the attribute of that item is different from the attribute of another item. If the item is borrowed from the item, an attribute related information section indicating the relationship and a voice/retrieval section for extracting the item from which the item was borrowed are included.

属性情報展開部2は、原始プログラム格納手段3から原
始プログラムを読込む。そのなかに辞書部1への引用が
なされている場合には、属性情報展開部2は辞書部1か
らその属性情報を取出し、属性プログラム格納手段4の
なかの属性プログラムへ展開する。しかし、そのときに
辞書中にその項目が属性を借用すると定義づけられてい
る場合、上記ポインタをたどって借用元の属性を取出し
、属性関連情報部の指示に従って属性を合成し、当該項
目の属性としてこれを展開する。
The attribute information development section 2 reads the source program from the source program storage means 3. If there is a citation to the dictionary section 1, the attribute information expansion section 2 extracts the attribute information from the dictionary section 1 and expands it into the attribute program in the attribute program storage means 4. However, at that time, if the item is defined in the dictionary as borrowing an attribute, follow the above pointer to retrieve the borrowing source attribute, synthesize the attributes according to the instructions from the attribute related information section, and create the attribute of the item. Expand this as

第2図は、第1図の装置によう行われる属性の管理例を
示す説明図である。
FIG. 2 is an explanatory diagram showing an example of attribute management performed by the apparatus of FIG. 1.

第2図にかいて、1合計金額lの属性が1金額lの属性
の桁数+2桁でなければならないという関係にある場合
、1合計金額lの属性部には、1合計金額lが1金額l
の属性桁数+2桁で得られるという情報と、1金額Iに
対するポインタとが設定される。1金額io属性桁数が
変更された場合、属性情報展開部2が原始プログラムを
展開する場合、自動的に1合計金額Iの桁数は1金額l
の桁数+2桁に調整されて展開される。
In Figure 2, if the attribute of 1 total amount l must be the number of digits of the attribute of 1 amount l + 2 digits, then in the attribute part of 1 total amount l, 1 total amount l must be 1 Amount l
The information that it can be obtained by adding the number of attribute digits + 2 digits and a pointer to one amount I are set. When the number of digits in one amount io attribute is changed, when the attribute information development unit 2 develops the source program, the number of digits in one total amount I is automatically changed to one amount l.
It is adjusted and expanded to the number of digits + 2 digits.

同様に、1売上げ額Iの属性は、1単価lと1数量lと
の2つの項目から属性が借用され、それらの桁数の和の
桁数という関係が保持されて調整される。
Similarly, the attribute of one sales amount I is adjusted by borrowing the attributes from the two items of one unit price l and one quantity l, and maintaining the relationship that the number of digits is the sum of the number of digits.

(発明の効果) 以上説明したように本発明は、ある項目と他の項目との
関連情報を辞書中に保持し、他の項目の属性を借用でき
るようにすることによシ、ある項目の属性が変更された
場合、自動的に関連項目の属性も調整され、プログラム
の修正効率と安全性とが向上できるという効果がある。
(Effects of the Invention) As explained above, the present invention maintains related information between a certain item and other items in the dictionary, and enables the borrowing of attributes of other items. When an attribute is changed, the attributes of related items are also automatically adjusted, which has the effect of improving program modification efficiency and safety.

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

第1図は、本発明による辞書システムに釦ける属性借用
方式の一実施例を示すブロック図である。 第2図は、第1図の装置によシ行われる属性の管理例を
示す説明図である。 1・・・辞書部 2・・・属性情報展開部 3・・・原始プルグラム格納手段 4・・・展開プログラム格納手段
FIG. 1 is a block diagram showing an embodiment of an attribute borrowing method for a dictionary system according to the present invention. FIG. 2 is an explanatory diagram showing an example of attribute management performed by the apparatus of FIG. 1. 1... Dictionary section 2... Attribute information expansion section 3... Original program storage means 4... Expansion program storage means

Claims (1)

【特許請求の範囲】[Claims] ある項目と他の項目との関連情報を備えておくための属
性関連情報部、および前記関連情報により関連があると
示された項目の属性情報を連鎖して取出すためのポイン
タを備えた辞書部と、原始プログラムを読込み、前記辞
書部への引用がなされているときには前記辞書部から前
記属性情報を取出して属性プログラムへ展開するが、前
記項目が属性を借用すると定義づけられているときには
前記ポインタをたどつて借用元の属性を取出して前記属
性関連情報部の指示に従つて決定された属性を展開する
ための属性情報展開部とを具備して構成したことを特徴
とする辞書システムにおける属性借用方式。
an attribute related information section for storing related information between a certain item and another item, and a dictionary section provided with a pointer for chaining and extracting attribute information of items indicated as being related by the related information. reads the source program, and when the citation to the dictionary section is made, the attribute information is extracted from the dictionary section and expanded to the attribute program, but when the item is defined to borrow an attribute, the pointer is and an attribute information development unit for extracting the attributes of the borrowing source by tracing the attributes and developing the attributes determined according to the instructions of the attribute related information unit. Borrowing method.
JP1172402A 1989-07-04 1989-07-04 Attribute Borrowing Method in Dictionary System Expired - Lifetime JP2605401B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1172402A JP2605401B2 (en) 1989-07-04 1989-07-04 Attribute Borrowing Method in Dictionary System

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1172402A JP2605401B2 (en) 1989-07-04 1989-07-04 Attribute Borrowing Method in Dictionary System

Publications (2)

Publication Number Publication Date
JPH0337721A true JPH0337721A (en) 1991-02-19
JP2605401B2 JP2605401B2 (en) 1997-04-30

Family

ID=15941285

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1172402A Expired - Lifetime JP2605401B2 (en) 1989-07-04 1989-07-04 Attribute Borrowing Method in Dictionary System

Country Status (1)

Country Link
JP (1) JP2605401B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11232089A (en) * 1998-02-10 1999-08-27 Nippon Steel Corp System and method for managing terms and recording medium
US6035343A (en) * 1993-06-11 2000-03-07 Fujitsu Limited Method for executing software formed of software components and a system for executing such software

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62219124A (en) * 1986-03-20 1987-09-26 Fujitsu Ltd Item attribute inheriting and processing system for data base

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62219124A (en) * 1986-03-20 1987-09-26 Fujitsu Ltd Item attribute inheriting and processing system for data base

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6035343A (en) * 1993-06-11 2000-03-07 Fujitsu Limited Method for executing software formed of software components and a system for executing such software
JPH11232089A (en) * 1998-02-10 1999-08-27 Nippon Steel Corp System and method for managing terms and recording medium

Also Published As

Publication number Publication date
JP2605401B2 (en) 1997-04-30

Similar Documents

Publication Publication Date Title
JPH03266039A (en) Free format data link processing system
CN113222723B (en) Bill processing method, device, equipment and storage medium
JPH07191840A (en) Automatic program generator
JPH0337721A (en) Attribute borrowing system for dictionary system
JPH0350629A (en) Deriving method in dictionary system
JPH0193843A (en) System for coupling table
JPH0337720A (en) Data chaining system for dictionary system
JPH03208167A (en) Document generation device
JPS62284457A (en) Document formation supporting device
JPH02222044A (en) Data processor
JPH04205173A (en) Information retrieval system
JPS61278932A (en) Method of processing data addition
JPH03276239A (en) Record control system
JPH05274334A (en) System of grasping customer information for each person in charge in banking business
JPH032923A (en) Automatic programming system
JPH0266645A (en) Network data base
JPH04101270A (en) N-dimensional data input system
JPH04241627A (en) Method for utilizing data base as knowledge base
JPH05289919A (en) Data base access program generating system
JP2004062552A (en) Relational database system and control method thereof
JPH064580A (en) Data base processor
JPH0442371A (en) Logic simulation method
JPH064589A (en) Journal output processing system
JPS63276628A (en) Data base constructing system
JPH10333968A (en) Communication system and recording medium

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080213

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090213

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100213

Year of fee payment: 13

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100213

Year of fee payment: 13