CN108337113B - Transmission line switching device and method - Google Patents

Transmission line switching device and method Download PDF

Info

Publication number
CN108337113B
CN108337113B CN201810031778.7A CN201810031778A CN108337113B CN 108337113 B CN108337113 B CN 108337113B CN 201810031778 A CN201810031778 A CN 201810031778A CN 108337113 B CN108337113 B CN 108337113B
Authority
CN
China
Prior art keywords
transmission line
transmission
current
message
request
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
CN201810031778.7A
Other languages
Chinese (zh)
Other versions
CN108337113A (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.)
Azbil Corp
Original Assignee
Azbil 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 Azbil Corp filed Critical Azbil Corp
Publication of CN108337113A publication Critical patent/CN108337113A/en
Application granted granted Critical
Publication of CN108337113B publication Critical patent/CN108337113B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q1/00Details of selecting apparatus or arrangements
    • H04Q1/18Electrical details
    • H04Q1/20Testing circuits or apparatus; Circuits or apparatus for detecting, indicating, or signalling faults or troubles
    • H04Q1/22Automatic arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0668Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q1/00Details of selecting apparatus or arrangements
    • H04Q1/18Electrical details
    • H04Q1/30Signalling arrangements; Manipulation of signalling currents

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

本发明的传送线路切换装置以及方法缩短再次开始通信的时间。在通信终端装置群(2)中没有消息的发送请求、且电流未流过A系统的传送线路(主系统的传送线路)(3)的状态持续在规定时间(T)(例如,5ms)以上时,将B系统(备用系统)的传送线路(4)切换为主系统的传送线路(通过将开关(5)设为间隔状态,将开关(6)设为标记状态,从而使主系统从A系统转变成B系统)。由此,在B系统(备用系统)的传送线路(4)向主系统的传送线路的切换之后发送下一个消息时,不用等待电源装置(1)的内部的电压(VS’)调整至稳定,能够缩短再次开始通信的时间。

Figure 201810031778

The transmission line switching device and method of the present invention shorten the time required to resume communication. In the communication terminal device group (2), there is no request to send a message, and the current does not flow through the transmission line of the A system (the transmission line of the main system) (3) The state continues for a predetermined time (T) (for example, 5 ms) or more When the transmission line (4) of the B system (standby system) is switched to the transmission line of the main system (by setting the switch (5) to the interval state and the switch (6) to the mark state, the main system is switched from the A system into B system). Thereby, when the next message is sent after the transmission line (4) of the B system (standby system) is switched to the transmission line of the main system, there is no need to wait for the voltage (VS') inside the power supply device (1) to be adjusted to be stable, The time to restart communication can be shortened.

Figure 201810031778

Description

传送线路切换装置以及方法Transmission line switching device and method

技术领域technical field

本发明涉及一种在通过电流环方式进行通信的通信系统中使用的传送线路切换装置以及方法。The present invention relates to a transmission line switching device and method used in a communication system that communicates by a current loop method.

背景技术Background technique

以往以来,使用通过电流环方式进行通信的通信系统。电流环方式是指根据电流值的变化而传送信号的通信方式,是根据环电流的ON(例如,30mA)和OFF(例如,2mA)而将通信信号传递给连接于传送线路中的通信终端装置的通信方式。Conventionally, a communication system that communicates by a current loop method has been used. The current loop method refers to a communication method that transmits a signal according to a change in the current value, and transmits a communication signal to a communication terminal device connected to a transmission line according to the ON (eg, 30mA) and OFF (eg, 2mA) of the loop current. method of communication.

在该通信方式中,将把环电流设为ON时的通信信号称为标记(Mark)信号,将此时的环电流称为标记电流,将把环电流设为OFF时的通信信号称为间隔(Space)信号,将此时的环电流称为间隔电流(例如,参照专利文献1)。In this communication method, a communication signal when the loop current is turned on is called a mark signal, the loop current at this time is called a mark current, and a communication signal when the loop current is turned off is called a gap (Space) signal, the loop current at this time is called a space current (for example, refer to Patent Document 1).

图8是示出采用电流环方式的使传送线路双重化的以往的通信系统的一个例子的图。在该图中,1是电源装置,2是通信终端装置群,电源装置1与通信终端装置群2之间的传送线路被双重化。即,在该通信系统100中,电源装置1与通信终端装置群2通过A系统的传送线路3和B系统的传送线路4来连接。FIG. 8 is a diagram showing an example of a conventional communication system in which transmission lines are duplexed using a current loop method. In the figure, 1 is a power supply device, 2 is a group of communication terminal devices, and the transmission line between the power supply device 1 and the group of communication terminal devices 2 is doubled. That is, in this communication system 100, the power supply device 1 and the communication terminal device group 2 are connected via the transmission line 3 of the A system and the transmission line 4 of the B system.

此外,在图8中,为了方便说明,将通信终端装置群2分成2个而示出,但实际的通信终端装置群2是1个。通信终端装置群2由串联连接的母机、子机等构成,作为共同的负载而连接于A系统的传送线路3和B系统的传送线路4的线路中。In addition, in FIG. 8, for convenience of description, the communication terminal apparatus group 2 is divided into two and shown, but the actual communication terminal apparatus group 2 is one. The communication terminal device group 2 is constituted by series-connected main units, sub units, and the like, and is connected to the line of the transmission line 3 of the A system and the transmission line 4 of the B system as a common load.

另外,在该例子中,在A系统的传送线路3上设置有开关5,在B系统的传送线路4上设置有开关6。能够使用晶体管作为开关5、6。A系统的传送线路3通过将开关5设为标记状态(电流容易流过的状态)而被设为主系统的传送线路。B系统的传送线路4通过将开关6设为间隔状态(电流不易流过的状态(2mA以下))而被设为备用系统的传送线路。In addition, in this example, the switch 5 is provided on the transmission line 3 of the A system, and the switch 6 is provided on the transmission line 4 of the B system. Transistors can be used as switches 5 , 6 . The transmission line 3 of the A system is set as the transmission line of the main system by setting the switch 5 in the marked state (state in which the current easily flows). The transmission line 4 of the B system is set as the transmission line of the backup system by setting the switch 6 in an interval state (a state in which a current does not easily flow (2 mA or less)).

在该通信系统100中,通信终端装置群2通过使在A系统(主系统)的传送线路3中流过的电流的值变化,即将A系统(主系统)的传送线路3的环电流设为ON(例如,30mA)或者设为OFF(例如,2mA),从而进行消息的发送。In the communication system 100, the communication terminal device group 2 turns on the circulating current of the transmission line 3 of the A system (main system) by changing the value of the current flowing in the transmission line 3 of the A system (main system). (for example, 30mA) or set to OFF (for example, 2mA) to transmit a message.

〔传送线路切换装置〕[Transmission line switching device]

如图9所示,在该通信系统100中设置有传送线路切换装置7。该传送线路切换装置7监视在通信终端装置群2中有没有消息的发送请求,在有消息的发送请求的情况下,在即将发送该消息之前,确认A系统(主系统)的传送线路3以及B系统(备用系统)的传送线路4这两个系统的环路是否确立。As shown in FIG. 9 , the communication system 100 is provided with a transmission line switching device 7 . The transmission line switching device 7 monitors whether there is a message transmission request in the communication terminal device group 2, and when there is a message transmission request, confirms the transmission line 3 and Whether the loop of the two systems, the transmission line 4 of the B system (standby system), is established.

在这里,在A系统(主系统)的传送线路3的环路未确立而B系统(备用系统)的传送线路4的环路已确立的情况下,判断为A系统(主系统)的传送线路3发生了断线,将B系统(备用系统)的传送线路4切换为主系统的传送线路(参照图10)。即,通过将开关5设为间隔状态,将开关6设为标记状态,从而使主系统从A系统转移成B系统。Here, when the loop of the transmission line 3 of the A system (main system) is not established and the loop of the transmission line 4 of the B system (backup system) has been established, it is determined as the transmission line of the A system (main system). 3 is disconnected, and the transmission line 4 of the B system (standby system) is switched to the transmission line of the main system (see FIG. 10 ). That is, by setting the switch 5 in the interval state and setting the switch 6 in the flag state, the main system is transferred from the A system to the B system.

现有技术文献prior art literature

专利文献Patent Literature

专利文献1:日本特开平11-68856号公报Patent Document 1: Japanese Patent Application Laid-Open No. 11-68856

专利文献2:日本专利第4451718号公报Patent Document 2: Japanese Patent No. 4451718

发明内容SUMMARY OF THE INVENTION

发明要解决的技术问题The technical problem to be solved by the invention

最近,作为电源装置1,采用根据负载而调整内部的电压VS’的方式(例如,参照专利文献2)。如果采用该方式,则不再存在电压调整作业,操作性变优良,但另一方面,产生从连接通信终端装置群2至电源装置1的内部的电压VS’稳定为止(最大2秒)的无法进行通信的期间。Recently, as the power supply device 1, a method of adjusting the internal voltage VS' according to the load has been adopted (for example, refer to Patent Document 2). According to this method, the voltage adjustment operation is eliminated, and the operability is improved, but on the other hand, there occurs a failure to stabilize the voltage VS' inside the power supply device 1 after connecting the communication terminal device group 2 (maximum 2 seconds). during the communication.

连接通信终端装置群2后立即需要进行通信的状况是罕见的,所以,它自身没有问题。但是,在上述使传送线路双重化的通信系统100中,当A系统(主系统)的传送线路3发生断线时,A系统(主系统)的阻抗负载变得极大,调整电源装置1的内部的电压VS’的功能暂时地变得不稳定。因此,在将B系统(备用系统)的传送线路4切换为主系统的传送线路的情况下,产生直至电源装置1的内部的电压VS’稳定为止需要时间、并且直至能够再次开始通信为止的时间变长这样的问题。It is rare that communication needs to be performed immediately after the connection of the communication terminal apparatus group 2, so there is no problem in itself. However, in the communication system 100 in which the transmission lines are duplexed as described above, when the transmission line 3 of the A system (main system) is disconnected, the impedance load of the A system (main system) becomes extremely large, so that the adjustment of the power supply device 1 The function of the internal voltage VS' temporarily becomes unstable. Therefore, when the transmission line 4 of the B system (standby system) is switched to the transmission line of the main system, it takes time until the voltage VS' inside the power supply device 1 is stabilized, and a time until the communication can be resumed The problem of getting longer.

本发明是为了解决这样的技术问题而完成的,其目的在于,提供一种能够缩短直至能够再次开始通信为止的时间的传送线路切换装置以及方法。The present invention has been made in order to solve such a technical problem, and an object thereof is to provide a transmission line switching device and method capable of shortening the time until communication can be resumed.

解决技术问题的技术手段technical means to solve technical problems

为了达到这样的目的,本发明涉及一种传送线路切换装置(7B),其用于通信系统(200),该通信系统(200)具备:第1传送线路(3);第2传送线路(4);通信终端装置群(2),其构成为将第1传送线路以及第2传送线路分别设为主系统的传送线路以及备用系统的传送线路,通过使在主系统的传送线路中流过的电流的值变化来进行消息的发送;以及电源装置(1),其将电源电压供给到第1传送线路以及第2传送线路,并且根据负载而调整内部的电压,传送线路切换装置(7B)构成为在第1传送线路发生异常的情况下,将第2传送线路切换为主系统的传送线路,传送线路切换装置(7B)的特征在于,具备:传送线路切换部(70、70’),其构成为当在通信终端装置群中没有消息的发送请求、并且电流未流过第1传送线路的状态持续规定时间以上的情况下,判断为第1传送线路发生异常,将第2传送线路切换为主系统的传送线路。In order to achieve such an object, the present invention relates to a transmission line switching device (7B) for use in a communication system (200), the communication system (200) comprising: a first transmission line (3); a second transmission line (4) ); a group of communication terminal apparatuses (2), which are configured such that the first transmission line and the second transmission line are used as the transmission line of the main system and the transmission line of the backup system, respectively, and the current flowing in the transmission line of the main system passes the current and a power supply device (1) that supplies a power supply voltage to the first transmission line and the second transmission line, and adjusts the internal voltage according to the load, and the transmission line switching device (7B) is composed of When an abnormality occurs in the first transmission line, the second transmission line is switched to the transmission line of the main system, and the transmission line switching device (7B) is characterized by comprising: a transmission line switching unit (70, 70') having a structure In order to determine that an abnormality has occurred in the first transmission line, when there is no request to send a message in the communication terminal device group and the current does not flow through the first transmission line for a predetermined time or longer, the second transmission line is switched to be the main one transmission line of the system.

根据本发明,如果在通信终端装置群中没有消息的发送请求、并且电流未流过第1传送线路(主系统的传送线路)的状态持续在规定时间以上时,则判断为第1传送线路(主系统的传送线路)发生异常,将第2传送线路(备用系统的传送线路)切换为主系统的传送线路。According to the present invention, when there is no request to send a message in the communication terminal device group and the state where no current flows through the first transmission line (the transmission line of the main system) continues for a predetermined time or longer, it is determined that the first transmission line ( The transmission line of the main system is abnormal, and the second transmission line (the transmission line of the backup system) is switched to the transmission line of the main system.

由此,在本发明中,在通信终端装置群中没有消息的发送请求的期间内,进行第2传送线路(备用系统的传送线路)向主系统的传送线路的切换。另外,电源装置的内部的电压的调整也在通信终端装置群中没有消息的发送请求的期间内进行。因此,当在第2传送线路(备用系统的传送线路)向主系统的传送线路的切换之后发送接下来的消息时,可以不等待至电源装置的内部的电压的调整稳定为止,直至能够再次开始通信为止的时间变短。Thus, in the present invention, the second transmission line (the transmission line of the backup system) is switched to the transmission line of the main system while there is no message transmission request in the group of communication terminal apparatuses. In addition, the adjustment of the internal voltage of the power supply device is also performed during the period when there is no message transmission request in the group of communication terminal devices. Therefore, when the next message is sent after the switching of the second transmission line (the transmission line of the backup system) to the transmission line of the main system, it is not necessary to wait for the adjustment of the voltage inside the power supply device to stabilize until it can be restarted again. The time until communication becomes shorter.

此外,在本发明中,在将第2传送线路(备用系统的传送线路)切换为主系统的传送线路之后,第2传送线路成为主系统的传送线路,第1传送线路成为备用系统的传送线路。即,在将第2传送线路(备用系统的传送线路)切换为主系统的传送线路之后,第2传送线路成为本发明中所说的第1传送线路(主系统的传送线路),第1传送线路成为本发明中所说的第2传送线路(备用系统的传送线路)。Furthermore, in the present invention, after the second transmission line (the transmission line of the backup system) is switched to the transmission line of the main system, the second transmission line becomes the transmission line of the main system, and the first transmission line becomes the transmission line of the backup system . That is, after the second transmission line (the transmission line of the backup system) is switched to the transmission line of the main system, the second transmission line becomes the first transmission line (the transmission line of the main system) in the present invention, and the first transmission line becomes the first transmission line (the transmission line of the main system). The line becomes the second transmission line (transmission line of the backup system) referred to in the present invention.

此外,在上述说明中,作为一个例子,用附加有括弧的附图标记来表示与发明的结构要素对应的附图上的结构要素。In addition, in the above description, as an example, the components on the drawings corresponding to the components of the invention are represented by reference numerals in which parentheses are attached.

发明效果Invention effect

基于以上说明,根据本发明,在通信终端装置群中没有消息的发送请求、并且电流未流过第1传送线路(主系统的传送线路)的状态持续规定时间以上的情况下,判断为第1传送线路(主系统的传送线路)发生异常,将第2传送线路(备用系统的传送线路)切换为主系统的传送线路,所以当在第2传送线路(备用系统的传送线路)向主系统的传送线路的切换之后发送接下来的消息时,可以不等待至电源装置的内部的电压的调整稳定,能够缩短直至能够再次开始通信为止的时间。Based on the above description, according to the present invention, when there is no message transmission request in the communication terminal device group, and the state in which the current does not flow through the first transmission line (the transmission line of the main system) continues for a predetermined time or longer, it is determined that the first transmission line is the first transmission line. An abnormality occurs in the transmission line (transmission line of the main system), and the second transmission line (transmission line of the backup system) is switched to the transmission line of the main system. When the next message is transmitted after the switching of the transmission line, it is not necessary to wait until the voltage inside the power supply device is stabilized, and the time until the communication can be resumed can be shortened.

附图说明Description of drawings

图1是示出使用本发明的实施方式的传送线路切换装置的通信系统的主要部分的图。FIG. 1 is a diagram showing a main part of a communication system using a transmission line switching device according to an embodiment of the present invention.

图2是示出该通信系统中的传送线路切换装置的硬件构成的概略的图。FIG. 2 is a diagram showing an outline of the hardware configuration of the transmission line switching device in the communication system.

图3是示出该传送线路切换装置中的CPU执行的处理动作的第1例(实施方式1)的流程图。3 is a flowchart showing a first example (Embodiment 1) of the processing operation executed by the CPU in the transmission line switching device.

图4是示出通过该传送线路切换装置将B系统(备用系统)的传送线路切换为主系统的传送线路的状态(使主系统从A系统转变为B系统的状态)的图。4 is a diagram showing a state in which the transmission line of the B system (standby system) is switched to the transmission line of the main system by the transmission line switching device (the state of the main system being changed from the A system to the B system).

图5是执行实施方式1的处理动作的传送线路切换装置的主要部分的功能框图。5 is a functional block diagram of a main part of a transmission line switching device that executes the processing operation of the first embodiment.

图6是示出该传送线路切换装置中的CPU执行的处理动作的第2例(实施方式2)的流程图。6 is a flowchart showing a second example (Embodiment 2) of the processing operation executed by the CPU in the transmission line switching device.

图7是执行实施方式2的处理动作的第2例的传送线路切换装置的主要部分的功能框图。7 is a functional block diagram of a main part of a transmission line switching device that executes a second example of the processing operation of the second embodiment.

图8是示出采用电流环方式的使传送线路双重化的以往的通信系统的一个例子的图。FIG. 8 is a diagram showing an example of a conventional communication system in which transmission lines are duplexed using a current loop method.

图9是说明在以往的通信系统中将B系统(备用系统)的传送线路切换为主系统的传送线路的情形(切换前的状态)的图。FIG. 9 is a diagram illustrating a situation in which the transmission line of the B system (standby system) is switched to the transmission line of the main system in the conventional communication system (state before switching).

图10是说明在以往的通信系统中将B系统(备用系统)的传送线路切换为主系统的传送线路的情形(切换后的状态)的图。FIG. 10 is a diagram illustrating a situation (state after switching) of switching the transmission line of the B system (standby system) to the transmission line of the main system in the conventional communication system.

具体实施方式Detailed ways

以下,根据附图,详细说明本发明的实施方式。图1是示出使用本发明的实施方式的传送线路切换装置的通信系统200的主要部分的图。在该图中,与图9相同的符号表示与参照图9说明的结构要素相同或者等同的结构要素,说明其省略。Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. FIG. 1 is a diagram showing a main part of a communication system 200 using a transmission line switching device according to an embodiment of the present invention. In this figure, the same reference numerals as those in FIG. 9 denote the same or equivalent components as those described with reference to FIG. 9 , and the description thereof will be omitted.

下面,为了与图9所示的以往的通信系统100中的传送线路切换装置7进行区分,用符号7A表示以往的通信系统100中的传送线路切换装置7,用符号7B表示本实施方式的通信系统200中的传送线路切换装置7。Hereinafter, in order to distinguish from the transmission line switching device 7 in the conventional communication system 100 shown in FIG. 9 , the transmission line switching device 7 in the conventional communication system 100 is denoted by reference numeral 7A, and the communication according to the present embodiment is denoted by reference numeral 7B The transmission line switching device 7 in the system 200 .

此外,在该通信系统200中,也与以往的通信系统100同样地,在A系统的传送线路3中,将开关5设为标记状态(电流容易流过的状态),在B系统的传送线路4中,将开关6设为间隔状态(电流不易流过的状态(2mA以下))。即,将A系统的传送线路3设为主系统的传送线路,将B系统的传送线路4设为备用系统的传送线路。In addition, in this communication system 200, similarly to the conventional communication system 100, in the transmission line 3 of the A system, the switch 5 is set to the marked state (state in which the current easily flows), and the transmission line of the B system In step 4, the switch 6 is set to an interval state (a state in which a current does not easily flow (2 mA or less)). That is, the transmission line 3 of the A system is set as the transmission line of the main system, and the transmission line 4 of the B system is set as the transmission line of the backup system.

在图2中示出传送线路切换装置7B的硬件构成的概略。该传送线路切换装置7B具备中央运算处理装置(CPU)7-1、随机存取存储器(RAM)7-2、只读存储器(ROM)7-3、接口7-4、7-5以及将它们连接的母线7-6。FIG. 2 shows an outline of the hardware configuration of the transmission line switching device 7B. The transmission line switching device 7B includes a central processing unit (CPU) 7-1, a random access memory (RAM) 7-2, a read only memory (ROM) 7-3, interfaces 7-4, 7-5, and the Connect the busbars 7-6.

在该传送线路切换装置7B中,安装有传送线路切换程序作为本实施方式特有的程序。CPU7-1通过处理经由接口7-4输入的信息,一边对RAM7-2、ROM7-3进行存取,一边依照所安装的传送线路切换程序进行动作。In the transmission line switching device 7B, a transmission line switching program is installed as a program unique to this embodiment. The CPU 7-1 operates according to the installed transmission line switching program while accessing the RAM 7-2 and the ROM 7-3 by processing the information input through the interface 7-4.

〔实施方式1〕[Embodiment 1]

下面,使用图3所示的流程图,说明CPU7-1依照传送线路切换程序执行的处理动作的第1例(实施方式1)。Next, a first example (Embodiment 1) of the processing operation executed by the CPU 7 - 1 in accordance with the transmission line switching program will be described using the flowchart shown in FIG. 3 .

在实施方式1中,CPU7-1确认在通信终端装置群2中有没有消息的发送请求(步骤S101),在没有消息的发送请求的情况下,检查在A系统(主系统)的传送线路3中流过的电流IM(IA)(步骤S102)。In Embodiment 1, the CPU 7-1 confirms whether there is a message transmission request in the communication terminal device group 2 (step S101), and when there is no message transmission request, checks the transmission line 3 in the A system (main system). The current IM(IA) flowing in the current IM(IA) (step S102).

在这里,当在通信终端装置群2中没有消息的发送请求(步骤S101的“无”)、并且电流未流过A系统(主系统)的传送线路3的状态(IM=0的状态)持续规定时间T(例如,5ms)以上的情况下(步骤S102的“是”),CPU7-1判断为A系统(主系统)的传送线路3发生断线(异常)(步骤S103),将B系统(备用系统)的传送线路4切换为主系统的传送线路(步骤S104,参照图4)。即,通过将开关5设为间隔状态,将开关6设为标记状态,从而使主系统从A系统转变成B系统。Here, when there is no request to transmit a message in the communication terminal device group 2 (“None” in step S101 ) and the current does not flow through the transmission line 3 of the A system (main system) (the state of IM=0) continues When the predetermined time T (for example, 5 ms) is longer than (YES in step S102 ), the CPU 7 - 1 determines that the transmission line 3 of the A system (main system) is disconnected (abnormal) (step S103 ), and sets the B system The transmission line 4 of the (standby system) is switched to the transmission line of the main system (step S104, see FIG. 4). That is, by setting the switch 5 in the interval state and setting the switch 6 in the flag state, the main system is switched from the A system to the B system.

由此,在本实施方式中,在通信终端装置群2中没有消息的发送请求的期间内,进行B系统(备用系统)的传送线路4向主系统的传送线路的切换。另外,电源装置1的内部的电压VS’的调整也在通信终端装置群2中没有消息的发送请求的期间内进行。因此,当在B系统(备用系统)的传送线路4向主系统的传送线路的切换之后发送接下来的消息时,可以不等待至电源装置1的内部的电压VS’的调整稳定,到能够再次开始通信为止的时间变短。Thus, in the present embodiment, the transmission line 4 of the B system (backup system) is switched to the transmission line of the main system while there is no message transmission request in the communication terminal apparatus group 2 . In addition, the adjustment of the internal voltage VS' of the power supply device 1 is also performed during the period in which there is no message transmission request in the communication terminal device group 2. Therefore, when the next message is sent after the switching of the transmission line 4 of the B system (backup system) to the transmission line of the main system, it is not necessary to wait until the adjustment of the voltage VS' inside the power supply device 1 is stabilized until it can be resumed again. The time until communication starts is shortened.

在图5中示出执行上述处理动作的第1例(实施方式1)的传送线路切换装置7B的主要部分的功能框图。在实施方式1中,在传送线路切换装置7B中,作为传送线路切换部70,具备消息发送请求有无确认部71、A系统传送线路电流确认部72以及线路切换部73。FIG. 5 shows a functional block diagram of the main part of the transmission line switching device 7B of the first example (Embodiment 1) that executes the above-described processing operations. In Embodiment 1, the transmission line switching device 7B includes, as the transmission line switching unit 70 , the message transmission request presence/absence confirmation unit 71 , the A-system transmission line current confirmation unit 72 , and the line switching unit 73 .

在传送线路切换部70中,消息发送请求有无确认部71确认在通信终端装置群2中有没有消息的发送请求。A系统传送线路电流确认部72确认电流未流过A系统(主系统)的传送线路3的状态是否持续规定时间T以上。在消息发送请求有无确认部71确认为在通信终端装置群2中没有消息的发送请求的状态下,A系统传送线路电流确认部72确认为电流未流过A系统(主系统)的传送线路3的状态持续规定时间T以上的情况下,线路切换部73判断为A系统(主系统)的传送线路3发生断线,将B系统(备用系统)的传送线路4切换为主系统的传送线路。In the transmission line switching unit 70 , the message transmission request presence/absence confirmation unit 71 confirms whether or not there is a message transmission request in the communication terminal device group 2 . The A-system transmission line current confirmation unit 72 confirms whether or not the state in which the current does not flow through the A-system (main system) transmission line 3 continues for a predetermined time T or more. In a state where the message transmission request presence/absence confirmation unit 71 confirms that there is no message transmission request in the communication terminal device group 2, the A-system transmission line current confirmation unit 72 confirms that current does not flow through the A-system (main system) transmission line When the state of 3 continues for a predetermined time T or longer, the line switching unit 73 determines that the transmission line 3 of the A system (main system) is disconnected, and switches the transmission line 4 of the B system (standby system) to the transmission line of the main system. .

此外,在该实施方式1中,在将B系统(备用系统)的传送线路4切换为主系统的传送线路之后,B系统的传送线路4成为主系统的传送线路,A系统的传送线路3成为备用系统的传送线路。即,在将B系统(备用系统)的传送线路4切换为主系统的传送线路之前,将A系统的传送线路3设为本发明中所说的第1传送线路(主系统的传送线路),将B系统的传送线路4设为本发明中所说的第2传送线路(备用系统的传送线路),在切换后,B系统的传送线路4成为本发明中所说的第1传送线路(主系统的传送线路),A系统的传送线路3成为本发明中所说的第2传送线路(备用系统的传送线路)。In addition, in Embodiment 1, after the transmission line 4 of the B system (standby system) is switched to the transmission line of the main system, the transmission line 4 of the B system becomes the transmission line of the main system, and the transmission line 3 of the A system becomes the transmission line of the main system. Transmission lines for backup systems. That is, before the transmission line 4 of the B system (standby system) is switched to the transmission line of the main system, the transmission line 3 of the A system is set as the first transmission line (the transmission line of the main system) in the present invention, The transmission line 4 of the B system is used as the second transmission line (the backup system transmission line) in the present invention, and after switching, the B system transmission line 4 becomes the first transmission line (the main transmission line) in the present invention. transmission line of the system), the transmission line 3 of the A system becomes the second transmission line (transmission line of the backup system) referred to in the present invention.

〔实施方式2〕[Embodiment 2]

接下来,使用图6所示的流程图,说明CPU7-1依照传送线路切换程序执行的处理动作的第2例(实施方式2)。Next, a second example (Embodiment 2) of the processing operation executed by the CPU 7 - 1 in accordance with the transmission line switching program will be described using the flowchart shown in FIG. 6 .

在实施方式1中,追加有逻辑构件,该逻辑构件在通信终端装置群2中没有消息的发送请求的期间内针对A系统(主系统)的传送线路3的断线进行检测并将B系统(备用系统)的传送线路4切换为主系统的传送线路。In Embodiment 1, a logic means is added which detects the disconnection of the transmission line 3 of the A system (main system) while there is no message transmission request in the communication terminal device group 2, and adds the B system (main system). The transmission line 4 of the backup system) is switched to the transmission line of the main system.

但是,在实施方式1中,在检测到A系统(主系统)的传送线路3的断线的情况下,立即将B系统(备用系统)的传送线路4切换为主系统的传送线路。此时,在B系统(备用系统)的传送线路4断线的情况下,将该B系统(备用系统)的传送线路4的断线检测为主系统的传送线路的断线,立即转变而返回到原来的状态。因此,重复进行从A系统向B系统、从B系统向A系统的主系统的转变,直至断线被改善为止。However, in Embodiment 1, when the disconnection of the transmission line 3 of the A system (main system) is detected, the transmission line 4 of the B system (standby system) is immediately switched to the transmission line of the main system. At this time, when the transmission line 4 of the B system (backup system) is disconnected, the disconnection of the transmission line 4 of the B system (backup system) is detected as a disconnection of the transmission line of the main system, and the transmission line is immediately switched and returned. to the original state. Therefore, the transition from the A system to the B system and from the B system to the main system of the A system is repeated until the disconnection is improved.

另外,在接入电源后,到电源装置1的内部的电压VS’的自动调整结束为止的时间为过电压保护发挥作用(最大2秒)、不流过电流的状态。因此,A系统(主系统)的传送线路3和B系统(备用系统)的传送线路4都成为检测到断线的状态。在这样的情况下,也重复进行从A系统向B系统、从B系统向A系统的主系统的转变,有可能导致误动作。In addition, after the power is turned on, the time until the automatic adjustment of the internal voltage VS' of the power supply device 1 is completed is the state in which the overvoltage protection functions (maximum 2 seconds) and no current flows. Therefore, both the transmission line 3 of the A system (main system) and the transmission line 4 of the B system (backup system) are in a state where disconnection is detected. Even in such a case, the transition from the A system to the B system and from the B system to the main system of the A system is repeated, which may cause a malfunction.

因此,在实施方式2中,当在通信终端装置群2中没有消息的发送请求(步骤S201的“无”)、并且电流未流过A系统(主系统)的传送线路3的状态(IM=0的状态)持续规定时间T(例如,5ms)以上的情况下(步骤S202的“是”),在判断为A系统(主系统)的传送线路3发生断线(异常)之后(步骤S203),确认B系统(备用系统)的传送线路4的环路是否确立(步骤S204)。Therefore, in Embodiment 2, when there is no request to transmit a message in the communication terminal device group 2 (“None” in step S201 ), and the current does not flow through the transmission line 3 of the A system (main system) (IM= When the state of 0) continues for a predetermined time T (for example, 5 ms) or longer (YES in step S202), it is determined that the transmission line 3 of the A system (main system) is disconnected (abnormal) (step S203) , it is checked whether the loop of the transmission line 4 of the B system (standby system) is established (step S204).

在这里,仅在确认为B系统(备用系统)的传送线路4的环路确立的情况下(步骤S204的“是”),进行B系统(备用系统)的传送线路4的向主系统的传送线路的切换(步骤S205)。即,在未确认为B系统(备用系统)的传送线路4的环路确立的情况下(步骤S204的“否”),不进行B系统(备用系统)的传送线路4向主系统的传送线路的切换。Here, only when it is confirmed that the loop of the transmission line 4 of the B system (backup system) is established (Yes in step S204 ), the transmission of the transmission line 4 of the B system (backup system) to the main system is performed. Line switching (step S205). That is, when it is not confirmed that the loop of the transmission line 4 of the B system (backup system) is established (NO in step S204 ), the transmission line of the transmission line 4 of the B system (backup system) to the main system is not performed. switch.

由此,仅在B系统(备用系统)的传送线路4正常的情况下,将B系统(备用系统)的传送线路4切换为主系统的传送线路,不产生重复进行主系统的转变这样的问题。Thereby, only when the transmission line 4 of the B system (backup system) is normal, the transmission line 4 of the B system (backup system) is switched to the transmission line of the main system, and the problem of repeating the transition of the main system does not arise. .

在图7中示出了执行上述处理动作的第2例(实施方式2)的传送线路切换装置7B的主要部分的功能框图。在实施方式2中,在传送线路切换装置7B中,作为传送线路切换部70’,具备消息发送请求有无确认部71、A系统传送线路电流确认部72、B系统传送线路确认部74和线路切换部75。FIG. 7 shows a functional block diagram of a main part of a transmission line switching device 7B that executes the second example (Embodiment 2) of the above-described processing operations. In the second embodiment, the transmission line switching device 7B includes, as the transmission line switching unit 70 ′, the message transmission request presence/absence confirmation unit 71 , the A system transmission line current confirmation unit 72 , the B system transmission line confirmation unit 74 , and the line switching unit 75 .

在传送线路切换部70’中,消息发送请求有无确认部71确认在通信终端装置群2中有没有消息的发送请求。A系统传送线路电流确认部72确认电流未流过A系统(主系统)的传送线路3的状态是否持续规定时间T以上。B系统传送线路确认部74确认B系统(备用系统)的传送线路4是否正常。在消息发送请求有无确认部71确认为在通信终端装置群2中没有消息的发送请求的状态下,A系统传送线路电流确认部72确认为电流未流过A系统(主系统)的传送线路3的状态持续规定时间T以上的情况下,线路切换部75判断为A系统(主系统)的传送线路3发生断线,并以B系统传送线路确认部74确认为B系统(备用系统)的传送线路4正常作为条件,将B系统(备用系统)的传送线路4切换为主系统的传送线路。In the transmission line switching unit 70', the message transmission request presence/absence confirmation unit 71 confirms whether there is a message transmission request in the communication terminal apparatus group 2 or not. The A-system transmission line current confirmation unit 72 confirms whether or not the state in which the current does not flow through the A-system (main system) transmission line 3 continues for a predetermined time T or more. The B-system transmission line confirmation unit 74 confirms whether or not the B-system (standby system) transmission line 4 is normal. In a state where the message transmission request presence/absence confirmation unit 71 confirms that there is no message transmission request in the communication terminal device group 2, the A-system transmission line current confirmation unit 72 confirms that current does not flow through the A-system (main system) transmission line When the state of 3 continues for a predetermined time T or more, the line switching unit 75 determines that the transmission line 3 of the A system (main system) is disconnected, and confirms that the transmission line 3 of the B system is a system B (standby system) by the B system transmission line confirmation unit 74. As a condition that the transmission line 4 is normal, the transmission line 4 of the B system (standby system) is switched to the transmission line of the main system.

此外,在该实施方式2中,也是在将B系统(备用系统)的传送线路4切换为主系统的传送线路之后,B系统的传送线路4成为主系统的传送线路,A系统的传送线路3成为备用系统的传送线路。即,在将B系统(备用系统)的传送线路4切换为主系统的传送线路之前,将A系统的传送线路3设为本发明中所说的第1传送线路(主系统的传送线路),将B系统的传送线路4设为本发明中所说的第2传送线路(备用系统的传送线路),在切换后,B系统的传送线路4成为本发明中所说的第1传送线路(主系统的传送线路),A系统的传送线路3成为本发明中所说的第2传送线路(备用系统的传送线路)。Also in the second embodiment, after the transmission line 4 of the B system (standby system) is switched to the transmission line of the main system, the transmission line 4 of the B system becomes the transmission line of the main system, and the transmission line 3 of the A system becomes the transmission line of the main system. It becomes the transmission line for the backup system. That is, before the transmission line 4 of the B system (standby system) is switched to the transmission line of the main system, the transmission line 3 of the A system is set as the first transmission line (the transmission line of the main system) in the present invention, The transmission line 4 of the B system is used as the second transmission line (the backup system transmission line) in the present invention, and after switching, the B system transmission line 4 becomes the first transmission line (the main transmission line) in the present invention. transmission line of the system), the transmission line 3 of the A system becomes the second transmission line (transmission line of the backup system) referred to in the present invention.

〔实施方式的扩展〕[Extension of Embodiment]

以上,参照实施方式说明了本发明,但本发明不限定于上述实施方式。对于本发明的结构、详细内容,能够在本发明的技术思想的范围内进行本领域技术人员能够理解的各种变更。As mentioned above, although this invention was demonstrated with reference to embodiment, this invention is not limited to the said embodiment. Various changes that can be understood by those skilled in the art can be made within the scope of the technical idea of the present invention for the configuration and details of the present invention.

符号说明Symbol Description

1…电源装置;2…通信终端装置群(负载),3…A系统的传送线路;4…B系统的传送线路;5、6…开关;7(7B)…传送线路切换装置;7-1…CPU;7-2…RAM;7-3…ROM;7-4、7-5…接口;70、70’…传送线路切换部;71…消息发送请求有无确认部;72…A系统传送线路电流确认部;73…线路切换部;73、74…B系统传送线路确认部;75…线路切换部;200…通信系统。1...power supply device; 2...communication terminal device group (load), 3...transmission line of system A; 4...transmission line of system B; 5, 6...switches; 7(7B)...transmission line switching device; 7-1 ...CPU; 7-2...RAM; 7-3...ROM; 7-4, 7-5...interface; 70, 70'...transmission line switching unit; 71...message transmission request presence/absence confirmation unit; 72...A system transmission Line current confirmation unit; 73...Line switching unit; 73, 74...B system transmission line confirmation unit; 75...Line switching unit; 200...Communication system.

Claims (6)

1. A transmission line switching device used in a communication system, the communication system comprising:
1 st transmission line;
a 2 nd transmission line;
a communication terminal apparatus group configured to transmit a message by changing a value of a current flowing through a transmission line of a main system, with the 1 st transmission line and the 2 nd transmission line being a transmission line of a main system and a transmission line of a backup system, respectively; and
a power supply device that supplies a power supply voltage to the 1 st transmission line and the 2 nd transmission line and adjusts an internal voltage in accordance with a load,
the transmission line switching device is configured to switch the 2 nd transmission line to a transmission line of a main system when the 1 st transmission line is abnormal,
the transmission line switching device is characterized by comprising:
and a transmission line switching unit configured to determine that an abnormality has occurred in the 1 st transmission line and switch the 2 nd transmission line to a transmission line of a master system when there is no request for transmission of a message in the communication terminal apparatus group and a state where a current does not flow through the 1 st transmission line continues for a predetermined time or longer.
2. The transmission line switching device according to claim 1,
the transmission line switching unit is configured to determine that an abnormality has occurred in the 1 st transmission line when there is no request for transmission of a message in the communication terminal apparatus group and a state where a current does not flow in the 1 st transmission line continues for a predetermined time or longer, and to switch the 2 nd transmission line to a transmission line of a master system on the condition that the 2 nd transmission line is normal.
3. The transmission line switching device according to claim 1,
the transmission line switching unit includes:
a message transmission request confirmation unit configured to confirm whether or not a message transmission request is made in the communication terminal device group;
a 1 st transmission line current confirmation unit configured to confirm whether or not a state duration in which a current does not flow through the 1 st transmission line is equal to or longer than a predetermined time; and
and a line switching unit configured to determine that an abnormality has occurred in the 1 st transmission line and switch the 2 nd transmission line to a transmission line of a master system when the 1 st transmission line current confirmation unit confirms that a current has not flowed through the 1 st transmission line for a predetermined time or longer in a state where the message transmission request presence/absence confirmation unit confirms that there is no message transmission request in the communication terminal device group.
4. The transmission line switching device according to claim 1,
the transmission line switching unit includes:
a message transmission request confirmation unit configured to confirm whether or not a message transmission request is made in the communication terminal device group;
a 1 st transmission line current confirmation unit configured to confirm whether or not a duration of a state in which a current does not flow through the 1 st transmission line is equal to or longer than a predetermined time;
a 2 nd transmission line confirmation unit configured to confirm whether or not the 2 nd transmission line is normal; and
and a line switching unit configured to determine that the 1 st transmission line is abnormal when the 1 st transmission line current confirmation unit confirms that the duration of a state in which the 1 st transmission line current confirmation unit confirms that the current does not flow through the 1 st transmission line is equal to or longer than a predetermined time in a state in which the message transmission request presence/absence confirmation unit confirms that the message transmission request is not present in the communication terminal device group, and switch the 2 nd transmission line to a transmission line of a master system on the condition that the 2 nd transmission line confirmation unit confirms that the 2 nd transmission line is normal.
5. A transmission line switching method used in a communication system, the communication system comprising:
1 st transmission line;
a 2 nd transmission line;
a communication terminal apparatus group configured to transmit a message by changing a value of a current flowing through a transmission line of a main system, with the 1 st transmission line and the 2 nd transmission line being a transmission line of a main system and a transmission line of a backup system, respectively;
a power supply device that supplies a power supply voltage to the 1 st transmission line and the 2 nd transmission line and adjusts an internal voltage in accordance with a load,
the transmission line switching method switches the 2 nd transmission line to a transmission line of a main system when the 1 st transmission line is abnormal,
the transmission line switching method is characterized by comprising:
a transmission line switching step of, when there is no request for transmission of a message in the communication terminal apparatus group and a state where a current does not flow through the 1 st transmission line continues for a predetermined time or longer, determining that an abnormality occurs in the 1 st transmission line and switching the 2 nd transmission line to a transmission line of a master system.
6. The transmission line switching method according to claim 5,
in the transmission line switching step, when there is no request for transmission of a message in the communication terminal device group and a state where a current does not flow through the 1 st transmission line continues for a predetermined time or longer, it is determined that an abnormality occurs in the 1 st transmission line, and the 2 nd transmission line is switched to a transmission line of a master system on the condition that the 2 nd transmission line is normal.
CN201810031778.7A 2017-01-17 2018-01-12 Transmission line switching device and method Active CN108337113B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2017-005756 2017-01-17
JP2017005756A JP6760855B2 (en) 2017-01-17 2017-01-17 Transmission line switching device and method

Publications (2)

Publication Number Publication Date
CN108337113A CN108337113A (en) 2018-07-27
CN108337113B true CN108337113B (en) 2020-12-01

Family

ID=62924893

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810031778.7A Active CN108337113B (en) 2017-01-17 2018-01-12 Transmission line switching device and method

Country Status (3)

Country Link
JP (1) JP6760855B2 (en)
KR (1) KR102082849B1 (en)
CN (1) CN108337113B (en)

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5646600A (en) * 1995-01-12 1997-07-08 General Electric Company Instrument for detecting potential future failures of valves in critical control systems
JPH1168856A (en) 1997-08-12 1999-03-09 Yamatake Honeywell Co Ltd Communication control device
JP3105875B2 (en) * 1998-11-02 2000-11-06 静岡日本電気株式会社 Remote power supply method and system
JP3655599B2 (en) * 2002-04-17 2005-06-02 日本電信電話株式会社 Arbitration device, communication device using the same, and arbitration method
JP3757417B2 (en) * 2002-07-02 2006-03-22 横河電機株式会社 Optical path switching device
JP4451718B2 (en) * 2004-06-04 2010-04-14 株式会社山武 Power supply device and power supply method
CA2690050C (en) * 2007-06-15 2014-07-29 Stephen G. Seberger Bidirectional dc to dc converter for power storage control in a power scavenging application
CN101350636B (en) * 2008-09-04 2012-12-12 北京星网锐捷网络技术有限公司 Method and system for link redundant backup base on photoelectric multiplexing port
CN101807986A (en) * 2010-04-20 2010-08-18 杭州和利时自动化有限公司 Realization method and device of redundant serial bus
US8774621B2 (en) * 2010-11-25 2014-07-08 Mitsubishi Electric Corporation Communication line switching method, communication apparatus, station-side communication apparatus, communication system, and control unit
CN104113476A (en) * 2014-07-22 2014-10-22 深圳市邦彦信息技术有限公司 Communication line switching method and system
KR101752454B1 (en) * 2015-06-03 2017-07-03 코츠테크놀로지주식회사 Data loss prevention system when automatic switching of fiber channel duplex communication channel and method thereof

Also Published As

Publication number Publication date
KR102082849B1 (en) 2020-02-28
CN108337113A (en) 2018-07-27
JP6760855B2 (en) 2020-09-23
KR20180084666A (en) 2018-07-25
JP2018117209A (en) 2018-07-26

Similar Documents

Publication Publication Date Title
US11809291B2 (en) Method and apparatus for redundancy in active-active cluster system
US8861507B2 (en) Systems and methods for automatic public switched telephone network backup of voice over internet protocol services
CN101867468A (en) Hot restart processing method of Ethernet power switch and Ethernet power switch
CN109301919B (en) An uninterruptible power supply bypass takeover control method
CN109428728B (en) Port adaptive method and device
CN104796329A (en) Automatic link switching method and automatic link switching device
CN108337113B (en) Transmission line switching device and method
WO2017076147A1 (en) Remote upgrade system
US10289590B2 (en) Electronic device and method of auto switching linking path giving priority to a priority port
US10637672B2 (en) Apparatus and methods of power over ethernet
CN110417559B (en) Ethernet power supply equipment and detection method
CN210608666U (en) Control device of redundant power supply and power supply system
US9729004B2 (en) Power source protection device and method
TWI768992B (en) High-speed transimission system, signal redriver and control method of signal redriver
CN117277395A (en) A method, device, equipment and medium for generating trigger pulses for valve control equipment
CN104683153A (en) Cluster-based router host and spare MPU control method and system thereof
US10141778B2 (en) Redundant power and power saving method thereof in cold redundant mode
JP2002062903A (en) Control device
TWI523360B (en) Power source protection device and method
KR101601274B1 (en) Display device
US11176073B2 (en) Data processing apparatus
JP2005266314A (en) Multifunction machine and control method therefor
US11561594B2 (en) Electronic device and method of power supply protection for connection port
JP6583321B2 (en) Power supply control circuit and power supply control method
JP2018124632A (en) Electronic control device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant