WO2016000146A1 - 一种数据处理方法及装置 - Google Patents

一种数据处理方法及装置 Download PDF

Info

Publication number
WO2016000146A1
WO2016000146A1 PCT/CN2014/081213 CN2014081213W WO2016000146A1 WO 2016000146 A1 WO2016000146 A1 WO 2016000146A1 CN 2014081213 W CN2014081213 W CN 2014081213W WO 2016000146 A1 WO2016000146 A1 WO 2016000146A1
Authority
WO
WIPO (PCT)
Prior art keywords
optical
interface
bandwidth
logical interface
serial signal
Prior art date
Application number
PCT/CN2014/081213
Other languages
English (en)
French (fr)
Inventor
王心远
钱振洋
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP14896611.2A priority Critical patent/EP3148209B1/en
Priority to ES14896611T priority patent/ES2753270T3/es
Priority to CN201910883675.8A priority patent/CN110752878B/zh
Priority to PCT/CN2014/081213 priority patent/WO2016000146A1/zh
Priority to CN201480079292.0A priority patent/CN106464990B/zh
Publication of WO2016000146A1 publication Critical patent/WO2016000146A1/zh
Priority to US15/393,348 priority patent/US10187708B2/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0005Switch and router aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/30Peripheral units, e.g. input or output ports
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0005Switch and router aspects
    • H04Q2011/0037Operation
    • H04Q2011/005Arbitration and scheduling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0086Network resource allocation, dimensioning or optimisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2213/00Indexing scheme relating to selecting arrangements in general and for multiplex systems
    • H04Q2213/13003Constructional details of switching devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2213/00Indexing scheme relating to selecting arrangements in general and for multiplex systems
    • H04Q2213/1301Optical transmission, optical switches

Definitions

  • the present invention relates to the field of communications, and in particular, to a data processing method and apparatus. Background technique
  • a line card (English: line card, LC for short) is a component of a network switch, router, or other network device. Line cards can be used to connect cables or fibers.
  • the line card generates an optical bit stream (English: optical bit stream) and outputs it through an optical fiber.
  • the bandwidth of the fiber is a fixed value.
  • the bandwidth of an optical fiber is 40 gigabits per second (Gigabit per second, Gb/s for short) or 100 Gb/s.
  • the bandwidth of the optical bit stream output by the fiber is a fixed value.
  • the embodiment of the invention provides a data processing method and device.
  • the above technical solutions help to apply to flexible Ethernet.
  • a data processing apparatus is provided, the apparatus being implemented by a line card, the line card comprising:
  • a first processing module configured to determine, according to a correspondence between the first optical serial signal stream and the logical interface, the logical interface corresponding to the first optical serial signal flow, where a bandwidth of the logical interface is configured as a first Bandwidth, the bandwidth of the first optical serial signal stream is less than or equal to the first bandwidth, the logical interface corresponds to the first optical interface, and the first optical interface corresponds to one optical fiber or one optical fiber for transmission a channel of optical signals of one wavelength;
  • a second processing module configured to determine, according to a correspondence between the logical interface and the first optical interface, and the logical interface determined by the first processing module, the first optical interface corresponding to the logical interface;
  • a scheduling module configured to send the first optical serial signal stream by using the first optical interface determined by the second processing module.
  • the first processing module is further configured to:
  • the scheduling module is further configured to: send, by the first optical interface determined by the second processing module, the second optical serial signal stream.
  • the first processing module is further configured to: modify a bandwidth of the logical interface to a second bandwidth, The bandwidth of the second optical serial signal stream is less than or equal to the second bandwidth.
  • the second processing module is further configured to:
  • the scheduling module is further configured to:
  • the second processing module is further configured to: modify a bandwidth of the logical interface to a second bandwidth, The bandwidth of the first optical serial signal stream is less than or equal to the second bandwidth.
  • the first processing is also used to:
  • the second processing module is further configured to:
  • the scheduling module is further configured to:
  • the first processing module or the second processing module is further configured to:
  • the bandwidth of the logical interface is modified to a second bandwidth, and the bandwidth of the second optical serial signal stream is less than or equal to the second bandwidth.
  • the first processing module or the second processing module is further configured to:
  • the bandwidth of the logical interface is modified to a second bandwidth, and the bandwidth of the first optical serial signal stream is less than or equal to the second bandwidth.
  • a data processing method including:
  • the line card determines the logical interface corresponding to the first optical serial signal stream according to a correspondence between the first optical serial signal stream and the logical interface, where a bandwidth of the logical interface is configured as a first bandwidth, where the The optical serial signal has a bandwidth that is less than or equal to the first bandwidth, and the logical interface corresponds to the first optical interface, where the first optical interface corresponds to an optical fiber or an optical signal for transmitting one wavelength in one optical fiber.
  • Channel Determining, by the line card, the first optical interface corresponding to the logical interface according to the corresponding relationship between the logical interface and the first optical interface;
  • the line card transmits the first optical serial signal stream through the first optical interface.
  • the method further includes:
  • the line card modifies a correspondence between the first optical serial signal stream and the logical interface to a correspondence between a second optical serial signal stream and the logical interface, where the second optical serial signal stream
  • the bandwidth is less than or equal to the first bandwidth
  • the line card transmits the second optical serial signal stream through the first optical interface.
  • the method further includes:
  • the line card modifies the bandwidth of the logical interface to a second bandwidth, and the bandwidth of the second optical serial signal stream is less than or equal to the second bandwidth.
  • the method further includes:
  • the line card modifies the corresponding relationship between the logical interface and the first optical interface to a corresponding relationship between the logical interface and the second optical interface;
  • the line card transmits the first optical serial signal stream through the second optical interface.
  • the method further includes:
  • the line card modifies the bandwidth of the logical interface to a second bandwidth, and the bandwidth of the first optical serial signal stream is less than or equal to the second bandwidth.
  • the line card modifies a correspondence between the first optical serial signal stream and the logical interface to a correspondence between a second optical serial signal stream and the logical interface;
  • the line card modifies the corresponding relationship between the logical interface and the first optical interface to a corresponding relationship between the logical interface and the second optical interface;
  • the line card transmits the second optical serial signal stream through the second optical interface.
  • the method further includes:
  • the line card modifies the bandwidth of the logical interface to a second bandwidth, and the bandwidth of the second optical serial signal stream is less than or equal to the second bandwidth.
  • the method further includes:
  • the line card modifies the bandwidth of the logical interface to a second bandwidth, and the bandwidth of the first optical serial signal stream is less than or equal to the second bandwidth.
  • the first optical serial signal stream corresponds to a logical interface.
  • the logical interface corresponds to the first optical interface. Determining, according to a correspondence between the first optical serial signal stream and the logical interface, and a correspondence between the logical interface and the first optical interface, determining, for outputting the first optical serial signal stream Optical interface. Therefore, the optical serial signal stream output by the optical interface can be changed or the optical interface for outputting the optical serial signal stream can be changed by modifying at least one of the above two correspondences. Therefore, the above technical solution can be preferably applied to flexible Ethernet.
  • FIG. 1 is a schematic structural diagram of a data channel of a line card in a router in the prior art
  • FIG. 2 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present invention.
  • FIG. 6 are respectively schematic diagrams showing a correspondence relationship between a logical interface, an optical serial signal, and an optical interface according to an embodiment of the present invention
  • FIG. 7 is a schematic flowchart diagram of a data processing method according to an embodiment of the present invention. detailed description
  • line cards are about components in network switches, routers, or other network devices.
  • Line cards can be used to connect cables or fibers.
  • Line cards can exist in high-end routers based on distributed architecture.
  • the line card can include a data channel and a control channel.
  • the control channel can be used to implement configuration, management, and status information processing.
  • the data channel can be used to implement forwarding processing.
  • Figure 1 shows the structure of the data channel of the LC in the router.
  • the line card includes a media access control (MAC)/Physical Coding Sublayer (PCS) chip and an optical modem (or optical module).
  • the MAC/PCS chip can be implemented by a dedicated application integrated circuit (English: Application Specific Integrated Circuit).
  • the ASIC chip for implementing the MAC/PCS function receives the electrical signal stream and performs encoding, scrambling, and channel distribution processing to form an electrical serial signal stream.
  • the electrical signal stream may be output by a network processor (English: network processor, abbreviated as: P) or a traffic management (English: traffic management) chip.
  • the electrical serial signal stream may also be referred to as SerDes (SERializer/DESerializer, serializer/deserializer) signal flow.
  • the optical modem demodulates the electrical serial signal stream into an optical serial signal stream and outputs the optical serial signal stream through an optical interface between the optical modem and the optical fiber.
  • the optical interface may be a fiber or a channel in an optical fiber for transmitting optical signals of one wavelength.
  • the line card is capable of modulating the received electrical signal stream into an electrical serial signal stream and modulating the electrical serial signal stream and outputting the optical serial signal stream through the optical fiber.
  • the line card in the embodiment of the present invention can be used to implement the above functions.
  • the line card can be applied to data processing of flexible Ethernet.
  • FIG. 2 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present invention.
  • the device is implemented by line card 100.
  • the line card 100 includes: a first processing module 101, a second processing module 102, and a scheduling module 103.
  • the first processing module 101 is configured to determine the logical interface corresponding to the first optical serial signal stream according to a correspondence between the first optical serial signal stream and the logical interface.
  • the bandwidth of the logical interface is configured as a first bandwidth.
  • the bandwidth of the first optical serial signal stream is less than or equal to the first bandwidth.
  • the logical interface corresponds to the first optical interface.
  • the first optical interface corresponds to a fiber or a channel in an optical fiber for transmitting an optical signal of one wavelength.
  • the second processing module 102 is configured to determine, according to the correspondence between the logical interface and the first optical interface, and the logical interface determined by the first processing module 101, the first optical interface corresponding to the logical interface. .
  • the scheduling module 103 is configured to send the first optical serial signal stream by the first optical interface determined by the second processing module 102.
  • the first processing module 101 and the second processing module 102 may be implemented by using a logic circuit, or may be implemented by software.
  • the scheduling module 103 can be implemented by a logic circuit, for example, by a Field-Programmable Gate Array (FPGA) or by software.
  • FPGA Field-Programmable Gate Array
  • the line card 100 includes a processor and a memory.
  • the processor is coupled to the memory.
  • the memory contains a computer program.
  • the processor implements the functions of the first processing module 101, the second processing module 102, or the scheduling module 103 by executing the computer program.
  • the processor may be a central processing unit (English: central processing unit, CPU for short) or NP.
  • the line card 100 or the network device including the line card 100 may store a first correspondence table for storing a correspondence between the first optical serial signal stream and the logical interface.
  • a second correspondence table may be stored, configured to store a correspondence between the logical interface and the first optical interface.
  • the logical interface has a one-to-one correspondence with the first optical interface.
  • the first optical interface corresponds to a fiber or a channel in an optical fiber for transmitting an optical signal of one wavelength.
  • the first correspondence table may include an identifier of the first optical serial signal stream and an identifier of the logical interface.
  • the identifier of the logical interface and the identifier of the first optical interface may be included in the second correspondence table.
  • the first optical serial signal stream may be transmitted by the first SerDes.
  • Line card 100 contains the first SerDes.
  • the identifier of the first optical serial signal stream may be an identifier of the first SerDes.
  • the line card 100 may generate the first correspondence table and the second correspondence table according to a configuration message sent by the network management system or according to a configuration command input by the engineer through telnet.
  • the line card 100 may modify the first correspondence table and the second correspondence table according to a configuration message sent by the network management system or according to a configuration command input by the engineer through telnet.
  • Line card 100 can configure the bandwidth of the logical interface.
  • the line card 100 can configure the bandwidth of the logical interface according to a configuration message sent by the network management or according to a configuration command input by the engineer through telnet.
  • the bandwidth of the logical interface is configured as the first bandwidth.
  • the line card 100 can generate configuration information.
  • the identifier of the logical interface and the value of the first bandwidth may be saved in the configuration information.
  • the signal stream of a logical interface can be modulated by the MAC/PCS chip in the line card into one or more electrical serial signal streams.
  • An electrical serial signal stream can be modulated by the optical modem in the line card into one or more optical serial signal streams.
  • the bandwidth of the optical serial signal stream is less than or equal to the bandwidth of the corresponding logical interface.
  • the line card 100 may create the first correspondence table and the second correspondence table when configuring the logical interface.
  • the line card 100 may also adjust the first correspondence table and when adjusting the logical interface, for example, adjusting the number of logical interfaces or adjusting the bandwidth of the logical interface.
  • the second correspondence table is configured to meet the needs of flexible Ethernet.
  • the first processing module 101 or the second processing module 102 can be further configured to: modify a bandwidth of the logical interface to a second bandwidth.
  • the bandwidth of the first optical serial signal stream is less than or equal to the second bandwidth.
  • the line card 100 may modify the bandwidth of the logical interface according to a configuration message sent by the network management system or according to a configuration command input by the engineer through telnet. Specifically, the bandwidth of the logical interface is modified to a second bandwidth.
  • the line card 100 can modify the configuration information.
  • the identifier of the logical interface and the value of the second bandwidth may be saved in the modified configuration information.
  • the first bandwidth is not equal to the second bandwidth.
  • the first bandwidth may be 25 gigabit per second (English: gigabit per second, referred to as Gb/s).
  • the second bandwidth may be 50 Gb/s.
  • the first correspondence table stores a correspondence between the first optical serial signal stream and the logical interface.
  • the correspondence between the logical interface and the first optical interface is stored in the second correspondence table.
  • the bandwidth of the logical interface is configured as a first bandwidth.
  • the bandwidth of the first optical serial signal stream is less than or equal to the first bandwidth.
  • the logical interface corresponds to the first optical interface.
  • the first optical interface corresponds to a channel in an optical fiber or an optical fiber for transmitting an optical signal of one wavelength.
  • Figure 3 shows the above correspondence.
  • the first processing module 101 may determine the logical interface corresponding to the first optical serial signal stream according to the correspondence between the first optical serial signal stream and the logical interface.
  • the second processing module 102 may determine the first optical interface corresponding to the logical interface according to the corresponding relationship between the logical interface and the first optical interface.
  • the scheduling module 103 can transmit the first optical serial signal stream through the first optical interface.
  • the wavelength can be 850 nanometers (English: nanometer, abbreviated as nm), 1310 nm or 1550 nm.
  • the first processing module 101 is further configured to:
  • Corresponding relationship between the first optical serial signal stream and the logical interface is modified to a correspondence between the second optical serial signal stream and the logical interface.
  • the bandwidth of the second optical serial signal stream is less than or equal to the first bandwidth.
  • the scheduling module 103 is further configured to: send, by the first optical interface determined by the second processing module 102, the second optical serial signal stream.
  • the correspondence between the second optical serial signal stream and the logical interface may be implemented by using a third correspondence table.
  • the identifier of the second optical serial signal stream and the identifier of the logical interface may be included in the third correspondence table.
  • the second optical serial signal stream may be transmitted by the second SerDes.
  • Line card 100 includes the second SerDes.
  • the identifier of the second optical serial signal stream may be an identifier of the second SerDes.
  • the first correspondence table may be modified.
  • the first processing module 101 modifies the correspondence between the first optical serial signal stream and the logical interface in the first correspondence table to a second optical serial signal.
  • the bandwidth of the second optical serial signal stream is less than or equal to the first bandwidth.
  • Figure 4 shows the modified correspondence.
  • the first processing module 101 may determine the logical interface corresponding to the second optical serial signal stream according to a correspondence between the second optical serial signal stream and the logical interface.
  • the second processing module 102 can determine the first optical interface corresponding to the logical interface according to the correspondence between the logical interface and the first optical interface.
  • the scheduling module 103 can transmit the first optical serial signal stream through the first optical interface.
  • the method may further be modified.
  • the bandwidth of the logical interface Specifically, the first processing module 101 can modify the bandwidth of the logical interface to a second bandwidth.
  • the bandwidth of the second optical serial signal stream is less than or equal to the second bandwidth.
  • the second processing module 102 is further configured to: modify a correspondence between the logical interface and the first optical interface to a correspondence between the logical interface and the second optical interface.
  • the second processing module 102 is further configured to: determine the second optical interface corresponding to the logical interface according to the correspondence between the logical interface and the second optical interface.
  • the scheduling module 103 is further configured to: send, by the second optical interface determined by the second processing module 102, the first optical serial signal stream.
  • the second correspondence table may be modified.
  • the second processing module 102 modifies the correspondence between the first optical interface and the logical interface in the second correspondence table to a second optical interface and the logical interface.
  • Figure 5 shows the modified correspondence.
  • the first processing module 101 can determine the logical interface corresponding to the first optical serial signal stream according to the correspondence between the first optical serial signal stream and the logical interface.
  • the second processing module 102 may determine the second optical interface corresponding to the logical interface according to the correspondence between the logical interface and the second optical interface.
  • the scheduling module 103 can transmit the first optical serial signal stream through the second optical interface.
  • the bandwidth of the logical interface may also be modified.
  • the second processing module 102 can modify the bandwidth of the logical interface to a second bandwidth.
  • the bandwidth of the first optical serial signal stream is less than or equal to the second bandwidth.
  • the first processing module 101 is further configured to: modify a correspondence between the first optical serial signal stream and the logical interface to a correspondence between the second optical serial signal stream and the logical interface.
  • the first processing module 101 is further configured to: determine the logical interface corresponding to the second optical serial signal stream according to a correspondence between the second optical serial signal stream and the logical interface.
  • the second processing module 102 is further configured to: modify a correspondence between the logical interface and the first optical interface to a corresponding relationship between the logical interface and the second optical interface.
  • the second processing module 102 is further configured to: determine, according to the correspondence between the logical interface and the second optical interface, and the logical interface determined by the first processing module 101, the logical interface Corresponding to the second optical interface.
  • the scheduling module 103 is further configured to: send, by the second optical interface determined by the second processing module 102, the second optical serial signal stream.
  • the first correspondence table and the second correspondence table may be modified.
  • the first processing module 101 modifies the correspondence between the first optical serial signal stream and the logical interface in the first correspondence table to a second optical serial signal.
  • the second processing module 102 modifies the correspondence between the logical interface and the first optical interface in the second correspondence table to the corresponding relationship between the logical interface and the second optical interface.
  • Figure 6 shows the modified correspondence.
  • the first processing module 101 determines the logical interface corresponding to the second optical serial signal stream according to the correspondence between the second optical serial signal stream and the logical interface.
  • the second processing module 102 determines the second optical interface corresponding to the logical interface according to the correspondence between the logical interface and the second optical interface.
  • the scheduling module 103 transmits the second optical serial signal stream through the second optical interface.
  • the bandwidth of the logical interface may also be modified.
  • the first processing module 101 or the second processing module 102 is further configured to: modify the bandwidth of the logical interface to a second bandwidth. The bandwidth of the second optical serial signal stream is less than or equal to the second bandwidth.
  • the second optical interface involved in the above embodiment corresponds to a channel in an optical fiber or an optical fiber for transmitting an optical signal of one wavelength.
  • the second optical interface is different from the first optical interface.
  • the first optical serial signal stream corresponds to a logical interface.
  • the logical interface corresponds to a first optical interface. Determining, according to a correspondence between the first optical serial signal stream and the logical interface, and a correspondence between the logical interface and the first optical interface, determining, for outputting the first optical serial signal stream Optical interface. Therefore, the optical serial signal stream output by the optical interface can be changed or the optical interface for outputting the optical serial signal stream can be changed by modifying at least one of the above two correspondences. Therefore, the above technical solution can be preferably applied to flexible Ethernet.
  • FIG. 7 is a schematic flowchart diagram of a data processing method according to an embodiment of the present invention.
  • the data processing apparatus shown in Fig. 2 can be used to perform the method shown in Fig. 7.
  • the method can include:
  • the line card determines the logical interface corresponding to the first optical serial signal stream according to a correspondence between the first optical serial signal stream and the logical interface.
  • the bandwidth of the logical interface is configured as a first bandwidth.
  • the bandwidth of the first optical serial signal stream is less than or equal to the first bandwidth.
  • the logical interface corresponds to the first optical interface.
  • the first optical interface corresponds to a channel in an optical fiber or an optical fiber for transmitting an optical signal of one wavelength.
  • the line card determines the first optical interface corresponding to the logical interface according to a correspondence between the logical interface and the first optical interface.
  • the line card sends the first optical serial signal stream by using the first optical interface.
  • the above method further includes:
  • the line card modifies the bandwidth of the logical interface to a second bandwidth.
  • the bandwidth of the first optical serial signal stream is less than or equal to the second bandwidth.
  • the line card 100 may modify the bandwidth of the logical interface according to a configuration message sent by the network management system or according to a configuration command input by the engineer through telnet. Specifically, the bandwidth of the logical interface is modified to a second bandwidth.
  • the line card 100 can modify the configuration information.
  • the identifier of the logical interface and the value of the second bandwidth may be saved in the modified configuration information.
  • the first bandwidth is not equal to the second bandwidth.
  • the first bandwidth may be 25 gigabits per second (English: gigabit per second, abbreviated as: Gb/s).
  • the second bandwidth may be 50 Gb/s.
  • the first optical serial signal stream and the logical interface are stored in the first correspondence table.
  • a correspondence between the logical interface and the first optical interface is stored in the second correspondence table.
  • the bandwidth of the logical interface is configured as a first bandwidth.
  • the bandwidth of the first optical serial signal stream is less than or equal to the first bandwidth.
  • the logical interface corresponds to the first optical interface.
  • the first optical interface corresponds to a channel in an optical fiber or an optical fiber for transmitting an optical signal of one wavelength.
  • Figure 3 shows the above correspondence.
  • the line card 100 may determine the logical interface corresponding to the first optical serial signal stream according to the correspondence between the first optical serial signal stream and the logical interface, according to the logical interface.
  • the first optical interface corresponding to the logical interface is determined, and the first optical serial signal stream is sent by using the first optical interface.
  • the wavelength may be 850 nanometers (English: nanometer, abbreviated as nm), 1310 nm or 1550 nm.
  • the line card 100 or the network device including the line card 100 may store a first correspondence table for storing a correspondence between the first optical serial signal stream and the logical interface.
  • a second correspondence table may be stored, configured to store a correspondence between the logical interface and the first optical interface.
  • the logical interface has a corresponding relationship with the first optical interface.
  • the first optical interface corresponds to a fiber or a channel in an optical fiber for transmitting an optical signal of one wavelength.
  • the first correspondence table may include an identifier of the first optical serial signal stream and an identifier of the logical interface.
  • the identifier of the logical interface and the identifier of the first optical interface may be included in the second correspondence table.
  • the first optical serial signal stream may be transmitted by the first SerDes.
  • Line card 100 contains the first SerDes.
  • the identifier of the first optical serial signal stream may be an identifier of the first SerDes.
  • the line card 100 may generate the first correspondence table and the second correspondence table according to a configuration message sent by the network management system or according to a configuration command input by the engineer through telnet.
  • the line card 100 may modify the first correspondence table and the second correspondence table according to a configuration message sent by the network management system or according to a configuration command input by the engineer through telnet.
  • Line card 100 can configure the bandwidth of the logical interface.
  • the line card 100 can configure the bandwidth of the logical interface according to a configuration message sent by the network management system or according to a configuration command input by the engineer through telnet.
  • the bandwidth of the logical interface is configured as the first bandwidth.
  • the line card 100 can generate configuration information.
  • the configuration information The identifier of the logical interface and the value of the first bandwidth may be saved.
  • the signal flow of one logical interface can be modulated by the MAC/PCS chip in the line card into one or more electrical serial signal streams.
  • An electrical serial signal stream can be modulated by the optical modem in the line card into one or more optical serial signal streams.
  • the bandwidth of the optical serial signal stream is less than or equal to the bandwidth of the corresponding logical interface.
  • the line card 100 can create the first correspondence table and the second correspondence table when configuring the logical interface.
  • the line card 100 can also adjust the first correspondence relationship table and the second correspondence relationship table when adjusting the logical interface, for example, adjusting the number of logical interfaces or adjusting the bandwidth of the logical interface, thereby satisfying flexible Ethernet The needs of the web.
  • the above method further includes:
  • the line card modifies a correspondence between the first optical serial signal stream and the logical interface to a correspondence between a second optical serial signal stream and the logical interface, where the second optical serial signal stream The bandwidth is less than or equal to the first bandwidth.
  • the line card determines the logical interface corresponding to the second optical serial signal stream according to a correspondence between the second optical serial signal stream and the logical interface.
  • the line card transmits the second optical serial signal stream through the first optical interface.
  • the correspondence between the second optical serial signal stream and the logical interface can be implemented by a third correspondence table.
  • the third correspondence table may include an identifier of the second optical serial signal stream and an identifier of the logical interface.
  • the second optical serial signal stream may be sent by the second SerDes.
  • Line card 100 contains the second SerDes.
  • the identifier of the second optical serial signal stream may be an identifier of the second SerDes.
  • the first correspondence table may be modified.
  • the line card 100 modifies the correspondence between the first optical serial signal stream and the logical interface in the first correspondence table to the second optical serial signal stream and Corresponding relationship of the logical interface, the bandwidth of the second optical serial signal stream is less than or equal to the first bandwidth.
  • Figure 4 shows the modified correspondence.
  • the line card 100 can determine the second optical serial according to the correspondence between the second optical serial signal stream and the logical interface.
  • the method may further include:
  • the line card modifies the bandwidth of the logical interface to a second bandwidth.
  • the bandwidth of the second optical serial signal stream is less than or equal to the second bandwidth.
  • the above method further includes:
  • the line card modifies the correspondence between the logical interface and the first optical interface to a corresponding relationship between the logical interface and the second optical interface.
  • the line card transmits the first optical serial signal stream through the second optical interface.
  • the second correspondence table may be modified.
  • the line card 100 modifies the correspondence between the first optical interface and the logical interface in the second correspondence table to the correspondence between the second optical interface and the logical interface. relationship.
  • Figure 5 shows the modified correspondence.
  • the line card 100 can determine the logical interface corresponding to the first optical serial signal stream according to the correspondence between the first optical serial signal stream and the logical interface.
  • the line card 100 may determine the second optical interface corresponding to the logical interface according to the corresponding relationship between the logical interface and the second optical interface, and send the first optical serial signal by using the second optical interface. flow.
  • the method may further include:
  • the line card modifies the bandwidth of the logical interface to a second bandwidth.
  • the bandwidth of the first optical serial signal stream is less than or equal to the second bandwidth.
  • the above method further includes:
  • the line card modifies the correspondence between the first optical serial signal stream and the logical interface to a correspondence between the second optical serial signal stream and the logical interface.
  • the line card modifies the correspondence between the logical interface and the first optical interface to a corresponding relationship between the logical interface and the second optical interface.
  • the line card determines the logical interface corresponding to the second optical serial signal stream according to a correspondence between the second optical serial signal stream and the logical interface.
  • the line card determines the second optical interface corresponding to the logical interface according to a correspondence between the logical interface and the second optical interface.
  • the line card transmits the second optical serial signal stream through the second optical interface.
  • the first correspondence table and the second correspondence table may be modified.
  • the line card 100 modifies the correspondence between the first optical serial signal stream and the logical interface in the first correspondence table to the second optical serial signal stream and The corresponding relationship of the logical interfaces.
  • the line card 100 modifies the correspondence between the logical interface and the first optical interface in the second correspondence table to the corresponding relationship between the logical interface and the second optical interface.
  • Figure 6 shows the modified correspondence.
  • the line card 100 determines the logical interface corresponding to the second optical serial signal stream according to the correspondence between the second optical serial signal stream and the logical interface, according to the logical interface.
  • Corresponding relationship with the second optical interface determines the second optical interface corresponding to the logical interface, and sends the second optical serial signal stream by using the second optical interface.
  • the current optical interface can be changed by modifying the correspondence between the logical interface and the optical interface and the correspondence between the logical interface and the optical serial signal flow by modifying the two correspondence tables. And the current optical serial signal stream. That is, another optical serial signal is output through another optical interface. Therefore, the above technical solution can be preferably applied to flexible Ethernet.
  • the above method further includes:
  • the line card modifies the bandwidth of the logical interface to a second bandwidth.
  • the bandwidth of the second optical serial signal stream is less than or equal to the second bandwidth.
  • the second optical interface involved in the above embodiment corresponds to a channel in an optical fiber or an optical fiber for transmitting an optical signal of one wavelength.
  • the second optical interface is different from the first optical interface.
  • the first optical serial signal stream corresponds to a logical interface.
  • the logical interface corresponds to a first optical interface. Determining, according to a correspondence between the first optical serial signal stream and the logical interface, and a correspondence between the logical interface and the first optical interface, determining, for outputting the first optical serial signal stream Optical interface. Therefore, the optical serial signal stream output by the optical interface can be changed or the optical interface for outputting the optical serial signal stream can be changed by modifying at least one of the above two correspondences. Therefore, the above technical solutions can be better applied to flexible Ethernet.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • These computer program instructions can also be stored in a bootable computer or other programmable data processing device.
  • a computer readable memory that operates in a particular manner, causing instructions stored in the computer readable memory to produce an article of manufacture comprising instruction means implemented in one or more flows and/or block diagrams of the flowchart The function specified in the box or in multiple boxes.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.

Landscapes

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

Abstract

一种数据处理装置,所述装置通过线卡(100)实现,所述线卡包括:第一处理模块(101),用于根据第一光串行信号流与逻辑接口的对应关系确定与所述第一光串行信号流对应的所述逻辑接口(S201),所述逻辑接口的带宽被配置为第一带宽,所述逻辑接口与第一光接口对应,所述第一光接口对应一个光纤或者一个光纤中的用于传输一个波长的光信号的信道;第二处理模块(102),用于根据所述逻辑接口与所述第一光接口的对应关系以及所述第一处理模块确定的所述逻辑接口确定与所述逻辑接口对应的所述第一光接口(S202);调度模块(103),用于通过所述第二处理模块确定的所述第一光接口发送所述第一光串行信号流(S203)。上述技术方案有助于应用到灵活以太网中。

Description

一种数据处理方法及装置 技术领域
本发明涉及通信领域, 尤其涉及一种数据处理方法及装置。 背景技术
线卡(英文: line card, 简称: LC )是网络交换机、 路由器或其它网络设 备中的部件。 线卡可以用来连接电缆或光纤。
现有技术中, 线卡生成光比特流(英文: optical bit stream )后通过光纤 输出。 光纤的带宽是一个固定值。 例如, 光纤的带宽是 40吉比特每秒(英文: gigabit per second, 简称: Gb/s )或者 100Gb/s。 光纤输出的光比特流的带宽为 一个固定值。 上述技术方案难以应用到灵活以太网 (英文: flexible ethernet ) 中。 发明内容
本发明实施例提供了一种数据处理方法及装置。 上述技术方案有助于应 用到灵活以太网中。
第一方面, 提供了一种数据处理装置, 所述装置通过线卡实现, 所述线 卡包括:
第一处理模块, 用于根据第一光串行信号流与逻辑接口的对应关系确定 与所述第一光串行信号流对应的所述逻辑接口, 所述逻辑接口的带宽被配置 为第一带宽, 所述第一光串行信号流的带宽小于或者等于所述第一带宽, 所 述逻辑接口与第一光接口对应, 所述第一光接口对应一个光纤或者一个光纤 中的用于传输一个波长的光信号的信道;
第二处理模块, 用于根据所述逻辑接口与所述第一光接口的对应关系以 及所述第一处理模块确定的所述逻辑接口确定与所述逻辑接口对应的所述第 一光接口; 调度模块, 用于通过所述第二处理模块确定的所述第一光接口发送所述 第一光串行信号流。
结合第一方面, 在第一方面的第一种可能的实现方式中, 所述第一处理 模块还用于:
将所述第一光串行信号流与所述逻辑接口的对应关系修改为第二光串行 信号流与所述逻辑接口的对应关系, 所述第二光串行信号流的带宽小于或者 等于所述第一带宽;
根据所述第二光串行信号流与所述逻辑接口的对应关系确定与所述第二 光串行信号流对应的所述逻辑接口;
所述调度模块还用于: 通过所述第二处理模块确定的所述第一光接口发 送所述第二光串行信号流。
结合第一方面的第一种可能的实现方式, 在第一方面的第二种可能的实 现方式中, 所述第一处理模块还用于: 将所述逻辑接口的带宽修改为第二带 宽, 所述第二光串行信号流的带宽小于或者等于所述第二带宽。
结合第一方面, 在第一方面的第三种可能的实现方式中, 所述第二处理 模块还用于:
将所述逻辑接口与所述第一光接口的对应关系修改为所述逻辑接口与第 二光接口的对应关系; 以及
根据所述逻辑接口与所述第二光接口的对应关系确定与所述逻辑接口对 应的所述第二光接口;
所述调度模块还用于:
通过所述第二处理模块确定的所述第二光接口发送所述第一光串行信号 流。
结合第一方面的第三种可能的实现方式, 在第一方面的第四种可能的实 现方式中, 所述第二处理模块还用于: 将所述逻辑接口的带宽修改为第二带 宽, 所述第一光串行信号流的带宽小于或者等于所述第二带宽。
结合第一方面, 在第一方面的第五种可能的实现方式中, 所述第一处理 模块还用于:
将所述第一光串行信号流与所述逻辑接口的对应关系修改为第二光串行 信号流与所述逻辑接口的对应关系; 以及
根据所述第二光串行信号流与所述逻辑接口的对应关系确定与所述第二 光串行信号流对应的所述逻辑接口;
所述第二处理模块还用于:
将所述逻辑接口与所述第一光接口的对应关系修改为所述逻辑接口与第 二光接口的对应关系; 以及
根据所述逻辑接口与所述第二光接口的对应关系以及所述第一处理模块 确定的所述逻辑接口确定与所述逻辑接口对应的所述第二光接口;
所述调度模块还用于:
通过所述第二处理模块确定的所述第二光接口发送所述第二光串行信号 流。
结合第一方面的第五种可能的实现方式, 在第一方面的第六种可能的实 现方式中, 所述第一处理模块或第二处理模块还用于:
将所述逻辑接口的带宽修改为第二带宽, 所述第二光串行信号流的带宽 小于或者等于所述第二带宽。
结合第一方面, 在第一方面的第七种可能的实现方式中, 所述第一处理 模块或第二处理模块还用于:
将所述逻辑接口的带宽修改为第二带宽, 所述第一光串行信号流的带宽 小于或者等于所述第二带宽。
第二方面, 提供了一种数据处理方法, 包括:
线卡根据第一光串行信号流与逻辑接口的对应关系确定与所述第一光串 行信号流对应的所述逻辑接口, 所述逻辑接口的带宽被配置为第一带宽, 所 述第一光串行信号流的带宽小于或者等于所述第一带宽, 所述逻辑接口与第 一光接口对应, 所述第一光接口对应一个光纤或者一个光纤中的用于传输一 个波长的光信号的信道; 所述线卡根据所述逻辑接口与所述第一光接口的对应关系确定与所述逻 辑接口对应的所述第一光接口;
所述线卡通过所述第一光接口发送所述第一光串行信号流。
结合第二方面, 在第二方面的第一种可能的实现方式中, 所述方法还包 括:
所述线卡将所述第一光串行信号流与所述逻辑接口的对应关系修改为第 二光串行信号流与所述逻辑接口的对应关系, 所述第二光串行信号流的带宽 小于或者等于所述第一带宽;
所述线卡根据所述第二光串行信号流与所述逻辑接口的对应关系确定与 所述第二光串行信号流对应的所述逻辑接口;
所述线卡通过所述第一光接口发送所述第二光串行信号流。
结合第二方面的第一种可能的实现方式, 在第二方面的第二种可能的实 现方式中, 所述方法还包括:
所述线卡将所述逻辑接口的带宽修改为第二带宽, 所述第二光串行信号 流的带宽小于或者等于所述第二带宽。
结合第二方面, 在第二方面的第三种可能的实现方式中, 所述方法还包 括:
所述线卡将所述逻辑接口与所述第一光接口的对应关系修改为所述逻辑 接口与第二光接口的对应关系;
所述线卡根据所述逻辑接口与所述第二光接口的对应关系确定与所述逻 辑接口对应的所述第二光接口;
所述线卡通过所述第二光接口发送所述第一光串行信号流。
结合第二方面的第三种可能的实现方式, 在第二方面的第四种可能的实 现方式中, 所述方法还包括:
所述线卡将所述逻辑接口的带宽修改为第二带宽, 所述第一光串行信号 流的带宽小于或者等于所述第二带宽。
结合第二方面, 在第二方面的第五种可能的实现方式中, 所述方法还包 括:
所述线卡将所述第一光串行信号流与所述逻辑接口的对应关系修改为第 二光串行信号流与所述逻辑接口的对应关系;
所述线卡将所述逻辑接口与所述第一光接口的对应关系修改为所述逻辑 接口与第二光接口的对应关系;
所述线卡根据所述第二光串行信号流与所述逻辑接口的对应关系确定与 所述第二光串行信号流对应的所述逻辑接口;
所述线卡根据所述逻辑接口与所述第二光接口的对应关系确定与所述逻 辑接口对应的所述第二光接口;
所述线卡通过所述第二光接口发送所述第二光串行信号流。
结合第二方面的第五种可能的实现方式, 在第二方面的第六种可能的实 现方式中, 所述方法还包括:
所述线卡将所述逻辑接口的带宽修改为第二带宽, 所述第二光串行信号 流的带宽小于或者等于所述第二带宽。
结合第二方面, 在第二方面的第七种可能的实现方式中, 所述方法还包 括:
所述线卡将所述逻辑接口的带宽修改为第二带宽, 所述第一光串行信号 流的带宽小于或者等于所述第二带宽。
本发明实施例中, 第一光串行信号流对应逻辑接口。 所述逻辑接口对应 第一光接口。 可以根据所述第一光串行信号流与所述逻辑接口的对应关系, 以及所述逻辑接口与所述第一光接口的对应关系, 确定用于输出所述第一光 串行信号流的光接口。 因此, 可以通过修改上述两个对应关系中的至少一个 改变光接口输出的光串行信号流或者改变用于输出光串行信号流的光接口。 因此, 上述技术方案可以较好地应用到灵活以太网中。 附图说明
为了更清楚地说明本发明实施例中的技术方案, 下面将对实施例描述中 所需要使用的附图作简要介绍, 显而易见地, 下面描述中的附图仅仅是本发 明的一些实施例, 对于本领域的普通技术人员来讲, 在不付出创造性劳动性 的前提下, 还可以根据这些附图获得其他的附图。
图 1为现有技术中路由器中的线卡的数据通道的结构示意图;
图 2为本发明实施例提供的数据处理装置的结构示意图;
图 3至图 6分别为本发明实施例中的逻辑接口、 光串行信号与光接口的 对应关系示意图;
图 7为本发明实施例提供的数据处理方法的流程示意图。 具体实施方式
为了使本发明的目的、 技术方案和优点更加清楚, 下面将结合附图对本 发明作进一步地详细描述, 显然, 所描述的实施例仅仅是本发明一部份实施 例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在 没有做出创造性劳动前提下所获得的所有其它实施例, 都属于本发明保护的 范围。
如前所述, 线卡是关于网络交换机、 路由器或其它网络设备中的部件。 线卡可以用来连接电缆或光纤。 线卡可以存在于基于分布式架构的高端路由 器中。 线卡可以包括数据通道和控制通道。 其中, 控制通道可以用于实现配 置、 管理及状态信息处理。 数据通道可以用于实现 4艮文的转发处理。 图 1 为 路由器中的 LC的数据通道的结构示意图。如图 1所示, 线卡包括媒体接入控 制(英文: media access control, 简称: MAC ) /物理编码子层(英文: Physical Coding Sublayer, 简称: PCS )芯片和光调制解调器(或称光模块)。 MAC/PCS 芯片可以通过专用应用集成电路(英文: Application Specific Integrated Circuit, 筒称 ASIC ) 芯片实现。 用于实现 MAC/PCS功能的 ASIC芯片接收电信号流 并进行编码、 加扰以及通道分发处理后形成电串行信号流。 所述电信号流可 以是网络处理器(英文: network processor, 简称: P )或者流量管理(英文: traffic management ) 芯片输出的。 所述电串行信号流也可称为 SerDes ( SERializer/DESerializer, 串行器 /解串器)信号流。 光调整解调器将电串行 信号流调制为光串行信号流并通过光调制解调器与光纤之间的光接口 (英文: optical interface )输出所述光串行信号流。 所述光接口可以是一个光纤或一个 光纤中用于传输一个波长的光信号的信道。
可以看出, 线卡能够将接收到电信号流调制为电串行信号流, 并对该电 串行信号流进行调制并通过光纤输出所述光串行信号流。
本发明实施例中的线卡可以用于实现上述的功能。 此外, 所述线卡可应 用于灵活以太网的数据处理中。
参见图 2,为本发明实施例提供的数据处理装置的结构示意图。参见图 2, 所述装置通过线卡 100实现。 所述线卡 100包括: 第一处理模块 101、 第二处 理模块 102以及调度模块 103。
第一处理模块 101 用于根据第一光串行信号流与逻辑接口的对应关系确 定与所述第一光串行信号流对应的所述逻辑接口。 所述逻辑接口的带宽被配 置为第一带宽。 所述第一光串行信号流的带宽小于或者等于所述第一带宽。 所述逻辑接口与第一光接口对应。 所述第一光接口对应一个光纤或者一个光 纤中的用于传输一个波长的光信号的信道。
第二处理模块 102 用于根据所述逻辑接口与所述第一光接口的对应关系 以及所述第一处理模块 101 确定的所述逻辑接口确定与所述逻辑接口对应的 所述第一光接口。
调度模块 103用于通过所述第二处理模块 102确定的所述第一光接口发 送所述第一光串行信号流。
具体来说, 第一处理模块 101和第二处理模块 102可以通过逻辑电路来 实现, 也可以通过软件方式实现。 调度模块 103 可以通过逻辑电路实现, 比 如可通过可编程门阵列(英文: Field-Programmable Gate Array, 简称: FPGA ) 实现, 也可以通过软件方式实现。 通过软件方式实现第一处理模块 101、 第二 处理模块 102或者调度模块 103时, 具体可以是: 线卡 100中包含处理器以 及存储器。 所述处理器与所述存储器耦合。 所述存储器中包含计算机程序。 所述处理器通过执行所述计算机程序从而实现第一处理模块 101、第二处理模 块 102或者调度模块 103的功能。 所述处理器可以是中央处理单元 (英文: central processing unit, 简称: CPU )或者 NP。
具体来说, 线卡 100或者包含线卡 100的网络设备中, 可存储第一对应 关系表, 用于存储第一光串行信号流与逻辑接口的对应关系。 还可存储第二 对应关系表, 用于存储逻辑接口与第一光接口的对应关系。 其中, 逻辑接口 与第一光接口具有一一对应的关系。 第一光接口对应一个光纤或者一个光纤 中的用于传输一个波长的光信号的信道。 例如, 所述第一对应关系表中可以 包含所述第一光串行信号流的标识以及所述逻辑接口的标识。 所述第二对应 关系表中可以包含所述逻辑接口的标识以及所述第一光接口的标识。 所述第 一光串行信号流可以是第一 SerDes发送的。 线卡 100包含所述第一 SerDes。 所述第一光串行信号流的标识可以是所述第一 SerDes的标识。 线卡 100可以 根据网管发送的配置消息或者根据工程师通过 telnet输入的配置命令生成所 述第一对应关系表和所述第二对应关系表。 线卡 100可以根据网管发送的配 置消息或者根据工程师通过 telnet输入的配置命令对所述第一对应关系表和 所述第二对应关系表进行修改。
线卡 100可以对所述逻辑接口的带宽进行配置。 例如, 线卡 100可以根 据网管发送的配置消息或者根据工程师通过 telnet输入的配置命令对所述逻 辑接口的带宽进行配置。 例如, 将所述逻辑接口的带宽配置为所述第一带宽。 对所述逻辑接口的带宽配置后, 线卡 100可以生成配置信息。 所述配置信息 中可以保存所述逻辑接口的标识以及所述第一带宽的值。 一条逻辑接口的信 号流可被线卡中的 MAC/PCS芯片调制为一条或多条电串行信号流。一条电串 行信号流可被线卡中的光调制解调器调制为一条或多条光串行信号流。 其中, 光串行信号流的带宽小于或者等于对应的逻辑接口的带宽。
线卡 100 可以在对所述逻辑接口进行配置时创建所述第一对应关系表和 所述第二对应关系表。 线卡 100 也可在对所述逻辑接口进行调整时, 比如调 整逻辑接口的数量或者调整逻辑接口的带宽时, 调整所述第一对应关系表和 所述第二对应关系表, 从而满足灵活以太网的需要。
举例来说, 第一处理模块 101或第二处理模块 102还可用于: 将所述逻 辑接口的带宽修改为第二带宽。 所述第一光串行信号流的带宽小于或者等于 所述第二带宽。 例如, 线卡 100 可以根据网管发送的配置消息或者根据工程 师通过 telnet输入的配置命令对所述逻辑接口的带宽进行修改。具体为将所述 逻辑接口的带宽修改为第二带宽。 线卡 100 可以对所述配置信息进行修改。 所述修改后的配置信息中可以保存所述逻辑接口的标识以及所述第二带宽的 值。 所述第一带宽不等于所述第二带宽。 例如, 所述第一带宽可以是 25吉比 特每秒(英文: gigabit per second, 简称: Gb/s )。 所述第二带宽可以是 50Gb/s。
举例来说, 所述第一对应关系表中存储有第一光串行信号流与逻辑接口 的对应关系。 第二对应关系表中存储有所述逻辑接口与第一光接口的对应关 系。 所述逻辑接口的带宽被配置为第一带宽。 所述第一光串行信号流的带宽 小于或者等于所述第一带宽。 所述逻辑接口与第一光接口对应。 所述第一光 接口对应一个光纤或者一个光纤中的用于传输一个波长的光信号的信道。图 3 示出了上述对应关系。 此种情况下, 第一处理模块 101 可根据所述第一光串 行信号流与所述逻辑接口的对应关系确定与所述第一光串行信号流对应的所 述逻辑接口。 第二处理模块 102 可根据所述逻辑接口与所述第一光接口的对 应关系确定与所述逻辑接口对应的所述第一光接口。 调度模块 103 可通过所 述第一光接口发送所述第一光串行信号流。 举例来说, 所述波长可以是 850 纳米(英文: nanometer, 简称: nm )、 1310nm或者 1550nm。
优选地, 第一处理模块 101还可用于:
将所述第一光串行信号流与所述逻辑接口的对应关系修改为第二光串行 信号流与所述逻辑接口的对应关系。 所述第二光串行信号流的带宽小于或者 等于所述第一带宽。 根据所述第二光串行信号流与所述逻辑接口的对应关系 确定与所述第二光串行信号流对应的所述逻辑接口。
所述调度模块 103还用于: 通过所述第二处理模块 102确定的所述第一 光接口发送所述第二光串行信号流。 例如, 所述第二光串行信号流与所述逻辑接口的对应关系可以通过第三 对应关系表实现。 所述第三对应关系表中可以包含所述第二光串行信号流的 标识以及所述逻辑接口的标识。 所述第二光串行信号流可以是第二 SerDes发 送的。 线卡 100包含所述第二 SerDes。 所述第二光串行信号流的标识可以是 所述第二 SerDes的标识。
具体来说, 需要改变逻辑接口与光串行信号流的对应关系时, 可以通过 修改上述第一对应关系表实现。
比如, 在上述的优选实现方式中, 第一处理模块 101 将所述第一对应关 系表中的所述第一光串行信号流与所述逻辑接口的对应关系修改为第二光串 行信号流与所述逻辑接口的对应关系, 所述第二光串行信号流的带宽小于或 者等于所述第一带宽。 图 4 示出了修改后的对应关系。 在这种情况下, 第一 处理模块 101 可根据所述第二光串行信号流与所述逻辑接口的对应关系确定 与所述第二光串行信号流对应的所述逻辑接口。 第二处理模块 102 可根据所 述逻辑接口与所述第一光接口的对应关系确定与所述逻辑接口对应的所述第 一光接口。 调度模块 103可通过所述第一光接口发送所述第一光串行信号流。
可以看出, 通过修改上述两个对应关系表中的第一对应关系表来改变逻 辑接口与光串行信号流的对应关系, 从而改变光接口输出的光串行信号流。 因此, 上述技术方案可以较好地应用到灵活以太网中。
优选地, 第一处理模块 101 将所述第一光串行信号流与所述逻辑接口的 对应关系修改为第二光串行信号流与所述逻辑接口的对应关系时, 还可进一 步修改所述逻辑接口的带宽。 具体的, 第一处理模块 101 可将所述逻辑接口 的带宽修改为第二带宽。 所述第二光串行信号流的带宽小于或者等于所述第 二带宽。
优选地, 第二处理模块 102还可用于: 将所述逻辑接口与所述第一光接 口的对应关系修改为所述逻辑接口与第二光接口的对应关系。
第二处理模块 102还可用于: 根据所述逻辑接口与所述第二光接口的对 应关系确定与所述逻辑接口对应的所述第二光接口。 调度模块 103还可用于: 通过所述第二处理模块 102确定的所述第二光 接口发送所述第一光串行信号流。
具体来说, 需要改变逻辑接口与光接口的对应关系时, 可以通过修改上 述第二对应关系表实现。
比如, 在上述的优选实现方式中, 第二处理模块 102将所述第二对应关 系表中的所述第一光接口与所述逻辑接口的对应关系修改为第二光接口与所 述逻辑接口的对应关系。 图 5 示出了修改后的对应关系。 在这种情况下, 第 一处理模块 101 可根据所述第一光串行信号流与所述逻辑接口的对应关系确 定与所述第一光串行信号流对应的所述逻辑接口。 第二处理模块 102可根据 所述逻辑接口与所述第二光接口的对应关系确定与所述逻辑接口对应的所述 第二光接口。 调度模块 103 可通过所述第二光接口发送所述第一光串行信号 流。
可以看出, 通过修改上述两个对应关系表中的第二对应关系表来改变逻 辑接口与光接口的对应关系, 从而改变用于输出光串行信号流的光接口。 因 此, 上述技术方案可以较好地应用到灵活以太网中。
优选地, 第二处理模块 102 将所述第二光接口与所述逻辑接口的对应关 系修改为第二光接口与所述逻辑接口的对应关系时, 还可修改所述逻辑接口 的带宽。 具体的, 第二处理模块 102 可将所述逻辑接口的带宽修改为第二带 宽。 所述第一光串行信号流的带宽小于或者等于所述第二带宽。
优选地, 第一处理模块 101 还可用于: 将所述第一光串行信号流与所述 逻辑接口的对应关系修改为第二光串行信号流与所述逻辑接口的对应关系。
第一处理模块 101 还可用于: 根据所述第二光串行信号流与所述逻辑接 口的对应关系确定与所述第二光串行信号流对应的所述逻辑接口。
第二处理模块 102还可用于: 将所述逻辑接口与所述第一光接口的对应 关系修改为所述逻辑接口与第二光接口的对应关系。
第二处理模块 102还可用于: 根据所述逻辑接口与所述第二光接口的对 应关系以及所述第一处理模块 101 确定的所述逻辑接口确定与所述逻辑接口 对应的所述第二光接口。
调度模块 103还可用于: 通过所述第二处理模块 102确定的所述第二光 接口发送所述第二光串行信号流。
具体来说, 需要改变逻辑接口与光串行信号流的对应关系, 以及逻辑接 口与光接口的对应关系时, 可以通过修改上述第一对应关系表和第二对应关 系表实现。
比如, 在上述的优选实现方式中, 第一处理模块 101 将所述第一对应关 系表中的所述第一光串行信号流与所述逻辑接口的对应关系修改为第二光串 行信号流与所述逻辑接口的对应关系。 第二处理模块 102将所述第二对应关 系表中的所述逻辑接口与所述第一光接口的对应关系修改为所述逻辑接口与 第二光接口的对应关系。 图 6 示出了修改后的对应关系。 在这种情况下, 第 一处理模块 101 根据所述第二光串行信号流与所述逻辑接口的对应关系确定 与所述第二光串行信号流对应的所述逻辑接口。 第二处理模块 102根据所述 逻辑接口与所述第二光接口的对应关系确定与所述逻辑接口对应的所述第二 光接口。 调度模块 103通过所述第二光接口发送所述第二光串行信号流。
可以看出, 通过修改上述两个对应关系表来改变逻辑接口与光接口的对 应关系以及逻辑接口与光串行信号流的对应关系, 可以改变当前的光接口以 及当前的光串行信号流。 也就是说, 通过另一个光接口输出另一个光串行信 号。 因此, 上述技术方案可以较好地应用到灵活以太网中。
优选地, 第一处理模块 101 将所述第一光串行信号流与所述逻辑接口的 对应关系修改为第二光串行信号流与所述逻辑接口的对应关系时, 或者第二 处理模块 102将所述逻辑接口与所述第一光接口的对应关系修改为所述逻辑 接口与第二光接口的对应关系时, 还可修改所述逻辑接口的带宽。 具体的, 第一处理模块 101或第二处理模块 102还可用于: 将所述逻辑接口的带宽修 改为第二带宽。 所述第二光串行信号流的带宽小于或者等于所述第二带宽。
上述实施例中涉及的第二光接口对应一个光纤或者一个光纤中的用于传 输一个波长的光信号的信道。 所述第二光接口不同于所述第一光接口。 通过以上描述可以看出, 本发明实施例中, 第一光串行信号流对应逻辑 接口。 所述逻辑接口对应第一光接口。 可以根据所述第一光串行信号流与所 述逻辑接口的对应关系, 以及所述逻辑接口与所述第一光接口的对应关系, 确定用于输出所述第一光串行信号流的光接口。 因此, 可以通过修改上述两 个对应关系中的至少一个改变光接口输出的光串行信号流或者改变用于输出 光串行信号流的光接口。 因此, 上述技术方案可以较好地应用到灵活以太网 中。
参见图 7 , 为本发明实施例提供的数据处理方法的流程示意图。 图 2所示 的数据处理装置可以用于执行图 7所示的方法。 参见图 7, 该方法可包括:
S201: 线卡根据第一光串行信号流与逻辑接口的对应关系确定与所述第 一光串行信号流对应的所述逻辑接口。
所述逻辑接口的带宽被配置为第一带宽。 所述第一光串行信号流的带宽 小于或者等于所述第一带宽。 所述逻辑接口与第一光接口对应。 所述第一光 接口对应一个光纤或者一个光纤中的用于传输一个波长的光信号的信道。
S202: 所述线卡根据所述逻辑接口与所述第一光接口的对应关系确定与 所述逻辑接口对应的所述第一光接口。
S203: 所述线卡通过所述第一光接口发送所述第一光串行信号流。
优选地, 上述方法还包括:
所述线卡将所述逻辑接口的带宽修改为第二带宽。 所述第一光串行信号 流的带宽小于或者等于所述第二带宽。
例如, 线卡 100可以根据网管发送的配置消息或者根据工程师通过 telnet 输入的配置命令对所述逻辑接口的带宽进行修改。 具体为将所述逻辑接口的 带宽修改为第二带宽。 线卡 100 可以对所述配置信息进行修改。 所述修改后 的配置信息中可以保存所述逻辑接口的标识以及所述第二带宽的值。 所述第 一带宽不等于所述第二带宽。 例如, 所述第一带宽可以是 25吉比特每秒(英 文: gigabit per second, 简称: Gb/s )。 所述第二带宽可以是 50Gb/s。
举例来说, 所述第一对应关系表中存储有第一光串行信号流与逻辑接口 的对应关系。 第二对应关系表中存储有所述逻辑接口与第一光接口的对应关 系。 所述逻辑接口的带宽被配置为第一带宽。 所述第一光串行信号流的带宽 小于或者等于所述第一带宽。 所述逻辑接口与第一光接口对应。 所述第一光 接口对应一个光纤或者一个光纤中的用于传输一个波长的光信号的信道。图 3 示出了上述对应关系。 此种情况下, 线卡 100可根据所述第一光串行信号流 与所述逻辑接口的对应关系确定与所述第一光串行信号流对应的所述逻辑接 口, 根据所述逻辑接口与所述第一光接口的对应关系确定与所述逻辑接口对 应的所述第一光接口, 通过所述第一光接口发送所述第一光串行信号流。 举 例来说, 所述波长可以是 850纳米 (英文: nanometer, 简称: nm )、 1310nm 或者 1550nm。
具体来说, 线卡 100或者包含线卡 100的网络设备中, 可存储第一对应 关系表, 用于存储第一光串行信号流与逻辑接口的对应关系。 还可存储第二 对应关系表, 用于存储逻辑接口与第一光接口的对应关系。 其中, 逻辑接口 与第一光接口具有——对应的关系。 第一光接口对应一个光纤或者一个光纤 中的用于传输一个波长的光信号的信道。 例如, 所述第一对应关系表中可以 包含所述第一光串行信号流的标识以及所述逻辑接口的标识。 所述第二对应 关系表中可以包含所述逻辑接口的标识以及所述第一光接口的标识。 所述第 一光串行信号流可以是第一 SerDes发送的。 线卡 100包含所述第一 SerDes。 所述第一光串行信号流的标识可以是所述第一 SerDes的标识。 线卡 100可以 根据网管发送的配置消息或者根据工程师通过 telnet输入的配置命令生成所 述第一对应关系表和所述第二对应关系表。 线卡 100可以根据网管发送的配 置消息或者根据工程师通过 telnet输入的配置命令对所述第一对应关系表和 所述第二对应关系表进行修改。
线卡 100可以对所述逻辑接口的带宽进行配置。 例如, 线卡 100可以根 据网管发送的配置消息或者根据工程师通过 telnet输入的配置命令对所述逻 辑接口的带宽进行配置。 例如, 将所述逻辑接口的带宽配置为所述第一带宽。 对所述逻辑接口的带宽配置后, 线卡 100可以生成配置信息。 所述配置信息 中可以保存所述逻辑接口的标识以及所述第一带宽的值。 一条逻辑接口的信 号流可被线卡中的 MAC/PCS芯片调制为一条或多条电串行信号流。一条电串 行信号流可被线卡中的光调制解调器调制为一条或多条光串行信号流。 其中, 光串行信号流的带宽小于或者等于对应的逻辑接口的带宽。
线卡 100 可以在对所述逻辑接口进行配置时创建所述第一对应关系表和 所述第二对应关系表。 线卡 100 也可在对所述逻辑接口进行调整时, 比如调 整逻辑接口的数量或者调整逻辑接口的带宽时, 调整所述第一对应关系表和 所述第二对应关系表, 从而满足灵活以太网的需要。
进一步地, 上述方法还包括:
所述线卡将所述第一光串行信号流与所述逻辑接口的对应关系修改为第 二光串行信号流与所述逻辑接口的对应关系, 所述第二光串行信号流的带宽 小于或者等于所述第一带宽。
所述线卡根据所述第二光串行信号流与所述逻辑接口的对应关系确定与 所述第二光串行信号流对应的所述逻辑接口。
所述线卡通过所述第一光接口发送所述第二光串行信号流。
例如, 所述第二光串行信号流与所述逻辑接口的对应关系可以通过第三 对应关系表实现。 所述第三对应关系表中可以包含所述第二光串行信号流的 标识以及所述逻辑接口的标识。 所述第二光串行信号流可以是第二 SerDes发 送的。 线卡 100包含所述第二 SerDes。 所述第二光串行信号流的标识可以是 所述第二 SerDes的标识。
具体来说, 需要改变逻辑接口与光串行信号流的对应关系时, 可以通过 修改上述第一对应关系表实现。
比如, 在上述的优选实现方式中, 线卡 100将所述第一对应关系表中的 所述第一光串行信号流与所述逻辑接口的对应关系修改为第二光串行信号流 与所述逻辑接口的对应关系, 所述第二光串行信号流的带宽小于或者等于所 述第一带宽。 图 4示出了修改后的对应关系。 在这种情况下, 线卡 100可根 据所述第二光串行信号流与所述逻辑接口的对应关系确定与所述第二光串行 信号流对应的所述逻辑接口。 根据所述逻辑接口与所述第一光接口的对应关 系确定与所述逻辑接口对应的所述第一光接口, 可通过所述第一光接口发送 所述第一光串行信号流。
可以看出, 通过修改上述两个对应关系表中的第一对应关系表来改变逻 辑接口与光串行信号流的对应关系, 从而改变光接口输出的光串行信号流。 因此, 上述技术方案可以较好地应用到灵活以太网中。
优选地, 上述技术方案中, 还可以包括:
所述线卡将所述逻辑接口的带宽修改为第二带宽。 所述第二光串行信号 流的带宽小于或者等于所述第二带宽。
优选地, 上述方法还包括:
所述线卡将所述逻辑接口与所述第一光接口的对应关系修改为所述逻辑 接口与第二光接口的对应关系。
所述线卡根据所述逻辑接口与所述第二光接口的对应关系确定与所述逻 辑接口对应的所述第二光接口 .
所述线卡通过所述第二光接口发送所述第一光串行信号流。
具体来说, 需要改变逻辑接口与光接口的对应关系时, 可以通过修改上 述第二对应关系表实现。
比如, 在上述的优选实现方式中, 线卡 100将所述第二对应关系表中的 所述第一光接口与所述逻辑接口的对应关系修改为第二光接口与所述逻辑接 口的对应关系。 图 5示出了修改后的对应关系。 在这种情况下, 线卡 100可 根据所述第一光串行信号流与所述逻辑接口的对应关系确定与所述第一光串 行信号流对应的所述逻辑接口。 线卡 100可根据所述逻辑接口与所述第二光 接口的对应关系确定与所述逻辑接口对应的所述第二光接口, 通过所述第二 光接口发送所述第一光串行信号流。
可以看出, 通过修改上述两个对应关系表中的第二对应关系表来改变逻 辑接口与光接口的对应关系, 从而改变用于输出光串行信号流的光接口。 因 此, 上述技术方案可以较好地应用到灵活以太网中。 优选地, 上述技术方案中, 还可以包括:
所述线卡将所述逻辑接口的带宽修改为第二带宽。 所述第一光串行信号 流的带宽小于或者等于所述第二带宽。
优选地, 上述方法还包括:
所述线卡将所述第一光串行信号流与所述逻辑接口的对应关系修改为第 二光串行信号流与所述逻辑接口的对应关系。
所述线卡将所述逻辑接口与所述第一光接口的对应关系修改为所述逻辑 接口与第二光接口的对应关系。
所述线卡根据所述第二光串行信号流与所述逻辑接口的对应关系确定与 所述第二光串行信号流对应的所述逻辑接口。
所述线卡根据所述逻辑接口与所述第二光接口的对应关系确定与所述逻 辑接口对应的所述第二光接口。
所述线卡通过所述第二光接口发送所述第二光串行信号流。
具体来说, 需要改变逻辑接口与光串行信号流的对应关系, 以及逻辑接 口与光接口的对应关系时, 可以通过修改上述第一对应关系表和第二对应关 系表实现。
比如, 在上述的优选实现方式中, 线卡 100将所述第一对应关系表中的 所述第一光串行信号流与所述逻辑接口的对应关系修改为第二光串行信号流 与所述逻辑接口的对应关系。 线卡 100 将所述第二对应关系表中的所述逻辑 接口与所述第一光接口的对应关系修改为所述逻辑接口与第二光接口的对应 关系。 图 6示出了修改后的对应关系。 在这种情况下, 线卡 100根据所述第 二光串行信号流与所述逻辑接口的对应关系确定与所述第二光串行信号流对 应的所述逻辑接口, 根据所述逻辑接口与所述第二光接口的对应关系确定与 所述逻辑接口对应的所述第二光接口, 通过所述第二光接口发送所述第二光 串行信号流。
可以看出, 通过修改上述两个对应关系表来改变逻辑接口与光接口的对 应关系以及逻辑接口与光串行信号流的对应关系, 可以改变当前的光接口以 及当前的光串行信号流。 也就是说, 通过另一个光接口输出另一个光串行信 号。 因此, 上述技术方案可以较好地应用到灵活以太网中。
优选地, 上述方法还包括:
所述线卡将所述逻辑接口的带宽修改为第二带宽。 所述第二光串行信号 流的带宽小于或者等于所述第二带宽。
上述实施例中涉及的第二光接口对应一个光纤或者一个光纤中的用于传 输一个波长的光信号的信道。 所述第二光接口不同于所述第一光接口。
通过以上描述可以看出, 本发明实施例中, 第一光串行信号流对应逻辑 接口。 所述逻辑接口对应第一光接口。 可以根据所述第一光串行信号流与所 述逻辑接口的对应关系, 以及所述逻辑接口与所述第一光接口的对应关系, 确定用于输出所述第一光串行信号流的光接口。 因此, 可以通过修改上述两 个对应关系中的至少一个改变光接口输出的光串行信号流或者改变用于输出 光串行信号流的光接口。 因此, 上述技术方案可以较好地应用到灵活以太网 中。
本领域内的技术人员应明白, 本发明的实施例可提供为方法、 系统、 或 计算机程序产品。 因此, 本发明可釆用完全硬件实施例、 完全软件实施例、 或结合软件和硬件方面的实施例的形式。 而且, 本发明可采用在一个或多个 其中包含有计算机可用程序代码的计算机可用存储介质 (包括但不限于磁盘 存储器、 CD-ROM、 光学存储器等) 上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、 设备(系统)、 和计算机程序产 品的流程图和 /或方框图来描述的。 应理解可由计算机程序指令实现流程图 和 /或方框图中的每一流程和 /或方框、 以及流程图和 /或方框图中的流程 和 /或方框的结合。 可提供这些计算机程序指令到通用计算机、 专用计算机、 嵌入式处理机或其他可编程数据处理设备的处理器, 使得通过该计算机或其 他可编程数据处理设备的处理器执行的指令可实现流程图中的一个流程或多 个流程和 /或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设 备以特定方式工作的计算机可读存储器中, 使得存储在该计算机可读存储器 中的指令产生包括指令装置的制造品, 该指令装置实现在流程图一个流程或 多个流程和 /或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上, 使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的 处理, 从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图 的一个流程或多个流程和 /或方框图的一个方框或多个方框中指定的功能的 步骤。
尽管已描述了本发明的优选实施例, 但本领域内的技术人员一旦得知了 基本创造性概念, 则可对这些实施例作出另外的变更和修改。 所以, 所附权 利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。
显然, 本领域的技术人员可以对本发明实施例提供方案进行修改和变型。 这样, 倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范 围之内, 则本发明也意图覆盖这些改动和变型。

Claims

权 利 要 求
1、 一种数据处理装置, 其特征在于, 所述装置通过线卡实现, 所述线卡 包括:
第一处理模块, 用于根据第一光串行信号流与逻辑接口的对应关系确定 与所述第一光串行信号流对应的所述逻辑接口, 所述逻辑接口的带宽被配置 为第一带宽, 所述第一光串行信号流的带宽小于或者等于所述第一带宽, 所 述逻辑接口与第一光接口对应, 所述第一光接口对应一个光纤或者一个光纤 中的用于传输一个波长的光信号的信道;
第二处理模块, 用于根据所述逻辑接口与所述第一光接口的对应关系以 及所述第一处理模块确定的所述逻辑接口确定与所述逻辑接口对应的所述第 一光接口;
调度模块, 用于通过所述第二处理模块确定的所述第一光接口发送所述 第一光串行信号流。
2、 如权利要求 1所述的装置, 其特征在于,
所述第一处理模块还用于:
将所述第一光串行信号流与所述逻辑接口的对应关系修改为第二光串行 信号流与所述逻辑接口的对应关系, 所述第二光串行信号流的带宽小于或者 等于所述第一带宽;
根据所述第二光串行信号流与所述逻辑接口的对应关系确定与所述第二 光串行信号流对应的所述逻辑接口;
所述调度模块还用于: 通过所述第二处理模块确定的所述第一光接口发 送所述第二光串行信号流。
3、 如权利要求 2所述的装置, 其特征在于,
所述第一处理模块还用于: 将所述逻辑接口的带宽修改为第二带宽, 所 述第二光串行信号流的带宽小于或者等于所述第二带宽。
4、 如权利要求 1所述的装置, 其特征在于, 所述第二处理模块还用于:
将所述逻辑接口与所述第一光接口的对应关系修改为所述逻辑接口与第 二光接口的对应关系; 以及
根据所述逻辑接口与所述第二光接口的对应关系确定与所述逻辑接口对 应的所述第二光接口;
所述调度模块还用于:
通过所述第二处理模块确定的所述第二光接口发送所述第一光串行信号 流。
5、 如权利要求 4所述的装置, 其特征在于,
所述第二处理模块还用于: 将所述逻辑接口的带宽修改为第二带宽, 所 述第一光串行信号流的带宽小于或者等于所述第二带宽。
6、 如权利要求 1所述的装置, 其特征在于,
所述第一处理模块还用于:
将所述第一光串行信号流与所述逻辑接口的对应关系修改为第二光串行 信号流与所述逻辑接口的对应关系; 以及
根据所述第二光串行信号流与所述逻辑接口的对应关系确定与所述第二 光串行信号流对应的所述逻辑接口;
所述第二处理模块还用于:
将所述逻辑接口与所述第一光接口的对应关系修改为所述逻辑接口与第 二光接口的对应关系; 以及
根据所述逻辑接口与所述第二光接口的对应关系以及所述第一处理模块 确定的所述逻辑接口确定与所述逻辑接口对应的所述第二光接口;
所述调度模块还用于:
通过所述第二处理模块确定的所述第二光接口发送所述第二光串行信号
7、 如权利要求 6所述的装置, 其特征在于:
所述第一处理模块或第二处理模块还用于: 将所述逻辑接口的带宽修改为第二带宽, 所述第二光串行信号流的带宽 小于或者等于所述第二带宽。
8、 如权利要求 1所述的装置, 其特征在于,
所述第一处理模块或第二处理模块还用于:
将所述逻辑接口的带宽修改为第二带宽, 所述第一光串行信号流的带宽 小于或者等于所述第二带宽。
9、 一种数据处理方法, 其特征在于, 包括:
线卡根据第一光串行信号流与逻辑接口的对应关系确定与所述第一光串 行信号流对应的所述逻辑接口, 所述逻辑接口的带宽被配置为第一带宽, 所 述第一光串行信号流的带宽小于或者等于所述第一带宽, 所述逻辑接口与第 一光接口对应, 所述第一光接口对应一个光纤或者一个光纤中的用于传输一 个波长的光信号的信道;
所述线卡根据所述逻辑接口与所述第一光接口的对应关系确定与所述逻 辑接口对应的所述第一光接口;
所述线卡通过所述第一光接口发送所述第一光串行信号流。
10、 如权利要求 9所述的方法, 其特征在于, 所述方法还包括: 所述线卡将所述第一光串行信号流与所述逻辑接口的对应关系修改为第 二光串行信号流与所述逻辑接口的对应关系, 所述第二光串行信号流的带宽 小于或者等于所述第一带宽;
所述线卡根据所述第二光串行信号流与所述逻辑接口的对应关系确定与 所述第二光串行信号流对应的所述逻辑接口;
所述线卡通过所述第一光接口发送所述第二光串行信号流。
11、 如权利要求 10所述的方法, 其特征在于, 所述方法还包括: 所述线卡将所述逻辑接口的带宽修改为第二带宽, 所述第二光串行信号 流的带宽小于或者等于所述第二带宽。
12、 如权利要求 9所述的方法, 其特征在于, 所述方法还包括: 所述线卡将所述逻辑接口与所述第一光接口的对应关系修改为所述逻辑 接口与第二光接口的对应关系;
所述线卡根据所述逻辑接口与所述第二光接口的对应关系确定与所述逻 辑接口对应的所述第二光接口;
所述线卡通过所述第二光接口发送所述第一光串行信号流。
13、 如权利要求 12所述的方法, 其特征在于, 所述方法还包括: 所述线卡将所述逻辑接口的带宽修改为第二带宽, 所述第一光串行信号 流的带宽小于或者等于所述第二带宽。
14、 如权利要求 9所述的方法, 其特征在于, 所述方法还包括: 所述线卡将所述第一光串行信号流与所述逻辑接口的对应关系修改为第 二光串行信号流与所述逻辑接口的对应关系;
所述线卡将所述逻辑接口与所述第一光接口的对应关系修改为所述逻辑 接口与第二光接口的对应关系;
所述线卡根据所述第二光串行信号流与所述逻辑接口的对应关系确定与 所述第二光串行信号流对应的所述逻辑接口;
所述线卡根据所述逻辑接口与所述第二光接口的对应关系确定与所述逻 辑接口对应的所述第二光接口;
所述线卡通过所述第二光接口发送所述第二光串行信号流。
15、 如权利要求 14所述的方法, 其特征在于, 所述方法还包括: 所述线卡将所述逻辑接口的带宽修改为第二带宽, 所述第二光串行信号 流的带宽小于或者等于所述第二带宽。
16、 如权利要求 9所述的方法, 其特征在于, 所述方法还包括: 所述线卡将所述逻辑接口的带宽修改为第二带宽, 所述第一光串行信号 流的带宽小于或者等于所述第二带宽。
PCT/CN2014/081213 2014-06-30 2014-06-30 一种数据处理方法及装置 WO2016000146A1 (zh)

Priority Applications (6)

Application Number Priority Date Filing Date Title
EP14896611.2A EP3148209B1 (en) 2014-06-30 2014-06-30 Data processing method and apparatus
ES14896611T ES2753270T3 (es) 2014-06-30 2014-06-30 Método y aparato de procesamiento de datos
CN201910883675.8A CN110752878B (zh) 2014-06-30 2014-06-30 一种数据处理方法及装置
PCT/CN2014/081213 WO2016000146A1 (zh) 2014-06-30 2014-06-30 一种数据处理方法及装置
CN201480079292.0A CN106464990B (zh) 2014-06-30 2014-06-30 一种数据处理方法及装置
US15/393,348 US10187708B2 (en) 2014-06-30 2016-12-29 Data processing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/081213 WO2016000146A1 (zh) 2014-06-30 2014-06-30 一种数据处理方法及装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/393,348 Continuation US10187708B2 (en) 2014-06-30 2016-12-29 Data processing method and apparatus

Publications (1)

Publication Number Publication Date
WO2016000146A1 true WO2016000146A1 (zh) 2016-01-07

Family

ID=55018240

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/081213 WO2016000146A1 (zh) 2014-06-30 2014-06-30 一种数据处理方法及装置

Country Status (5)

Country Link
US (1) US10187708B2 (zh)
EP (1) EP3148209B1 (zh)
CN (2) CN106464990B (zh)
ES (1) ES2753270T3 (zh)
WO (1) WO2016000146A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017156987A1 (zh) * 2016-03-18 2017-09-21 中兴通讯股份有限公司 一种灵活以太网路径建立的方法和装置
CN109302372A (zh) * 2017-07-24 2019-02-01 华为技术有限公司 一种通信方法、设备及存储介质
US10358418B2 (en) 2016-12-16 2019-07-23 Novoset, Llc Resin compositions

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101192949A (zh) * 2006-11-24 2008-06-04 中兴通讯股份有限公司 一种接口索引方法和系统
CN101207491A (zh) * 2006-12-21 2008-06-25 中兴通讯股份有限公司 用于以太网系统的带宽自适应切换装置和方法
CN101207490A (zh) * 2006-12-21 2008-06-25 中兴通讯股份有限公司 自适应切换以太网带宽的方法
CN101207489A (zh) * 2006-12-21 2008-06-25 中兴通讯股份有限公司 以太网交换系统
CN101583054A (zh) * 2009-06-12 2009-11-18 中兴通讯股份有限公司 利用光模块实现光接口支持多种速率模式的方法及装置
CN102143006A (zh) * 2011-04-18 2011-08-03 福建星网锐捷网络有限公司 通讯设备中的接口拓扑控制方法、系统及装置
EP2670082A1 (en) * 2011-08-23 2013-12-04 Huawei Technologies Co., Ltd. Multi-chassis cascade device

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DK1021901T3 (da) * 1997-10-10 2010-03-08 Daphimo Co B V Llc Splitterløst multibærermodem
US7849225B2 (en) * 2000-08-15 2010-12-07 Ciena Corporation System, device, and method for managing communication services in an optical communication system
US8089993B2 (en) 2008-09-09 2012-01-03 Nec Laboratories America, Inc. Sliceable router with packet over optical OFDM transmission
US8910230B2 (en) * 2010-01-22 2014-12-09 Gainspeed, Inc. Method of transforming HFC CATV analog fiber transmission to digital fiber transmission
CN101840332B (zh) * 2010-03-09 2014-03-05 北京握奇数据系统有限公司 一种java智能卡的数据处理方法、装置及系统
US20110229126A1 (en) * 2010-03-18 2011-09-22 Cisco Technology, Inc. Automatic Adjustment of Optical Bandwidth Based on Client Layer Needs
EP2591576A1 (en) * 2010-07-09 2013-05-15 Telefonaktiebolaget LM Ericsson (publ) Switching node with load balancing of bursts of packets
CN102318240B (zh) * 2011-07-27 2015-04-29 华为技术有限公司 一种高速光传输系统、设备及数据处理方法

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101192949A (zh) * 2006-11-24 2008-06-04 中兴通讯股份有限公司 一种接口索引方法和系统
CN101207491A (zh) * 2006-12-21 2008-06-25 中兴通讯股份有限公司 用于以太网系统的带宽自适应切换装置和方法
CN101207490A (zh) * 2006-12-21 2008-06-25 中兴通讯股份有限公司 自适应切换以太网带宽的方法
CN101207489A (zh) * 2006-12-21 2008-06-25 中兴通讯股份有限公司 以太网交换系统
CN101583054A (zh) * 2009-06-12 2009-11-18 中兴通讯股份有限公司 利用光模块实现光接口支持多种速率模式的方法及装置
CN102143006A (zh) * 2011-04-18 2011-08-03 福建星网锐捷网络有限公司 通讯设备中的接口拓扑控制方法、系统及装置
EP2670082A1 (en) * 2011-08-23 2013-12-04 Huawei Technologies Co., Ltd. Multi-chassis cascade device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3148209A4 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017156987A1 (zh) * 2016-03-18 2017-09-21 中兴通讯股份有限公司 一种灵活以太网路径建立的方法和装置
US10358418B2 (en) 2016-12-16 2019-07-23 Novoset, Llc Resin compositions
CN109302372A (zh) * 2017-07-24 2019-02-01 华为技术有限公司 一种通信方法、设备及存储介质
CN109302372B (zh) * 2017-07-24 2021-02-23 华为技术有限公司 一种通信方法、设备及存储介质
US11824960B2 (en) 2017-07-24 2023-11-21 Huawei Technologies Co., Ltd. Communication method, communications device, and storage medium

Also Published As

Publication number Publication date
ES2753270T3 (es) 2020-04-07
EP3148209B1 (en) 2019-08-21
US10187708B2 (en) 2019-01-22
CN110752878B (zh) 2022-12-13
US20170111718A1 (en) 2017-04-20
CN106464990A (zh) 2017-02-22
EP3148209A4 (en) 2017-06-14
CN106464990B (zh) 2019-11-12
EP3148209A1 (en) 2017-03-29
CN110752878A (zh) 2020-02-04

Similar Documents

Publication Publication Date Title
US9894427B2 (en) Methods and apparatus for a flattened data center network employing wavelength-agnostic endpoints
US9473414B2 (en) Method and system for supporting packet prioritization at a data network
KR101536141B1 (ko) 이더넷과 can 통신 간의 신호 변환을 제공하는 차량용 장치 및 그 제어방법
US10015023B2 (en) High-bandwidth chassis and rack management by VLAN
US9231849B2 (en) Apparatus and method for controlling virtual switches
CN105704529B (zh) 用于在车载以太网中控制音频/视频桥接流的方法和设备
CN101095308B (zh) 用于队列级联和逻辑标识的系统分组接口分组交换的通信设备
US20140056152A1 (en) Port mirroring in distributed switching systems
US11991083B2 (en) Systems and methods for enhanced autonegotiation
US9166868B2 (en) Distributed control plane for link aggregation
WO2016000146A1 (zh) 一种数据处理方法及装置
US20110261682A1 (en) Apparatus and method for transmitting and receiving dynamic lane information in multi-lane based ethernet
WO2018076715A1 (zh) 一种端口的自协商方法和设备
US9602355B2 (en) Network interface with adjustable rate
WO2013154558A1 (en) Reconfiguration of an optical connection infrastructure
US9413586B2 (en) Spanning tree protocol (STP) implementation on an event driven virtual link aggregation (VLAG) system
US10382250B2 (en) Information processing system and control method for information processing system
CN103916276B (zh) 具有多通道绑定接口的设备和系统及其快速初始化方法
US10341256B2 (en) Exchange switch protocol version in a distributed switch environment
CN212850766U (zh) 一种基于串口和以太网相结合的系统消息管理装置
WO2016197798A1 (zh) 一种实现配置同步的方法、虚拟机及备机
US20230318910A1 (en) Auto-formation of link aggregations based on remotely-issued instructions
WO2016065769A1 (zh) 一种路由设备管理方法、主用主控单元和线卡单元

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: 14896611

Country of ref document: EP

Kind code of ref document: A1

REEP Request for entry into the european phase

Ref document number: 2014896611

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2014896611

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE