JPH08228229A - Time notifying system - Google Patents

Time notifying system

Info

Publication number
JPH08228229A
JPH08228229A JP5513195A JP5513195A JPH08228229A JP H08228229 A JPH08228229 A JP H08228229A JP 5513195 A JP5513195 A JP 5513195A JP 5513195 A JP5513195 A JP 5513195A JP H08228229 A JPH08228229 A JP H08228229A
Authority
JP
Japan
Prior art keywords
time
time data
data
cpu
transmitting
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
JP5513195A
Other languages
Japanese (ja)
Inventor
Koichi Oi
浩一 大井
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP5513195A priority Critical patent/JPH08228229A/en
Publication of JPH08228229A publication Critical patent/JPH08228229A/en
Pending legal-status Critical Current

Links

Landscapes

  • Electric Clocks (AREA)
  • Exchange Systems With Centralized Control (AREA)
  • Sub-Exchange Stations And Push- Button Telephones (AREA)
  • Telephonic Communication Services (AREA)

Abstract

PURPOSE: To allow each extension terminal equipment to display an accurate update time by sending current time data to each terminal equipment without a delay from an updated minute in a time notifying device and displaying the updated time. CONSTITUTION: An RTC 102 makes set interrupt to inform lapse of time to a CPU 103. That is, interrupt is applied to the CPU 103 when 'minute' is updated (at 0 second for each minute), then the CPU 103 reads a current time represented by the RTC 102 to display a current time to a display device of a time communication equipment 101. The current time data are displayed on a display device of a time communication equipment 101. The current time data read out by the CPU 103 are fed immediately to a CC 106 of a PBX 104 via a communication interface 108. The CC 106 receiving the current time data sends the current time data to each MFT 110 via an MFTI 109 immediately. Then the data are displayed on an LCD 111 each MFT110 to display an accurate time.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、主装置に接続された内
線端末に対して、現在時刻を通知する時刻通知システム
に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a time notification system for notifying an extension terminal connected to a main device of the current time.

【0002】[0002]

【従来の技術】図8は、従来の時刻通知システムの構成
例を示すブロック図であり、交換制御を行う主装置と、
これに接続される内線端末とから構成されるシステムを
示している。
2. Description of the Related Art FIG. 8 is a block diagram showing a configuration example of a conventional time notification system.
It shows a system consisting of extension terminals connected to it.

【0003】同図において、PBX104は、複数の内
線端末が接続される主装置としての構内交換機であり、
タイムスロットの交換を行うタイムスイッチ(MTS)
105と、PBX全体の制御を行う中央制御部(CC)
106と、PBXの動作プログラムやワークデータを記
憶しておくメモリ107と、PBXシステムの時刻を決
定するリアルタイムクロック(RTC)102と、内線
端末である多機能電話機との接続インタフェース(MF
TI)109とを有する。
In FIG. 1, a PBX 104 is a private branch exchange as a main unit to which a plurality of extension terminals are connected,
Time switch (MTS) for exchanging time slots
105 and a central control unit (CC) that controls the entire PBX
106, a memory 107 for storing a PBX operation program and work data, a real-time clock (RTC) 102 for deciding the time of the PBX system, and a connection interface (MF) for a multifunction telephone as an extension terminal.
TI) 109.

【0004】内線端末である多機能電話機(MFT)1
10は、ハンドセット、ダイヤルキー、各種機能キー、
および各種情報を表示する液晶表示器(LCD)111
を有する。なお、図8の例では、3台のMFT110が
MFTI109に接続されている。
Multifunction telephone (MFT) 1 which is an extension terminal
10 is a handset, dial keys, various function keys,
And a liquid crystal display (LCD) 111 for displaying various information
Have. In addition, in the example of FIG. 8, three MFTs 110 are connected to the MFTI 109.

【0005】MFT110が使用されていない状態の
時、LCD111に本日の日付および現在時刻を表示し
ておくことは、利用者にとって役に立つ一般的なサービ
スである。それを実現するために、日付と現在時刻を常
に刻み続けるRTC102をPBX104内に1つ有
し、その出力情報、つまり日付と時刻のデータ(以下、
時刻データという)をCC106が読み出し、MFTI
109を介して各MFT110に送信する動作が行われ
ている。この方式は、各MFT110内にRTC102
を備える方式よりもコスト面で有利である。
Displaying today's date and current time on the LCD 111 when the MFT 110 is not in use is a general service that is useful to users. In order to realize it, the PBX 104 has one RTC 102 that keeps track of the date and the current time, and its output information, that is, date and time data (hereinafter,
CC106 reads the time data), and MFTI
The operation of transmitting to each MFT 110 via 109 is performed. In this method, RTC 102 is installed in each MFT 110.
It is more advantageous in terms of cost than the method including.

【0006】MFT110が時刻データを受信すると、
LCD111上には例えば“94/4/1 15:0
0”のような表示が行われる。この表示は分単位で行う
のが最も一般的である。秒単位の表示が可能であれば、
サービス性が最も高いが、これを行うには、RTC10
2からMFT110への時刻データの送信が秒単位で行
われなければならず、その結果引き起こされる制御デー
タ(時刻データもその一つである)のトラフィックの増
加は、肝心のPBX104の電話交換制御のパフォーマ
ンス低下を引き起こす可能性があるからである。
When the MFT 110 receives time data,
For example, “94/4/1 15: 0” is displayed on the LCD 111.
A display such as "0" is displayed. This display is most commonly performed in minutes. If it is possible to display in seconds,
Serviceability is the highest, but to do this, RTC10
The transmission of the time data from the MFT 110 to the MFT 110 must be performed in seconds, and the resulting increase in the traffic of the control data (the time data being one of them) causes the telephone exchange control of the PBX 104 to be important. This is because it may cause performance degradation.

【0007】以上、主装置内のRTC102を用いて各
MFT110に時刻データを送信し、その時刻を表示す
るのが従来技術であった。
As described above, the prior art has been to transmit the time data to each MFT 110 using the RTC 102 in the main unit and display the time.

【0008】[0008]

【発明が解決しようとする課題】しかしながら、主装置
が独立した装置として存在するのではなく、コンピュー
タと接続されたり、その中に組み込まれるような状況で
は、不都合が生じる。
However, inconvenience arises in situations where the main unit does not exist as an independent unit but is connected to or incorporated into a computer.

【0009】すなわち、コンピュータのような時刻管理
を必要とする装置では、初めからRTC102のような
時計機能を有しており、そのRTC102を既に備えて
いる装置に上記主装置を接続すると、全体のシステムと
しては、RTC102が複数存在して冗長構成となり、
コストアップを招いてしまう。
That is, a device such as a computer that requires time management has a clock function like the RTC 102 from the beginning, and if the main device is connected to a device that already has the RTC 102, the entire device is As a system, there are a plurality of RTCs 102 in a redundant configuration,
This leads to higher costs.

【0010】また、コンピュータのRTC102が示す
時刻と、主装置のRTCが示す時刻に差が生じた場合
に、コンピュータ上に表示される時刻と、各内線電話機
上に表示される時刻が異なってしまうことになり、シス
テムとして整合性がとれていないという望ましくない現
象が生じる。
Further, when there is a difference between the time indicated by the RTC 102 of the computer and the time indicated by the RTC of the main unit, the time displayed on the computer and the time displayed on each extension telephone set are different. This leads to an undesirable phenomenon that the system is not consistent.

【0011】さらに、個々のRTC102の精度には製
造段階の時点で差が存在することは避けられないので、
上記のように時刻が異なる可能性は常に存在することに
なり、システムの管理者は時刻の整合性に常に気を配っ
ていなければならず、時刻の差が生ずれば時刻補正を行
わなければならないという煩わしさもある。
Further, since it is inevitable that there is a difference in the accuracy of each RTC 102 at the time of the manufacturing stage,
As described above, there is always the possibility that the time will be different, and the system administrator must always pay attention to the consistency of the time, and if the time difference does not occur, the time must be corrected. There is also the annoyance of not becoming.

【0012】本発明は、主装置上にRTC102を持た
ず、主装置を安価に構成するとともに、主装置上にRT
C102を有しなくとも各内線端末に正確に時刻を表示
できる時刻通知システムを提供することを目的とする。
According to the present invention, the RTC 102 is not provided on the main device, the main device is inexpensively constructed, and the RTC is provided on the main device.
An object of the present invention is to provide a time notification system that can accurately display the time on each extension terminal without having the C102.

【0013】[0013]

【課題を解決するための手段】本発明の請求項1は、交
換制御を行う主装置と、上記主装置に接続される内線端
末および時刻通知装置とを有する時刻通知システムにお
いて、上記主装置は、上記時刻通知装置から時刻データ
を受信する受信手段と、時刻データを上記内線端末に送
信する第1の送信手段と、上記受信データが受信した時
刻データを上記第1の送信手段を用いて上記内線端末に
送信する制御手段とを有し、上記時刻通知装置は、所定
の時間毎に時刻データを上記主装置に送信する第2の送
信手段を有することを特徴とする。
According to a first aspect of the present invention, in a time notification system having a main device for performing exchange control, an extension terminal connected to the main device, and a time notification device, the main device is Receiving means for receiving time data from the time notification device, first transmitting means for transmitting the time data to the extension terminal, and time data received by the receiving data by using the first transmitting means. The time notification device includes a second transmission unit that transmits time data to the main device at predetermined time intervals.

【0014】また、本発明の請求項2は、時刻通信装置
からの定期的な時刻データの通信が何かの原因により阻
害されても、各内線端末に遅れの少ない時刻表示を行う
ために、請求項1に示す時刻通知システムにおいて、上
記主装置は、タイマ手段と、上記受信手段が受信した時
刻データを記憶する記憶手段と、上記受信手段が時刻デ
ータを受信した時、上記タイマ手段のカウントを開始
し、上記タイマ手段のカウント数が所定の回数を超えた
時、上記記憶手段に記憶された時刻データを所定の時間
分進めて、上記送信手段を用いて上記内線端末に送信す
る制御手段を有し、上記時刻通知装置は、上記所定の時
間毎に時刻データを上記主装置に送信する第2の送信手
段を有することを特徴とする。
Further, according to claim 2 of the present invention, even if the communication of the time data from the time communication device is interrupted for some reason, each extension terminal displays the time with less delay. 2. The time notification system according to claim 1, wherein the main device includes a timer means, a storage means for storing time data received by the receiving means, and a count of the timer means when the receiving means receives the time data. When the count number of the timer means exceeds a predetermined number, the control means for advancing the time data stored in the storage means by a predetermined time and transmitting the time data to the extension terminal using the transmitting means. The time notification device includes a second transmission unit that transmits time data to the main device at each predetermined time.

【0015】また、本発明の請求項3は、時刻通信装置
からの定期的な時刻データの通信が1インターバル時間
以上遅れても、各内線端末に遅れの少ない時刻表示を行
うために、請求項2に示す時刻通知システムにおいて、
上記主装置は、上記タイマ手段のカウント数が所定の回
数を超えた時、上記タイマ手段のカウントを最初から開
始する制御手段を有することを特徴とする。
According to a third aspect of the present invention, even if the communication of the time data from the time communication device is delayed by one interval time or more, each extension terminal displays the time with less delay. In the time notification system shown in 2,
The main device is characterized in that it has control means for starting the counting of the timer means from the beginning when the number of counts of the timer means exceeds a predetermined number.

【0016】[0016]

【実施例】図1は、本発明の一実施例における時刻通信
システムの構成を示すブロック図である。なお、図8と
同一の構成については、同一符号を付して重複する説明
は省略する。
1 is a block diagram showing the configuration of a time communication system according to an embodiment of the present invention. It should be noted that the same components as those in FIG. 8 are denoted by the same reference numerals and redundant description will be omitted.

【0017】図1において、時刻通知装置101は、R
TC102と、このRTC102から時刻データを読み
出して、通信インタフェース108に送る制御部(CP
U)103と、PBX104とのインタフェースである
通信インタフェース108とを有している。
In FIG. 1, the time notification device 101 has an R
A control unit (CP) that reads time data from the TC 102 and the RTC 102 and sends the time data to the communication interface 108
U) 103 and a communication interface 108 which is an interface with the PBX 104.

【0018】PBX104の中のCC106にも通信イ
ンタフェース108が接続されており、その先に時刻通
知装置101が接続されている。ここで、時刻通知装置
101とPBX104との間のインタフェースである通
信インタフェース108の具体的な手段としては、RS
−232Cのようなシリアル通信でもよいし、バス形式
接続であってもよい。なお、時刻通知装置101が、例
えばコンピュータのような機器である場合には、RTC
102は最初から備えている。
The communication interface 108 is also connected to the CC 106 in the PBX 104, and the time notification device 101 is connected to the end of the communication interface 108. Here, as a concrete means of the communication interface 108 which is an interface between the time notification device 101 and the PBX 104, RS is
It may be serial communication such as 232C, or may be a bus type connection. If the time notification device 101 is a device such as a computer, the RTC
102 is equipped from the beginning.

【0019】次に、以上のような構成において、時刻通
知装置101から各MFT110へ時刻を通知する際の
動作について説明する。
Next, the operation when the time notification device 101 notifies each MFT 110 of the time in the above configuration will be described.

【0020】RTC102は、コンセントから、または
バックアップ電池等のバッテリから供給される電源によ
り、現在時刻を計時するICである。その精度は高く、
初めに時刻合わせを行っておけば、それ以降長期間、時
刻を修正する必要はない。
The RTC 102 is an IC that measures the current time by a power source supplied from an outlet or a battery such as a backup battery. Its accuracy is high,
If you set the time at the beginning, there is no need to adjust the time for a long time thereafter.

【0021】このRTC102は、時刻の経過をCPU
103に通知するため、設定により割込みをかけること
ができる。すなわち、分の更新時(毎分0秒のとき)に
割込みをCPU103にかけ、これによりCPU103
は、RTC102が示す現在時刻を読み出して、図示し
ない時刻通信装置101上の表示装置に現在時刻を表示
できる。
This RTC 102 uses the CPU to keep track of the passage of time.
In order to notify 103, it is possible to interrupt by setting. That is, an interrupt is issued to the CPU 103 at the time of updating the minute (when 0 second per minute), so that the CPU 103
Can read the current time indicated by the RTC 102 and display the current time on a display device on the time communication device 101 (not shown).

【0022】なお、時刻を通知する手段としては、割込
みによらず、CPU103が適当なタイミングを計っ
て、RTC102から時刻を読み出す、いわゆるポーリ
ングによる方法も考えられるが、最終目的のMFT11
0に現在時刻を表示するときに、分の更新をできるだけ
正確に行おうとすると、RTC102における時分の更
新時からMFT110への表示までの時間のずれを最小
限に抑える必要があり、そのためには割込みを用いるの
がよい。
As a means for notifying the time, a method by so-called polling in which the CPU 103 measures an appropriate timing and reads the time from the RTC 102 without depending on an interrupt can be considered, but the final purpose MFT11
When trying to update the minutes as accurately as possible when displaying the current time at 0, it is necessary to minimize the time lag between the hour and minute updates on the RTC 102 and the display on the MFT 110. Use interrupts.

【0023】ここで、割込みを起こすタイミングは、分
の更新時に限らず、RTC102の仕様によって、30
秒おき等、各種のタイミングに設定できる。なお、この
実施例にように、MFT110に時刻を表示する場合
は、制御データトラフィックへの影響やLCD111へ
の表示のし易さなども考慮すると、分の更新時が割込み
を起こすタイミングとして適当である。
Here, the timing of causing an interrupt is not limited to the time of updating the minutes, but may be 30 depending on the specifications of the RTC 102.
It can be set to various timings such as every second. When the time is displayed on the MFT 110 as in this embodiment, considering the influence on the control data traffic, the ease of displaying on the LCD 111, and the like, updating the minutes is appropriate as the timing for causing an interrupt. is there.

【0024】以上のようにして、CPU103が読み出
した現在時刻データは、即座に通信インタフェース10
8を介してPBX104のCC106へと送られる。
As described above, the current time data read by the CPU 103 is immediately transferred to the communication interface 10
8 to the CC 106 of the PBX 104.

【0025】現在時刻データを受信したCC106もま
た、即座にMFTI109を介して各MFT110に現
在時刻データを送信する。各MFT110に同報する方
法としては、CC106に接続されているMFT110
の数分、CC106が現在時刻データを複製して、各M
FT110に送信してもよいし、MFTI109が現在
時刻データを複製してもよい。
The CC 106 that has received the current time data also immediately transmits the current time data to each MFT 110 via the MFTI 109. As a method of broadcasting to each MFT110, the MFT110 connected to the CC106 is used.
CC106 duplicates the current time data for a few minutes
It may be transmitted to the FT 110, or the MFTI 109 may copy the current time data.

【0026】以上説明したとおり、本実施例では、でき
るだけRTC102における分の更新時から遅れること
なく、各MFT110に現在時刻データが送られ、それ
をLCD111上に表示することにより、各MFT11
0では正確な時刻を表示できる。そして、PBX104
上にRTC102を有しなくとも、このような機能が実
現可能である。
As described above, in the present embodiment, the current time data is sent to each MFT 110 without delaying from the time of updating the minutes in the RTC 102, and the current time data is displayed on the LCD 111, whereby each MFT 11 is displayed.
At 0, the exact time can be displayed. And PBX104
Such a function can be realized without the RTC 102 provided above.

【0027】次に、本発明の第2実施例について説明す
る。
Next, a second embodiment of the present invention will be described.

【0028】上記実施例では、現在時刻データの送信が
滞りなく行われることを前提としていたが、実際、図2
に示すような構成では、時刻データの送信が阻害される
ことがある。
In the above-mentioned embodiment, it is premised that the current time data is transmitted without delay.
In the configuration as shown in, the transmission of time data may be hindered.

【0029】図2は、この第2実施例の構成を示すブロ
ック図であり、上記第1実施例における主装置であるP
BX104を交換モジュール205として構成し、この
交換モジュール205がコンピュータ201の中に組み
込まれた例を示している。
FIG. 2 is a block diagram showing the structure of the second embodiment, which is the main device P in the first embodiment.
An example in which the BX 104 is configured as the exchange module 205 and the exchange module 205 is incorporated in the computer 201 is shown.

【0030】同図において、コンピュータ201のPC
U103にはバスインタフェース202を介して、CP
Uバスに接続される種々の装置が接続されている。図2
では上記の交換モジュール205の他に、コンピュータ
201に標準的に搭載されているバードディスク203
やメモリ204が接続されている。また、RTC102
もこのCPUバスに接続される構成をとることが可能で
ある。図2の場合、RTC102からの割込み信号はC
PUバスではなく、独自の割込み線によってCPU10
3に入力されている。
In the figure, the PC of the computer 201
The U103 is connected to the CP via the bus interface 202.
Various devices connected to the U-bus are connected. Figure 2
Then, in addition to the exchange module 205 described above, a bird disk 203 that is standardly installed in the computer 201.
And a memory 204 are connected. Also, the RTC 102
Can also be connected to this CPU bus. In the case of FIG. 2, the interrupt signal from the RTC 102 is C
CPU10 not by PU bus but by unique interrupt line
It has been entered in 3.

【0031】一方、交換モジュール205の中でも、上
記CPUバスとのインタフェースにはバスインタフェー
ス202を用いている。
On the other hand, among the exchange modules 205, the bus interface 202 is used to interface with the CPU bus.

【0032】以上のような構成の場合、時刻データをC
PU103から交換モジュール205へ送信するとき
は、時刻データはCPUバス上を流れることになる。し
かし、CPUバスを使用できるバス権は任意のタイミン
グで取得できるわけではない。つまり、大容量のデータ
転送がハードディスク203に対して行われている時な
どは、CPUバスはそのために占有されており、他の動
作には使用できない。この場合、大容量のデータ転送が
終了するまで(バス権が解放されるまで)、時刻データ
の送信は待たされることになる。それに伴い、内線端末
への時刻表示も遅れることになる。
In the case of the above configuration, the time data is C
When transmitting from the PU 103 to the exchange module 205, the time data will flow on the CPU bus. However, the bus right to use the CPU bus cannot be acquired at any timing. That is, when a large amount of data is being transferred to the hard disk 203, the CPU bus is occupied for that reason and cannot be used for other operations. In this case, the transmission of the time data is delayed until the large-capacity data transfer is completed (the bus right is released). Along with this, the time display on the extension terminal is also delayed.

【0033】以下では、時刻データの送信が阻害された
場合も各内線端末への表示の遅れを最小限にとどめるこ
とができる第2実施例について説明する。
A second embodiment will be described below in which the delay of the display on each extension terminal can be minimized even when the transmission of the time data is disturbed.

【0034】図2に示す構成において、交換モジュール
205の中のCC106の中には、タイマTM206が
存在する。TM206は、CC106の中の図示しない
クロックに基づき自律的に動作しており、任意の値をT
M206の内部カウンタに指定することによって、任意
のタイミングを割込み等の手段によってCC106の通
知することができる。
In the configuration shown in FIG. 2, the timer TM 206 exists in the CC 106 in the exchange module 205. The TM 206 operates autonomously based on a clock (not shown) in the CC 106, and an arbitrary value T
By designating the internal counter of M206, the CC 106 can be notified of any timing by means such as an interrupt.

【0035】例えば上記クロックが5MHzで動作し、
TM206の内部カウンタに50000をセットし(1
6ビット幅の内部カウンタである場合は最大65535
までの値をセットすることが可能である)、1クロック
で内部カウンタが1デクリメントされ、内部カウンタが
0になった瞬間にCC106にそれを通知するととも
に、内部カウンタにまた50000をセットする場合
は、10msec毎にCC106に対して通知が行われ
ることになる。
For example, the clock operates at 5 MHz,
Set 50,000 to the internal counter of TM206 (1
Up to 65535 if it is a 6-bit wide internal counter
(It is possible to set the value up to). When the internal counter is decremented by 1 in 1 clock and the internal counter is notified to CC 106 at the moment, and the internal counter is also set to 50000, The CC 106 is notified every 10 msec.

【0036】このタイミング毎にCC106が、ある番
地のメモリ107の値(ソフトカウンタ)を1ずつイン
クリメントしていけば、10msecを単位として時間
を計ることができる。例えば上記の条件で1分を図るた
めには、ソフトカウンタが6000回インクリメントさ
れたかどうかを監視すればよい。
If the CC 106 increments the value (soft counter) of the memory 107 at a certain address by 1 at each timing, the time can be measured in units of 10 msec. For example, in order to achieve 1 minute under the above conditions, it is sufficient to monitor whether the soft counter has been incremented 6000 times.

【0037】以上の構成において、図3に示すようなC
PU103からの時刻データの送信の遅れがあったとす
る。なお、図3は、時刻データ送信におけるCPU10
3からCC106へのタイミング、CC106からMF
T110へのタイミングおよびソフトカウンタの0リセ
ットのタイミングを示している。
In the above configuration, C as shown in FIG.
It is assumed that there is a delay in transmission of time data from PU 103. Note that FIG. 3 shows the CPU 10 in the time data transmission.
3 to CC106 timing, CC106 to MF
The timing to T110 and the reset timing of the soft counter to 0 are shown.

【0038】同図において、CPU103からCC10
6へは、通常、予め定められた間隔T(以下、この例で
は1分間とする)で時刻データが送られている。しか
し、何等かの要因によってCPUバス権が取得できず、
時刻データの送信が遅れたとする。この場合、図3のC
PU103からCC106へのタイミング図で示すよう
に、破線のタイミングでは、時刻データが送られず、実
線のタイミングまで遅れてしまう。
In the figure, the CPU 103 to CC10
Time data is normally sent to 6 at a predetermined interval T (hereinafter, 1 minute in this example). However, the CPU bus right could not be acquired due to some reason,
It is assumed that the time data transmission is delayed. In this case, C in FIG.
As shown in the timing chart from the PU 103 to the CC 106, the time data is not sent at the timing of the broken line, and the timing of the solid line is delayed.

【0039】そこで、以下に、この場合の第2実施例の
動作について、図4および図5のフローチャートを用い
て説明する。図4は、TM206のソフトカウンタのイ
ンクリメント時点で開始されるCC106の動作を示し
たフローチャートであり、図5は、CPU103から時
刻データを受信した時点で開始されるCC106の動作
を示したフローチャートである。
Therefore, the operation of the second embodiment in this case will be described below with reference to the flowcharts of FIGS. 4 and 5. FIG. 4 is a flowchart showing the operation of CC 106 started at the time of incrementing the soft counter of TM 206, and FIG. 5 is a flowchart showing the operation of CC 106 started at the time of receiving time data from CPU 103. .

【0040】図4において、TM206のカウント動作
によって、ソフトカウンタがインクリメントされた時、
最初にCC106はソフトカウンタの値が所定の値を超
えたかどうかを判定する(S401)。ここで、所定の
値とは本来時刻データを受け取るはずの時間間隔から求
められるソフトカウンタの値であり、例えば上述のタイ
マ動作条件をそのまま用いると、1分間という時間間隔
を測定したい場合は6000が所定の値となる。
In FIG. 4, when the soft counter is incremented by the counting operation of TM206,
First, the CC 106 determines whether or not the value of the soft counter exceeds a predetermined value (S401). Here, the predetermined value is a value of the soft counter obtained from the time interval at which the time data should originally be received. For example, if the above-mentioned timer operating condition is used as it is, 6000 is obtained when measuring a time interval of 1 minute. It becomes a predetermined value.

【0041】S401において、NOの場合は何も処理
しないで終了するが、YESの場合は前回時刻データを
受け取った時刻から、本来時刻データを受け取るはずの
時間(1分間)が経過していることを示しているので、
メモリ107に記憶している時刻(前回、受信した時刻
データの時刻である)を1分間だけインクリメントし
て、その時刻データを各MFT110に送信するととも
に、そのデータをメモリ107に記憶する(S40
2)。
In S401, if NO, the process ends without performing any processing, but if YES, the time (1 minute) at which the original time data should be received has elapsed from the time when the previous time data was received. Shows that
The time stored in the memory 107 (the time of the previously received time data) is incremented by one minute, the time data is transmitted to each MFT 110, and the data is stored in the memory 107 (S40).
2).

【0042】さて、CPU103から時刻データを受信
した時、CC106は図5に示す動作を行う。図5にお
いて、まず、最初にCC106は、受信した時刻データ
の示す時刻がメモリ107に記憶された時刻よりも進ん
でいるかどうかをチェックする(S501)。
Now, when the time data is received from the CPU 103, the CC 106 performs the operation shown in FIG. In FIG. 5, first, the CC 106 first checks whether or not the time indicated by the received time data is ahead of the time stored in the memory 107 (S501).

【0043】YESの場合は、図4に示したソフトカウ
ンタオーバーフローによる時刻データの送信がまだ行わ
れていないことを示しているので、受信した現在時刻の
データを各MFT110に送信し、このデータをメモリ
107に記憶する(S502)。NOの場合は、ソフト
カウンタによる時刻更新が既に行われたことを示してい
るので、S502は実行しない。
If the answer is YES, it means that the time data transmission due to the soft counter overflow shown in FIG. 4 has not been performed yet. Therefore, the received current time data is transmitted to each MFT 110 and this data is transmitted. It is stored in the memory 107 (S502). In the case of NO, it means that the time update by the software counter has already been performed, so S502 is not executed.

【0044】そして、次回のソフトカウンタのインクリ
メントに備えて、ソフトカウンタを0リセットする(S
503)。
Then, in preparation for the next increment of the soft counter, the soft counter is reset to 0 (S
503).

【0045】図5の処理においては、図4の処理が割込
まないことを前提としている。S502の処理後、即座
に図4の処理が割込んで、S402の処理を実行したの
では、連続して時刻を更新してしまい、誤った処理にな
ってしまうからである。ここでは、図4の処理が例え割
込み処理であったとしても、図5の処理ではその割込み
を防ぐメカニズムを備えているものとする。
The process of FIG. 5 is premised on that the process of FIG. 4 does not interrupt. This is because if the process of FIG. 4 is interrupted immediately after the process of S502 and the process of S402 is executed, the time is continuously updated, resulting in an erroneous process. Here, even if the process of FIG. 4 is an interrupt process, the process of FIG. 5 has a mechanism for preventing the interrupt.

【0046】以上の図4と図5に示すフローチャートの
連携動作によって、CPU103からCC106への時
刻データの送信が遅れたときも対処できる。
By the cooperation operation of the flowcharts shown in FIGS. 4 and 5, it is possible to deal with the case where the transmission of the time data from the CPU 103 to the CC 106 is delayed.

【0047】つまり、CC106において、今回の時刻
データの受信が、前回の時刻データの受信から1分以上
遅れている場合は、図4のフローチャートにより、CC
106が各MFT110に、本来受信するはずの時刻デ
ータを送ることができる。
That is, in CC 106, when the reception of the current time data is delayed by 1 minute or more from the reception of the previous time data, CC 106 is processed according to the flowchart of FIG.
106 can send to each MFT 110 the time data that it would otherwise receive.

【0048】また、CC106において、ソフトカウン
タが所定の値を超える事象の発生よりも、時刻データの
受信が早かった場合は、図5のフローチャートにより、
各MFT110に時刻データを送信し、ソフトカウンタ
を0リセットするので、図4のフローチャートにおける
時刻データ送信は実行されない。
In CC 106, when the time data is received earlier than the occurrence of the event in which the soft counter exceeds the predetermined value, according to the flowchart of FIG.
Since the time data is transmitted to each MFT 110 and the soft counter is reset to 0, the time data transmission in the flowchart of FIG. 4 is not executed.

【0049】以上、第2実施例によって、CPU103
からCC106への時刻データの送信が遅れたときも、
少なくとも前回の時刻データから所定の時間が経過した
ときに各MFT110への時刻データの送信が行われ、
時刻表示の遅れを最小限にとどめることができる。
As described above, according to the second embodiment, the CPU 103
When the transmission of time data from CC to CC106 is delayed,
At least when a predetermined time has passed from the previous time data, the time data is transmitted to each MFT 110,
The time display delay can be minimized.

【0050】しかし、第2実施例においては、ソフトカ
ウンタが所定の値を超え、CC106から時刻データを
送信した場合、CPU103から時刻データが送られて
こない限りはソフトカウンタが0リセットされないた
め、仮にCPU103からの時刻データの送信が送信間
隔以上遅れた場合(少なくとも時刻データの送信が2回
行われなければならないはずなのに、1回も送信されな
い場合)、初めの時刻更新時にはCC106から時刻デ
ータが送信されるが、次の時刻更新時は、CC106が
それを認識できず、時刻データが送信されないという欠
点がある。それを解消したシステムを以下の第3実施例
により説明する。
However, in the second embodiment, when the soft counter exceeds the predetermined value and the time data is transmitted from the CC 106, the soft counter is not reset to 0 unless the time data is transmitted from the CPU 103. When the transmission of the time data from the CPU 103 is delayed by the transmission interval or more (when the time data is transmitted at least twice even though it should have been transmitted at least twice), the time data is transmitted from the CC 106 at the time of the first time update. However, there is a drawback that the CC 106 cannot recognize it at the time of the next time update and the time data is not transmitted. A system that solves this problem will be described with reference to a third embodiment below.

【0051】なお、この第3実施例における構成図とし
ては、第2実施例と同様、図2を用いる。ここで、図6
に示すようなCPU103からの時刻データの送信の遅
れがあったとする。図6は、図3と同様に、各種タイミ
ングを示した図であり、図6では、CPU103からC
C106に対する時刻データの送信の遅れが送信間隔以
上、つまり1インターバル時間以上遅れた場合のタイミ
ングを示している。
As the configuration diagram of the third embodiment, FIG. 2 is used as in the second embodiment. Here, FIG.
It is assumed that there is a delay in the transmission of time data from the CPU 103 as shown in FIG. Similar to FIG. 3, FIG. 6 is a diagram showing various timings, and in FIG.
It shows the timing when the delay of the transmission of the time data to C106 is longer than the transmission interval, that is, one interval time or more.

【0052】この第3実施例における動作を図7のフロ
ーチャートを用いて説明する。図7は、図4と同様、T
M206のソフトカウンタのインクリメント時点で開始
されるCC106の動作を示すフローチャートである。
The operation of the third embodiment will be described with reference to the flowchart of FIG. 7 is similar to FIG.
It is a flowchart which shows operation | movement of CC106 started at the time of the increment of the soft counter of M206.

【0053】図7において、ソフトカウンタのインクリ
メント時、S401と同様、ソフトカウンタが所定の回
数を超えたかどうかをチェックする(S701)。この
チェック結果がYESの場合、メモリ107に記憶して
いる現在時刻のデータを1分進めて、各MFT110に
送信し、このデータをメモリ107に記憶する(S70
2)。そして、次回のソフトカウンタのインクリメント
に備えて、ソフトカウンタを0リセットする(S70
3)。
In FIG. 7, when the soft counter is incremented, it is checked whether the soft counter has exceeded a predetermined number of times (S701), as in S401. If the check result is YES, the data of the current time stored in the memory 107 is advanced by 1 minute, transmitted to each MFT 110, and this data is stored in the memory 107 (S70).
2). Then, in preparation for the next increment of the soft counter, the soft counter is reset to 0 (S70).
3).

【0054】以上のようにすることによって、CPU1
03から時刻データが長時間送られないときでも、CC
106の内部タイマであるTM206とソフトカウンタ
によって、図7のフローチャートが繰り返し実行され、
自律的に各MFT110の時刻表示を更新し続けること
ができる。
By doing the above, the CPU 1
Even if the time data from 03 is not sent for a long time, CC
The TM206, which is the internal timer of 106, and the soft counter repeatedly execute the flowchart of FIG.
The time display of each MFT 110 can be continuously updated autonomously.

【0055】CC106が図7の動作を実行する間、C
UP103から時刻データを受信した時に行うべき処理
としては、図5で説明した動作を実行すればよい。ソフ
トカウンタの0リセットは、図7および図5の動作を実
行するときになされることになる。
While CC 106 performs the operations of FIG. 7, C
As the processing to be performed when the time data is received from the UP 103, the operation described in FIG. 5 may be executed. The 0 reset of the soft counter will be performed when the operations of FIGS. 7 and 5 are executed.

【0056】以上、図7および図5に示す動作を実行す
ることによって、CPU103からCC106へ時刻デ
ータを送信するタイミングが図6に示したようになって
も、CC106から各MFT110への時刻データの送
信およびソフトカウンタのリセットは図6に示したよう
に実行される。
As described above, by executing the operations shown in FIGS. 7 and 5, even when the timing of transmitting the time data from CPU 103 to CC 106 is as shown in FIG. 6, the time data from CC 106 to each MFT 110 is transmitted. The transmission and the reset of the soft counter are executed as shown in FIG.

【0057】つまり、時刻データの送信が遅れた場合、
ソフトカウンタのリセットは度々行われるものの、各M
FT110に対する時刻更新は正確に行われるので、問
題ない。
That is, when the transmission of the time data is delayed,
Although the soft counter is frequently reset, each M
There is no problem because the time update for the FT 110 is performed accurately.

【0058】以上、第3実施例によって、CPU103
からの時刻データの送信が1インターバル以上遅れた場
合も、CC106が自律的に各MFT110に対して時
刻データの送信を行い、遅れなくMFT110上の時刻
表示を行うことができるという効果を有する。
As described above, according to the third embodiment, the CPU 103
Even when the transmission of the time data from 1 is delayed by one interval or more, the CC 106 autonomously transmits the time data to each MFT 110, and the time display on the MFT 110 can be performed without delay.

【0059】また、上記実施例では、主装置の例として
PBX104と交換モジュール205を挙げ、内線端末
の例としてMFT110を挙げたが、本発明は、これら
に限るものではなく、要するに主装置は時刻データを内
線端末に送り、内線端末は主装置からの時刻データを表
示するものであればよい。
Further, in the above embodiment, the PBX 104 and the exchange module 205 are cited as an example of the main unit, and the MFT 110 is cited as an example of the extension terminal. However, the present invention is not limited to these, and in short, the main unit is a time unit. The data may be sent to the extension terminal, and the extension terminal may display the time data from the main device.

【0060】[0060]

【発明の効果】以上説明したように、本発明の請求項1
によれば、主装置内にリアルタイムクロックを有しなく
とも、できるだけ時刻通知装置における分の更新時から
遅れることなく、各内線端末に現在時刻データが送ら
れ、それを表示することにより、各内線端末では正確な
時刻の更新が表示できるという効果がある。
As described above, according to the first aspect of the present invention.
According to this, even if the main device does not have a real-time clock, the current time data is sent to each extension terminal without delay from the time update of the minutes in the time notification device, and by displaying it, each extension can be displayed. The terminal has the effect of being able to display accurate time updates.

【0061】また、本発明の請求項2によれば、時刻通
知装置から主装置への時刻データの送信が遅れたとき
も、少なくとも前回の時刻データから所定の時間が経過
したときに各内線端末への時刻データの送信が行われ、
時刻表示の遅れを最小限にとどめることができるという
効果がある。
According to claim 2 of the present invention, even when the transmission of the time data from the time notification device to the main device is delayed, each extension terminal is at least when a predetermined time has elapsed from the previous time data. Time data is sent to
This has the effect of minimizing the delay in displaying the time.

【0062】また、本発明の請求項3によれば、時刻通
知装置からの時刻データの送信が1インターバル以上遅
れた場合も、主装置が自律的に各内線端末に対して時刻
データの送信を行い、遅れなく内線端末に対して時刻表
示を行うことができるという効果がある。
Further, according to claim 3 of the present invention, even when the transmission of the time data from the time notification device is delayed by one interval or more, the main device autonomously transmits the time data to each extension terminal. Therefore, there is an effect that the time can be displayed on the extension terminal without delay.

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

【図1】本発明の第1実施例における時刻通信システム
の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a time communication system according to a first embodiment of the present invention.

【図2】本発明の第2、第3実施例における時刻通信シ
ステムの構成を示すブロック図である。
FIG. 2 is a block diagram showing a configuration of a time communication system according to second and third embodiments of the present invention.

【図3】上記第2実施例の動作を説明するタイミングチ
ャートである。
FIG. 3 is a timing chart explaining the operation of the second embodiment.

【図4】上記第2実施例の動作を説明するフローチャー
トである。
FIG. 4 is a flowchart illustrating the operation of the second embodiment.

【図5】上記第2実施例の動作を説明するフローチャー
トである。
FIG. 5 is a flowchart explaining the operation of the second embodiment.

【図6】上記第3実施例の動作を説明するタイミングチ
ャートである。
FIG. 6 is a timing chart illustrating the operation of the third embodiment.

【図7】上記第3実施例の動作を説明するフローチャー
トである。
FIG. 7 is a flowchart explaining the operation of the third embodiment.

【図8】従来例における時刻通信システムの構成を示す
ブロック図である。
FIG. 8 is a block diagram showing a configuration of a time communication system in a conventional example.

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

101…時刻通知装置、 102…RTC、 103…CPU、 104…PBX、 106…CC、 107…メモリ、 108…通信インタフェース、 109…MFTI、 110…MFT、 202…バスインタフェース、 205…交換モジュール、 206…TM。 101 ... Time notification device, 102 ... RTC, 103 ... CPU, 104 ... PBX, 106 ... CC, 107 ... Memory, 108 ... Communication interface, 109 ... MFTI, 110 ... MFT, 202 ... Bus interface, 205 ... Exchange module, 206 … TM.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 交換制御を行う主装置と、該主装置に接
続される内線端末および時刻通知装置とを有する時刻通
知システムにおいて、 上記主装置は、上記時刻通知装置から時刻データを受信
する受信手段と、時刻データを上記内線端末に送信する
第1の送信手段と、上記受信手段が受信した時刻データ
を、上記第1の送信手段を用いて上記内線端末に送信す
る制御手段を有し、 上記時刻通知装置は、所定の時間毎に時刻データを上記
主装置に送信する第2の送信手段を有することを特徴と
する時刻通知システム。
1. A time notification system having a main device for performing exchange control, an extension terminal connected to the main device, and a time notification device, wherein the main device receives the time data from the time notification device. Means, first transmitting means for transmitting time data to the extension terminal, and control means for transmitting the time data received by the receiving means to the extension terminal by using the first transmitting means, The above-mentioned time notification device has a second transmitting means for transmitting time data to the above-mentioned main device at predetermined time intervals, the time notification system.
【請求項2】 請求項1において、 上記主装置は、タイマ手段と、上記受信手段が受信した
時刻データを記憶する記憶手段と、上記受信手段が時刻
データを受信した時、上記タイマ手段のカウントを開始
し、上記タイマ手段のカウント数が所定の回数を超えた
時、上記記憶手段に記憶された時刻データを所定の時間
分進めて、上記送信手段を用いて上記内線端末に送信す
る制御手段を有し、 上記時刻通知装置は、上記所定の時間毎に時刻データを
上記主装置に送信する第2の送信手段を有することを特
徴とする時刻通知システム。
2. The main unit according to claim 1, wherein the main unit has a timer unit, a storage unit for storing time data received by the receiving unit, and a count of the timer unit when the receiving unit receives the time data. When the count number of the timer means exceeds a predetermined number, the control means for advancing the time data stored in the storage means by a predetermined time and transmitting the time data to the extension terminal using the transmitting means. The time notification device further includes second transmitting means for transmitting time data to the main device at each predetermined time.
【請求項3】 請求項2において、 上記主装置は、上記タイマ手段のカウント数が所定の回
数を超えた時に、上記タイマ手段のカウントを最初から
開始する制御手段を有することを特徴とする時刻通知シ
ステム。
3. The time according to claim 2, wherein the main device has a control means for starting the counting of the timer means from the beginning when the count number of the timer means exceeds a predetermined number. Notification system.
JP5513195A 1995-02-20 1995-02-20 Time notifying system Pending JPH08228229A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5513195A JPH08228229A (en) 1995-02-20 1995-02-20 Time notifying system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5513195A JPH08228229A (en) 1995-02-20 1995-02-20 Time notifying system

Publications (1)

Publication Number Publication Date
JPH08228229A true JPH08228229A (en) 1996-09-03

Family

ID=12990232

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5513195A Pending JPH08228229A (en) 1995-02-20 1995-02-20 Time notifying system

Country Status (1)

Country Link
JP (1) JPH08228229A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008072707A (en) * 2006-09-15 2008-03-27 Internatl Business Mach Corp <Ibm> Pps connection device (time synchronization device) for stp, time synchronization system, and method for providing pps connection or time synchronization device for stp
JP2014042613A (en) * 2012-08-24 2014-03-13 Kyoraku Sangyo Co Ltd Game machine

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008072707A (en) * 2006-09-15 2008-03-27 Internatl Business Mach Corp <Ibm> Pps connection device (time synchronization device) for stp, time synchronization system, and method for providing pps connection or time synchronization device for stp
JP2014042613A (en) * 2012-08-24 2014-03-13 Kyoraku Sangyo Co Ltd Game machine

Similar Documents

Publication Publication Date Title
US6408395B1 (en) Power save function remote control method, information processing apparatus and storage medium which perform central management and control of power save mode for plural apparatuses
US7233406B2 (en) Image forming device management system and method
JPH08228229A (en) Time notifying system
US5483519A (en) Method and apparatus for line switching
JP2001077949A (en) Information processing unit
JPH0451796B2 (en)
JP2007163168A (en) Consumed gas quantity communication system, and gas meter
US5469493A (en) Telephone call saving system and method for an integrated service digital network
JP3037045B2 (en) Automatic meter reading system
JPH08271023A (en) Data setting method and device for air conditioner
JP2000276322A (en) Printing system controlling method
JP2001028598A (en) Atm communication device and atm cell traffic monitoring method
JP3351254B2 (en) Load control system
JPS58225738A (en) Dispersion type transmission system
JPH08149159A (en) Data receiver and data communication method
JPH0448854A (en) Data communication equipment system
JP2828130B2 (en) Facsimile adapter device
JPH11231077A (en) Control system for time information
JPH03296900A (en) Device for offering road traffic information
JPH11202064A (en) Communication terminal device
JP2917369B2 (en) Line network controller
JPS6117425B2 (en)
JPH06259376A (en) Data transfer device
JPH11308254A (en) System lsi with communication function
JPH06266465A (en) Time setting method in information processing system