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
JP6260403B2 - COMMUNICATION DEVICE, COMMUNICATION PROGRAM, AND COMMUNICATION METHOD - Google Patents
[go: Go Back, main page]

JP6260403B2 - COMMUNICATION DEVICE, COMMUNICATION PROGRAM, AND COMMUNICATION METHOD - Google Patents

COMMUNICATION DEVICE, COMMUNICATION PROGRAM, AND COMMUNICATION METHOD Download PDF

Info

Publication number
JP6260403B2
JP6260403B2 JP2014069397A JP2014069397A JP6260403B2 JP 6260403 B2 JP6260403 B2 JP 6260403B2 JP 2014069397 A JP2014069397 A JP 2014069397A JP 2014069397 A JP2014069397 A JP 2014069397A JP 6260403 B2 JP6260403 B2 JP 6260403B2
Authority
JP
Japan
Prior art keywords
power
notification signal
frame
inh
communication
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.)
Active
Application number
JP2014069397A
Other languages
Japanese (ja)
Other versions
JP2015192376A (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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP2014069397A priority Critical patent/JP6260403B2/en
Publication of JP2015192376A publication Critical patent/JP2015192376A/en
Application granted granted Critical
Publication of JP6260403B2 publication Critical patent/JP6260403B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Description

本発明は、通信装置、通信プログラム及び通信方法に関し、例えば、伝送システムを構成する局側装置に、電源断通知信号を送信する通信装置、通信プログラム及び通信方法に適用し得るものである。 The present invention relates to a communication apparatus, a communication program, and communication method, for example, the central terminal constituting a transmission system, a communication device for transmitting power-off notification signal, it is capable of applying to a communication program, and communication method.

例えば、伝送システムにおいて、リモート側の伝送装置は、電源オフ状態を通知するために、R−INHフレームを含む電源断通知信号をセンタ側装置に通知する機能がある(特許文献1参照)。   For example, in a transmission system, a remote-side transmission device has a function of notifying a power-off notification signal including an R-INH frame to a center-side device in order to notify a power-off state (see Patent Document 1).

ここで、R−INHフレームとは、リモート側の伝送装置の電源オフ状態をセンタ側(局側)へ通知する手段として用いているものである。この電源断通知機能は、伝送装置の電源がオフされる直前にR−INHフレームをセンタ側の伝送装置へ送出するものである。その目的は、局側(センタ側)の保守者が、リモート側で電源がオフされたことを判別できるようになっている。   Here, the R-INH frame is used as means for notifying the center side (station side) of the power-off state of the remote transmission apparatus. This power-off notification function is to send the R-INH frame to the center-side transmission device immediately before the transmission device is turned off. The purpose is that a maintenance person on the station side (center side) can determine that the power is turned off on the remote side.

従来、伝送装置は電源がオフされてからR−INHフレームを送出できるまでのファームウェアが動作できる電力を保持する必要があるため、伝送装置内に大きな容量のコンデンサを実装していることが一般的である。   Conventionally, since it is necessary for the transmission apparatus to maintain power that allows the firmware to operate until the R-INH frame can be transmitted after the power is turned off, a large-capacity capacitor is generally mounted in the transmission apparatus. It is.

図2は、従来のリモート装置90における電源断通知機能を説明する説明図である。図2に示すように、従来のリモート装置90では、電圧監視部92が電源断を検出すると、電圧監視部92がCPU93に電源断信号を通知する。電源断信号の通知後、CPU93はR−INHフレームを生成して、通信回路96がR−INHフレームを送出する。   FIG. 2 is an explanatory diagram for explaining a power-off notification function in the conventional remote device 90. As shown in FIG. 2, in the conventional remote device 90, when the voltage monitoring unit 92 detects power-off, the voltage monitoring unit 92 notifies the CPU 93 of a power-off signal. After notifying the power-off signal, the CPU 93 generates an R-INH frame, and the communication circuit 96 transmits the R-INH frame.

特開2010−252192号公報JP 2010-252192 A

しかしながら、従来のリモート装置における電源断通知機能は、伝送装置内部で電源断を検出した後に、CPUがR−INHフレームを生成して送出するため、R−INHフレームの生成及び送出に要する時間がかかっている。そのため、ファームウェアの動作を確保するために、大容量の電力保持用のコンデンサが必要となるので、装置コストが高くなり、又は装置の構成規模も大きくなっている。   However, in the conventional power-off notification function in the remote device, the CPU generates and sends out the R-INH frame after detecting the power-off in the transmission device, so that the time required to generate and send out the R-INH frame It depends. Therefore, in order to ensure the operation of the firmware, a large-capacity capacitor for holding electric power is required, so that the device cost is increased or the configuration scale of the device is increased.

そのため、電源断通知信号の送出までに要する時間を短縮して、電源断通知信号の送出に必要な電力を軽減し、大容量の電解コンデンサを備えることなく、電源断通知信号を送出することができる通信装置、通信プログラム及び通信方法が求められている。 Therefore, it is possible to reduce the time required to send the power-off notification signal, reduce the power required for sending the power-off notification signal, and send the power-off notification signal without providing a large-capacity electrolytic capacitor. There is a need for a communication device , a communication program, and a communication method.

かかる課題を解決するために、第1の本発明は、電源断発生時に電源断通知信号を局側装置に送信する通信装置において、(1)装置起動後、電源電力の供給を受けているときに、局側装置宛の電源断通知信号を生成する電源断通知信号生成手段と、(2)電源断通知信号生成手段により生成された電源断通知信号を格納する電源断通知信号格納手段と、(3)電源断を検出する電源断検出手段と、(4)電源断検出手段により電源断が検出されると、電源断通知信号格納手段に格納されている電源断通知信号を送信する送信制御手段とを備え、(5)電源断通知信号格納手段が、電源断通知信号について、待機用の電源断通知信号と、運用用の電源断通知信号とを格納するものであり、(6)送信制御手段が、電源断通知信号生成手段により周期的に更新される警報発生時刻情報を待機用の電源断通知信号に上書きし、その後、当該待機用の電源断通知信号を運用用の電源断通知信号として切り替えるものであることを特徴とする通信装置である。 In order to solve this problem, the first aspect of the present invention provides a communication device that transmits a power-off notification signal to a station-side device when a power-off occurs. (1) When receiving power supply after the device is started A power-off notification signal generating means for generating a power-off notification signal addressed to the station side device, and (2) a power-off notification signal storing means for storing the power-off notification signal generated by the power-off notification signal generating means, (3) Power-off detection means for detecting power-off, and (4) Transmission control for transmitting a power-off notification signal stored in the power-off notification signal storage means when power-off detection is detected by the power-off detection means. And (5) a power-off notification signal storing means stores a standby power-off notification signal and an operational power-off notification signal for the power-off notification signal, and (6) transmission. The control means uses the power-off notification signal generation means. The alarm time information is periodically updated to overwrite power failure notification signal for standby, then characterized in that for switching the power-off notification signal for the wait as power failure notification signal for operation It is a communication device.

第2の本発明は、電源断発生時に電源断通知信号を局側装置に送信する通信プログラムにおいて、コンピュータを、(1)装置起動後、電源電力の供給を受けているときに、局側装置宛の電源断通知信号を生成する電源断通知信号生成手段と、(2)電源断通知信号生成手段により生成された電源断通知信号を格納する電源断通知信号格納手段と、(3)電源断を検出する電源断検出手段と、(4)電源断検出手段により電源断が検出されると、電源断通知信号格納手段に格納されている電源断通知信号を送信する送信制御手段として機能させ、(5)電源断通知信号格納手段が、電源断通知信号について、待機用の電源断通知信号と、運用用の電源断通知信号とを格納し、(6)送信制御手段が、電源断通知信号生成手段により周期的に更新される警報発生時刻情報を上記待機用の電源断通知信号に上書きし、その後、当該待機用の電源断通知信号を運用用の電源断通知信号として切り替えることを特徴とする通信プログラムである。
の本発明は、電源断発生時に電源断通知信号を局側装置に送信する通信方法において、(1)電源断通知信号生成手段が、装置起動後、電源電力の供給を受けているときに、局側装置宛の電源断通知信号を生成し、(2)電源断通知信号生成手段により生成された電源断通知信号を電源断通知信号格納手段に格納し、(3)電源断検出手段が電源断を検出し、(4)送信制御手段が、電源断検出手段により電源断が検出されると、電源断通知信号格納手段に格納されている電源断通知信号を送信し、(5)電源断通知信号格納手段が、電源断通知信号について、待機用の電源断通知信号と、運用用の電源断通知信号とを格納し、(6)送信制御手段が、電源断通知信号生成手段により周期的に更新される警報発生時刻情報を待機用の電源断通知信号に上書きし、その後、当該待機用の電源断通知信号を運用用の電源断通知信号として切り替えることを特徴とする通信方法である。
According to a second aspect of the present invention, there is provided a communication program for transmitting a power-off notification signal to a station-side device when a power-off occurs. A power-off notification signal generating means for generating a power-off notification signal for the destination, (2) a power-off notification signal storing means for storing a power-off notification signal generated by the power-off notification signal generating means, and (3) a power-off notification And (4) when power-off detection is detected by the power-off detection means, function as transmission control means for transmitting the power-off notification signal stored in the power-off notification signal storage means, (5) The power-off notification signal storage unit stores a standby power-off notification signal and an operational power-off notification signal for the power-off notification signal, and (6) the transmission control unit stores the power-off notification signal. Periodically updated by generating means The alarm time information overwrites the power-off notification signal for the standby, then, is a communication program characterized by switching the power discontinuity notification signal for the wait as power failure notification signal for operation.
According to a third aspect of the present invention, in the communication method for transmitting a power-off notification signal to the station side device when a power-off occurs, (1) when the power-off notification signal generating means is supplied with power after the device is started And (2) storing the power-off notification signal generated by the power-off notification signal generating means in the power-off notification signal storing means, and (3) power-off detecting means. (4) When the transmission control means detects the power interruption by the power interruption detection means, it transmits the power interruption notification signal stored in the power interruption notification signal storage means . (5) The power-off notification signal storage means stores a standby power-off notification signal and an operational power-off notification signal for the power-off notification signal. (6) The transmission control means uses the power-off notification signal generation means. Power supply for standby with periodically updated alarm occurrence time information Overwriting the notification signal, then, is a communication method characterized by switching the power discontinuity notification signal for the wait as power failure notification signal for operation.

本発明によれば、電源断通知信号の送出に要する時間を短縮して、電源断通知信号の送出に必要な電力を軽減し、大容量の電解コンデンサを備えることなく、電源断通知信号を送出することができる。   According to the present invention, the time required for sending the power-off notification signal is shortened, the power required for sending the power-off notification signal is reduced, and the power-off notification signal is sent without a large-capacity electrolytic capacitor. can do.

実施形態に係る伝送システムの全体構成及びリモート装置の内部構成を示す構成図である。It is a block diagram which shows the whole structure of the transmission system which concerns on embodiment, and the internal structure of a remote apparatus. 従来の伝送システムの全体構成及びリモート装置の内部構成を示す構成図である。It is a block diagram which shows the whole structure of the conventional transmission system, and the internal structure of a remote apparatus. 実施形態に係るリモート装置の電源断通知信号の送出処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of the transmission process of the power-off notification signal of the remote apparatus which concerns on embodiment.

(A)主たる実施形態
以下では、本発明に係る通信装置、通信プログラム及び通信方法の実施形態を、図面を参照しながら詳細に説明する。
(A) Main Embodiments Hereinafter, embodiments of a communication device , a communication program, and a communication method according to the present invention will be described in detail with reference to the drawings.

この実施形態では、伝送システムにおけるリモート側伝送装置(以下、リモート装置と呼ぶ。)が備える通信装置に本発明を適用する場合を例示する。   This embodiment exemplifies a case where the present invention is applied to a communication device provided in a remote transmission device (hereinafter referred to as a remote device) in a transmission system.

(A−1)実施形態の構成
図1は、実施形態に係る伝送システム100の全体構成及びリモート装置1の内部構成を示す構成図である。
(A-1) Configuration of Embodiment FIG. 1 is a configuration diagram illustrating an overall configuration of a transmission system 100 and an internal configuration of a remote device 1 according to the embodiment.

実施形態に係る伝送システム100は、リモート装置1と、センタ装置(局側装置)2とを有する。なお、図1では、リモート装置1が1台の場合を例示しているが、センタ装置2が複数台のリモート装置1と情報の授受を行うものとしても良い。   The transmission system 100 according to the embodiment includes a remote device 1 and a center device (station side device) 2. Although FIG. 1 illustrates the case where there is one remote device 1, the center device 2 may exchange information with a plurality of remote devices 1.

センタ装置2は、リモート装置1との間で情報の授受を行うものである。センタ装置2は、伝送システム100を構成するリモート装置を管理しており、例えば、SNMP(Simple Network Management Protocol)等のネットワーク管理プロトコルにより、リモート装置1からの状況通知信号に基づいてリモート装置1の状況を管理するものである。そのため、センタ装置2は、例えばSNMPマネージャ等のネットワーク管理機能を有している。   The center device 2 exchanges information with the remote device 1. The center device 2 manages the remote devices that make up the transmission system 100. For example, the center device 2 uses a network management protocol such as SNMP (Simple Network Management Protocol) to control the remote device 1 based on the status notification signal from the remote device 1. It manages the situation. For this reason, the center device 2 has a network management function such as an SNMP manager.

リモート装置1は、通信回線を通じてセンタ装置2との間で情報を授受するものである。リモート装置1は、自身の状況をセンタ装置2側に通知する状況通知機能を有している。なお、この実施形態では、リモート装置1とセンタ装置2との間のネットワーク管理プロトコルとしてSNMPを適用する場合を例示する。そのため、リモート装置1は、SNMPエージェントとして機能的に有しており、センタ装置に対して能動的に自身の状況を通知する。 The remote device 1 exchanges information with the center device 2 through a communication line. The remote device 1 has a status notification function that notifies the center device 2 of its own status. In this embodiment, a case where SNMP is applied as a network management protocol between the remote device 1 and the center device 2 is illustrated. Therefore, the remote device 1 has a function as an SNMP agent and actively notifies the center device 2 of its own status.

図1において、リモート装置1は、電力保持用電解コンデンサ11、電圧監視部12、CPU13、RAM14、ROM15、通信回路16を有する。 In FIG. 1, the remote device 1 includes a power holding electrolytic capacitor 11, a voltage monitoring unit 12, a CPU 13, a RAM 14, a ROM 15, and a communication circuit 16 .

電力保持用電解コンデンサ11は、リモート装置1の主電源が電源断となった際に、リモート装置1内に搭載される回路に電力を供給する電力供給部である。この実施形態では、電力保持用電解コンデンサ11が、電源断検出後に、センタ装置2宛に、電源断通知信号を送出するまでの電力を保持するコンデンサ(電解コンデンサ)を例示する。なお、電力保持用電解コンデンサ11は、電力を保持し、電源断検出後に各種回路に電力を供給することができるものであれば、電解コンデンサに代えて二次電池等の電池を用いるようにしても良い。ここで、「電源断通知信号」は、R−INHフレームを含む信号である。   The power holding electrolytic capacitor 11 is a power supply unit that supplies power to a circuit mounted in the remote device 1 when the main power supply of the remote device 1 is cut off. In this embodiment, the power holding electrolytic capacitor 11 illustrates a capacitor (electrolytic capacitor) that holds power until a power-off notification signal is sent to the center device 2 after the power-off is detected. The power holding electrolytic capacitor 11 may be a battery such as a secondary battery instead of the electrolytic capacitor as long as it can hold power and supply power to various circuits after detection of power interruption. Also good. Here, the “power-off notification signal” is a signal including an R-INH frame.

電圧監視部12は、リモート装置1に供給される電力を監視するものである。電圧監視部12は、供給される電源電力の値が閾値より低下したときに、電源断信号31を、後述する通信回路16に与えるものである。電圧監視部12は、リモート装置1に供給される電力値を監視している。リモート装置1の主電源が何らかの原因により電力供給遮断になった後、電力保持用電解コンデンサ11が補助的にリモート装置1の各構成要素に電力を供給する。従って、電圧監視部12は、供給電力値(すなわち、電力保持用電解コンデンサ11が放出する電力値)が閾値より低下したか否かを監視する。   The voltage monitoring unit 12 monitors the power supplied to the remote device 1. The voltage monitoring unit 12 supplies a power-off signal 31 to the communication circuit 16 to be described later when the value of the supplied power is lower than a threshold value. The voltage monitoring unit 12 monitors the power value supplied to the remote device 1. After the main power supply of the remote device 1 is cut off for some reason, the power holding electrolytic capacitor 11 supplementarily supplies power to each component of the remote device 1. Therefore, the voltage monitoring unit 12 monitors whether or not the supply power value (that is, the power value discharged from the power holding electrolytic capacitor 11) is lower than the threshold value.

ここで、従来の方式では、電源断検出後にR−INHフレームの作成を実施するために、電圧監視部が電源断信号31をCPUに通知している。しかし、この実施形態では、後述するように、電源断検出前に、ファームウェアが事前にR−INHフレームを生成して内部メモリ(R−INHフレームメモリ162)にR−INHフレームを格納している。そのため、電源断検出時におけるR−INHフレームの読み出しを開始させるために、電圧監視部12は電源断信号31を通信回路16に通知している。   Here, in the conventional method, the voltage monitoring unit notifies the CPU of the power-off signal 31 in order to create an R-INH frame after detecting the power-off. However, in this embodiment, as will be described later, the firmware generates an R-INH frame in advance and stores the R-INH frame in the internal memory (R-INH frame memory 162) before detecting power-off. . Therefore, the voltage monitoring unit 12 notifies the communication circuit 16 of the power-off signal 31 in order to start reading of the R-INH frame when the power-off is detected.

CPU13は、リモート装置1の機能を司るものである。CPU13は、ROM15に格納される処理プログラムを読み出し、RAM14に格納される処理に必要なデータを用いて処理プログラムを実行することでリモート装置1の機能を実現する。   The CPU 13 manages the functions of the remote device 1. The CPU 13 reads the processing program stored in the ROM 15 and executes the processing program using data necessary for the processing stored in the RAM 14 to realize the function of the remote device 1.

ファームウェアとして機能するCPU13は、電源電力が供給されているときに(電源断信号31の検出前に)、ファームウェアにてR−INHフレームを事前に生成し、その生成したR−INHフレームを通信回路16の内部メモリ(R−INHフレームメモリ162)に格納するものである。   The CPU 13 functioning as firmware generates an R-INH frame in advance in firmware when power is supplied (before detection of the power-off signal 31), and the generated R-INH frame is a communication circuit. It is stored in 16 internal memories (R-INH frame memory 162).

ファームウェアは、リモート装置1の起動時にR−INHフレーム(少なくとも宛先情報が書き込まれたもの)を作成するようにしても良いし、又は起動後、所定時間経過後にR−INHフレームを作成するようにしても良い。また、ファームウェアは、電源断発生時を特定するために、例えば1秒毎に、警報発生時刻情報(年/月/日 時:分:秒)を更新して、R−INHフレームに反映させるようにしている。   The firmware may create an R-INH frame (at least with destination information written) when the remote device 1 is activated, or may create an R-INH frame after a predetermined time has elapsed since activation. May be. In addition, the firmware updates the alarm occurrence time information (year / month / day hour: minute: second), for example, every second to reflect the result in the R-INH frame in order to identify the time when the power interruption has occurred. I have to.

通信回路16は、CPU13の制御の下、通信信号のフレーム送出を制御するものである。通信回路16は、例えば、ASIC(Application Specific Integrated Circuit)、FPGA(Field-programmable gate array)等の回路装置を適用することができる。通信回路16は、リモート装置1が送信すべき主信号フレームの送出制御を行なうと共に、電源断検出時に、内部メモリ(R−INHフレームメモリ162)に格納されているR−INHフレームの送出制御を行なうものである。   The communication circuit 16 controls frame transmission of communication signals under the control of the CPU 13. As the communication circuit 16, for example, a circuit device such as an application specific integrated circuit (ASIC) or a field-programmable gate array (FPGA) can be applied. The communication circuit 16 performs transmission control of the main signal frame to be transmitted by the remote device 1 and also performs transmission control of the R-INH frame stored in the internal memory (R-INH frame memory 162) when power-off is detected. To do.

図1に示すように、通信回路16は、TIME_TICK更新部161、R−INHフレームメモリ162、フレームメモリリード制御部163、競合制御回路部164、セレクタ165、信号切替部166、レジスタ167を有する。   As illustrated in FIG. 1, the communication circuit 16 includes a TIME_TICK update unit 161, an R-INH frame memory 162, a frame memory read control unit 163, a contention control circuit unit 164, a selector 165, a signal switching unit 166, and a register 167.

TIME_TICK更新部161は、ハードウェアである通信回路16を自律的に動作させるための内部カウンタである。ここで、TIME_TICKとは装置内部に設けられているタイムスタンプである。TIME_TICK更新部161は、ファームウェアから1秒毎にTIME_TICKレジスタ23を更新する。また、TIME_TICK更新部161は、更新されたTIME_TICKレジスタ23をロードして、10ms周期でカウンタを動作させてタイムスタンプを更新する。   The TIME_TICK updating unit 161 is an internal counter for autonomously operating the communication circuit 16 that is hardware. Here, TIME_TICK is a time stamp provided inside the apparatus. The TIME_TICK updating unit 161 updates the TIME_TICK register 23 every second from the firmware. Further, the TIME_TICK update unit 161 loads the updated TIME_TICK register 23 and operates the counter at a cycle of 10 ms to update the time stamp.

R−INHフレームメモリ162は、ファームウェアで生成されたR−INHフレームを格納するものである。R−INHフレームは、格納されているR−INHフレームを読み出して即座に送信できるようにするため、SNMPのトラップフレーム形式の構成とする。   The R-INH frame memory 162 stores R-INH frames generated by firmware. The R-INH frame has an SNMP trap frame format so that the stored R-INH frame can be read and transmitted immediately.

R−INHフレームメモリ162は、それぞれ2個の宛先としたR−INHフレームを運用面と待機面とを区別した、合計4個のR−INHフレームを格納している。例えば図1では、R−INHフレーム「DA1_1」及びR−INHフレーム「DA1_2」について、宛先「DA1」を示しており、「_」後の数字「1」が運用面、「_」後の数字「2」が待機面を示している。   The R-INH frame memory 162 stores a total of four R-INH frames in which R-INH frames each having two destinations are distinguished from the operation side and the standby side. For example, in FIG. 1, the destination “DA1” is shown for the R-INH frame “DA1_1” and the R-INH frame “DA1_2”, the number “1” after “_” is the operational aspect, and the number after “_”. “2” indicates a standby surface.

ここで、R−INHフレームメモリ162が運用面と待機面の2種類のR−INHフレームを格納する理由は、次の通りである。上述したように、ファームウェアは、1秒毎に警報発生時刻情報(年/月/日 時:分:秒)を更新している。そのため、時刻情報を更新しているときに電源断信号31が受信されると、更新が完了していない情報でR−INHフレームの送出を防止することになるために、運用面と待機面の2種類のR−INHフレームを格納するようにしている。   Here, the reason why the R-INH frame memory 162 stores two types of R-INH frames, that is, the operation side and the standby side, is as follows. As described above, the firmware updates the alarm occurrence time information (year / month / day hour: minute: second) every second. For this reason, if the power-off signal 31 is received while updating the time information, the R-INH frame is prevented from being transmitted with information that has not been updated. Two types of R-INH frames are stored.

R−INHフレームメモリ162では、ファームウェアで1秒毎に警報発生時刻情報(年/月/日 時:分:秒)を待機面に更新して、その後、待機面を運用面として切り替えるようにしている。   In the R-INH frame memory 162, the firmware updates the alarm occurrence time information (year / month / day hour: minute: second) every second by the firmware, and then switches the standby side to the operational side. Yes.

フレームメモリリード制御部163は、電源断信号31を取得すると、R−INHフレームの送信開始フラグをセットして、R−INHフレームの読み出しを行い、セレクタ165を制御するものである。   When the frame memory read control unit 163 acquires the power-off signal 31, the frame memory read control unit 163 sets a transmission start flag for the R-INH frame, reads the R-INH frame, and controls the selector 165.

競合制御回路部164は、R−INHフレームを送信する際に、主信号フレームが送信中の場合に、主信号フレームとR−INHフレームとの競合回避を制御するものである。競合制御回路部164は、R−INHフレーム送信イネーブルレジスタ21からイネーブル信号を取得すると、主信号フレームが送信中の場合に、内部のカウンタで主信号フレームの送出バイト数をカウントする。そして、所定の送出バイト数のカウント後、競合制御回路部164は、信号切替部166に主信号フレームの送信を停止させるようにする。 The contention control circuit unit 164 controls contention avoidance between the main signal frame and the R-INH frame when the main signal frame is being transmitted when transmitting the R-INH frame. When the contention control circuit unit 164 obtains the enable signal from the R-INH frame transmission enable register 21, when the main signal frame is being transmitted, the contention control circuit unit 164 counts the number of transmitted bytes of the main signal frame with an internal counter. After counting the predetermined number of transmission bytes, the contention control circuit unit 164 causes the signal switching unit 166 to stop transmitting the main signal frame.

セレクタ165は、フレームメモリリード制御部163の制御の下、R−INHフレームメモリ162から読み出されたR−INHフレームに、TIME_TICK更新部161からのTIME_TICK情報を上書きして、R−INHフレームを信号切替部166に与えるものである。   The selector 165 overwrites the TIME_TICK information from the TIME_TICK update unit 161 on the R-INH frame read from the R-INH frame memory 162 under the control of the frame memory read control unit 163, and sets the R-INH frame. This is given to the signal switching unit 166.

信号切替部166は、取得した主信号フレーム又はセレクタ165からのR−INHフレームを後段に送出するものである。R−INHフレームを送信する際、主信号フレームが送信中である場合、信号切替部166は、競合制御回路部164の制御を受けて、主信号フレームの送信停止をして、R−INHフレームを送出する。   The signal switching unit 166 sends the acquired main signal frame or the R-INH frame from the selector 165 to the subsequent stage. When transmitting the R-INH frame, if the main signal frame is being transmitted, the signal switching unit 166 stops the transmission of the main signal frame under the control of the contention control circuit unit 164 and transmits the R-INH frame. Is sent out.

レジスタ167は、ファームウェアで生成されたR−INHフレームに関する設定情報(ビット情報)を格納するものである。レジスタ167は、R−INHフレーム送信イネーブルレジスタ21、R−INH送信フレーム長レジスタ22、TIME_TICKレジスタ23、TIME_TICKオフセットレジスタ24、運用面設定レジスタ25、R−INH状態読み出しレジスタ26を有する。 The register 167 stores setting information (bit information) related to the R-INH frame generated by the firmware. The register 167 includes an R-INH frame transmission enable register 21, an R-INH transmission frame length register 22, a TIME_TICK register 23, a TIME_TICK offset register 24, an operation plane setting register 25, and an R-INH state reading register 26.

R−INHフレーム送信イネーブルレジスタ21は、R−INH送信イネーブル信号を格納しており、電源断信号31を受信すると、競合制御回路部164にR−INH送信イネーブル信号(図1では、イネーブル信号32と表現している。)を通知する。 R-INH frame transmission enable register 21 stores a R-INH transmission enable signal, when receiving the power-off signal 31, the R-INH transmission enable signal (FIG. 1 to competition control circuit unit 164, the enable signal 32 ).

R−INH送信フレーム長レジスタ22は、R−INHフレームメモリ162に格納されている各R−INHフレームのフレーム長情報を格納するものである。   The R-INH transmission frame length register 22 stores frame length information of each R-INH frame stored in the R-INH frame memory 162.

TIME_TICKレジスタ23は、TIME_TICK更新部161により更新されたTIME_TICKを格納するものである。   The TIME_TICK register 23 stores the TIME_TICK updated by the TIME_TICK update unit 161.

TIME_TICKオフセットレジスタ24は、TIME_TICKのオフセット情報を格納するものである。   The TIME_TICK offset register 24 stores offset information of TIME_TICK.

運用面設定レジスタ25は、R−INHフレームメモリ162に格納される各宛先のR−INHフレームのうち、運用面がいずれであるかを格納するものである。   The operation side setting register 25 stores which of the destination R-INH frames stored in the R-INH frame memory 162 is the operation side.

R−INH状態読み出しレジスタ26は、R−INHフレームの状態情報を格納するものである。   The R-INH state reading register 26 stores state information of the R-INH frame.

(A−2)実施形態の動作
次に、この実施形態に係るリモート装置1における電源断通知信号(R−INHフレーム)の送出処理の動作を、図面を参照しながら詳細に説明する。
(A-2) Operation of Embodiment Next, the operation of the power-off notification signal (R-INH frame) sending process in the remote device 1 according to this embodiment will be described in detail with reference to the drawings.

図3は、実施形態に係るリモート装置1の電源断通知信号の送出処理の動作を示すフローチャートである。   FIG. 3 is a flowchart illustrating the operation of the power-off notification signal transmission process of the remote device 1 according to the embodiment.

まず、リモート装置1において電源が供給されている際、電力保持用電解コンデンサ11はコンデンサ電力を保持する。また、ファームウェアからのR−INHフレームの基本フレームが、R−INHフレームメモリ162に記憶される。このとき、センタ装置2の宛先情報(例えば、MACアドレス等)が書き込まれたSNMPトラップ形式で基本的なフレーム構成が書き込まれる。   First, when power is supplied to the remote device 1, the power holding electrolytic capacitor 11 holds the capacitor power. Further, the basic frame of the R-INH frame from the firmware is stored in the R-INH frame memory 162. At this time, the basic frame configuration is written in the SNMP trap format in which the destination information (for example, the MAC address) of the center apparatus 2 is written.

リモート装置1において電源断が発生すると(S101)、電力保持用電解コンデンサ11が保持していた電力が放出される(S102)。なお、電力保持用電解コンデンサが電力の放出をし続けると、電力保持用電解コンデンサの容量が低下していき、除去に電圧が低下する。   When the power is cut off in the remote device 1 (S101), the power held by the power holding electrolytic capacitor 11 is released (S102). When the power holding electrolytic capacitor continues to discharge power, the capacity of the power holding electrolytic capacitor decreases, and the voltage decreases for removal.

電圧監視部12は常にリモート装置1内の供給電力値を監視しており、電源電力値が閾値を下回ると(S103)、電圧監視部12は通信回路16に電源断信号31を通知する(S104)。   The voltage monitoring unit 12 constantly monitors the power supply value in the remote device 1 and when the power supply power value falls below the threshold (S103), the voltage monitoring unit 12 notifies the communication circuit 16 of the power-off signal 31 (S104). ).

通信回路16が電源断信号31を取得すると、レジスタ167のR−INHフレーム送信イネーブルレジスタ21がイネーブル信号32を競合制御回路部164に通知する(S105)。 When the communication circuit 16 acquires the power-off signal 31, the R-INH frame transmission enable register 21 of the register 167 notifies the contention control circuit unit 164 of the enable signal 32 (S105).

競合制御回路部164がイネーブル信号32を受信すると、競合制御回路部164が主信号フレームの送信状況を確認する(S106)。主信号フレームが送信中であるときS107に移行し、主信号フレームが送信されていないときS110に移行する。   When the contention control circuit unit 164 receives the enable signal 32, the contention control circuit unit 164 confirms the transmission status of the main signal frame (S106). When the main signal frame is being transmitted, the process proceeds to S107, and when the main signal frame is not transmitted, the process proceeds to S110.

主信号フレームが送信中の場合、競合制御回路部164は、以下の2点の動作を確認する。   When the main signal frame is being transmitted, the contention control circuit unit 164 confirms the following two operations.

まず、送信中の主信号フレームが64byte以上送出済みであれば、主信号フレームの送出を停止する(S108)。   First, if the main signal frame being transmitted has been transmitted for 64 bytes or more, the transmission of the main signal frame is stopped (S108).

また、送信中の主信号フレームが64byte未満のとき、競合制御回路部164は、送信中の主信号フレームが送信完了するまで待機する(S109)。   When the main signal frame being transmitted is less than 64 bytes, the contention control circuit unit 164 waits until the transmission of the main signal frame being transmitted is completed (S109).

競合制御回路部164は、フレームメモリリード制御部163にイネーブル信号33を通知する(S110)。   The contention control circuit unit 164 notifies the enable signal 33 to the frame memory read control unit 163 (S110).

フレームメモリリード制御部163がイネーブル信号を受信すると、レジスタ167の運用面設定レジスタ25を確認して、送信するR−INHフレームの運用面を確認する(S111)。   When the frame memory read control unit 163 receives the enable signal, the operation side setting register 25 of the register 167 is checked to check the operation side of the R-INH frame to be transmitted (S111).

フレームメモリリード制御部163は、R−INH送信フレーム長レジスタ22からR−INHフレームの送信フレーム長レジスタ値を確認し、R−INHフレームメモリ162に格納されているR−INHフレームを送信フレーム長レジスタ値まで読み出する(S112)。   The frame memory read control unit 163 confirms the transmission frame length register value of the R-INH frame from the R-INH transmission frame length register 22 and transmits the R-INH frame stored in the R-INH frame memory 162 to the transmission frame length. The register value is read (S112).

R−INHフレームを読み出した後、フレームメモリリード制御部163はセレクタ165を制御して、R−INHフレームメモリ162から送出されたR−INHフレームに、TIME_TICK更新部161のTIME_TICK情報をセレクタ165で上書きさせる(S113)。   After reading out the R-INH frame, the frame memory read control unit 163 controls the selector 165 so that the TIME_TICK information of the TIME_TICK update unit 161 is added to the R-INH frame sent from the R-INH frame memory 162 by the selector 165. Overwriting is performed (S113).

セレクタ165から出力されるR−INHフレームは、信号切替部166に与えられ、信号切替部166は、競合制御回路部164の制御を受けて、センタ装置(局側装置)2にR−INHフレームを送出する(S114)。これにより、センタ装置(局側装置)2にR−INHフレームを送出することができる。   The R-INH frame output from the selector 165 is given to the signal switching unit 166, and the signal switching unit 166 receives the control of the contention control circuit unit 164 and sends the R-INH frame to the center device (station side device) 2. Is sent out (S114). Thereby, the R-INH frame can be transmitted to the center apparatus (station side apparatus) 2.

(A−3)実施形態の効果
以上のように、この実施形態によれば、伝送装置であるリモート装置が、電源断信号を受信する前にR−INHフレームを生成し、電源断信号を受信後すぐにR−INHフレームを送出することができるので、R−INHフレームの送出に要する時間を短縮できる。その結果、容量の小さいコンデンサを実装することができ、装置コストの軽減及び装置の回路規模の縮小を図ることができる。
(A-3) Effect of Embodiment As described above, according to this embodiment, the remote device that is the transmission device generates the R-INH frame and receives the power-off signal before receiving the power-off signal. Since the R-INH frame can be sent immediately afterward, the time required for sending the R-INH frame can be shortened. As a result, a capacitor having a small capacity can be mounted, and the device cost can be reduced and the circuit scale of the device can be reduced.

この実施形態によれば、例えば、コンデンサの容量は従来比で30%程度削減できる。また例えば、コンデンサの容量削減により、部品のコストを60%程度、実装面積を60−70%程度削減できる。   According to this embodiment, for example, the capacitance of the capacitor can be reduced by about 30% compared to the conventional case. Further, for example, by reducing the capacity of the capacitor, the cost of components can be reduced by about 60% and the mounting area can be reduced by about 60-70%.

(B)他の実施形態
上述した実施形態においても種々の変形実施形態を言及したが、本発明は以下の変形実施形態を適用することができる。
(B) Other Embodiments Although various modified embodiments have been mentioned in the above-described embodiments, the following modified embodiments can be applied to the present invention.

(B−1)上述した実施形態では、伝送装置であるリモート装置がR−INHフレームの例を示したが、電源断検出時にR−INHフレームを通知する装置、システムに広く適用することができる。 (B-1) In the above-described embodiment, an example in which a remote device as a transmission device uses an R-INH frame has been described. However, the present invention can be widely applied to devices and systems that notify an R-INH frame when power failure is detected. .

(B−2)上述した実施形態では、ネットワーク管理プロトコルがSNMPを適用する場合を例示したが、SNMPに限定されるものではない。例えば、リモート装置が定期的に又は何らかのコマンドが通知されたときに、リモート装置がセンタ装置に自身の状況を通知するものであれば、広く適用することができる。 (B-2) In the above-described embodiment, the case where the network management protocol applies SNMP is illustrated, but the present invention is not limited to SNMP. For example, the present invention can be widely applied as long as the remote device notifies the center device of its own status periodically or when some command is notified.

(B−3)上述した実施形態では、R−INHフレームメモリが、2個の宛先を事前に書き込んだR−INHフレーム(基本フレーム)を格納する場合を例示したが、センタ装置の宛先情報は1個であっても良いし、3個以上であってもよい。 (B-3) In the above-described embodiment, an example in which the R-INH frame memory stores an R-INH frame (basic frame) in which two destinations are written in advance is illustrated. One may be sufficient and three or more may be sufficient.

100…伝送システム、1…リモート装置、11…電力保持用電解コンデンサ、12…電圧監視部、13…CPU、14…RAM、15…ROM、16…通信回路、161…TIME_TICK更新部、162…R−INHフレームメモリ、163…フレームメモリリード制御部、164…競合制御回路部、165…セレクタ、166…信号切替部、167…レジスタ。   DESCRIPTION OF SYMBOLS 100 ... Transmission system, 1 ... Remote apparatus, 11 ... Electrolytic capacitor for electric power holding, 12 ... Voltage monitoring part, 13 ... CPU, 14 ... RAM, 15 ... ROM, 16 ... Communication circuit, 161 ... TIME_TICK update part, 162 ... R -INH frame memory, 163 ... frame memory read control unit, 164 ... contention control circuit unit, 165 ... selector, 166 ... signal switching unit, 167 ... register.

Claims (4)

電源断発生時に電源断通知信号を局側装置に送信する通信装置において、
装置起動後、電源電力の供給を受けているときに、上記局側装置宛の電源断通知信号を生成する電源断通知信号生成手段と、
上記電源断通知信号生成手段により生成された上記電源断通知信号を格納する電源断通知信号格納手段と、
電源断を検出する電源断検出手段と、
上記電源断検出手段により電源断が検出されると、上記電源断通知信号格納手段に格納されている上記電源断通知信号を送信する送信制御手段と
を備え
上記電源断通知信号格納手段が、上記電源断通知信号について、待機用の電源断通知信号と、運用用の電源断通知信号とを格納するものであり、
上記送信制御手段が、上記電源断通知信号生成手段により周期的に更新される警報発生時刻情報を上記待機用の電源断通知信号に上書きし、その後、当該待機用の電源断通知信号を運用用の電源断通知信号として切り替えるものである
ことを特徴とする通信装置。
In a communication device that transmits a power-off notification signal to a station-side device when a power-off occurs,
A power-off notification signal generating means for generating a power-off notification signal addressed to the station-side device when receiving power supply after starting the device;
A power-off notification signal storing means for storing the power-off notification signal generated by the power-off notification signal generating means;
Power-off detection means for detecting power-off,
A transmission control means for transmitting the power-off notification signal stored in the power-off notification signal storage means when a power-off is detected by the power-off detection means ;
The power-off notification signal storage means stores a standby power-off notification signal and an operational power-off notification signal for the power-off notification signal,
The transmission control unit overwrites the standby power-off notification signal with the alarm occurrence time information periodically updated by the power-off notification signal generation unit, and then uses the standby power-off notification signal for operation. A communication apparatus that is switched as a power-off notification signal .
時刻情報を更新する時刻情報更新手段を備え、
上記送信制御手段が、電源断発生時に、上記時刻情報更新手段により更新された最新時刻情報を上記電源断通知信号に含めて送信するものであることを特徴とする請求項1に記載の通信装置。
Time information update means for updating time information is provided,
2. The communication apparatus according to claim 1, wherein the transmission control means transmits the latest time information updated by the time information update means in the power-off notification signal when a power-off occurs. .
電源断発生時に電源断通知信号を局側装置に送信する通信プログラムにおいて、In a communication program that sends a power-off notification signal to the station-side device when a power-off occurs,
コンピュータを、Computer
装置起動後、電源電力の供給を受けているときに、上記局側装置宛の電源断通知信号を生成する電源断通知信号生成手段と、A power-off notification signal generating means for generating a power-off notification signal addressed to the station-side device when receiving power supply after starting the device;
上記電源断通知信号生成手段により生成された上記電源断通知信号を格納する電源断通知信号格納手段と、A power-off notification signal storing means for storing the power-off notification signal generated by the power-off notification signal generating means;
電源断を検出する電源断検出手段と、Power-off detection means for detecting power-off,
上記電源断検出手段により電源断が検出されると、上記電源断通知信号格納手段に格納されている上記電源断通知信号を送信する送信制御手段とA transmission control means for transmitting the power-off notification signal stored in the power-off notification signal storage means when the power-off detection means is detected by the power-off detection means;
して機能させ、To function,
上記電源断通知信号格納手段が、上記電源断通知信号について、待機用の電源断通知信号と、運用用の電源断通知信号とを格納し、The power-off notification signal storage means stores a standby power-off notification signal and an operational power-off notification signal for the power-off notification signal,
上記送信制御手段が、上記電源断通知信号生成手段により周期的に更新される警報発生時刻情報を上記待機用の電源断通知信号に上書きし、その後、当該待機用の電源断通知信号を運用用の電源断通知信号として切り替えるThe transmission control unit overwrites the standby power-off notification signal with the alarm occurrence time information periodically updated by the power-off notification signal generation unit, and then uses the standby power-off notification signal for operation. As a power-off notification signal
ことを特徴とする通信プログラム。A communication program characterized by the above.
電源断発生時に電源断通知信号を局側装置に送信する通信方法において、
電源断通知信号生成手段が、装置起動後、電源電力の供給を受けているときに、上記局側装置宛の電源断通知信号を生成し、
上記電源断通知信号生成手段により生成された上記電源断通知信号を電源断通知信号格納手段に格納し、
電源断検出手段が電源断を検出し、
送信制御手段が、上記電源断検出手段により電源断が検出されると、上記電源断通知信号格納手段に格納されている上記電源断通知信号を送信し、
上記電源断通知信号格納手段が、上記電源断通知信号について、待機用の電源断通知信号と、運用用の電源断通知信号とを格納し、
上記送信制御手段が、上記電源断通知信号生成手段により周期的に更新される警報発生時刻情報を上記待機用の電源断通知信号に上書きし、その後、当該待機用の電源断通知信号を運用用の電源断通知信号として切り替える
ことを特徴とする通信方法。
In a communication method for transmitting a power-off notification signal to a station-side device when a power-off occurs,
When the power-off notification signal generating means receives the supply of power after starting the device, it generates a power-off notification signal addressed to the station side device,
Storing the power-off notification signal generated by the power-off notification signal generating means in the power-off notification signal storing means;
The power interruption detection means detects the power interruption,
When the transmission control means detects the power interruption by the power interruption detection means, it transmits the power interruption notification signal stored in the power interruption notification signal storage means ,
The power-off notification signal storage means stores a standby power-off notification signal and an operational power-off notification signal for the power-off notification signal,
The transmission control unit overwrites the standby power-off notification signal with the alarm occurrence time information periodically updated by the power-off notification signal generation unit, and then uses the standby power-off notification signal for operation. A communication method characterized by switching as a power-off notification signal .
JP2014069397A 2014-03-28 2014-03-28 COMMUNICATION DEVICE, COMMUNICATION PROGRAM, AND COMMUNICATION METHOD Active JP6260403B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014069397A JP6260403B2 (en) 2014-03-28 2014-03-28 COMMUNICATION DEVICE, COMMUNICATION PROGRAM, AND COMMUNICATION METHOD

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014069397A JP6260403B2 (en) 2014-03-28 2014-03-28 COMMUNICATION DEVICE, COMMUNICATION PROGRAM, AND COMMUNICATION METHOD

Publications (2)

Publication Number Publication Date
JP2015192376A JP2015192376A (en) 2015-11-02
JP6260403B2 true JP6260403B2 (en) 2018-01-17

Family

ID=54426546

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014069397A Active JP6260403B2 (en) 2014-03-28 2014-03-28 COMMUNICATION DEVICE, COMMUNICATION PROGRAM, AND COMMUNICATION METHOD

Country Status (1)

Country Link
JP (1) JP6260403B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7667353B2 (en) * 2006-05-30 2010-02-23 Aaron Coolidge Remote electrical device switching control, and status monitoring and reporting system
JP5220656B2 (en) * 2009-02-26 2013-06-26 株式会社日立製作所 Network system
JP2015012348A (en) * 2013-06-27 2015-01-19 株式会社日立製作所 Remote monitoring method for terminal device

Also Published As

Publication number Publication date
JP2015192376A (en) 2015-11-02

Similar Documents

Publication Publication Date Title
CN110389815B (en) Task processing methods, devices and systems
JP5143286B2 (en) Communication system and communication device state determination method
CN107070731B (en) Master-slave arbitration method and system
WO2016192212A1 (en) Method and apparatus for processing power down warning information of optical network unit onu
CN110199564A (en) Communication device, meter reading system and power outage notification method
CN101977127A (en) SNMP (Simple Network Management Protocol) based equipment configuration roll back method and SNMP network management equipment
CN109040295B (en) Method and device for determining abnormal disconnection, terminal and storage medium
US8826082B2 (en) Optical communication system, interface board and control method performed in interface board
CN106301840B (en) Method and device for sending bidirectional forwarding detection BFD message
JP6260403B2 (en) COMMUNICATION DEVICE, COMMUNICATION PROGRAM, AND COMMUNICATION METHOD
WO2014050493A1 (en) Backup device, main device, redundancy configuration system, and load dispersion method
US11244554B1 (en) Method and a device for signal transmission from wired security sensors and/or fire annunciators
CN109982450B (en) Communication link repairing method, device, coordinator and system
CN110603710B (en) Communication device, communication method, and communication system
KR20150104435A (en) Method of performing transition of operation mode for a routing processor
JP4728159B2 (en) Distributed power supply device and failure recovery method for distributed power supply
CN104394003B (en) Power supply trouble processing method, device and power supply unit
CN101635617B (en) Method and system for determining primary/standby state in communication apparatus
JP6504803B2 (en) Station side communication apparatus, optical communication system, and reboot control method
JP2015179990A (en) address setting method and system
JP2018202940A (en) Software update system
JP6784939B2 (en) Network equipment
JP2010087583A (en) Radio communication method and node
JP2017228938A (en) Communication device and inspection method
JP2015186076A (en) Battery monitoring device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20161115

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170810

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170829

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20171024

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20171114

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20171127

R150 Certificate of patent or registration of utility model

Ref document number: 6260403

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150