CN1777135A - Communication device and fault notifying method - Google Patents

Communication device and fault notifying method Download PDF

Info

Publication number
CN1777135A
CN1777135A CN 200510125136 CN200510125136A CN1777135A CN 1777135 A CN1777135 A CN 1777135A CN 200510125136 CN200510125136 CN 200510125136 CN 200510125136 A CN200510125136 A CN 200510125136A CN 1777135 A CN1777135 A CN 1777135A
Authority
CN
China
Prior art keywords
communicator
fieldbus
mail
verification message
communication
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN 200510125136
Other languages
Chinese (zh)
Other versions
CN100505670C (en
Inventor
蒋伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Azbil Corp
Original Assignee
Azbil Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Azbil Corp filed Critical Azbil Corp
Publication of CN1777135A publication Critical patent/CN1777135A/en
Application granted granted Critical
Publication of CN100505670C publication Critical patent/CN100505670C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The invention provides a communication device, comprising a function processing unit using Ethernet field bus and achieving the predetermined function by exchanging different data by the other communication devices connected by ring wiring scheme; switch unit controlling the data communication between the function processing part via the field bus and other communication device based on the spanning tree protocol (STP); semiconductor chip taking the signal processing circuit constituting the function processing unit and switch unit as integrate circuit.

Description

Communicator and failure notification method
Technical field
The present invention relates to communicator, relate in particular to the communicator that is connected with other communicators through Ethernet (Ethernet, registered trade mark).
Background technology
In the supervisor control that monitors control mansion equipment or shop equipment, the instrument that will have various functions such as information gathering function or controlled function is as communicator, connect through communication network,, in the central monitoring device, monitor every equipment of control according to information from these communicators.In this supervisor control, as the communication network employing is Ethernet.
In the internet, when connecting a plurality of communicator, the star wire laying mode that each communicator is connected on bus or the switch is basic.Though this star wire laying mode is suitable for the less working environment of scale, may not be suitable for large-scale equipment such as mansion equipment or shop equipment.As its reason, be because: in the star wire laying mode, need the wiring through having nothing in common with each other come connecting bus or switch and each communicator, follow in this, it is complicated to connect up, the cause of the homework burden of wiring installation increase.
In the past, in this Ethernet, for example put down in writing, propose a kind of Ethernet switch that connects each communicator with annular wire laying mode as document 1 (http://japan.moxa.com/Product/embedded_Network_Enablers/index.h tm) and document 2 (http://japan.moxa.com/solution/serial_to_ethemet.htm).
This Ethernet switch is STP (Spanning-Tree Protocol, a Spanning Tree Protocol) function of utilizing tediously longization that realizes communication path, a plurality of communicators is connected to the relay of circular die through the overlap joint wiring.By connecting these Ethernet switch, and communicator is connected to each Ethernet switch, thereby does not adopt the star wire laying mode also can connect a plurality of communicators with Ethernet with annular wire laying mode.
Yet, in this prior art, exist: need Ethernet switch be set by each communicator, become the problem of the main cause that the cost significantly of communication network integral body rises.In addition, exist: under the situation of cutting down function in order to reduce cost, can't correctly carry out the specific problem in fault generation and fault place thereof.
Summary of the invention
The present invention is in order to address this is that, and its purpose is, provides a kind of cost that both can suppress communication network integral body to rise, and can adopt Ethernet to construct the communicator and the failure notification method of annular wire laying mode again.
In order to reach above-mentioned purpose, the communicator that the present invention relates to wherein possesses: function treatment portion, and it adopts the fieldbus in accordance with Ethernet, by realizing predetermined function with the various data of other communication device switches that are connected with annular wire laying mode; Switch portion, it is controlled via the described function treatment portion of described fieldbus and the data communication between described other communicators according to Spanning-Tree Protocol (STP); Semiconductor chip, its signal processing circuit that will constitute described function treatment portion and switch portion forms as integrated circuit.
In addition, the failure notification method that the present invention relates to, wherein possess: the switch step, it is when carrying out data communication between a plurality of communicators of fieldbus with annular wire laying mode connection that utilize in accordance with Ethernet, by the switch portion that signal processing circuit comprised that on the semiconductor chip of a communicator, forms as integrated circuit, according to Spanning-Tree Protocol (STP), control function treatment portion that described signal processing circuit comprises and the data communication between other communicators via described fieldbus; The function treatment step, it is by described function treatment portion, and by realizing predetermined function through described switch portion with the various data of other communication device switches; Described switch step comprises the link signal monitoring step, and it monitors respectively through described fieldbus and the link signal on the physical layer of exchanging periodically between 2 neighboring devices adjacent with a described communicator; Described function treatment step has: mail generates step, it is by described link signal monitoring step, the unusual of link signal according to the neighboring devices side of coming My World detects under the out of order situation, generates the fault detect circular mail that comprises the network address that a described communicator is intrinsic; The mail forwarding step, it utilizes the fieldbus that does not detect out of order another neighboring devices side, sends the fault detect circular mail from described switch portion to arbitrary mail server.
Description of drawings
Fig. 1 is the block diagram of formation of the supervisor control of the expression communicator that adopted the present invention the 1st embodiment;
Fig. 2 is the block diagram of formation of switch portion of the communicator of expression the present invention the 1st embodiment;
Fig. 3 is the block diagram of other formations of the supervisor control of the expression communicator that adopted the 1st embodiment of the present invention;
Fig. 4 is the block diagram of formation of the supervisor control of the expression communicator that adopted the present invention the 3rd embodiment;
Fig. 5 is the block diagram of formation of switch portion of the communicator of expression the present invention the 3rd embodiment;
Fig. 6 is the block diagram of the detailed formation of the communication control unit of communicator of expression the present invention the 3rd embodiment and function treatment portion;
Fig. 7 is that the link signal of the communicator of expression the present invention the 3rd embodiment monitors the flow chart of handling;
Fig. 8 is the sequential chart that the link signal of the communicator of expression the present invention the 3rd embodiment monitors action;
Fig. 9 is that the verification message of the communicator of expression the present invention the 3rd embodiment monitors the flow chart of handling;
Figure 10 is the sequential chart that the verification message of the communicator of expression the present invention the 3rd embodiment monitors action.
Embodiment
Next, with reference to accompanying drawing, embodiments of the invention are described.
[the 1st embodiment]
At first, with reference to Fig. 1, the communicator that the 1st embodiment of the present invention is related to describes.
Supervisor control is connected with the communicator 1 with various functions such as information gathering function or controlled function through communication network, is the system that monitors each equipment of control according to these from the information of communicator 1 with the central monitoring device.
This supervisor control is made of communicator 1, STP switch 2, controller 3 and central monitoring device 4.
Each communicator 1 possesses the switch portion with STP function respectively, and through this switch portion, be connected on the fieldbus 5 with annular wire laying mode.Fieldbus 5 is the annular communication lines of abideing by ethernet standard, is connected on the STP switch 2 with STP function.
STP switch 2 has: the function of the fieldbus more than 15 being carried out terminal control; The function that is connected with controller 3 through communication line 6; The function of relay transmission data between each communicator 1 that is connected in fieldbus 5 and controller 3.
Controller 3 has: the function that is connected with central monitoring device 4 through high-order network 7; Through communication line 6 and the function that is connected with STP switch 2 more than 1; By carrying out data communication with random communication means 1, thereby obtain the various information of collecting and to the function of central monitoring device 4 by communicator 1 through STP switch 2; According to indication or predefined control program, by carrying out data communication with random communication means, thereby control the action of this communicator 1 through STP switch 2 from central monitoring device 4.
In the present embodiment, signal processing circuit with the switch portion of each communicator 1, signal processing circuit with the function treatment portion of various functions such as configuration information collecting function or controlled function is formed on the same semiconductor chip, and, be connected to fieldbus 5 with annular wire laying mode through this switch portion.
(communicator)
Then, with reference to Fig. 2, the communicator of the present invention the 1st embodiment is elaborated.
Communicator 1 constitutes and has switch portion 10 and function treatment portion 20 as main circuit, and these signal processing circuits are formed at FPGA (Field Programmable GateArray) and are equal on the semiconductor chip as integrated circuit.So-called FPGA is meant according to design data, grid array that hardware dynamic ground (in use) is transformed into.Owing to can make up little logic module and design, so there is the high advantage of service efficiency of degree of freedom height, grid (gate).
Function treatment portion 20 is made of CPU or special-purpose arithmetic processing circuit etc., by with the various data of other device exchanges, thereby realize various functions such as information gathering function or controlled function.
When switch portion 10 is connected with function treatment portion, be connected with other devices through fieldbus 5, have according to Spanning-Tree Protocol (STP), control, be connected on the fieldbus 5 with annular wire laying mode via the function treatment portion 20 of fieldbus 5 and the STP function of the data communication between other devices.STP be on networks such as Ethernet while preventing loop, realizing the second layer LMP Link Manager Protocol of the tediously long property of bus, on bridge of abideing by IEEE802.id and switch, move.
This switch portion 10 is provided with 2 communication system A, B that are used to be connected to the fieldbus 5 of realizing annular wire laying mode.Wherein, one side's communication system A is by communication port A (11A), Return Reception Dept. A (12A), queue buffer (queue buffer) A (13A) and send handling part A (14A) formation, and another communication system B is by communication port B (11B), Return Reception Dept. B (12B), queue buffer B (13B) and send handling part B (14B) formation.In addition, in switch portion 10, be provided with the communication control unit 15 of unified these communication systems of control A, B.
Communication port A, B have the function of the end points of the fieldbus 5 that connects respectively with the control of physical layer terminal.
Return Reception Dept. A, B are provided with by each communication port A, B, have: from the function with communication port A, the B reception data that are connected with physical layer interface MII same, that do not exist with ... medium (MediaIndependent Interface) interface that existing communicator has; With the function of carrying out reception processing such as preamble (preamble) is discarded, CRC check, destination MAC Address affirmation at these reception data.
Queue buffer A, B are provided with by each communication port A, B, and being temporary transient storage receives the frame handled or from the buffer of the frame of communication control unit 15 outputs by Return Reception Dept. A, B.
Send handling part A, B and be provided with, have: the function of reading frame from queue buffer B, the A of relative communication system successively by each communication port A, B; With the frame read as transmit frame, the function of communication port A, the B output that has connected to IP with the MII interface; Carry out CSMA/CD, preamble regeneration, flow process control etc. at this transmit frame this moment and send the function of handling.
Communication control unit 15 is according to STP, carries out the circuit part from Control on Communication such as the transmitting-receiving of node frame, mac address table management, troubleshootings, specifically has: with the function of function treatment portion 20 switching frames that are connected through the MII interface; Be stored among queue buffer A, the B to the frame of this device to 20 inputs of function treatment portion the time, will be stored in the function queue buffer A, the B from the frame that function treatment portion 20 receives to other devices; As required, the function of in central monitoring device 4, the request of send Email being notified to function treatment portion 20 through interrupt signal line 16.
(action of communicator)
Then, with reference to Fig. 2, the action of the communicator of the present invention the 1st embodiment is elaborated.
Formation second layer switches such as (store and forward) mode, the automatic identification of half-duplex/full duplex by the formation of above-mentioned 2 systems, are transmitted in intrinsic address on these switch portion 10 distribution supervisor controls or on the fieldbus 5 according to storage.In addition, utilize the communication function of STP (Spanning-Tree Protocol, SpanningTree Protocol) to realize tediously longization.
Communication control unit 15 verifications of switch portion 10 are through communication port A, B MAC Address that receive, that be stored in the frame among queue buffer A, the B, obtain the frame that will hold as destination-address from node M AC address and to 20 outputs of function treatment portion from queue buffer A, B.For the frame that will not hold from node M AC address as destination-address, read from queue buffer A, B, transmit to fieldbus 5 through the opposing party's communication port from sending handling part B, A.
In addition, communication control unit 15 is by receiving transmit frames from function treatment portion 20 and store into queue buffer A, the B, thereby sends to fieldbus 5.
In addition, communication control unit 15 by troubleshooting and other communicators between carry out the circuit verification, often whether verification does not break down.
Like this, according to present embodiment, because will have the switch portion 10 and the function treatment portion 20 existing, that have information gathering function or controlled function of STP function is formed on the same semiconductor chip 30, and be connected with function treatment portion 20, so compare with the situation that adds the STP switch by each communicator, it is unnecessary that the component costs of device formation or connector etc. even manufacturing cost become.
Therefore,, rise, Yi Bian the annular wire laying mode that utilizes Ethernet to construct to have tediously long property on one side also can suppress the cost of communication network integral body even in the large-scale supervisor control that monitors control mansion equipment or shop equipment.
And then, about function treatment portion 20, because with the same MII interface of the physical layer interface in the past that existing communicator was had, be connected with switch portion 10, so at function treatment portion 20 sides, can utilize software in the past, the cost that can suppress the software house of correction needs rises.
[the 2nd embodiment]
Next, with reference to Fig. 1 and Fig. 2, the communicator of the present invention the 2nd embodiment is described.And, same about the formation of the communicator of the present invention the 2nd embodiment with above-mentioned the 1st embodiment, in this detailed.
In the STP agreement, be defined as: any in each communicator that connects with fieldbus 5 becomes route (ROOT), with control protocol.Treaty override order (priority, order of priority) the highest device of setting in each communicator at this moment, in each communicator, becomes route.In addition, when the treaty override of the communicator of fieldbus 5 connections afterwards was higher than route so far in proper order, the change of route was handled and is taken place, and data communication is temporarily interrupted.
In the present embodiment, usually the treaty override of noticing the STP switch 2 of sale is set at medium rank in proper order, because the treaty override of setting in the communication control unit with switch portion 10 is set at minimum rank in proper order, even under the former situation about after communicator 1, being connected on the fieldbus 5, even for example carrying out under the situation of power connection/disconnection with communicator 1, between each communicator that connects with annular wire laying mode, the treaty override order that is used for the route decision can not produce change, the generation that unwanted routing change is handled can be avoided, the interruption of this data communication can be suppressed to result from.
And, in Fig. 1, the situation of constructing multiple annular wire laying mode with STP switch 2 is illustrated, but also can only constructs a kind of annular wire laying mode with each STP switch 2.In addition, as shown in Figure 3, the switch portion same with communicator 1 can be set in controller 3 also, construct annular wire laying mode, and then construct high-order network.
In addition, as shown in Figure 3, also can be: as one of them of each communicator that connects with fieldbus 5, by adopting the STP switch 2 that to construct multiple annular wire laying mode, thereby the multiple annular wire laying mode of multistage connection, even in the extensive supervisor control that monitors control mansion equipment or shop equipment, also can connect each communicator effectively.
[the 3rd embodiment]
Then, with reference to Fig. 4, the communicator of the 3rd embodiment of the present invention is described.
In the present embodiment, in the communicator and supervisor control that relate at above-mentioned the 1st embodiment, detect fieldbus 5 unusual that connects each communicator 1 with annular wire laying mode with each communicator 1, and notify the situation of this abort situation to describe.
Compare with the supervisor control (with reference to Fig. 1) of the 1st embodiment, each communicator 1 that present embodiment relates to (among the 1A~1N), have detect connect adjacent communicator 1 or and STP switch 2 between fault among the link 5A~5N, 50,51 of fieldbus 5 or the fault in each communicator 1.
In addition, as shown in Figure 4, compare, newly be provided with mail server 8 in the supervisor control of present embodiment, be connected on the high-order network 7 through switch 7A with the supervisor control (with reference to Fig. 1) of the 1st embodiment of the present invention.Mail server 8 is made of the surface mail server of the various Emails of transmitting-receiving, to represent that the fault detect circular mail of communicator 1 detected communication failure is from communicator 1, receive through STP switch 2, communication line 6, controller 3, high-order network 7 and switch 7A, according to visit from central monitoring device 4, with the context notification of fault detect circular mail to central monitoring device 4.
(communicator)
Next, with reference to Fig. 5 and Fig. 6, the communicator that the present invention the 3rd embodiment is related to is elaborated.
Compare with the communicator that above-mentioned the 1st embodiment relates to, (among the 1A~1N), be provided with the functional entity that is used to detect via the relative fault of the data communication of fieldbus 5 at communicator 1 that present embodiment relates to.
As shown in Figure 6, in the communication control unit 15 of switch portion 10, be provided with STP controlling organization 15A, link signal controlling organization 15B, link signal MA monitoring agency 15C, the 15D of verification message testing agency and verification message MA monitoring agency 15E.In addition, in function treatment portion 20, be provided with mailer structure 22.
STP controlling organization 15A has: exchange the function of various data with queue buffer A, B; Through data/address bus 18, with the function of the various data of function treatment portion 20 exchanges; According to Spanning-Tree Protocol (STP), control is via function fieldbus 5, the data communication of function treatment portion 20 between installing with other.
Link signal controlling organization 15B has: through communication port A, and the adjacent communication device between the exchange link signal A (17A) function; Through communication port B, and the adjacent communication device between the exchange link signal B (17B) function.Link signal (Link signal) A, B for example the frame on the physical layer of carrying out using when the data communication with Ethernet gap etc. regularly in, between adjacent communicator, exchange periodically.
Link signal MA monitoring agency 15C has: receive according to link signal controlling organization 15B, from cycle or the content of link signal A, the B of adjacent communication device, monitor the function of its normality; Unusual according to link signal A, B detects under the out of order situation at the data communication with the adjacent communication device, detects the function of the link of this fault to mailer structure 22 notices of function treatment portion 20 by interrupt signal 16A.
The 15D of verification message testing agency have detection through communication port A and Return Reception Dept. A and be stored among the queue buffer A, from the verification message of STP switch 2, or through communication port B and Return Reception Dept. B and be stored among the queue buffer B, from the function of the verification message of STP switch 2.Check message is the message on the data link layer that sends termly in the mode of each communicator on the touring fieldbus 5 from STP switch 2.
Verification message MA monitoring agency 15E has: according to cycle or the content by the detected verification message of the 15D of verification message testing agency, monitor the function of its normality; Unusual according to verification message detects under the out of order situation at the data communication with the adjacent communication device, detects the function of the link of this fault to mailer structure 22 notices of function treatment portion 20 by interrupt signal 16B.
Mailer structure 22 has: through data/address bus 18 and internal bus 21, exchange the function of various data with the STP controlling organization 15A of communication control unit 15; According to from the interrupt signal 16A of the 15C of link monitoring mechanism or from the interrupt signal 16B of verification message MA monitoring agency 15E, generate the function that comprises the intrinsic network address of this communicator to the fault detect circular mail of mail server 8; Indicate the function of the transmission of the fault detect circular mail that has utilized the fieldbus 5 that with the link of the fault generation link opposition side of notifying with interrupt signal 16A, 16B, does not promptly detect out of order neighboring devices side to STP controlling organization 15A.
Because STP switch 2 is when carrying out data communication according to Spanning-Tree Protocol (STP), through fieldbus 5 and with each communicator 1, control these communicators 1, so except possess with communicator 1 same STP controlling organization 15A, link signal controlling organization 15B, link signal MA monitoring agency 15C, the 15D of verification message testing agency and verification message MA monitoring agency 15E, also possess the verification message transmitting mechanism that periodically sends verification message.
(action of the 3rd embodiment)
Then, with reference to Fig. 7 and Fig. 8, the link signal of the communicator that the present invention the 3rd embodiment is related to monitors that action describes.
Communicator 1 is by communication control unit 15 and function treatment portion 20, and the link signal that carries out Fig. 7 monitors to be handled.
At first, communication control unit 15 is by link signal controlling organization 15B, through be everlasting and adjacent communication device 1 between mutually exchange link signal A, B, by link signal MA monitoring agency 15C, according to sense cycle or content, at link signal A, B verification normality (step 100) from adjacent communication device 1.At this, there be not (step 101 be) under the unusual situation at link signal A, B, return step 100.
On the other hand, for example open circuit by link, in specified period, do not detect one of them of link signal A, B, think that one of them of link signal A, B produces under the unusual situation (step 101 be), the 15C of link monitoring mechanism detects the link of this fault to mailer structure 22 notices by interrupt signal 16A.
Mailer structure 22 confirms that according to the interrupt signal 16A from the 15C of link monitoring mechanism fault takes place, generate comprise the intrinsic network address of this communicator, to the fault detect circular mail (step 102) of mail server 8.And, utilize the fieldbus 5 that with the link of the fault generation link opposition side of notifying with interrupt signal 16A, does not promptly detect out of order neighboring devices side, send fault detect circular mails (step 103) to mail server 8, return step 100.
Therefore, as shown in Figure 8, through link 5A in mutually (step 110) when the exchange link signal between communicator 1A, the 1B, under the situation that link 5A opens circuit, communicator 1A, 1B pass through link signal MA monitoring agency 15C separately, detect unusual (step 111,112) of link signal, generate respectively behind the fault detect circular mail to mail server 8 transmissions (step 113,114).
In these fault detect circular mails, for example include IP address etc., the intrinsic network address of each communicator 1A, 1B.Therefore, in central monitoring device 4,, send the network address of the communicator in source, thereby can the place take place specific fault by confirming mail with reference to the fault detect circular mail that is stored in mail server 8.
Like this, because present embodiment is provided with in switch portion 10 and monitors respectively through fieldbus 5, at the link signal MA monitoring agency 15C of the link signal on the physical layer of exchange termly between 2 neighboring devices adjacent with this communicator 1, utilize the mailer structure 22 of function treatment portion 20, detecting under the out of order situation according to the unusual of the link signal that comes My World neighboring devices side by link signal MA monitoring agency 15C, generation comprises the fault detect circular mail of the intrinsic network address of this communicator, utilize the fieldbus 5 that does not detect out of order another neighboring devices side, send the fault detect circular mail from switch portion 10 to mail server 8, so by confirming the network address of these fault detect circular mails, just can the place take place specific fault.
Therefore, even be formed on the same semiconductor chip 30 with existing function treatment portion 20 with information gathering function or controlled function in the switch portion 10 that will have the STP function, and with situation that function treatment portion 20 is connected under, also can easily detect each link or the generation of the fault in each communicator that connect the fieldbus 5 of each communicator with annular connected mode, can place take place easily specific this fault simultaneously.
And, in the link signal MA monitoring agency 15C of communicator 1, detecting under the unusual situation of link signal, also can from link signal controlling organization 15B for example adopt methods such as the transmission of link signal stops to through this fault generation link and relatively to adjacent communication device 1 notice link signal unusual.Thus, since relatively to adjacent communication device 1 in, it is unusual to detect this link signal, and to mail server 8 transmission fault detect circular mails, even event has taken place under the situation of fault in the either party of the upstream or downstream of link, can can the place take place specific fault from sending the fault detect circular mail with these link-attached two communicators 1.
Then, with reference to Fig. 9, Figure 10, the verification message of the communicator that the present invention the 3rd embodiment is related to monitors that action describes.
Communicator 1 is by communication control unit 15 and function treatment portion 20, and the verification message of carrying out Figure 10 monitors to be handled.
At first, communication control unit 15 passes through the 15D of verification message testing agency when starting, whether detect with the 15A of STP testing agency and received initial verification message (step 130) from STP switch 2, under the situation that has received initial verification message (step 131 be), by verification message MA monitoring agency 15E, start the reception timer (step 132) during enough in order to receive next verification message.
And verification message is received by Return Reception Dept. A through communication port A, and is stored among the queue buffer A.Then, read the verification message that is stored among the queue buffer A by sending handling part B, and transmit to follow-up communicator 1 from communication port B.
On the other hand, read and receive the verification message that is stored among the queue buffer A, detect this message by the 15D of verification message testing agency by the STP controlling organization 15A of communication control unit 15.
After the step 132, whether verification message MA monitoring agency 15E detects with STP controlling organization 15A and has received initial check message (step 133) from STP switch 2, under the situation that does not receive verification message (step 134 deny), judge to receive timer whether overtime (step 135), do not having under the overtime situation (step 133) to return.
At this, under the situation that has received next verification message before the reception timer expiry (step 134 be), because each device and the link in the interval till can being judged as from STP switch 2 to this communicator 1 are normal, so after having stopped the reception timer (step 136), start reception timer (step 137) once more, return step 133.
In addition, before receiving next verification message, receive timer expiry situation under (step 135 be), because each device in the interval till can being judged as from STP switch 2 to this communicator 1 and the link fault has taken place, so verification message MA monitoring agency 15E detects the link of this fault to mailer structure 22 notices by interrupt signal 16B.
Mailer structure 22 confirms that according to the interrupt signal 16B from verification message MA monitoring agency 15E fault produces, and generates the fault detect circular mail (step 138) to mail server 8 that comprises the intrinsic network address of this communicator.And, utilize the fieldbus 5 that with the link of the fault generation link opposition side of notifying with interrupt signal 16B, does not promptly detect out of order neighboring devices side, the fault detect circular mail is sent to mail server 8 (step 139), return step 130.
Therefore, as shown in figure 10, from the verification message 60 that STP switch 2 sends, each link and communicator 1 through fieldbus 5 are transmitted in order, go out of use after arriving the module port of setting in any communicator 1 (Blocking Port).
In addition, each communicator 1 detects according to the reception of verification message 60, starts respectively to receive timer, monitors the reception of next verification message.For example, detect under the situation of verification message 60 in moment T1A reception, receive timer TM1A in this T1A startup constantly at communicator 1A.In addition, though in communicator 1B, 1C... too, detect moment T1B, the T1C... of verification message 60 in reception, start respectively and receive timer TM1B, TM1C....
Moment T2 after passing through the stipulated time from moment T1, STP switch 2 sends same verification message 60.
At this, under the cut situation of link 5A between communicator 1A, the 1B, because the verification message 60 normal communicator 1A that arrive, so in communicator 1A, moment T2A before reception timer TM1A is overtime, next verification message 60 is normally received to be detected, and starts once more to receive timer TM1A.
On the other hand, because the moment T2B before verification message 61 is received detection, it is overtime to receive timer TM1B, so communicator 1B sends fault detect circular mails 70 to mail server 8.After, begin to send fault detect circular mail 70 to mail server 8 similarly from communicator 1C.
In these fault detect circular mails, for example include IP address etc., each communicator 1 the intrinsic network address.Therefore, in central monitoring device 4, with reference to the fault detect circular mail that is stored in the mail server 8, confirm that mail sends the network address of the communicator in source, in the transmission sequence of verification message, sent and known before the communicator of upstream side of each fault detect circular mail fault has taken place.
Like this, because present embodiment is provided with verification message MA monitoring agency 15E, it monitors the verification message on the data link layer that regularly sends in bus 5 touring modes at the scene from the STP switch (switching device) 2 of controlling each communicator 1 according to Spanning-Tree Protocol (STP), mailer structure 22 with function treatment portion 20, detecting under the out of order situation according to the unusual of the verification message of coming the My World neighboring devices by verification message MA monitoring agency 15E, generation comprises the fault detect circular mail of the intrinsic network address of this communicator, utilize the fieldbus that does not detect out of order another neighboring devices side, send the fault detect circular mail from switch portion 10 to mail server 8, so, thereby can specific fault produce the place by the network address of these fault detect circular mails of affirmation.
Therefore, even be formed on the same semiconductor chip 30 with existing function treatment portion 20 with information gathering function or controlled function in the switch portion 10 that will have the STP function, and be connected with function treatment portion 20, also can easily detect each link or the generation of the fault in each communicator that connect the fieldbus 5 of each communicator with annular connected mode, can place take place easily specific this fault simultaneously.In addition, owing to utilize common email protocol to notify fault,, can realize fault detection capability so do not change existing correspondence agreements such as expanding STP, also can be easily and qurer import in the existing system.
All the time, has STP (Spanning-Tree Protocol in employing, Spanning Tree Protocol) Ethernet switch of function, connect each communicator by the overlap joint wiring with annular wire laying mode, under the situation with tediously longization network, in communication just often, a side's of Ethernet switch communication port is made as module port (Blocking Port) by inciting somebody to action arbitrarily, thereby prevent wireless loop, taking place under the situation of fault in link or the communicator arbitrarily, take to remove module port, keep the corresponding method of communicating by letter with the interval between the module port at the fault place by STP.
According to this method, though can be the situation at 1 place corresponding to the fault place, but under the following situation that fault taken place at diverse location, become for the interval between the fault place, 2 place and can't keep communication, till being repaired to initial fault, (availability availability) reduces the runnability of network integral body.Therefore, detection failure takes place and repairs rapidly at once, is required than the runnability (availability) of high maintenance network integral body.
According to present embodiment, owing to take place to send the fault detect circular mail from communicator to mail server at once according to fault, the network address that is comprised according to this fault detect circular mail simultaneously can the specific fault place, thereby can be than the runnability (availability) of high maintenance network integral body.
And, in Figure 10, according to come in the transmission sequence of the verification message that STP switch 2 sends, the fault detect mail of the communicator 1 of upstream side, the failure judgement place, but also can notify fault detect constantly, thereby the out of order communicator of specific initial detection by using the fault detect circular mail.
In addition, in Figure 10, the situation that has sent verification message in the mode of going the rounds to communicator 1A side from STP switch 2 is illustrated, but also can sends verification message to opposite direction according to the position that is provided with module port.In addition, also can send verification message, specific fault position more accurately in two-way simultaneous ground.

Claims (6)

1. communicator wherein possesses:
Function treatment portion (20), it adopts the fieldbus (5) in accordance with Ethernet, by realizing predetermined function with the various data of other communication device switches that are connected with annular wire laying mode;
Switch portion (10), it is controlled via the described function treatment portion of described fieldbus and the data communication between described other communicators according to Spanning-Tree Protocol (STP);
Semiconductor chip (30), its signal processing circuit that will constitute described function treatment portion and switch portion forms as integrated circuit.
2. communicator according to claim 1, wherein, described switch portion possesses:
The end points that is connected in described fieldbus is separately carried out 2 communication port (11A, 11B) that terminal is controlled by physical layer;
By each described communication port setting, and through 2 Return Reception Dept.s (12A, 12B) of described communication port reception from the frame of other communicators;
By each described communication port setting, and temporary transient storage is by 2 queue buffer (13A, 13B) of the frame of described Return Reception Dept. reception;
By each described communication port setting, and will receive and be stored in frame in the described queue buffer through a side communication port, the transmission handling part (14A, 14B) that sends to other communicators through the opposing party's communication port;
To be stored in the frame of giving this communicator in the described queue buffer when outputing to described function treatment portion, will be stored in the communication control unit (15) the described queue buffer from the frame of giving other communicators that described function treatment portion receives.
3. communicator according to claim 1, wherein,
Described switch portion comprises link signal MA monitoring agency (15C), and it monitors respectively through described fieldbus and the link signal on the physical layer that is exchanged termly between 2 neighboring devices adjacent with this communicator;
Described function treatment portion comprises mailer structure (22), it is detecting under the out of order situation by the unusual of link signal of described link signal MA monitoring agency according to the neighboring devices side of coming My World, generation comprises the fault detect circular mail of the intrinsic network address of this communicator, and utilize the fieldbus do not detect out of order another neighboring devices side, send the fault detect circular mail from described switch portion to mail server (8) arbitrarily.
4. communicator according to claim 1, wherein,
Described switch portion possesses verification message MA monitoring agency (15E), and it is to monitoring with the verification message on the data link layer that is sent out termly in the touring mode of described fieldbus from control each switching device (2) of described communicator according to Spanning-Tree Protocol (STP);
Described function treatment portion possesses mailer structure (22), it is detecting under the out of order situation by the unusual of verification message of described verification message MA monitoring agency according to the neighboring devices side of coming My World, generation comprises the fault detect circular mail of the intrinsic network address of this communicator, and utilize the fieldbus do not detect out of order another neighboring devices side, send the fault detect circular mail from described switch portion to mail server (8) arbitrarily.
5. failure notification method, comprising:
The switch step, it is when carrying out data communication between a plurality of communicators of fieldbus (5) with annular wire laying mode connection that utilize in accordance with Ethernet, go up the switch portion that signal processing circuit comprised (10) that forms as integrated circuit by semiconductor chip (30) at a communicator, according to Spanning-Tree Protocol (STP), control function treatment portion (20) that described signal processing circuit comprises and the data communication between other communicators via described fieldbus;
The function treatment step, it is by described function treatment portion, and by realizing predetermined function through described switch portion with the various data of other communication device switches;
Described switch step comprises link signal monitoring step (100), and it monitors respectively through described fieldbus and the link signal on the physical layer of exchanging periodically between 2 neighboring devices adjacent with a described communicator;
Described function treatment step comprises:
Mail generates step (102), it is by described link signal monitoring step, the unusual of link signal according to the neighboring devices side of coming My World detects under the out of order situation, generates the fault detect circular mail that comprises the network address that a described communicator is intrinsic;
Mail forwarding step (103), it utilizes the fieldbus that does not detect out of order another neighboring devices side, sends the fault detect circular mail from described switch portion to arbitrary mail server (8).
6. failure notification method according to claim 5, wherein,
Described switch step also possesses verification message monitoring step (133), and it is to from controlling each switching device (2) of described communicator with the verification message on the data link layer that is sent out termly in the touring mode of described fieldbus according to Spanning-Tree Protocol (STP);
Described function treatment step also possesses:
Mail generates step (138), it is by described verification message monitoring step, the unusual of verification message according to the neighboring devices side of coming My World detects under the out of order situation, generates the fault detect circular mail that comprises the network address that a described communicator is intrinsic;
Mail forwarding step (139), it utilizes the fieldbus that does not detect out of order another neighboring devices side, sends the fault detect circular mail from described switch portion to arbitrary mail server.
CNB2005101251366A 2004-11-19 2005-11-21 Communication device and fault notifying method Expired - Fee Related CN100505670C (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2004335558 2004-11-19
JP2004335558 2004-11-19

Publications (2)

Publication Number Publication Date
CN1777135A true CN1777135A (en) 2006-05-24
CN100505670C CN100505670C (en) 2009-06-24

Family

ID=36766450

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005101251366A Expired - Fee Related CN100505670C (en) 2004-11-19 2005-11-21 Communication device and fault notifying method

Country Status (1)

Country Link
CN (1) CN100505670C (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101883007A (en) * 2010-06-24 2010-11-10 中兴通讯股份有限公司 Method and device for realizing service protection under ETREE networking of PTN (Packet Transport Network) network
CN101729261B (en) * 2008-10-30 2012-10-03 阿自倍尔株式会社 Ring connection control circuit and method, ring switching hub and Ethernet system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101729261B (en) * 2008-10-30 2012-10-03 阿自倍尔株式会社 Ring connection control circuit and method, ring switching hub and Ethernet system
CN101883007A (en) * 2010-06-24 2010-11-10 中兴通讯股份有限公司 Method and device for realizing service protection under ETREE networking of PTN (Packet Transport Network) network
CN101883007B (en) * 2010-06-24 2015-01-28 中兴通讯股份有限公司 Method and device for realizing service protection under ETREE networking of PTN (Packet Transport Network) network

Also Published As

Publication number Publication date
CN100505670C (en) 2009-06-24

Similar Documents

Publication Publication Date Title
CN1551568A (en) Reliable delivery of multi-cast conferencing data
CN1668032A (en) Label-switched path network with alternate routing control
CN102571587B (en) Method and equipment for forwarding messages
CN1947024A (en) System and method for detecting link failures
CN1991650A (en) Redundant supervisory control system, and redundancy switching method of the same
CN1885789A (en) Channel failure handling method in ASON
CN1913457A (en) Method for fault detection of two-way conversion link
CN1885839A (en) Method for realizing active/standby gateway apparatus in network
CN1265593C (en) Detecting method of reachability among IP network equipments and its application in public dialing network platform accessing backup
CN105915400A (en) Data stream switching method and system
CN101051951A (en) Method and device for securing server connection reliability
CN101030901A (en) Distributed Ethernet system and method for inspecting fault based thereon
CN1819539A (en) Communication method, communication system, and bridge device
CN1747439A (en) Fault treating method for phase switching loop of automatic protection system of Ethernet
CN1679277A (en) Test method for message paths in communication networks, and network element
CN101043386A (en) Method for notifying pseudo-lines fault based on bidirectional transmission detecting protocol
JP2007081990A (en) Transmission apparatus and frame transfer method
CN1905490A (en) Method and apparatus for preventing loop when RRPP and partial STP network damage recovery
CN101056194A (en) A SNMP message transfer method and device
CN101060485A (en) Topology changed messages processing method and processing device
CN101035053A (en) Processing method for node link switching of the distributed system and its device
CN1921432A (en) Message transmitting method and device
CN1921417A (en) Method for reporting conversation state of two-way transfer detection
CN1852086A (en) Binding interface in RPR and its realizing method and apparatus
CN1889501A (en) Method and system for deciding bridge role

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090624

Termination date: 20211121