JPH03123194A - Key telephone system - Google Patents

Key telephone system

Info

Publication number
JPH03123194A
JPH03123194A JP26143589A JP26143589A JPH03123194A JP H03123194 A JPH03123194 A JP H03123194A JP 26143589 A JP26143589 A JP 26143589A JP 26143589 A JP26143589 A JP 26143589A JP H03123194 A JPH03123194 A JP H03123194A
Authority
JP
Japan
Prior art keywords
program
version number
areas
version
area
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
JP26143589A
Other languages
Japanese (ja)
Inventor
Yasuko Nagai
永井 保子
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 JP26143589A priority Critical patent/JPH03123194A/en
Publication of JPH03123194A publication Critical patent/JPH03123194A/en
Pending legal-status Critical Current

Links

Landscapes

  • Sub-Exchange Stations And Push- Button Telephones (AREA)

Abstract

PURPOSE:To make it unnecessary to correct the number of programs in a certain program area other than the program area concerned by allowing a program version display means to search the program versions in all the program areas while referring to the program version storing areas in all the program areas and display the searched results in a display device. CONSTITUTION:The key telephone system is provided with the program version display means 11 for searching the newest program versions of all the program areas 3 to 6 while referring to the program version storing areas 7 to 10 in all the program areas 3 to 6 and displaying the searched results in the display device 12. When the corrected version of programs is stored in the program number storing area of the program area storing a certain program at the time of correcting the program concerned, the number is displayed on the display device 12. Thereby, the number of program versions can be displayed without laboring to display the number of program versions in program areas other than the program areas concerned.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明はマイクロプロセッサ制御のボタン電話装置に関
し、特にそのプログラム版数表示方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a microprocessor-controlled key telephone device, and particularly to a program version number display method thereof.

[従来の技術] 従来、この種のボタン電話装置でプログラムの版数表示
を行なうには、例を第3図に示すように、ボタン電話機
13が収容された主装置31の制御部32内のプログラ
ム領域33.34.35.36に格納されたプログラム
の修正を行なったときプログラム版数格納領域37に改
版後のプログラム版数を格納すれば、プログラム版数表
示手段38がプログラム版数格納領域37を参照して、
格納されているプログラム版数を可視表示器39に表示
するようになフていた。
[Prior Art] Conventionally, in order to display the version number of a program in this type of button telephone device, as shown in FIG. When the program stored in the program area 33, 34, 35, 36 is modified, if the revised program version is stored in the program version storage area 37, the program version display means 38 will be displayed in the program version storage area. With reference to 37,
The stored program version number was displayed on the visual display 39.

[発明が解決しようとする課題] 上述した従来のボタン電話装置は、−っのプログラム領
域のプログラムを改版する場合、当該プログラム領域の
プログラムを修正するばかに、プログラム版数表示のた
めに、該プログラム領域とは異なる領域であるプログラ
ム版数格納領域に格納されている版数を修正しなければ
ならないので手数か煩雑であるという欠点かある。
[Problems to be Solved by the Invention] In the above-described conventional button telephone device, when revising a program in a program area, it is necessary to update the program in order to display the program version number, rather than modifying the program in the program area. The disadvantage is that it is time consuming and complicated because the version number stored in the program version number storage area, which is an area different from the program area, must be corrected.

本発明の目的は、プログラム領域のプログラムを改版す
るとき、プログラム版数表示のために、当該プロクラム
領域以外の領域においてプログラム版数の修正をしない
で済むボタン電話装置を提供することである。
SUMMARY OF THE INVENTION An object of the present invention is to provide a button telephone device in which when a program in a program area is revised, the program version number does not need to be corrected in an area other than the program area in order to display the program version number.

[課題を解決するための手段] 本発明のボタン電話装置は、 主装置は、 プロクラム版数を表示するための表示器と、予めプログ
ラムの初版時のプログラム版数が格納されており、プロ
グラムの修正時に改版後のプログラム版数が格納される
版数格納領域を含む当該プログラムが格納された複数の
プログラム領域と、すべての前記プログラム領域中の版
数格納領域を参照して最新のプログラム版数を捜し出し
て前記表示器に表示するプログラム版数表示手段とを含
む制御部とを有する。
[Means for Solving the Problems] The button telephone device of the present invention has a main device that includes a display device for displaying the program version number and a program version number at the time of the first version of the program stored in advance. At the time of modification, the latest program version is determined by referring to the multiple program areas in which the program is stored, including the version storage area where the revised program version is stored, and the version storage areas in all of the program areas. and a control section including program version number display means for searching out and displaying the program version number on the display.

[作用コ プログラム版数表示手段がすべてのプログラム領域中の
版数格納領域を参照して最新のプログラム版数を捜し出
して表示器に表示するのて、プログラムの修正時に、当
該プログラムが格納されているプログラム領域内の版数
格納領域に改版後のプログラム版数を格納すればその値
が表示器に表示され、当該プログラム領域以外の領域で
の版数修正の必要がない。
[The operation co-program version number display means refers to the version number storage areas in all program areas, searches for the latest program version number, and displays it on the display, so that when the program is modified, the program is stored. If the revised program version number is stored in the version number storage area in the program area, the value will be displayed on the display, and there is no need to correct the version number in areas other than the program area.

[実施例] 次に、本発明の実施例について図面を参照して説明する
[Example] Next, an example of the present invention will be described with reference to the drawings.

第1図は本発明のボタン電話装置の一実施例のブロック
図、第2図は第1図のプログラム版数表示手段11の処
理の流れ図である。
FIG. 1 is a block diagram of an embodiment of the key telephone device of the present invention, and FIG. 2 is a flow chart of the processing of the program version number display means 11 of FIG.

このボタン電話装置はボタン電話機13と主装置1とか
ら構成され、ボタン電話機13は主装置1に収容されて
いる。また、主装置1は制御部2と可視表示器12を備
え、制御部2はプログラム領域3.4,5.6とプログ
ラム版数表示手段11を含み、プログラム領域3,4,
5.6はそれぞれ版数格納領域7,8,9.10を含ん
でいる。版数格納領域7,8,9.10には、予めプロ
グラムの初版時のプログラム版数”1”が格納されてお
り、それぞれプログラム領域3,4,5.6のプログラ
ムの一部が修正されたときに、外部から改版後のプログ
ラム版数が格納される。プログラム版数表示手段11は
、第2図に示すように、まず、変数の「版数」に初期版
数”1”を代入しくステップ21)、版数格納領域7に
格納されている値が「版数」より大きいか否かを比較し
くステップ22)、版数格納領域7の値が大きいときは
、その値を「版数」に格納しくステップ23)、「版数
」の値の方が大きい場合は処理を行なわない。次に、版
数格納領域各月を更新して版数格納領域8としくステッ
プ24)、全ての版数格納領域7,8,9.10との比
較が終Yしたかのチエツクを行ない(ステップ25)、
比較が終了していない場合は、ステップ22に戻り、最
後の版数格納領域10との比較が終了するまでステップ
22からステップ゛25までの処理を緑返す。以上の処
理により変数の「版数」には、版数格納領域7,8,9
.10に格納されている値のうち最大の値が格納され、
プログラム版数表示手段11はその値を改版後のプログ
ラム版数として可視表示器12に表示する。
This button telephone device is composed of a button telephone 13 and a main device 1, and the button telephone 13 is housed in the main device 1. The main device 1 also includes a control section 2 and a visual display 12, and the control section 2 includes program areas 3.4, 5.6 and program version number display means 11.
5.6 includes version number storage areas 7, 8, and 9.10, respectively. Version number storage areas 7, 8, 9.10 store in advance the program version number "1" at the time of the initial version of the program, and a part of the program in program areas 3, 4, and 5.6 has been modified, respectively. When the program is updated, the revised program version number is stored externally. As shown in FIG. 2, the program version number display means 11 first assigns the initial version number "1" to the variable "version number" (step 21), and the value stored in the version number storage area 7 is Compare whether it is larger than the "version number" (step 22). If the value in the version storage area 7 is larger, store that value in the "version number" (step 23), then compare the value of the "version number". If is large, no processing is performed. Next, the version number storage area for each month is updated to version number storage area 8 (step 24), and a check is performed to see if the comparison with all version number storage areas 7, 8, 9, and 10 has been completed (Y). step 25),
If the comparison has not been completed, the process returns to step 22, and the process from step 22 to step 25 is returned to green until the comparison with the last version number storage area 10 is completed. As a result of the above processing, the variable "version number" contains version number storage areas 7, 8, and 9.
.. The maximum value among the values stored in 10 is stored,
The program version number display means 11 displays the value on the visual display 12 as the revised program version number.

次に、本実施例の動作について説明する。Next, the operation of this embodiment will be explained.

いま、現在のプログラム版数が”3″であり、各版数格
納領域7,8,9.10にそれぞれ”1””3゛、”2
”、”1゛の値が格納されていて、プログラム領域5の
プログラムの一部を修正して改版を行なった場合につい
て説明する。
Now, the current program version number is "3", and "1", "3", and "2" are stored in each version storage area 7, 8, 9, and 10, respectively.
A case will be described in which a value of ``,''1'' is stored and a part of the program in the program area 5 is modified and revised.

操作者がプログラム領域5にある版数格納領域9に改版
後のプログラム版数として値”4”を格納すると、プロ
グラム版数表示手段11は、第2図に示す処理を行ない
、変数の「版数」には、版数格納領域7,8,9.10
に格納されている値のうちの最大の値である版数格納領
域9に格納されている値”4”が格納され、改版後のプ
ログラム版数として版数”4”が可視表示器12に表示
される。
When the operator stores the value "4" as the revised program version number in the version number storage area 9 in the program area 5, the program version number display means 11 performs the process shown in FIG. "Version number storage area 7, 8, 9.10"
The value “4” stored in the version number storage area 9, which is the largest value among the values stored in Is displayed.

[発明の効果] 以上説明したように本発明は、すべてのプロクラム領域
中の版数格納領域を参照して最新のプログラム版数を捜
し出して改版後のプログラム版数として表示器に表示す
ることにより、プログラムの修正時に当該プログラムが
格納されているプログラム領域内の版数格納領域に改版
後のプログラム版数を格納すれば、その値が表示器に表
示されるのて、当該プログラム領域以外の領域において
ブロクラム版数修正のための手間をかけずにプロクラム
版数表示が行なえるという効果がある。
[Effects of the Invention] As explained above, the present invention refers to the version number storage areas in all program areas, finds the latest program version number, and displays it on the display as the revised program version number. When a program is modified, if the revised program version is stored in the version storage area in the program area where the program is stored, that value will be displayed on the display, and the area other than the program area will be displayed. This has the effect that the program version number can be displayed without taking the trouble of correcting the program version number.

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

第1図は本発明のボタン電話装置の一実施例のブロック
図、第2図は第1図のプログラム版数表示手段IIの処
理の流れ図、第3図はボタン電話装置の従来例のブロッ
ク図である。 1・・・主装置、 2・・・制御部、 3.4,5.6・・・プログラム領域、7.8,9.1
0・・・版数格納領域、11・・・プログラム版数表示
手段、 12・・・可視表示器、 13・・・ボタン電話機、 2]、 22.・・・、25・・・ステップ。
FIG. 1 is a block diagram of an embodiment of the button telephone device of the present invention, FIG. 2 is a flowchart of the processing of the program version display means II of FIG. 1, and FIG. 3 is a block diagram of a conventional example of the button telephone device. It is. 1... Main device, 2... Control unit, 3.4, 5.6... Program area, 7.8, 9.1
0... Version number storage area, 11... Program version number display means, 12... Visual display, 13... Button telephone, 2], 22. ..., 25 steps.

Claims (1)

【特許請求の範囲】 1、ボタン電話機と該ボタン電話機が収容される主装置
よりなるボタン電話装置において、 前記主装置は、 プログラム版数を表示するための表示器と、予めプログ
ラムの初版時のプログラム版数が格納されており、プロ
グラムの修正時に改版後のプログラム版数が格納される
版数格納領域を含む、当該プログラムが格納された複数
のプログラム領域と、すべての前記プログラム領域中の
版数格納領域を参照して最新のプログラム版数を捜し出
して前記表示器に表示するプログラム版数表示手段とを
含む制御部とを有することを特徴とするボタン電話装置
[Scope of Claims] 1. In a key telephone device comprising a key telephone and a main device in which the key telephone is housed, the main device includes a display for displaying a program version number, and a program version number in advance. Multiple program areas in which the program is stored, including a version storage area in which the program version is stored and the revised program version is stored when the program is modified, and the versions in all of the program areas. 1. A button telephone device comprising: a control section including program version number display means for searching a program version number by referring to a number storage area and displaying the latest program version number on the display device.
JP26143589A 1989-10-05 1989-10-05 Key telephone system Pending JPH03123194A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26143589A JPH03123194A (en) 1989-10-05 1989-10-05 Key telephone system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26143589A JPH03123194A (en) 1989-10-05 1989-10-05 Key telephone system

Publications (1)

Publication Number Publication Date
JPH03123194A true JPH03123194A (en) 1991-05-24

Family

ID=17361848

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26143589A Pending JPH03123194A (en) 1989-10-05 1989-10-05 Key telephone system

Country Status (1)

Country Link
JP (1) JPH03123194A (en)

Similar Documents

Publication Publication Date Title
JPH03123194A (en) Key telephone system
JPH03228179A (en) Lapse time display processing system
JP2977951B2 (en) Arithmetic unit
JPH04229306A (en) Numerical controller
JP2900065B2 (en) Programming device for programmable controller
JPH02112052A (en) System for designating parameter of conversational command
JPH0391069A (en) Document preparing device
JPH0452933A (en) Debugging aid system
JP2000132518A (en) Small electronic computer
JPH04369077A (en) Data retrieving system
JPH0471044A (en) Master file updating system
JPH0531193B2 (en)
JP2777938B2 (en) Program execution path output device
JPH05181911A (en) Method and device for document retrieval
JPH02161554A (en) Program start system
JPH09128278A (en) Data base update procedure generation device
JPH02301840A (en) Data base maintenance device
JPH05150969A (en) Program management device
JPH0756716A (en) Program processor
JPH03255575A (en) Automatic numbering system
JPH0683668A (en) Software debugging device
JPH01118922A (en) Information retrieving device
JPH0371328A (en) Sort key information defining/processing system
JPS63288310A (en) Initial line setting and processing system for picture type editor
JPS63233434A (en) Expert system