WO2015158151A1 - 光包交换系统的链路确认方法、装置及系统 - Google Patents

光包交换系统的链路确认方法、装置及系统 Download PDF

Info

Publication number
WO2015158151A1
WO2015158151A1 PCT/CN2014/094313 CN2014094313W WO2015158151A1 WO 2015158151 A1 WO2015158151 A1 WO 2015158151A1 CN 2014094313 W CN2014094313 W CN 2014094313W WO 2015158151 A1 WO2015158151 A1 WO 2015158151A1
Authority
WO
WIPO (PCT)
Prior art keywords
link
optical
information
optical packet
alarm signal
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.)
Ceased
Application number
PCT/CN2014/094313
Other languages
English (en)
French (fr)
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to EP14889778.8A priority Critical patent/EP3122003B1/en
Publication of WO2015158151A1 publication Critical patent/WO2015158151A1/zh
Priority to US15/293,690 priority patent/US9813787B2/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q11/0066Provisions for optical burst or packet networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0677Localisation of faults
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/62Wavelength based
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0073Provisions for forwarding or routing, e.g. lookup tables
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0077Labelling aspects, e.g. multiprotocol label switching [MPLS], G-MPLS, MPAS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0079Operation or maintenance aspects
    • H04Q2011/0083Testing; Monitoring

Definitions

  • the present invention relates to the field of information technology, and in particular, to a link confirmation method, apparatus, and system for an optical packet switching system.
  • optical switching has begun to be gradually used.
  • the core optical packet switch of the optical packet switching system may deteriorate in performance of some internal switching units due to aging, etc., thereby causing an input port of the optical packet switch.
  • Some links between the output port and the output port fail, which in turn causes some optical packets to be unswitched to the correct output port. Therefore, in the process of optical switching, it is necessary to determine whether the switching link corresponding to the optical packet is normal.
  • a tester generated by the link validator is passed through the optical switch back to the link validator by adding a circulator to each input port and each output port of the optical packet switch.
  • the link validator generates N different test signals, and respectively couples the test signals to the circulator on the output side of the optical packet switch, and then the circulator on the input side of the optical packet switch tests the signal and the input.
  • the signal is separated and transmitted to the link validator.
  • the link validator compares the received test signal with the desired test signal to determine whether the corresponding switching link is normal.
  • the embodiment of the invention provides a link confirmation method, device and system for an optical packet switching system, which can reduce the cost of optical packet switching.
  • an embodiment of the present invention provides a link confirmation method for an optical packet switching system, including:
  • the control manager parses the routing information carried in the optical label of the optical packet before the switching;
  • the control manager generates reference optical tag information and an enable signal according to the routing information
  • the control manager sends the reference optical tag information and the enable signal to a link confirmer
  • the control manager determines whether an alert signal sent by the link confirmer is received
  • the control manager determines, according to the alarm signal, whether the link corresponding to the alarm signal is abnormal.
  • the reference optical label information is at least one type of information included in various information types of the routing information
  • the various types of information of the routing information include source port information, destination port information, packet length information, or priority information.
  • the enabling signal is used to trigger the link validator to perform an abnormal link Detection.
  • the control manager is Before the step of determining whether the link corresponding to the alarm signal is abnormal, the alarm signal further includes:
  • the control manager pairs The number of alarms of the link is increased by one operation
  • the control manager determines whether the number of alarms of the added link is greater than a preset threshold
  • the step of determining, by the control manager, whether the link corresponding to the alarm signal is abnormal according to the alarm signal includes:
  • the control manager determines that the link is abnormal.
  • the method further includes:
  • the control manager updates the status information of the link in the link state information table from normal to abnormal.
  • the method before the step of generating, by the control manager, the reference optical label information and the enable signal according to the routing information, the method further includes:
  • control manager After the step of determining, by the control manager, whether the alarm signal sent by the link confirmer is received, the control manager further includes:
  • the control manager When the enable signal is off, if the alarm signal sent by the link confirmer is not received, the control manager performs a zeroing operation on the number of alarms of the link.
  • the link is a link or a backup light in a primary optical packet switch a link in a packet switch;
  • control manager includes:
  • the control manager is configured according to the alarm signal corresponding to the link in the primary optical packet switch, Determining whether the link in the primary optical packet switch is abnormal;
  • the method further includes:
  • control manager sends a primary and secondary selection control signal to the optical packet switch, so that optical packet switching is performed by the standby optical packet switch;
  • the control manager is configured to generate an alarm signal corresponding to the link in the standby optical packet switch, Determining whether the link in the standby optical packet switch is abnormal.
  • the method further includes:
  • control manager updates the status information of the link in the link state information table from the normal update to the primary optical packet switch abnormality;
  • the method further includes:
  • the control manager If it is determined that the link in the standby optical packet switch is abnormal, the control manager abnormally updates the status information of the link in the link state information table from the primary optical packet switch to the standby optical packet exchange. The device is abnormal.
  • the method further includes:
  • the control manager generates a selection control signal according to the routing information, and sends the selection control signal to the link confirmer, where the selection control signal carries an identifier corresponding to an output port of the switched optical packet. information.
  • the first aspect or the first possible implementation of the first aspect, or the second possible implementation of the first aspect, or the third possible implementation of the first aspect, or the fourth aspect of the first aspect A possible implementation manner, or a fifth possible implementation manner of the first aspect, or a sixth possible implementation manner of the first aspect, or a seventh possible implementation manner of the first aspect, or the first aspect
  • the eighth possible implementation manner, in the ninth possible implementation manner of the first aspect after the step of the control manager parsing the routing information carried in the optical label of the optical packet before the switching, the method further includes:
  • the control manager calculates a next hop optical label of the switched optical packet according to the routing information, so that the switched optical packet and the next hop optical label are combined, and the next hop optical label For the exchange of light, the optical label corresponding to the next hop optical packet switch is included.
  • an embodiment of the present invention provides a link confirmation apparatus for an optical packet switching system, including:
  • a parsing unit configured to parse routing information carried in an optical label of the optical packet before switching
  • a generating unit configured to generate reference optical tag information and an enable signal according to the routing information parsed by the parsing unit
  • a sending unit configured to send the reference optical tag information and the enable signal generated by the generating unit to a link validator
  • a determining unit configured to determine, when the enable signal sent by the sending unit is turned on, whether an alert signal sent by the link confirmer is received;
  • a determining unit configured to determine, according to the alarm signal, whether the link corresponding to the alarm signal is abnormal, when the determining unit determines that the alarm signal sent by the link confirmer is received.
  • the reference optical tag information generated by the generating unit is at least one type of information included in various information types of the routing information;
  • the various types of information of the routing information include source port information, destination port information, packet length information, or priority information.
  • the enable signal generated by the generating unit is used to trigger the link validator to detect whether the link is abnormal.
  • the apparatus further includes: Arithmetic unit
  • the operation unit is configured to: when the determining unit determines that the alarm signal sent by the link confirmer is received, perform an operation of adding an alarm number of the link;
  • the determining unit is further configured to determine whether the number of alarms of the link after the operation unit is added is greater than a preset threshold
  • the determining unit is further configured to determine that the link is abnormal when the determining unit determines that the number of alarms of the added link is greater than the preset threshold.
  • the device further includes: an update unit;
  • the updating unit is configured to: when the determining unit determines that the link is abnormal, update status information of the link in the link state information table from normal to abnormal.
  • the second aspect or the first possible implementation of the second aspect, or the second possible implementation of the second aspect, or the third possible implementation of the second aspect, or the fourth aspect of the second aspect a possible implementation manner, in a fifth possible implementation manner of the second aspect
  • the determining unit is further configured to determine, according to the packet length information, an enable open duration, The enable open duration is used to determine a turn-off time of the enable signal;
  • the device further includes: an evaluation unit;
  • the determining unit is further configured to: when the enabling signal is turned off, and the determining unit determines that the alarm signal sent by the link confirmer is not received, zeroing the number of alarms of the link operating.
  • the second aspect or the first possible implementation of the second aspect, or the second possible implementation of the second aspect, or the third possible implementation of the second aspect, or the fourth aspect of the second aspect a possible implementation manner, or a fifth possible implementation manner of the second aspect, in a sixth possible implementation manner of the second aspect,
  • the link determined by the determining unit is a link in a primary optical packet switch or a link in a standby optical packet switch;
  • the determining unit is specifically configured to: when the determining unit determines that the alarm signal corresponding to the link in the primary optical packet switch sent by the link confirmer is received, according to the primary optical packet switch The alarm signal corresponding to the link determines whether the link in the primary optical packet switch is abnormal;
  • the sending unit is further configured to: when the determining unit determines that the link in the primary optical packet switch is abnormal, send a primary and secondary selection control signal to the optical packet switch;
  • the determining unit is further configured to: when the determining unit determines that the alarm signal corresponding to the link in the standby optical packet switch sent by the link confirmer is received, according to the standby optical packet switch The alarm signal corresponding to the link in the link determines whether the link in the standby optical packet switch is abnormal.
  • the updating unit is configured to: when the determining unit determines that the link in the primary optical packet switch is abnormal, update the status information of the link in the link state information table to be the main light by the normal update. Packet switch exception;
  • the updating unit is further configured to: when the determining unit determines the standby optical packet switch When the link in the link is abnormal, the state information of the link in the link state information table is abnormally updated from the primary optical packet switch to the standby optical packet switch abnormality.
  • the second aspect or the first possible implementation of the second aspect, or the second possible implementation of the second aspect, or the third possible implementation of the second aspect, or the fourth aspect of the second aspect A possible implementation manner, or a fifth possible implementation manner of the second aspect, or a sixth possible implementation manner of the second aspect, or a seventh possible implementation manner of the second aspect, In the eighth possible implementation,
  • the generating unit is further configured to generate, according to the routing information, a selection control signal, where the selection control signal carries identifier information corresponding to an output port of the switched optical packet;
  • the sending unit is further configured to send the selection control signal generated by the generating unit to the link validator.
  • the device further includes: a computing unit;
  • the calculating unit is configured to calculate, according to the routing information, a next hop optical label of the switched optical packet parsed by the parsing unit, where the next hop optical label is the next hop optical packet of the switched optical packet The optical label corresponding to the switch.
  • an embodiment of the present invention provides a link confirmation method for an optical packet switching system, including:
  • the link validator receives the reference optical tag information and the enable signal sent by the control manager;
  • the link validator parses the actual optical tag information carried in the optical tag of the optical packet after the optical tag according to the information type of the reference optical tag information;
  • the link validator determines whether an alarm signal is generated according to the actual optical tag information and the reference optical tag information
  • the link validator transmits the alert signal to the control manager.
  • the actual optical label information is the same as the information type of the reference optical label information.
  • the information type includes source port information, destination port information, packet length information, or priority information.
  • the reference optical tag information is at least one type of information included in the information type.
  • the link validator Before the step of determining whether to generate an alarm signal according to the actual optical label information and the reference optical label information, the method further includes:
  • the link validator calculates a degree of mismatch between the actual optical tag information and the reference optical tag information
  • the step of determining, by the link validator, whether to generate an alarm signal according to the actual optical label information and the reference optical label information includes:
  • the link confirmer determines whether the alarm signal is generated according to a degree of mismatch between the actual optical tag information and the reference optical tag information.
  • the link validator is configured according to the actual optical label information and the reference optical label information
  • the degree of mismatch, the step of determining whether the alarm signal is generated includes:
  • the link validator determines to generate the alarm signal
  • the link validator determines that the alert signal is not generated.
  • the link validator according to the information type of the reference optical label information, parsing the light of the optical packet after the exchange Before the step of carrying the actual optical label information carried in the label, the method further includes:
  • the link validator receives the selection control signal sent by the control manager, where the selection control signal carries the identification information corresponding to the output port of the switched optical packet;
  • the link validator selects an output port of the switched optical packet from a plurality of output ports according to the identifier information corresponding to the output port of the switched optical packet;
  • the step of the link validator analyzing the actual optical tag information carried in the optical tag of the optical packet after the optical tag is determined according to the information type of the reference optical tag information includes:
  • the link validator analyzes the actual optical tag information carried in the optical tag of the switched optical packet from the output port of the switched optical packet according to the reference optical tag information.
  • the exchange optical package is a light packet exchanged by the main optical packet switch or The spare optical packet switch exchanges the optical package
  • the link validator parses the actual optical tag information carried in the optical tag of the optical packet exchanged by the primary optical packet switch according to the reference optical tag information
  • the step of determining, by the link validator, whether to generate an alarm signal according to the actual optical label information and the reference optical label information includes:
  • the link validator parses the exchanged optical packet according to the reference optical label information
  • the steps of the actual optical tag information carried in the optical tag include:
  • the link validator parses the actual optical tag information carried in the optical tag of the optical packet exchanged by the standby optical packet switch according to the reference optical tag information
  • the step of determining, by the link validator, whether to generate an alarm signal according to the actual optical label information and the reference optical label information includes:
  • the link validator is carried in an optical label according to the optical packet exchanged by the primary optical packet switch
  • the actual optical label information and the reference optical label information further include:
  • the link validator When it is determined that the alarm signal corresponding to the link in the primary optical packet switch is generated, the link validator sends an alarm signal corresponding to the link in the primary optical packet switch to the control manager;
  • the method further includes:
  • the link validator When it is determined that the alarm signal corresponding to the link in the standby optical packet switch is generated, the link validator sends an alarm signal corresponding to the link in the standby optical packet switch to the control manager.
  • the link validator parses the reference light label information according to the After the step of changing the actual optical label information carried in the optical label of the optical package, the method further includes:
  • the link validator determines to generate the alert signal.
  • an embodiment of the present invention provides a link confirmation apparatus for an optical packet switching system, including:
  • a receiving unit configured to receive reference optical tag information and an enable signal sent by the control manager
  • the parsing unit is configured to parse the actual optical label information carried in the optical label of the optical packet after the exchange according to the information type of the reference optical label information received by the receiving unit;
  • a determining unit configured to determine, according to the actual optical tag information parsed by the parsing unit and the reference optical tag information received by the receiving unit, when the enabling signal received by the receiving unit is turned on, Alarm signal
  • a sending unit configured to send the alarm signal to the control manager when the determining unit determines to generate the alarm signal.
  • the actual optical tag information parsed by the parsing unit is the same as the information type of the reference optical tag information received by the receiving unit.
  • the information type includes source port information, destination port information, packet length information, or priority information.
  • the reference optical tag information received by the receiving unit is at least one type of information included in the information type.
  • the device further includes: Computing unit
  • the calculating unit is configured to calculate a degree of mismatch between the actual optical tag information parsed by the parsing unit and the reference optical tag information received by the receiving unit;
  • the determining unit is specifically configured to determine whether the alarm signal is generated according to a degree of mismatch between the actual optical tag information calculated by the calculating unit and the reference optical tag information.
  • the determining unit is configured to: when the degree of mismatch between the actual optical label information and the reference optical label information is greater than a preset threshold, determine to generate the alarm signal;
  • the determining unit is further configured to: when the degree of mismatch between the actual optical label information and the reference optical label information is less than or equal to the preset threshold, determine that the alarm signal is not generated.
  • the fourth aspect or the first possible implementation of the fourth aspect, or the second possible implementation of the fourth aspect, or the third possible implementation of the fourth aspect, or the fourth aspect of the fourth aspect a possible implementation manner, in a fifth possible implementation manner of the fourth aspect,
  • the receiving unit is further configured to receive a selection control signal sent by the control manager, where the selection control signal carries identifier information corresponding to an output port of the switched optical packet;
  • the device further includes: a selection unit;
  • the selecting unit is configured to select an output port of the switched optical packet from a plurality of output ports according to the identifier information corresponding to the output port of the switched optical packet received by the receiving unit;
  • the parsing unit is configured to parse the actual optical label information carried in the optical label of the switched optical packet from the output port of the switched optical packet selected by the selecting unit according to the reference optical label information. .
  • the fourth aspect or the first possible implementation of the fourth aspect, or the second possible implementation of the fourth aspect, or the third possible implementation of the fourth aspect, or the fourth aspect of the fourth aspect a possible implementation manner, or a fifth possible implementation manner of the fourth aspect, in a sixth possible implementation manner of the fourth aspect,
  • the exchanged optical packet parsed by the parsing unit is a light packet exchanged by the main optical packet switch or
  • the spare optical packet switch exchanges the optical package
  • the parsing unit is configured to parse the actual optical label information carried in the optical label of the optical packet exchanged by the primary optical packet switch according to the reference optical label information;
  • the determining unit is specifically configured to determine whether to generate the primary optical packet switch according to the actual optical label information and the reference optical label information carried in the optical label of the optical packet exchanged by the primary optical packet switch The alarm signal corresponding to the link.
  • the parsing unit is further configured to parse the actual optical label information carried in the optical label of the optical packet exchanged by the standby optical packet switch according to the reference optical label information;
  • the determining unit is further configured to determine whether to generate the standby optical packet switch according to the actual optical label information and the reference optical label information carried in the optical label of the optical packet exchanged by the standby optical packet switch.
  • the alarm signal corresponding to the link.
  • the sending unit is further configured to: when the determining unit determines to generate an alarm signal corresponding to the link in the primary optical packet switch, send an alarm signal corresponding to the link in the primary optical packet switch to The control manager;
  • the sending unit is further configured to: when the determining unit determines to generate an alarm signal corresponding to the link in the standby optical packet switch, send an alarm signal corresponding to the link in the standby optical packet switch to The control manager.
  • the fourth aspect or the first possible implementation of the fourth aspect, or the second possible implementation of the fourth aspect, or the third possible implementation of the fourth aspect, or the fourth aspect of the fourth aspect A possible implementation manner, or a fifth possible implementation manner of the fourth aspect, or a sixth possible implementation manner of the fourth aspect, or a seventh possible implementation manner of the fourth aspect, or the fourth aspect
  • the determining unit is further configured to: when the enable signal received by the receiving unit is turned off, if the actual optical tag information carried in the optical tag of the optical packet after the optical packet cannot be parsed, determine that the alarm signal is generated.
  • an embodiment of the present invention provides a link confirmation system of an optical packet switching system, including: a control manager and a link confirmer;
  • the control manager is configured to parse the routing information carried in the optical label of the optical packet before the switching, and generate reference optical label information and an enabling signal according to the routing information;
  • the control manager is further configured to send the reference optical tag information and the enable signal to a link validator;
  • the link validator is configured to receive the reference optical label information and the enable signal sent by the control manager, and analyze the actual information carried in the optical label of the switched optical packet according to the information type of the reference optical label information.
  • Optical label information
  • the link validator is further configured to: determine, according to the actual optical tag information and the reference optical tag information, whether an alarm signal is generated when the enable signal is turned on, and when it is determined that the alarm signal is generated, Sending the alarm signal to the control manager;
  • the control manager is further configured to: when the enable signal is turned on, determine whether an alarm signal sent by the link confirmer is received, and if the alarm signal sent by the link confirmer is received, Determining, according to the alarm signal, whether the link corresponding to the alarm signal is abnormal.
  • the method, device and system for confirming the link of the optical packet switching system provided by the embodiment of the present invention firstly, the control manager generates reference optical label information and an enable signal, and sends the information to the link confirmer; and then when the enable signal is turned on, The link confirmer determines whether an alarm signal is generated according to the analyzed actual optical label information and the received reference optical label information. If it is determined that the alarm signal is generated, the alarm signal is sent to the control manager; finally, the control manager receives the alarm according to the received alarm. The signal further determines whether the link corresponding to the alarm signal is abnormal.
  • the test signal exchanged by the optical packet switch is currently coupled with the circulator at each output port of the optical packet switch, and the test is exchanged by the optical packet switch at the circulator of each input port of the optical packet switch.
  • the embodiment of the present invention obtains the optical label before being exchanged by the optical packet switch and the light exchanged by the optical packet switch.
  • the tag can avoid the coupling of the test signals through the circulators of the respective output ports of the optical packet switch, and can avoid the separation of the test signals through the circulators of the respective input ports of the optical packet switch, thereby reducing the cost of optical packet switching.
  • FIG. 1 is a structural diagram of a link confirmation system of an optical packet switching system according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a link confirmation method of an optical packet switching system according to Embodiment 1 of the present invention
  • FIG. 3 is a schematic structural diagram of a link confirming apparatus of an optical packet switching system according to Embodiment 1 of the present invention.
  • FIG. 4 is a schematic structural diagram of a control manager according to Embodiment 1 of the present invention.
  • FIG. 5 is a flowchart of a link confirmation method of an optical packet switching system according to Embodiment 2 of the present invention.
  • FIG. 6 is a schematic structural diagram of a control manager according to Embodiment 2 of the present invention.
  • FIG. 7 is a schematic diagram of an enable signal according to Embodiment 2 of the present invention.
  • FIG. 8 is a schematic structural diagram of another control manager according to Embodiment 2 of the present invention.
  • FIG. 9 is a schematic structural diagram of an optical packet switch according to Embodiment 2 of the present invention.
  • FIG. 10 is a flowchart of determining whether a link is abnormal according to Embodiment 2 of the present invention.
  • FIG. 11 is a block diagram of a link confirmation system of a multi-hop optical packet switching system according to Embodiment 2 of the present invention.
  • FIG. 12 is a schematic structural diagram of an optical label rewriting device according to Embodiment 2 of the present invention.
  • FIG. 13 is a schematic structural diagram of a link confirming apparatus of an optical packet switching system according to Embodiment 2 of the present invention.
  • FIG. 14 is a schematic structural diagram of a control manager according to Embodiment 2 of the present invention.
  • FIG. 16 is a schematic structural diagram of a link confirming apparatus of an optical packet switching system according to Embodiment 3 of the present invention.
  • FIG. 17 is a schematic structural diagram of a link confirmer according to Embodiment 3 of the present invention.
  • FIG. 18 is a flowchart of a link confirmation method of an optical packet switching system according to Embodiment 4 of the present invention.
  • FIG. 19 is a schematic structural diagram of a link confirmer according to Embodiment 4 of the present invention.
  • FIG. 21 is a schematic structural diagram of a link confirming apparatus of an optical packet switching system according to Embodiment 4 of the present invention.
  • FIG. 22 is a schematic structural diagram of a link confirmer according to Embodiment 4 of the present invention.
  • FIG. 23 is a schematic structural diagram of a link confirmation system of an optical packet switching system according to Embodiment 5 of the present invention.
  • the technical solution provided by the embodiment of the present invention can be used for the link confirmation system architecture diagram of the optical packet switching system, as shown in FIG. 1 .
  • the link confirmation system architecture of the optical packet switching system includes: an optical packet switch, a control manager, and a link confirmer.
  • an optical packet enters the optical packet switching system from an input port, the optical energy of the pre-switching optical packet is first split, and most of the optical energy is passed through the optical fiber.
  • the delay line enters the optical switch, and a small part of the light enters the control manager; then, the light energy after the optical packet exchange is split at the corresponding output port, and most of the light energy is output, and a small portion of the light energy enters the link confirmer. So that the control manager determines whether the link corresponding to the optical packet is abnormal according to the confirmation result of the link validator.
  • the embodiment of the invention provides a link confirmation method for an optical packet switching system. As shown in FIG. 2, the method includes:
  • the control manager parses the routing information carried in the optical label of the optical packet before the switching.
  • the various types of information of the routing information may include source port information, destination port information, packet length information, and priority information.
  • the optical packet is composed of an optical packet payload and an optical label, and the optical label carries routing information such as active port information, destination port information, packet length information, and priority information.
  • the controller manager can generate a control signal required to establish a corresponding optical path in the optical packet switch by analyzing the routing information carried in the optical label of the optical packet before the switching, in the link confirmer.
  • the control manager generates reference optical label information and an enable signal according to the routing information.
  • the reference optical label information may be at least one type of information included in various information types of the routing information.
  • the reference optical label information may be: source port information; the reference optical label information may also be: packet length information; the reference optical label information may also be destination port information and priority information; the reference optical label information may also be source port information. , destination port information, packet length information, and priority information.
  • the reference optical tag information is used as a reference for the link confirmer to detect whether the link is abnormal.
  • the link validator first calculates the reference optical label information and the actual light according to the reference optical label information generated by the control manager before the optical packet switching and the optical label information parsed in the optical label exchanged by the optical packet switch. The degree of mismatch between the tag information, and then determining whether the mismatch between the reference optical tag information and the actual optical tag information is greater than or equal to The threshold is set, and finally, according to the judgment result, it is determined whether an alarm signal corresponding to the link is generated.
  • the type of information included in the reference optical tag information may be more.
  • the reference optical label information is used as the reference information for determining whether the link is abnormal. Therefore, the more the number of information items included in the reference optical label information, the link validator determines whether to generate the alarm signal corresponding to the link. The higher the accuracy is determined.
  • the kind of information included in the reference optical tag information may be less.
  • the reference optical label information is used as the reference information for determining whether the link is abnormal. Therefore, the less the number of information items included in the reference optical label information, the link validator determines whether to generate the alarm signal corresponding to the link. The lower the confirmation complexity.
  • the enable signal is used to trigger the link validator to detect whether the link is abnormal.
  • the link validator can perform the optical packet exchange according to the reference optical label information generated by the control manager before the optical packet exchange.
  • the degree of mismatch between the optical label information parsed in the optical label after the switch is determined to determine whether an alarm signal corresponding to the link is generated, and the control manager can determine whether the link is abnormal.
  • N is the number of optical port switch input ports
  • M is the optical packet switch output port
  • N and M are integers greater than or equal to 1, and generally, M and N may be equal.
  • the control manager sends the reference optical label information and the enable signal to the link validator.
  • the reference optical tag information and the enable signal are sent to the link validator by the control manager, so that the link validator can use the reference optical tag information and the optical packet when the enable signal is turned on.
  • the information extracted in the optical label of the optical packet is exchanged by the switch to determine whether to generate alarm information.
  • the optical packet input from each input port may first pass through the optical splitter, so that the optical splitter divides the optical packet into two parts, wherein a part of the optical component contains most of the optical energy, and a part of the optical energy is included.
  • a small portion of the light energy, most of the light energy enters the optical packet switch, and a small portion of the light energy enters the control manager.
  • a beam splitter can enter 90% of the light in a light pack.
  • the optical packet switch, the remaining 10% of the light can enter the control manager; or the splitter can enter 85% of the optical energy into the optical packet switch, and the remaining 15% of the light enters the control manager.
  • the optical packet before the optical packet enters the optical packet switch, the optical packet is divided into two parts by the optical splitter, and most of the optical energy enters the optical packet switch, and the remaining small portion of the optical energy enters the control manager.
  • the control manager can extract the routing information according to the light energy of the small portion, and generate the control signal, the reference optical label information, and the enable signal, thereby controlling the optical packet switch to perform optical packet switching on the majority of the optical energy.
  • most of the optical energy may first pass through a certain length of the optical fiber delay line, and then enter the optical packet switch.
  • the control manager After most of the optical energy enters the optical packet switch after passing through a certain length of the optical fiber delay line, sufficient time is reserved for the control manager to generate a corresponding control signal, and then most of the light Before entering the optical packet switch, the optical packet switch can control the corresponding optical packet switching link according to the control signal.
  • the control manager determines whether an alert signal sent by the link confirmer is received.
  • control manager determines whether the alarm signal sent by the link confirmer is received within a preset time when the enable signal is turned on and the enable signal is turned off.
  • the link validator since the corresponding enable signal opening times in the control manager and the link validator are the same, and the link validator has a delay when sending the alarm signal to the control manager, there is a link acknowledgement.
  • the controller sends an alarm signal to the control manager during the enable signal on time, but the control manager receives the alarm signal after the enable signal is turned off.
  • the control manager determines whether the alarm signal sent by the link confirmer is received within a preset time when the enable signal is turned on and the enable signal is turned off, which can be avoided because the link validator is
  • the alarm signal is sent to the control manager during the signal opening time, but the control manager receives the alarm signal after the enable signal is turned off, causing the control manager to make an error in the determination result of whether the alarm signal is received, thereby improving control management. Determines the correctness of whether the link is abnormal.
  • the preset time may be configured in advance by the control manager, which is not limited in the embodiment of the present invention.
  • the preset time can be 2 milliseconds, 3 milliseconds, or 5 milliseconds.
  • the control manager determines, according to the alarm signal, whether the link corresponding to the alarm signal is abnormal.
  • the control manager may first add an operation to the number of alarms of the link, and then determine whether the number of alarms of the added link is greater than a preset threshold. If the number of alarms of the added link is greater than the preset threshold, the control manager determines that the link is abnormal.
  • the preset threshold may be configured in advance by the control manager, or may be configured in advance by the optical packet switch, which is not limited in the embodiment of the present invention.
  • the preset threshold may be an integer greater than 1, for example, the preset threshold may be 3, 5, 10, or the like.
  • determining whether the number of alarms of the link corresponding to the alarm signal is greater than a preset threshold thereby determining whether the link corresponding to the alarm signal is abnormal, and avoiding instantaneous jitter of the device due to the completion of light in the optical packet switch.
  • the situation that causes the signal to deteriorate after the exchange and causes a false alarm can improve the accuracy of the control manager for determining whether the link is abnormal.
  • an embodiment of the present invention provides a link confirmation apparatus for an optical packet switching system.
  • an entity of the apparatus may be a control manager.
  • the apparatus includes a parsing unit 31, a generating unit 32, a transmitting unit 33, a judging unit 34, and a determining unit 35.
  • the parsing unit 31 is configured to parse the routing information carried in the optical label of the optical packet before the switching.
  • the generating unit 32 is configured to generate reference optical tag information and an enable signal according to the routing information parsed by the parsing unit 31.
  • the sending unit 33 is configured to send the reference optical tag information and the enable signal generated by the generating unit 32 to the link validator.
  • the determining unit 34 is configured to determine whether the alarm signal sent by the link confirmer is received when the enable signal sent by the sending unit 33 is turned on.
  • the determining unit 35 is configured to: when the determining unit 34 determines that the alert letter sent by the link confirmer is received If the number is not specified, determine whether the link corresponding to the alarm signal is abnormal according to the alarm signal.
  • the entity of the link confirmation device of the optical packet switching system may be a control manager.
  • the control manager may include: a processor 41, a transmitter 42, a receiver 43, and a memory. 44.
  • the receiver 43 and the memory 44 are respectively connected to the processor 41.
  • the processor 41 is configured to parse the routing information carried in the optical label of the optical packet before the switching.
  • the processor 41 is further configured to generate reference optical tag information and an enable signal according to the routing information.
  • the transmitter 42 is configured to send the reference optical tag information and the enable signal generated by the processor 41 to the link validator.
  • the processor 41 is further configured to determine, when the enable signal sent by the transmitter 42 is turned on, whether the alarm signal sent by the link confirmer is received.
  • the processor 41 is further configured to determine, according to the alarm signal, whether the link corresponding to the alarm signal is abnormal, when it is determined that the alarm signal sent by the link confirmer is received.
  • the link confirmation method, device and system of the optical packet switching system provided by the embodiment of the present invention firstly control the manager to generate the reference optical tag information and the enable signal, and send the signal to the link confirmer; then when the enable signal is turned on, the chain
  • the path confirmer determines whether to generate an alarm signal according to the analyzed actual optical tag information and the received reference optical tag information. If it is determined that the alarm signal is generated, the alarm signal is sent to the control manager; finally, the control manager receives the alarm signal according to the received alarm signal. Further determining whether the link corresponding to the alarm signal is abnormal.
  • the test signal exchanged by the optical packet switch is currently coupled with the circulator at each output port of the optical packet switch, and the test is exchanged by the optical packet switch at the circulator of each input port of the optical packet switch.
  • the circulator coupling test signal passing through each output port of the optical packet switch can be avoided. Same It is possible to avoid separating the test signals through the circulators of the respective input ports of the optical packet switch, thereby reducing the cost of optical packet switching.
  • the embodiment of the invention provides a link confirmation method for an optical packet switching system. As shown in FIG. 5, the method includes:
  • the control manager parses the routing information carried in the optical label of the optical packet before the switching.
  • the various types of information of the routing information may include source port information, destination port information, packet length information, or priority information.
  • the optical packet is composed of an optical packet payload and an optical label, and the optical label carries routing information such as active port information, destination port information, packet length information, and priority information.
  • the controller manager can generate a control signal required to establish a corresponding optical path in the optical packet switch by analyzing the routing information carried in the optical label of the optical packet before the switching, in the link confirmer.
  • control manager may include: N optical label extraction modules, link calculation modules, control information calculation modules, reference optical labels and enable signal calculation modules, alarm systems, link state information tables, and the like.
  • the optical label extraction module is configured to parse the routing information of the optical label from the optical packet of the input port, and the different input ports of the optical packet switch may correspond to different optical label extraction modules; the link calculation module is configured to extract according to the optical label.
  • the routing information parsed by the module and the link state information table determine the mapping relationship between the output port of the optical packet being exchanged, the optical packet input port and the output port, and the time required for the link to be maintained when the optical packet is completely exchanged; control information
  • the calculation module is configured to generate a control signal according to a mapping relationship between the optical packet input port and the output port, and send the control signal to the optical packet switch;
  • the reference optical label and the enable signal calculation module are used according to the optical packet input port and The mapping relationship between the output ports generates corresponding reference optical label information and an enable signal;
  • the alarm system is configured to determine whether the link is abnormal according to the alarm signal corresponding to the link sent by the link validator, and when determining that the link is abnormal And feeding back the link abnormality information to the link state information table, so that the link state information table is related to the link state information.
  • the information is updated;
  • the link state information table is used to store information on whether the link between each input port and each output port is abnormal.
  • the control manager generates reference optical label information and an enable signal according to the routing information.
  • the reference optical label information may be at least one type of information included in various information types of the routing information.
  • the reference optical label information may be: source port information; the reference optical label information may also be: packet length information; the reference optical label information may also be destination port information and priority information; the reference optical label information may also be source port information. , destination port information, packet length information, and priority information.
  • the reference optical tag information is used as a reference for the link confirmer to detect whether the link is abnormal.
  • the link validator first calculates the reference optical label information and the actual light according to the reference optical label information generated by the control manager before the optical packet switching and the optical label information parsed in the optical label exchanged by the optical packet switch. If the degree of mismatch between the label information and the actual optical label information is greater than or equal to a preset threshold, it is determined whether the alarm signal corresponding to the link is generated according to the determination result.
  • the type of information included in the reference optical tag information may be more.
  • the reference optical label information is used as the reference information for determining whether the link is abnormal. Therefore, the more the number of information items included in the reference optical label information, the link validator determines whether to generate the alarm signal corresponding to the link. The higher the accuracy is determined.
  • the kind of information included in the reference optical tag information may be less.
  • the reference optical label information is used as the reference information for determining whether the link is abnormal. Therefore, the less the number of information items included in the reference optical label information, the link validator determines whether to generate the alarm signal corresponding to the link. The lower the confirmation complexity.
  • the enable signal is used to trigger the link validator to detect whether the link is abnormal.
  • the link validator can perform the optical packet exchange according to the reference optical label information generated by the control manager before the optical packet exchange.
  • the degree of mismatch between the optical tag information parsed in the optical tag after the switch determines whether the alarm signal corresponding to the link is generated, and the control manager can determine Determine if the link is abnormal.
  • N is the number of optical port switch input ports
  • M is the optical packet switch output port
  • N and M are integers greater than or equal to 1, and generally, M and N may be equal.
  • FIG. 7 it is a schematic diagram of an enable signal of an optical packet switching device including three input ports and three output ports.
  • the input port 1 receives the optical packet that needs to be exchanged to the output port 2.
  • the control manager can determine the output port that the optical packet needs to be exchanged. If the status information of the link in the link state information table is normal, the optical packet can perform optical packet switching through the link, and at the same time, the control manager can calculate that the optical packet will be output from the output port 2 at time t2. The output is started, so the control manager turns on the enable signal for the link at time t2 until the optical packet is completely output from the output port 2, and the control manager turns off the enable signal for the link.
  • the input port 1 receives the optical packet that needs to be exchanged to the output port 3.
  • the control manager can determine that the optical packet needs to be exchanged.
  • the output port if the status information of the link in the link state information table is normal, the optical packet can be optically exchanged through the link, and the control manager can calculate that the optical packet will be received at time t4.
  • Output port 3 begins to output, so the control manager turns on the enable signal for the link at time t4 until the optical packet is completely output from output port 3, and the control manager turns off the enable signal for the link.
  • the method further includes: the control manager determining, according to the packet length information, an enable open duration.
  • the enable duration can be used to determine the turn-off time of the enable signal.
  • the off time of the enable signal may be the sum of the open time of the enable signal and the enable open duration.
  • the control manager determines the enable open duration according to the packet length information, and further determines the turn-off time of the enable signal after the enable signal is turned on, which can be implemented after the optical packet is output from the corresponding output port.
  • the control manager turns off the enable signal, which means that the control manager can control the enable signal for a long enough time.
  • control manager may further generate a selection control signal according to the routing information, and send the selection control signal to the link confirmer.
  • the selection control signal may carry identifier information corresponding to the output port of the switched optical packet.
  • the K*1 optical switch can be added to the link validator, so that the number of link confirmation modules in the link validator can be reduced, thereby simplifying the optical packet switching system and making it easier. Integration of optical packet switching systems.
  • the selection control signal generated by the control manager can control the optical switch of the K*1, so that the K*1 optical switch can select any one of the K different output ports, and The optical packet outputted by the output port is sent to a link confirmation module in the link validator to detect whether the link is abnormal.
  • a link confirmation selection module may be added to the control manager. As shown in FIG. 8, the link confirmation selection module is configured to generate a selection control signal.
  • the control manager sends the reference optical tag information and the enable signal to the link validator.
  • the reference optical tag information and the enable signal are sent to the link validator by the control manager, so that the link validator can use the reference optical tag information and the optical packet when the enable signal is turned on.
  • the information extracted in the optical label of the optical packet is exchanged by the switch to determine whether to generate alarm information.
  • the control manager determines whether an alert signal sent by the link confirmer is received.
  • step 505 the control manager determines whether the alarm signal sent by the link confirmer is received within a preset time when the enable signal is turned on and the enable signal is turned off.
  • the link validator since the corresponding enable signal opening times in the control manager and the link validator are the same, and the link validator has a delay when sending the alarm signal to the control manager, there is a link acknowledgement.
  • the controller sends an alarm signal to the control manager during the enable signal on time, but the control manager receives the alarm signal after the enable signal is turned off.
  • the control manager determines whether the alarm signal sent by the link confirmer is received within a preset time when the enable signal is turned on and the enable signal is turned off, which can be avoided because the link validator is Can send an alarm signal to the control manager during the signal open time, but control The manager receives the alarm signal after the enable signal is turned off, which causes the control manager to determine whether the result of the determination of the alarm signal is incorrect, thereby improving the accuracy of the control manager for determining whether the link is abnormal.
  • the preset time may be configured in advance by the control manager, which is not limited in the embodiment of the present invention.
  • the preset time can be 2 milliseconds, 3 milliseconds, or 5 milliseconds.
  • the control manager determines, according to the alarm signal, whether the link corresponding to the alarm signal is abnormal.
  • the method may further include: if receiving the alarm signal sent by the link confirmer, the control manager first adds one operation to the alarm number of the link, and then determines the alarm of the added link. Whether the number of times is greater than a preset threshold. At this time, step 505 may be: if the number of alarms of the added link is greater than a preset threshold, the control manager determines that the link is abnormal.
  • the preset threshold may be configured in advance by the control manager, or may be configured in advance by the optical packet switch, which is not limited in the embodiment of the present invention.
  • the preset threshold may be an integer greater than 1, for example, the preset threshold may be 3, 5, 10, or the like.
  • determining whether the number of alarms of the link corresponding to the alarm signal is greater than a preset threshold thereby determining whether the link corresponding to the alarm signal is abnormal, and avoiding instantaneous jitter of the device due to the completion of light in the optical packet switch.
  • the situation that causes the signal to deteriorate after the exchange and causes a false alarm can improve the accuracy of the control manager for determining whether the link is abnormal.
  • the method further includes: the control manager updating the status information of the link in the link state information table from normal to abnormal.
  • the control manager when the control manager determines that the link corresponding to the alarm signal is abnormal, the state information of the link in the link state information table is updated, and the abnormal condition of the link can be reflected in the link in real time.
  • the control manager can further generate a corresponding control signal according to the link state information table.
  • the control manager can update the status information of the link in the link state information table from 0 to 1.
  • the status information 0 of the link in the link state information table indicates that the link is normal, and the status information 1 of the link indicates that the link is abnormal.
  • the link state information table before the update may be as follows: Show:
  • the control manager when the control manager determines that the link from the input port 1 to the output port 2 is abnormal, the control manager corresponds to the link in the link state information table that is switched from the input port 1 to the output port 2.
  • the status information is updated from 0 to 1.
  • the updated link status information table can be as shown in the following table:
  • the link may be a link in the primary optical packet switch or a link in the standby optical packet switch.
  • the optical packet switch may be an optical packet switch with active/standby protection.
  • the optical packet switch with active/standby protection may include a primary optical switching matrix, a standby optical switching matrix, and N 1*2 optical switch, N optical multiplexers.
  • step 505 is further configured to: if receiving the alarm signal corresponding to the link in the primary optical packet switch sent by the link confirmer, the control manager according to the alarm corresponding to the link in the primary optical packet switch The signal determines whether the link in the primary optical packet switch is abnormal. If it is determined that the link in the primary optical packet switch is abnormal, the control manager determines whether the link in the standby optical packet switch is abnormal. At this time, after step 505, the method may further include: if it is determined that the link in the primary optical packet switch is abnormal, the control manager sends a primary and secondary selection control signal to the optical packet switch.
  • the active/standby selection control signal is used to trigger the 1*2 optical switch in the optical packet switch to switch the primary optical packet switch to the standby optical packet switch, so that the optical packet can be optically packaged through the standby optical packet switch. exchange.
  • the control manager determines that the link in the primary optical packet switch is abnormal
  • the primary and secondary selection control signals are sent to the optical packet switch, so that the optical packet can be lighted through the standby optical packet switch. Packet exchange.
  • step 505 is further configured to: if receiving the alarm signal corresponding to the link in the standby optical packet switch sent by the link validator, the control manager according to the alarm corresponding to the link in the standby optical packet switch A signal that determines if the link in the alternate optical packet switch is abnormal.
  • the control manager determines whether the link in the standby optical packet switch is abnormal. If the alarm signal corresponding to the link in the standby optical packet switch sent by the link confirmer is received, the control is controlled. The manager determines whether the link in the standby optical packet switch is abnormal according to the alarm signal corresponding to the link in the standby optical packet switch.
  • the optical packet switching may be preferentially performed by the primary optical packet switch.
  • the corresponding chain in the standby optical packet switch is controlled by the 1*2 optical switch.
  • the road carries out optical packet exchange.
  • the optical packet switch with the active/standby protection can implement optical packet switching through a corresponding link in the standby optical packet switch when a link in the primary optical packet switch is abnormal. It is possible to avoid the situation where the optical packet exchange cannot be performed due to the link abnormality in the process of optical packet switching.
  • the method may further include: if it is determined that the link in the primary optical packet switch is abnormal, the control manager updates the status information of the link in the link state information table from the normal optical package.
  • the switch is abnormal; if it is determined that the link in the standby optical packet switch is abnormal, the control manager abnormally updates the status information of the link in the link state information table from the primary optical packet switch to the standby optical packet switch abnormality.
  • the control manager determines that the link in the primary optical packet switch is abnormal
  • the status information of the link in the link state information table is updated, and the chain can be implemented in real time.
  • the abnormal condition of the road is reflected in the link state information table, so that the link manager can generate a corresponding control signal according to the link state information table; and at the same time, by the control manager determining the link in the standby optical packet switch
  • the status information of the link in the link state information table is updated, and the abnormality of the link can be reflected in the link state information table in real time, thereby implementing the control manager according to the link state information table. Generate corresponding control signals.
  • the control manager updates the status information of the link in the link state information table from 0 to 1; if it is determined that the link in the standby optical packet switch is abnormal, Then, the control manager updates the status information of the link in the link state information table from 1 to 2.
  • the status information 0 of the link in the link state information table indicates that the link is normal
  • the status information 1 of the link indicates that the link is abnormal in the primary optical packet switch
  • the status information 2 of the link indicates the standby optical packet switch.
  • the corresponding link in the link is abnormal.
  • the link state information table before the update can be as follows:
  • the control manager when the control manager determines that the link in the primary optical packet switch is switched from the input port 1 to the output port 2, the control manager switches from the input port 1 to the output port in the link state information table.
  • the status information corresponding to the link of 2 is updated from 0 to 1, and the updated link status information table can be as follows:
  • the control manager when the control manager determines that the link in the standby optical packet switch is switched from the input port 1 to the output port 2, the control manager switches from the input port 1 to the output port in the link state information table.
  • the status information corresponding to the link of 2 is updated from 1 to 2, and the updated link state information table can be as follows:
  • the control manager When the enable signal is off, if the alarm signal sent by the link confirmer is not received, the control manager performs a zeroing operation on the number of alarms of the link.
  • the control manager when the enable signal is off, the number of alarms of a link is not 0. At this time, although the number of alarms of the link is not 0, the number of alarms of the link is less than the preset threshold. Therefore, the link is still in a normal state. In the embodiment of the present invention, by performing a zeroing operation on the number of alarms of the link that does not receive the alarm signal, the control manager can further determine whether the link is abnormal.
  • the step 506 may be: if the alarm signal sent by the link confirmer is not received within the preset time when the enable signal is turned on and the enable signal is turned off, the control manager performs the number of times of the link alarm. Zeroing operation.
  • the link validator since the corresponding enable signal opening times in the control manager and the link validator are the same, and the link validator sends an alarm signal to the control manager, there is a delay. In the case, there is a case where the link validator sends an alarm signal to the control manager during the enable signal on time, but the control manager receives the alarm signal after the enable signal is turned off.
  • the control manager determines whether the alarm signal sent by the link confirmer is received within a preset time when the enable signal is turned on and the enable signal is turned off, which can be avoided because the link validator is
  • the alarm signal is sent to the control manager during the signal opening time, but the control manager receives the alarm signal after the enable signal is turned off, causing the control manager to make an error in the determination result of whether the alarm signal is received, thereby improving control management. Determines the correctness of whether the link is abnormal.
  • the preset time may be configured in advance by the control manager, which is not limited in the embodiment of the present invention.
  • the preset time can be 2 milliseconds, 3 milliseconds, or 5 milliseconds.
  • control manager determines a specific step of whether the link is abnormal according to the alarm signal sent by the link confirmer, as shown in FIG. 10 .
  • control manager may calculate the next hop optical label of the switched optical packet according to the routing information, so that the switched optical packet and the next hop optical label are combined.
  • the next hop optical label is an optical label corresponding to the next hop optical packet switch after the exchange of the optical packet.
  • the control manager may send the next hopping optical label to the new optical label generator, so that the new optical label generator is based on The next hop label generates a new light label and sends the new light label to the optical label rewriter, further enabling the optical label rewriter to combine the exchanged optical package with the new optical label.
  • the implementation method of the optical label rewriter can be determined by the transmission mode of the optical label. For example, if the optical tag transmits the optical packet on the link through different wavelengths of the optical packet payload, the result of the optical tag rewriter can be as shown in FIG. 12, and the optical tag rewriter can be composed of an optical filter and a photosynthetic device.
  • the wave filter is composed of an optical filter that can be used to separate the original optical tag from the optical packet payload, and the optical combiner can be used to couple the optical packet payload with the new optical tag.
  • the optical packet input from each input port may first pass through the optical splitter, so that the optical splitter divides the optical packet into two parts, wherein a part of the optical package is divided into two parts.
  • Part of the light energy a part of which contains a small part of the light energy, most of the light energy enters the optical packet switch, and a small part of the light energy enters the control manager.
  • the splitter can enter 90% of the light in the optical packet into the optical packet switch, and the remaining 10% of the light can enter the control manager; or the optical splitter can enter 85% of the optical energy into the optical packet switch. The remaining 15% of the light enters the Control Manager.
  • the optical packet before the optical packet enters the optical packet switch, the optical packet is divided into two parts by the optical splitter, and most of the optical energy enters the optical packet switch, and the remaining small portion of the optical energy enters the control manager.
  • the control manager can extract the routing information according to the light energy of the small portion, and generate the control signal, the reference optical label information, and the enable signal, thereby controlling the optical packet switch to perform optical packet switching on the majority of the optical energy.
  • most of the optical energy may first pass through a certain length of the optical fiber delay line, and then enter the optical packet switch.
  • the control manager After most of the optical energy enters the optical packet switch after passing through a certain length of the optical fiber delay line, sufficient time is reserved for the control manager to generate a corresponding control signal, and then most of the light Before entering the optical packet switch, the optical packet switch can control the corresponding optical packet switching link according to the control signal.
  • an embodiment of the present invention provides a link confirmation apparatus for an optical packet switching system.
  • an entity of the apparatus may be a control manager,
  • the apparatus includes a parsing unit 131, a generating unit 132, a transmitting unit 133, a judging unit 134, and a determining unit 135.
  • the parsing unit 131 is configured to parse the routing information carried in the optical label of the optical packet before the switching.
  • the generating unit 132 is configured to generate reference optical tag information and an enable signal according to the routing information parsed by the parsing unit 131.
  • the sending unit 133 is configured to send the reference optical tag information and the enable signal generated by the generating unit 132 to the link validator.
  • the determining unit 134 is configured to determine whether the alarm signal sent by the link confirmer is received when the enable signal sent by the sending unit 133 is turned on.
  • the determining unit 135 is configured to: when the determining unit 134 determines that the alarm sent by the link confirmer is received When the signal is received, it is determined according to the alarm signal whether the link corresponding to the alarm signal is abnormal.
  • the reference optical tag information generated by the generating unit 132 is at least one type of information included in various information types of the routing information.
  • the various types of information of the routing information may include source port information, destination port information, packet length information, or priority information.
  • the enable signal generated by the generating unit 132 is used to trigger the link validator to detect whether the link is abnormal.
  • the device may further include: an operation unit 136.
  • the operation unit 136 is configured to: when the determining unit 135 determines that the alarm signal sent by the link confirmer is received, perform an operation of adding the number of alarms of the link.
  • the determining unit 135 is further configured to determine whether the number of alarms of the link added by the computing unit 136 is greater than a preset threshold.
  • the determining unit 136 is further configured to determine that the link is abnormal when the determining unit determines that the number of alarms of the added link is greater than a preset threshold.
  • the device may further include: an update unit 137.
  • the updating unit 137 is configured to update the status information of the link in the link state information table from normal to abnormal when the determining unit 135 determines that the link is abnormal.
  • the determining unit 136 is further configured to determine an enable open duration according to the packet length information.
  • the enable duration is used to determine the turn-off time of the enable signal.
  • the device may further include: an evaluation unit 138.
  • the evaluation unit 138 is further configured to perform a zeroing operation on the number of alarms of the link when the enable signal is turned off, and the determining unit 134 determines that the alarm signal sent by the link confirmer is not received.
  • the link determined by the determining unit 135 is a link in the primary optical packet switch or a link in the standby optical packet switch.
  • the determining unit 135 is specifically configured to: when the determining unit 134 determines that the alarm signal corresponding to the link in the primary optical packet switch sent by the link confirmer is received, according to the alarm signal corresponding to the link in the primary optical packet switch, Determine if the link in the primary optical packet switch is abnormal.
  • the sending unit 133 is further configured to: when the determining unit 135 determines that the link in the primary optical packet switch is abnormal, send the primary and secondary selection control signals to the optical packet switch.
  • the determining unit 135 is further configured to: when the determining unit 134 determines that the alarm signal corresponding to the link in the standby optical packet switch sent by the link confirmer is received, according to the alarm signal corresponding to the link in the standby optical packet switch Determine if the link in the standby optical packet switch is abnormal.
  • the updating unit 137 is specifically configured to: when the determining unit 135 determines that the link in the primary optical packet switch is abnormal, update the status information of the link in the link state information table from the normal update to the primary optical packet switch.
  • the updating unit 137 is further configured to: when the determining unit 135 determines that the link in the standby optical packet switch is abnormal, update the status information of the link in the link state information table from the primary optical packet switch to the standby optical packet exchange. The device is abnormal.
  • the generating unit 132 is further configured to generate a selection control signal according to the routing information.
  • the selection control signal carries the identification information corresponding to the output port of the switched optical packet.
  • the sending unit 133 is further configured to send the selection control signal generated by the generating unit 132 to the link validator.
  • the device may further include: a calculating unit 139.
  • the calculating unit 139 is configured to calculate, according to the routing information, a next hop optical label of the switched optical packet parsed by the parsing unit 131.
  • the next hop optical label may be an optical label corresponding to the next hop optical packet switch after the exchange of optical packets.
  • the entity of the link confirmation device of the optical packet switching system may be a control manager.
  • the control manager may include: a processor 141, a transmitter 142, a receiver 143, and a memory. 144.
  • the receiver 143 and the memory 144 are respectively associated with the processor 141. connection.
  • the processor 141 is configured to parse the routing information carried in the optical label of the optical packet before the switching.
  • the processor 141 is further configured to generate reference optical tag information and an enable signal according to the routing information.
  • the transmitter 142 is configured to send the reference optical tag information and the enable signal generated by the processor 141 to the link validator.
  • the processor 141 is further configured to: when the enable signal sent by the transmitter 142 is turned on, determine whether the alarm signal sent by the link confirmer is received.
  • the processor 141 is further configured to determine, according to the alarm signal, whether the link corresponding to the alarm signal is abnormal, when it is determined that the alarm signal sent by the link confirmer is received.
  • the reference optical tag information generated by the processor 141 is at least one of the various types of information of the routing information.
  • the various types of information of the routing information may include source port information, destination port information, packet length information, or priority information.
  • the enable signal generated by the processor 141 is used to trigger the link validator to detect whether the link is abnormal.
  • the processor 141 is further configured to: when it is determined that the alarm signal sent by the link confirmer is received, perform an operation of adding the number of alarms of the link.
  • the processor 141 is further configured to determine whether the number of alarms of the added link is greater than a preset threshold.
  • the processor 141 is further configured to determine that the link is abnormal when the determining unit determines that the number of alarms of the added link is greater than a preset threshold.
  • the processor 141 is further configured to: when determining that the link is abnormal, update the status information of the link in the link state information table from normal to abnormal.
  • the processor 141 is further configured to determine an enable open duration according to the packet length information.
  • the enable duration is used to determine the turn-off time of the enable signal.
  • the processor 141 is further configured to perform a zeroing operation on the number of alarms of the link when the enable signal is turned off and the alarm signal sent by the link confirmer is not received.
  • the link determined by the processor 141 is a link in the primary optical packet switch or a backup optical packet switch.
  • the link in is a link in the primary optical packet switch or a backup optical packet switch.
  • the processor 141 is specifically configured to: when determining that the alarm signal corresponding to the link in the primary optical packet switch sent by the link confirmer is received, determining the primary light according to the alarm signal corresponding to the link in the primary optical packet switch Whether the link in the packet switch is abnormal.
  • the transmitter 142 is further configured to: when the processor 141 determines that the link in the primary optical packet switch is abnormal, send the primary and secondary selection control signals to the optical packet switch.
  • the processor 141 is further configured to: when it is determined that the alarm signal corresponding to the link in the standby optical packet switch sent by the link confirmer is received, determine the backup according to the alarm signal corresponding to the link in the standby optical packet switch. Whether the link in the optical packet switch is abnormal.
  • the processor 141 is specifically configured to: when the link in the primary optical packet switch is abnormal, change the status information of the link in the link state information table from the normal update to the primary optical packet switch.
  • the processor 141 is further configured to: when determining that the link in the standby optical packet switch is abnormal, update the status information of the link in the link state information table from the primary optical packet switch to the standby optical switch abnormality.
  • the processor 141 is further configured to generate a selection control signal according to the routing information.
  • the selection control signal carries the identification information corresponding to the output port of the switched optical packet.
  • the transmitter 142 is further configured to send the selection control signal generated by the processor 141 to the link validator.
  • the processor 141 is further configured to calculate, according to the routing information, a next hop optical label of the parsed optical packet after the analysis.
  • the next hop optical label may be an optical label corresponding to the next hop optical packet switch after the exchange of optical packets.
  • the link confirmation method, device and system of the optical packet switching system provided by the embodiment of the present invention firstly control the manager to generate reference optical label information and an enable signal, and send the information to the link confirmer;
  • the link confirmer determines whether to generate an alarm signal according to the analyzed actual optical label information and the received reference optical label information, and if it is determined that the alarm signal is generated, sends the alarm signal to the control manager;
  • the manager further determines, according to the received alarm signal, whether the link corresponding to the alarm signal is abnormal.
  • the test signal exchanged by the optical packet switch is currently coupled with the circulator at each output port of the optical packet switch, and the test is exchanged by the optical packet switch at the circulator of each input port of the optical packet switch.
  • the circulator coupling test signal passing through each output port of the optical packet switch can be avoided.
  • the embodiment of the invention provides a link confirmation method for an optical packet switching system. As shown in FIG. 15, the method includes:
  • the link confirmer receives the reference optical tag information and the enable signal sent by the control manager.
  • the reference optical label may be at least one type of information included in the information type, and the information type may include source port information, destination port information, packet length information, or priority information.
  • the reference optical label information may be: source port information; the reference optical label information may also be: packet length information; the reference optical label information may also be: destination port information and priority information; the reference optical label information may also be: source Port information, destination port information, packet length information, and priority information.
  • the reference optical tag information is used as a reference for the link confirmer to detect whether the link is abnormal.
  • the link validator first calculates the reference optical label information and the actual light according to the reference optical label information generated by the control manager before the optical packet switching and the optical label information parsed in the optical label exchanged by the optical packet switch. If the degree of mismatch between the label information and the actual optical label information is greater than or equal to a preset threshold, it is determined whether the alarm signal corresponding to the link is generated according to the determination result.
  • the type of information included in the reference optical tag information may be more.
  • the reference optical label information is used as a reference for determining whether the link is abnormal. Therefore, the more the number of information items included in the reference optical label information, the determination of whether the link validator generates the alarm signal corresponding to the link. The higher the accuracy.
  • the kind of information included in the reference optical tag information may be less.
  • the reference optical label information is used as a reference for determining whether the link is abnormal. Therefore, the less the number of information items included in the reference optical label information, the confirmation of whether the link validator generates the alarm signal corresponding to the link. The lower the complexity.
  • the enable signal is used to trigger the link validator to detect whether the link is abnormal.
  • the link validator can perform the optical packet exchange according to the reference optical label information generated by the control manager before the optical packet exchange.
  • the degree of mismatch between the optical label information parsed in the optical label after the switch is determined to determine whether an alarm signal corresponding to the link is generated, and the control manager can determine whether the link is abnormal.
  • N is the number of optical port switch input ports
  • M is the optical packet switch output port
  • N and M are integers greater than or equal to 1, and generally, M and N may be equal.
  • the link validator analyzes the actual optical label information carried in the optical label of the optical packet after the switching according to the information type of the reference optical label information.
  • the actual optical label information and the reference optical label information have the same information type, and the information type may include source port information, destination port information, packet length information, or priority information.
  • the link validator parses the source port information carried in the switched optical label, and uses the source port information as the actual optical label information; when the reference optical label information is the packet length In the information, the link validator parses the packet length information carried in the optical label after the switching, and uses the packet length information as the actual optical label information; when the reference optical label information is the destination port information and the priority information, the link validator Parsing the port information and the priority information carried in the optical label after the switching, and using the information as the actual optical label information; when the reference optical label is the source port information, The destination port information, the packet length information, and the priority information are analyzed by the link validator, and the source port information, the destination port information, the packet length information, and the priority information carried in the optical label are used as actual optical label information. .
  • the link confirmer determines whether an alarm signal is generated according to the actual optical label information and the reference optical label information.
  • the link that performs the optical packet switching has an abnormal condition, and the link confirmer determines that the alarm signal corresponding to the link is generated;
  • the link that performs the optical packet switching does not have an abnormal situation, and the link confirmer determines that the alarm signal corresponding to the link is not generated.
  • the link validator sends the alarm signal to the control manager.
  • control manager determines whether the link corresponding to the alarm signal is abnormal according to the alarm signal sent by the link confirmer.
  • the optical packet input from each input port may first pass through the optical splitter, so that the optical splitter divides the optical packet into two parts, wherein a part of the optical component contains most of the optical energy, and a part of the optical energy is included. A small portion of the light energy, most of the light energy enters the optical packet switch, and a small portion of the light energy enters the control manager.
  • the splitter can enter 90% of the light in the optical packet into the optical packet switch, and the remaining 10% of the light can enter the control manager; or the optical splitter can enter 85% of the optical energy into the optical packet switch. The remaining 15% of the light enters the Control Manager.
  • the optical packet before the optical packet enters the optical packet switch, the optical packet is divided into two parts by the optical splitter, and most of the optical energy enters the optical packet switch, and the remaining small portion of the optical energy enters the control manager.
  • the control manager can extract the routing information according to the light energy of the small portion, and generate the control signal, the reference optical label information, and the enable signal, thereby controlling the optical packet switch to perform optical packet switching on the majority of the optical energy.
  • most of the optical energy may first pass through a certain length of the optical fiber delay line, and then enter the optical packet switch.
  • the optical packet switch After most of the light energy enters the optical packet switch after a certain length of fiber delay line, it can reserve enough time for the control manager to generate corresponding control signals, so that most of the light energy enters the optical packet switch before it enters the optical packet switch.
  • the optical packet switch can control the corresponding optical packet switching link according to the control signal.
  • the embodiment of the present invention provides a link confirming apparatus for an optical packet switching system.
  • the entity of the apparatus may be a link confirmer.
  • the device includes a receiving unit 161, a parsing unit 162, a determining unit 163, and a transmitting unit 164.
  • the receiving unit 161 is configured to receive reference optical tag information and an enable signal sent by the control manager.
  • the parsing unit 162 is configured to parse the actual optical tag information carried in the optical tag of the switched optical packet according to the information type of the reference optical tag information received by the receiving unit 161.
  • the determining unit 163 is configured to determine whether an alarm signal is generated according to the actual optical tag information parsed by the parsing unit 162 and the reference optical tag information received by the receiving unit 161 when the enable signal received by the receiving unit 161 is turned on.
  • the sending unit 164 is configured to send the alarm signal to the control manager when the determining unit 163 determines to generate the alarm signal.
  • the entity of the link confirming device of the optical packet switching system may be a link confirmer.
  • the link validator may include: a receiver 171, a processor 172, and a transmitter 173.
  • the memory 174 is connected to the processor 172, respectively.
  • the receiver 171 is configured to receive reference optical tag information and an enable signal sent by the control manager.
  • the processor 172 is configured to parse the actual optical tag information carried in the optical tag of the switched optical packet according to the information type of the reference optical tag information received by the receiver 171.
  • the processor 172 is configured to: when the enable signal received by the receiver 171 is turned on, according to the actual cursor The information and the reference optical tag information received by the receiver 171 are determined to determine whether an alarm signal is generated.
  • the transmitter 173 is configured to send the alarm signal to the control manager when the processor 172 determines to generate the alarm signal.
  • the link confirmation method, device and system of the optical packet switching system provided by the embodiment of the present invention firstly control the manager to generate the reference optical tag information and the enable signal, and send the signal to the link confirmer; then when the enable signal is turned on, the chain
  • the path confirmer determines whether to generate an alarm signal according to the analyzed actual optical tag information and the received reference optical tag information. If it is determined that the alarm signal is generated, the alarm signal is sent to the control manager; finally, the control manager receives the alarm signal according to the received alarm signal. Further determining whether the link corresponding to the alarm signal is abnormal.
  • the test signal exchanged by the optical packet switch is currently coupled with the circulator at each output port of the optical packet switch, and the test is exchanged by the optical packet switch at the circulator of each input port of the optical packet switch.
  • the circulator coupling test signal passing through each output port of the optical packet switch can be avoided.
  • the embodiment of the invention provides a link confirmation method for an optical packet switching system. As shown in FIG. 18, the method includes:
  • the link confirmer receives the reference optical tag information and the enable signal sent by the control manager.
  • the reference optical label information is at least one type of information included in the information type, and the information type may include source port information, destination port information, packet length information, or priority information.
  • the reference optical label information may be: source port information; the reference optical label information may also be: packet length information; the reference optical label information may also be destination port information and priority information; the reference optical label information may also be source port information. , destination port information, packet length information, and priority information.
  • the reference optical tag information is used as a reference for the link confirmer to detect whether the link is abnormal.
  • the link validator first calculates the reference optical label information and the actual light according to the reference optical label information generated by the control manager before the optical packet switching and the optical label information parsed in the optical label exchanged by the optical packet switch. If the degree of mismatch between the label information and the actual optical label information is greater than or equal to a preset threshold, it is determined whether the alarm signal corresponding to the link is generated according to the determination result.
  • the type of information included in the reference optical tag information may be more.
  • the reference optical label information is used as a reference for determining whether the link is abnormal. Therefore, the more the number of information items included in the reference optical label information, the determination of whether the link validator generates the alarm signal corresponding to the link. The higher the accuracy.
  • the kind of information included in the reference optical tag information may be less.
  • the reference optical label information is used as a reference for determining whether the link is abnormal. Therefore, the less the number of information items included in the reference optical label information, the confirmation of whether the link validator generates the alarm signal corresponding to the link. The lower the complexity.
  • the enable signal is used to trigger the link validator to detect whether the link is abnormal.
  • the link validator can perform the optical packet exchange according to the reference optical label information generated by the control manager before the optical packet exchange.
  • the degree of mismatch between the optical label information parsed in the optical label after the switch is determined to determine whether an alarm signal corresponding to the link is generated, and the control manager can determine whether the link is abnormal.
  • N is the number of optical port switch input ports
  • M is the optical packet switch output port
  • N and M are integers greater than or equal to 1, and generally, M and N may be equal.
  • the link validator may include M link confirmation modules, and each link confirmation module is composed of an optical label extraction module and an optical label comparison module, as shown in FIG.
  • the M link confirmation module is configured to perform link confirmation on the links of the output ports of the M optical packet switches respectively.
  • the optical label extraction module in the link confirmation module is used to The actual optical label information is extracted from the optical label of the optical packet exchanged by the optical packet switch, and the optical label comparison module in the link confirmation module is used to compare the actual optical label information with the reference optical label information.
  • the link validator analyzes the actual optical label information carried in the optical label of the optical packet after the optical labeling according to the information type of the reference optical label information.
  • the actual optical label information and the reference optical label information have the same information type, and the information type may include source port information, destination port information, packet length information, or priority information.
  • the link validator parses the source port information carried in the switched optical label, and uses the source port information as the actual optical label information; when the reference optical label information is the packet length In the information, the link validator parses the packet length information carried in the optical label after the switching, and uses the packet length information as the actual optical label information; when the reference optical label information is the destination port information and the priority information, the link validator The port information and the priority information carried in the optical label after the exchange are analyzed, and the information is used as the actual optical label information.
  • the link confirmation is performed.
  • the source port information, the destination port information, the packet length information, and the priority information carried in the optical label after the exchange are analyzed, and the information is used as the actual optical label information.
  • the method may further include: the link validator receiving the selection control signal sent by the control manager, and selecting the exchanged light from the plurality of output ports according to the identification information corresponding to the output port of the switched optical packet.
  • the output port of the package may analyze the actual optical tag information carried in the optical tag of the switched optical packet from the output port of the switched optical packet according to the reference optical tag information.
  • the selection control signal carries the identification information corresponding to the output port of the switched optical packet.
  • an optical switch of K*1 can be added to the link validator, as shown in FIG.
  • the K*1 optical switch can be used to control the connection relationship between the output ports of the K optical packet switches and the corresponding link confirmation module.
  • the control The selection control signal generated by the controller can control the K*1 optical switch to realize that the K*1 optical switch can select any one of the K different output ports, and the optical package output by the output port
  • a link confirmation module sent to the link confirmer detects whether the link is abnormal.
  • a link confirmation selection module may be added to the control manager. As shown in FIG. 8, the link confirmation selection module is configured to generate a selection control signal.
  • the link acknowledgment determines that the alarm signal is generated, if the actual optical label information carried in the optical label of the optical packet is not resolved.
  • the link validator if the link validator cannot parse the actual optical label information from the optical label of the optical packet after the switch is enabled, the link is abnormal.
  • the validator generates an alarm signal corresponding to the link.
  • the link validator calculates a degree of mismatch between the actual optical tag information and the reference optical tag information.
  • the enable signal is used to trigger the link validator to determine whether an alarm signal is generated. Specifically, only when the enable signal corresponding to the link of the input port m to the output port i is turned on, the link validator can determine whether the alarm signal corresponding to the link is generated, and the control manager can determine the chain. Whether the road is abnormal.
  • m is an integer greater than or equal to 1 and less than or equal to N
  • i is an integer greater than or equal to 1 and less than or equal to M
  • N is the number of optical port switch input ports
  • M is the optical packet switch input port
  • the number, N and M are integers greater than or equal to 1, and generally, M and N may be equal.
  • FIG. 7 it is a schematic diagram of an enable signal of an optical packet switching device including three input ports and three output ports.
  • the input port 1 receives the optical packet that needs to be exchanged to the output port 2.
  • the control manager can determine that the optical packet is optically packet-switched. If the status information of the link in the link state information table is normal, the optical packet can perform optical packet switching through the link, and at the same time, the control manager can calculate that the optical packet will be output from the output port 2 at time t2.
  • the output is started, therefore, the control manager turns on the enable signal of the link at time t2 until the optical packet is completely output from the output port 2, and controls The manager turns off the enable signal for the link.
  • the input port 1 receives the optical packet that needs to be exchanged to the output port 3.
  • the control manager can determine that the optical packet is optically packetized. If the status information of the link in the link state information table is normal, the optical packet can be optically exchanged through the link, and the control manager can calculate that the optical packet will be received at time t4.
  • Output port 3 begins to output, so the control manager turns on the enable signal for the link at time t4 until the optical packet is completely output from output port 3, and the control manager turns off the enable signal for the link.
  • the degree of mismatch between the actual optical label information and the reference optical label information is used to characterize the abnormal condition of the link during the switching process of the optical packet. Specifically, if the degree of mismatch between the actual optical label information and the reference optical label information is greater, the probability that the link is abnormal is higher; if the mismatch between the actual optical label information and the reference optical label information is smaller, the degree of mismatch between the actual optical label information and the reference optical label information is smaller. , the lower the probability that the link is abnormal.
  • the link confirmer determines whether an alarm signal is generated according to a degree of mismatch between the actual optical label information and the reference optical label information.
  • the step 1804 may be: if the degree of mismatch between the actual optical label information and the reference optical label information is greater than a preset threshold, the link validator determines to generate an alarm signal; if the actual optical label information and the reference optical label information If the degree of mismatch is less than or equal to the preset threshold, the link validator determines that no alarm signal is generated.
  • the optical packet after the exchange is the optical packet exchanged by the primary optical packet switch or the optical packet exchanged by the standby optical packet switch.
  • the optical packet switch may be an optical packet switch with active/standby protection.
  • the optical packet switch with active/standby protection may include a primary optical switching matrix, a standby optical switching matrix, and N 1*2 optical switch, N optical multiplexers.
  • the link validator may parse the actual optical label information carried in the optical label of the optical packet exchanged by the primary optical packet switch according to the reference optical label information.
  • the step 1804 may be: the link confirmer determines whether the link in the primary optical packet switch is generated according to the actual optical label information and the reference optical label information carried in the optical label of the optical packet exchanged by the primary optical packet switch. Corresponding alarm signal.
  • the method may further include: when determining to generate an alarm signal corresponding to the link in the primary optical packet switch, the link validator sends an alarm signal corresponding to the link in the primary optical packet switch to the control manager.
  • the step 1802 may be that the link validator parses the actual optical tag information carried in the optical tag of the optical packet exchanged by the standby optical packet switch according to the reference optical tag information.
  • the step 1804 may be that the link validator determines whether to generate the chain in the standby optical packet switch according to the actual optical label information and the reference optical label information carried in the optical label of the optical packet exchanged by the standby optical packet switch.
  • the alarm signal corresponding to the road may further include: when determining to generate an alarm signal corresponding to the link in the standby optical packet switch, the link validator sends the alarm signal corresponding to the link in the standby optical packet switch to the control. Manager.
  • the optical packet switching may be preferentially performed by the primary optical packet switch.
  • the link validator determines whether an alarm signal corresponding to the link in the primary optical packet switch is generated; when in the primary optical packet switch When a link is abnormal, the corresponding link in the standby optical packet switch is controlled by the 1*2 optical switch to perform optical packet switching.
  • the link confirmer determines whether to generate a link corresponding to the link in the standby optical packet switch. Alarm signal.
  • the optical packet switch with the active/standby protection can implement optical packet switching through a corresponding link in the standby optical packet switch when a link in the primary optical packet switch is abnormal. It is possible to avoid the situation where the optical packet exchange cannot be performed due to the link abnormality in the process of optical packet switching.
  • the link validator sends the alarm signal to the control manager.
  • control manager determines whether the link corresponding to the alarm signal is abnormal according to the alarm signal sent by the link confirmer.
  • the control manager may send the next hopping optical label to the new optical label generator, so that the new optical label generator is based on The next hop label generates a new light label and sends the new light label to the optical label rewriter, further enabling the optical label rewriter to combine the exchanged optical package with the new optical label.
  • the implementation method of the optical label rewriter can be determined by the transmission mode of the optical label. For example, if the optical tag transmits the optical packet on the link through different wavelengths of the optical packet payload, the result of the optical tag rewriter can be as shown in FIG. 12, and the optical tag rewriter can be composed of an optical filter and a photosynthetic device.
  • the wave filter is composed of an optical filter that can be used to separate the original optical tag from the optical packet payload, and the optical combiner can be used to couple the optical packet payload with the new optical tag.
  • the optical packet input from each input port may first pass through the optical splitter, so that the optical splitter divides the optical packet into two parts, wherein a part of the optical component contains most of the optical energy, and a part of the optical energy is included. A small portion of the light energy, most of the light energy enters the optical packet switch, and a small portion of the light energy enters the control manager.
  • the splitter can enter 90% of the light in the optical packet into the optical packet switch, and the remaining 10% of the light can enter the control manager; or the optical splitter can enter 85% of the optical energy into the optical packet switch. The remaining 15% of the light enters the Control Manager.
  • the optical packet before the optical packet enters the optical packet switch, the optical packet is divided into two parts by the optical splitter, and most of the optical energy enters the optical packet switch, and the remaining small portion of the optical energy enters the control manager.
  • the control manager can extract the routing information according to the light energy of the small portion, and generate the control signal, the reference optical label information, and the enable signal, thereby controlling the optical packet switch to perform optical packet switching on the majority of the optical energy.
  • most of the optical energy may first pass through a certain length of the optical fiber delay line, and then enter the optical packet switch.
  • the control manager After most of the optical energy enters the optical packet switch after passing through a certain length of the optical fiber delay line, sufficient time is reserved for the control manager to generate a corresponding control signal, and then most of the light Before entering the optical packet switch, the optical packet switch can control the corresponding optical packet switching link according to the control signal.
  • an embodiment of the present invention provides a link confirmation apparatus for an optical packet switching system.
  • an entity of the apparatus may be a link confirmer.
  • the device includes a receiving unit 211, a parsing unit 212, a determining unit 213, and a transmitting unit 214.
  • the receiving unit 211 is configured to receive reference optical label information and an enable message sent by the control manager. number.
  • the parsing unit 212 is configured to parse the actual optical tag information carried in the optical tag of the switched optical packet according to the information type of the reference optical tag information received by the receiving unit 211.
  • the determining unit 213 is configured to determine whether an alarm signal is generated according to the actual optical tag information parsed by the parsing unit 212 and the reference optical tag information received by the receiving unit 211 when the receiving signal received by the receiving unit 211 is turned on.
  • the sending unit 214 is configured to send the alarm signal to the control manager when the determining unit 213 determines to generate the alarm signal.
  • the actual optical tag information parsed by the parsing unit 212 is the same as the information type of the reference optical tag information received by the receiving unit 211.
  • the information type may include source port information, destination port information, packet length information, or priority information.
  • the reference optical tag information received by the receiving unit 211 is at least one type of information included in the information type.
  • the device may further include: a computing unit 215.
  • the calculating unit 215 is configured to calculate a degree of mismatch between the actual optical tag information parsed by the parsing unit 212 and the reference optical tag information received by the receiving unit 211.
  • the determining unit 213 is specifically configured to determine whether an alarm signal is generated according to the degree of mismatch between the actual optical tag information calculated by the calculating unit 215 and the reference optical tag information.
  • the determining unit 213 is specifically configured to determine that the alarm signal is generated when the degree of mismatch between the actual optical tag information and the reference optical tag information is greater than a preset threshold.
  • the determining unit 213 is further configured to determine that the alarm signal is not generated when the degree of mismatch between the actual optical label information and the reference optical label information is less than or equal to a preset threshold.
  • the receiving unit 211 is further configured to receive a selection control signal sent by the control manager.
  • the selection control signal may carry identifier information corresponding to the output port of the switched optical packet.
  • the device may further include: a selecting unit 216.
  • the selecting unit 216 is configured to select an output port of the switched optical packet from the plurality of output ports according to the identifier information corresponding to the output port of the switched optical packet received by the receiving unit 211.
  • the parsing unit 212 is configured to parse the actual optical tag information carried in the optical tag of the optical packet after the exchange, according to the reference optical tag information, from the output port of the switched optical packet selected by the selecting unit 216.
  • the post-exchange optical packet analyzed by the parsing unit 212 is the optical packet exchanged by the primary optical packet switch or the optical packet exchanged by the standby optical packet switch.
  • the parsing unit 212 is configured to parse the actual optical label information carried in the optical label of the optical packet exchanged by the primary optical packet switch according to the reference optical label information.
  • the determining unit 213 is configured to determine whether to generate an alarm signal corresponding to the link in the primary optical packet switch according to the actual optical label information and the reference optical label information carried in the optical label of the optical packet exchanged by the primary optical packet switch.
  • the parsing unit 212 is further configured to parse the actual optical label information carried in the optical label of the optical packet exchanged by the standby optical packet switch according to the reference optical label information.
  • the determining unit 213 is further configured to determine whether to generate an alarm signal corresponding to the link in the standby optical packet switch according to the actual optical label information and the reference optical label information carried in the optical label of the optical packet exchanged by the standby optical packet switch. .
  • the sending unit 214 is further configured to: when the determining unit 213 determines that the alarm signal corresponding to the link in the primary optical packet switch is generated, send an alarm signal corresponding to the link in the primary optical packet switch to the control manager.
  • the sending unit 214 is further configured to: when the determining unit 213 determines to generate an alarm signal corresponding to the link in the standby optical packet switch, send the alarm signal corresponding to the link in the standby optical packet switch to the control manager.
  • the determining unit 213 is further configured to: when the enable signal received by the receiving unit 211 is turned off, if the actual optical tag information carried in the optical tag of the optical packet after the optical packet cannot be parsed, determine that the alarm signal is generated.
  • the entity of the link confirming device of the optical packet switching system may be a link confirmer.
  • the link validator may include: a receiver 221, a processor 222, and a transmitter 223.
  • the memory 224 is coupled to the processor 222.
  • the receiver 221 is configured to receive reference optical tag information and an enable signal sent by the control manager.
  • the processor 222 is configured to parse the actual optical tag information carried in the optical tag of the switched optical packet according to the information type of the reference optical tag information received by the receiver 221 .
  • the processor 222 is further configured to determine whether an alarm signal is generated according to the actual optical tag information and the reference optical tag information received by the receiver 221 when the enable signal received by the receiving unit 211 is turned on.
  • the transmitter 223 is configured to send the alarm signal to the control manager when the processor 222 determines to generate the alarm signal.
  • the actual optical tag information parsed by the processor 222 is the same as the information type of the reference optical tag information received by the receiver 221.
  • the information type may include source port information, destination port information, packet length information, or priority information.
  • the reference optical tag information received by the receiver 221 is at least one type of information included in the information type.
  • the processor 222 is further configured to calculate a degree of mismatch between the actual optical tag information and the reference optical tag information received by the receiver 221.
  • the processor 222 is specifically configured to determine whether an alarm signal is generated according to a degree of mismatch between the actual optical label information and the reference optical label information.
  • the processor 222 is specifically configured to determine that an alarm signal is generated when the degree of mismatch between the actual optical label information and the reference optical label information is greater than a preset threshold.
  • the processor 222 is further configured to determine that no alarm signal is generated when the degree of mismatch between the actual optical label information and the reference optical label information is less than or equal to a preset threshold.
  • the transmitter 223 is configured to send an alarm signal when the processor 222 determines that the alarm signal is generated. Give the control manager.
  • the receiver 221 is further configured to receive a selection control signal sent by the control manager.
  • the selection control signal may carry identifier information corresponding to the output port of the switched optical packet.
  • the processor 222 is configured to select an output port of the switched optical packet from the plurality of output ports according to the identifier information corresponding to the output port of the switched optical packet received by the receiver 221.
  • the processor 222 is configured to parse the actual optical label information carried in the optical label of the switched optical packet from the output port of the selected switched optical packet according to the reference optical label information.
  • the post-switching optical packet parsed by the processor 222 is the optical packet exchanged by the primary optical packet switch or the optical packet exchanged by the standby optical packet switch.
  • the processor 222 is configured to parse the actual optical label information carried in the optical label of the optical packet exchanged by the primary optical packet switch according to the reference optical label information.
  • the processor 222 is configured to determine whether to generate an alarm signal corresponding to the link in the primary optical packet switch according to the actual optical label information and the reference optical label information carried in the optical label of the optical packet exchanged by the primary optical packet switch.
  • the processor 222 is further configured to parse the actual optical label information carried in the optical label of the optical packet exchanged by the standby optical packet switch according to the reference optical label information.
  • the processor 222 is further configured to determine whether to generate an alarm signal corresponding to the link in the standby optical packet switch according to the actual optical label information and the reference optical label information carried in the optical label of the optical packet exchanged by the standby optical packet switch. .
  • the transmitter 223 is further configured to: when the processor 222 determines to generate an alarm signal corresponding to the link in the primary optical packet switch, send an alarm signal corresponding to the link in the primary optical packet switch to the control manager.
  • the transmitter 223 is further configured to: when the processor 222 determines to generate an alarm signal corresponding to the link in the standby optical packet switch, send the alarm signal corresponding to the link in the standby optical packet switch to the control manager.
  • the processor 222 is further configured to: if the enable signal received by the receiver 221 is turned off, if not After the actual optical label information carried in the optical label of the optical packet is exchanged, it is determined that the alarm signal is generated.
  • the link confirmation method, device and system of the optical packet switching system provided by the embodiment of the present invention firstly control the manager to generate the reference optical tag information and the enable signal, and send the signal to the link confirmer; then when the enable signal is turned on, the chain
  • the path confirmer determines whether to generate an alarm signal according to the analyzed actual optical tag information and the received reference optical tag information. If it is determined that the alarm signal is generated, the alarm signal is sent to the control manager; finally, the control manager receives the alarm signal according to the received alarm signal. Further determining whether the link corresponding to the alarm signal is abnormal.
  • the test signal exchanged by the optical packet switch is currently coupled with the circulator at each output port of the optical packet switch, and the test is exchanged by the optical packet switch at the circulator of each input port of the optical packet switch.
  • the test signal can be avoided by the circulator of each output port of the optical packet switch, and the test signal can be avoided by the circulator of each input port of the optical packet switch, thereby reducing the cost of optical packet switching.
  • the embodiment of the invention provides a link confirmation system for an optical packet switching system.
  • the system includes a control manager 231 and a link confirmer 232.
  • the control manager 231 is configured to parse the routing information carried in the optical label of the optical packet before the switching, and generate the reference optical label information and the enabling signal according to the routing information.
  • the control manager 231 is further configured to send the reference optical tag information and the enable signal to the link validator 232.
  • the link validator 232 is configured to receive the reference optical tag information and the enable signal sent by the control manager 231, and parse the actual optical tag information carried in the optical tag of the switched optical packet according to the information type of the reference optical tag information.
  • the link confirmer 232 is further configured to determine whether to generate an alarm signal according to the actual optical label information and the reference optical label information when the enable signal is turned on, and send the alarm signal to the control manager 231 when it is determined that the alarm signal is generated.
  • the control manager 231 is further configured to: when the enable signal is turned on, determine whether the alarm signal sent by the link confirmer 232 is received, and if the alarm signal sent by the link confirmer 232 is received, determine the alarm signal according to the alarm signal. Whether the corresponding link is abnormal.
  • the link confirmation method, device and system of the optical packet switching system provided by the embodiment of the present invention firstly control the manager to generate the reference optical tag information and the enable signal, and send the signal to the link confirmer; then when the enable signal is turned on, the chain
  • the path confirmer determines whether to generate an alarm signal according to the analyzed actual optical tag information and the received reference optical tag information. If it is determined that the alarm signal is generated, the alarm signal is sent to the control manager; finally, the control manager receives the alarm signal according to the received alarm signal. Further determining whether the link corresponding to the alarm signal is abnormal.
  • the test signal exchanged by the optical packet switch is currently coupled with the circulator at each output port of the optical packet switch, and the test is exchanged by the optical packet switch at the circulator of each input port of the optical packet switch.
  • the circulator coupling test signal passing through each output port of the optical packet switch can be avoided.
  • the link acknowledgment apparatus of the optical packet switching system provided by the embodiment of the present invention may implement the foregoing method embodiment.
  • the method, device and system for confirming the link of the optical packet switching system provided by the embodiment of the present invention can be applied to the optical switching application in a network such as a data center, but is not limited thereto.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Optical Communication System (AREA)

Abstract

本发明实施例公开了一种光包交换系统的链路确认方法、装置及系统,涉及信息技术领域,可以降低光包交换的成本。所述方法包括:首先控制管理器生成参考光标签信息及使能信号,并发送给链路确认器;然后当使能信号打开时,链路确认器根据解析的实际光标签信息及接收的参考光标签信息,确定是否产生告警信号,若确定产生告警信号,则将告警信号发送给控制管理器;最后控制管理器根据接收到的告警信号,进一步确定告警信号对应的链路是否异常。本发明实施例适用于将光交换应用在数据中心等网络中。

Description

光包交换系统的链路确认方法、装置及系统
本申请要求了2014年04月15日提交的,申请号为201410151573.4,发明名称为“光包交换系统的链路确认方法、装置及系统”的中国申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及信息技术领域,特别涉及一种光包交换系统的链路确认方法、装置及系统。
背景技术
随着多媒体、云计算等新型业务的大量应用,通信流量每年成倍增加,用户对带宽的需求也越来越高,为了满足网络容量高速增长及低时延的需求,光交换开始逐渐用于网络中。当光包交换系统中的光包交换节点长期运行时,光包交换系统的核心光包交换器由于老化等原因,存在内部某些开关单元性能恶化的情况,从而导致光包交换器的输入端口与输出端口之间的某些链路失效,进而导致部分光包无法交换到正确的输出端口。因此在光交换的过程中,需要确定光包对应的交换链路是否正常。
目前,通过在光包交换器的各个输入端口及各个输出端口分别增加环形器,以实现链路确认器产生的测试信号经过光交换器回到链路确认器。具体地,首先链路确认器产生N个不同的测试信号,并将这些测试信号分别耦合到光包交换器输出侧的环形器上,然后光包交换器输入侧的环形器将测试信号与输入信号分离,并传输至链路确认器,最后链路确认器根据接收到的测试信号与期望测试信号进行比较,从而确定对应的交换链路是否正常。
然而,通过在光包交换器的各个输入端口及各个输出端口分别增加环形器,由于光包交换器的每个输入端口及每个输出端口出均需增加对应的环形器,因此在光包交换装置中需要大量的环形器,从而导致光包交换的成本较高。
发明内容
本发明实施例提供一种光包交换系统的链路确认方法、装置及系统,可以降低光包交换的成本。
本发明实施例采用的技术方案为:
第一方面,本发明实施例提供一种光包交换系统的链路确认方法,包括:
控制管理器解析交换前光包的光标签中携带的路由信息;
所述控制管理器根据所述路由信息,生成参考光标签信息及使能信号;
所述控制管理器将所述参考光标签信息及所述使能信号发送给链路确认器;
当所述使能信号打开时,所述控制管理器判断是否接收到所述链路确认器发送的告警信号;
若接收到所述链路确认器发送的所述告警信号,则所述控制管理器根据所述告警信号,确定所述告警信号对应的链路是否异常。
结合第一方面,在第一方面的第一种可能的实现方式中,所述参考光标签信息为所述路由信息的各种信息类型中包括的至少一种信息;
所述路由信息的各种信息类型包括源端口信息、目的端口信息、包长信息或者优先级信息。
结合第一方面或者第一方面的第一种可能的实现方式,在第一方面的第二种可能的实现方式中,所述使能信号用于触发所述链路确认器进行链路是否异常的检测。
结合第一方面或者第一方面的第一种可能的实现方式,或者第一方面的第二种可能的实现方式,在第一方面的第三种可能的实现方式中,所述控制管理器根据所述告警信号,确定所述告警信号对应的链路是否异常的步骤之前,还包括:
若接收到所述链路确认器发送的所述告警信号,则所述控制管理器对 所述链路的告警次数进行加一操作;
所述控制管理器判断加一后的所述链路的告警次数是否大于预置阈值;
所述控制管理器根据所述告警信号,确定所述告警信号对应的链路是否异常的步骤包括:
若加一后的所述链路的告警次数大于所述预置阈值,则所述控制管理器确定所述链路异常。
结合第一方面的第三种可能的实现方式,在第一方面的第四种可能的实现方式中,所述控制管理器确定所述链路异常的步骤之后,还包括:
所述控制管理器将链路状态信息表中所述链路的状态信息由正常更新为异常。
结合第一方面或者第一方面的第一种可能的实现方式,或者第一方面的第二种可能的实现方式,或者第一方面的第三种可能的实现方式,或者第一方面的第四种可能的实现方式,在第一方面的第五种可能的实现方式中,所述控制管理器根据所述路由信息,生成参考光标签信息及使能信号的步骤之前,还包括:
所述控制管理器根据所述包长信息,确定使能打开持续时间,所述使能打开持续时间用于确定所述使能信号的关闭时间;
所述当所述使能信号打开时,所述控制管理器判断是否接收到所述链路确认器发送的告警信号的步骤之后,还包括:
当所述使能信号关闭时,若未接收到所述链路确认器发送的所述告警信号,则所述控制管理器对所述链路的告警次数进行赋零操作。
结合第一方面或者第一方面的第一种可能的实现方式,或者第一方面的第二种可能的实现方式,或者第一方面的第三种可能的实现方式,或者第一方面的第四种可能的实现方式,或者第一方面的第五种可能的实现方式,在第一方面的第六种可能的实现方式中,所述链路为主光包交换器中的链路或者备用光包交换器中的链路;
所述若接收到所述链路确认器发送的所述告警信号,则所述控制管理器根据所述告警信号,确定所述告警信号对应的链路是否异常的步骤包括:
若接收到所述链路确认器发送的所述主光包交换器中的链路对应的告警信号,则所述控制管理器根据所述主光包交换器中的链路对应的告警信号,确定所述主光包交换器中的链路是否异常;
所述确定所述主光包交换器中的链路是否异常的步骤之后,还包括:
若确定所述主光包交换器中的链路异常,则所述控制管理器向光包交换器发送主备选择控制信号,以使得通过所述备用光包交换器进行光包交换;
若接收到所述链路确认器发送的所述备用光包交换器中的链路对应的告警信号,则所述控制管理器根据所述备用光包交换器中的链路对应的告警信号,确定所述备用光包交换器中的链路是否异常。
结合第一方面的第六种可能的实现方式,在第一方面的第七种可能的实现方式中,所述确定所述主光包交换器中的链路是否异常的步骤之后,还包括:
若确定所述主光包交换器中的链路异常,则所述控制管理器将所述链路状态信息表中所述链路的状态信息由正常更新为主光包交换器异常;
所述控制管理器确定所述备用光包交换器中的链路是否异常的步骤之后,还包括:
若确定所述备用光包交换器中的链路异常,则所述控制管理器将所述链路状态信息表中所述链路的状态信息由主光包交换器异常更新为备用光包交换器异常。
结合第一方面或者第一方面的第一种可能的实现方式,或者第一方面的第二种可能的实现方式,或者第一方面的第三种可能的实现方式,或者第一方面的第四种可能的实现方式,或者第一方面的第五种可能的实现方式,或者第一方面的第六种可能的实现方式,或者第一方面的第七种可能 的实现方式,在第一方面的第八种可能的实现方式中,所述控制管理器根据所述路由信息,生成参考光标签信息及使能信号的步骤之后,还包括:
所述控制管理器根据所述路由信息,生成选择控制信号,并将所述选择控制信号发送给所述链路确认器,所述选择控制信号中携带有交换后光包的输出端口对应的标识信息。
结合第一方面或者第一方面的第一种可能的实现方式,或者第一方面的第二种可能的实现方式,或者第一方面的第三种可能的实现方式,或者第一方面的第四种可能的实现方式,或者第一方面的第五种可能的实现方式,或者第一方面的第六种可能的实现方式,或者第一方面的第七种可能的实现方式,或者第一方面的第八种可能的实现方式,在第一方面的第九种可能的实现方式中,所述控制管理器解析交换前光包的光标签中携带的路由信息的步骤之后,还包括:
所述控制管理器根据所述路由信息,计算交换后光包的下一跳光标签,以使得将所述交换后光包与所述下一跳光标签进行合成,所述下一跳光标签为所述交换后光包在下一跳光包交换器所对应的光标签。
第二方面,本发明实施例提供一种光包交换系统的链路确认装置,包括:
解析单元,用于解析交换前光包的光标签中携带的路由信息;
生成单元,用于根据所述解析单元解析的所述路由信息,生成参考光标签信息及使能信号;
发送单元,用于将所述生成单元生成的所述参考光标签信息及所述使能信号发送给链路确认器;
判断单元,用于当所述发送单元发送的所述使能信号打开时,判断是否接收到所述链路确认器发送的告警信号;
确定单元,用于当所述判断单元判断接收到所述链路确认器发送的所述告警信号时,根据所述告警信号,确定所述告警信号对应的链路是否异常。
结合第二方面,在第二方面的第一种可能的实现方式中,
所述生成单元生成的所述参考光标签信息为所述路由信息的各种信息类型中包括的至少一种信息;
所述路由信息的各种信息类型包括源端口信息、目的端口信息、包长信息或者优先级信息。
结合第二方面或者第二方面的第一种可能的实现方式,在第二方面的第二种可能的实现方式中,
所述生成单元生成的所述使能信号用于触发所述链路确认器进行链路是否异常的检测。
结合第二方面或者第二方面的第一种可能的实现方式,或者第二方面的第二种可能的实现方式,在第二方面的第三种可能的实现方式中,所述装置还包括:运算单元;
所述运算单元,用于当所述判断单元判断接收到所述链路确认器发送的所述告警信号时,对所述链路的告警次数进行加一操作;
所述判断单元,还用于判断所述运算单元加一后的所述链路的告警次数是否大于预置阈值;
所述确定单元,还用于当所述判断单元判断加一后的所述链路的告警次数大于所述预置阈值时,确定所述链路异常。
结合第二方面的第三种可能的实现方式,在第二方面的第四种可能的实现方式中,所述装置还包括:更新单元;
所述更新单元,用于当所述确定单元确定所述链路异常时,将链路状态信息表中所述链路的状态信息由正常更新为异常。
结合第二方面或者第二方面的第一种可能的实现方式,或者第二方面的第二种可能的实现方式,或者第二方面的第三种可能的实现方式,或者第二方面的第四种可能的实现方式,在第二方面的第五种可能的实现方式中,
所述确定单元,还用于根据所述包长信息,确定使能打开持续时间, 所述使能打开持续时间用于确定所述使能信号的关闭时间;
所述装置还包括:赋值单元;
所述赋值单元,还用于当所述使能信号关闭,并且所述判断单元判断未接收到所述链路确认器发送的所述告警信号时,对所述链路的告警次数进行赋零操作。
结合第二方面或者第二方面的第一种可能的实现方式,或者第二方面的第二种可能的实现方式,或者第二方面的第三种可能的实现方式,或者第二方面的第四种可能的实现方式,或者第二方面的第五种可能的实现方式,在第二方面的第六种可能的实现方式中,
所述确定单元确定的所述链路为主光包交换器中的链路或者备用光包交换器中的链路;
所述确定单元,具体用于当所述判断单元判断接收到所述链路确认器发送的所述主光包交换器中的链路对应的告警信号时,根据所述主光包交换器中的链路对应的告警信号,确定所述主光包交换器中的链路是否异常;
所述发送单元,还用于当所述确定单元确定所述主光包交换器中的链路异常时,向光包交换器发送主备选择控制信号;
所述确定单元,具体还用于当所述判断单元判断接收到所述链路确认器发送的所述备用光包交换器中的链路对应的告警信号时,根据所述备用光包交换器中的链路对应的告警信号,确定所述备用光包交换器中的链路是否异常。
结合第二方面的第六种可能的实现方式,在第二方面的第七种可能的实现方式中,
所述更新单元,具体用于当所述确定单元确定所述主光包交换器中的链路异常时,将所述链路状态信息表中所述链路的状态信息由正常更新为主光包交换器异常;
所述更新单元,具体还用于当所述确定单元确定所述备用光包交换器 中的链路异常时,将所述链路状态信息表中所述链路的状态信息由主光包交换器异常更新为备用光包交换器异常。
结合第二方面或者第二方面的第一种可能的实现方式,或者第二方面的第二种可能的实现方式,或者第二方面的第三种可能的实现方式,或者第二方面的第四种可能的实现方式,或者第二方面的第五种可能的实现方式,或者第二方面的第六种可能的实现方式,或者第二方面的第七种可能的实现方式,在第二方面的第八种可能的实现方式中,
所述生成单元,还用于根据所述路由信息,生成选择控制信号,所述选择控制信号中携带有交换后光包的输出端口对应的标识信息;
所述发送单元,还用于将所述生成单元生成的所述选择控制信号发送给所述链路确认器。
结合第二方面或者第二方面的第一种可能的实现方式,或者第二方面的第二种可能的实现方式,或者第二方面的第三种可能的实现方式,或者第二方面的第四种可能的实现方式,或者第二方面的第五种可能的实现方式,或者第二方面的第六种可能的实现方式,或者第二方面的第七种可能的实现方式,或者第二方面的第八种可能的实现方式,在第二方面的第九种可能的实现方式中,所述装置还包括:计算单元;
所述计算单元,用于根据所述路由信息,计算所述解析单元解析的交换后光包的下一跳光标签,所述下一跳光标签为所述交换后光包在下一跳光包交换器所对应的光标签。
第三方面,本发明实施例提供一种光包交换系统的链路确认方法,包括:
链路确认器接收控制管理器发送的参考光标签信息及使能信号;
所述链路确认器根据所述参考光标签信息的信息类型,解析交换后光包的光标签中携带的实际光标签信息;
当所述使能信号打开时,所述链路确认器根据所述实际光标签信息及所述参考光标签信息,确定是否产生告警信号;
当确定产生所述告警信号时,所述链路确认器将所述告警信号发送给所述控制管理器。
结合第三方面,在第三方面的第一种可能的实现方式中,所述实际光标签信息与所述参考光标签信息的信息类型相同。
结合第三方面的第一种可能的实现方式,在第三方面的第二种可能的实现方式中,所述信息类型包括源端口信息、目的端口信息、包长信息或者优先级信息;
所述参考光标签信息为所述信息类型中包括的至少一种信息类型。
结合第三方面或者第三方面的第一种可能的实现方式,或者第三方面的第二种可能的实现方式,在第三方面的第三种可能的实现方式中,所述链路确认器根据所述实际光标签信息及所述参考光标签信息,确定是否产生告警信号的步骤之前,还包括:
所述链路确认器计算所述实际光标签信息与所述参考光标签信息之间的不匹配度;
所述链路确认器根据所述实际光标签信息及所述参考光标签信息,确定是否产生告警信号的步骤包括:
所述链路确认器根据所述实际光标签信息与所述参考光标签信息之间的不匹配度,确定是否产生所述告警信号。
结合第三方面的第三种可能的实现方式,在第三方面的第四种可能的实现方式中,所述链路确认器根据所述实际光标签信息与所述参考光标签信息之间的不匹配度,确定是否产生所述告警信号的步骤包括:
若所述实际光标签信息与所述参考光标签信息之间的不匹配度大于预置阈值,则所述链路确认器确定产生所述告警信号;
若所述实际光标签信息与所述参考光标签信息之间的不匹配度小于或者等于所述预置阈值,则所述链路确认器确定不产生所述告警信号。
结合第三方面或者第三方面的第一种可能的实现方式,或者第三方面的第二种可能的实现方式,或者第三方面的第三种可能的实现方式,或者 第三方面的第四种可能的实现方式,在第三方面的第五种可能的实现方式中,所述链路确认器根据所述参考光标签信息的信息类型,解析交换后光包的光标签中携带的实际光标签信息的步骤之前,还包括:
所述链路确认器接收所述控制管理器发送的选择控制信号,所述选择控制信号中携带有所述交换后光包的输出端口对应的标识信息;
所述链路确认器根据所述交换后光包的输出端口对应的标识信息,从多个输出端口中选择所述交换后光包的输出端口;
所述链路确认器根据所述参考光标签信息的信息类型,解析交换后光包的光标签中携带的实际光标签信息的步骤包括:
所述链路确认器根据所述参考光标签信息,从所述交换后光包的输出端口,解析所述交换后光包的光标签中携带的实际光标签信息。
结合第三方面或者第三方面的第一种可能的实现方式,或者第三方面的第二种可能的实现方式,或者第三方面的第三种可能的实现方式,或者第三方面的第四种可能的实现方式,或者第三方面的第五种可能的实现方式,在第三方面的第六种可能的实现方式中,所述交换后光包为主光包交换器交换后光包或者备用光包交换器交换后光包;
所述链路确认器根据所述参考光标签信息,解析交换后光包的光标签中携带的实际光标签信息的步骤包括:
所述链路确认器根据所述参考光标签信息,解析所述主光包交换器交换后光包的光标签中携带的实际光标签信息;
所述链路确认器根据所述实际光标签信息及所述参考光标签信息,确定是否产生告警信号的步骤包括:
所述链路确认器根据所述主光包交换器交换后光包的光标签中携带的实际光标签信息及所述参考光标签信息,确定是否产生所述主光包交换器中的链路对应的告警信号。
结合第三方面的第六种可能的实现方式,在第三方面的第七种可能的实现方式中,所述链路确认器根据所述参考光标签信息,解析交换后光包 的光标签中携带的实际光标签信息的步骤包括:
所述链路确认器根据所述参考光标签信息,解析所述备用光包交换器交换后光包的光标签中携带的实际光标签信息;
所述链路确认器根据所述实际光标签信息及所述参考光标签信息,确定是否产生告警信号的步骤包括:
所述链路确认器根据所述备用光包交换器交换后光包的光标签中携带的实际光标签信息及所述参考光标签信息,确定是否产生所述备用光包交换器中的链路对应的告警信号。
结合第三方面的第七种可能的实现方式,在第三方面的第八种可能的实现方式中,所述链路确认器根据所述主光包交换器交换后光包的光标签中携带的实际光标签信息及所述参考光标签信息,确定是否产生所述主光包交换器中的链路对应的告警信号的步骤之后,还包括:
当确定产生所述主光包交换器中的链路对应的告警信号时,所述链路确认器将所述主光包交换器中的链路对应的告警信号发送给所述控制管理器;
所述链路确认器根据所述备用光包交换器交换后光包的光标签中携带的实际光标签信息及所述参考光标签信息,确定是否产生所述备用光包交换器中的链路对应的告警信号的步骤之后,还包括:
当确定产生所述备用光包交换器中的链路对应的告警信号时,所述链路确认器将所述备用光包交换器中的链路对应的告警信号发送给所述控制管理器。
结合第三方面或者第三方面的第一种可能的实现方式,或者第三方面的第二种可能的实现方式,或者第三方面的第三种可能的实现方式,或者第三方面的第四种可能的实现方式,或者第三方面的第五种可能的实现方式,或者第三方面的第六种可能的实现方式,或者第三方面的第七种可能的实现方式,或者第三方面的第八种可能的实现方式,在第三方面的第九种可能的实现方式中,所述链路确认器根据所述参考光标签信息,解析交 换后光包的光标签中携带的实际光标签信息的步骤之后,还包括:
当所述使能信号关闭时,若不能解析出交换后光包的光标签中携带的实际光标签信息,则所述链路确认器确定产生所述告警信号。
第四方面,本发明实施例提供一种光包交换系统的链路确认装置,包括:
接收单元,用于接收控制管理器发送的参考光标签信息及使能信号;
解析单元,用于根据所述接收单元接收的所述参考光标签信息的信息类型,解析交换后光包的光标签中携带的实际光标签信息;
确定单元,用于当所述接收单元接收的所述使能信号打开时,根据所述解析单元解析的所述实际光标签信息及所述接收单元接收的所述参考光标签信息,确定是否产生告警信号;
发送单元,用于当所述确定单元确定产生所述告警信号时,将所述告警信号发送给所述控制管理器。
结合第四方面,在第四方面的第一种可能的实现方式中,
所述解析单元解析的所述实际光标签信息与所述接收单元接收的所述参考光标签信息的信息类型相同。
结合第四方面的第一种可能的实现方式,在第四方面的第二种可能的实现方式中,
所述信息类型包括源端口信息、目的端口信息、包长信息或者优先级信息;
所述接收单元接收的所述参考光标签信息为所述信息类型中包括的至少一种信息类型。
结合第四方面或者第四方面的第一种可能的实现方式,或者第四方面的第二种可能的实现方式,在第四方面的第三种可能的实现方式中,所述装置还包括:计算单元;
所述计算单元,用于计算所述解析单元解析的所述实际光标签信息与所述接收单元接收的所述参考光标签信息之间的不匹配度;
所述确定单元,具体用于根据所述计算单元计算的所述实际光标签信息与所述参考光标签信息之间的不匹配度,确定是否产生所述告警信号。
结合第四方面的第三种可能的实现方式,在第四方面的第四种可能的实现方式中,
所述确定单元,具体用于当所述实际光标签信息与所述参考光标签信息之间的不匹配度大于预置阈值时,确定产生所述告警信号;
所述确定单元,具体还用于当所述实际光标签信息与所述参考光标签信息之间的不匹配度小于或者等于所述预置阈值时,确定不产生所述告警信号。
结合第四方面或者第四方面的第一种可能的实现方式,或者第四方面的第二种可能的实现方式,或者第四方面的第三种可能的实现方式,或者第四方面的第四种可能的实现方式,在第四方面的第五种可能的实现方式中,
所述接收单元,还用于接收所述控制管理器发送的选择控制信号,所述选择控制信号中携带有所述交换后光包的输出端口对应的标识信息;
所述装置还包括:选择单元;
所述选择单元,用于根据所述接收单元接收的所述交换后光包的输出端口对应的标识信息,从多个输出端口中选择所述交换后光包的输出端口;
所述解析单元,具体用于根据所述参考光标签信息,从所述选择单元选择的所述交换后光包的输出端口,解析所述交换后光包的光标签中携带的实际光标签信息。
结合第四方面或者第四方面的第一种可能的实现方式,或者第四方面的第二种可能的实现方式,或者第四方面的第三种可能的实现方式,或者第四方面的第四种可能的实现方式,或者第四方面的第五种可能的实现方式,在第四方面的第六种可能的实现方式中,
所述解析单元解析的所述交换后光包为主光包交换器交换后光包或 者备用光包交换器交换后光包;
所述解析单元,具体用于根据所述参考光标签信息,解析所述主光包交换器交换后光包的光标签中携带的实际光标签信息;
所述确定单元,具体用于根据所述主光包交换器交换后光包的光标签中携带的实际光标签信息及所述参考光标签信息,确定是否产生所述主光包交换器中的链路对应的告警信号。
结合第四方面的第六种可能的实现方式,在第四方面的第七种可能的实现方式中,
所述解析单元,具体还用于根据所述参考光标签信息,解析所述备用光包交换器交换后光包的光标签中携带的实际光标签信息;
所述确定单元,具体还用于根据所述备用光包交换器交换后光包的光标签中携带的实际光标签信息及所述参考光标签信息,确定是否产生所述备用光包交换器中的链路对应的告警信号。
结合第四方面的第七种可能的实现方式,在第四方面的第八种可能的实现方式中,
所述发送单元,还用于当所述确定单元确定产生所述主光包交换器中的链路对应的告警信号时,将所述主光包交换器中的链路对应的告警信号发送给所述控制管理器;
所述发送单元,还用于当所述确定单元确定产生所述备用光包交换器中的链路对应的告警信号时,将所述备用光包交换器中的链路对应的告警信号发送给所述控制管理器。
结合第四方面或者第四方面的第一种可能的实现方式,或者第四方面的第二种可能的实现方式,或者第四方面的第三种可能的实现方式,或者第四方面的第四种可能的实现方式,或者第四方面的第五种可能的实现方式,或者第四方面的第六种可能的实现方式,或者第四方面的第七种可能的实现方式,或者第四方面的第八种可能的实现方式,在第四方面的第九种可能的实现方式中,
所述确定单元,还用于当所述接收单元接收的所述使能信号关闭时,若不能解析出交换后光包的光标签中携带的实际光标签信息,则确定产生所述告警信号。
第五方面,本发明实施例提供一种光包交换系统的链路确认系统,包括:控制管理器及链路确认器;
所述控制管理器,用于解析交换前光包的光标签中携带的路由信息,并根据所述路由信息,生成参考光标签信息及使能信号;
所述控制管理器,还用于将所述参考光标签信息及所述使能信号发送给链路确认器;
所述链路确认器,用于接收所述控制管理器发送的参考光标签信息及使能信号,并根据所述参考光标签信息的信息类型,解析交换后光包的光标签中携带的实际光标签信息;
所述链路确认器,还用于当所述使能信号打开时,根据所述实际光标签信息及所述参考光标签信息,确定是否产生告警信号,当确定产生所述告警信号时,将所述告警信号发送给所述控制管理器;
所述控制管理器,还用于当所述使能信号打开时,判断是否接收到所述链路确认器发送的告警信号,若接收到所述链路确认器发送的所述告警信号,则根据所述告警信号,确定所述告警信号对应的链路是否异常。
本发明实施例提供的光包交换系统的链路确认方法、装置及系统,首先控制管理器生成参考光标签信息及使能信号,并发送给链路确认器;然后当使能信号打开时,链路确认器根据解析的实际光标签信息及接收的参考光标签信息,确定是否产生告警信号,若确定产生告警信号,则将告警信号发送给控制管理器;最后控制管理器根据接收到的告警信号,进一步确定告警信号对应的链路是否异常。与目前通过在光包交换器的各个输出端口的环形器耦合由光包交换器交换前的测试信号,并在光包交换器的各个输入端口的环形器获取由光包交换器交换后的测试信号相比,本发明实施例通过获取由光包交换器交换前的光标签及由光包交换器交换后的光 标签,能够避免通过光包交换器的各个输出端口的环形器耦合测试信号,同时能够避免通过光包交换器的各个输入端口的环形器分离测试信号,从而可以降低光包交换的成本。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。
图1为本发明实施例提供的一种光包交换系统的链路确认系统架构图;
图2为本发明实施例一提供的一种光包交换系统的链路确认方法流程图;
图3为本发明实施例一提供的一种光包交换系统的链路确认装置的结构示意图;
图4为本发明实施例一提供的一种控制管理器的结构示意图;
图5为本发明实施例二提供的一种光包交换系统的链路确认方法流程图;
图6为本发明实施例二提供的一种控制管理器的结构示意图;
图7为本发明实施例二提供的一种使能信号的示意图;
图8为本发明实施例二提供的另一种控制管理器的结构示意图;
图9为本发明实施例二提供的一种光包交换器的结构示意图;
图10为本发明实施例二提供的链路是否异常的确定流程图;
图11为本发明实施例二提供的一种多跳的光包交换系统的链路确认系统框图;
图12为本发明实施例二提供的一种光标签改写器的结构示意图;
图13为本发明实施例二提供的一种光包交换系统的链路确认装置的结构示意图;
图14为本发明实施例二提供的一种控制管理器的结构示意图;
图15为本发明实施例三提供的一种光包交换系统的链路确认方法流程图;
图16为本发明实施例三提供的一种光包交换系统的链路确认装置的结构示意图;
图17为本发明实施例三提供的一种链路确认器的结构示意图;
图18为本发明实施例四提供的一种光包交换系统的链路确认方法流程图;
图19为本发明实施例四提供的一种链路确认器的结构示意图;
图20为本发明实施例四提供的另一种链路确认器的结构示意图;
图21为本发明实施例四提供的一种光包交换系统的链路确认装置的结构示意图;
图22为本发明实施例四提供的一种链路确认器的结构示意图;
图23为本发明实施例五提供的一种光包交换系统的链路确认系统的结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。
为使本发明技术方案的优点更加清楚,下面结合附图和实施例对本发明作详细说明。
本发明实施例提供的技术方案可以用于光包交换系统的链路确认系统架构图,如图1所示。其中,光包交换系统的链路确认系统架构中包括:光包交换器、控制管理器及链路确认器。当光包从某一输入端口进入光包交换系统时,首先将交换前光包的光能进行分光,将大部分光能通过光纤 延迟线进入光交换器,小部分光能进入控制管理器;然后在对应的输出端口将光包交换后的光能进行分光,将大部分光能输出,小部分光能进入链路确认器,以使得控制管理器根据链路确认器的确认结果,确定该光包对应的链路是否异常。
实施例一
本发明实施例提供一种光包交换系统的链路确认方法,如图2所示,所述方法包括:
201、控制管理器解析交换前光包的光标签中携带的路由信息。
其中,路由信息的各种信息类型可以包括源端口信息、目的端口信息、包长信息及优先级信息等。在本发明实施例中,光包由光包净荷及光标签组成,光标签中携带有源端口信息、目的端口信息、包长信息及优先级信息等路由信息。
对于本发明实施例,控制器管理器通过解析交换前光包的光标签中携带的路由信息,可以生成:在光包交换器中建立对应的光路时所需的控制信号、在链路确认器进行链路是否异常的检测时所需的参考光标签信息、在控制管理器进行链路是否异常的检测时所需的使能信号。
202、控制管理器根据路由信息,生成参考光标签信息及使能信号。
其中,参考光标签信息可以为路由信息的各种信息类型中包括的至少一种信息。例如,参考光标签信息可以为:源端口信息;参考光标签信息还可以为:包长信息;参考光标签信息还可以为目的端口信息及优先级信息;参考光标签信息还可以为源端口信息、目的端口信息、包长信息及优先级信息。
对于本发明实施例,参考光标签信息用于作为链路确认器检测链路是否异常的参考。具体地,链路确认器首先根据控制管理器在光包交换前生成的参考光标签信息,及经过光包交换器交换后的光标签中解析的光标签信息,计算参考光标签信息及实际光标签信息之间的不匹配度,然后判断参考光标签信息及实际光标签信息之间的不匹配度是否大于或者等于预 置阈值,最后根据判断结果,确定是否产生链路对应的告警信号。
可选地,参考光标签信息中包括的信息种类可以较多。在本发明实施例中,由于参考光标签信息作为确定链路是否异常的参考信息,因此参考光标签信息中包括的信息项数越多,链路确认器对于是否产生链路对应的告警信号的确定准确度就越高。
可替换地,参考光标签信息中包括的信息种类可以较少。在本发明实施例中,由于参考光标签信息作为确定链路是否异常的参考信息,因此参考光标签信息中包括的信息项数越少,链路确认器对于是否产生链路对应的告警信号的确认复杂度就越低。
对于本发明实施例,使能信号用于触发链路确认器进行链路是否异常的检测。具体地,只有当输入端口m向输出端口i的链路对应的使能信号打开时,链路确认器才可以根据控制管理器在光包交换前生成的参考光标签信息,及经过光包交换器交换后的光标签中解析的光标签信息之间的不匹配度,确定是否产生该链路对应的告警信号,同时,控制管理器才可以确定该链路是否异常。其中,m为大于或者等于1并且小于或者等于N的整数,i为大于或者等于1并且小于或者等于M的整数,N为光包交换器输入端口的数量,M为光包交换器输出端口的数量,N与M均为大于或者等于1的整数,一般地,M与N可以相等。
203、控制管理器将参考光标签信息及使能信号发送给链路确认器。
对于本发明实施例,通过控制管理器将参考光标签信息及使能信号发送给链路确认器,以使得链路确认器可以当使能信号打开时,根据该参考光标签信息及从光包交换器交换后光包的光标签中提取的信息,进行是否产生告警信息的确定。
对于本发明实施例,如图1所示,从各个输入端口输入的光包可以首先经过分光器,以使得分光器将光包分为两部分,其中,一部分包含大部分的光能,一部分包含小部分的光能,大部分的光能进入光包交换器,小部分的光能进入控制管理器。例如,分光器可以将光包中90%的光能进入 光包交换器,剩余10%的光能进入控制管理器;或者分光器可以将光包中85%的光能进入光包交换器,剩余15%的光能进入控制管理器。
对于本发明实施例,当光包进入光包交换器之前,通过分光器将光包分为两部分,并且大部分的光能进入光包交换器,剩余小部分的光能进入控制管理器,可以实现控制管理器根据这些小部分的光能来提取路由信息,并产生控制信号、参考光标签信息及使能信号,进而控制光包交换器对这些大部分的光能进行光包交换。
可选地,光包经过分光器分为两部分光包之后,大部分的光能可以首先经过一定长度的光纤延迟线,然后进入光包交换器。在本发明实施例中,通过大部分的光能经过一定长度的光纤延迟线之后进入光包交换器,能够为控制管理器预留足够的时间来产生相应的控制信号,进而当大部分的光能进入光包交换器之前,光包交换器可以按照控制信号控制产生对应的光包交换链路。
204、当使能信号打开时,控制管理器判断是否接收到链路确认器发送的告警信号。
可选地,步骤204还可以为,在使能信号打开及使能信号关闭的预置时间内,控制管理器判断是否接收到链路确认器发送的告警信号。
对于本发明实施例,由于控制管理器及链路确认器中对应的使能信号打开时间均相同,而且链路确认器向控制管理器发送告警信号时存在时延的情况,因此存在链路确认器在使能信号打开时间内向控制管理器发送告警信号,但是控制管理器在使能信号关闭之后接收到该告警信号的情况。在本发明实施例中,通过在使能信号打开及使能信号关闭的预置时间内,控制管理器判断是否接收到链路确认器发送的告警信号,能够避免由于在链路确认器在使能信号打开时间内向控制管理器发送告警信号,但是控制管理器在使能信号关闭之后接收到该告警信号,导致控制管理器对是否接收到告警信号的判断结果错误的情况,进而可以提高控制管理器对链路是否异常的确定正确度。
其中,预置时间可以由控制管理器预先进行配置,本发明实施例不做限定。例如,预置时间可以为2毫秒、3毫秒或者5毫秒。
205、若接收到链路确认器发送的告警信号,则控制管理器根据告警信号,确定告警信号对应的链路是否异常。
具体地,若接收到链路确认器发送的告警信号,则控制管理器可以首先对链路的告警次数进行加一操作,然后判断加一后的链路的告警次数是否大于预置阈值,若加一后的链路的告警次数大于预置阈值,则控制管理器确定链路异常。
其中,预置阈值可以由控制管理器预先进行配置,也可以由光包交换器预先进行配置,本发明实施例不做限定。在本发明实施例中,预置阈值可以为大于1的整数,例如,预置阈值可以为3、5、10等。
对于本发明实施例,通过判断告警信号对应的链路的告警次数是否大于预置阈值,从而确定告警信号对应的链路是否异常,能够避免由于光包交换器中的光开完等器件瞬时抖动而引起交换后信号变差,并导致误告警的情况,从而可以提高控制管理器对于链路是否异常的确定准确度。
进一步地,作为图2所示方法的具体实现,本发明实施例提供了一种光包交换系统的链路确认装置,如图3所示,所述装置的实体可以为控制管理器,所述装置包括:解析单元31、生成单元32、发送单元33、判断单元34、确定单元35。
解析单元31,用于解析交换前光包的光标签中携带的路由信息。
生成单元32,用于根据解析单元31解析的路由信息,生成参考光标签信息及使能信号。
发送单元33,用于将生成单元32生成的参考光标签信息及使能信号发送给链路确认器。
判断单元34,用于当发送单元33发送的使能信号打开时,判断是否接收到链路确认器发送的告警信号。
确定单元35,用于当判断单元34判断接收到链路确认器发送的告警信 号时,根据告警信号,确定告警信号对应的链路是否异常。
需要说明的是,本发明实施例中提供的光包交换系统的链路确认装置中各功能单元所对应的其他相应描述,可以参考图1中的对应描述,在此不再赘述。
再进一步地,所述光包交换系统的链路确认装置的实体可以为控制管理器,如图4所示,所述控制管理器可以包括:处理器41、发送器42、接收器43、存储器44,所述接收器43及存储器44分别与处理器41相连接。
处理器41,用于解析交换前光包的光标签中携带的路由信息。
处理器41,还用于根据路由信息,生成参考光标签信息及使能信号。
发送器42,用于将处理器41生成的参考光标签信息及使能信号发送给链路确认器。
处理器41,还用于当发送器42发送的使能信号打开时,判断是否接收到链路确认器发送的告警信号。
处理器41,还用于当判断接收到链路确认器发送的告警信号时,根据告警信号,确定告警信号对应的链路是否异常。
需要说明的是,本发明实施例中提供的控制管理器中各设备所对应的其他相应描述,可以参考图2中的对应描述,在此不再赘述。
本发明实施例提供的光包交换系统的链路确认方法、装置及系统首先控制管理器生成参考光标签信息及使能信号,并发送给链路确认器;然后当使能信号打开时,链路确认器根据解析的实际光标签信息及接收的参考光标签信息,确定是否产生告警信号,若确定产生告警信号,则将告警信号发送给控制管理器;最后控制管理器根据接收到的告警信号,进一步确定告警信号对应的链路是否异常。与目前通过在光包交换器的各个输出端口的环形器耦合由光包交换器交换前的测试信号,并在光包交换器的各个输入端口的环形器获取由光包交换器交换后的测试信号相比,本发明实施例通过获取由光包交换器交换前的光标签及由光包交换器交换后的光标签,能够避免通过光包交换器的各个输出端口的环形器耦合测试信号,同 时能够避免通过光包交换器的各个输入端口的环形器分离测试信号,从而可以降低光包交换的成本。
实施例二
本发明实施例提供一种光包交换系统的链路确认方法,如图5所示,所述方法包括:
501、控制管理器解析交换前光包的光标签中携带的路由信息。
其中,路由信息的各种信息类型可以包括源端口信息、目的端口信息、包长信息或者优先级信息等。在本发明实施例中,光包由光包净荷及光标签组成,光标签中携带有源端口信息、目的端口信息、包长信息及优先级信息等路由信息。
对于本发明实施例,控制器管理器通过解析交换前光包的光标签中携带的路由信息,可以生成:在光包交换器中建立对应的光路时所需的控制信号、在链路确认器进行链路是否异常的检测时所需的参考光标签信息、在控制管理器进行链路是否异常的确认时所需的使能信号。
对于本发明实施例,控制管理器中可以包括:N个光标签提取模块、链路计算模块、控制信息计算模块、参考光标签及使能信号计算模块、告警系统、链路状态信息表等,如图6所示。其中,光标签提取模块用于从输入端口的光包中解析光标签的路由信息,光包交换器的各个不同输入端口可以对应各个不同光标签提取模块;链路计算模块用于根据光标签提取模块解析的路由信息以及链路状态信息表,确定光包被交换的输出端口、光包输入端口与输出端口之间的映射关系、实现光包完整交换时链路所需保持的时间;控制信息计算模块用于根据光包输入端口与输出端口之间的映射关系生成控制信号,并将该控制信号发送给光包交换器;参考光标签及使能信号计算模块用于根据光包输入端口与输出端口之间的映射关系,生成对应的参考光标签信息及使能信号;告警系统用于根据链路确认器发送的链路对应的告警信号确定链路是否异常,并当确定链路异常时,向链路状态信息表反馈链路异常信息,以使得链路状态信息表对链路的状态信 息进行更新;链路状态信息表用于存储各个输入端口与各个输出端口之间的链路是否异常的信息。
502、控制管理器根据路由信息,生成参考光标签信息及使能信号。
其中,参考光标签信息可以为路由信息的各种信息类型中包括的至少一种信息。例如,参考光标签信息可以为:源端口信息;参考光标签信息还可以为:包长信息;参考光标签信息还可以为目的端口信息及优先级信息;参考光标签信息还可以为源端口信息、目的端口信息、包长信息及优先级信息。
对于本发明实施例,参考光标签信息用于作为链路确认器检测链路是否异常的参考。具体地,链路确认器首先根据控制管理器在光包交换前生成的参考光标签信息,及经过光包交换器交换后的光标签中解析的光标签信息,计算参考光标签信息及实际光标签信息之间的不匹配度,然后判断参考光标签信息及实际光标签信息之间的不匹配度是否大于或者等于预置阈值,最后根据判断结果,确定是否产生链路对应的告警信号。
可选地,参考光标签信息中包括的信息种类可以较多。在本发明实施例中,由于参考光标签信息作为确定链路是否异常的参考信息,因此参考光标签信息中包括的信息项数越多,链路确认器对于是否产生链路对应的告警信号的确定准确度就越高。
可替换地,参考光标签信息中包括的信息种类可以较少。在本发明实施例中,由于参考光标签信息作为确定链路是否异常的参考信息,因此参考光标签信息中包括的信息项数越少,链路确认器对于是否产生链路对应的告警信号的确认复杂度就越低。
对于本发明实施例,使能信号用于触发链路确认器进行链路是否异常的检测。具体地,只有当输入端口m向输出端口i的链路对应的使能信号打开时,链路确认器才可以根据控制管理器在光包交换前生成的参考光标签信息,及经过光包交换器交换后的光标签中解析的光标签信息之间的不匹配度,确定是否产生该链路对应的告警信号,同时,控制管理器才可以确 定该链路是否异常。其中,m为大于或者等于1并且小于或者等于N的整数,i为大于或者等于1并且小于或者等于M的整数,N为光包交换器输入端口的数量,M为光包交换器输出端口的数量,N与M均为大于或者等于1的整数,一般地,M与N可以相等。
例如图7中,为一个包括3个输入端口及3个输出端口的光包交换装置的使能信号的示意图。图中,在t1时刻,输入端口1接收到需要交换到输出端口2的光包,该光包的小部分光能经过控制管理器后,控制管理器可以确定该光包需要交换的输出端口,若链路状态信息表中该链路的状态信息为正常,则该光包可以通过该链路进行光包交换,同时,控制管理器可以计算出在t2时刻,该光包会从输出端口2开始输出,因此,控制管理器在t2时刻打开该链路的使能信号,直到该光包完全从输出端口2输出时,控制管理器关闭该链路的使能信号。
再例如图7中,在t3时刻,输入端口1接收到需要交换到输出端口3的光包,该光包的小部分光能经过控制管理器后,控制管理器可以确定该光包需要交换的输出端口,若链路状态信息表中该链路的状态信息为正常,则该光包可以通过该链路进行光包交换,同时,控制管理器可以计算出在t4时刻,该光包会从输出端口3开始输出,因此,控制管理器在t4时刻打开该链路的使能信号,直到该光包完全从输出端口3输出时,控制管理器关闭该链路的使能信号。
可选地,步骤502之前,还可以包括:控制管理器根据包长信息,确定使能打开持续时间。其中,使能打开持续时间可以用于确定使能信号的关闭时间。在本发明实施例中,使能信号的关闭时间可以为使能信号的打开时间与使能打开持续时间之和。
对于本发明实施例,控制管理器根据包长信息,确定使能打开持续时间,进一步当使能信号打开后,确定使能信号的关闭时间,能够实现当光包从对应的输出端口输出之后,控制管理器才关闭使能信号,即控制管理器可以控制使能信号持续的时间足够长。
对于本发明实施例,步骤502之后,还可以包括:控制管理器根据路由信息,生成选择控制信号,并将选择控制信号发送给链路确认器。其中,选择控制信号中可以携带有交换后光包的输出端口对应的标识信息。
对于本发明实施例,可以在链路确认器中增加K*1的光开关,从而可以减少链路确认器中的链路确认模块的个数,进而可以简化光包交换的系统,并更易于光包交换系统的集成。在本发明实施例中,控制管理器产生的选择控制信号可以控制该K*1的光开关,以实现该K*1的光开关可以从K个不同输出端口中选择任意一个输出端口,并将由该输出端口输出的光包送入链路确认器中的某一链路确认模块进行链路是否异常的检测。此时,可以在控制管理器中增加链路确认选择模块,如图8所示,链路确认选择模块用于生成选择控制信号。
503、控制管理器将参考光标签信息及使能信号发送给链路确认器。
对于本发明实施例,通过控制管理器将参考光标签信息及使能信号发送给链路确认器,以使得链路确认器可以当使能信号打开时,根据该参考光标签信息及从光包交换器交换后光包的光标签中提取的信息,进行是否产生告警信息的确定。
504、当使能信号打开时,控制管理器判断是否接收到链路确认器发送的告警信号。
可选地,步骤505还可以为,在使能信号打开及使能信号关闭的预置时间内,控制管理器判断是否接收到链路确认器发送的告警信号。
对于本发明实施例,由于控制管理器及链路确认器中对应的使能信号打开时间均相同,而且链路确认器向控制管理器发送告警信号时存在时延的情况,因此存在链路确认器在使能信号打开时间内向控制管理器发送告警信号,但是控制管理器在使能信号关闭之后接收到该告警信号的情况。在本发明实施例中,通过在使能信号打开及使能信号关闭的预置时间内,控制管理器判断是否接收到链路确认器发送的告警信号,能够避免由于在链路确认器在使能信号打开时间内向控制管理器发送告警信号,但是控制 管理器在使能信号关闭之后接收到该告警信号,导致控制管理器对是否接收到告警信号的判断结果错误的情况,进而可以提高控制管理器对链路是否异常的确定正确度。
其中,预置时间可以由控制管理器预先进行配置,本发明实施例不做限定。例如,预置时间可以为2毫秒、3毫秒或者5毫秒。
505、若接收到链路确认器发送的告警信号,则控制管理器根据告警信号,确定告警信号对应的链路是否异常。
可选地,步骤505之前,还可以包括:若接收到链路确认器发送的告警信号,则控制管理器首先对链路的告警次数进行加一操作,然后判断加一后的链路的告警次数是否大于预置阈值。此时,步骤505可以为,若加一后的链路的告警次数大于预置阈值,则控制管理器确定链路异常。
其中,预置阈值可以由控制管理器预先进行配置,也可以由光包交换器预先进行配置,本发明实施例不做限定。在本发明实施例中,预置阈值可以为大于1的整数,例如,预置阈值可以为3、5、10等。
对于本发明实施例,通过判断告警信号对应的链路的告警次数是否大于预置阈值,从而确定告警信号对应的链路是否异常,能够避免由于光包交换器中的光开完等器件瞬时抖动而引起交换后信号变差,并导致误告警的情况,从而可以提高控制管理器对于链路是否异常的确定准确度。
可选地,步骤505之后,还可以包括:控制管理器将链路状态信息表中链路的状态信息由正常更新为异常。
对于本发明实施例,通过当控制管理器确定告警信号对应的链路异常时,对链路状态信息表中该链路的状态信息进行更新,能够实时地将链路的异常情况反映在链路状态信息表中,进而可以实现控制管理器可以根据链路状态信息表产生对应的控制信号。
例如,控制管理器可以将链路状态信息表中链路的状态信息由0更新为1。其中,链路状态信息表中链路的状态信息0表示链路正常,链路的状态信息1表示链路异常。具体地,更新前的链路状态信息表可以如下表所 示:
Figure PCTCN2014094313-appb-000001
对于本发明实施例,当控制管理器确定从输入端口1交换到输出端口2的链路异常时,控制管理器对链路状态信息表中从输入端口1交换到输出端口2的链路对应的状态信息由0更新为1,更新后的链路状态信息表可以如下表所示:
Figure PCTCN2014094313-appb-000002
对于本发明实施例,链路可以为主光包交换器中的链路或者备用光包交换器中的链路。具体地,光包交换器可以为带主备保护的光包交换器,例如图9所示,带主备保护的光包交换器主可以包括一个主光交换矩阵、备用光交换矩阵、N个1*2光开关、N个光复用器。
可选地,步骤505还可以为,若接收到链路确认器发送的主光包交换器中的链路对应的告警信号,则控制管理器根据主光包交换器中的链路对应的告警信号,确定主光包交换器中的链路是否异常,若确定主光包交换器中的链路异常,则控制管理器确定备用光包交换器中的链路是否异常。 此时,步骤505之后,还可以包括:若确定主光包交换器中的链路异常,则控制管理器向光包交换器发送主备选择控制信号。
其中,主备选择控制信号用于,触发光包交换器中的1*2光开关将主光包交换器切换为备用光包交换器,进而使得光包可以通过备用光包交换器进行光包交换。在本发明实施例中,通过当控制管理器确定主光包交换器中的链路异常时,向光包交换器发送主备选择控制信号,以使得光包可以通过备用光包交换器进行光包交换。
可选地,步骤505还可以为,若接收到链路确认器发送的备用光包交换器中的链路对应的告警信号,则控制管理器根据备用光包交换器中的链路对应的告警信号,确定备用光包交换器中的链路是否异常。
对于本发明实施例,控制管理器确定备用光包交换器中的链路是否异常具体可以为,若接收到链路确认器发送的备用光包交换器中的链路对应的告警信号,则控制管理器根据备用光包交换器中的链路对应的告警信号,确定备用光包交换器中的链路是否异常。
对于本发明实施例,可以优先通过主光包交换器进行光包交换,当主光包交换器中的某一链路异常时,才通过1*2光开关控制备用光包交换器中对应的链路进行光包交换。在本发明实施例中,通过带主备保护的光包交换器,能够实现当主光包交换器中某一链路异常时,通过备用光包交换器中对应的链路进行光包交换,从而可以尽量规避在光包交换的过程中,由于链路异常造成无法进行光包交换的情况。
对于本发明实施例,步骤505之后,还可以包括:若确定主光包交换器中的链路异常,则控制管理器将链路状态信息表中链路的状态信息由正常更新为主光包交换器异常;若确定备用光包交换器中的链路异常,则控制管理器将链路状态信息表中链路的状态信息由主光包交换器异常更新为备用光包交换器异常。
对于本发明实施例,通过当控制管理器确定主光包交换器中的链路异常时,对链路状态信息表中该链路的状态信息进行更新,能够实时地将链 路的异常情况反映在链路状态信息表中,进而可以实现链路管理器可以根据链路状态信息表产生对应的控制信号;同时,通过当控制管理器确定备用光包交换器中的链路异常时,对链路状态信息表中该链路的状态信息进行更新,能够实时地将链路的异常情况反映在链路状态信息表中,进而可以实现控制管理器可以根据链路状态信息表产生对应的控制信号。
例如,若确定主光包交换器中的链路异常,则控制管理器将链路状态信息表中链路的状态信息由0更新为1;若确定备用光包交换器中的链路异常,则控制管理器将链路状态信息表中链路的状态信息由1更新为2。其中,链路状态信息表中链路的状态信息0表示链路正常,链路的状态信息1表示主光包交换器中对应的链路异常,链路的状态信息2表示备用光包交换器中对应的链路异常,当链路的状态信息更新为备用光包交换器中对应的链路异常时,主光包交换器中对应的链路异常并且备用光包交换器中对应的链路异常。具体地,更新前的链路状态信息表可以如下表所示:
Figure PCTCN2014094313-appb-000003
对于本发明实施例,当控制管理器确定主光包交换器中从输入端口1交换到输出端口2的链路异常时,控制管理器对链路状态信息表中从输入端口1交换到输出端口2的链路对应的状态信息由0更新为1,更新后的链路状态信息表可以如下表所示:
Figure PCTCN2014094313-appb-000004
Figure PCTCN2014094313-appb-000005
对于本发明实施例,当控制管理器确定备用光包交换器中从输入端口1交换到输出端口2的链路异常时,控制管理器对链路状态信息表中从输入端口1交换到输出端口2的链路对应的状态信息由1更新为2,更新后的链路状态信息表可以如下表所示:
Figure PCTCN2014094313-appb-000006
506、当使能信号关闭时,若未接收到链路确认器发送的告警信号,则控制管理器对链路的告警次数进行赋零操作。
对于本发明实施例,当使能信号关闭时,某一链路的告警次数不为0,此时,虽然该链路的告警次数不为0,但由于该链路的告警次数小于预置阈值,因此,该链路仍为正常状态。在本发明实施例中,通过将未接收到告警信号的链路的告警次数进行赋零操作,能够实现控制管理器后续可以再次判断该链路是否异常。
可选地,步骤506还可以为,在使能信号打开及使能信号关闭的预置时间内,若未接收到链路确认器发送的告警信号,则控制管理器对链路的告警次数进行赋零操作。
对于本发明实施例,由于控制管理器及链路确认器中对应的使能信号打开时间均相同,而且链路确认器向控制管理器发送告警信号时存在时延 的情况,因此存在链路确认器在使能信号打开时间内向控制管理器发送告警信号,但是控制管理器在使能信号关闭之后接收到该告警信号的情况。在本发明实施例中,通过在使能信号打开及使能信号关闭的预置时间内,控制管理器判断是否接收到链路确认器发送的告警信号,能够避免由于在链路确认器在使能信号打开时间内向控制管理器发送告警信号,但是控制管理器在使能信号关闭之后接收到该告警信号,导致控制管理器对是否接收到告警信号的判断结果错误的情况,进而可以提高控制管理器对链路是否异常的确定正确度。
其中,预置时间可以由控制管理器预先进行配置,本发明实施例不做限定。例如,预置时间可以为2毫秒、3毫秒或者5毫秒。
对于本发明实施例,控制管理器根据链路确认器发送的告警信号,确定链路是否异常的具体步骤,如图10所示。
对于本发明实施例,控制管理器可以根据路由信息,计算交换后光包的下一跳光标签,以使得将交换后光包与下一跳光标签进行合成。其中,下一跳光标签为交换后光包在下一跳光包交换器所对应的光标签。
对于本发明实施例,同样适用于多跳的光包交换系统,具体地,例如图11中所示,控制管理器可以将一下跳光标签发送给新光标签产生器,以使得新光标签产生器根据该下一跳光标签,产生新光标签,并将该新光标签发送给光标签改写器,进一步以使得光标签改写器将交换后光包与新的光标签进行合成。
其中,光标签改写器的实现方法可以由光标签的传输方式决定。例如,若光标签在链路上通过光包净荷不同的波长传输光包时,则光标签改写器的结果可以如图12所示,该光标签改写器可以由一个光滤波器和一个光合波器组成,光滤波器可以用于将原光标签与光包净荷分离,光合波器可以用于将光包净荷与新光标签耦合。
对于本发明实施例,如图1所示,从各个输入端口输入的光包可以首先经过分光器,以使得分光器将光包分为两部分,其中,一部分包含大部 分的光能,一部分包含小部分的光能,大部分的光能进入光包交换器,小部分的光能进入控制管理器。例如,分光器可以将光包中90%的光能进入光包交换器,剩余10%的光能进入控制管理器;或者分光器可以将光包中85%的光能进入光包交换器,剩余15%的光能进入控制管理器。
对于本发明实施例,当光包进入光包交换器之前,通过分光器将光包分为两部分,并且大部分的光能进入光包交换器,剩余小部分的光能进入控制管理器,可以实现控制管理器根据这些小部分的光能来提取路由信息,并产生控制信号、参考光标签信息及使能信号,进而控制光包交换器对这些大部分的光能进行光包交换。
可选地,光包经过分光器分为两部分光包之后,大部分的光能可以首先经过一定长度的光纤延迟线,然后进入光包交换器。在本发明实施例中,通过大部分的光能经过一定长度的光纤延迟线之后进入光包交换器,能够为控制管理器预留足够的时间来产生相应的控制信号,进而当大部分的光能进入光包交换器之前,光包交换器可以按照控制信号控制产生对应的光包交换链路。
进一步地,作为图5所示方法的具体实现,本发明实施例提供了一种光包交换系统的链路确认装置,如图13所示,所述装置的实体可以为控制管理器,所述装置包括:解析单元131、生成单元132、发送单元133、判断单元134、确定单元135。
解析单元131,用于解析交换前光包的光标签中携带的路由信息。
生成单元132,用于根据解析单元131解析的路由信息,生成参考光标签信息及使能信号。
发送单元133,用于将生成单元132生成的参考光标签信息及使能信号发送给链路确认器。
判断单元134,用于当发送单元133发送的使能信号打开时,判断是否接收到链路确认器发送的告警信号。
确定单元135,用于当判断单元134判断接收到链路确认器发送的告警 信号时,根据告警信号,确定告警信号对应的链路是否异常。
生成单元132生成的参考光标签信息为路由信息的各种信息类型中包括的至少一种信息。
其中,路由信息的各种信息类型可以包括源端口信息、目的端口信息、包长信息或者优先级信息。
生成单元132生成的使能信号用于触发链路确认器进行链路是否异常的检测。
可选地,所述装置还可以包括:运算单元136。
运算单元136,用于当判断单元135判断接收到链路确认器发送的告警信号时,对链路的告警次数进行加一操作。
判断单元135,还用于判断运算单元136加一后的链路的告警次数是否大于预置阈值。
确定单元136,还用于当判断单元判断加一后的链路的告警次数大于预置阈值时,确定链路异常。
可选地,所述装置还可以包括:更新单元137。
更新单元137,用于当确定单元135确定链路异常时,将链路状态信息表中链路的状态信息由正常更新为异常。
确定单元136,还用于根据包长信息,确定使能打开持续时间。
其中,使能打开持续时间用于确定使能信号的关闭时间。
可选地,所述装置还可以包括:赋值单元138。
赋值单元138,还用于当使能信号关闭,并且判断单元134判断未接收到链路确认器发送的告警信号时,对链路的告警次数进行赋零操作。
确定单元135确定的链路为主光包交换器中的链路或者备用光包交换器中的链路。
确定单元135,具体用于当判断单元134判断接收到链路确认器发送的主光包交换器中的链路对应的告警信号时,根据主光包交换器中的链路对应的告警信号,确定主光包交换器中的链路是否异常。
发送单元133,还用于当确定单元135确定主光包交换器中的链路异常时,向光包交换器发送主备选择控制信号。
确定单元135,具体还用于当判断单元134判断接收到链路确认器发送的备用光包交换器中的链路对应的告警信号时,根据备用光包交换器中的链路对应的告警信号,确定备用光包交换器中的链路是否异常。
更新单元137,具体用于当确定单元135确定主光包交换器中的链路异常时,将链路状态信息表中链路的状态信息由正常更新为主光包交换器异常。
更新单元137,具体还用于当确定单元135确定备用光包交换器中的链路异常时,将链路状态信息表中链路的状态信息由主光包交换器异常更新为备用光包交换器异常。
生成单元132,还用于根据路由信息,生成选择控制信号。
其中,选择控制信号中携带有交换后光包的输出端口对应的标识信息。
发送单元133,还用于将生成单元132生成的选择控制信号发送给链路确认器。
可选地,所述装置还可以包括:计算单元139。
计算单元139,用于根据路由信息,计算解析单元131解析的交换后光包的下一跳光标签。
其中,下一跳光标签可以为交换后光包在下一跳光包交换器所对应的光标签。
需要说明的是,本发明实施例中提供的光包交换系统的链路确认装置中各功能单元所对应的其他相应描述,可以参考图5中的对应描述,在此不再赘述。
再进一步地,所述光包交换系统的链路确认装置的实体可以为控制管理器,如图14所示,所述控制管理器可以包括:处理器141、发送器142、接收器143、存储器144,所述接收器143及存储器144分别与处理器141相 连接。
处理器141,用于解析交换前光包的光标签中携带的路由信息。
处理器141,还用于根据路由信息,生成参考光标签信息及使能信号。
发送器142,用于将处理器141生成的参考光标签信息及使能信号发送给链路确认器。
处理器141,还用于当发送器142发送的使能信号打开时,判断是否接收到链路确认器发送的告警信号。
处理器141,还用于当判断接收到链路确认器发送的告警信号时,根据告警信号,确定告警信号对应的链路是否异常。
处理器141生成的参考光标签信息为路由信息的各种信息类型中包括的至少一种信息。
其中,路由信息的各种信息类型可以包括源端口信息、目的端口信息、包长信息或者优先级信息。
处理器141生成的使能信号用于触发链路确认器进行链路是否异常的检测。
处理器141,还用于当判断接收到链路确认器发送的告警信号时,对链路的告警次数进行加一操作。
处理器141,还用于判断加一后的链路的告警次数是否大于预置阈值。
处理器141,还用于当判断单元判断加一后的链路的告警次数大于预置阈值时,确定链路异常。
处理器141,还用于当确定链路异常时,将链路状态信息表中链路的状态信息由正常更新为异常。
处理器141,还用于根据包长信息,确定使能打开持续时间。
其中,使能打开持续时间用于确定使能信号的关闭时间。
处理器141,还用于当使能信号关闭,并且未接收到链路确认器发送的告警信号时,对链路的告警次数进行赋零操作。
处理器141确定的链路为主光包交换器中的链路或者备用光包交换器 中的链路。
处理器141,具体用于当判断接收到链路确认器发送的主光包交换器中的链路对应的告警信号时,根据主光包交换器中的链路对应的告警信号,确定主光包交换器中的链路是否异常。
发送器142,还用于当处理器141确定主光包交换器中的链路异常时,向光包交换器发送主备选择控制信号。
处理器141,具体还用于当判断接收到链路确认器发送的备用光包交换器中的链路对应的告警信号时,根据备用光包交换器中的链路对应的告警信号,确定备用光包交换器中的链路是否异常。
处理器141,具体用于当确定主光包交换器中的链路异常时,将链路状态信息表中链路的状态信息由正常更新为主光包交换器异常。
处理器141,具体还用于当确定备用光包交换器中的链路异常时,将链路状态信息表中链路的状态信息由主光包交换器异常更新为备用光包交换器异常。
处理器141,还用于根据路由信息,生成选择控制信号。
其中,选择控制信号中携带有交换后光包的输出端口对应的标识信息。
发送器142,还用于将处理器141生成的选择控制信号发送给链路确认器。
处理器141,还用于根据路由信息,计算解析的交换后光包的下一跳光标签。
其中,下一跳光标签可以为交换后光包在下一跳光包交换器所对应的光标签。
需要说明的是,本发明实施例中提供的控制管理器中各设备所对应的其他相应描述,可以参考图5中的对应描述,在此不再赘述。
本发明实施例提供的光包交换系统的链路确认方法、装置及系统首先控制管理器生成参考光标签信息及使能信号,并发送给链路确认器;然后 当使能信号打开时,链路确认器根据解析的实际光标签信息及接收的参考光标签信息,确定是否产生告警信号,若确定产生告警信号,则将告警信号发送给控制管理器;最后控制管理器根据接收到的告警信号,进一步确定告警信号对应的链路是否异常。与目前通过在光包交换器的各个输出端口的环形器耦合由光包交换器交换前的测试信号,并在光包交换器的各个输入端口的环形器获取由光包交换器交换后的测试信号相比,本发明实施例通过获取由光包交换器交换前的光标签及由光包交换器交换后的光标签,能够避免通过光包交换器的各个输出端口的环形器耦合测试信号,同时能够避免通过光包交换器的各个输入端口的环形器分离测试信号,从而可以降低光包交换的成本。
实施例三
本发明实施例提供一种光包交换系统的链路确认方法,如图15所示,所述方法包括:
1501、链路确认器接收控制管理器发送的参考光标签信息及使能信号。
其中,参考光标签可以为信息类型中包括的至少一种信息类型,信息类型可以包括源端口信息、目的端口信息、包长信息或者优先级信息等。例如,参考光标签信息可以为:源端口信息;参考光标签信息还可以为:包长信息;参考光标签信息还可以为:目的端口信息及优先级信息;参考光标签信息还可以为:源端口信息、目的端口信息、包长信息及优先级信息。
对于本发明实施例,参考光标签信息用于作为链路确认器检测链路是否异常的参考。具体地,链路确认器首先根据控制管理器在光包交换前生成的参考光标签信息,及经过光包交换器交换后的光标签中解析的光标签信息,计算参考光标签信息及实际光标签信息之间的不匹配度,然后判断参考光标签信息及实际光标签信息之间的不匹配度是否大于或者等于预置阈值,最后根据判断结果,确定是否产生链路对应的告警信号。
可选地,参考光标签信息中包括的信息种类可以较多。在本发明实施例中,由于参考光标签信息作为确定链路是否异常的参考,因此参考光标签信息中包括的信息项数越多,链路确认器对于是否产生链路对应的告警信号的确定准确度就越高。
可替换地,参考光标签信息中包括的信息种类可以较少。在本发明实施例中,由于参考光标签信息作为确定链路是否异常的参考,因此参考光标签信息中包括的信息项数越少,链路确认器对于是否产生链路对应的告警信号的确认复杂度就越低。
对于本发明实施例,使能信号用于触发链路确认器进行链路是否异常的检测。具体地,只有当输入端口m向输出端口i的链路对应的使能信号打开时,链路确认器才可以根据控制管理器在光包交换前生成的参考光标签信息,及经过光包交换器交换后的光标签中解析的光标签信息之间的不匹配度,确定是否产生该链路对应的告警信号,同时,控制管理器才可以确定该链路是否异常。其中,m为大于或者等于1并且小于或者等于N的整数,i为大于或者等于1并且小于或者等于M的整数,N为光包交换器输入端口的数量,M为光包交换器输出端口的数量,N与M均为大于或者等于1的整数,一般地,M与N可以相等。
1502、链路确认器根据参考光标签信息的信息类型,解析交换后光包的光标签中携带的实际光标签信息。
其中,实际光标签信息与参考光标签信息的信息类型相同,信息类型可以包括源端口信息、目的端口信息、包长信息或者优先级信息等。例如,当参考光标签信息为源端口信息时,链路确认器解析交换后的光标签中携带的源端口信息,并将该源端口信息作为实际光标签信息;当参考光标签信息为包长信息时,链路确认器解析交换后光标签中携带的包长信息,并将该包长信息作为实际光标签信息;当参考光标签信息为目的端口信息及优先级信息时,链路确认器解析交换后光标签中携带的端口信息及优先级信息,并将这些信息作为实际光标签信息;当参考光标签为源端口信息、 目的端口信息、包长信息及优先级信息时,链路确认器解析交换后光标签中携带的源端口信息、目的端口信息、包长信息及优先级信息,并将这些信息作为实际光标签信息。
1503、当使能信号打开时,链路确认器根据实际光标签信息及参考光标签信息,确定是否产生告警信号。
具体地,当实际光标签信息与参考光标签信息之间的不匹配度较大时,进行光包交换的链路存在异常情况,则链路确认器确定产生该链路对应的告警信号;反之,当实际光标签信息与参考光标签信息之间的不匹配度较小时,进行光包交换的链路不存在异常情况,则链路确认器确定不产生该链路对应的告警信号。
1504、当确定产生告警信号时,链路确认器将告警信号发送给控制管理器。
进一步地,以使得控制管理器根据链路确认器发送的告警信号,确定该告警信号对应的链路是否异常。
对于本发明实施例,如图1所示,从各个输入端口输入的光包可以首先经过分光器,以使得分光器将光包分为两部分,其中,一部分包含大部分的光能,一部分包含小部分的光能,大部分的光能进入光包交换器,小部分的光能进入控制管理器。例如,分光器可以将光包中90%的光能进入光包交换器,剩余10%的光能进入控制管理器;或者分光器可以将光包中85%的光能进入光包交换器,剩余15%的光能进入控制管理器。
对于本发明实施例,当光包进入光包交换器之前,通过分光器将光包分为两部分,并且大部分的光能进入光包交换器,剩余小部分的光能进入控制管理器,可以实现控制管理器根据这些小部分的光能来提取路由信息,并产生控制信号、参考光标签信息及使能信号,进而控制光包交换器对这些大部分的光能进行光包交换。
可选地,光包经过分光器分为两部分光包之后,大部分的光能可以首先经过一定长度的光纤延迟线,然后进入光包交换器。在本发明实施例中, 通过大部分的光能经过一定长度的光纤延迟线之后进入光包交换器,能够为控制管理器预留足够的时间来产生相应的控制信号,进而当大部分的光能进入光包交换器之前,光包交换器可以按照控制信号控制产生对应的光包交换链路。
进一步地,作为图15所示方法的具体实现,本发明实施例提供了一种光包交换系统的链路确认装置,如图16所示,所述装置的实体可以为链路确认器,所述装置包括:接收单元161、解析单元162、确定单元163、发送单元164。
接收单元161,用于接收控制管理器发送的参考光标签信息及使能信号。
解析单元162,用于根据接收单元161接收的参考光标签信息的信息类型,解析交换后光包的光标签中携带的实际光标签信息。
确定单元163,用于当接收单元161接收的使能信号打开时,根据解析单元162解析的实际光标签信息及接收单元161接收的参考光标签信息,确定是否产生告警信号。
发送单元164,用于当确定单元163确定产生告警信号时,将告警信号发送给控制管理器。
需要说明的是,本发明实施例中提供的光包交换系统的链路确认装置中各功能单元所对应的其他相应描述,可以参考图15中的对应描述,在此不再赘述。
再进一步地,所述光包交换系统的链路确认装置的实体可以为链路确认器,如图17所示,所述链路确认器可以包括:接收器171、处理器172、发送器173、存储器174,所述存储器174分别与处理器172相连接。
接收器171,用于接收控制管理器发送的参考光标签信息及使能信号。
处理器172,用于根据接收器171接收的参考光标签信息的信息类型,解析交换后光包的光标签中携带的实际光标签信息。
处理器172,用于当接收器171接收的使能信号打开时,根据实际光标 签信息及接收器171接收的参考光标签信息,确定是否产生告警信号。
发送器173,用于当处理器172确定产生告警信号时,将告警信号发送给控制管理器。
需要说明的是,本发明实施例中提供的链路确认器中各设备所对应的其他相应描述,可以参考图15中的对应描述,在此不再赘述。
本发明实施例提供的光包交换系统的链路确认方法、装置及系统首先控制管理器生成参考光标签信息及使能信号,并发送给链路确认器;然后当使能信号打开时,链路确认器根据解析的实际光标签信息及接收的参考光标签信息,确定是否产生告警信号,若确定产生告警信号,则将告警信号发送给控制管理器;最后控制管理器根据接收到的告警信号,进一步确定告警信号对应的链路是否异常。与目前通过在光包交换器的各个输出端口的环形器耦合由光包交换器交换前的测试信号,并在光包交换器的各个输入端口的环形器获取由光包交换器交换后的测试信号相比,本发明实施例通过获取由光包交换器交换前的光标签及由光包交换器交换后的光标签,能够避免通过光包交换器的各个输出端口的环形器耦合测试信号,同时能够避免通过光包交换器的各个输入端口的环形器分离测试信号,从而可以降低光包交换的成本。
实施例四
本发明实施例提供一种光包交换系统的链路确认方法,如图18所示,所述方法包括:
1801、链路确认器接收控制管理器发送的参考光标签信息及使能信号。
其中,参考光标签信息为信息类型中包括的至少一种信息类型,信息类型可以包括源端口信息、目的端口信息、包长信息或者优先级信息等。例如,参考光标签信息可以为:源端口信息;参考光标签信息还可以为:包长信息;参考光标签信息还可以为目的端口信息及优先级信息;参考光标签信息还可以为源端口信息、目的端口信息、包长信息及优先级信息。
对于本发明实施例,参考光标签信息用于作为链路确认器检测链路是否异常的参考。具体地,链路确认器首先根据控制管理器在光包交换前生成的参考光标签信息,及经过光包交换器交换后的光标签中解析的光标签信息,计算参考光标签信息及实际光标签信息之间的不匹配度,然后判断参考光标签信息及实际光标签信息之间的不匹配度是否大于或者等于预置阈值,最后根据判断结果,确定是否产生链路对应的告警信号。
可选地,参考光标签信息中包括的信息种类可以较多。在本发明实施例中,由于参考光标签信息作为确定链路是否异常的参考,因此参考光标签信息中包括的信息项数越多,链路确认器对于是否产生链路对应的告警信号的确定准确度就越高。
可替换地,参考光标签信息中包括的信息种类可以较少。在本发明实施例中,由于参考光标签信息作为确定链路是否异常的参考,因此参考光标签信息中包括的信息项数越少,链路确认器对于是否产生链路对应的告警信号的确认复杂度就越低。
对于本发明实施例,使能信号用于触发链路确认器进行链路是否异常的检测。具体地,只有当输入端口m向输出端口i的链路对应的使能信号打开时,链路确认器才可以根据控制管理器在光包交换前生成的参考光标签信息,及经过光包交换器交换后的光标签中解析的光标签信息之间的不匹配度,确定是否产生该链路对应的告警信号,同时,控制管理器才可以确定该链路是否异常。其中,m为大于或者等于1并且小于或者等于N的整数,i为大于或者等于1并且小于或者等于M的整数,N为光包交换器输入端口的数量,M为光包交换器输出端口的数量,N与M均为大于或者等于1的整数,一般地,M与N可以相等。
对于本发明实施例,链路确认器中可以包括M个链路确认模块,每个链路确认模块均由一个光标签提取模块及一个光标签比较模块组成,如图19所示。其中,M个链路确认模块用于分别对M个光包交换器的输出端口的链路进行链路确认,具体地,链路确认模块中的光标签提取模块用于从 由光包交换器交换后光包的光标签中提取实际光标签信息,链路确认模块中的光标签比较模块用于对实际光标签信息及参考光标签信息进行比较。
1802、链路确认器根据参考光标签信息的信息类型,解析交换后光包的光标签中携带的实际光标签信息。
对于本发明实施例,实际光标签信息与参考光标签信息的信息类型相同,信息类型可以包括源端口信息、目的端口信息、包长信息或者优先级信息等。例如,当参考光标签信息为源端口信息时,链路确认器解析交换后的光标签中携带的源端口信息,并将该源端口信息作为实际光标签信息;当参考光标签信息为包长信息时,链路确认器解析交换后光标签中携带的包长信息,并将该包长信息作为实际光标签信息;当参考光标签信息为目的端口信息及优先级信息时,链路确认器解析交换后光标签中携带的端口信息及优先级信息,并将这些信息作为实际光标签信息;当参考光标签为源端口信息、目的端口信息、包长信息及优先级信息时,链路确认器解析交换后光标签中携带的源端口信息、目的端口信息、包长信息及优先级信息,并将这些信息作为实际光标签信息。
可选地,步骤1802之前,还可以包括:链路确认器接收控制管理器发送的选择控制信号,并根据交换后光包的输出端口对应的标识信息,从多个输出端口中选择交换后光包的输出端口。此时,步骤1802可以为,链路确认器根据参考光标签信息,从交换后光包的输出端口,解析交换后光包的光标签中携带的实际光标签信息。其中,选择控制信号中携带有交换后光包的输出端口对应的标识信息。
对于本发明实施例,可以在链路确认器中增加K*1的光开关,如图20所示。其中,K*1的光开关可以用于控制K个光包交换器的输出端口与对应的链路确认模块之间的连接关系。
对于本发明实施例,通过在链路确认器中增加K*1的光开关,从而可以减少链路确认器中的链路确认模块的个数,进而可以简化光包交换系统的链路确认系统,并更易于光包交换系统的集成。在本发明实施例中,控 制管理器产生的选择控制信号可以控制该K*1的光开关,以实现该K*1的光开关可以从K个不同输出端口中选择任意一个输出端口,并将由该输出端口输出的光包送入链路确认器中的某一链路确认模块进行链路是否异常的检测。此时,可以在控制管理器中增加链路确认选择模块,如图8所示,链路确认选择模块用于生成选择控制信号。
可选地,步骤1802之后,还可以包括:当使能信号关闭时,若不能解析出交换后光包的光标签中携带的实际光标签信息,则链路确认器确定产生告警信号。
对于本发明实施例,在使能信号打开的时间内,若链路确认器无法从交换后光包的光标签中解析出实际光标签信息,则说明对应的链路存在异常情况,因此链路确认器产生该链路对应的告警信号。
1803、当使能信号打开时,链路确认器计算实际光标签信息与参考光标签信息之间的不匹配度。
对于本发明实施例,使能信号用于触发链路确认器确定是否产生告警信号。具体地,只有当输入端口m向输出端口i的链路对应的使能信号打开时,链路确认器才可以确定是否产生该链路对应的告警信号,同时,控制管理器才可以确定该链路是否异常。其中,m为大于或者等于1并且小于或者等于N的整数,i为大于或者等于1并且小于或者等于M的整数,N为光包交换器输入端口的数量,M为光包交换器输入端口的数量,N与M均为大于或者等于1的整数,一般地,M与N可以相等。
例如图7中,为一个包括3个输入端口及3个输出端口的光包交换装置的使能信号的示意图。图中,在t1时刻,输入端口1接收到需要交换到输出端口2的光包,该光包的小部分光能经过控制管理器后,控制管理器可以确定该光包进行光包交换的,若链路状态信息表中该链路的状态信息为正常,则该光包可以通过该链路进行光包交换,同时,控制管理器可以计算出在t2时刻,该光包会从输出端口2开始输出,因此,控制管理器在t2时刻打开该链路的使能信号,直到该光包完全从输出端口2输出时,控制 管理器关闭该链路的使能信号。
再例如图7中,在t3时刻,输入端口1接收到需要交换到输出端口3的光包,该光包的小部分光能经过控制管理器后,控制管理器可以确定该光包进行光包交换的,若链路状态信息表中该链路的状态信息为正常,则该光包可以通过该链路进行光包交换,同时,控制管理器可以计算出在t4时刻,该光包会从输出端口3开始输出,因此,控制管理器在t4时刻打开该链路的使能信号,直到该光包完全从输出端口3输出时,控制管理器关闭该链路的使能信号。
其中,实际光标签信息与参考光标签信息之间的不匹配度用于表征光包在交换过程中,链路的异常情况。具体地,若实际光标签信息与参考光标签信息之间的不匹配度越大,则链路存在异常的概率越高;若实际光标签信息与参考光标签信息之间的不匹配度越小,则链路存在异常的概率越低。
1804、链路确认器根据实际光标签信息与参考光标签信息之间的不匹配度,确定是否产生告警信号。
具体地,步骤1804可以为,若实际光标签信息与参考光标签信息之间的不匹配度大于预置阈值,则链路确认器确定产生告警信号;若实际光标签信息与参考光标签信息之间的不匹配度小于或者等于预置阈值,则链路确认器确定不产生告警信号。
对于本发明实施例,交换后光包为主光包交换器交换后光包或者备用光包交换器交换后光包。具体地,光包交换器可以为带主备保护的光包交换器,例如图9所示,带主备保护的光包交换器主可以包括一个主光交换矩阵、备用光交换矩阵、N个1*2光开关、N个光复用器。
可选地,步骤1802可以为,链路确认器根据参考光标签信息,解析主光包交换器交换后光包的光标签中携带的实际光标签信息。此时,步骤1804可以为,链路确认器根据主光包交换器交换后光包的光标签中携带的实际光标签信息及参考光标签信息,确定是否产生主光包交换器中的链路 对应的告警信号。步骤1804之后,还可以包括:当确定产生主光包交换器中的链路对应的告警信号时,链路确认器将主光包交换器中的链路对应的告警信号发送给控制管理器。
可替换地,步骤1802还可以为,链路确认器根据参考光标签信息,解析备用光包交换器交换后光包的光标签中携带的实际光标签信息。此时,步骤1804还可以为,链路确认器根据备用光包交换器交换后光包的光标签中携带的实际光标签信息及参考光标签信息,确定是否产生备用光包交换器中的链路对应的告警信号。此时,步骤1804之后,还可以包括:当确定产生备用光包交换器中的链路对应的告警信号时,链路确认器将备用光包交换器中的链路对应的告警信号发送给控制管理器。
对于本发明实施例,可以优先通过主光包交换器进行光包交换,对应地,链路确认器确定是否产生主光包交换器中的链路对应的告警信号;当主光包交换器中的某一链路异常时,才通过1*2光开关控制备用光包交换器中对应的链路进行光包交换,对应地,链路确认器确定是否产生备用光包交换器中的链路对应的告警信号。在本发明实施例中,通过带主备保护的光包交换器,能够实现当主光包交换器中某一链路异常时,通过备用光包交换器中对应的链路进行光包交换,从而可以尽量规避在光包交换的过程中,由于链路异常造成无法进行光包交换的情况。
1805、当确定产生告警信号时,链路确认器将告警信号发送给控制管理器。
进一步地,以使得控制管理器根据链路确认器发送的告警信号,确定该告警信号对应的链路是否异常。
对于本发明实施例,同样适用于多跳的光包交换系统,具体地,例如图11中所示,控制管理器可以将一下跳光标签发送给新光标签产生器,以使得新光标签产生器根据该下一跳光标签,产生新光标签,并将该新光标签发送给光标签改写器,进一步以使得光标签改写器将交换后光包与新的光标签进行合成。
其中,光标签改写器的实现方法可以由光标签的传输方式决定。例如,若光标签在链路上通过光包净荷不同的波长传输光包时,则光标签改写器的结果可以如图12所示,该光标签改写器可以由一个光滤波器和一个光合波器组成,光滤波器可以用于将原光标签与光包净荷分离,光合波器可以用于将光包净荷与新光标签耦合。
对于本发明实施例,如图1所示,从各个输入端口输入的光包可以首先经过分光器,以使得分光器将光包分为两部分,其中,一部分包含大部分的光能,一部分包含小部分的光能,大部分的光能进入光包交换器,小部分的光能进入控制管理器。例如,分光器可以将光包中90%的光能进入光包交换器,剩余10%的光能进入控制管理器;或者分光器可以将光包中85%的光能进入光包交换器,剩余15%的光能进入控制管理器。
对于本发明实施例,当光包进入光包交换器之前,通过分光器将光包分为两部分,并且大部分的光能进入光包交换器,剩余小部分的光能进入控制管理器,可以实现控制管理器根据这些小部分的光能来提取路由信息,并产生控制信号、参考光标签信息及使能信号,进而控制光包交换器对这些大部分的光能进行光包交换。
可选地,光包经过分光器分为两部分光包之后,大部分的光能可以首先经过一定长度的光纤延迟线,然后进入光包交换器。在本发明实施例中,通过大部分的光能经过一定长度的光纤延迟线之后进入光包交换器,能够为控制管理器预留足够的时间来产生相应的控制信号,进而当大部分的光能进入光包交换器之前,光包交换器可以按照控制信号控制产生对应的光包交换链路。
进一步地,作为图18所示方法的具体实现,本发明实施例提供了一种光包交换系统的链路确认装置,如图21所示,所述装置的实体可以为链路确认器,所述装置包括:接收单元211、解析单元212、确定单元213、发送单元214。
接收单元211,用于接收控制管理器发送的参考光标签信息及使能信 号。
解析单元212,用于根据接收单元211接收的参考光标签信息的信息类型,解析交换后光包的光标签中携带的实际光标签信息。
确定单元213,用于当接收单元211接收的使能信号打开时,根据解析单元212解析的实际光标签信息及接收单元211接收的参考光标签信息,确定是否产生告警信号。
发送单元214,用于当确定单元213确定产生告警信号时,将告警信号发送给控制管理器。
解析单元212解析的实际光标签信息与接收单元211接收的参考光标签信息的信息类型相同。
其中,信息类型可以包括源端口信息、目的端口信息、包长信息或者优先级信息。
接收单元211接收的参考光标签信息为信息类型中包括的至少一种信息类型。
可选地,所述装置还可以包括:计算单元215。
计算单元215,用于计算解析单元212解析的实际光标签信息与接收单元211接收的参考光标签信息之间的不匹配度。
确定单元213,具体用于根据计算单元215计算的实际光标签信息与参考光标签信息之间的不匹配度,确定是否产生告警信号。
确定单元213,具体用于当实际光标签信息与参考光标签信息之间的不匹配度大于预置阈值时,确定产生告警信号。
确定单元213,具体还用于当实际光标签信息与参考光标签信息之间的不匹配度小于或者等于预置阈值时,确定不产生告警信号。
接收单元211,还用于接收控制管理器发送的选择控制信号。
其中,选择控制信号中可以携带有交换后光包的输出端口对应的标识信息。
可选地,所述装置还可以包括:选择单元216。
选择单元216,用于根据接收单元211接收的交换后光包的输出端口对应的标识信息,从多个输出端口中选择交换后光包的输出端口。
解析单元212,具体用于根据参考光标签信息,从选择单元216选择的交换后光包的输出端口,解析交换后光包的光标签中携带的实际光标签信息。
解析单元212解析的交换后光包为主光包交换器交换后光包或者备用光包交换器交换后光包。
解析单元212,具体用于根据参考光标签信息,解析主光包交换器交换后光包的光标签中携带的实际光标签信息。
确定单元213,具体用于根据主光包交换器交换后光包的光标签中携带的实际光标签信息及参考光标签信息,确定是否产生主光包交换器中的链路对应的告警信号。
解析单元212,具体还用于根据参考光标签信息,解析备用光包交换器交换后光包的光标签中携带的实际光标签信息。
确定单元213,具体还用于根据备用光包交换器交换后光包的光标签中携带的实际光标签信息及参考光标签信息,确定是否产生备用光包交换器中的链路对应的告警信号。
发送单元214,还用于当确定单元213确定产生主光包交换器中的链路对应的告警信号时,将主光包交换器中的链路对应的告警信号发送给控制管理器。
发送单元214,还用于当确定单元213确定产生备用光包交换器中的链路对应的告警信号时,将备用光包交换器中的链路对应的告警信号发送给控制管理器。
确定单元213,还用于当接收单元211接收的使能信号关闭时,若不能解析出交换后光包的光标签中携带的实际光标签信息,则确定产生告警信号。
需要说明的是,本发明实施例中提供的光包交换系统的链路确认装置 中各功能单元所对应的其他相应描述,可以参考图18中的对应描述,在此不再赘述。
再进一步地,所述光包交换系统的链路确认装置的实体可以为链路确认器,如图22所示,所述链路确认器可以包括:接收器221、处理器222、发送器223、存储器224,所述存储器224与处理器222相连接。
接收器221,用于接收控制管理器发送的参考光标签信息及使能信号。
处理器222,用于根据接收器221接收的参考光标签信息的信息类型,解析交换后光包的光标签中携带的实际光标签信息。
处理器222,还用于当接收单元211接收的使能信号打开时,根据实际光标签信息及接收器221接收的参考光标签信息,确定是否产生告警信号。
发送器223,用于当处理器222确定产生告警信号时,将告警信号发送给控制管理器。
处理器222解析的实际光标签信息与接收器221接收的参考光标签信息的信息类型相同。
其中,信息类型可以包括源端口信息、目的端口信息、包长信息或者优先级信息。
接收器221接收的参考光标签信息为信息类型中包括的至少一种信息类型。
处理器222,还用于计算实际光标签信息与接收器221接收的参考光标签信息之间的不匹配度。
处理器222,具体用于根据实际光标签信息与参考光标签信息之间的不匹配度,确定是否产生告警信号。
处理器222,具体用于当实际光标签信息与参考光标签信息之间的不匹配度大于预置阈值时,确定产生告警信号。
处理器222,具体还用于当实际光标签信息与参考光标签信息之间的不匹配度小于或者等于预置阈值时,确定不产生告警信号。
发送器223,用于当处理器222确定产生告警信号时,将告警信号发送 给控制管理器。
接收器221,还用于接收控制管理器发送的选择控制信号。
其中,选择控制信号中可以携带有交换后光包的输出端口对应的标识信息。
处理器222,用于根据接收器221接收的交换后光包的输出端口对应的标识信息,从多个输出端口中选择交换后光包的输出端口。
处理器222,具体用于根据参考光标签信息,从选择的交换后光包的输出端口,解析交换后光包的光标签中携带的实际光标签信息。
处理器222解析的交换后光包为主光包交换器交换后光包或者备用光包交换器交换后光包。
处理器222,具体用于根据参考光标签信息,解析主光包交换器交换后光包的光标签中携带的实际光标签信息。
处理器222,具体用于根据主光包交换器交换后光包的光标签中携带的实际光标签信息及参考光标签信息,确定是否产生主光包交换器中的链路对应的告警信号。
处理器222,具体还用于根据参考光标签信息,解析备用光包交换器交换后光包的光标签中携带的实际光标签信息。
处理器222,具体还用于根据备用光包交换器交换后光包的光标签中携带的实际光标签信息及参考光标签信息,确定是否产生备用光包交换器中的链路对应的告警信号。
发送器223,还用于当处理器222确定产生主光包交换器中的链路对应的告警信号时,将主光包交换器中的链路对应的告警信号发送给控制管理器。
发送器223,还用于当处理器222确定产生备用光包交换器中的链路对应的告警信号时,将备用光包交换器中的链路对应的告警信号发送给控制管理器。
处理器222,还用于当接收器221接收的使能信号关闭时,若不能解析 出交换后光包的光标签中携带的实际光标签信息,则确定产生告警信号。
需要说明的是,本发明实施例中提供的链路确认器中各设备所对应的其他相应描述,可以参考图4中的对应描述,在此不再赘述。
本发明实施例提供的光包交换系统的链路确认方法、装置及系统首先控制管理器生成参考光标签信息及使能信号,并发送给链路确认器;然后当使能信号打开时,链路确认器根据解析的实际光标签信息及接收的参考光标签信息,确定是否产生告警信号,若确定产生告警信号,则将告警信号发送给控制管理器;最后控制管理器根据接收到的告警信号,进一步确定告警信号对应的链路是否异常。与目前通过在光包交换器的各个输出端口的环形器耦合由光包交换器交换前的测试信号,并在光包交换器的各个输入端口的环形器获取由光包交换器交换后的测试信号相比,能够避免通过光包交换器的各个输出端口的环形器耦合测试信号,同时能够避免通过光包交换器的各个输入端口的环形器分离测试信号,从而可以降低光包交换的成本。
实施例五
本发明实施例提供一种光包交换系统的链路确认系统,如图23所示,所述系统包括:控制管理器231及链路确认器232。
控制管理器231,用于解析交换前光包的光标签中携带的路由信息,并根据路由信息,生成参考光标签信息及使能信号。
控制管理器231,还用于将参考光标签信息及使能信号发送给链路确认器232。
链路确认器232,用于接收控制管理器231发送的参考光标签信息及使能信号,并根据参考光标签信息的信息类型,解析交换后光包的光标签中携带的实际光标签信息。
链路确认器232,还用于当使能信号打开时,根据实际光标签信息及参考光标签信息,确定是否产生告警信号,当确定产生告警信号时,将告警信号发送给控制管理器231。
控制管理器231,还用于当使能信号打开时,判断是否接收到链路确认器232发送的告警信号,若接收到链路确认器232发送的告警信号,则根据告警信号,确定告警信号对应的链路是否异常。
本发明实施例提供的光包交换系统的链路确认方法、装置及系统首先控制管理器生成参考光标签信息及使能信号,并发送给链路确认器;然后当使能信号打开时,链路确认器根据解析的实际光标签信息及接收的参考光标签信息,确定是否产生告警信号,若确定产生告警信号,则将告警信号发送给控制管理器;最后控制管理器根据接收到的告警信号,进一步确定告警信号对应的链路是否异常。与目前通过在光包交换器的各个输出端口的环形器耦合由光包交换器交换前的测试信号,并在光包交换器的各个输入端口的环形器获取由光包交换器交换后的测试信号相比,本发明实施例通过获取由光包交换器交换前的光标签及由光包交换器交换后的光标签,能够避免通过光包交换器的各个输出端口的环形器耦合测试信号,同时能够避免通过光包交换器的各个输入端口的环形器分离测试信号,从而可以降低光包交换的成本。
本发明实施例提供的光包交换系统的链路确认装置可以实现上述提供的方法实施例,具体功能实现请参见方法实施例中的说明,在此不再赘述。本发明实施例提供的光包交换系统的链路确认方法、装置及系统可以适用于将光交换应用在数据中心等网络中,但不仅限于此。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可 轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应该以权利要求的保护范围为准。

Claims (41)

  1. 一种光包交换系统的链路确认方法,其特征在于,包括:
    控制管理器解析交换前光包的光标签中携带的路由信息;
    所述控制管理器根据所述路由信息,生成参考光标签信息及使能信号;
    所述控制管理器将所述参考光标签信息及所述使能信号发送给链路确认器;
    当所述使能信号打开时,所述控制管理器判断是否接收到所述链路确认器发送的告警信号;
    若接收到所述链路确认器发送的所述告警信号,则所述控制管理器根据所述告警信号,确定所述告警信号对应的链路是否异常。
  2. 根据权利要求1所述的光包交换系统的链路确认方法,其特征在于,所述参考光标签信息为所述路由信息的各种信息类型中包括的至少一种信息;
    所述路由信息的各种信息类型包括源端口信息、目的端口信息、包长信息或者优先级信息。
  3. 根据权利要求1或2所述的光包交换系统的链路确认方法,其特征在于,所述使能信号用于触发所述链路确认器进行链路是否异常的检测。
  4. 根据权利要求1至3任一所述的光包交换系统的链路确认方法,其特征在于,所述控制管理器根据所述告警信号,确定所述告警信号对应的链路是否异常的步骤之前,还包括:
    若接收到所述链路确认器发送的所述告警信号,则所述控制管理器对所述链路的告警次数进行加一操作;
    所述控制管理器判断加一后的所述链路的告警次数是否大于预置阈值;
    所述控制管理器根据所述告警信号,确定所述告警信号对应的链路是否异常的步骤包括:
    若加一后的所述链路的告警次数大于所述预置阈值,则所述控制管理 器确定所述链路异常。
  5. 根据权利要求4所述的光包交换系统的链路确认方法,其特征在于,所述控制管理器确定所述链路异常的步骤之后,还包括:
    所述控制管理器将链路状态信息表中所述链路的状态信息由正常更新为异常。
  6. 根据权利要求1至5任一所述的光包交换系统的链路确认方法,其特征在于,所述控制管理器根据所述路由信息,生成参考光标签信息及使能信号的步骤之前,还包括:
    所述控制管理器根据所述包长信息,确定使能打开持续时间,所述使能打开持续时间用于确定所述使能信号的关闭时间;
    所述当所述使能信号打开时,所述控制管理器判断是否接收到所述链路确认器发送的告警信号的步骤之后,还包括:
    当所述使能信号关闭时,若未接收到所述链路确认器发送的所述告警信号,则所述控制管理器对所述链路的告警次数进行赋零操作。
  7. 根据权利要求1至6任一所述的光包交换系统的链路确认方法,其特征在于,所述链路为主光包交换器中的链路或者备用光包交换器中的链路;
    所述若接收到所述链路确认器发送的所述告警信号,则所述控制管理器根据所述告警信号,确定所述告警信号对应的链路是否异常的步骤包括:
    若接收到所述链路确认器发送的所述主光包交换器中的链路对应的告警信号,则所述控制管理器根据所述主光包交换器中的链路对应的告警信号,确定所述主光包交换器中的链路是否异常;
    所述确定所述主光包交换器中的链路是否异常的步骤之后,还包括:
    若确定所述主光包交换器中的链路异常,则所述控制管理器向光包交换器发送主备选择控制信号,以使得通过所述备用光包交换器进行光包交换;
    若接收到所述链路确认器发送的所述备用光包交换器中的链路对应的告警信号,则所述控制管理器根据所述备用光包交换器中的链路对应的告 警信号,确定所述备用光包交换器中的链路是否异常。
  8. 根据权利要求7所述的光包交换系统的链路确认方法,其特征在于,所述确定所述主光包交换器中的链路是否异常的步骤之后,还包括:
    若确定所述主光包交换器中的链路异常,则所述控制管理器将所述链路状态信息表中所述链路的状态信息由正常更新为主光包交换器异常;
    所述控制管理器确定所述备用光包交换器中的链路是否异常的步骤之后,还包括:
    若确定所述备用光包交换器中的链路异常,则所述控制管理器将所述链路状态信息表中所述链路的状态信息由主光包交换器异常更新为备用光包交换器异常。
  9. 根据权利要求1至8任一所述的光包交换系统的链路确认方法,其特征在于,所述控制管理器根据所述路由信息,生成参考光标签信息及使能信号的步骤之后,还包括:
    所述控制管理器根据所述路由信息,生成选择控制信号,并将所述选择控制信号发送给所述链路确认器,所述选择控制信号中携带有交换后光包的输出端口对应的标识信息。
  10. 根据权利要求1至9任一所述的光包交换系统的链路确认方法,其特征在于,所述控制管理器解析交换前光包的光标签中携带的路由信息的步骤之后,还包括:
    所述控制管理器根据所述路由信息,计算交换后光包的下一跳光标签,以使得将所述交换后光包与所述下一跳光标签进行合成,所述下一跳光标签为所述交换后光包在下一跳光包交换器所对应的光标签。
  11. 一种光包交换系统的链路确认方法,其特征在于,包括:
    链路确认器接收控制管理器发送的参考光标签信息及使能信号;
    所述链路确认器根据所述参考光标签信息的信息类型,解析交换后光包的光标签中携带的实际光标签信息;
    当所述使能信号打开时,所述链路确认器根据所述实际光标签信息及 所述参考光标签信息,确定是否产生告警信号;
    当确定产生所述告警信号时,所述链路确认器将所述告警信号发送给所述控制管理器。
  12. 根据权利要求11所述的光包交换系统的链路确认方法,其特征在于,所述实际光标签信息与所述参考光标签信息的信息类型相同。
  13. 根据权利要求12所述的光包交换系统的链路确认方法,其特征在于,所述信息类型包括源端口信息、目的端口信息、包长信息或者优先级信息;
    所述参考光标签信息为所述信息类型中包括的至少一种信息类型。
  14. 根据权利要求11至13任一所述的光包交换系统的链路确认方法,其特征在于,所述链路确认器根据所述实际光标签信息及所述参考光标签信息,确定是否产生告警信号的步骤之前,还包括:
    所述链路确认器计算所述实际光标签信息与所述参考光标签信息之间的不匹配度;
    所述链路确认器根据所述实际光标签信息及所述参考光标签信息,确定是否产生告警信号的步骤包括:
    所述链路确认器根据所述实际光标签信息与所述参考光标签信息之间的不匹配度,确定是否产生所述告警信号。
  15. 根据权利要求14所述的光包交换系统的链路确认方法,其特征在于,所述链路确认器根据所述实际光标签信息与所述参考光标签信息之间的不匹配度,确定是否产生所述告警信号的步骤包括:
    若所述实际光标签信息与所述参考光标签信息之间的不匹配度大于预置阈值,则所述链路确认器确定产生所述告警信号;
    若所述实际光标签信息与所述参考光标签信息之间的不匹配度小于或者等于所述预置阈值,则所述链路确认器确定不产生所述告警信号。
  16. 根据权利要求11至15任一所述的光包交换系统的链路确认方法,其特征在于,所述链路确认器根据所述参考光标签信息的信息类型,解析 交换后光包的光标签中携带的实际光标签信息的步骤之前,还包括:
    所述链路确认器接收所述控制管理器发送的选择控制信号,所述选择控制信号中携带有所述交换后光包的输出端口对应的标识信息;
    所述链路确认器根据所述交换后光包的输出端口对应的标识信息,从多个输出端口中选择所述交换后光包的输出端口;
    所述链路确认器根据所述参考光标签信息的信息类型,解析交换后光包的光标签中携带的实际光标签信息的步骤包括:
    所述链路确认器根据所述参考光标签信息,从所述交换后光包的输出端口,解析所述交换后光包的光标签中携带的实际光标签信息。
  17. 根据权利要求11至16任一所述的光包交换系统的链路确认方法,其特征在于,所述交换后光包为主光包交换器交换后光包或者备用光包交换器交换后光包;
    所述链路确认器根据所述参考光标签信息,解析交换后光包的光标签中携带的实际光标签信息的步骤包括:
    所述链路确认器根据所述参考光标签信息,解析所述主光包交换器交换后光包的光标签中携带的实际光标签信息;
    所述链路确认器根据所述实际光标签信息及所述参考光标签信息,确定是否产生告警信号的步骤包括:
    所述链路确认器根据所述主光包交换器交换后光包的光标签中携带的实际光标签信息及所述参考光标签信息,确定是否产生所述主光包交换器中的链路对应的告警信号。
  18. 根据权利要求17所述的光包交换系统的链路确认方法,其特征在于,所述链路确认器根据所述参考光标签信息,解析交换后光包的光标签中携带的实际光标签信息的步骤包括:
    所述链路确认器根据所述参考光标签信息,解析所述备用光包交换器交换后光包的光标签中携带的实际光标签信息;
    所述链路确认器根据所述实际光标签信息及所述参考光标签信息,确 定是否产生告警信号的步骤包括:
    所述链路确认器根据所述备用光包交换器交换后光包的光标签中携带的实际光标签信息及所述参考光标签信息,确定是否产生所述备用光包交换器中的链路对应的告警信号。
  19. 根据权利要求18所述的光包交换系统的链路确认方法,其特征在于,所述链路确认器根据所述主光包交换器交换后光包的光标签中携带的实际光标签信息及所述参考光标签信息,确定是否产生所述主光包交换器中的链路对应的告警信号的步骤之后,还包括:
    当确定产生所述主光包交换器中的链路对应的告警信号时,所述链路确认器将所述主光包交换器中的链路对应的告警信号发送给所述控制管理器;
    所述链路确认器根据所述备用光包交换器交换后光包的光标签中携带的实际光标签信息及所述参考光标签信息,确定是否产生所述备用光包交换器中的链路对应的告警信号的步骤之后,还包括:
    当确定产生所述备用光包交换器中的链路对应的告警信号时,所述链路确认器将所述备用光包交换器中的链路对应的告警信号发送给所述控制管理器。
  20. 根据权利要求11至19任一所述的光包交换系统的链路确认方法,其特征在于,所述链路确认器根据所述参考光标签信息,解析交换后光包的光标签中携带的实际光标签信息的步骤之后,还包括:
    当所述使能信号关闭时,若不能解析出交换后光包的光标签中携带的实际光标签信息,则所述链路确认器确定产生所述告警信号。
  21. 一种光包交换系统的链路确认装置,其特征在于,包括:
    解析单元,用于解析交换前光包的光标签中携带的路由信息;
    生成单元,用于根据所述解析单元解析的所述路由信息,生成参考光标签信息及使能信号;
    发送单元,用于将所述生成单元生成的所述参考光标签信息及所述使 能信号发送给链路确认器;
    判断单元,用于当所述发送单元发送的所述使能信号打开时,判断是否接收到所述链路确认器发送的告警信号;
    确定单元,用于当所述判断单元判断接收到所述链路确认器发送的所述告警信号时,根据所述告警信号,确定所述告警信号对应的链路是否异常。
  22. 根据权利要求21所述的光包交换系统的链路确认装置,其特征在于,
    所述生成单元生成的所述参考光标签信息为所述路由信息的各种信息类型中包括的至少一种信息;
    所述路由信息的各种信息类型包括源端口信息、目的端口信息、包长信息或者优先级信息。
  23. 根据权利要求21或22所述的光包交换系统的链路确认装置,其特征在于,
    所述生成单元生成的所述使能信号用于触发所述链路确认器进行链路是否异常的检测。
  24. 根据权利要求21至23任一所述的光包交换系统的链路确认装置,其特征在于,所述装置还包括:运算单元;
    所述运算单元,用于当所述判断单元判断接收到所述链路确认器发送的所述告警信号时,对所述链路的告警次数进行加一操作;
    所述判断单元,还用于判断所述运算单元加一后的所述链路的告警次数是否大于预置阈值;
    所述确定单元,还用于当所述判断单元判断加一后的所述链路的告警次数大于所述预置阈值时,确定所述链路异常。
  25. 根据权利要求24所述的光包交换系统的链路确认装置,其特征在于,所述装置还包括:更新单元;
    所述更新单元,用于当所述确定单元确定所述链路异常时,将链路状 态信息表中所述链路的状态信息由正常更新为异常。
  26. 根据权利要求21至25任一所述的光包交换系统的链路确认装置,其特征在于,
    所述确定单元,还用于根据所述包长信息,确定使能打开持续时间,所述使能打开持续时间用于确定所述使能信号的关闭时间;
    所述装置还包括:赋值单元;
    所述赋值单元,还用于当所述使能信号关闭,并且所述判断单元判断未接收到所述链路确认器发送的所述告警信号时,对所述链路的告警次数进行赋零操作。
  27. 根据权利要求21至26任一所述的光包交换系统的链路确认装置,其特征在于,
    所述确定单元确定的所述链路为主光包交换器中的链路或者备用光包交换器中的链路;
    所述确定单元,具体用于当所述判断单元判断接收到所述链路确认器发送的所述主光包交换器中的链路对应的告警信号时,根据所述主光包交换器中的链路对应的告警信号,确定所述主光包交换器中的链路是否异常;
    所述发送单元,还用于当所述确定单元确定所述主光包交换器中的链路异常时,向光包交换器发送主备选择控制信号;
    所述确定单元,具体还用于当所述判断单元判断接收到所述链路确认器发送的所述备用光包交换器中的链路对应的告警信号时,根据所述备用光包交换器中的链路对应的告警信号,确定所述备用光包交换器中的链路是否异常。
  28. 根据权利要求27所述的光包交换系统的链路确认装置,其特征在于,
    所述更新单元,具体用于当所述确定单元确定所述主光包交换器中的链路异常时,将所述链路状态信息表中所述链路的状态信息由正常更新为主光包交换器异常;
    所述更新单元,具体还用于当所述确定单元确定所述备用光包交换器中的链路异常时,将所述链路状态信息表中所述链路的状态信息由主光包交换器异常更新为备用光包交换器异常。
  29. 根据权利要求21至28任一所述的光包交换系统的链路确认装置,其特征在于,
    所述生成单元,还用于根据所述路由信息,生成选择控制信号,所述选择控制信号中携带有交换后光包的输出端口对应的标识信息;
    所述发送单元,还用于将所述生成单元生成的所述选择控制信号发送给所述链路确认器。
  30. 根据权利要求21至29任一所述的光包交换系统的链路确认装置,其特征在于,所述装置还包括:计算单元;
    所述计算单元,用于根据所述路由信息,计算所述解析单元解析的交换后光包的下一跳光标签,所述下一跳光标签为所述交换后光包在下一跳光包交换器所对应的光标签。
  31. 一种光包交换系统的链路确认装置,其特征在于,包括:
    接收单元,用于接收控制管理器发送的参考光标签信息及使能信号;
    解析单元,用于根据所述接收单元接收的所述参考光标签信息的信息类型,解析交换后光包的光标签中携带的实际光标签信息;
    确定单元,用于当所述接收单元接收的所述使能信号打开时,根据所述解析单元解析的所述实际光标签信息及所述接收单元接收的所述参考光标签信息,确定是否产生告警信号;
    发送单元,用于当所述确定单元确定产生所述告警信号时,将所述告警信号发送给所述控制管理器。
  32. 根据权利要求31所述的光包交换系统的链路确认装置,其特征在于,
    所述解析单元解析的所述实际光标签信息与所述接收单元接收的所述参考光标签信息的信息类型相同。
  33. 根据权利要求32所述的光包交换系统的链路确认装置,其特征在于,
    所述信息类型包括源端口信息、目的端口信息、包长信息或者优先级信息;
    所述接收单元接收的所述参考光标签信息为所述信息类型中包括的至少一种信息类型。
  34. 根据权利要求31至33任一所述的光包交换系统的链路确认装置,其特征在于,所述装置还包括:计算单元;
    所述计算单元,用于计算所述解析单元解析的所述实际光标签信息与所述接收单元接收的所述参考光标签信息之间的不匹配度;
    所述确定单元,具体用于根据所述计算单元计算的所述实际光标签信息与所述参考光标签信息之间的不匹配度,确定是否产生所述告警信号。
  35. 根据权利要求34所述的光包交换系统的链路确认装置,其特征在于,
    所述确定单元,具体用于当所述实际光标签信息与所述参考光标签信息之间的不匹配度大于预置阈值时,确定产生所述告警信号;
    所述确定单元,具体还用于当所述实际光标签信息与所述参考光标签信息之间的不匹配度小于或者等于所述预置阈值时,确定不产生所述告警信号。
  36. 根据权利要求31至35任一所述的光包交换系统的链路确认装置,其特征在于,
    所述接收单元,还用于接收所述控制管理器发送的选择控制信号,所述选择控制信号中携带有所述交换后光包的输出端口对应的标识信息;
    所述装置还包括:选择单元;
    所述选择单元,用于根据所述接收单元接收的所述交换后光包的输出端口对应的标识信息,从多个输出端口中选择所述交换后光包的输出端口;
    所述解析单元,具体用于根据所述参考光标签信息,从所述选择单元 选择的所述交换后光包的输出端口,解析所述交换后光包的光标签中携带的实际光标签信息。
  37. 根据权利要求31至36任一所述的光包交换系统的链路确认装置,其特征在于,
    所述解析单元解析的所述交换后光包为主光包交换器交换后光包或者备用光包交换器交换后光包;
    所述解析单元,具体用于根据所述参考光标签信息,解析所述主光包交换器交换后光包的光标签中携带的实际光标签信息;
    所述确定单元,具体用于根据所述主光包交换器交换后光包的光标签中携带的实际光标签信息及所述参考光标签信息,确定是否产生所述主光包交换器中的链路对应的告警信号。
  38. 根据权利要求37所述的光包交换系统的链路确认装置,其特征在于,
    所述解析单元,具体还用于根据所述参考光标签信息,解析所述备用光包交换器交换后光包的光标签中携带的实际光标签信息;
    所述确定单元,具体还用于根据所述备用光包交换器交换后光包的光标签中携带的实际光标签信息及所述参考光标签信息,确定是否产生所述备用光包交换器中的链路对应的告警信号。
  39. 根据权利要求38所述的光包交换系统的链路确认装置,其特征在于,
    所述发送单元,还用于当所述确定单元确定产生所述主光包交换器中的链路对应的告警信号时,将所述主光包交换器中的链路对应的告警信号发送给所述控制管理器;
    所述发送单元,还用于当所述确定单元确定产生所述备用光包交换器中的链路对应的告警信号时,将所述备用光包交换器中的链路对应的告警信号发送给所述控制管理器。
  40. 根据权利要求31至39任一所述的光包交换系统的链路确认装置, 其特征在于,
    所述确定单元,还用于当所述接收单元接收的所述使能信号关闭时,若不能解析出交换后光包的光标签中携带的实际光标签信息,则确定产生所述告警信号。
  41. 一种光包交换系统的链路确认系统,其特征在于,包括:控制管理器及链路确认器;
    所述控制管理器,用于解析交换前光包的光标签中携带的路由信息,并根据所述路由信息,生成参考光标签信息及使能信号;
    所述控制管理器,还用于将所述参考光标签信息及所述使能信号发送给链路确认器;
    所述链路确认器,用于接收所述控制管理器发送的参考光标签信息及使能信号,并根据所述参考光标签信息的信息类型,解析交换后光包的光标签中携带的实际光标签信息;
    所述链路确认器,还用于当所述使能信号打开时,根据所述实际光标签信息及所述参考光标签信息,确定是否产生告警信号,当确定产生所述告警信号时,将所述告警信号发送给所述控制管理器;
    所述控制管理器,还用于当所述使能信号打开时,判断是否接收到所述链路确认器发送的告警信号,若接收到所述链路确认器发送的所述告警信号,则根据所述告警信号,确定所述告警信号对应的链路是否异常。
PCT/CN2014/094313 2014-04-15 2014-12-19 光包交换系统的链路确认方法、装置及系统 Ceased WO2015158151A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP14889778.8A EP3122003B1 (en) 2014-04-15 2014-12-19 Link confirmation method, apparatus and system for optical packet switching system
US15/293,690 US9813787B2 (en) 2014-04-15 2016-10-14 Link determining method, apparatus, and system for optical packet switching system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410151573.4 2014-04-15
CN201410151573.4A CN105099903B (zh) 2014-04-15 2014-04-15 光包交换系统的链路确认方法、装置及系统

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/293,690 Continuation US9813787B2 (en) 2014-04-15 2016-10-14 Link determining method, apparatus, and system for optical packet switching system

Publications (1)

Publication Number Publication Date
WO2015158151A1 true WO2015158151A1 (zh) 2015-10-22

Family

ID=54323460

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/094313 Ceased WO2015158151A1 (zh) 2014-04-15 2014-12-19 光包交换系统的链路确认方法、装置及系统

Country Status (4)

Country Link
US (1) US9813787B2 (zh)
EP (1) EP3122003B1 (zh)
CN (1) CN105099903B (zh)
WO (1) WO2015158151A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109842448A (zh) * 2019-01-24 2019-06-04 杭州电子科技大学 基于反转4ppm线路编码的正交调制标签方法

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105099903B (zh) * 2014-04-15 2018-12-07 华为技术有限公司 光包交换系统的链路确认方法、装置及系统
WO2018089636A1 (en) * 2016-11-11 2018-05-17 Carrier Corporation High sensitivity fiber optic based detection
CA3043583A1 (en) 2016-11-11 2018-05-17 Carrier Corporation High sensitivity fiber optic based detection
ES2968291T3 (es) 2016-11-11 2024-05-08 Carrier Corp Detección basada en fibra óptica de alta sensibilidad
EP3539105B1 (en) 2016-11-11 2024-09-11 Carrier Corporation High sensitivity fiber optic based detection
WO2018089654A1 (en) 2016-11-11 2018-05-17 Carrier Corporation High sensitivity fiber optic based detection
CN118509055A (zh) * 2023-02-14 2024-08-16 华为技术有限公司 一种信号处理方法及装置
WO2025079227A1 (ja) * 2023-10-13 2025-04-17 日本電信電話株式会社 光通信システム、制御装置及び光通信経路開通方法

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1756182A (zh) * 2004-09-30 2006-04-05 华为技术有限公司 多协议标签交换系统中的保护倒换方法
CN1980156A (zh) * 2005-12-08 2007-06-13 特克特朗尼克公司 限定的异常检测
US20090190593A1 (en) * 2008-01-29 2009-07-30 Fujitsu Limited Packet analysis method, packet analysis apparatus, recording medium storing packet analysis program

Family Cites Families (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7039009B2 (en) * 2000-01-28 2006-05-02 At&T Corp. Control of optical connections in an optical network
US6819666B2 (en) * 2001-01-30 2004-11-16 The Regents Of The University Of California Optical layer multicasting using multiple sub-carrier headers with header detection, deletion, and insertion via reflective single sideband optical processing
US7039316B2 (en) * 2001-01-30 2006-05-02 The Regents Of The University Of California Optical layer multicasting using a multiple sub-carrier header and a multicast switch with active header insertion via reflective single sideband optical processing
US6850515B2 (en) * 2001-01-30 2005-02-01 The Regents Of The University Of California Optical layer multicasting using a single sub-carrier header and a multicast switch with active header insertion via light circulation
US7145704B1 (en) * 2003-11-25 2006-12-05 Cheetah Omni, Llc Optical logic gate based optical router
US6477291B1 (en) * 2001-09-13 2002-11-05 Nayna Networks, Inc. Method and system for in-band connectivity for optical switching applications
US20030067919A1 (en) * 2001-10-04 2003-04-10 Chunming Qiao Labeled analog burst switching for any high-layer-over-signal channel integration
JP4007860B2 (ja) * 2002-06-10 2007-11-14 富士通株式会社 伝送装置
US20040037558A1 (en) * 2002-08-20 2004-02-26 Nortel Networks Limited Modular high-capacity switch
EP1422968B1 (en) * 2002-11-19 2010-01-13 Alcatel Lucent Failure localization in a transmission network
FR2850349B1 (fr) * 2003-01-29 2006-03-10 Bernard Coeuret Vehicule a chenilles
US7606237B2 (en) * 2003-03-31 2009-10-20 Alcatel-Lucent Usa Inc. Sharing restoration path bandwidth in mesh networks
WO2005109706A1 (fr) * 2004-05-07 2005-11-17 France Telecom S.A. Procede et systeme de protection d’un reseau de communication, ledit reseau de communication incluant un reseau de transport
CN100403660C (zh) * 2004-09-04 2008-07-16 华为技术有限公司 双纤光复用段共享保护环的保护方法及其节点装置
JP4818768B2 (ja) * 2006-03-24 2011-11-16 富士通株式会社 情報処理システム、障害通知方法および障害通知プログラム
JP5093455B2 (ja) * 2007-03-27 2012-12-12 日本電気株式会社 光通信システム、光通信装置、およびパス区間迂回における障害アラーム監視方法
JP4765980B2 (ja) * 2007-03-30 2011-09-07 株式会社日立製作所 通信ネットワークシステム
US8290367B2 (en) * 2008-04-14 2012-10-16 Telcordia Technologies, Inc. OSS support for control plane technology
US9160446B2 (en) * 2011-04-15 2015-10-13 Orckit-Corrigent Ltd. Method for supporting SNCP over packet network
JP2014064252A (ja) * 2012-09-24 2014-04-10 Hitachi Ltd ネットワークシステム、伝送装置、及び障害情報通知方法
CN105099903B (zh) * 2014-04-15 2018-12-07 华为技术有限公司 光包交换系统的链路确认方法、装置及系统

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1756182A (zh) * 2004-09-30 2006-04-05 华为技术有限公司 多协议标签交换系统中的保护倒换方法
CN1980156A (zh) * 2005-12-08 2007-06-13 特克特朗尼克公司 限定的异常检测
US20090190593A1 (en) * 2008-01-29 2009-07-30 Fujitsu Limited Packet analysis method, packet analysis apparatus, recording medium storing packet analysis program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109842448A (zh) * 2019-01-24 2019-06-04 杭州电子科技大学 基于反转4ppm线路编码的正交调制标签方法
CN109842448B (zh) * 2019-01-24 2020-10-27 杭州电子科技大学 基于反转4ppm线路编码的正交调制标签方法

Also Published As

Publication number Publication date
CN105099903B (zh) 2018-12-07
EP3122003A1 (en) 2017-01-25
EP3122003A4 (en) 2017-05-10
EP3122003B1 (en) 2018-07-04
US20170034605A1 (en) 2017-02-02
US9813787B2 (en) 2017-11-07
CN105099903A (zh) 2015-11-25

Similar Documents

Publication Publication Date Title
WO2015158151A1 (zh) 光包交换系统的链路确认方法、装置及系统
US10404581B2 (en) Methods for managing transaction in software defined network
US12401572B2 (en) Network simulation method and apparatus, device, and computer-readable storage medium
US9680698B2 (en) Operations, administration, and management (OAM) functions in a software defined network
US10341141B2 (en) Flow entry generating method and apparatus
US8897141B2 (en) Network system and routing method
US20120099421A1 (en) Communication system, node device, communication method in the communication system, and program
US11909581B2 (en) Cross-domain fault analysis method and system
US10116545B2 (en) Method, device and system for processing OAM packet
CN107124365B (zh) 一种基于机器学习的路由策略的获取系统
US20140043960A1 (en) Method, tor switch, and system for implementing protection switchover based on trill network
EP2775676A1 (en) Policy based routing method and device
US10972392B2 (en) Path switching
JPH08307439A (ja) プロテクション制御信号伝達システム
EP3082306A1 (en) Re-routing method and system, and network device
CN104821957B (zh) 一种bfd状态机的实现方法、装置及系统
US8737238B2 (en) Congestion detecting method and communication node
WO2012106914A1 (zh) 动态隧道故障诊断方法及设备和系统
CN102571384A (zh) 复用段保护的倒换方法、系统及分组传输网设备
US10341175B2 (en) Operations, administration, and management (OAM) functions in a software defined network
US20150207721A1 (en) Method and system for generating multi-protocol fault management packet by using fpga
CN108337181B (zh) 一种交换网拥塞管理方法和装置
CN116599839A (zh) 云网关系统、数据处理方法、设备及存储介质
US20150180775A1 (en) Communication System, Control Apparatus, Communication Method, and Program
Xia et al. SRCV: A Source Routing based Consistency Verification Mechanism in SDN

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14889778

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

REEP Request for entry into the european phase

Ref document number: 2014889778

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2014889778

Country of ref document: EP