CN110474686A - Network-switching equipment and its operation method - Google Patents

Network-switching equipment and its operation method Download PDF

Info

Publication number
CN110474686A
CN110474686A CN201810446193.1A CN201810446193A CN110474686A CN 110474686 A CN110474686 A CN 110474686A CN 201810446193 A CN201810446193 A CN 201810446193A CN 110474686 A CN110474686 A CN 110474686A
Authority
CN
China
Prior art keywords
optical fiber
data transmit
unit
interruption
fiber data
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
CN201810446193.1A
Other languages
Chinese (zh)
Other versions
CN110474686B (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.)
Shencloud Technology Co Ltd
Shunda Computer Factory Co Ltd
Original Assignee
Shencloud Technology Co Ltd
Shunda Computer Factory Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shencloud Technology Co Ltd, Shunda Computer Factory Co Ltd filed Critical Shencloud Technology Co Ltd
Priority to CN201810446193.1A priority Critical patent/CN110474686B/en
Publication of CN110474686A publication Critical patent/CN110474686A/en
Application granted granted Critical
Publication of CN110474686B publication Critical patent/CN110474686B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/25Arrangements specific to fibre transmission
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0005Switch and router aspects

Abstract

The present invention proposes a kind of network-switching equipment and its operation method.This method receives several from several optical fiber data Transmit-Receive Units comprising logic unit and interrupts control signal, whether each control signal that interrupts is to react the operating state of each optical fiber data Transmit-Receive Unit to be abnormal or change, logic unit will merge into an interruption from the interruption of each optical fiber data Transmit-Receive Unit control signal and merge signal, the one of one processing unit, which interrupts control foot position and receives to interrupt, merges signal, processing unit judges to interrupt whether the logic level for merging signal changes, if and processing unit judges that interrupting the logic level for merging signal changes, processing unit executes an interrupt routine and judges that the running of which one in several optical fiber data Transmit-Receive Units is abnormal or changes in interrupt routine.

Description

Network-switching equipment and its operation method
Technical field
The invention relates to a kind of network-switching equipment and its operation method, especially one kind effectively to supervise simultaneously Solve the network-switching equipment and its operation method of Network Abnormal.
Background technique
With the progress of network technology, second too network, which has become, can not obtain scarce tool in for people's lives.In second too network In system, network-switching equipment plays important role.Network-switching equipment can world-wide web and packet receiving and transmission device it Between carry out Datagram transmitting and exchange, make second too network system normal operation.
In general, known network-switching equipment can be to the mistake or network exception event progress in some runnings Corresponding to handle, the mistake in running is, for example, optical fiber plug, fiber-optic signal exception, and anomalous event is, for example, certain numerical value (voltage, temperature etc.) exceeds critical value, through interruption set in the packet receiving and transmission module in network-switching equipment (interrupt) signal intensity of signal pin, network-switching equipment can initiatively supervise whether network exception event occurs, with It performs corresponding processing, alternatively, network-switching equipment can also be passively under packet receiving and transmission module notice and handle Network Abnormal thing Part;If however, initiatively to be supervised, it will it expends the process resource of network-switching equipment and causes its processing load, If can be then limited between network-switching equipment and packet receiving and transmission device with being passively under packet information R-T unit notice Link up the whether enough problems in foot position.Therefore, how effectively supervising and solving Network Abnormal is for an epochmaking project.
Summary of the invention
The technical problem to be solved by the present invention is to be to provide a kind of net that can effectively supervise and solve Network Abnormal Network switch and its operation method.
In order to solve the above technical problems, a kind of network-switching equipment includes several optical fiber data Transmit-Receive Units, logic list Member and processing unit.Each optical fiber data Transmit-Receive Unit in several optical fiber data Transmit-Receive Units is received and dispatched according to each optical fiber data Whether the running of unit, which is abnormal or changes, generates an interruption control signal.Logic unit is coupled to each optical fiber data and receives Bill member, logic unit control signal and will be from each optical fiber to the interruption for receiving from each optical fiber data Transmit-Receive Unit The interruption control signal of data Transmit-Receive Unit merges into an interruption and merges signal.Processing unit is coupled to logic unit, and processing is single Member has one to interrupt control foot position, and interruption control foot position, which receives, interrupts merging signal, and processing unit, which judges to interrupt, merges signal Whether logic level changes, to judge whether the running of either fiber data Transmit-Receive Unit is abnormal or changes, If processing unit judges that interrupting the logic level for merging signal changes, processing unit executes an interrupt routine and is interrupting Judge that the running of which one in optical fiber data Transmit-Receive Unit is abnormal or changes in program.
In order to solve the above technical problems, a kind of operation method of network-switching equipment includes logic unit from several optical fiber Data Transmit-Receive Unit receives several and interrupts control signal, and each control signal that interrupts is the fortune for reacting each optical fiber data Transmit-Receive Unit Make whether state is abnormal or changes, logic unit will control signal from the interruption of each optical fiber data Transmit-Receive Unit Merge into interruption merging signal, an interruption control foot position of a processing unit receives interruption merging signal, processing unit judges If whether the logic level for interrupting merging signal changes and processing unit is judged to interrupt the logic level for merging signal It changes, processing unit executes an interrupt routine and judges which in several optical fiber data Transmit-Receive Units in interrupt routine The running of one is abnormal or changes.
Compared to the prior art, inventive network switch and its operation method, according to the network-switching equipment of this case And its an embodiment of operation method, the processing unit of network-switching equipment do not need continuously and regularly to judge every Whether the running of one optical fiber data Transmit-Receive Unit is abnormal or changes, and processing unit is to merge signal in interruption to change Begin to judge that the running of which one in optical fiber data Transmit-Receive Unit is abnormal or changes after change, can so reduce its processing Burden, and it is single also temporarily to ignore the optical fiber data transmitting-receiving that running is abnormal or changes by interrupt routine in real time Member is simultaneously disposed accordingly, to meet the optical-fibre communications application of high speed.
[Detailed description of the invention]
Fig. 1 is the schematic diagram of an embodiment of network-switching equipment according to the present invention.
Fig. 2 is the circuit block diagram of an embodiment of the network-switching equipment of Fig. 1.
Fig. 3 is the flow chart of an embodiment of the operation method of network-switching equipment exemplified by Fig. 1 and Fig. 2.
Fig. 4 is the circuit block diagram of another embodiment of the network-switching equipment of Fig. 1.
Fig. 5 is the schematic diagram of another embodiment of network-switching equipment according to the present invention.
[specific embodiment]
Fig. 1 is the schematic diagram of an embodiment of network-switching equipment according to the present invention.Fig. 2 is the network-switching equipment of Fig. 1 The circuit block diagram of one embodiment.Please refer to shown in Fig. 1 and Fig. 2, Fig. 1 and Fig. 2 example goes out a network-switching equipment 1.Net Network switch 1 includes logic unit 11, processing unit 12 and several optical fiber data Transmit-Receive Units (fiber Transceiver) 13,14,15(is here, Fig. 2 is to be connected to three optical fiber data Transmit-Receive Units 13,14,15 with logic unit 11 For, however invention is not limited thereto, according to not being both application, it is that the transmitting-receiving of optical fiber data is single that network-switching equipment 1, which connects, Member is that quantity can be two or be greater than three).
Optical fiber data Transmit-Receive Unit 13,14,15 separately includes optical fiber Port 131,141,151, optical fiber Port 131, 141,151 it can be connected to a fiber-optic signal line, optical fiber data Transmit-Receive Unit 13,14,15 can be by optical fiber connected to it Signal wire receives and dispatches the Datagram for meeting optical-fibre communications.Furthermore optical fiber data Transmit-Receive Unit 13,14,15 can be respectively according to its fortune Make whether exception or change and generate respectively an interruption control signal S2, S3, S4, to react whether its running occurs respectively Exception changes, and then triggers one interrupt routine of execution of processing unit 12 in real time, that is, interruption control signal S2, S3, S4 can trigger that processing unit 12 is abnormal to the running of optical fiber data Transmit-Receive Unit 13,14,15 in real time or the event that changes into Row disposition in real time.For example, if the running of optical fiber data Transmit-Receive Unit 13,14,15 is normal, optical fiber data Transmit-Receive Unit 13,14,15 interruption control signal S2, S3, the S4 for having high logic level can be sent respectively;If optical fiber data Transmit-Receive Unit 13,14, 15 operating state is exception or changes that the interruption of tool low logic level can be transmitted in optical fiber data Transmit-Receive Unit 13,14,15 Control signal S2, S3, S4.Base this, if interrupting control signal S2, S3, S4 by high logic level is changed to low logic level, table Show that the running of optical fiber data Transmit-Receive Unit 13,14,15 is abnormal or changes.
Logic unit 11 is coupled between processing unit 12 and optical fiber data Transmit-Receive Unit 13,14,15.Processing unit 12 is then The output end that control foot position 121 is coupled to logic unit 11 is interrupted with one.Logic unit 11 is single to receive and dispatch from optical fiber data Member 13,14,15, which receives, interrupts control signal S2, S3, S4, and interruption control signal S2, S3, S4 are merged into an interruption and merge letter Number S1, logic unit 11, which will interrupt to merge signal S1 and export to interrupting again via its output end, controls foot position 121, will interrupt conjunction And signal S1 is sent to processing unit 12.In one embodiment, logic unit 11 can be that complexity can program logic device (Complex Programmable Logic Device;CPLD).
Fig. 3 please be closed for the flow chart of an embodiment of the operation method of network-switching equipment 1 exemplified by Fig. 1 and Fig. 2 And referring to FIG. 1 to 3, after logic unit 11 receives interruption control signal S2, S3, S4 (step S01), logic list Member 11, which merges, interrupts control signal S2, S3, S4 to generate to interrupt and merge signal S1(step S02).It interrupts and merges patrolling for signal S1 Collecting level can be as the logic level for interrupting control signal S2, S3, S4 changes and change, that is, interrupting merging signal S1 can be anti- The variation of the logic level of any one of control signal S2, S3, S4 should be gone out to interrupt.With the high logic level of the tool and low logic position Quasi- interruptions controls signal S2, S3, S4 and respectively indicate the running of optical fiber data Transmit-Receive Unit 13,14,15, and to be normal or abnormal be Example if the logic level for interrupting control signal S2 changes, such as changes into low logic level by high logic level, interrupts and merge letter The logical bit criterion of number S1 changes correspondingly;Similarly, it if the logic level for interrupting control signal S3 changes, interrupts and merges signal S1's Logic level also changes correspondingly, and then the rest may be inferred repeats no more for remaining.Base this, when in optical fiber data Transmit-Receive Unit 13,14,15 When the running of any one is abnormal or changes, the logic level for interrupting merging signal S1 is changed correspondingly.
Then, logic unit 11, which exports to interrupt by its output end, merges signal S1, and processing unit 12 receives logic unit The interruption of 11 outputs merges signal S1, and whether processing unit 12 changes (step according to the logic level for interrupting merging signal S1 S03) judge whether the running of each optical fiber data Transmit-Receive Unit 13,14,15 is abnormal or changes, such as: processing Unit 12, which judges to interrupt, merges whether signal S1 from high logic level is changed to low logic level, judges that each optical fiber data is received whereby Whether the running of bill member 13,14,15 is abnormal or changes.If processing unit 12, which is judged to interrupt, merges signal S1's Logic level changes (being judged as "Yes"), and processing unit 12 executes an interrupt routine (step S04) to judge that optical fiber data is received and dispatched The running of which one in unit 13,14,15 is abnormal or changes, and processing unit 12 can be abnormal according to running Or the data R-T unit to change performs corresponding processing.
Base this, when the running of optical fiber data Transmit-Receive Unit 13,14,15 is abnormal or changes, network exchange dress It sets the optical fiber data that 1 can be abnormal or change to running by the higher interrupt routine of priority in real time and receives and dispatches list Member is disposed accordingly, to meet the optical-fibre communications application of high speed.Also, processing unit 12 is to interrupt merging signal S1 hair Begin to judge that the running of which one in optical fiber data Transmit-Receive Unit is abnormal or changes after raw change, processing unit 12 is simultaneously It does not need continuously and regularly to judge whether the running of each optical fiber data Transmit-Receive Unit is abnormal or changes, The processing load of processing unit 12 can so be reduced.
In this present embodiment, optical fiber data Transmit-Receive Unit 13,14,15 can support 1 Gb/s, 10 Gb/s or 40 Gb/s Fiber transmission speeds, and optical fiber data Transmit-Receive Unit 13,14,15 can be to meet small package hot plug (Small form- factor pluggable;SFP) the transceiver of specification, optical fiber data Transmit-Receive Unit 13,14,15 can be further connected to electronics Device, such as server or personal computer, to realize the Wan Zhaoyi too net of data center, enterprise's distribution cabinet and service provider Transmission etc..
In this present embodiment, when processing unit 12 judges the fortune of which one in optical fiber data Transmit-Receive Unit 13,14,15 After being abnormal or changing, 12 controllable logic unit 11 of processing unit re-execute the steps S02 to exclude to operate Interruption transmitted by the optical fiber data Transmit-Receive Unit for being abnormal or changing controls signal and merges other runnings and do not occur Interruption control signal transmitted by exception or the optical fiber data Transmit-Receive Unit not changed, to generate the another of example as shown in Figure 4 One interrupts merging signal S5, that is, logic unit 11 does not receive and dispatch list according to the optical fiber data that running is abnormal or changes Interruption transmitted by member controls signal to carry out signal merging, is abnormal with the running in a wherein optical fiber data Transmit-Receive Unit Or after changing, logic unit 11 can also export the optical fiber data that can be reacted other no exceptions or not change and receive The interruption whether running of bill member is abnormal or changes merges signal S5.For example, it is received and dispatched with optical fiber data single For member 13 is abnormal, processing unit 12 can judge that the transmitting-receiving of optical fiber data is single in the interrupt routine performed by step S04 Member 13 is abnormal, at this point, 12 control logic unit 11 of processing unit excludes to interrupt control signal when re-executeing the steps S02 S2 and merge interruption control signal S3, S4 be another interruptions merging signal S5.The interruption control foot position 121 of processing unit 12 connects again Receive interrupt merge signal S5, and when re-executeing the steps S03 according to interrupt merge signal S5 logic level whether change come The operating state for the optical fiber data Transmit-Receive Unit 14,15 that judgement running has not occurred exception or changes is received and dispatched in optical fiber data Unit 13 is abnormal whether be abnormal or change later, that is, processing unit 12 can be received and dispatched in either fiber data Continued operation after the running of unit is abnormal or changes, the optical fiber data transmitting-receiving for not being abnormal or being changed The influence of unit can still judge the optical fiber data Transmit-Receive Unit that other have not occurred exception and operating state does not change Whether running is abnormal or changes.
On the implementation, a shielding (mask) array is stored in logic unit 11, mask array includes three masking values, respectively Masking value is corresponded in optical fiber data Transmit-Receive Unit 13,14,15(description for convenience, below distinguishes three masking values Referred to as the first masking value, secondary shielding value and third masking value, and the first masking value, secondary shielding value and third masking value are point Not Dui Yingyu optical fiber data Transmit-Receive Unit 13,14,15).Also, the first masking value, secondary shielding value and third masking value can quilts It is respectively set as with an enabled status or there is a disabled state, logic unit 11 is in step S02 further according to forbidden energy The masking value of state merges signal to generate to interrupt.Base this, first masking value, secondary shielding value and third masking value are default For with disabled state, logic unit 11 is to generate interruption according to interruption control signal S2, S3, S4 defaultly in step S02 Merge signal S1, when processing unit 12 judges that the running of optical fiber data Transmit-Receive Unit 13 is abnormal, 12 meeting of processing unit Control logic unit 11 sets the masking value for the optical fiber data Transmit-Receive Unit for being abnormal or changing corresponding to running to cause Energy state (step S05), that is, 12 control logic unit 11 of processing unit set the first masking value with enabled status, make to patrol Unit 11 is collected when re-executeing the steps S02 according only to secondary shielding value and the generation interruption of third masking value with disabled state Merge signal S5.Base this, processing unit 12 whether can be abnormal according to the running of optical fiber data Transmit-Receive Unit 13,14,15 or It changes and carrys out the setting masking value of control logic unit 11 and generate different interruptions and merge signal S1, S5, in either fiber Continued operation after the running of data Transmit-Receive Unit is abnormal or changes temporarily ignores the light for being abnormal or changing Fine data Transmit-Receive Unit is not influenced by the optical fiber data Transmit-Receive Unit for being abnormal or changing, can still judge it Whether the running for the optical fiber data Transmit-Receive Unit that he has not occurred exception and operating state does not change is abnormal or occurs Change.
In this present embodiment, interrupting control signal S2, S3, S4 is default with high logic level, if optical fiber data is received and dispatched The running of unit 13,14,15 is abnormal or changes, and optical fiber data Transmit-Receive Unit 13,14,15 is exported again with low logic The interruption of level controls signal S2, S3, S4.In this, logic unit 11 can be carried out to control signal S2, S3, S4 is interrupted and (AND) The logical operation of lock, and generating default is that there is the interruption of high logic level to merge signal S1.If interruption control signal S2, Any one of S3, S4 are due to the running of optical fiber data Transmit-Receive Unit 13,14,15 is abnormal or changes from high logical bit Standard is changed to low logic level, interrupts merging signal S1 and is then changed to low logic level by high logic level therewith.Base this, processing Unit 12 can be detected in step S03 interrupts whether the logic level for merging signal S1 by high logic level is changed to low logic position Standard, to judge whether the running of either fiber data Transmit-Receive Unit 13,14,15 is abnormal or changes.
Further, by taking the running of the optical fiber data Transmit-Receive Unit 13 is abnormal or changes as an example, in processing unit 12 merge signal S1 according to the interruption of tool low logic level judges that the running of optical fiber data Transmit-Receive Unit 13 is sent out in step S04 Raw exception or after changing, 12 controllable logic unit 11 of processing unit excludes to interrupt control signal S2, and it is high to generate tool The interruption of logic level merges signal S5, and whether processing unit 12 judges to interrupt again the logic level for merging signal S5 by high logic Position turns to be changed to low logic level, further to judge that optical fiber data is received after logic unit 11 excludes to interrupt and controls signal S2 Whether the running of bill member 14,15 is abnormal or changes.Then, if any in optical fiber data Transmit-Receive Unit 14,15 The running of person is abnormal or changes, and signal S3 can be controlled according to the interruption with low logic level by interrupting merging signal S5 Or interrupt control signal S4 and be changed to low logic level from high logic level, make processing unit 12 according to low logic level Interruption merge signal S5 and execute another interrupt routine, any one in optical fiber data Transmit-Receive Unit 14,15 further judged Running be abnormal or change.
It holds, after 12 control logic unit 11 of processing unit excludes to interrupt control signal S2, processing unit 12 can be into One step control logic unit 11 judges to interrupt control signal S2 whether from the supreme logic level of low logic level recovery, to judge light Whether the operating state of fine data Transmit-Receive Unit 13 restores, such as restores from abnormal operation state to normal operating conditions.If It interrupts control signal S2 and restores supreme logic level from low logic level, indicate that the running of optical fiber data Transmit-Receive Unit 13 restores, First masking value is reset and has preset disabled state by 12 controllable logic unit 11 of processing unit at this time, makes logic list Member 11, which generates to interrupt again according to the first masking value, secondary shielding value and third masking value with disabled state, merges signal S1。
Fig. 5 is the schematic diagram of another embodiment of network-switching equipment according to the present invention.It please refers to shown in Fig. 5, network Switch 1 further includes a Datagram Transmit-Receive Unit 16, and Datagram Transmit-Receive Unit 16 can be a network exchanging chip (Switch Chip) or socket card (network interface card;NIC).16 coupling of Datagram Transmit-Receive Unit It connects between processing unit 12 and optical fiber data Transmit-Receive Unit 13,14,15.Datagram Transmit-Receive Unit 16 is quick by having Peripheral hardware interconnection standard (PCI Express;PCIE) the PCIE bus 19 at interface is coupled to processing unit 12, and Datagram is received and dispatched Unit 16 is by transmission data bus (Tx Data Bus) 171,172,173 and to receive data bus (Rx Data Bus) 181,182,183 it is coupled to optical fiber data Transmit-Receive Unit 13,14,15.Datagram Transmit-Receive Unit 16 can be total by the data of reception Line 181,182,183 receives the reception Datagram from optical fiber data Transmit-Receive Unit 13,14,15 respectively, then by PCIE Interface 19 is sent to processing unit 12 for Datagram is received.Also, Datagram Transmit-Receive Unit 16 can be by the interface PCIE 19 The transmission Datagram from processing unit 12 is received, then data envelope will be transmitted by transmission data bus 171,172,173 Packet is sent to optical fiber data Transmit-Receive Unit 13,14,15.Base this, processing unit 12 and optical fiber data Transmit-Receive Unit 13,14,15 it Between data bus 171,172,173,181,182,183 with interrupt control signal S2, S3, S4 and interrupt merge signal S1, Be between the transmitting route of S5 be it is separated, handled through logic unit 11 interruption control signal S2, S3, S4 and return interruption close And signal S1, S5 be to processing unit 12, can avoid need to expanding on Datagram Transmit-Receive Unit 16 interruption control signal S2, S3, The reception foot position of S4, and the avoidable Datagram Transmit-Receive Unit 16 that expands need to send the interruption merging signal for meeting the interface PCIE 19 The function of S1, S5 to processing unit 12.
In this present embodiment, the exception that optical fiber data Transmit-Receive Unit 13,14,15 is occurred can be optical fiber data Transmit-Receive Unit 13,14,15 certain numerical value (such as the voltage or temperature) exceptions supervised or optical fiber data Transmit-Receive Unit 13,14,15 are connect The optical fiber package of receipts is abnormal.
In this present embodiment, the running of optical fiber data Transmit-Receive Unit 13,14,15, which changes, to be inserted into for fiber-optic signal line The optical fiber Port 131,141,151 of optical fiber data Transmit-Receive Unit 13,14,15.Optical fiber data Transmit-Receive Unit 13,14,15 can be Fiber-optic signal line is sent when being inserted into optical fiber Port 131,141,151 of optical fiber data Transmit-Receive Unit 13,14,15 has low logic Status signal S2, S3, S4 of level execute interrupt routine to trigger processing unit 12.
Furthermore logic unit 11 more receives the plug signal from optical fiber data Transmit-Receive Unit 13,14,15, plug Signal be indicate fiber-optic signal line be insertion or be not inserted into optical fiber data Transmit-Receive Unit 13,14,15 optical fiber Port 131, 141,151.For example, if fiber-optic signal line is not inserted into optical fiber Port 131,141,151, optical fiber data Transmit-Receive Unit 13, 14,15 the plug signal for having high logic level can be sent respectively, if fiber-optic signal line is inserted into optical fiber Port 131,141,151, Optical fiber data Transmit-Receive Unit 13,14,15 can send the plug signal of tool low logic level respectively.Base this, sentence in processing unit 12 After the disconnected logic level for interrupting merging signal S1 out changes, processing unit 12 more can receive and dispatch list according to from each optical fiber data Whether the logic level of the plug signal of member 13,14,15 changes further to differentiate optical fiber data Transmit-Receive Unit 13,14,15 Running is to be abnormal or fiber-optic signal line insertion optical fiber Port 131,141,151, and can determine whether out that fiber-optic signal line is Any one being inserted into optical fiber Port 131,141,151.
In conclusion inventive network switch and its operation method, according to the network-switching equipment and its fortune of this case Make an embodiment of method, the processing unit of network-switching equipment does not need continuously and regularly to judge each optical fiber Whether the running of data Transmit-Receive Unit is abnormal or changes, and processing unit is begun after interrupting merging signal and changing Judge that the running of which one in optical fiber data Transmit-Receive Unit is abnormal or changes, can so reduce its processing load, And also it can temporarily ignore the optical fiber data Transmit-Receive Unit for operating and being abnormal or changing by interrupt routine in real time simultaneously It is disposed accordingly, to meet the optical-fibre communications application of high speed.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.

Claims (12)

1. a kind of network-switching equipment, characterized by comprising:
Several optical fiber data Transmit-Receive Units, each optical fiber data Transmit-Receive Unit is according to the fortune of the respectively optical fiber data Transmit-Receive Unit Control signal is interrupted in the generation one that whether is abnormal or changes;
One logic unit is coupled to those optical fiber data Transmit-Receive Units, to receive from the respectively optical fiber data Transmit-Receive Unit The interruption control signal, the logic unit will from the interruption of the respectively optical fiber data Transmit-Receive Unit control signal merge into One interrupts merging signal;And
One processing unit is coupled to the logic unit, which has one to interrupt control foot position, and interruption control foot position connects It receives the interruption and merges signal, which judges whether the logic level of interruption merging signal changes, and is appointed with judgement Whether the running of the one optical fiber data Transmit-Receive Unit is abnormal or changes, if the processing unit judges that the interruption merges The logic level of signal changes, which executes an interrupt routine and judge that those optical fiber provide in the interrupt routine The running of which one in material Transmit-Receive Unit is abnormal or changes.
2. network-switching equipment according to claim 1, which is characterized in that the processing unit is to control the logic unit to sentence Whether the logic level of the disconnected interruption control signal from the respectively optical fiber data Transmit-Receive Unit changes, to judge those The running of which one in optical fiber data Transmit-Receive Unit is abnormal or changes, when the processing unit judges those optical fiber When the running of one first optical fiber data Transmit-Receive Unit in data Transmit-Receive Unit is abnormal or changes, the processing unit control Make the logic unit exclude from the first optical fiber data Transmit-Receive Unit one first interrupt control signal and merge from The interruption control signal of other optical fiber data Transmit-Receive Units in those optical fiber data Transmit-Receive Units is that another interruption merges signal, So that the logic unit is exported another interruption and merges signal to interruption control foot position.
3. network-switching equipment according to claim 2, which is characterized in that the logic unit stores a mask array, The mask array includes several masking values, and the running that respectively masking value is respectively corresponding to the respectively optical fiber data Transmit-Receive Unit is not sent out A disabled state that is raw abnormal and not changing, the logic unit are according to default respectively masking value with the disabled state And according to from each optical fiber data Transmit-Receive Unit the interruption control signal generate the interruption merge signal, when this first When the running of optical fiber data Transmit-Receive Unit is abnormal or changes, the processing unit will correspond in those masking values this One first masking value of one optical fiber data Transmit-Receive Unit is changed into from the disabled state with an enabled status, and the logic list is caused Member excludes the first interruption control signal according to other masking values in those masking values with the disabled state, to merge it It is that another interruption merges signal that he, which interrupts control signal,.
4. network-switching equipment according to claim 2, which is characterized in that from the respectively optical fiber data Transmit-Receive Unit Interruption control signal is that have a logic of propositions level, when the first interruption control signal is changed to from the logic of propositions level After other logic levels, which controls the logic unit and excludes the first interruption control signal, also, in the logic After unit excludes the first interruption control signal, if the first interruption control signal restores to the logic of propositions level, this is patrolled It collects unit and signal is controlled according to the first respectively interruption for interrupting control signal and the generation of other optical fiber data Transmit-Receive Units again It generates another interruption and merges signal.
5. network-switching equipment according to claim 1, which is characterized in that from each optical fiber data Transmit-Receive Unit Interruption control signal be it is default there is high logic level, the logic unit is to from each optical fiber data Transmit-Receive Unit Interruption control signal carry out and lock operation to generate default interruption with high logic level merges signal, the processing unit Judge that the interruption merges whether signal from high logic level is changed to low logic level, to judge the respectively optical fiber data Transmit-Receive Unit Running whether be abnormal or change.
6. network-switching equipment according to claim 1, which is characterized in that if the processing unit judges that the interruption merges The logic level of signal changes, and the processing unit is more according to the plug signal from the respectively optical fiber data Transmit-Receive Unit Logic level whether change with differentiate a fiber-optic signal line whether be inserted into any optical fiber data Transmit-Receive Unit an optical fiber connect Connect port.
7. a kind of operation method of network-switching equipment, characterized by comprising:
One logic unit receives several from several optical fiber data Transmit-Receive Units and interrupts control signal, wherein respectively the interruption controls Whether signal is to react the operating state of the respectively optical fiber data Transmit-Receive Unit to be abnormal or change;
The logic unit will merge into an interruption from the interruption of respectively optical fiber data Transmit-Receive Unit control signal and merge letter Number;
The one of one processing unit interrupts control foot position and receives interruption merging signal;
The processing unit judges whether the logic level of interruption merging signal changes;And
If the processing unit judges that the logic level of interruption merging signal changes, which executes one and interrupts journey Sequence simultaneously judges that the running of which one in those optical fiber data Transmit-Receive Units is abnormal or changes in the interrupt routine.
8. the operation method of network-switching equipment according to claim 7, which is characterized in that the processing unit judges those In the step of running of which one in optical fiber data Transmit-Receive Unit is abnormal or changes, which is that control should Logic unit judges whether the logic level of the interruption control signal from the respectively optical fiber data Transmit-Receive Unit changes, To judge that the running of which one in those optical fiber data Transmit-Receive Units is abnormal or changes, if the processing unit judges The running of one first optical fiber data Transmit-Receive Unit in those optical fiber data Transmit-Receive Units is abnormal or changes out, the net The operation method of network switch further includes:
The processing unit controls the logic unit and excludes to interrupt control from the one first of the first optical fiber data Transmit-Receive Unit Signal and the interruption control signal for merging other optical fiber data Transmit-Receive Units in those optical fiber data Transmit-Receive Units is Another interruption merges signal;And
Interruption control foot position receives another interruption and merges signal.
9. the operation method of network-switching equipment according to claim 8, which is characterized in that the logic unit stores one Mask array, the mask array include several masking values, and respectively the masking value is respectively corresponding to the respectively optical fiber data Transmit-Receive Unit Running no exceptions and the disabled state that does not change, will be received and dispatched from the respectively optical fiber data in the logic unit The interruption control signal of unit was merged into the step of interruption merges signal, which is to have the taboo according to default Can state the respectively masking value and according to from each optical fiber data Transmit-Receive Unit the interruption control signal generate in this It is disconnected to merge signal;
When the running of the first optical fiber data Transmit-Receive Unit is abnormal or changes, the running side of the network-switching equipment Method further includes:
The processing unit will correspond to one first masking value of the first optical fiber data Transmit-Receive Unit from the taboo in those masking values Energy state changes into an enabled status, and causing the logic unit is that basis should in generating the step of another interruption merges signal The first interruption control signal is excluded for other masking values of the disabled state in a little masking values, interrupts control to merge other Signal is that another interruption merges signal.
10. the operation method of network-switching equipment according to claim 8, which is characterized in that provided from the respectively optical fiber The interruption control signal of material Transmit-Receive Unit is that have a logic of propositions level, in the step of excluding the first interruption control signal In, the processing unit be control the logic unit exclude other logic levels for being different from the logic of propositions level this One interrupts control signal, after the logic unit excludes the first interruption control signal, the running side of the network-switching equipment Method further includes:
The processing unit controls the logic unit and judges whether the first interruption control signal restores to the logic of propositions level;And
If the first interruption control signal restores to the logic of propositions level, the logic unit is again according to the first optical fiber data Transmit-Receive Unit and other optical fiber data Transmit-Receive Units generate another interruption and merge signal.
11. the operation method of network-switching equipment according to claim 7, which is characterized in that from each optical fiber The interruption control signal of data Transmit-Receive Unit is default with high logic level, will be from the respectively optical fiber in the logic unit Data Transmit-Receive Unit the interruption control signal merge into the interruption merge signal the step of in, the logic unit be to from Respectively the interruption control signal of the optical fiber data Transmit-Receive Unit carries out and lock operation is to generate default being somebody's turn to do with high logic level It interrupts and merges signal.
12. the operation method of network-switching equipment according to claim 7, which is characterized in that processing unit judgement should In the step of running of which one in a little optical fiber data Transmit-Receive Units is abnormal or changes, which is basis Whether change from the logic level of a plug signal of the respectively optical fiber data Transmit-Receive Unit to judge that those optical fiber data are received The running of which one in bill member changes.
CN201810446193.1A 2018-05-11 2018-05-11 Network switching device and operation method thereof Active CN110474686B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810446193.1A CN110474686B (en) 2018-05-11 2018-05-11 Network switching device and operation method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810446193.1A CN110474686B (en) 2018-05-11 2018-05-11 Network switching device and operation method thereof

Publications (2)

Publication Number Publication Date
CN110474686A true CN110474686A (en) 2019-11-19
CN110474686B CN110474686B (en) 2022-09-16

Family

ID=68504249

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810446193.1A Active CN110474686B (en) 2018-05-11 2018-05-11 Network switching device and operation method thereof

Country Status (1)

Country Link
CN (1) CN110474686B (en)

Citations (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4850045A (en) * 1987-11-02 1989-07-18 Amp Incorporated Method and apparatus for testing fiber optic hubs
EP0820012A2 (en) * 1996-06-05 1998-01-21 Compaq Computer Corporation Fault isolation
EP0964536A2 (en) * 1998-06-09 1999-12-15 Jds Fitel Inc. Fault detection system for an amplified optical transmission system
JP2001154982A (en) * 1999-11-24 2001-06-08 Toshiba Corp Computer system
US20010003484A1 (en) * 1999-12-09 2001-06-14 Yoshitaka Fujita Optical line protection device and optical line protection method
JP2003162432A (en) * 2001-11-27 2003-06-06 Canon Inc Interrupt information recording apparatus
US20030161629A1 (en) * 2000-01-31 2003-08-28 Massimo Frascolla Linear optical transmission system with failure protection
US20040033079A1 (en) * 2002-06-04 2004-02-19 Sheth Samir Satish Flexible, dense line card architecture
US20040236879A1 (en) * 2003-05-23 2004-11-25 Daren Croxford Handling interrupts in a system having multiple data processing units
US20050105913A1 (en) * 2003-11-14 2005-05-19 Fuji Xerox Co., Ltd. Signal transmission device
EP1698972A2 (en) * 2005-03-01 2006-09-06 Seiko Epson Corporation Processor and information processing method
CN1838011A (en) * 2006-04-04 2006-09-27 西安电子科技大学 Intelligent management apparatus and management method for distributed control network based on CAN bus
CN101004671A (en) * 2006-01-20 2007-07-25 佛山市顺德区顺达电脑厂有限公司 Computer system possessing multiple sets of man machine operation interface
CN101783990A (en) * 2010-01-06 2010-07-21 惠州Tcl移动通信有限公司 Linear control system, linear control device and linear control method of mobile equipment
CN103368649A (en) * 2012-03-27 2013-10-23 北京华美煜力电力技术有限公司 Anti-interference transmission system for remote control signals of power grid
US20140267546A1 (en) * 2013-03-15 2014-09-18 Yunmi Kwon Mobile terminal and controlling method thereof
CN105468495A (en) * 2015-11-20 2016-04-06 英业达科技有限公司 Complex programmable logic array control device
CN106155260A (en) * 2015-05-14 2016-11-23 广达电脑股份有限公司 The system of server and management method and computer-readable recording medium
TW201723698A (en) * 2015-12-16 2017-07-01 英業達股份有限公司 Complex programmable logic controlling device
CN107770904A (en) * 2016-08-15 2018-03-06 福特全球技术公司 Detect the interruption of LED assembly
CN207339628U (en) * 2017-09-06 2018-05-08 嘉兴磐建电器有限公司 A kind of DTU power supplys

Patent Citations (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4850045A (en) * 1987-11-02 1989-07-18 Amp Incorporated Method and apparatus for testing fiber optic hubs
EP0820012A2 (en) * 1996-06-05 1998-01-21 Compaq Computer Corporation Fault isolation
EP0964536A2 (en) * 1998-06-09 1999-12-15 Jds Fitel Inc. Fault detection system for an amplified optical transmission system
JP2001154982A (en) * 1999-11-24 2001-06-08 Toshiba Corp Computer system
US20010003484A1 (en) * 1999-12-09 2001-06-14 Yoshitaka Fujita Optical line protection device and optical line protection method
US20030161629A1 (en) * 2000-01-31 2003-08-28 Massimo Frascolla Linear optical transmission system with failure protection
JP2003162432A (en) * 2001-11-27 2003-06-06 Canon Inc Interrupt information recording apparatus
US20040033079A1 (en) * 2002-06-04 2004-02-19 Sheth Samir Satish Flexible, dense line card architecture
US20040236879A1 (en) * 2003-05-23 2004-11-25 Daren Croxford Handling interrupts in a system having multiple data processing units
US20050105913A1 (en) * 2003-11-14 2005-05-19 Fuji Xerox Co., Ltd. Signal transmission device
EP1698972A2 (en) * 2005-03-01 2006-09-06 Seiko Epson Corporation Processor and information processing method
CN101004671A (en) * 2006-01-20 2007-07-25 佛山市顺德区顺达电脑厂有限公司 Computer system possessing multiple sets of man machine operation interface
CN1838011A (en) * 2006-04-04 2006-09-27 西安电子科技大学 Intelligent management apparatus and management method for distributed control network based on CAN bus
CN101783990A (en) * 2010-01-06 2010-07-21 惠州Tcl移动通信有限公司 Linear control system, linear control device and linear control method of mobile equipment
CN103368649A (en) * 2012-03-27 2013-10-23 北京华美煜力电力技术有限公司 Anti-interference transmission system for remote control signals of power grid
US20140267546A1 (en) * 2013-03-15 2014-09-18 Yunmi Kwon Mobile terminal and controlling method thereof
CN106155260A (en) * 2015-05-14 2016-11-23 广达电脑股份有限公司 The system of server and management method and computer-readable recording medium
CN105468495A (en) * 2015-11-20 2016-04-06 英业达科技有限公司 Complex programmable logic array control device
TW201723698A (en) * 2015-12-16 2017-07-01 英業達股份有限公司 Complex programmable logic controlling device
CN107770904A (en) * 2016-08-15 2018-03-06 福特全球技术公司 Detect the interruption of LED assembly
CN207339628U (en) * 2017-09-06 2018-05-08 嘉兴磐建电器有限公司 A kind of DTU power supplys

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
杨政等: "一种中断信号产生方法在ARINC419收发系统中的应用", 《计算机测量与控制》 *

Also Published As

Publication number Publication date
CN110474686B (en) 2022-09-16

Similar Documents

Publication Publication Date Title
CN106603265B (en) Management method, network device, and non-transitory computer-readable medium
CN1976350B (en) Method and device for distribution computing system
CN101488878B (en) Intelligence platform interface management apparatus and server
CN106789386B (en) Wrong method and the error detector for network system on detection communication bus
CN106649180A (en) Method and device for relieving I2C bus deadlock
US10649820B2 (en) Method of managing event generation for an industrial controller
CN107666415A (en) The optimization method and device of the protocol bridges of FC AE 1553
CN107302398A (en) A kind of USB3.0 Fiber Optic Extension cards based on PCI E
CN106126362B (en) A kind of optical module I2C bus unrest sequential diagnosis method and device
JP6428048B2 (en) COMMUNICATION SYSTEM, ABNORMALITY CONTROL DEVICE, AND ABNORMALITY CONTROL METHOD
CN110417464B (en) Fault processing method and device, computer device and readable storage medium
CN110474686A (en) Network-switching equipment and its operation method
CN106873545A (en) A kind of real-time multiprocessors system based on FPGA
KR102651714B1 (en) Nuclear power plant safety system-linked instrumentation and control device, method and system applying communication encryption and cyber detection engine
KR920004413B1 (en) Master slane type control system
CN108983695A (en) A kind of master-slave switching method and device based on Complex Programmable Logic Devices
CN101996150A (en) Data transfer control device and data transfer control method
CN207650328U (en) A kind of VR systems for power scheduling
CN103858105B (en) connection method
CN107294607A (en) A kind of USB3.1 Fiber Optic Extension cards based on PCI E
CN101410808A (en) Method of latent fault checking a management network
CN106326063B (en) A kind of substrate management control card and substrate
CN107659413B (en) Small-sized communication equipment
US10615870B2 (en) Network switch device and operating method therefor
CN207251624U (en) A kind of USB3.1 HUB transmitted at a distance based on optical fiber

Legal Events

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