WO2006137492A1 - Network adapter, communication terminal, communication path distribution method, and program thereof - Google Patents

Network adapter, communication terminal, communication path distribution method, and program thereof Download PDF

Info

Publication number
WO2006137492A1
WO2006137492A1 PCT/JP2006/312533 JP2006312533W WO2006137492A1 WO 2006137492 A1 WO2006137492 A1 WO 2006137492A1 JP 2006312533 W JP2006312533 W JP 2006312533W WO 2006137492 A1 WO2006137492 A1 WO 2006137492A1
Authority
WO
WIPO (PCT)
Prior art keywords
communication
communication terminal
signal
terminal
network
Prior art date
Application number
PCT/JP2006/312533
Other languages
French (fr)
Japanese (ja)
Inventor
Kazunori Hirohashi
Original Assignee
Yaskawa Information Systems Corporation
Kabushiki Kaisha Yaskawa Denki
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 Yaskawa Information Systems Corporation, Kabushiki Kaisha Yaskawa Denki filed Critical Yaskawa Information Systems Corporation
Publication of WO2006137492A1 publication Critical patent/WO2006137492A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/387Information transfer, e.g. on bus using universal interface adapter for adaptation of different data processing systems to different peripheral devices, e.g. protocol converters for incompatible systems, open system

Definitions

  • Network adapter communication terminal, communication route distribution method and program
  • the present invention connects a plurality of communication terminals via a LAN (Lodal Area Network) or the like to perform information communication. Therefore, the present invention is connected to two external devices and connected to a communication terminal.
  • the present invention relates to a network adapter, a communication terminal, a communication route distribution method, and a program for performing communication between an external device and a communication terminal.
  • IEEE is a typical example of information communication by connecting multiple communication terminals over a LAN.
  • Token ring is a ring-type LAN that connects devices that perform communication in a ring, and twisted pair cables are used as LAN cables.
  • the token passing method is used for access control, and the “transmission right” data called a token always circulates around the network, so that the terminal that captures the data transmits the data.
  • a power monitoring circuit 55 for monitoring the power source 51 of the hub and a monitoring result according to this monitoring result.
  • the LAN management circuit bypass relay 53 for bypassing the hub internal transmission lines 56 to 59 from the LAN management circuit 52 to the stations 64a to 66d and the monitoring result to block requests from the stations 64a to 64d to the phantom circuit 61
  • a circuit provided with a circuit 60 is known. (For example, see JP-A-06-0104036 (page 3, FIG. 1, FIG. 3)).
  • the power supply monitoring circuit 55 can output stable power to the hub power supply 51. It is detected that the LAN management circuit bypass relay 53 is switched and the LAN management circuit 52 is in a bypass state.
  • the shut-off circuit cuts off the request to the station power phantom circuit. Therefore, even if there is a request for station power or a subscription, the hub will also lose its token ring network power, and the system down caused by unstable power supply can be avoided.
  • the token ring LAN hub of Patent Document 1 must be used with the hub power on in order to maintain the LAN, and the hub 73c power supply in Fig. 6 fails.
  • the terminal 74e, 74f on the end side becomes disconnected because the LAN power is also interrupted, which causes a problem.
  • the purpose of the present invention is to provide a network adapter, a communication terminal, a communication route distribution method, and a program thereof that can construct a network with a short network cable without requiring complicated work such as confirmation.
  • the present invention is configured as follows.
  • the present invention 1 is a network for a communication terminal that is connected to two external devices and connected to a communication terminal, and performs communication between the two external devices and the communication terminal.
  • a first port for network connection with the first external device a second port for network connection with the second external device, a first network controller for communicating with the communication terminal, and the communication terminal
  • a second network controller for communicating with the relay, a relay for switching a signal path between the first port, the second port, the first network controller, and the second network controller, and a state of the communication terminal
  • a relay control circuit for controlling the operation of the relay based on the first network controller, and the relay communicates between the first port and the communication terminal via the first network controller.
  • the relay is controlled, and at other times, the relay is controlled to be in the second communication state.
  • the present invention 2 provides the relay control circuit in which the relay control circuit is set to the first communication state when the power of the communication terminal is on, and to the second communication state otherwise. It is characterized by controlling.
  • the relay control circuit is in the first communication state when a normal signal is input as a watchdog timer signal of the communication terminal, and in other cases, the second communication The relay is controlled so as to be in a state.
  • the relay control circuit when the relay control circuit is powered on and the normal signal is input as the watchdog timer signal, the first communication state In other cases, the relay is controlled so as to be in the second communication state.
  • the present invention 5 has a structure in which the network adapter for the communication terminal can be detachably attached to the communication terminal, and when the communication terminal power is removed, the second communication state is established. It is characterized by doing.
  • the present invention 6 is a communication terminal that is connected to the network adapter for the communication terminal according to the present invention 1 and communicates with two external devices via the network adapter for the communication terminal.
  • a communication path between the network adapter for the communication terminal and the communication terminal When the first network controller force communication signal is received, the data distribution unit analyzes the address that is the destination of the communication signal, and the address is addressed to its own terminal. In some cases, the communication signal is taken into the own terminal. Otherwise, the communication signal is transferred to the second network controller. When the second network controller force also receives the communication signal, the communication signal is transmitted. When the address that is the destination is analyzed and the address is addressed to its own terminal, the communication signal is sent to its own terminal.
  • the present invention 7 includes a watchdog timer that monitors a communication state of the data distribution unit and transmits a normal signal to the network adapter for the communication terminal only when the communication state is normal. Furthermore, it is characterized by providing.
  • the present invention 8 is connected to the communication terminal network adapter according to the present invention 1, and communicates with two external devices via the communication terminal network adapter.
  • the communication terminal receives the first network controller power communication signal
  • the address that is the destination of the communication signal is analyzed, and when the address is addressed to the own terminal, the communication signal is Step S1 to be taken into the terminal, Step S2 to transfer the communication signal to the second network controller otherwise, and the address that is the destination of the communication signal when the second network controller also receives the communication signal
  • step S3 for capturing the communication signal in its own terminal
  • Step S4 for transferring the communication signal to the first network controller
  • Step S5 for transmitting the communication signal to the first network controller when the terminal power is also transmitted to the first external device.
  • Terminal power When transmitting a communication signal to the second external device, the terminal power is characterized by comprising step S6 of transmitting the communication signal to the second network controller.
  • the present invention 9 includes any step from the step S1 to the step S6.
  • the present invention 10 is for a communication terminal that is connected to the network adapter for the communication terminal described in the present invention 1 and communicates with two external devices via the network adapter for the communication terminal. Which is characterized in that it implements the communication path distribution method of the present invention 8.
  • the present invention 11 is for a communication terminal that is connected to the network adapter for the communication terminal according to the present invention 3 and communicates with two external devices via the network adapter for the communication terminal. Which is characterized by implementing the communication path distribution method of the ninth aspect of the present invention.
  • the network adapter power is switched between the first port, the second port, the first network controller, and the second network controller.
  • a relay control circuit for controlling the operation of the relay based on the relay.
  • the relay communicates between the first port and the communication terminal via the first network controller and the second network controller via the second network controller.
  • the relay control circuit switches between the first communication state in which communication is performed between the two ports and the communication terminal and the second communication state in which direct communication is performed between the first port and the second port.
  • the relay is controlled so as to be in the first communication state, and in other cases, the relay is controlled so as to be in the second communication state. Communication can be held by the second communication state even if it is not normal.
  • the relay control circuit is set in the first communication state when the power of the communication terminal is on or when a normal signal is input as a watchdog timer signal. , Otherwise the relay is controlled to be in the second communication state, so the communication state using either or both of power off and watchdog timer signal Can be switched.
  • the network adapter has a structure that can be detachably attached to the communication terminal.
  • the network adapter is in the second communication state. Can hold.
  • the present invention 6 and the present invention 8 when a communication terminal receives a communication signal, when the address that is the destination of the communication signal is addressed to the own terminal, the communication signal is placed in the own terminal. If not, the communication terminal passes the role of the hub because the communication signal is passed, and the communication terminal can connect multiple units without directly connecting the network cable to the hub.
  • the communication terminal monitors the communication state of the data distribution unit and transmits a watchdog timer that transmits a normal signal to the network adapter only when the communication state is normal.
  • the LAN environment can be maintained even when the communication status is abnormal.
  • FIG. 1 is a diagram showing a configuration of a communication terminal and a network adapter for the communication terminal according to the present invention.
  • FIG. 2 is a diagram for explaining a first communication state and a second communication state.
  • FIG. 3 is a diagram showing an example of connection between a plurality of network adapters and a communication terminal.
  • FIG. 4 is a flowchart of the communication path distribution method of the present invention.
  • FIG. 5 is a flowchart of watchdog timer control.
  • FIG. 6 is a diagram showing a configuration of a conventional token ring LAN.
  • FIG. 7 is a diagram showing a configuration of a conventional token ring LAN hub.
  • LOD is the network adapter
  • 111 is the first port
  • 112 is the second port
  • 121 is the first network controller
  • 122 is the second network controller
  • 121A and 121B are pulse transformers
  • 122A and 122B are Ethernet (registered trademark) PHY
  • 123A, 123B are Ethernet (registered trademark) MAC
  • 13 ⁇ relay 131, 132, 133, 134 ⁇ ⁇
  • 20, 20A-20D are communication terminals
  • 21 is a watchdog timer
  • 22 is a power monitoring circuit
  • 23 is a CPU
  • 24 is ROM
  • 25 is RAM
  • 26 is a CPU bus
  • 27 is a data distribution unit, 2 8 up to power, 31, 50, 73a to 73fi 301, 302 ⁇ external equipment, 303 ⁇ LAN cable, 51 power supply, 52 LAN management circuit, 53 LAN management circuit bypass relay, 54 relay drive circuit, 55 power monitoring circuit
  • FIG. 1 is a diagram showing a configuration of a communication terminal and a network adapter for the communication terminal according to the present invention.
  • the communication terminal 20 performs information communication with the first external device 301 and the second external device 302 via the network adapter 10 connected by the LAN cable 303.
  • the network adapter 10 communicates with the first port 111 for network connection with the first external device 301, the second port 112 for network connection with the second external device 302, and the communication terminal 20.
  • the relay 13 switches the LAN signal at the four contacts 131 to 134 so as to correspond to it. That is, the first port communicates with the communication terminal 20 via the first network controller and passes through the second network controller. Therefore, the first communication state in which the second port communicates with the communication terminal 20 and the second communication state in which direct communication is performed between the first port 111 and the second port 112 are switched.
  • the first network controller 121 and the second network controller 122 convert a LAN signal and a signal for a communication terminal such as a bus signal.
  • a communication terminal such as a bus signal.
  • the communication terminal 20 includes a power supply 28, a power supply monitoring circuit 22, a watchdog timer 21, and a data distribution unit 27 that distributes communication path data.
  • the data distribution unit 27 includes a CPU 23, a ROM 24, a RAM 25, and a CPU bus 26, which are general configurations of a personal computer, for example.
  • An arithmetic processing unit such as a microcomputer may be used instead of the CPU 23.
  • FIG. 2 is a diagram for explaining the first communication state and the second communication state.
  • the second port 112 and the second network controller 122 are connected via the contact 131, and the first port 111 and the first network controller 121 are connected.
  • the first port 111 and the second port 112 are connected via the contact 131 as shown in FIG.
  • the relay 13 is controlled by the relay control circuit 14.
  • the relay control circuit 14 controls the relay 13 so as to be in the first communication state only when the communication terminal 20 is operating normally, and so as to be in the second communication state at other times. Control relay 13.
  • the relay 13 is controlled via the relay control circuit 14 with the signal of the power monitoring circuit 22 that monitors the power supply abnormality of the communication terminal 20 and the watchdog timer 21 that detects the abnormal operation of the communication terminal 20.
  • the communication terminal 20 is turned on and the watchdog timer 21 signal is input as a normal signal, the first communication state is set. Otherwise, the second communication is set. What is necessary is just to comprise so that it may be set as a state.
  • the watchdog timer 21 periodically monitors the communication status and the power supply monitoring circuit 22 supplies power. Since it senses off instantly, it switches to the second communication state as soon as the communication terminal is not operating normally or power is cut off. For this reason, a stable LAN environment is maintained.
  • the power not shown in the figure may be omitted, and the relay 13 may be controlled based only on the power supply of the communication terminal 20 without providing the watchdog timer 21.
  • the relay control circuit 14 has the function of the power monitoring circuit 22, the software can be changed without changing the hardware configuration of the communication terminal 20. Only the object of the present invention can be achieved.
  • the relay 13 may be controlled based on only the signal of the watchdog timer 21 without providing the power supply monitoring circuit 22.
  • the structure of the network adapter 10 and the communication terminal 20 can be simplified.
  • the network adapter 10 and the communication terminal 20 can be connected to each other via a LAN.
  • FIG. 3 is a diagram illustrating a connection example of a plurality of network adapters and communication terminals.
  • 1 OA to 10D are network adapters
  • 20A to 20D are communication terminals
  • the network adapters 10A to 10D are connected by a LAN cable 303.
  • One end of the network adapter 10A is connected to the hub 31.
  • the network adapter 10A When the communication terminal 20A is not operating normally, the network adapter 10A is in the second communication state, and the hub 31 and the communication terminal 20B are substantially directly connected via the LAN. In other words, when building a network by connecting communication terminals, the network adapter and communication terminal act as the hub, and the communication terminal connects the network cable directly to the hub. It is possible to connect a plurality of units without continuing.
  • the network adapter 10 is preferably configured to be detachable from the communication terminal 20, such as a card-type adapter. When the network adapter 10 is removed from the communication terminal 20, the second communication state can be maintained because the communication terminal 20 is not operating normally.
  • the network adapter 10 may have a USB interface so that it can be connected to the communication terminal 20 via a USB (Universal Serial Bus)! /.
  • USB Universal Serial Bus
  • the relay control circuit 14, the first network controller 121, and the second network controller 122 are supplied with power 28 from the communication terminal 20.
  • the data distribution unit 27 When the data distribution unit 27 receives a communication signal from the first network controller 121, the data distribution unit 27 analyzes the address that is the communication destination, and when the address is addressed to its own terminal, the data distribution unit 27 If it is not received, the communication signal is transferred to the second network controller 122.
  • the address as the communication destination is analyzed.
  • the communication signal is taken into the communication terminal 20; Otherwise, the communication signal is transferred to the first network controller 121.
  • the communication signal is transmitted to the first network controller 121.
  • the communication signal is transmitted to the second network controller 122.
  • the communication path distribution process is performed by the first network controller 121, the second network controller.
  • the controller 122 and the communication terminal 20 have a function of switching communication paths, and this function is realized by software processing, for example.
  • data input from the first port 111 and the second port 112 is converted into a signal by the first or second network controller 121, 122, and via the CPU bus 26 of the communication terminal 20, the ROM 24 Or it is processed by the program of the data distribution part 27 stored in RAM25.
  • FIG. 4 shows a flowchart of the communication path distribution method of the present invention. This method is implemented by the program of the data distribution unit 27 of the communication terminal 20.
  • the first network controller 121 performs signal conversion into a communication signal for a communication terminal such as a LAN signal power bus signal in step S102.
  • the communication terminal 20 receives a communication signal from the first network controller 121.
  • the data distribution unit 27 analyzes the address that is the destination of the communication signal. If the address is addressed to the own terminal, the communication signal is taken into the own terminal in step S105. On the other hand, when the address is not addressed to the own terminal, the process proceeds to step S201, and the communication signal is transferred to the second network controller 122.
  • the second network controller 122 performs signal conversion from the communication signal for the communication terminal 20 to the LAN signal.
  • the LAN signal is output from the second port 112.
  • the step of capturing the signal is set to S1, and is not destined for the own terminal.
  • the step of transferring to the second network controller 122 is S2. That is, S103, S104 and S105 constitute step S1, and S103, S104 * 5 and S201 constitute step S2.
  • the second network controller 122 performs signal conversion into a communication signal for a communication terminal such as a LAN signal bus signal in step S302.
  • the communication terminal 20 becomes the second network controller.
  • a communication signal is received from 122.
  • the data distribution unit 27 analyzes the address that is the destination of the communication signal. If the address is addressed to the own terminal, the communication signal is taken into the communication terminal 20 in step S305. On the other hand, when the address is not addressed to the own terminal, the process proceeds to step S401, and the communication signal is transferred to the first network controller 121.
  • the first network controller 121 performs signal conversion from a communication signal for the communication terminal 20 to a LAN signal.
  • the RAN signal is output from the first port 111.
  • the step of capturing the communication signal is set as S3, and is not destined for the own terminal.
  • the step of transferring to the first network controller 121 is S4. That is, S303, S304, and S305 constitute step S3, and S303, S304, and S401 constitute step S4.
  • the communication terminal 20 When the own terminal power is also going to send a LAN signal to the first external device 301, the communication terminal 20 generates a communication signal in step S501.
  • the data distribution unit 27 adds an address to the communication signal and transfers it to the first network controller 121.
  • the first network controller 121 converts the communication signal power for the communication terminal 20 into a RAN signal.
  • a LAN signal is output from the first port 111.
  • step S602 the data distribution unit 27 adds an address to the communication signal and transfers it to the second network controller 122.
  • step S603 the second network controller 122 converts the communication signal power for the communication terminal 20 into a RAN signal.
  • step S604 a LAN signal is output from the second port 112.
  • communication terminal 20 generates a communication signal, adds an address to the communication signal, and transfers this to first network controller 121.
  • Steps S501 and S502 are set as step S5, and are transferred to second network controller 122.
  • Steps S601 and S602 are set as Step S6.
  • the watchdog timer 21 If the communication terminal 20 does not operate normally, communication between the first external device 301 and the second external device 302 cannot be performed, and the LAN environment is not maintained by blocking the communication path. In order to avoid this, the watchdog timer 21 periodically monitors the operation of the communication terminal 20 by confirming that a predetermined normal signal is sent from the CPU 23.
  • the network adapter 10 monitors both the power monitoring circuit 22 and the watchdog timer 21, the network adapter 10 is turned on until the power monitoring circuit 22 of the communication terminal 20 outputs normally.
  • the power monitoring circuit 22 outputs a normal signal after the power is turned on, and the program stored in the ROM 24 or RAM 25 is activated and the communication terminal 20 becomes communicable.
  • the watchdog timer 21 outputs a normal signal, and the relay control circuit 14 controls the relay 13 that makes the transition to the first communication state.
  • the power monitoring circuit 22 outputs a normal signal to the relay control circuit 14 only when the power supply voltage is normal.
  • an abnormality signal is output to the relay control circuit 14, and the relay control circuit 14 switches the relay 13 to the second communication state.
  • the watchdog timer 21 outputs a normal signal to the relay control circuit 14 if a normal access is received from the CPU 23 within a certain hour. If normal access is not received from the CPU 23 within a certain hour, an abnormal signal is output to the relay control circuit 14, and the relay control unit 14 switches the relay 13 to the second communication state.
  • control of the watchdog timer 21 is processed by a program stored in the data distribution unit 27 as part of the communication path distribution method.
  • FIG. 5 is a flowchart of watchdog timer control.
  • step S11 it is determined whether or not any of the steps from step S1 to step S6 in Fig. 4 has successfully completed the process, and if successful, the process proceeds to step S13. Send a normal signal to the hot dog timer 21. If not successful, proceed to step S12 and check the status of the data distributor 27. If the data distribution unit 27 is normal, the process proceeds to step S13. If it is not normal, go to step S14 and stop the watchdog timer 21 from sending a normal signal.
  • the watchdog timer is not controlled by the program in this way, and the watchdog timer transmits an abnormal signal when the access to the watchdog timer is performed within a certain period from the CPU and the access is stopped. It is also possible to perform control.
  • the LAN environment with the terminal on the terminal side is maintained even when the power of the device for constructing the LAN is turned off.
  • a LAN configuration that connects multiple network adapters and communication terminals in a daisy chain is possible, making it possible to construct a network with short network cables without the need for complicated work such as checking the network cable connection destination. It is.
  • a communication terminal in which the present invention is used it can be used in a factory-connected FA device or a personal computer connected in a LAN in a workplace or school, and the network adapter of the present invention is used. By using it, the effects and effects described in the embodiments are exhibited.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Small-Scale Networks (AREA)
  • Telephonic Communication Services (AREA)

Abstract

It is possible to provide a network adapter, a communication terminal, a communication path distribution method, and a program capable of building a network by using a short network cable, holding the LAN environment with a terminal at the terminal side even when power of a device constituting the LAN is turned off, and not requiring a complicated work for handling the network cable and checking the connection destination. The network adapter (10) includes a first port (111), a second port (112), a first network controller (121), as second network controller (122), a signal path switching relay (13) and a relay control circuit (14) for controlling operation of the relay (13) according to the state of the communication terminal (20).

Description

明 細 書  Specification
ネットワークアダプタ、通信端末、通信経路分配方法およびそのプログラ ム 技術分野  Network adapter, communication terminal, communication route distribution method and program
[0001] 本発明は、 LAN (Lodal Area Network)などで、複数の通信端末を接続して情 報通信を行うため、 2つの外部機器とネットワーク接続されると共に、通信端末と接続 され、 2つの外部機器と通信端末間で通信を行うネットワークアダプタ、通信端末、通 信経路分配方法およびそのプログラムに関するものである。  [0001] The present invention connects a plurality of communication terminals via a LAN (Lodal Area Network) or the like to perform information communication. Therefore, the present invention is connected to two external devices and connected to a communication terminal. The present invention relates to a network adapter, a communication terminal, a communication route distribution method, and a program for performing communication between an external device and a communication terminal.
背景技術  Background art
[0002] LANで、複数の通信端末を接続して情報通信を行う代表的なものとして、 IEEE [0002] IEEE is a typical example of information communication by connecting multiple communication terminals over a LAN.
802. 5委員会によって標準化された LAN規格トークンリングがある。トークンリングは 通信を行う機器を環状に接続して、リング型の LANを構築するものであり、 LANケー ブルにはツイストペアケーブルが使用される。アクセス制御にはトークンパッシング方 式が採用され、トークンと呼ばれる「送信権」データがネットワークを常に周回すること で、これを取り込んだ端末がデータを送信する形をとつて ヽる。 There is a LAN standard token ring standardized by the 802.5 committee. Token ring is a ring-type LAN that connects devices that perform communication in a ring, and twisted pair cables are used as LAN cables. The token passing method is used for access control, and the “transmission right” data called a token always circulates around the network, so that the terminal that captures the data transmits the data.
[0003] また、工場内、オフィス内、ビル内など限られた範囲にぉ ヽて通信機器同士を接続 しデータの送受信を行うシステムでは、 10BASE—Tや 100BASE—TXによる接続 が主流であり、通信端末を 3台以上接続する場合には、複数の端末装置と接続され たケーブルを集線し、これらのスイッチングを行うものとして、ハブと呼ばれる集線装 置が欠かせな 、存在となって!/、る。  [0003] Also, in systems where data is transmitted and received by connecting communication devices over a limited area such as in factories, offices, and buildings, connections using 10BASE-T and 100BASE-TX are the mainstream. When three or more communication terminals are connected, a cable concentrator called a hub is indispensable as a means of concentrating cables connected to multiple terminal devices and switching them. The
[0004] たとえば、図 6に示すトークンリング LANにおいて使用されるトークンリング LAN用 ハブとしては、図 7に示すように、ハブの電源 51を監視する電源監視回路 55と、この 監視結果に応じて LAN管理回路 52からステーション 64a〜66dへのハブ内部伝送 路 56〜59をバイパスするための LAN管理回路バイパスリレー 53と、その監視結果 によりステーション 64a〜64dからファントム回路 61への要求を遮断する遮断回路 60 とを設けたものが公知となっている。(例えば、特開平 06— 014036号公報(3頁、図 1、図 3)参照)。 [0005] この従来技術を適用することで、図 6のトークンリング LAN上で、ある端末 73Cの電 源が不調となったときには、電源監視回路 55によりハブの電源 51が安定した電力を 出力できな 、ことが検出され、 LAN管理回路バイパスリレー 53が切替えられて LAN 管理回路 52がバイパス状態となる。 [0004] For example, as a token ring LAN hub used in the token ring LAN shown in FIG. 6, as shown in FIG. 7, a power monitoring circuit 55 for monitoring the power source 51 of the hub and a monitoring result according to this monitoring result. The LAN management circuit bypass relay 53 for bypassing the hub internal transmission lines 56 to 59 from the LAN management circuit 52 to the stations 64a to 66d and the monitoring result to block requests from the stations 64a to 64d to the phantom circuit 61 A circuit provided with a circuit 60 is known. (For example, see JP-A-06-0104036 (page 3, FIG. 1, FIG. 3)). [0005] By applying this conventional technology, when the power supply of a certain terminal 73C malfunctions on the token ring LAN in FIG. 6, the power supply monitoring circuit 55 can output stable power to the hub power supply 51. It is detected that the LAN management circuit bypass relay 53 is switched and the LAN management circuit 52 is in a bypass state.
[0006] したがって、フレーム中継を正常に行えなくなった LAN管理回路 52からステーショ ンが分離されると同時に、遮断回路がステーション力 ファントム回路への要求を遮 断する。したがって、ステーション力も加入要求があってもハブはトークンリングネット ワーク力も離脱し、電源が不安定であることに起因するシステムダウンが回避されるの である。  [0006] Therefore, at the same time as the station is separated from the LAN management circuit 52 in which frame relay cannot be performed normally, the shut-off circuit cuts off the request to the station power phantom circuit. Therefore, even if there is a request for station power or a subscription, the hub will also lose its token ring network power, and the system down caused by unstable power supply can be avoided.
[0007] しかし、従来の技術では、複数の通信端末を LANに接続しょうとする場合、複数の 通信端末力 きたネットワークケーブルが 1つのハブに集中することになり、工場内、 オフィス内、ビル内で通信端末が点在するときには、ネットワーク構築の際に長いネッ トワークケーブルを必要とする場合があった。  [0007] However, in the conventional technology, when trying to connect a plurality of communication terminals to a LAN, network cables from a plurality of communication terminals are concentrated on a single hub, and are installed in a factory, office, building. However, when communication terminals are scattered, a long network cable may be required for network construction.
[0008] また、ケーブルを束ねる適度なスペースを確保しなければならな 、ほ力 ネットヮー クケーブルの取り回しや接続先の確認などで煩雑な作業が必要となった。 [0008] In addition, it is necessary to secure an appropriate space for bundling the cables, and complicated work is required for handling the power network cable and confirming the connection destination.
[0009] さらに、特許文献 1のトークンリング LAN用ハブでは、 LANを維持するためにハブ の電源を常時オンとした状態で使用していなければならず、図 6のハブ 73cの電源が 故障して通信経路が遮断されたような場合には、その末端側にある端末 74e, 74fが LAN力も遮断されて孤立してしまうと 、う問題が発生して 、た。  [0009] Furthermore, the token ring LAN hub of Patent Document 1 must be used with the hub power on in order to maintain the LAN, and the hub 73c power supply in Fig. 6 fails. When the communication path is interrupted, the terminal 74e, 74f on the end side becomes disconnected because the LAN power is also interrupted, which causes a problem.
[0010] そこで、本発明では、 LANを構築する装置の電源がオフとなった状態でも、その末 端側にある端末との LAN環境を保持し、また、ネットワークケーブルの取り回しや接 続先の確認などで煩雑な作業を必要とせず、短 、ネットワークケーブルでネットヮー クを構築できるネットワークアダプタ、通信端末、通信経路分配方法およびそのプロ グラムを提供することを目的とする。  [0010] Therefore, in the present invention, even when the power of the device for constructing the LAN is turned off, the LAN environment with the terminal on the terminal side is maintained, and the network cable is routed and the connection destination is connected. The purpose of the present invention is to provide a network adapter, a communication terminal, a communication route distribution method, and a program thereof that can construct a network with a short network cable without requiring complicated work such as confirmation.
発明の開示  Disclosure of the invention
[0011] 上記課題を解決するため、本発明は次のように構成したのである。  In order to solve the above problems, the present invention is configured as follows.
[0012] 本発明 1は、 2つの外部機器とネットワーク接続されると共に、通信端末に接続され 、前記 2つの外部機器と前記通信端末との間で通信を行う通信端末用のネットワーク アダプタにおいて、第 1外部機器とネットワーク接続するための第 1ポートと、第 2外部 機器とネットワーク接続するための第 2ポートと、前記通信端末と通信するための第 1 ネットワークコントローラと、前記通信端末と通信するための第 2ネットワークコントロー ラと、前記第 1ポート、前記第 2ポート、前記第 1ネットワークコントローラ、前記第 2ネッ トワークコントローラ間での信号の経路を切替えるリレーと、前記通信端末の状態に 基づいて前記リレーの動作を制御するリレー制御回路とを備え、前記リレーは、前記 第 1ネットワークコントローラを経由して前記第 1ポートと前記通信端末が通信を行うと 共に、前記第 2ネットワークコントローラを経由して前記第 2ポートと前記通信端末が 通信を行う第 1の通信状態と、前記第 1ポートと前記第 2ポート間で直接通信を行う第 2の通信状態とを切替え、前記リレー制御回路は、前記通信端末が正常に動作して いるとき、第 1の通信状態となるように前記リレーを制御し、それ以外のときには、第 2 の通信状態となるように前記リレーを制御することを特徴とするものである。 [0012] The present invention 1 is a network for a communication terminal that is connected to two external devices and connected to a communication terminal, and performs communication between the two external devices and the communication terminal. In the adapter, a first port for network connection with the first external device, a second port for network connection with the second external device, a first network controller for communicating with the communication terminal, and the communication terminal A second network controller for communicating with the relay, a relay for switching a signal path between the first port, the second port, the first network controller, and the second network controller, and a state of the communication terminal A relay control circuit for controlling the operation of the relay based on the first network controller, and the relay communicates between the first port and the communication terminal via the first network controller. A first communication state in which the second port communicates with the communication terminal via the first port, and the first port. And the relay control circuit switches the second communication state for direct communication between the communication port and the second port so that the relay control circuit is in the first communication state when the communication terminal is operating normally. The relay is controlled, and at other times, the relay is controlled to be in the second communication state.
[0013] また、本発明 2は、前記リレー制御回路は、前記通信端末の電源がオンであるとき は第 1の通信状態とし、それ以外のときは第 2の通信状態とするように前記リレーを制 御することを特徴とするものである。  [0013] Further, the present invention 2 provides the relay control circuit in which the relay control circuit is set to the first communication state when the power of the communication terminal is on, and to the second communication state otherwise. It is characterized by controlling.
[0014] また、本発明 3は、前記リレー制御回路は、前記通信端末のウォッチドックタイマー 信号として正常信号が入力されているときは第 1の通信状態とし、それ以外のときは 第 2の通信状態とするように前記リレーを制御することを特徴とするものである。  [0014] Further, in the third aspect of the present invention, the relay control circuit is in the first communication state when a normal signal is input as a watchdog timer signal of the communication terminal, and in other cases, the second communication The relay is controlled so as to be in a state.
[0015] また、本発明 4は、前記リレー制御回路は、前記通信端末の電源がオンであり、 つ、前記ウォッチドックタイマー信号として正常信号が入力されて 、るときは第 1の通 信状態とし、それ以外のときは第 2の通信状態とするように前記リレーを制御すること を特徴とするものである。  [0015] Further, in the fourth aspect of the present invention, when the relay control circuit is powered on and the normal signal is input as the watchdog timer signal, the first communication state In other cases, the relay is controlled so as to be in the second communication state.
[0016] また、本発明 5は、前記通信端末用のネットワークアダプタは、前記通信端末に着 脱自在に取り付け可能な構造とし、前記通信端末力 取り外されたときは、第 2の通 信状態とすることを特徴とするものである。  [0016] Further, the present invention 5 has a structure in which the network adapter for the communication terminal can be detachably attached to the communication terminal, and when the communication terminal power is removed, the second communication state is established. It is characterized by doing.
[0017] また、本発明 6は、本発明 1に記載の通信端末用のネットワークアダプタと接続され 、該通信端末用のネットワークアダプタを経由して 2つの外部機器と通信を行う通信 端末にお 、て、前記通信端末用のネットワークアダプタと該通信端末間の通信経路 の分配をおこなうデータ分配部を備え、該データ分配部は、前記第 1ネットワークコン トローラ力 通信信号を受信したときは、その通信信号の宛先であるアドレスを解析し 、該アドレスが自端末宛であるときは、前記通信信号を自端末内に取り込み、そうで ないときは、前記通信信号を第 2ネットワークコントローラに転送し、第 2ネットワークコ ントローラ力も通信信号を受信したときは、その通信信号の宛先であるアドレスを解析 して、該アドレスが自端末宛であるときは、前記通信信号を自端末内に [0017] Further, the present invention 6 is a communication terminal that is connected to the network adapter for the communication terminal according to the present invention 1 and communicates with two external devices via the network adapter for the communication terminal. A communication path between the network adapter for the communication terminal and the communication terminal When the first network controller force communication signal is received, the data distribution unit analyzes the address that is the destination of the communication signal, and the address is addressed to its own terminal. In some cases, the communication signal is taken into the own terminal. Otherwise, the communication signal is transferred to the second network controller. When the second network controller force also receives the communication signal, the communication signal is transmitted. When the address that is the destination is analyzed and the address is addressed to its own terminal, the communication signal is sent to its own terminal.
取り込み、そうでないときは、前記通信信号を第 1ネットワークコントローラに転送し、 自端末力も第 1の外部機器に通信信号を発信するときは、前記通信信号を第 1ネット ワークコントローラに発信し、自端末から第 2の外部機器に通信信号を発信するとき は、前記通信信号を第 2ネットワークコントローラに発信することを特徴とするものであ る。  If not, transfer the communication signal to the first network controller. If the own terminal also sends a communication signal to the first external device, send the communication signal to the first network controller. When the communication signal is transmitted from the terminal to the second external device, the communication signal is transmitted to the second network controller.
[0018] また、本発明 7は、前記データ分配部の通信状態を監視して、その通信状態が正 常のときにのみ正常信号を前記通信端末用のネットワークアダプタに発信するゥォッ チドックタイマーを更に備えることを特徴とするものである。  [0018] Further, the present invention 7 includes a watchdog timer that monitors a communication state of the data distribution unit and transmits a normal signal to the network adapter for the communication terminal only when the communication state is normal. Furthermore, it is characterized by providing.
[0019] また、本発明 8は、本発明 1に記載の通信端末用のネットワークアダプタと接続され 、該通信端末用のネットワークアダプタを経由して 2つの外部機器と通信を行う通信 端末の通信経路分配方法において、前記通信端末が前記第 1ネットワークコントロー ラ力 通信信号を受信したときは、その通信信号の宛先であるアドレスを解析し、該 アドレスが自端末宛であるときは、前記通信信号を自端末内に取り込むステップ S1と 、そうでないときは、前記通信信号を第 2ネットワークコントローラに転送するステップ S2と、第 2ネットワークコントローラ力も通信信号を受信したときは、その通信信号の 宛先であるアドレスを解析して、該アドレスが自端末宛であるときは、前記通信信号を 自端末内に取り込むステップ S3と、そうでないときは、前記通信信号を第 1ネットヮー クコントローラに転送するステップ S4と、 自端末力も第 1の外部機器に通信信号を発 信するときは、前記通信信号を第 1ネットワークコントローラに発信するステップ S5と 自端末力 第 2の外部機器に通信信号を発信するときは、前記通信信号を第 2ネット ワークコントローラに発信するステップ S6を備えることを特徴とするものである。  [0019] Also, the present invention 8 is connected to the communication terminal network adapter according to the present invention 1, and communicates with two external devices via the communication terminal network adapter. In the distribution method, when the communication terminal receives the first network controller power communication signal, the address that is the destination of the communication signal is analyzed, and when the address is addressed to the own terminal, the communication signal is Step S1 to be taken into the terminal, Step S2 to transfer the communication signal to the second network controller otherwise, and the address that is the destination of the communication signal when the second network controller also receives the communication signal If the address is addressed to its own terminal, step S3 for capturing the communication signal in its own terminal; Step S4 for transferring the communication signal to the first network controller, and Step S5 for transmitting the communication signal to the first network controller when the terminal power is also transmitted to the first external device. Terminal power When transmitting a communication signal to the second external device, the terminal power is characterized by comprising step S6 of transmitting the communication signal to the second network controller.
[0020] また、本発明 9は、前記ステップ S1から前記ステップ S6までのいずれかのステップ が正常に処理を終了したかどうかを判断するステップと、正常に終了した場合は、ゥ ォツチドックタイマーに前記正常信号を発信させるステップと、正常に終了しな力つた 場合は、前記データ分配部の状態をチェックし、正常であれば、前記ウォッチドックタ イマ一に前記正常信号を発信させ、正常でな 1、場合は前記ウォッチドックタイマーに 前記正常信号の発信をやめさせるステップを更に備えることを特徴とするものである [0020] Further, the present invention 9 includes any step from the step S1 to the step S6. A step of determining whether or not the processing is normally completed, a step of causing the watchdog timer to transmit the normal signal if the processing is normally completed, and a data distribution unit if the processing is not successful. Further comprising a step of causing the watchdog timer to transmit the normal signal if normal, and if normal, to causing the watchdog timer to stop transmitting the normal signal if normal. It is characterized by
[0021] また、本発明 10は、本発明 1に記載の通信端末用のネットワークアダプタと接続さ れ、該通信端末用のネットワークアダプタを経由して 2つの外部機器と通信を行う通 信端末用のプログラムであって、本発明 8の通信経路分配方法を実施することを特 徴とするちのである。 [0021] Further, the present invention 10 is for a communication terminal that is connected to the network adapter for the communication terminal described in the present invention 1 and communicates with two external devices via the network adapter for the communication terminal. Which is characterized in that it implements the communication path distribution method of the present invention 8.
[0022] また、本発明 11は、本発明 3に記載の通信端末用のネットワークアダプタと接続さ れ、該通信端末用のネットワークアダプタを経由して 2つの外部機器と通信を行う通 信端末用のプログラムであって、本発明 9の通信経路分配方法を実施することを特 徴とするちのである。  [0022] Further, the present invention 11 is for a communication terminal that is connected to the network adapter for the communication terminal according to the present invention 3 and communicates with two external devices via the network adapter for the communication terminal. Which is characterized by implementing the communication path distribution method of the ninth aspect of the present invention.
[0023] 以上のように、本発明 1によると、ネットワークアダプタ力 第 1ポート、第 2ポート、第 1ネットワークコントローラ、第 2ネットワークコントローラ間での信号の経路を切替える リレーと、通信端末の状態に基づいてリレーの動作を制御するリレー制御回路とを備 え、リレーは、第 1ネットワークコントローラを経由して第 1ポートと前記通信端末が通 信を行うと共に、第 2ネットワークコントローラを経由して第 2ポートと前記通信端末が 通信を行う第 1の通信状態と、第 1ポートと前記第 2ポート間で直接通信を行う第 2の 通信状態とを切替え、リレー制御回路は、通信端末が正常動作しているとき、第 1の 通信状態となるようにリレーを制御し、それ以外のときには、第 2の通信状態となるよう にリレーを制御するので、通信端末が正常でない場合でも第 2の通信状態により通 信が保持できる。  [0023] As described above, according to the first aspect of the present invention, the network adapter power is switched between the first port, the second port, the first network controller, and the second network controller. And a relay control circuit for controlling the operation of the relay based on the relay. The relay communicates between the first port and the communication terminal via the first network controller and the second network controller via the second network controller. The relay control circuit switches between the first communication state in which communication is performed between the two ports and the communication terminal and the second communication state in which direct communication is performed between the first port and the second port. The relay is controlled so as to be in the first communication state, and in other cases, the relay is controlled so as to be in the second communication state. Communication can be held by the second communication state even if it is not normal.
[0024] 本発明 2ないし本発明 4によると、リレー制御回路は、通信端末の電源がオンである 、または、ウォッチドックタイマー信号として正常信号が入力されているときは第 1の通 信状態とし、それ以外のときは第 2の通信状態とするように前記リレーを制御するので 、電源オフとウォッチドックタイマー信号のいずれか、または両方を使用して通信状態 の切替えを行うことができる。 [0024] According to the present invention 2 to the present invention 4, the relay control circuit is set in the first communication state when the power of the communication terminal is on or when a normal signal is input as a watchdog timer signal. , Otherwise the relay is controlled to be in the second communication state, so the communication state using either or both of power off and watchdog timer signal Can be switched.
[0025] 本発明 5によると、ネットワークアダプタは、通信端末に着脱自在に取り付け可能な 構造とし、通信端末力も取り外されたときには、第 2の通信状態とするので、通信端末 を取り外しても LAN環境が保持できる。  [0025] According to the fifth aspect of the present invention, the network adapter has a structure that can be detachably attached to the communication terminal. When the communication terminal power is also removed, the network adapter is in the second communication state. Can hold.
[0026] 本発明 6および本発明 8によると、通信端末が通信信号を受信したときは、その通 信信号の宛先であるアドレスが自端末宛であるときは、前記通信信号を自端末内に 取り込み、そうでないときは、通信信号を通過させるので、通信端末がハブの役割を 代行し、通信端末はハブにネットワークケーブルを直接接続することなしに複数台の 接続をすることが可能となる。  [0026] According to the present invention 6 and the present invention 8, when a communication terminal receives a communication signal, when the address that is the destination of the communication signal is addressed to the own terminal, the communication signal is placed in the own terminal. If not, the communication terminal passes the role of the hub because the communication signal is passed, and the communication terminal can connect multiple units without directly connecting the network cable to the hub.
[0027] 本発明 7および本発明 9によると、通信端末に、データ分配部の通信状態を監視し て、その通信状態が正常のときにのみ正常信号をネットワークアダプタに発信するゥ ォツチドックタイマーを更に備えるので、通信状態が異常のときでも、 LAN環境が保 持できる。  [0027] According to the present invention 7 and the present invention 9, the communication terminal monitors the communication state of the data distribution unit and transmits a watchdog timer that transmits a normal signal to the network adapter only when the communication state is normal. In addition, the LAN environment can be maintained even when the communication status is abnormal.
[0028] このように、 LANを構築する装置の電源がオフとなった状態でも、その末端側にあ る端末との LAN環境が保持される。また、複数のネットワークアダプタと通信端末を 数珠繋ぎの LAN構成が可能となり、ネットワークケーブルの取り回しや接続先の確認 などで煩雑な作業を必要とせず、短 、ネットワークケーブルでネットワークを構築でき る。  [0028] In this manner, even when the power of the device for constructing the LAN is turned off, the LAN environment with the terminal on the terminal side is maintained. In addition, a LAN configuration in which multiple network adapters and communication terminals are connected in a daisy chain is possible, and a network can be constructed with a short network cable without the need for complicated operations such as routing the network cable and checking the connection destination.
図面の簡単な説明  Brief Description of Drawings
[0029] [図 1]は、本発明の通信端末および通信端末用のネットワークアダプタの構成を示す 図である。  [0029] FIG. 1 is a diagram showing a configuration of a communication terminal and a network adapter for the communication terminal according to the present invention.
[図 2]は、第 1の通信状態と第 2の通信状態を説明する図である。  FIG. 2 is a diagram for explaining a first communication state and a second communication state.
[図 3]は、複数のネットワークアダプタと通信端末の接続例を示す図である。  FIG. 3 is a diagram showing an example of connection between a plurality of network adapters and a communication terminal.
[図 4]は、本発明の通信経路分配方法のフローチャートである。  FIG. 4 is a flowchart of the communication path distribution method of the present invention.
[図 5]は、ウォッチドックタイマー制御のフローチャートである。  FIG. 5 is a flowchart of watchdog timer control.
[図 6]は、従来のトークンリング LANの構成を示す図である。  [FIG. 6] is a diagram showing a configuration of a conventional token ring LAN.
[図 7]は、従来のトークンリング LAN用ハブの構成を示す図である。  [FIG. 7] is a diagram showing a configuration of a conventional token ring LAN hub.
符号の説明 [0030] 10、 10A〜: LODはネットワークアダプタ、 111は第 1ポート、 112は第 2ポート、 121 は第 1ネットワークコントローラ、 122は第 2ネットワークコントローラ、 121A, 121Bは パルストランス、 122A, 122Bは Ethernet (登録商標) PHY、 123A, 123Bは Ethe rnet (登録商標) MAC、 13ίまリレー、 131, 132, 133, 134ίま接^;、 14ίまリレー ff¾ 御回路、 20, 20A〜20Dは通信端末、 21はウォッチドックタイマー、 22は電源監視 回路、 23は CPU、 24は ROM、 25は RAM、 26は CPUバス、 27はデータ分配部、 2 8ίま電源、 31, 50, 73a〜73fiまノヽブ、 301, 302ίま外咅機器、 303ίま LANケープ ル、 51は電源、 52は LAN管理回路、 53は LAN管理回路バイパスリレー、 54はリレ 一駆動回路、 55は電源監視回路、 60は遮断回路、 61はファントム回路、 62a〜62d はハブ内部リレー、 63a〜63dはハブ内部リレー切替え回路、 64a〜64d, 74a〜74 1はステーション、 65a〜65dはステーション内部ファントム回路、 71はメインリング、 7 2a〜72cは集線装置である。 Explanation of symbols [0030] 10, 10A ~: LOD is the network adapter, 111 is the first port, 112 is the second port, 121 is the first network controller, 122 is the second network controller, 121A and 121B are pulse transformers, 122A and 122B are Ethernet (registered trademark) PHY, 123A, 123B are Ethernet (registered trademark) MAC, 13 ί relay, 131, 132, 133, 134 ί ^ ;, 14 ί relay ff¾ control circuit, 20, 20A-20D are communication terminals , 21 is a watchdog timer, 22 is a power monitoring circuit, 23 is a CPU, 24 is ROM, 25 is RAM, 26 is a CPU bus, 27 is a data distribution unit, 2 8 up to power, 31, 50, 73a to 73fi 301, 302ί external equipment, 303ί LAN cable, 51 power supply, 52 LAN management circuit, 53 LAN management circuit bypass relay, 54 relay drive circuit, 55 power monitoring circuit, 60 shut off Circuit, 61 is a phantom circuit, 62a to 62d are hub internal relays, 63a to 63d are hub internal relays Instead circuit, 64a~64d, 74a~74 1 the station, 65a-65d the station inside the phantom circuit, 71 is a main ring, 7 2A~72c is concentrator.
発明を実施するための最良の形態  BEST MODE FOR CARRYING OUT THE INVENTION
[0031] 以下、本発明の実施の形態について、図を参照して説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
実施例 1  Example 1
[0032] 図 1は、本発明の通信端末および通信端末用のネットワークアダプタの構成を示す 図である。図 1において、通信端末 20は、 LANケーブル 303によって接続されたネ ットワークアダプタ 10を介して第 1外部機器 301と第 2外部機器 302と情報通信を行  FIG. 1 is a diagram showing a configuration of a communication terminal and a network adapter for the communication terminal according to the present invention. In FIG. 1, the communication terminal 20 performs information communication with the first external device 301 and the second external device 302 via the network adapter 10 connected by the LAN cable 303.
[0033] ネットワークアダプタ 10は第 1外部機器 301とネットワーク接続するための第 1ポート 111と、第 2外部機器 302とネットワーク接続するための第 2ポート 112と、通信端末 2 0と通信するための第 1ネットワークコントローラ 121、第 2ネットワークコントローラ 122 と、第 1ポート 111、第 2ポート 112、第 1ネットワークコントローラ 121、第 2ネットワーク コントローラ 122の LAN信号をスイッチングするリレー 13と、通信端末 20の状態に基 づいてリレー 13を制御するリレー制御回路 14とを備える。 The network adapter 10 communicates with the first port 111 for network connection with the first external device 301, the second port 112 for network connection with the second external device 302, and the communication terminal 20. The first network controller 121, the second network controller 122, the first port 111, the second port 112, the first network controller 121, the relay 13 that switches the LAN signal of the second network controller 122, and the state of the communication terminal 20 And a relay control circuit 14 for controlling the relay 13 based on the above.
[0034] リレー 13は、 LANケーブル力 芯の場合を例にとると、それに対応するように、 4つ の接点 131〜 134で LAN信号の切替えを行う。すなわち、第 1ネットワークコントロー ラを経由して第 1ポートと通信端末 20が通信を行い、第 2ネットワークコントローラを経 由して第 2ポートと通信端末 20が通信を行う第 1の通信状態と、第 1ポート 111と第 2 ポート 112間で直接通信を行う第 2の通信状態とを切替える。 [0034] Taking the case of the LAN cable power core as an example, the relay 13 switches the LAN signal at the four contacts 131 to 134 so as to correspond to it. That is, the first port communicates with the communication terminal 20 via the first network controller and passes through the second network controller. Therefore, the first communication state in which the second port communicates with the communication terminal 20 and the second communication state in which direct communication is performed between the first port 111 and the second port 112 are switched.
[0035] 第 1ネットワークコントローラ 121、第 2ネットワークコントローラ 122は、 LAN信号と、 バス信号のような通信端末用の信号との変換を行うもので、例えばパルストランス 12 1A、 122A、イーサネット(登録商標) PHY (Physical Layer,物理層) 121B、 122 B、イーサネット(登録商標) MAC (Media Access Control、メディアアクセス制御 ) 121Cゝ 122Cで構成される。  [0035] The first network controller 121 and the second network controller 122 convert a LAN signal and a signal for a communication terminal such as a bus signal. For example, the pulse transformer 121A, 122A, Ethernet (registered trademark) ) PHY (Physical Layer) 121B, 122B, Ethernet (registered trademark) MAC (Media Access Control) 121C 122C.
[0036] 通信端末 20は、電源 28と、電源監視回路 22と、ウォッチドックタイマー 21と、通信 経路のデータを分配するデータ分配部 27で構成される。データ分配部 27は、例え ばパーソナルコンピュータの一般的構成である CPU23、 ROM24、 RAM25、 CPU バス 26で構成される。なお、 CPU23の代わりにマイコン等の演算処理装置を使用し ても良い。  The communication terminal 20 includes a power supply 28, a power supply monitoring circuit 22, a watchdog timer 21, and a data distribution unit 27 that distributes communication path data. The data distribution unit 27 includes a CPU 23, a ROM 24, a RAM 25, and a CPU bus 26, which are general configurations of a personal computer, for example. An arithmetic processing unit such as a microcomputer may be used instead of the CPU 23.
[0037] 図 2は第 1の通信状態と第 2の通信状態を説明する図である。  FIG. 2 is a diagram for explaining the first communication state and the second communication state.
[0038] 第 1の通信状態では、図 2 (a)のように、接点 131を経由して第 2ポート 112と第 2ネ ットワークコントローラ 122との間が結ばれているとともに、第 1ポート 111と第 1ネットヮ ークコントローラ 121が結ばれている。  [0038] In the first communication state, as shown in FIG. 2 (a), the second port 112 and the second network controller 122 are connected via the contact 131, and the first port 111 and the first network controller 121 are connected.
[0039] 一方、第 2の通信状態では、図 2 (b)のように、接点 131を経由して第 1ポート 111と 第 2ポート 112との間が結ばれている。なお、図では接点 131についてのみ示してあ る力 接点 132から 134についても同様である。  On the other hand, in the second communication state, the first port 111 and the second port 112 are connected via the contact 131 as shown in FIG. The same applies to the force contacts 132 to 134, which are shown only for the contact 131 in the figure.
[0040] リレー 13の制御はリレー制御回路 14によって行われる。リレー制御回路 14は、通 信端末 20が正常に動作しているときにのみ、第 1の通信状態とするようにリレー 13を 制御し、それ以外のときには、第 2の通信状態とするようにリレー 13を制御する。  The relay 13 is controlled by the relay control circuit 14. The relay control circuit 14 controls the relay 13 so as to be in the first communication state only when the communication terminal 20 is operating normally, and so as to be in the second communication state at other times. Control relay 13.
[0041] 例えば、通信端末 20の電源異常を監視する電源監視回路 22と通信端末 20の異 常動作を検知するウォッチドックタイマー 21の信号でリレー制御回路 14を経由してリ レー 13を制御するようにし、通信端末 20の電源がオンであり、かつ、ウォッチドックタ イマ一 21の信号が正常信号として入力されているときは第 1の通信状態とし、それ以 外のときは第 2の通信状態とするように構成すればよい。こうすると、ウォッチドックタイ マー 21により通信の状態を周期的に監視すると共に、電源監視回路 22により電源 オフを瞬時に感知するので、通信端末が正常に動作していないときや電源遮断が発 生するとただちに第 2の通信状態に切替えられる。このため、安定した LAN環境が 保持される。 [0041] For example, the relay 13 is controlled via the relay control circuit 14 with the signal of the power monitoring circuit 22 that monitors the power supply abnormality of the communication terminal 20 and the watchdog timer 21 that detects the abnormal operation of the communication terminal 20. When the communication terminal 20 is turned on and the watchdog timer 21 signal is input as a normal signal, the first communication state is set. Otherwise, the second communication is set. What is necessary is just to comprise so that it may be set as a state. As a result, the watchdog timer 21 periodically monitors the communication status and the power supply monitoring circuit 22 supplies power. Since it senses off instantly, it switches to the second communication state as soon as the communication terminal is not operating normally or power is cut off. For this reason, a stable LAN environment is maintained.
[0042] このほか、図示は省略する力 ウォッチドックタイマー 21を設けずに、通信端末 20 の電源のみに基づいてリレー 13を制御するようにしても良い。この場合、ウォッチドッ クタイマ一の構造がない通信端末でも、電源監視回路 22の機能をリレー制御回路 1 4に持たせれば、通信端末 20のハードウェア構成を変更させることなしに、ソフトゥェ ァの変更だけで、本発明の目的を達成することができる。  In addition to this, the power not shown in the figure may be omitted, and the relay 13 may be controlled based only on the power supply of the communication terminal 20 without providing the watchdog timer 21. In this case, even if the communication terminal does not have a watchdog timer structure, if the relay control circuit 14 has the function of the power monitoring circuit 22, the software can be changed without changing the hardware configuration of the communication terminal 20. Only the object of the present invention can be achieved.
[0043] また、図示は省略するが、電源監視回路 22を設けずに、ウォッチドックタイマー 21 の信号のみに基づいてリレー 13を制御するようにしても良い。この場合、ネットワーク アダプタ 10や通信端末 20の構造をシンプルにできる。  Although not shown, the relay 13 may be controlled based on only the signal of the watchdog timer 21 without providing the power supply monitoring circuit 22. In this case, the structure of the network adapter 10 and the communication terminal 20 can be simplified.
[0044] 以上に述べた構成により、通信端末 20が正常に動作しているときにのみ、第 1外部 機器 301と通信端末 20の情報通信、および、第 2外部機器 302と通信端末 20の情 報通信が行われ、通信端末 20が正常に動作していないときや電源がオフのときには 、第 1外部機器 301と第 2の部機器 302との情報通信が直接的に行われ、 LAN環境 が保持される。  [0044] With the configuration described above, only when the communication terminal 20 is operating normally, information communication between the first external device 301 and the communication terminal 20, and information between the second external device 302 and the communication terminal 20 are performed. When the communication terminal 20 is not operating normally or is turned off, information communication between the first external device 301 and the second component device 302 is performed directly, and the LAN environment is Retained.
[0045] また、ネットワークアダプタ 10と通信端末 20は数珠つなぎで LAN接続することもで きる。  [0045] Further, the network adapter 10 and the communication terminal 20 can be connected to each other via a LAN.
[0046] 図 3は、複数のネットワークアダプタと通信端末の接続例を示す図である。ここで、 1 OA〜10Dはネットワークアダプタ、 20Aから 20Dは通信端末で、ネットワークァダプ タ 10A〜10D間は LANケーブル 303で接続されている。また、ネットワークアダプタ 10Aの一端はハブ 31と接続されている。このように接続することにより、ネットワークケ 一ブル 303の取り回しや接続先の確認などで煩雑な作業を必要とせず、短 ヽネットヮ ークケーブル 303でネットワークを構築できる。  FIG. 3 is a diagram illustrating a connection example of a plurality of network adapters and communication terminals. Here, 1 OA to 10D are network adapters, 20A to 20D are communication terminals, and the network adapters 10A to 10D are connected by a LAN cable 303. One end of the network adapter 10A is connected to the hub 31. By connecting in this way, it is possible to construct a network with the short network cable 303 without requiring complicated work such as handling the network cable 303 and confirming the connection destination.
[0047] 通信端末 20Aが正常に動作していないときには、ネットワークアダプタ 10Aが第 2 の通信状態となり、ハブ 31と通信端末 20Bが実質的に LANで直結された状態となる 。つまり、通信端末を接続してネットワークを構築する場合、ネットワークアダプタと、 通信端末がハブの役割を代行し、通信端末はハブにネットワークケーブルを直接接 続することなしに複数台の接続をすることが可能となる。 When the communication terminal 20A is not operating normally, the network adapter 10A is in the second communication state, and the hub 31 and the communication terminal 20B are substantially directly connected via the LAN. In other words, when building a network by connecting communication terminals, the network adapter and communication terminal act as the hub, and the communication terminal connects the network cable directly to the hub. It is possible to connect a plurality of units without continuing.
[0048] また、ネットワークアダプタ 10は、例えばカード式のアダプタのように、通信端末 20 に着脱自在な構造とすることが好ま 、。通信端末 20からネットワークアダプタ 10を 取り外したときには、通信端末 20が正常に動作していないので、第 2の通信状態を 維持できる。  [0048] The network adapter 10 is preferably configured to be detachable from the communication terminal 20, such as a card-type adapter. When the network adapter 10 is removed from the communication terminal 20, the second communication state can be maintained because the communication terminal 20 is not operating normally.
[0049] 例えば、図 3においてネットワークアダプタ 10Cを通信端末 20C力も取り外したとし ても、ネットワークアダプタ 10Cに LANケーブル 303を接続したままにしておけば、 L AN環境を保持させることができ、通信端末 20Cだけを LAN力も一時的に取り外して 持ち歩くことなどが可能となる。  [0049] For example, in FIG. 3, even if the network adapter 10C is disconnected from the communication terminal 20C, if the LAN cable 303 is left connected to the network adapter 10C, the LAN environment can be maintained. It is possible to carry around only 20C with LAN power removed temporarily.
[0050] なお、ネットワークアダプタ 10は、 USBインターフェースを持たせることで、通信端 末 20と USB (ユニバーサルシリアルバス)で接続する形としてもよ!/、。  [0050] The network adapter 10 may have a USB interface so that it can be connected to the communication terminal 20 via a USB (Universal Serial Bus)! /.
[0051] なお、リレー制御回路 14、第 1ネットワークコントローラ 121および第 2ネットワークコ ントローラ 122は、通信端末 20から電源 28を供給するとより好適である。  [0051] It is more preferable that the relay control circuit 14, the first network controller 121, and the second network controller 122 are supplied with power 28 from the communication terminal 20.
[0052] 次に、通信端末 20で通信信号の経路を分配する通信経路分配処理にっ 、て説明 する。  Next, communication path distribution processing for distributing communication signal paths at the communication terminal 20 will be described.
[0053] データ分配部 27は、第 1ネットワークコントローラ 121から通信信号を受信したとき は、その通信先となるアドレスを解析して、そのアドレスが自端末宛のものであるとき は、通信信号を自端末に取り込み、そうでないときは、通信信号を第 2ネットワークコ ントローラ 122に転送する。  [0053] When the data distribution unit 27 receives a communication signal from the first network controller 121, the data distribution unit 27 analyzes the address that is the communication destination, and when the address is addressed to its own terminal, the data distribution unit 27 If it is not received, the communication signal is transferred to the second network controller 122.
[0054] 第 2ネットワークコントローラ 122から通信信号を受信したときは、その通信先となる アドレスを解析して、アドレスが自端末宛のものであるときは、通信信号を通信端末 2 0に取り込み、そうでないときは、通信信号を第 1ネットワークコントローラ 121に転送 する。  [0054] When a communication signal is received from the second network controller 122, the address as the communication destination is analyzed. When the address is addressed to the own terminal, the communication signal is taken into the communication terminal 20; Otherwise, the communication signal is transferred to the first network controller 121.
[0055] 通信端末 20から第 1外部機器 301に通信信号を発信するときは、通信信号を第 1 ネットワークコントローラ 121に発信する。  When a communication signal is transmitted from the communication terminal 20 to the first external device 301, the communication signal is transmitted to the first network controller 121.
[0056] 通信端末 20から第 2外部機器 122に通信信号を発信するときは、通信信号を第 2 のネットワークコントローラ 122に発信する。 When a communication signal is transmitted from the communication terminal 20 to the second external device 122, the communication signal is transmitted to the second network controller 122.
[0057] このように、通信経路分配処理は、第 1ネットワークコントローラ 121、第 2ネットヮー クコントローラ 122、および、通信端末 20の間の通信経路を切替える機能を有し、そ の機能は、たとえばソフトウェア処理で実現される。 [0057] As described above, the communication path distribution process is performed by the first network controller 121, the second network controller. The controller 122 and the communication terminal 20 have a function of switching communication paths, and this function is realized by software processing, for example.
[0058] すなわち、第 1ポート 111や第 2ポート 112から入力されたデータは、第 1または第 2 ネットワークコントローラ 121、 122で信号変換されて通信端末 20の CPUバス 26を経 由して、 ROM24もしくは RAM25に格納されたデータ分配部 27のプログラムによつ て処理される。 That is, data input from the first port 111 and the second port 112 is converted into a signal by the first or second network controller 121, 122, and via the CPU bus 26 of the communication terminal 20, the ROM 24 Or it is processed by the program of the data distribution part 27 stored in RAM25.
[0059] 通信端末 20から第 1または第 2外部機器 301、 302へ情報を発信するときも、同様 にプログラムによって処理される。  [0059] When the information is transmitted from the communication terminal 20 to the first or second external device 301, 302, it is similarly processed by the program.
[0060] 図 4に、本発明の通信経路分配方法のフローチャートを示す。この方法は、通信端 末 20のデータ分配部 27のプログラムで実施される。  FIG. 4 shows a flowchart of the communication path distribution method of the present invention. This method is implemented by the program of the data distribution unit 27 of the communication terminal 20.
[0061] ステップ S101で第 1ポート 111から LAN信号が入力されると、ステップ S102で第 1 ネットワークコントローラ 121が LAN信号力 バス信号などの通信端末用の通信信号 へ信号変換をおこなう。ステップ S 103で通信端末 20は、第 1ネットワークコントローラ 121から通信信号を受信する。ステップ S 104でデータ分配部 27で通信信号の宛先 であるアドレスを解析する。そのアドレスが自端末宛のものであるときは、ステップ S1 05で、その通信信号を自端末内に取り込む。一方、そのアドレスが自端末宛のもの でないときは、ステップ S201に進み、その通信信号を第 2ネットワークコントローラ 12 2に転送する。ステップ S202で第 2ネットワークコントローラ 122が通信端末 20用の 通信信号から LAN信号へ信号変換を行う。ステップ S203で第 2ポート 112から LA N信号を出力する。  [0061] When a LAN signal is input from the first port 111 in step S101, the first network controller 121 performs signal conversion into a communication signal for a communication terminal such as a LAN signal power bus signal in step S102. In step S 103, the communication terminal 20 receives a communication signal from the first network controller 121. In step S104, the data distribution unit 27 analyzes the address that is the destination of the communication signal. If the address is addressed to the own terminal, the communication signal is taken into the own terminal in step S105. On the other hand, when the address is not addressed to the own terminal, the process proceeds to step S201, and the communication signal is transferred to the second network controller 122. In step S202, the second network controller 122 performs signal conversion from the communication signal for the communication terminal 20 to the LAN signal. In step S203, the LAN signal is output from the second port 112.
[0062] ここで、通信端末 20が第 1ネットワークコントローラ 121を経由して通信信号を受信 し、その通信信号が自端末宛のものであれば信号を取り込むステップを S1とし、自端 末宛でない場合に第 2ネットワークコントローラ 122に転送するステップを S2とする。 すなわち、 S103, S104および S105によってステップ S1を構成し、 S103, S 104*5 よび S 201によってステップ S 2を構成するものとする。  [0062] Here, if the communication terminal 20 receives a communication signal via the first network controller 121 and the communication signal is destined for the own terminal, the step of capturing the signal is set to S1, and is not destined for the own terminal. In this case, the step of transferring to the second network controller 122 is S2. That is, S103, S104 and S105 constitute step S1, and S103, S104 * 5 and S201 constitute step S2.
[0063] ステップ S301で第 2ポート 112から LAN信号が入力されると、ステップ S302で第 2 ネットワークコントローラ 122が LAN信号力 バス信号などの通信端末用の通信信号 へ信号変換をおこなう。ステップ S303で通信端末 20は、第 2ネットワークコントローラ 122から通信信号を受信する。ステップ S304でデータ分配部 27で通信信号の宛先 であるアドレスを解析する。そのアドレスが自端末宛のものであるときは、ステップ S3 05で、その通信信号を通信端末 20に取り込む。一方、そのアドレスが自端末宛のも のでないときは、ステップ S401に進み、その通信信号を第 1ネットワークコントローラ 121に転送する。ステップ S402で第 1ネットワークコントローラ 121が通信端末 20用 の通信信号から LAN信号へ信号変換を行う。ステップ S403で第 1ポート 111から L AN信号を出力する。 [0063] When a LAN signal is input from the second port 112 in step S301, the second network controller 122 performs signal conversion into a communication signal for a communication terminal such as a LAN signal bus signal in step S302. In step S303, the communication terminal 20 becomes the second network controller. A communication signal is received from 122. In step S304, the data distribution unit 27 analyzes the address that is the destination of the communication signal. If the address is addressed to the own terminal, the communication signal is taken into the communication terminal 20 in step S305. On the other hand, when the address is not addressed to the own terminal, the process proceeds to step S401, and the communication signal is transferred to the first network controller 121. In step S402, the first network controller 121 performs signal conversion from a communication signal for the communication terminal 20 to a LAN signal. In step S403, the RAN signal is output from the first port 111.
[0064] ここで、通信端末 20が第 2ネットワークコントローラ 122を経由して通信信号を受信 し、その信号が自端末宛のものであれば通信信号を取り込むステップを S3とし、自端 末宛でない場合に第 1ネットワークコントローラ 121に転送するステップを S4とする。 すなわち、 S303, S304および S305によってステップ S3を構成し、 S303, S304お よび S401によってステップ S4を構成するものとする。  [0064] Here, if the communication terminal 20 receives a communication signal via the second network controller 122 and the signal is destined for the own terminal, the step of capturing the communication signal is set as S3, and is not destined for the own terminal. In this case, the step of transferring to the first network controller 121 is S4. That is, S303, S304, and S305 constitute step S3, and S303, S304, and S401 constitute step S4.
[0065] 自端末力も第 1外部機器 301に向けて LAN信号を発信しょうとするときには、ステ ップ S501で通信端末 20が通信信号を生成する。ステップ S502でデータ分配部 27 で通信信号にアドレスを付加してこれを第 1ネットワークコントローラ 121に転送する。 ステップ S503で第 1ネットワークコントローラ 121が通信端末 20用の通信信号力も L AN信号へ信号変換を行う。ステップ S504で第 1ポート 111から LAN信号を出力す る。  [0065] When the own terminal power is also going to send a LAN signal to the first external device 301, the communication terminal 20 generates a communication signal in step S501. In step S502, the data distribution unit 27 adds an address to the communication signal and transfers it to the first network controller 121. In step S503, the first network controller 121 converts the communication signal power for the communication terminal 20 into a RAN signal. In step S504, a LAN signal is output from the first port 111.
[0066] 自端末力も第 2外部機器 302に向けて LAN信号を発信しょうとするときには、ステ ップ S601で通信端末 20が通信信号を生成する。ステップ S602でデータ分配部 27 で通信信号にアドレスを付加してこれを第 2ネットワークコントローラ 122に転送する。 ステップ S603で第 2ネットワークコントローラ 122が通信端末 20用の通信信号力も L AN信号へ信号変換を行う。ステップ S604で第 2ポート 112から LAN信号を出力す る。  [0066] When the own terminal power is also going to send a LAN signal to the second external device 302, the communication terminal 20 generates a communication signal in step S601. In step S602, the data distribution unit 27 adds an address to the communication signal and transfers it to the second network controller 122. In step S603, the second network controller 122 converts the communication signal power for the communication terminal 20 into a RAN signal. In step S604, a LAN signal is output from the second port 112.
[0067] ここで、通信端末 20が通信信号を生成し、通信信号にアドレスを付加してこれを第 1ネットワークコントローラ 121に転送するステップ S501、 S502をステップ S5とし、第 2ネットワークコントローラ 122に転送するステップ S601、 S602をステップ S6とする。  Here, communication terminal 20 generates a communication signal, adds an address to the communication signal, and transfers this to first network controller 121. Steps S501 and S502 are set as step S5, and are transferred to second network controller 122. Steps S601 and S602 are set as Step S6.
[0068] 以上のステップ S1から S6の手順による通信経路分配方法によって、通信端末 20 における信号の分配が実現される。 [0068] By the communication path distribution method according to the above steps S1 to S6, the communication terminal 20 Signal distribution in is realized.
[0069] なお、通信端末 20は第 1外部機器 301、第 2外部機器 302のどちらに LAN信号を 発信すればよいかどうかわ力もないときには、その LAN信号について、ステップ S5と ステップ S6の両方を実行すればよ!、。  [0069] Note that when the communication terminal 20 is not sure whether to send a LAN signal to the first external device 301 or the second external device 302, both steps S5 and S6 are performed on the LAN signal. Do it!
[0070] 次に、ウォッチドックタイマー 21の機能について説明する。通信端末 20が正常に動 作しない場合には、第 1外部機器 301と第 2外部機器 302との間の通信が行えず、 通信経路の遮断により LAN環境が保持されなくなる。これを回避する為に、ウォッチ ドックタイマー 21は、 CPU23から所定の正常信号が送られてくることを確認するなど して、通信端末 20の動作を定期的に監視する。  Next, the function of the watchdog timer 21 will be described. If the communication terminal 20 does not operate normally, communication between the first external device 301 and the second external device 302 cannot be performed, and the LAN environment is not maintained by blocking the communication path. In order to avoid this, the watchdog timer 21 periodically monitors the operation of the communication terminal 20 by confirming that a predetermined normal signal is sent from the CPU 23.
[0071] ネットワークアダプタ 10が電源監視回路 22とウォッチドックタイマー 21の両方を監 視する場合、ネットワークアダプタ 10の電源が投入され、通信端末 20の電源監視回 路 22が正常出力するまでの間は、第 2の通信状態であるが、電源投入後に電源監 視回路 22が正常信号を出力するとともに、 ROM24もしくは RAM25に格納されたプ ログラムが起動して、通信端末 20が通信可能な状態になると、ウォッチドックタイマー 21が正常信号を出力し、リレー制御回路 14が第 1の通信状態に遷移させるベぐリレ 一 13を制御する。  [0071] When the network adapter 10 monitors both the power monitoring circuit 22 and the watchdog timer 21, the network adapter 10 is turned on until the power monitoring circuit 22 of the communication terminal 20 outputs normally. In the second communication state, when the power monitoring circuit 22 outputs a normal signal after the power is turned on, and the program stored in the ROM 24 or RAM 25 is activated and the communication terminal 20 becomes communicable. The watchdog timer 21 outputs a normal signal, and the relay control circuit 14 controls the relay 13 that makes the transition to the first communication state.
[0072] その後、電源監視回路 22は、電源電圧が正常なときにのみ、リレー制御回路 14へ 正常信号を出力する。電源電圧の異常等を検知したときには、リレー制御回路 14に 異常信号を出力し、リレー制御回路 14はリレー 13を第 2の通信状態に切替える。  Thereafter, the power monitoring circuit 22 outputs a normal signal to the relay control circuit 14 only when the power supply voltage is normal. When an abnormality in the power supply voltage is detected, an abnormality signal is output to the relay control circuit 14, and the relay control circuit 14 switches the relay 13 to the second communication state.
[0073] また、ウォッチドックタイマー 21は、一定の毎時間内に CPU23から正常なアクセス が来ていればリレー制御回路 14へ正常信号を出力する。一定の毎時間内に CPU2 3から正常なアクセスが来ていなければ、リレー制御回路 14へ異常信号を出力し、リ レー制御部 14はリレー 13を第 2の通信状態に切替える。  [0073] In addition, the watchdog timer 21 outputs a normal signal to the relay control circuit 14 if a normal access is received from the CPU 23 within a certain hour. If normal access is not received from the CPU 23 within a certain hour, an abnormal signal is output to the relay control circuit 14, and the relay control unit 14 switches the relay 13 to the second communication state.
[0074] ここで、ウォッチドックタイマー 21の制御は通信経路分配方法の一部としてデータ 分配部 27に格納されたプログラムによって処理される。  Here, the control of the watchdog timer 21 is processed by a program stored in the data distribution unit 27 as part of the communication path distribution method.
[0075] 図 5はウォッチドックタイマー制御のフローチャートである。  FIG. 5 is a flowchart of watchdog timer control.
[0076] ステップ S 11で図 4のステップ S1からステップ S6までのいずれかのステップが正常 に処理を終了した力どうかを判別し、正常に終了した場合はステップ S13に進み、ゥ ォツチドックタイマー 21に正常信号を発信させる。正常に終了しな力つた場合は、ス テツプ S12に進み、データ分配部 27の状態をチェックする。データ分配部 27が正常 であれば、ステップ S13に進む。もし正常でない場合、ステップ S14に進み、ウォッチ ドックタイマー 21に正常信号の発信をやめさせる。 [0076] In step S11, it is determined whether or not any of the steps from step S1 to step S6 in Fig. 4 has successfully completed the process, and if successful, the process proceeds to step S13. Send a normal signal to the hot dog timer 21. If not successful, proceed to step S12 and check the status of the data distributor 27. If the data distribution unit 27 is normal, the process proceeds to step S13. If it is not normal, go to step S14 and stop the watchdog timer 21 from sending a normal signal.
[0077] なお、このようにプログラムによりウォッチドックタイマーの制御を行わず、 CPUから 一定期間内にウォッチドックタイマーへのアクセスを行い、アクセスが停止した場合、 ウォッチドックタイマーが異常信号を発信するという制御を行うことも可能である。  [0077] In addition, the watchdog timer is not controlled by the program in this way, and the watchdog timer transmits an abnormal signal when the access to the watchdog timer is performed within a certain period from the CPU and the access is stopped. It is also possible to perform control.
[0078] このように、本発明によれば、 LANを構築する装置の電源がオフとなった状態でも 、その末端側にある端末との LAN環境が保持される。また、複数のネットワークァダ プタと通信端末を数珠繋ぎの LAN構成が可能となり、ネットワークケーブルの取り回 しゃ接続先の確認などで煩雑な作業を必要とせず、短 ヽネットワークケーブルでネッ トワークを構築できるのである。  Thus, according to the present invention, the LAN environment with the terminal on the terminal side is maintained even when the power of the device for constructing the LAN is turned off. In addition, a LAN configuration that connects multiple network adapters and communication terminals in a daisy chain is possible, making it possible to construct a network with short network cables without the need for complicated work such as checking the network cable connection destination. It is.
産業上の利用可能性  Industrial applicability
[0079] 本発明が利用される通信端末としては、工場内で LAN接続された FA装置や、職 場や学校内で LAN接続されるパーソナルコンピュータでの使用が考えられ、本発明 のネットワークアダプタを使用することで、実施例で述べた作用や効果を発揮する。 [0079] As a communication terminal in which the present invention is used, it can be used in a factory-connected FA device or a personal computer connected in a LAN in a workplace or school, and the network adapter of the present invention is used. By using it, the effects and effects described in the embodiments are exhibited.

Claims

請求の範囲 The scope of the claims
[1] 2つの外部機器とネットワーク接続されると共に、通信端末に接続され、前記 2つの 外部機器と前記通信端末との間で通信を行う通信端末用のネットワークアダプタに おいて、  [1] In a network adapter for a communication terminal that is connected to two external devices and connected to a communication terminal and communicates between the two external devices and the communication terminal.
第 1外部機器とネットワーク接続するための第 1ポートと、  A first port for network connection with a first external device;
第 2外部機器とネットワーク接続するための第 2ポートと、  A second port for network connection with a second external device;
前記通信端末と通信するための第 1ネットワークコントローラと、  A first network controller for communicating with the communication terminal;
前記通信端末と通信するための第 2ネットワークコントローラと、  A second network controller for communicating with the communication terminal;
前記第 1ポート、前記第 2ポート、前記第 1ネットワークコントローラ、前記第 2ネットヮ ークコントローラ間での信号の経路を切替えるリレーと、  A relay for switching a signal path between the first port, the second port, the first network controller, and the second network controller;
前記通信端末の状態に基づいて前記リレーの動作を制御するリレー制御回路とを 備え、  A relay control circuit for controlling the operation of the relay based on the state of the communication terminal,
前記リレーは、前記第 1ネットワークコントローラを経由して前記第 1ポートと前記通 信端末が通信を行うと共に、前記第 2ネットワークコントローラを経由して前記第 2ポ ートと前記通信端末が通信を行う第 1の通信状態と、  The relay communicates between the first port and the communication terminal via the first network controller, and communicates between the second port and the communication terminal via the second network controller. A first communication state to perform;
前記第 1ポートと前記第 2ポート間で直接通信を行う第 2の通信状態とを切替え、 前記リレー制御回路は、前記通信端末が正常に動作しているとき、第 1の通信状態 となるように前記リレーを制御し、それ以外のときには、第 2の通信状態となるように前 記リレーを制御することを特徴とする通信端末用のネットワークアダプタ。  Switching between a first communication state and a second communication state in which direct communication is performed between the first port and the second port, so that the relay control circuit enters the first communication state when the communication terminal is operating normally. A network adapter for a communication terminal, wherein the relay is controlled so that the relay is in a second communication state at other times.
[2] 前記リレー制御回路は、前記通信端末の電源がオンであるときは第 1の通信状態と し、それ以外のときは第 2の通信状態とするように前記リレーを制御することを特徴と する請求項 1記載の通信端末用のネットワークアダプタ。 [2] The relay control circuit controls the relay so as to be in a first communication state when the power of the communication terminal is on and in a second communication state otherwise. The network adapter for a communication terminal according to claim 1.
[3] 前記リレー制御回路は、前記通信端末のウォッチドックタイマー信号として正常信 号が入力されているときは第 1の通信状態とし、それ以外のときは第 2の通信状態と するように前記リレーを制御することを特徴とする請求項 1記載の通信端末用のネット ワークアダプタ。 [3] The relay control circuit sets the first communication state when a normal signal is input as a watchdog timer signal of the communication terminal, and sets the second communication state otherwise. The network adapter for a communication terminal according to claim 1, wherein the relay is controlled.
[4] 前記リレー制御回路は、前記通信端末の電源がオンであり、かつ、前記ウォッチドッ クタイマ一信号として正常信号が入力されているときは第 1の通信状態とし、それ以 外のときは第 2の通信状態とするように前記リレーを制御することを特徴とする請求項 1記載の通信端末用のネットワークアダプタ。 [4] The relay control circuit enters the first communication state when the communication terminal is powered on and a normal signal is input as the watchdog timer signal. 2. The network adapter for a communication terminal according to claim 1, wherein the relay is controlled to be in a second communication state when outside.
[5] 前記通信端末用のネットワークアダプタは、前記通信端末に着脱自在に取り付け 可能な構造とし、前記通信端末力 取り外されたときは、第 2の通信状態とすることを 特徴とする請求項 1に記載の通信端末用のネットワークアダプタ。  5. The network adapter for the communication terminal has a structure that can be detachably attached to the communication terminal, and when the communication terminal force is removed, the network adapter is in a second communication state. A network adapter for communication terminals as described in 1.
[6] 請求項 1に記載の通信端末用のネットワークアダプタと接続され、該通信端末用の ネットワークアダプタを経由して 2つの外部機器と通信を行う通信端末において、 前記通信端末用のネットワークアダプタと該通信端末間の通信経路の分配をおこ なうデータ分配部を備え、  [6] In a communication terminal that is connected to the network adapter for the communication terminal according to claim 1 and communicates with two external devices via the network adapter for the communication terminal, the network adapter for the communication terminal and A data distribution unit for distributing communication paths between the communication terminals;
該データ分配部は、前記第 1ネットワークコントローラ力 通信信号を受信したとき は、その通信信号の宛先であるアドレスを解析し、該アドレスが自端末宛であるときは 、前記通信信号を自端末内に取り込み、そうでないときは、前記通信信号を第 2ネット ワークコントローラに転送し、第 2ネットワークコントローラ力も通信信号を受信したとき は、その通信信号の宛先であるアドレスを解析して、該アドレスが自端末宛であるとき は、前記通信信号を自端末内に取り込み、そうでないときは、前記通信信号を第 1ネ ットワークコントローラに転送し、 自端末から第 1の外部機器に通信信号を発信すると きは、前記通信信号を第 1ネットワークコントローラに発信し、自端末力も第 2の外部 機器に通信信号  When receiving the first network controller power communication signal, the data distribution unit analyzes an address that is a destination of the communication signal. When the address is addressed to the own terminal, the data distribution unit sends the communication signal to the own terminal. Otherwise, transfer the communication signal to the second network controller, and when the second network controller also receives the communication signal, analyze the address that is the destination of the communication signal and find the address If it is addressed to the local terminal, the communication signal is taken into the local terminal. Otherwise, the communication signal is transferred to the first network controller, and the communication signal is transmitted from the local terminal to the first external device. In this case, the communication signal is transmitted to the first network controller, and the terminal power is also transmitted to the second external device.
を発信するときは、前記通信信号を第 2ネットワークコントローラに発信することを特徴 とする通信端末。  When transmitting a communication terminal, the communication signal is transmitted to the second network controller.
[7] 前記データ分配部の通信状態を監視して、その通信状態が正常のときにのみ正常 信号を前記通信端末用のネットワークアダプタに発信するウォッチドックタイマーを更 に備えることを特徴とする請求項 6記載の通信端末。  [7] The method further comprises a watchdog timer that monitors a communication state of the data distribution unit and transmits a normal signal to the network adapter for the communication terminal only when the communication state is normal. Item 6. The communication terminal according to item 6.
[8] 請求項 1に記載の通信端末用のネットワークアダプタと接続され、該通信端末用の ネットワークアダプタを経由して 2つの外部機器と通信を行う通信端末の通信経路分 配方法において、 [8] In a communication path distribution method for a communication terminal that is connected to the network adapter for the communication terminal according to claim 1 and communicates with two external devices via the network adapter for the communication terminal.
前記通信端末が前記第 1ネットワークコントローラ力 通信信号を受信したときは、 その通信信号の宛先であるアドレスを解析し、該アドレスが自端末宛であるときは、前 記通信信号を自端末内に取り込むステップ SIと、 When the communication terminal receives the first network controller power communication signal, it analyzes the address that is the destination of the communication signal, and when the address is addressed to its own terminal, Step SI to capture the communication signal in its own terminal,
そうでないときは、前記通信信号を第 2ネットワークコントローラに転送するステップ S2と、  If not, the step S2 of transferring the communication signal to the second network controller;
第 2ネットワークコントローラ力も通信信号を受信したときは、その通信信号の宛先 であるアドレスを解析して、該アドレスが自端末宛であるときは、前記通信信号を自端 末内に取り込むステップ S3と、  When the second network controller also receives a communication signal, it analyzes the address that is the destination of the communication signal, and when the address is addressed to its own terminal, takes the communication signal into its own terminal. ,
そうでないときは、前記通信信号を第 1ネットワークコントローラに転送するステップ S4と、  If not, step S4 for transferring the communication signal to the first network controller;
自端末力 第 1の外部機器に通信信号を発信するときは、前記通信信号を第 1ネッ トワークコントローラに発信するステップ S5と、  When transmitting a communication signal to the first external device, step S5 for transmitting the communication signal to the first network controller;
自端末力 第 2の外部機器に通信信号を発信するときは、前記通信信号を第 2ネッ トワークコントローラに発信するステップ S6を備えることを特徴とする通信経路分配方 法。  Self-terminal capability A communication path distribution method comprising: step S6 of transmitting the communication signal to the second network controller when transmitting a communication signal to the second external device.
[9] 前記ステップ S1から前記ステップ S6までの!/、ずれかのステップが正常に処理を終 了した力どうかを判断するステップと、  [9] From step S1 to step S6! /, A step of determining whether the deviation step has successfully completed the process;
正常に終了した場合は、ウォッチドックタイマーに前記正常信号を発信させるステツ プと、  A step of causing the watchdog timer to send the normal signal when the operation is normally completed; and
正常に終了しな力つた場合は、前記データ分配部の状態をチェックし、正常であれ ば、前記ウォッチドックタイマーに前記正常信号を発信させ、正常でない場合は前記 ウォッチドックタイマーに前記正常信号の発信をやめさせるステップを更に備えること を特徴とする請求項 8記載の通信経路分配方法。  If it does not end normally, the status of the data distribution unit is checked. If it is normal, the normal signal is sent to the watchdog timer. If not normal, the normal signal is sent to the watchdog timer. The communication path distribution method according to claim 8, further comprising the step of stopping transmission.
[10] 請求項 1に記載の通信端末用のネットワークアダプタと接続され、該通信端末用の ネットワークアダプタを経由して 2つの外部機器と通信を行う通信端末用のプログラム であって、 [10] A program for a communication terminal that is connected to the network adapter for the communication terminal according to claim 1 and communicates with two external devices via the network adapter for the communication terminal,
請求項 8の通信経路分配方法を実施することを特徴とする通信端末用のプログラム  A communication terminal program for carrying out the communication path distribution method according to claim 8.
[11] 請求項 3に記載の通信端末用のネットワークアダプタと接続され、該通信端末用の ネットワークアダプタを経由して 2つの外部機器と通信を行う通信端末用のプログラム であって、 [11] A program for a communication terminal that is connected to the network adapter for the communication terminal according to claim 3 and communicates with two external devices via the network adapter for the communication terminal Because
請求項 9の通信経路分配方法を実施することを特徴とする通信端末用のプログラム  A program for a communication terminal, which implements the communication route distribution method according to claim 9.
PCT/JP2006/312533 2005-06-24 2006-06-22 Network adapter, communication terminal, communication path distribution method, and program thereof WO2006137492A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2005184961A JP2008227558A (en) 2005-06-24 2005-06-24 Network adapter, communication terminal, communication path distribution method and program thereof
JP2005-184961 2005-06-24

Publications (1)

Publication Number Publication Date
WO2006137492A1 true WO2006137492A1 (en) 2006-12-28

Family

ID=37570519

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2006/312533 WO2006137492A1 (en) 2005-06-24 2006-06-22 Network adapter, communication terminal, communication path distribution method, and program thereof

Country Status (3)

Country Link
JP (1) JP2008227558A (en)
TW (1) TW200711373A (en)
WO (1) WO2006137492A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7434169B2 (en) 2002-11-25 2008-10-07 Aol Llc, A Delaware Limited Liability Company Facilitating communications between computer users across a network
US7266776B2 (en) * 2002-11-25 2007-09-04 Aol Llc Facilitating communications between computer users across a network
US10554585B2 (en) 2011-05-30 2020-02-04 Nec Corporation Communication route control system and communication route control method
JP6950187B2 (en) * 2017-01-25 2021-10-13 セイコーエプソン株式会社 Circuit equipment, electronic devices and cable harnesses
TWI781134B (en) 2017-01-25 2022-10-21 日商精工愛普生股份有限公司 Circuit device, electronic device, and cable harness

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06261041A (en) * 1993-03-03 1994-09-16 Omron Corp Communications terminal equipment in daisy chain system network
JP2002217919A (en) * 2001-01-17 2002-08-02 Mitsubishi Electric Corp Supervision and control system
JP2003124945A (en) * 2001-10-10 2003-04-25 Meidensha Corp Data communication system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06261041A (en) * 1993-03-03 1994-09-16 Omron Corp Communications terminal equipment in daisy chain system network
JP2002217919A (en) * 2001-01-17 2002-08-02 Mitsubishi Electric Corp Supervision and control system
JP2003124945A (en) * 2001-10-10 2003-04-25 Meidensha Corp Data communication system

Also Published As

Publication number Publication date
TW200711373A (en) 2007-03-16
JP2008227558A (en) 2008-09-25

Similar Documents

Publication Publication Date Title
US8531942B2 (en) Communication system having a master/slave structure
JP4776374B2 (en) Redundant supervisory control system and redundant switching method for the same system
JP6436242B2 (en) Industrial equipment communication system, communication method, and industrial equipment
JP4946851B2 (en) Frame transfer method and frame transfer apparatus
JPH1011369A (en) Communication system and information processor with hot standby switching function
WO2006137492A1 (en) Network adapter, communication terminal, communication path distribution method, and program thereof
US10044580B2 (en) Redundantly operable industrial communication system, communication device and method for redundantly operating an industrial communication system
KR101179431B1 (en) Network Management System based on a EhterCAT And Managing Method thereof
EP1995148B1 (en) Transmission system for rail vehicles using two redundant bus systems
CN102123070A (en) System for realizing master/slave frame cascade protection and load sharing
CN103634209A (en) Method and equipment for data transmission
US20090092145A1 (en) Network system
CN101425946B (en) Transmission system for rail vehicle and rail vehicle using the same
JP2002026956A (en) Automatic path selection system and its method
TWI769717B (en) Additional base unit, control device, control system and control method
KR101344393B1 (en) Field bus network system of ring structure
KR101858264B1 (en) Apparatus for Relay of Ethernet Communication Device
JP2013088826A (en) Data input method in redundant system
CN101626328B (en) Signal converting system with standby mechanism and standby method
JP3012584B2 (en) Detour control method and method for STM exchange
JP2856516B2 (en) Exchange equipment
JP3888740B2 (en) Multiplexed LAN switching method and system
JP5144606B2 (en) Supervisory control system
KR101045947B1 (en) Low-cost multiplexing communication system and communication device having switching function included in the same
JP2013085251A (en) Field bus network adapter and field bus network subscriber device

Legal Events

Date Code Title Description
DPE2 Request for preliminary examination filed before expiration of 19th month from priority date (pct application filed from 20040101)
121 Ep: the epo has been informed by wipo that ep was designated in this application
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 06767191

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP