Movatterモバイル変換


[0]ホーム

URL:


CN101626328A - Signal conversion system with backup mechanism and backup method - Google Patents

Signal conversion system with backup mechanism and backup method
Download PDF

Info

Publication number
CN101626328A
CN101626328ACN200810127658ACN200810127658ACN101626328ACN 101626328 ACN101626328 ACN 101626328ACN 200810127658 ACN200810127658 ACN 200810127658ACN 200810127658 ACN200810127658 ACN 200810127658ACN 101626328 ACN101626328 ACN 101626328A
Authority
CN
China
Prior art keywords
signal conversion
network
conversion device
backup
connection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN200810127658A
Other languages
Chinese (zh)
Other versions
CN101626328B (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.)
Advantech Co Ltd
Original Assignee
Advantech 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 Advantech Co LtdfiledCriticalAdvantech Co Ltd
Priority to CN2008101276583ApriorityCriticalpatent/CN101626328B/en
Publication of CN101626328ApublicationCriticalpatent/CN101626328A/en
Application grantedgrantedCritical
Publication of CN101626328BpublicationCriticalpatent/CN101626328B/en
Expired - Fee Relatedlegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Landscapes

Abstract

A signal conversion system with backup mechanism and a backup method, mainly using a signal conversion device as a signal conversion means between a control end computer and a controlled remote device, wherein the control end computer is connected with the signal conversion device by more than two network connection lines, the control end computer drives a program to virtually connect a virtual communication port of the remote device through the virtual communication port, and a backup module monitors the operation state of the network interface, when the backup module judges that the main connection line fails, another backup connection line is used for connecting, so as to provide more stable connection.

Description

Translated fromChinese
具有备援机制的信号转换系统与备援方法Signal conversion system with backup mechanism and backup method

技术领域technical field

本发明为一种具有备援机制的信号转换系统与备援方法,特别是指利用一控制端计算机与信号转换装置间的联机达到远程虚拟通讯端口的备援机制。The present invention relates to a signal conversion system and a backup method with a backup mechanism, in particular to a backup mechanism utilizing a connection between a control terminal computer and a signal conversion device to reach a remote virtual communication port.

背景技术Background technique

应用于一些重要的远程控制系统中,特别是利用网络为基础建立的控制环境,不容许有断线的风险,故现有技术即提供利用冗余(redundant)联机建立的备援机制,同时有两个以上的复数条联机,当主要联机失败时(failure),能有其它备援联机接手。Applied in some important remote control systems, especially the control environment based on the network, the risk of disconnection is not allowed, so the existing technology provides a backup mechanism established by using redundant (redundant) online, and has More than two multiple connections, when the primary connection fails (failure), other backup connections can take over.

现有的备援技术可参阅图1所揭示的冗余通讯端口的技术,其中显示一个局域网络通过转换连接至网络的系统概要图,主要是有一个负责封包转送的网络封包转换的装置100,一端连接至网络104,另一端通过两个以上的通讯端口连接外部的局域网络102,包括有虚拟局域网络(VLAN)A与虚拟局域网络B,让设置于各局域网络的计算机可通过此封包转换装置100连接至其它网络104,如因特网(Internet)。Existing backup technology can refer to the technology of redundant communication ports disclosed in FIG. 1, which shows a system overview diagram of a local area network connected to the network through conversion, mainly having a networkpacket conversion device 100 responsible for packet forwarding, One end is connected to thenetwork 104, and the other end is connected to the externallocal area network 102 through more than two communication ports, including virtual local area network (VLAN) A and virtual local area network B, so that computers set in each local area network can convert packets through this Thedevice 100 is connected toother networks 104, such as the Internet.

此例中,封包转换装置100具有备援的功能,其中设置有一处理封包转换的封包交换模块112,并有联机外部网络的主要通讯端口113与另一个备援通讯端口115,此封包转换装置100利用一个耦接至主要通讯端口113与备援通讯端口115的联机监控模块111监控各通讯端口的连接状态。当其中主要通讯端口113联机失败时,联机监控模块111将信息传递至封包交换模块112,即更新封包的路由表(routing table)与桥接表(bridging table),将封包指向备援通讯端口115,接着启动备援通讯端口115接手联机,并关闭主要通讯端口113。In this example, thepacket conversion device 100 has a backup function, wherein apacket switching module 112 for processing packet conversion is provided, and amain communication port 113 for connecting to an external network and anotherbackup communication port 115 are provided. The packet conversion device 100 Aconnection monitoring module 111 coupled to themain communication port 113 and thebackup communication port 115 is used to monitor the connection status of each communication port. When themain communication port 113 fails to connect, theonline monitoring module 111 transmits the information to thepacket switching module 112, that is, updates the routing table (routing table) and bridging table (bridging table) of the packet, and directs the packet to thebackup communication port 115, Then activate thebackup communication port 115 to take over the connection, and close themain communication port 113 .

然而在工业计算机的作业环境中,更可通过上述网络联机的备援机制在彼端虚拟一通讯端口(communication port),以由远程通过此网络备援环境控制彼端的系统,概要图标如图2所示的远程虚拟通讯端口的示意图。However, in the working environment of industrial computers, a communication port can be virtualized at the other end through the backup mechanism of the above-mentioned network connection, so as to remotely control the system at the other end through this network backup environment. The schematic icon is shown in Figure 2 Schematic diagram of the remote virtual comm port shown.

由于在自动控制的领域中,多半的控制信号是通过通讯端口(communication port),包括序列(serial)与并列式(parallel)的通讯端口,现有技术已提供通过网络虚拟一个远程通讯端口的方式,即利用以太网络达到远程虚拟通讯端口的功能,能够在近端计算机上虚拟一个通讯端口,借此传递控制信号。如附图中的控制计算机20,此为一具备两个网络通讯端口的计算机系统,分别通过第一网络201与第二网络202联机至彼端的转换装置22上,此转换装置22具有虚拟通讯端口的功能,能将网络封包转换为一般通讯端口的信号,使控制计算机20通过网络联机能经过通讯端口存取远程设备24的资源,此类转换装置22并能建立两个网络联机的备援机制,当其中一个联机失败时,将由另一个联机接手。Since in the field of automatic control, most control signals pass through communication ports, including serial and parallel communication ports, the prior art has provided a way to virtualize a remote communication port through the network , that is to use the Ethernet to achieve the function of the remote virtual communication port, which can virtualize a communication port on the local computer to transmit control signals. As thecontrol computer 20 in the accompanying drawings, this is a computer system with two network communication ports, which are respectively connected to theconversion device 22 at the other end through thefirst network 201 and thesecond network 202. Thisconversion device 22 has a virtual communication port. The function can convert the network packet into the signal of the general communication port, so that thecontrol computer 20 can access the resources of theremote device 24 through the communication port through the network connection. This type ofconversion device 22 can also establish a backup mechanism for two network connections. , when one connection fails, another connection will take over.

发明内容Contents of the invention

有鉴于在工业计算机的应用上,需要稳定且方便的控制环境,本发明揭示一种具有备援机制的信号转换系统与备援方法,为提供近端计算机能通过网络产生一虚拟通讯端口,能借以存取远程设备的通讯端口,并且提供备援机制,产生更稳定的网络备援环境。In view of the need for a stable and convenient control environment in the application of industrial computers, the present invention discloses a signal conversion system and a backup method with a backup mechanism, in order to provide a near-end computer that can generate a virtual communication port through the network, which can It is used to access the communication port of the remote device and provide a backup mechanism to create a more stable network backup environment.

本发明所揭示的具有备援机制的信号转换系统,是在网络通讯的基础下,控制计算机连接至一信号转换装置,通过虚拟通讯端口驱动程序在近端虚拟出一个由以太网络转换的通讯端口,提供远程通讯端口联机,并通过不同的网络拓扑(topology)设计产生不同的备援方案。The signal conversion system with backup mechanism disclosed by the present invention is based on network communication, the control computer is connected to a signal conversion device, and a communication port converted by Ethernet is virtualized at the near end through the virtual communication port driver program. , provide remote communication port connection, and generate different backup solutions through different network topology (topology) designs.

其中,具有备援机制的信号转换系统至少包括有一信号转换装置与一控制端计算机,于一较佳实施例来看,信号转换装置至少具有执行装置内的信号处理的处理单元,另具有至少两个网络接口,外通过网络接口连接一网络,并有一或复数个实体通讯端口,信号转换装置通过此实体通讯端口连接远程设备,当中具有信号转换的功能,将由网络传递的封包转换为通过实体通讯端口传递至远程设备的指令。Wherein, the signal conversion system with a backup mechanism includes at least one signal conversion device and a control terminal computer. In a preferred embodiment, the signal conversion device at least has a processing unit for performing signal processing in the device, and has at least two A network interface, externally connected to a network through the network interface, and one or more physical communication ports, the signal conversion device is connected to the remote device through the physical communication port, which has the function of signal conversion, and converts the packets transmitted by the network into physical communication. Commands that the port passes to the remote device.

控制端计算机则至少有两个控制端网络接口,通过控制端网络接口连接上述的网络,以连接到信号转换装置,另有一虚拟通讯端口驱动程序,其中有一备援模块,能将控制指令转换为网络封包数据,或将网络封包数据转换为该控制端计算机的信息,利用备援模块监视控制端网络接口的运作状态。The control terminal computer has at least two control terminal network interfaces, which are connected to the above-mentioned network through the control terminal network interface to connect to the signal conversion device. There is also a virtual communication port driver, which has a backup module, which can convert the control command into The network packet data, or convert the network packet data into the information of the control terminal computer, and use the backup module to monitor the operation status of the control terminal network interface.

换句话说,本发明提供一种具有备援机制的信号转换系统,所述的系统至少包括有:(a)一信号转换装置,其中包括有:(a1)一处理单元,执行该信号转换装置的信号处理;(a2)至少两个网络接口,电性连接该处理单元,该信号转换装置对外通过该网络接口连接一网络;(a3)一或复数个实体通讯端口,电性连接该处理单元,该信号转换装置通过该实体通讯端口连接一或复数个远程设备,其中该实体通讯端口为序列式、并列式或为一现场总线的通讯端口;(b)一控制端计算机,通过该网络连接该信号转换装置,其中包括有:(b1)至少两个控制端网络接口,该控制端计算机通过该控制端网络接口连接该网络;以及(b2)一虚拟通讯端口驱动程序,具有一备援模块,将控制指令转换为网络封包数据,或将网络封包数据转换为该控制端计算机的信息,借该备援模块监视该控制端网络接口的运作状态;借该具有备援机制的信号转换系统将该控制端计算机所传递的网络封包经该信号转换装置转换为该实体通讯端口的信号,并传递至该远程设备,其中,该控制端计算机利用网络通过两条以上的网络联机连接至该信号转换装置,并通过该信号转换装置的该实体通讯端口连接至该远程设备,当该备援模块判断一主要联机失败后,即以另一备援联机接手。In other words, the present invention provides a signal conversion system with a backup mechanism, said system at least includes: (a) a signal conversion device, including: (a1) a processing unit, which executes the signal conversion device signal processing; (a2) at least two network interfaces electrically connected to the processing unit, and the signal conversion device is externally connected to a network through the network interfaces; (a3) one or a plurality of physical communication ports electrically connected to the processing unit , the signal conversion device is connected to one or a plurality of remote devices through the physical communication port, wherein the physical communication port is a serial type, a parallel type or a communication port of a field bus; (b) a control terminal computer connected through the network The signal conversion device includes: (b1) at least two console network interfaces through which the console computer is connected to the network; and (b2) a virtual communication port driver with a backup module , convert the control command into network packet data, or convert the network packet data into the information of the control terminal computer, and use the backup module to monitor the operation status of the control terminal network interface; use the signal conversion system with a backup mechanism to convert The network packet transmitted by the control terminal computer is converted by the signal conversion device into the signal of the physical communication port, and transmitted to the remote device, wherein the control terminal computer is connected to the signal conversion device through the network through more than two network connections device, and is connected to the remote device through the physical communication port of the signal conversion device, and when the backup module determines that a primary connection fails, another backup connection takes over.

本发明所揭示的具有备援机制的信号转换系统主要是通过当中的信号转换装置将控制端计算机所传递的网络封包转换为实体通讯端口的信号,并传递至远程设备。而备援机制则是当该判断出一主要联机失败后,即以另一备援联机接手。The signal conversion system with a backup mechanism disclosed by the present invention mainly converts the network packet transmitted by the control terminal computer into the signal of the physical communication port through the signal conversion device therein, and transmits the signal to the remote device. The backup mechanism is that when it is judged that a primary connection fails, another backup connection takes over.

本发明提供一种应用上述的具有备援机制的信号转换系统的备援方法,所述的方法包括有:建立一或复数个控制端计算机、一信号转换装置与一或复数个远程设备间的联机,其中该信号转换装置通过至少两个网络联机连接至该控制端计算机,各网络联机为相同网域,该信号转换装置通过一或复数个实体通讯端口连接该远程设备;启动备援机制,借该控制端计算机中的虚拟通讯端口驱动程序监控该控制端计算机与该信号转换装置间的网络联机状态;该控制端计算机通过一第一联机连接该信号转换装置,并借以传递数据至该远程设备,或是反向传递数据;若该第一联机状态正常,仍继续以该第一联机传递数据;以及若该第一联机失败,重建网络联机,数据通过与该第一联机相同网域的一第二联机传递。The present invention provides a backup method using the above-mentioned signal conversion system with a backup mechanism, and the method includes: establishing a communication between one or a plurality of control terminal computers, a signal conversion device and one or a plurality of remote devices online, wherein the signal conversion device is connected to the control computer through at least two network connections, each network connection is the same network domain, and the signal conversion device is connected to the remote device through one or a plurality of physical communication ports; the backup mechanism is activated, Monitor the network connection status between the control computer and the signal conversion device through the virtual communication port driver in the control computer; the control computer connects to the signal conversion device through a first connection, and transmits data to the remote device, or transfer data in the reverse direction; if the first connection status is normal, continue to use the first connection to transfer data; and if the first connection fails, re-establish the network connection, and the data passes through the A second online delivery.

本发明还提供一种应用上述的具有备援机制的信号转换系统的备援方法,所述的方法包括有:建立一或复数个控制端计算机、一信号转换装置与一或复数个远程设备间的联机,其中该信号转换装置通过至少两个网络联机连接至该控制端计算机,各网络联机为不同网域,该信号转换装置通过一或复数个实体通讯端口连接该远程设备;启动备援机制,借以监控该信号转换装置与该控制端计算机间的网络联机状态;该控制端计算机经该信号转换装置通过各处于不同网域的网络联机传递数据;该信号转换装置预设撷取通过一第一联机传递的数据,并传递至该远程设备,或是反向传递数据;若联机状态正常,仍继续撷取以该第一联机传递的数据;以及若联机失败,切换为撷取通过与该第一联机不同网域的一第二联机所传递的数据。The present invention also provides a backup method using the above-mentioned signal conversion system with a backup mechanism. The method includes: establishing a connection between one or a plurality of control terminal computers, a signal conversion device and one or a plurality of remote devices connection, wherein the signal conversion device is connected to the control computer through at least two network connections, each network connection is a different network domain, and the signal conversion device is connected to the remote device through one or a plurality of physical communication ports; a backup mechanism is activated , so as to monitor the network connection status between the signal conversion device and the control terminal computer; the control terminal computer transmits data through the network connection in different network domains through the signal conversion device; the signal conversion device defaults to capture through a first The data transmitted by the first connection, and transmitted to the remote device, or the reverse transmission data; if the connection status is normal, continue to retrieve the data transmitted by the first connection; and if the connection fails, switch to capture by and the Data transmitted by a second connection of a different network domain from the first connection.

而其备援方法的较佳实施例包括先建立一或复数个控制端计算机、信号转换装置与一或复数个远程设备间的联机,其中信号转换装置通过至少两个网络联机连接至控制端计算机,各网络联机可为相同网域与不同网域。接着启动控制端中虚拟通讯端口驱动程序提供的备援机制,借以监控与该信号转换装置的两条以上的网络联机状态。A preferred embodiment of the backup method includes first establishing a connection between one or a plurality of control terminal computers, a signal conversion device and one or a plurality of remote devices, wherein the signal conversion device is connected to the control terminal computer through at least two network connections , each network connection can be the same domain or different domains. Then start the backup mechanism provided by the virtual communication port driver in the control terminal, so as to monitor the status of more than two network connections with the signal conversion device.

在各联机处于相同网域的态样下,先以一主要联机传递数据,当监控到主要联机失败后,即重新建立联机,由备援线路接手。When all connections are in the same network domain, a primary connection is used to transmit data first. When the monitoring detects that the primary connection fails, the connection is re-established and the backup line takes over.

在各联机处于不同网域的实施例中,各联机同样进行传递数据,而预设为撷取主要联机的数据,当联机失败,备援模块则设定撷取另一备援联机撷取的数据。In the embodiment where each connection is in a different network domain, each connection also transmits data, and the default is to retrieve the data of the primary connection. When the connection fails, the backup module is set to retrieve the data retrieved by another backup connection. data.

综上所述,本发明揭示一种具有备援机制的信号转换系统与备援方法,主要是控制端通过网络连接至一信号转换的信号转换装置,借此能通过网络,并以驱动程序仿真出虚拟通讯端口的控制机制,特别是其中所具有备援机制,能提供稳定的联机。To sum up, the present invention discloses a signal conversion system and a backup method with a backup mechanism, mainly that the control terminal is connected to a signal conversion device for signal conversion through a network, so that it can be simulated by a driver program through the network The control mechanism of the virtual communication port, especially the backup mechanism, can provide a stable connection.

附图说明Description of drawings

图1为现有技术的系统概要示意图;FIG. 1 is a schematic diagram of a system overview of the prior art;

图2为现有技术的远程虚拟通讯端口的示意图;FIG. 2 is a schematic diagram of a remote virtual communication port in the prior art;

图3显示为本发明具有备援机制的信号转换系统的实施例架构示意图;FIG. 3 is a schematic diagram of an embodiment of a signal conversion system with a backup mechanism in the present invention;

图4显示使用本发明所提供的信号转换装置的网络架构图实施例之一;Figure 4 shows one of the network architecture diagram embodiments using the signal conversion device provided by the present invention;

图5显示使用本发明所提供的信号转换装置的网络架构图实施例之二;Figure 5 shows the second embodiment of the network architecture diagram using the signal conversion device provided by the present invention;

图6显示使用本发明所提供的信号转换装置的网络架构图实施例之三;Figure 6 shows the third embodiment of the network structure diagram using the signal conversion device provided by the present invention;

图7A与图7B显示为本发明网络架构实施例示意图;7A and 7B are schematic diagrams of an embodiment of the network architecture of the present invention;

图8显示本发明备援方法的实施例之一流程图;FIG. 8 shows a flowchart of an embodiment of the backup method of the present invention;

图9显示本发明备援方法的实施例之二流程图。FIG. 9 shows a flowchart of Embodiment 2 of the backup method of the present invention.

【主要元件附图标记说明】[Description of reference signs of main components]

封包转换装置100            局域网络102Packet conversion device 100Local area network 102

虚拟局域网络A,B           网络104Virtual local area network A,B network 104

联机监控模块111            封包交换模块112Online monitoring module 111Packet switching module 112

主要通讯端口113            备援通讯端口115Primary communication port 113Backup communication port 115

控制计算机20               第一网络201Control computer 20First network 201

第二网络202                转换装置22Second network 202Conversion device 22

远程设备24                 信号转换装置30Remote equipment 24Signal conversion device 30

实体串行端口301a           实体并列端口301bPhysicalserial port 301a Physicalparallel port 301b

实体现场总线301c           处理单元302Entity Fieldbus301c Processing Unit 302

电源备援模块306            第一网络接口304aPower backup module 306First network interface 304a

第二网络接口304b           网络32Second network interface 304b Network 32

控制端计算机34             备援模块343Control computer 34backup module 343

虚拟通讯端口驱动程序341Virtual Com PortDriver 341

第一控制端网络接口345aThe first controlterminal network interface 345a

第二控制端网络接口345bThe second controlterminal network interface 345b

控制端计算机401,402,403  网络40Control computer 401, 402, 403network 40

信号转换装置42             远程设备44Signal conversion device 42Remote equipment 44

网络联机501,502           通讯端口联机505Network connection 501, 502Communication port connection 505

网络交换器50               第一网络交换器61Network switch 50 Thefirst network switch 61

第二网络交换器62           数据设备63Second network switch 62data device 63

网络联机601,602,603      通讯端口联机605Network connection 601, 602, 603Communication port connection 605

控制计算机70               信号转换装置72Control computer 70Signal conversion device 72

远程设备74remote device 74

具体实施方式Detailed ways

本发明提出具有备援机制的信号转换系统与备援方法,主要是应用网络建立一个具有备援的联机,让近端计算机(控制端)通过网络联机至远程的设备,并且由中间桥接的一个信号转换装置进行网络封包与通讯信号转换与传递,由于具有网络备援的机制,在主要联机失败之后,仍能切换至备援的线路继续运作,能提供稳定且方便的工业控制环境。The present invention proposes a signal conversion system and a backup method with a backup mechanism, mainly using the network to establish a connection with backup, allowing the near-end computer (control end) to connect to the remote device through the network, and a bridged one in the middle The signal conversion device converts and transmits network packets and communication signals. Due to the network backup mechanism, after the main connection fails, it can still switch to the backup line to continue to operate, providing a stable and convenient industrial control environment.

为达到上述目的,本发明所提出的具有备援机制的信号转换系统至少有信号转换装置与控制端计算机,之间以网络相连接,其中控制端计算机具有至少两个以上的网络接口建立网络联机至信号转换装置,在发生接口失效时,能够相互备援。In order to achieve the above-mentioned purpose, the signal conversion system with a backup mechanism proposed by the present invention has at least a signal conversion device and a control terminal computer connected with a network, wherein the control terminal computer has at least two or more network interfaces to establish a network connection To the signal conversion device, in the event of an interface failure, they can back up each other.

实施例如图3所显示的具有备援机制的信号转换系统示意图,其中主体包括有控制端计算机34与信号转换装置30,其间以网络32相连,信号转换装置30内部至少包括负责装置运作与信号处理的处理单元302,另有电性连接至处理单元302的复数个网络接口,如第一网络接口304a与第二网络接口304b,通过网络接口304a,304b连接至网络32,并与控制端计算机34建立至少两条网络联机。For example, the schematic diagram of a signal conversion system with a backup mechanism shown in FIG. 3, wherein the main body includes acontrol terminal computer 34 and asignal conversion device 30, which are connected with anetwork 32, and thesignal conversion device 30 includes at least one responsible for device operation and signal processing. processingunit 302, and a plurality of network interfaces electrically connected to theprocessing unit 302, such as thefirst network interface 304a and thesecond network interface 304b, connected to thenetwork 32 through thenetwork interfaces 304a, 304b, and connected to thecontrol terminal computer 34 Establish at least two network connections.

在网络联机方面,通常会通过网络交换器(switch,未显示于图中)连接网络32,并依据所设计的网络架构设定网络交换器,如各网络联机属于同一网域,或是不同网域,在本发明中会产生不同的备援型态,请参考图7A与图7B。In terms of network connection, thenetwork 32 is usually connected through a network switch (not shown in the figure), and the network switch is set according to the designed network architecture. Domains, different backup types will be generated in the present invention, please refer to FIG. 7A and FIG. 7B.

信号转换装置30更具有一或复数个实体通讯端口,如图中所示的实体串行端口301a、实体并列端口301b与实体现场总线(field bus)301c,通过不同规格的实体通讯端口301a,301b,301c连接到被控的远程设备(未显示图中),此信号转换装置30则是用于转换由控制端计算机34接收的网络封包,再转换为特定通讯端口规格的信号。Thesignal conversion device 30 further has one or a plurality of physical communication ports, such as the physicalserial port 301a, the physicalparallel port 301b and the physical field bus (field bus) 301c as shown in the figure, through thephysical communication ports 301a, 301b of different specifications , 301c is connected to the controlled remote device (not shown in the figure), and thesignal conversion device 30 is used to convert the network packet received by thecontrol terminal computer 34, and then convert it into a signal of a specific communication port specification.

本发明特别的是,控制端计算机34中有一虚拟通讯端口驱动程序341,其中具有一备援模块343,用以监控控制端计算机34所具有的多个网络接口,如附图标记第一控制端网络接口345a与第二控制端网络接口345b。备援模块303监视各网络接口345a,345b的运作状态,在出现问题时能够反应并执行备援。连接于远程设备的通讯端口305可为RS-232/422/485等串行端口,让控制计算机能通过虚拟的通讯端口存取/控制远程设备38。另有实施例可通过多个通讯端口连接多个远程设备。The special feature of the present invention is that there is a virtualcommunication port driver 341 in thecontrol terminal computer 34, which has abackup module 343 for monitoring the multiple network interfaces that thecontrol terminal computer 34 has, such as reference numerals first control terminal Thenetwork interface 345a and the second controlterminal network interface 345b. The backup module 303 monitors the operation status of eachnetwork interface 345a, 345b, and can react and perform backup when a problem occurs. The communication port 305 connected to the remote device can be a serial port such as RS-232/422/485, so that the control computer can access/control the remote device 38 through the virtual communication port. Alternative embodiments allow multiple remote devices to be connected via multiple communication ports.

在实际使用上,使用者先在控制端计算机34上在上述备援模块343中设定与信号转换装置30上其中之一网络接口为主要联机,并通过此主要联机经信号转换装置30的实体通讯端口301a,301b,301c连接远程设备。当使用者将数据通过计算机内虚拟通讯端口驱动程序341传递时,此驱动程序341将通过备援模块343联机到信号转换装置30的指定网络接口,并进行数据传送与接收。In actual use, the user first sets one of the network interfaces on thesignal conversion device 30 as the main connection in the above-mentionedbackup module 343 on thecontrol terminal computer 34, and through the main connection through the entity of thesignal conversion device 30Communication ports 301a, 301b, 301c are connected to remote devices. When the user transmits data through the virtualcommunication port driver 341 in the computer, thedriver 341 will connect to the designated network interface of thesignal conversion device 30 through thebackup module 343 to transmit and receive data.

此备援模块343将于传输过程中不断检查联机状态与信号转换装置30的网络状态,当备援模块343发现主要联机发生问题时,备援模块343会尝试联机另一指定的备援网络接口,以确保使用者数据传输正常。系统会依照网络正常通讯流程进行网络切换程序。Thebackup module 343 will constantly check the connection status and the network status of thesignal conversion device 30 during the transmission process. When thebackup module 343 finds that there is a problem with the main connection, thebackup module 343 will try to connect to another designated backup network interface. , to ensure normal user data transfer. The system will perform the network switching procedure according to the normal communication process of the network.

接着,上述虚拟通讯端口驱动程序341将系统上欲传输给远程实体通讯端口301a,301b,301c的数据,经过特定方式转换成网络封包数据,通过信号转换装置30传送至远程设备上通讯端口,经由信号转换装置30的处理单元302接收后,将网络封包数据转换成序列/并列端口/实体现场总线的数据,接着传送至实体通讯端口。接收程序则反之。Then, the above-mentioned virtualcommunication port driver 341 converts the data on the system to be transmitted to thecommunication ports 301a, 301b, and 301c of the remote entity into network packet data in a specific way, and transmits it to the communication port on the remote device through thesignal conversion device 30. After receiving, theprocessing unit 302 of thesignal conversion device 30 converts the network packet data into serial/parallel port/physical field bus data, and then transmits to the physical communication port. The receiving procedure is the opposite.

于另一实施例中,信号转换装置30另设置有一电性连接处理单元302的电源备援模块306,用来确保此装置30不会因为单一电源失效,而停止服务。In another embodiment, thesignal conversion device 30 is further provided with apower backup module 306 electrically connected to theprocessing unit 302 to ensure that thedevice 30 will not be out of service due to a single power failure.

特别的是,在本发明所提出的架构下,控制计算机端的信号传递就如同以近端序列或并列式通讯端口连接设备一般,而事实上是通过网络传递封包,经信号转换装置30转换为序列或并列式通讯端口的数据规格,传递至远程设备。并且,此信号转换装置30支持两个以上的网络联机,并通过至少一个通讯端口305联机至一或多个远程设备,网络接口间通过控制端计算机的备援模块303的监控功能产生彼此备援(redundant backup)的机制,得到稳定的联机质量。In particular, under the framework proposed by the present invention, the signal transmission at the control computer terminal is just like connecting the equipment with a near-end serial or parallel communication port. In fact, the packet is transmitted through the network and converted into a serial by thesignal conversion device 30. Or the data specifications of the parallel communication port, passed to the remote device. Moreover, thesignal conversion device 30 supports more than two network connections, and is connected to one or more remote devices through at least one communication port 305, and the network interfaces generate mutual backup through the monitoring function of the backup module 303 of the control terminal computer. (redundant backup) mechanism to get stable online quality.

图4显示使用本发明所提供的信号转换系统的网络架构图实施例之一,图中显示多个控制端计算机401,402,403共同连接至一个局域网络40,再接着连接至信号转换装置42,之后通过连接此局域网络40的信号转换装置电性连接至远程设备44。Fig. 4 shows one of the network architecture diagram embodiments using the signal conversion system provided by the present invention, in which a plurality ofcontrol terminal computers 401, 402, 403 are commonly connected to alocal area network 40, and then connected to asignal conversion device 42 , and then electrically connected to theremote device 44 through the signal conversion device connected to thelocal area network 40 .

在此网络架构下,控制端计算机401,402,403可通过安装于计算机中的虚拟通讯端口驱动程序模拟出连接远程设备44的虚拟通讯端口,信号转换装置42一端以复数个联机连接至以太网络40,一端通过序列或是并列式等通讯端口连接远程设备44,借信号转换装置42转换原传递在网络40上的封包信息成为通讯端口(COM port)的信号格式,让控制端计算机401,402,403能顺利通过模拟的通讯端口控制远程设备44。Under this network architecture, thecontrol computers 401, 402, and 403 can simulate the virtual communication port connected to theremote device 44 through the virtual communication port driver installed in the computer. One end of thesignal conversion device 42 is connected to the Ethernet network with multiple connections. 40, one end is connected to theremote device 44 through serial or parallel communication ports, and thesignal conversion device 42 converts the packet information transmitted on thenetwork 40 into the signal format of the communication port (COM port), so that thecontrol terminal computers 401, 402 , 403 can successfully control theremote device 44 through the simulated communication port.

延续图4的网络架构,本发明通过信号转换装置42的设计执行网络备援的功能,上述图3显示各控制端计算机401,402,403设置有至少两个网络接口,通过计算机内以软件(虚拟通讯端口驱动程序)实施的备援模块执行的监控机制,在与信号转换装置42间的主要联机失败后可由备援连接继续工作。如图5所显示的网络架构,其中提供信号转换装置42,一端通过网络联机501,502与网络40连接有控制端计算机401,402,403,一端通过通讯端口联机505连接至远程设备44。Continuing the network architecture of FIG. 4, the present invention implements the function of network backup through the design of thesignal conversion device 42. The above-mentioned FIG. 3 shows that each controlterminal computer 401, 402, 403 is provided with at least two network interfaces. The monitoring mechanism implemented by the backup module implemented by the virtual communication port driver) can continue to work by the backup connection after the main connection with thesignal conversion device 42 fails. The network structure shown in Figure 5, wherein asignal conversion device 42 is provided, one end is connected to thenetwork 40 throughnetwork connections 501, 502 withcontrol computers 401, 402, 403, and one end is connected to theremote device 44 through acommunication port connection 505.

特别的是,此实施例中,信号转换装置42具有可互相备援的两个网络联机501,502(包括相同网域与不同网域两种态样,如图7A与图7B所述),经过网络交换器50连接至控制端的网络40,网络交换器50转送网络封包,初始以一主要的网络联机,如501,转送来自各控制端计算机401,402,403的控制信号,并通过主要联机传递控制信号至信号转换装置42,经转换为通讯端口兼容的信号后,经通讯端口联机505传递至远程设备44。当控制端计算机401,402,403中的备援监控机制监测到主要联机失败时,即以虚拟通讯端口驱动程序重新建立联机切换至备援联机,如502,继续工作。In particular, in this embodiment, thesignal conversion device 42 has twonetwork connections 501, 502 (including the same network domain and different network domains, as described in FIG. 7A and FIG. 7B ) that can back up each other. Connect to thenetwork 40 of the control terminal through thenetwork switch 50, thenetwork switch 50 forwards the network packet, initially with a main network connection, such as 501, forwards the control signals from eachcontrol terminal computer 401, 402, 403, and through the main connection The control signal is transmitted to thesignal conversion device 42 , converted into a signal compatible with the communication port, and then transmitted to theremote device 44 through thecommunication port connection 505 . When the backup monitoring mechanism in thecontrol terminal computers 401, 402, 403 detects that the main connection fails, the virtual communication port driver is used to re-establish the connection and switch to the backup connection, such as 502, to continue working.

图6则显示本发明使用具有备援机制的信号转换系统的另一实施例,图中显示信号转换装置42具有复数个网络接口,分别以网络联机601连接至第一网络交换器61,以网络联机602,603连接至第二网络交换器62,通过不同的网络交换器连接至控制端的网络40与多个控制端计算机401,402,403,借其中备援模块产生不同样态的备援方式。FIG. 6 shows another embodiment of the present invention using a signal conversion system with a backup mechanism. The figure shows that thesignal conversion device 42 has a plurality of network interfaces, which are respectively connected to thefirst network switch 61 with anetwork connection 601, and connected to the network.Connections 602, 603 are connected to the second network switch 62, and are connected to thenetwork 40 of the control terminal and multiplecontrol terminal computers 401, 402, 403 through different network switches, and the backup mode of different states is generated by the backup module .

此例中,信号转换装置42同样通过通讯端口联机605连接至远程设备。另外,信号转换装置42再特别通过通讯端口连接一数据设备63,信号转换装置42借此连接其它网络设备,产生其它扩充的用途,包括可连接至其它控制计算机,亦能通过信号转换,同样达到控制其它远程控制的目的。In this example, thesignal conversion device 42 is also connected to a remote device through acommunication port connection 605 . In addition, thesignal conversion device 42 is particularly connected to adata device 63 through a communication port, and thesignal conversion device 42 is connected to other network devices to generate other expanded purposes, including being able to connect to other control computers, and also through signal conversion to achieve the same Control other remote control purposes.

在传递数据上可使用广播模式(broadcast mode),信号转换装置42处理由各通讯端口传递的指令,传递与响应的指令,为处理一个指令,广播至各控制端计算机或各远程设备,由通讯端口响应至所有连接至通讯端口的各远程设备的信息,再由处理此信息的设备接收。Can use broadcast mode (broadcast mode) on transmitting data,signal conversion device 42 processes the command transmitted by each communication port, transmits and responds to the command, in order to process a command, broadcast to each control end computer or each remote device, by communication The port responds with a message to all remote devices connected to the communication port, which is then received by the device that processes the message.

另一为轮询模式(polling mode),信号转换装置同一时间仅处理由一个控制端计算机或是远程设备所传递的指令,并响应此指令,而由其它信息的指令则进入队列(queue),并等待目前程序的完成。The other is the polling mode. The signal conversion device only processes the command transmitted by one control terminal computer or remote device at the same time, and responds to this command, while the command from other information enters the queue. And wait for the completion of the current program.

在图6显示的复数个网络联机的实施例中,通过不同的第一网络交换器61与第二网络交换器62将来自各控制端计算机401,402,403的封包信号转送至不同的网域,如第一网络交换器61所建立的网域与第二网络交换器62所建立的另一网域,并由信号转换装置42监控各联机的联机状态,而通过相同网域与不同网域状态的备援机制可参阅图7A与图7B的叙述。In the embodiment of a plurality of network connections shown in FIG. 6, the packet signals from eachcontrol terminal computer 401, 402, 403 are forwarded to different network domains through different first network switches 61 and second network switches 62. , such as the network domain established by thefirst network switch 61 and another network domain established by the second network switch 62, and the online status of each connection is monitored by thesignal conversion device 42, and through the same network domain and different network domains The state backup mechanism can refer to the description of FIG. 7A and FIG. 7B .

图7A所示为本发明所提供的信号转换装置72利用相同网域的联机执行备援的第一个实施态样。此例中,一或多数个控制计算机70具有相同网域的网络接口,分别配置网络地址10.0.0.1与10.0.0.2,借以联机至信号转换装置72,通过信号转换装置72的通讯端口存取远程设备74,其中可能经过的网络交换器或是其它网络设备则未于图中显示。FIG. 7A shows the first implementation aspect of thesignal conversion device 72 provided by the present invention using the connection of the same network domain to perform backup. In this example, one or more control computers 70 have network interfaces of the same network domain, respectively configured with network addresses 10.0.0.1 and 10.0.0.2, so as to connect to thesignal conversion device 72, and access the remote control through the communication port of thesignal conversion device 72. The device 74, which may pass through a network switch or other network devices, is not shown in the figure.

在此相同网域备援的第一个实施态样中,在初始状态下,是由一条主要联机(预设联机)进行封包传递,在TCP/IP通讯协议的规范之下,同时亦仅能由一个网络地址进行封包转送,控制计算机70则是通过其中虚拟通讯端口驱动程序中的备援模块提供的侦测手段或是侦测程序随时侦测网络联机状态,可通过尝试错误(try&error)的方式得到联机状态,当主要联机在一定联机测试次数(可由软件设定)之后判断失败后,备援模块所提供的备援手段是当侦测到主要线路失效时,重新建立联机切换到备援线路,继续封包传递的作业。In the first implementation of the same domain backup, in the initial state, a main connection (default connection) is used for packet transmission, and under the specification of the TCP/IP communication protocol, it can only Packets are forwarded by a network address, and the control computer 70 detects the network connection status at any time through the detection means provided by the backup module in the virtual communication port driver or the detection program. When the main connection fails after a certain number of connection tests (can be set by the software), the backup means provided by the backup module is to re-establish the connection and switch to the backup when the failure of the main line is detected. Line, continue the operation of packet delivery.

上述第一实施态样在执行时,在切换备援联机时会有短暂的中断可能,并于使用备援联机时侦测主要联机或是预设联机是否恢复,并于恢复时适时切换至主要联机。另外,更可设置多条备援联机,能于上述备援联机失败时,以其它备援联机接手;更能在多备援联机的机制下执行负载平衡(load balance)的传递手段,以充分利用频宽。When the above first implementation is executed, there may be a short interruption when switching the backup connection, and when the backup connection is used, it will detect whether the main connection or the default connection is restored, and switch to the main connection at an appropriate time when it is restored. online. In addition, multiple backup connections can be set up so that when the above-mentioned backup connection fails, another backup connection can take over; it is also possible to implement load balancing (load balance) transfer means under the mechanism of multiple backup connections to fully Utilize bandwidth.

图7B所示为本发明所提供的信号转换装置72利用不同网域的联机执行备援的第二个实施态样。网络架构如同上述第一个实施态样,此例中,一或多数个控制计算机70具有两个以上却连接不同网域的网络接口,分别配置网络地址如10.0.0.2与20.0.0.1,联机至具有多个网络接口的信号转换装置72,并接着通过信号转换装置72的通讯端口存取远程设备74。FIG. 7B shows a second implementation aspect of thesignal conversion device 72 provided by the present invention using connections in different network domains to perform backup. The network architecture is the same as the above-mentioned first implementation. In this example, one or more control computers 70 have more than two network interfaces connected to different network domains, respectively configure network addresses such as 10.0.0.2 and 20.0.0.1, and connect to Thesignal conversion device 72 has multiple network interfaces, and then accesses the remote device 74 through the communication port of thesignal conversion device 72 .

由于此例使用不同网域联机的备援模式,故需设置网络交换器(switch,未显示于图中)设定虚拟局域网络(VLAN),或是通过路由器(router,未显示于图中)的封包转送达到联机,或是可经过其它网络设备达到联机。Since this example uses the backup mode of different network domain connections, it is necessary to set up a network switch (switch, not shown in the figure) to set up a virtual local area network (VLAN), or through a router (router, not shown in the figure) The packets are forwarded to the connection, or can be connected through other network devices.

在此不同网域备援的第二个实施态样中,开始时,不同网域的网络接口将同时通过网络联机传递数据,在主要(预设)联机正常的状态下,撷取通过主要网络联机所传递的数据,并抛弃由其它备援联机所传递的数据,避免数据混淆或是重复。控制计算机70同样通过其中虚拟通讯端口驱动程序中的备援模块提供的侦测手段或是侦测程序随时侦测网络联机状态,如通过尝试错误(try&error)的方式得到联机状态,当主要联机在一定联机测试次数(可由软件设定)之后判断失败后,以备援模块所提供的备援手段重新建立联机切换至备援联机,并撷取通过备援联机所传递的数据。In the second implementation of the backup of different domains, at the beginning, the network interfaces of different domains will transmit data through the network connection at the same time. The data transmitted by the connection, and the data transmitted by other backup connections are discarded to avoid data confusion or duplication. The control computer 70 also detects the online status of the network at any time through the detection means provided by the backup module in the virtual communication port driver or the detection program. After a certain number of connection tests (which can be set by the software) are judged to fail, the connection is re-established by the backup means provided by the backup module to switch to the backup connection, and the data transmitted through the backup connection is retrieved.

上述第二实施态样在进入备援联机执行作业时,仍持续侦测主要联机与此备援联机状态,能适时切换至主要联机或是其它备援联机。同样,亦可设置多条备援联机,能在多备援联机的机制下执行负载平衡的传递手段,充分利用频宽。In the above second implementation mode, when entering the backup connection to perform operations, it still continuously detects the status of the primary connection and the backup connection, and can switch to the primary connection or other backup connections in due course. Similarly, multiple backup connections can also be set up, and the load balancing transmission method can be implemented under the mechanism of multiple backup connections to make full use of the bandwidth.

图8显示本发明备援方法的实施例的一流程图。FIG. 8 shows a flowchart of an embodiment of the backup method of the present invention.

本发明所提供的信号转换系统至少要具备有一个以上的控制端计算机,其具有网络接口,通过网络连接至信号转换装置,控制端计算机与信号转换装置之间的联机有复数个可相互备援的网络联机,并通过至少一组通讯端口连接至远程受控的设备,其它相关的电路请参阅上述图3。The signal conversion system provided by the present invention must have at least one control terminal computer, which has a network interface, and is connected to the signal conversion device through the network. There are multiple connections between the control terminal computer and the signal conversion device, which can back up each other. It is connected to the network and connected to the remote controlled device through at least one set of communication ports. Please refer to the above-mentioned figure 3 for other related circuits.

开始时,如步骤S801所示,建立控制端计算机、信号转换装置与远程设备间的联机,并启动备援机制(步骤S803),备援机制启动后,由安装于控制端计算机的驱动程序中的备援模块侦测各网络联机的状态,并由主要的第一联机传递数据(步骤S805),主要联机设定于此信号转换装置中,其中通讯单元预设以此主要联机传递数据,可由控制端计算机经信号转换装置通过网络联机传递数据至远程设备,或是反向传递数据。At the beginning, as shown in step S801, the connection between the control terminal computer, the signal conversion device and the remote device is established, and the backup mechanism is started (step S803). The backup module detects the status of each network connection, and transmits data through the main first connection (step S805). The main connection is set in the signal conversion device, and the communication unit is preset to transmit data through this main connection, which can be transmitted by The control terminal computer transmits the data to the remote equipment through the signal conversion device through the network connection, or transmits the data in reverse.

备援模块并随时侦测联机状态(步骤S807),主要可通过网络上传递确认封包的方式进行侦测,举例来说,通过数据传递前发出SYN/ACK封包,确认信号转换装置或是远程设备的响应;或是通过尝试错误(try&error)的方式得到联机状态。借此判断是否联机失败?(步骤S809)。The backup module detects the connection status at any time (step S807), which can be mainly detected by transmitting confirmation packets on the network, for example, sending SYN/ACK packets before data transmission, confirming the signal conversion device or remote equipment Response; or get online status by try&error. Use this to judge whether the connection failed? (step S809).

若联机状态正常(否的状态),则仍继续步骤S805传递数据的步骤与步骤S807侦测联机的程序。If the connection state is normal (No state), then continue the step of step S805 to transfer data and step S807 to detect connection.

若侦测在一定联机测试次数后,若没有响应正确的封包或是数据传递失败,则判断联机失败(是的状态),本发明的控制端计算机中的备援手段(或备援模块),通过重新建立网络联机,修正封包路线(步骤S811),将联机切换至另一个备援联机上,如第二联机(步骤S813),备援的线路由网络拓朴状态及整体网络设定而决定,并继续封包传递的作业(步骤S815)。If detection is after a certain number of online tests, if there is no response to a correct packet or data transfer failure, then it is judged that the connection has failed (yes), the backup means (or backup module) in the control terminal computer of the present invention, By re-establishing the network connection, correcting the packet route (step S811), switching the connection to another backup connection, such as the second connection (step S813), the backup route is determined by the network topology and overall network settings , and continue the operation of packet delivery (step S815).

于此实施例中,之后仍继续侦测此备援联机的状态,并能于主要联机恢复后由主要联机接手,或是判断再次联机失败后,经备援机制转换成另一备援联机或原主要联机接续传递的任务。In this embodiment, the detection of the state of the backup connection is continued afterwards, and the main connection can be taken over by the main connection after the main connection is restored, or it can be converted to another backup connection or The original main online continuation of the task passed.

上述图8所述的网络联机由相同网域的复数条联机进行相互备援的工作,而图9显示以不同网域的网络备援方法,如图7B所示的架构。The above-mentioned network connections in FIG. 8 are mutually backed up by multiple connections in the same network domain, and FIG. 9 shows a network backup method in different network domains, such as the architecture shown in FIG. 7B .

同样在开始时建立联机(步骤S901),并启动备援机制(步骤S903),在不同网域的网络联机架构下,控制端计算机与信号转换装置之间通过两个以上的网络联机(分别具有不同网域的网络地址)相接,并且之间所形成的网络之间通过网络交换器或是路由器桥接,并由此不同网域的联机传递数据(步骤S905)。Also establish a connection at the beginning (step S901), and start a backup mechanism (step S903). The network addresses of different network domains) are connected, and the formed network is bridged by a network switch or a router, and data is transmitted through the connections of different network domains (step S905).

控制端计算机与信号转换装置预设是撷取通过主要联机传递的数据(步骤S907),会同时接收多组同样的数据,通过判断机制抛弃其中冗余的数据,撷取不重复而正确的数据,并同时侦测联机状态(步骤S909),通过尝试错误的方法判断封包是否正确传递,或是通过发送确认封包来判断联机是否失败(步骤S911)。The control terminal computer and the signal conversion device are preset to retrieve the data transmitted through the main connection (step S907), and will receive multiple sets of the same data at the same time, discard the redundant data through the judgment mechanism, and retrieve the correct and non-repetitive data , and at the same time detect the connection status (step S909), determine whether the packet is delivered correctly by trial and error, or determine whether the connection fails by sending a confirmation packet (step S911).

当联机状态正常,则继续步骤S905,由同一网络联机传递数据,若侦测到网络联机失败后,备援模块将设定修正撷取的另一备援联机所传递的数据,在实际运作上,自动切换至另一备援联机继续撷取所传递的数据(步骤S913),借此可产生无接缝传递信息的功效。When the connection status is normal, continue to step S905, and transmit data through the same network connection. If the network connection fails, the backup module will set and modify the captured data transmitted by another backup connection. In actual operation , automatically switch to another backup connection to continue to retrieve the transmitted data (step S913), thereby producing the effect of seamlessly transmitting information.

此实施例同样继续侦测网络联机,并可于主要数据撷取路线恢复后切换回去。This embodiment also continues to detect network connections and can switch back after the main data retrieval route resumes.

综上所述,本发明揭示一种具有备援机制的信号转换系统与备援方法,主要是控制端通过网络连接至一信号转换的信号转换装置,借此能通过网络,并以驱动程序仿真出虚拟通讯端口的控制机制,特别是其中所具有备援机制,能提供稳定的联机。To sum up, the present invention discloses a signal conversion system and a backup method with a backup mechanism, mainly that the control terminal is connected to a signal conversion device for signal conversion through a network, so that it can be simulated by a driver program through the network The control mechanism of the virtual communication port, especially the backup mechanism, can provide a stable connection.

但以上所述仅为本发明的较佳可行实施例,非因此即局限本发明的保护范围,因此凡是运用本发明说明书及附图内容所做的等效结构变化,均同理包含于本发明的保护范围内,特此说明。However, the above description is only a preferred feasible embodiment of the present invention, and does not limit the protection scope of the present invention. Therefore, all equivalent structural changes made by using the description of the present invention and the contents of the accompanying drawings are equally included in the present invention. Within the scope of protection, it is hereby explained.

Claims (12)

Translated fromChinese
1、一种具有备援机制的信号转换系统,其特征在于,所述的系统至少包括有:1. A signal conversion system with a backup mechanism, characterized in that said system at least includes:(a)一信号转换装置,其中包括有:(a) a signal conversion device comprising:(a1)一处理单元,执行该信号转换装置的信号处理;(a1) a processing unit that performs signal processing of the signal conversion device;(a2)至少两个网络接口,电性连接该处理单元,该信号转换装置对外通过该网络接口连接一网络;(a2) at least two network interfaces, electrically connected to the processing unit, and the signal conversion device is externally connected to a network through the network interfaces;(a3)一或复数个实体通讯端口,电性连接该处理单元,该信号转换装置通过该实体通讯端口连接一或复数个远程设备,其中该实体通讯端口为序列式、并列式或为一现场总线的通讯端口;(a3) One or more physical communication ports are electrically connected to the processing unit, and the signal conversion device is connected to one or more remote devices through the physical communication port, wherein the physical communication port is serial, parallel or a field The communication port of the bus;(b)一控制端计算机,通过该网络连接该信号转换装置,其中包括有:(b) a control terminal computer connected to the signal conversion device through the network, including:(b1)至少两个控制端网络接口,该控制端计算机通过该控制端网络接口连接该网络;以及(b1) at least two console network interfaces through which the console computer is connected to the network; and(b2)一虚拟通讯端口驱动程序,具有一备援模块,将控制指令转换为网络封包数据,或将网络封包数据转换为该控制端计算机的信息,借该备援模块监视该控制端网络接口的运作状态;(b2) A virtual communication port driver with a backup module, which converts control commands into network packet data, or converts network packet data into information of the control terminal computer, and monitors the control terminal network interface by means of the backup module operating status;借该具有备援机制的信号转换系统将该控制端计算机所传递的网络封包经该信号转换装置转换为该实体通讯端口的信号,并传递至该远程设备,其中,该控制端计算机利用网络通过两条以上的网络联机连接至该信号转换装置,并通过该信号转换装置的该实体通讯端口连接至该远程设备,当该备援模块判断一主要联机失败后,即以另一备援联机接手。The signal conversion system with a backup mechanism converts the network packet transmitted by the control terminal computer into the signal of the physical communication port through the signal conversion device, and transmits it to the remote device, wherein the control terminal computer utilizes the network through the Two or more network connections are connected to the signal conversion device and connected to the remote device through the physical communication port of the signal conversion device. When the backup module determines that a main connection fails, another backup connection takes over .2、如权利要求1所述的具有备援机制的信号转换系统,其特征在于,所述的信号转换装置通过相同网域的复数条联机连接一网络交换器,借以电性连接至该控制端计算机。2. The signal conversion system with a backup mechanism as claimed in claim 1, wherein the signal conversion device is connected to a network switch through multiple connections in the same network domain, so as to be electrically connected to the control terminal computer.3、如权利要求1所述的具有备援机制的信号转换系统,其特征在于,所述的信号转换装置通过该实体通讯端口连接至一数据设备。3. The signal conversion system with a backup mechanism as claimed in claim 1, wherein said signal conversion device is connected to a data device through the physical communication port.4、如权利要求1所述的具有备援机制的信号转换系统,其特征在于,所述的信号转换装置更具备一电源备援模块,借以监视该信号转换装置的电力供应,当有电力失效时,即启动一备援电源。4. The signal conversion system with a backup mechanism as claimed in claim 1, wherein said signal conversion device is further equipped with a power backup module, so as to monitor the power supply of the signal conversion device, and when there is a power failure , a backup power supply is activated.5、一种应用权利要求1所述的具有备援机制的信号转换系统的备援方法,其特征在于,所述的方法包括有:5. A backup method for applying the signal conversion system with a backup mechanism according to claim 1, characterized in that the method includes:建立一或复数个控制端计算机、一信号转换装置与一或复数个远程设备间的联机,其中该信号转换装置通过至少两个网络联机连接至该控制端计算机,各网络联机为相同网域,该信号转换装置通过一或复数个实体通讯端口连接该远程设备;Establishing a connection between one or more control computers, a signal conversion device and one or more remote devices, wherein the signal conversion device is connected to the control computer through at least two network connections, and each network connection is the same network domain, The signal conversion device is connected to the remote device through one or a plurality of physical communication ports;启动备援机制,借该控制端计算机中的虚拟通讯端口驱动程序监控该控制端计算机与该信号转换装置间的网络联机状态;activate the backup mechanism, and monitor the network connection status between the control computer and the signal conversion device through the virtual communication port driver in the control computer;该控制端计算机通过一第一联机连接该信号转换装置,并借以传递数据至该远程设备,或是反向传递数据;The control terminal computer is connected to the signal conversion device through a first connection, and thereby transmits data to the remote device, or transmits data in reverse;若该第一联机状态正常,仍继续以该第一联机传递数据;以及If the state of the first connection is normal, continue to transmit data through the first connection; and若该第一联机失败,重建网络联机,数据通过与该第一联机相同网域的一第二联机传递。If the first connection fails, the network connection is reestablished, and the data is transmitted through a second connection in the same network domain as the first connection.6、如权利要求5所述的备援方法,其特征在于,通过该虚拟通讯端口驱动程序执行重建网络联机。6. The backup method as claimed in claim 5, wherein the network connection is reestablished through the virtual communication port driver.7、如权利要求5所述的备援方法,其特征在于,该信号转换装置传递数据利用一广播模式处理由各实体通讯端口传递的指令。7. The backup method according to claim 5, wherein the signal conversion device transmits data using a broadcast mode to process commands transmitted by each physical communication port.8、如权利要求5所述的备援方法,其特征在于,该信号转换装置传递数据利用一为轮询模式,同一时间仅处理由一个控制端计算机或是该远程设备所传递的指令,并响应此指令,而由其它指令则进入一队列,并等待目前程序的完成。8. The backup method according to claim 5, wherein the signal conversion device transmits data using a polling mode, and only processes instructions transmitted by a control terminal computer or the remote device at the same time, and In response to this command, other commands enter a queue and wait for the completion of the current program.9、一种应用权利要求1所述的具有备援机制的信号转换系统的备援方法,其特征在于,所述的方法包括有:9. A backup method for applying the signal conversion system with a backup mechanism according to claim 1, characterized in that the method includes:建立一或复数个控制端计算机、一信号转换装置与一或复数个远程设备间的联机,其中该信号转换装置通过至少两个网络联机连接至该控制端计算机,各网络联机为不同网域,该信号转换装置通过一或复数个实体通讯端口连接该远程设备;establishing a connection between one or more control computers, a signal conversion device and one or more remote devices, wherein the signal conversion device is connected to the control computer through at least two network connections, and each network connection is a different network domain, The signal conversion device is connected to the remote device through one or a plurality of physical communication ports;启动备援机制,借以监控该信号转换装置与该控制端计算机间的网络联机状态;Activate a backup mechanism to monitor the network connection status between the signal conversion device and the control computer;该控制端计算机经该信号转换装置通过各处于不同网域的网络联机传递数据;The control terminal computer transmits data via the signal conversion device through the network connections in different network domains;该信号转换装置预设撷取通过一第一联机传递的数据,并传递至该远程设备,或是反向传递数据;The signal conversion device is preset to capture the data transmitted through a first connection, and transmit to the remote device, or transmit the data in reverse;若联机状态正常,仍继续撷取以该第一联机传递的数据;以及If the connection status is normal, continue to retrieve the data transmitted by the first connection; and若联机失败,切换为撷取通过与该第一联机不同网域的一第二联机所传递的数据。If the connection fails, switch to retrieving data transmitted through a second connection that is in a different network domain from the first connection.10、如权利要求9所述的备援方法,其特征在于,所述的信号转换装置同时接收不同网域的网络联机传递的数据,通过抛弃其中冗余的数据,撷取不重复而正确的数据。10. The backup method according to claim 9, wherein the signal conversion device simultaneously receives the data transmitted by the network connections of different network domains, and discards the redundant data to retrieve correct and non-repetitive data. data.11、如权利要求9所述的备援方法,其特征在于,所述的信号转换装置传递数据利用一广播模式处理由各实体通讯端口传递的指令。11. The backup method according to claim 9, wherein said signal conversion device transmits data using a broadcast mode to process commands transmitted by each physical communication port.12、如权利要求9所述的备援方法,其特征在于,所述的信号转换装置传递数据利用一轮询模式,该信号转换装置同一时间仅处理由一个控制端计算机或是该远程设备所传递的指令,并响应此指令,而由其它指令则进入一队列,并等待目前程序的完成。12. The backup method according to claim 9, characterized in that, the signal conversion device transmits data using a round-robin mode, and the signal conversion device only processes data received by one control terminal computer or the remote device at the same time. The transmitted command and respond to this command, while other commands enter a queue and wait for the completion of the current program.
CN2008101276583A2008-07-072008-07-07 Signal conversion system with backup mechanism and backup methodExpired - Fee RelatedCN101626328B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN2008101276583ACN101626328B (en)2008-07-072008-07-07 Signal conversion system with backup mechanism and backup method

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN2008101276583ACN101626328B (en)2008-07-072008-07-07 Signal conversion system with backup mechanism and backup method

Publications (2)

Publication NumberPublication Date
CN101626328Atrue CN101626328A (en)2010-01-13
CN101626328B CN101626328B (en)2012-01-04

Family

ID=41522022

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN2008101276583AExpired - Fee RelatedCN101626328B (en)2008-07-072008-07-07 Signal conversion system with backup mechanism and backup method

Country Status (1)

CountryLink
CN (1)CN101626328B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103186249A (en)*2011-12-302013-07-03宏正自动科技股份有限公司Remote management system and remote management method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US5689732A (en)*1994-06-211997-11-18Sony CorporationApparatus for recording and reproducing data having a single recording and reproducing unit and a plurality of detachable interfaces for connecting to different types of computer ports
CN1696988A (en)*2005-05-242005-11-16上海科鸣建筑工程技术有限公司Wireless sensing unit in use for wireless network, and remote control method
CN1991682A (en)*2005-12-282007-07-04技嘉科技股份有限公司 A computer system that backs up data

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103186249A (en)*2011-12-302013-07-03宏正自动科技股份有限公司Remote management system and remote management method

Also Published As

Publication numberPublication date
CN101626328B (en)2012-01-04

Similar Documents

PublicationPublication DateTitle
JP4164704B2 (en) Network connection device switching method and network system using redundancy protocol and pseudo-redundant configuration means
JP2006013827A (en) Packet transfer device
US20030107987A1 (en)Reconfiguration system for a communication network
TW200907697A (en)System and method for providing multi-protocol access to remote computers
WO2011137797A1 (en)Method and system for data transmission in ethernet
CN105471613A (en)Temporary channel establishing method, device and system
CN106941424B (en) A kind of redundant switching method and device based on TTDP protocol
JP4795984B2 (en) Firewall device and firewall system
CN104536853B (en)Device for guaranteeing continuous availability of resources of dual-controller storage equipment
JP4340731B2 (en) Network fault monitoring processing system and method
CN101626328B (en) Signal conversion system with backup mechanism and backup method
WO2007062569A1 (en)A system for enabling service switching and a service switching method thereof
TWI451264B (en)Signal transformation apparatus with redundant mechanism and method of implementing redundancy
KR101587332B1 (en)Method for checking connectivity between controllers and network apparatuses
JP2012075009A (en)Redundancy device and redundancy program
CN109510725B (en)Communication equipment fault detection system and method
JPH09326810A (en)Connection changeover method on occurrence of fault
JP4866823B2 (en) Layer 2 switch device and layer 2 link state information transfer method
JP4692419B2 (en) Network device, redundant switching method used therefor, and program thereof
CN1905561B (en) Method and Root Bridge for Improving Traffic Reliability Between Layer 2 Network and External Network
JP3812668B2 (en) Link-up method and link-up system for each port of switching hub
CN1855838A (en)Interface inverting method
JP4035820B2 (en) Line switching apparatus, data transmission system, and line switching method
JP7135790B2 (en) Link aggregation management device, relay device, link aggregation management method and program
JP7346172B2 (en) communication equipment

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
C14Grant of patent or utility model
GR01Patent grant
CF01Termination of patent right due to non-payment of annual fee
CF01Termination of patent right due to non-payment of annual fee

Granted publication date:20120104

Termination date:20160707


[8]ページ先頭

©2009-2025 Movatter.jp