WO2008046317A1 - Système de mise en oeuvre de l'intégration de différents composants, composant d'acheminement réseau et composant d'application indépendant - Google Patents

Système de mise en oeuvre de l'intégration de différents composants, composant d'acheminement réseau et composant d'application indépendant Download PDF

Info

Publication number
WO2008046317A1
WO2008046317A1 PCT/CN2007/070005 CN2007070005W WO2008046317A1 WO 2008046317 A1 WO2008046317 A1 WO 2008046317A1 CN 2007070005 W CN2007070005 W CN 2007070005W WO 2008046317 A1 WO2008046317 A1 WO 2008046317A1
Authority
WO
WIPO (PCT)
Prior art keywords
interface
ethernet
sent
physical layer
processor
Prior art date
Application number
PCT/CN2007/070005
Other languages
English (en)
French (fr)
Inventor
Xinyuan Wang
Yong Tang
Ju Wang
Shunlin Zhou
Guohua Chen
Original Assignee
Hangzhou H3C 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
Priority claimed from CNB200610140943XA external-priority patent/CN100450069C/zh
Priority claimed from CNB2006101498626A external-priority patent/CN100521690C/zh
Application filed by Hangzhou H3C Technologies Co., Ltd. filed Critical Hangzhou H3C Technologies Co., Ltd.
Priority to EP07721628A priority Critical patent/EP2045958A4/en
Publication of WO2008046317A1 publication Critical patent/WO2008046317A1/zh
Priority to US12/358,427 priority patent/US20090132727A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40006Architecture of a communication node
    • H04L12/40013Details regarding a bus controller
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/60Router architectures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/35Switches specially adapted for specific applications
    • 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
    • H04L49/3009Header conversion, routing tables or routing tags

Definitions

  • the present invention relates to network communication technologies, and more particularly to systems, network forwarding components, and independent service components that interface with different components. Background of the invention
  • the network device can no longer simply complete the packet forwarding function, and should complete more service processing functions.
  • the network device is required to not only perform packet forwarding, but also conveniently access telephone and fax, perform various targeted service statistics and billing, perform various security measures, and perform traffic monitoring and adjustment. This allows the network to achieve the best performance and permissive state.
  • PC personal computer
  • a first object of the present invention is to provide a system for docking different components.
  • a second object of the present invention is to provide a network forwarding component.
  • a third object of the present invention is to provide an independent service component, so as to ensure integration in one Different components in the network device can communicate and work together.
  • a system for implementing interconnection of different components comprising: a network forwarding component NFC, an independent service component IAC, and a component connection unit integrated in a network device, wherein the NFC includes a data forwarding unit and a processor, and the IAC includes a processor.
  • the component connection unit includes a data interface, a management interface, and a status information interface.
  • the data sent by the data forwarding unit of the NFC is sent to the processor of the IAC, and the data sent by the processor of the IAC is sent to the data forwarding unit of the NFC;
  • the management interface sends the management information sent by the NFC processor to the IAC processor, and sends the management information sent by the IAC processor to the NFC processor;
  • the status information interface sends the status information sent by the NFC processor to the IAC processor, and sends the status information sent by the IAC processor to the NFC processor.
  • the data interface includes: a first Ethernet controller and a first physical layer module integrated on the NFC, and a second Ethernet controller and a second physical layer module integrated on the IAC, where
  • the first Ethernet controller receives data sent by the NFC data forwarding unit, converts the data into Ethernet interface data, and sends the data to the first physical layer module, and converts the Ethernet interface data sent by the first physical layer module.
  • Data forwarding unit that is sent to the NFC after the processor side data;
  • the first physical layer module performs physical layer processing on the Ethernet interface data sent by the first Ethernet controller, and then sends the physical layer processing to the second physical layer module, and performs physical layer processing on the Ethernet interface data sent by the second physical layer module. After being sent to the first Ethernet controller;
  • the second physical layer module performs physical layer processing on the Ethernet interface data sent by the first physical layer module, and then sends the physical layer processing to the second Ethernet controller, and performs physical layer on the Ethernet interface data sent by the second Ethernet controller. After processing, sending to the first physical layer module;
  • the second Ethernet controller converts the Ethernet interface data sent by the second physical layer module into processor side data and sends the data to the IAC processor, and converts the data sent by the IAC processor into the Ethernet interface data. Send to the second physical layer module.
  • the management interface includes a first serial interface integrated on the NFC and a second serial interface integrated on the IAC, where
  • the first serial interface converts the parallel management information sent by the NFC processor into serial management information, sends the serial management information to the second serial interface, and converts the serial management information sent by the second serial interface into parallel management information. After sending to the NFC processor;
  • the second serial interface converts the parallel management information sent by the IAC processor into serial management information, sends the serial management information to the first serial interface, and converts the serial management information sent by the first serial interface into parallel management information. Then sent to the IAC's processor.
  • serial interface When the serial interface is independent of the processor to which it is connected, The serial interface is connected to the processor through a local bus Local Bus of the processor, and receives parallel management information sent by the processor and sends parallel management information to the processor through the Local Bus.
  • the serial interface is connected to the PCI, PCI-X or PCI Express bus of the processor through a conversion unit, and
  • a conversion unit receiving parallel management information sent by the processor from a PCI, PCI-X or PCI Express bus, converting the parallel management information into parallel management information in a Local Bus format, and transmitting the parallel management information to the serial interface,
  • the parallel management information of the Local Bus format sent from the serial interface is converted into parallel management information in PCI, PCI-X or PCI Express format and sent to the PCI, PCI-X or PCI Express bus of the processor.
  • an Ethernet controller is further included between the serial interface and the processor, and the serial interface is connected to the processor through the Ethernet controller And,
  • the processor transmitting the parallel management information to the serial interface through an Ethernet controller connected to the serial interface, and receiving the string through an Ethernet controller connected to the serial interface Parallel management information sent from the line interface.
  • the serial interface is coupled to the Ethernet controller via a logic circuit.
  • One of the serial interface and its connected Ethernet controller utilizes a data address bus multiplexing structure, and the other uses a data address bus to separate the structure, the logic circuit being a multiplexer.
  • the Ethernet controller connected to the serial interface is: an Ethernet controller included in the data interface, or an Ethernet controller included in the status information interface, or a newly added Ethernet controller.
  • Ethernet controller connected to the serial interface is an Ethernet included in the data interface
  • the controller, or the Ethernet controller included in the status information interface are an Ethernet included in the data interface
  • the processor further allocates a different address space for the serial interface and the Ethernet controller in the Ethernet controller connected to the serial interface, and receives and addresses the address space allocated by the Ethernet controller. Transmitting data corresponding to the Ethernet controller, receiving and transmitting the serial management interface corresponding to the serial interface by the address space allocated for the serial interface, through which the Ethernet controller is connected.
  • the address space allocated by the serial interface receives and transmits parallel management information;
  • the management interface includes: a third Ethernet controller and a third physical layer module and a first adaptation layer unit simulating a serial interface on the NFC, and a fourth Ethernet controller integrated with the serial interface integrated on the IAC And a fourth physical layer module and a second adaptation layer unit, wherein
  • the first adaptation layer unit converts the parallel management information sent by the NFC processor into an Ethernet packet, and then sends the packet to the third Ethernet controller to convert the Ethernet packet sent by the third Ethernet controller.
  • the third Ethernet controller sends the Ethernet packet sent by the first adaptation layer unit to the third physical layer module, and sends the Ethernet packet sent by the third physical layer module to the first adaptation layer unit. ;
  • the third physical layer module performs physical layer processing on the Ethernet packet sent by the third Ethernet controller, and then sends the packet to the fourth physical layer module, and performs physical layer processing on the Ethernet packet sent by the fourth physical layer module. Then sent to the third Ethernet controller;
  • the fourth physical layer module performs physical layer on the Ethernet packet sent by the third physical layer module. After being processed, the device sends the packet to the fourth Ethernet controller, and performs physical layer processing on the Ethernet packet sent by the fourth Ethernet controller, and then sends the packet to the third physical layer module.
  • the fourth Ethernet controller sends the Ethernet packet sent by the fourth physical layer module to the second adaptation layer unit, and sends the Ethernet packet sent by the second adaptation layer unit to the fourth physical layer module. ;
  • the second adaptation layer unit converts the parallel management information sent by the IAC processor into an Ethernet packet, and then sends the packet to the fourth Ethernet controller to convert the Ethernet packet sent by the fourth Ethernet controller.
  • the information is sent to the IAC's processor after it is managed in parallel.
  • the data interface includes a first Ethernet controller and a first physical layer module integrated on the NFC, and a second Ethernet controller and a second physical layer module integrated on the IAC,
  • the third Ethernet controller is integrated with the first Ethernet controller or independent of each other;
  • the fourth Ethernet controller is integrated with the second Ethernet controller or is independent of each other.
  • the status information interface includes: a fifth Ethernet controller and a fifth physical layer module integrated on the NFC, and a sixth Ethernet controller and a sixth physical layer module integrated on the IAC, where
  • the fifth Ethernet controller receives the status information sent by the NFC processor, converts the status information into the Ethernet interface data, and sends the status information to the fifth physical layer module, and sends the Ethernet interface data sent by the fifth physical layer module.
  • a processor that is sent to the NFC after being converted to processor side status information;
  • the fifth physical layer module performs physical layer processing on the Ethernet interface data sent by the fifth Ethernet controller, and then sends the physical layer processing to the sixth physical layer module, and performs physical layer processing on the Ethernet interface data sent by the sixth physical layer module. Then sent to the fifth Ethernet controller;
  • the sixth physical layer module performs physical layer processing on the Ethernet interface data sent by the fifth physical layer module, and then sends the physical layer processing to the sixth Ethernet controller, and performs physical layer on the Ethernet interface data sent by the sixth Ethernet controller. After processing, sending to the fifth physical layer module;
  • the sixth Ethernet controller receives the Ethernet interface data sent by the sixth physical layer module, converts the data into processor side state information, and sends the data to the IAC processor, and converts the state information sent by the IAC processor.
  • the data is sent to the sixth physical layer module after being the Ethernet interface.
  • the sixth Ethernet controller is integrated in the processor of the IAC or connected to the processor of the IAC through a PCI, PCI-X or PCI Express bus of the IAC processor.
  • the data interface includes a first Ethernet controller and a first physical layer module integrated on the NFC, and a second Ethernet controller and a second physical layer module integrated on the IAC,
  • the fifth Ethernet controller is integrated with the first Ethernet controller or independent of each other;
  • the sixth Ethernet controller is integrated with the second Ethernet controller or is independent of each other.
  • the fifth Ethernet controller, the fifth physical layer module, the sixth physical layer module, and the sixth Ethernet controller exchange heartbeat detection packets, clock synchronization packets, and board restart notification messages as status information. A combination with any one or more of the system initial value messages.
  • An NFC the NFC includes: a data forwarding unit, a processor, an NFC side data interface, an NFC side management interface, and an NFC side state information interface, where
  • the data interface sent by the NFC data forwarding unit is sent to the IAC, and the data sent by the IAC is sent to the data forwarding unit of the NFC;
  • the NFC side management interface sends the management information sent by the NFC processor to the IAC, and sends the management information sent by the IAC to the NFC processor.
  • the NFC side status information interface sends the status information sent by the NFC processor to The IAC sends the status information sent by the IAC to the NFC processor.
  • the NFC side data interface includes: a first Ethernet controller and a first physical layer module, where
  • the first Ethernet controller receives data sent by the NFC data forwarding unit, converts the data into Ethernet interface data, and sends the data to the first physical layer module, and converts the Ethernet interface data sent by the first physical layer module.
  • Data forwarding unit that is sent to the NFC after the processor side data;
  • the first physical layer module performs physical layer processing on the Ethernet interface data sent by the first Ethernet controller, sends the data to the IAC, performs physical layer processing on the Ethernet interface data sent by the IAC, and sends the data to the first Ethernet control. Device.
  • the first Ethernet controller is connected to the PCI, PCI-X or PCI Express bus of the NFC processor through the data forwarding unit.
  • the NFC side management interface is a first serial interface, and the parallel management information sent by the NFC processor is converted into serial management information and then sent to the IAC, and the serial management information sent by the IAC is converted into parallel management information. Send to the NFC processor.
  • the NFC side management interface includes: a third Ethernet controller that simulates a serial interface, a third physical layer module, and a first adaptation layer unit, where
  • the first adaptation layer unit converts the parallel management information sent by the NFC processor into an Ethernet packet, and then sends the packet to the third Ethernet controller to convert the Ethernet packet sent by the third Ethernet controller.
  • the third Ethernet controller sends the Ethernet packet sent by the first adaptation layer unit to the third physical layer module, and sends the Ethernet packet sent by the third physical layer module to the first adaptation layer unit. ;
  • the third physical layer module performs physical layer processing on the Ethernet packet sent by the third Ethernet controller, and then sends the packet to the IAC, and performs physical layer processing on the Ethernet packet sent by the IAC. To the third Ethernet controller.
  • the NFC side management interface includes a first serial interface and an Ethernet controller connected to the first serial interface, the first serial interface is connected to the processor through the Ethernet controller, and
  • the processor transmits the parallel management information to the first serial interface through an Ethernet controller connected to the first serial interface, and through an Ethernet controller connected to the first serial interface Receiving parallel management information sent by the first serial interface.
  • the NFC side state information interface includes: a fifth Ethernet controller and a fifth physical layer module, where
  • the fifth Ethernet controller receives the status information sent by the NFC processor, converts the status information into the Ethernet interface data, and sends the status information to the fifth physical layer module, and sends the Ethernet interface data sent by the fifth physical layer module.
  • a processor that is sent to the NFC after being converted to processor side status information;
  • the fifth physical layer module performs physical layer processing on the Ethernet interface data sent by the fifth Ethernet controller, and then sends the data to the IAC, performs physical layer processing on the Ethernet interface data sent by the IAC, and sends the data to the fifth Ethernet control. Device.
  • An IAC the IAC includes: a processor, an IAC side data interface, an IAC side management interface, and an IAC side status information interface, where
  • the IAC side data interface sends the data sent by the IAC processor to the NFC, and sends the data sent by the NFC to the IAC processor;
  • the IAC side management interface sends the management information sent by the IAC processor to the NFC, and sends the management information sent by the NFC to the IAC processor;
  • the IAC side status information interface sends status information sent by the IAC processor to the NFC, and sends the status information sent by the NFC to the IAC processor.
  • the IAC side data interface includes: a third Ethernet controller and a third physical layer module, among them,
  • the third Ethernet controller receives data sent by the processor of the IAC, converts the data into Ethernet interface data, and sends the data to the third physical layer module, and converts the Ethernet interface data sent by the third physical layer module into The processor side data is sent to the processor of the IAC;
  • the third physical layer module performs physical layer processing on the Ethernet interface data sent by the third Ethernet controller, and then sends the data to the NFC, performs physical layer processing on the Ethernet interface data sent by the NFC, and sends the data to the third Ethernet control. Device.
  • the IAC side management interface is a second serial interface, and the parallel management information sent by the IAC processor is converted into serial management information and then sent to the NFC, and the serial management information sent by the NFC is converted into the parallel management information. Send to the processor of IAC.
  • the IAC side management interface includes a second serial interface and an Ethernet controller connected to the second serial interface, and the second serial interface is connected to the processor through the Ethernet controller, and
  • the processor transmits the parallel management information to the second serial interface through an Ethernet controller connected to the second serial interface, and through an Ethernet controller connected to the second serial interface Receiving parallel management information sent by the second serial interface.
  • the IAC side management interface includes: a fourth Ethernet controller that simulates a serial interface, a fourth physical layer module, and a second adaptation layer unit, where
  • the second adaptation layer unit converts the parallel management information sent by the IAC processor into an Ethernet packet, and then sends the packet to the fourth Ethernet controller to convert the Ethernet packet sent by the fourth Ethernet controller.
  • the fourth Ethernet controller sends the Ethernet packet sent by the second adaptation layer unit to the fourth physical layer module, and sends the Ethernet packet sent by the fourth physical layer module to the second adaptation layer unit. ;
  • the fourth physical layer module performs physical physics on the Ethernet packet sent by the fourth Ethernet controller.
  • the layer processing is sent to the NFC, and the Ethernet packet sent by the NFC is physically layer-processed and then sent to the fourth Ethernet controller.
  • the IAC side status information interface includes: a sixth Ethernet controller and a sixth physical layer module, where
  • the sixth Ethernet controller receives the status information sent by the processor of the IAC, converts the status information into the Ethernet interface data, and sends the status information to the sixth physical layer module, and sends the Ethernet interface data sent by the sixth physical layer module.
  • a processor that is sent to the IAC after being converted to processor side status information;
  • the sixth physical layer module performs physical layer processing on the Ethernet interface data sent by the sixth Ethernet controller, and then sends the data to the NFC, performs physical layer processing on the Ethernet interface data sent by the NFC, and sends the data to the sixth Ethernet control. Device.
  • the Ethernet controller is integrated in the IAC's processor or connected to the IAC's processor via the IAC processor's PCI, PCI-X or PCI Express bus.
  • the data interaction, the management information interaction, and the state protocol information interaction can be separately performed between the NFC and the IAC integrated in a network device through the set data interface, the management interface, and the state information interface.
  • the present invention also provides a specific implementation manner of the data interface, the management interface, and the status information interface, and the processing thereof when the information transmission is completed. Therefore, it is ensured that the NFC and the IAC can cooperate with each other by using various interfaces proposed by the present invention.
  • the various communication processes in the mode ensure that NFC and IAC can work together to complete the message forwarding function and other additional service processing functions, thereby greatly improving the service quality of the service.
  • Figure 1 is a schematic diagram of the structure of the OAA system.
  • Figure 2 is a schematic illustration of the docking of different components NFC and IAC in the present invention.
  • 3 is a schematic diagram of a data interface implemented using an Ethernet interface in the present invention.
  • FIG. 4 is a schematic diagram of implementing a management interface using only a serial interface in the present invention.
  • FIG. 5 is a diagram showing the implementation of a management interface using a serial interface and an Ethernet controller in the present invention.
  • Figure 6 is a diagram showing the implementation of a management interface using an Ethernet interface that simulates a serial interface in the present invention.
  • FIG. 7 is a schematic diagram of the implementation of the status information interface using the Ethernet interface in the present invention. Mode for carrying out the invention
  • FIG. 1 is a schematic diagram of the structure of the OAA system.
  • NFC Network Forwarding Component
  • IAC Independent Application Component
  • ILC Interface Linkage Component
  • the NFC is responsible for the most basic packet forwarding. It has the function of a complete router or switch. It is usually represented in the OAA as the main part of the router or switch, including the chassis and the board, or it can be inserted. Card switching device.
  • the IAC is used to provide various additional service processing functions. Generally, it is represented by a single board or a daughter card in the OAA. Since there is a separate processor on the IAC, only the processor needs to be programmed, and the IAC can be implemented.
  • Various business processes such as various security measures such as targeted business statistics and billing.
  • the present invention proposes a system for implementing the interconnection of different components NFC and IAC.
  • Fig. 2 is a schematic view showing the docking of different components NFC and IAC in the present invention.
  • the system of the present invention includes NFC, IAC, and interface connection components.
  • the NFC includes a data forwarding unit and a processor
  • the IAC includes a processor
  • the interface connection component includes a data interface, a management interface, and a status information interface, where
  • the data sent by the data forwarding unit of the NFC is sent to the processor of the IAC, and the data sent by the processor of the IAC is sent to the data forwarding unit of the NFC;
  • the management interface sends the management information sent by the NFC processor to the IAC processor, and sends the management information sent by the IAC processor to the NFC processor;
  • the status information interface sends the status information sent by the NFC processor to the IAC processor, and sends the status information sent by the IAC processor to the NFC processor.
  • the NFC is any network device capable of performing a packet forwarding function, such as a switch and a router.
  • the message forwarding unit is usually separated from the processor, and the packet forwarding unit is usually implemented by using a dedicated forwarding processing chip (ASIC); when the NFC is a router, it is reported internally.
  • ASIC dedicated forwarding processing chip
  • the text forwarding unit is usually integrated in the processor. It can be seen that in the NFC of the present invention, the data forwarding unit can be independent of the NFC processor or integrated into the NFC processor.
  • NFC and IAC perform data message interaction through a data interface. Since the IAC must perform various targeted additional service processing according to the source address or destination address information of the data exchanged with the NFC, such as charging according to the source address of the data or judging that the data is Whether it is legal or not, therefore, when the NFC interacts with the IAC, the data needs to carry the source address and/or the destination address. In this way, the data interface used by NFC to interact with IAC data can be implemented using the Ethernet interface.
  • FIG. 3 is a schematic diagram of the implementation of the data interface using the Ethernet interface in the present invention.
  • the data interface when the data interface used when the NFC is connected to the IAC is implemented by using an Ethernet interface, the data interface specifically includes: a first Ethernet controller integrated on the NFC and a first physical layer a module, and a second Ethernet controller and a second physical layer module integrated on the IAC, wherein
  • the first Ethernet controller receives data sent by the NFC data forwarding unit, converts the data into Ethernet interface data, and sends the data to the first physical layer module, and converts the Ethernet interface data sent by the first physical layer module.
  • Data forwarding unit that is sent to the NFC after the processor side data;
  • the first physical layer module performs physical layer processing on the Ethernet interface data sent by the first Ethernet controller, and then sends the physical layer processing to the second physical layer module, and performs physical layer processing on the Ethernet interface data sent by the second physical layer module. After being sent to the first Ethernet controller;
  • the second physical layer module performs physical layer processing on the Ethernet interface data sent by the first physical layer module, and then sends the physical layer processing to the second Ethernet controller, and performs physical layer on the Ethernet interface data sent by the second Ethernet controller. After processing, sending to the first physical layer module;
  • the second Ethernet controller converts the Ethernet interface data sent by the second physical layer module into processor side data and sends the data to the IAC processor, and converts the data sent by the IAC processor into the Ethernet interface data. Send to the second physical layer module.
  • the first physical layer module may be independent of the first Ethernet controller, that is, two independent devices, or the first physical layer module may be integrated into the first Ethernet controller.
  • the second physical layer module can be independent of the second Ethernet controller, that is, two independent devices, or the second physical layer module can also be integrated in the first Two Ethernet controllers.
  • NFC and IAC can communicate and cooperate in four cooperative working modes, including: host mode, mirror mode, redirection mode, and penetration mode. , among them,
  • IAC is like a host on the network, with its own IP address, as a network end.
  • NFC only uses the data interface between the IAC and the IAC to perform simple data packet forwarding.
  • the IAC acts as the initiator and receiver of the data packet, and sends and receives various packets.
  • NFC is the gateway of the IAC.
  • the mirroring mode is that the NFC copies the packets that meet the preset mirroring conditions to the IAC through the data interface, and continues to forward the packets. That is, in the process of packet forwarding, the NFC copies a data packet that meets the mirroring condition to the IAC through the data interface between the IAC and the original packet, and the original packet continues to be forwarded normally. After receiving the message, the IAC analyzes and processes the message according to its internal business logic.
  • Redirection mode During the data packet forwarding process, the NFC redirects the data packet that meets the redirection condition to the IAC through the data interface between the IAC and the IAC.
  • the IAC analyzes the message and processes the text, and the process includes dropping the message and returning the message intact. If the packet is returned to the NFC through the data interface between the IAC and the NFC, the NFC continues processing from the place where it was originally interrupted, and the subsequent forwarding work is completed.
  • the management interface between NFC and IAC is mainly used to transfer simple management information between NFC and IAC.
  • the management interface is generally used to transfer management information between the NFC and the IAC before the NFC establishes a data interface communication with the IAC.
  • the configuration information for configuring the cooperative working mode and the cooperative working mode of the NFC and the IAC is transmitted.
  • the IP address of the Ethernet controller in the NFC and IAC data interfaces may be used.
  • the management interface can also be used to transmit simple management information after the NFC establishes data interface communication with the IAC, for example, transmitting information of the updated collaborative working mode during the data communication between the NFC and the IAC.
  • NFC and IAC can provide external interfaces in various ways.
  • NFC and IAC can only provide PCI, PCI-X or PCI Express bus interfaces, or can provide Ethernet only. Interfaces, etc. Therefore, the management interface for transmitting serial data must be implemented for the interface features provided by the NFC and IAC components.
  • the management interface between the NFC and the IAC may specifically have the following three implementation manners: First, when both the NFC and the IAC provide a serial interface, preferably, in the present invention, only The serial interface is used to implement the management interface between NFC and IAC.
  • the management interface since the management interface transmits serial management information, if both NFC and IAC can provide a serial interface, then whether NFC and IAC can provide other interfaces, preferably, In the invention, the management interface between the NFC and the IAC can be realized only by using the serial interface.
  • the management interface in the first mode, includes a first serial interface integrated on the NFC and a second serial interface integrated on the IAC, where
  • the first serial interface converts the parallel management information sent by the NFC processor into serial management information, sends the serial management information to the second serial interface, and converts the serial management information sent by the second serial interface into parallel management information.
  • the second serial interface converts the parallel management information sent by the IAC processor into serial management information, sends the serial management information to the first serial interface, and converts the serial management information sent by the first serial interface into parallel management information. Then sent to the IAC's processor.
  • the first serial interface may be independent of the NFC processor, or may be integrated in the NFC processor; likewise, in the IAC, the second serial interface may be independent of The IAC processor, or it can be integrated into the IAC processor.
  • the serial interface can be connected to the local bus, when the first serial interface is independent of the NFC processor, the connection between the first serial interface and the NFC processor and the management information can be:
  • the first serial interface is connected to the NFC processor through the Local Bus of the NFC processor, and receives parallel management information sent by the NFC processor and sends parallel management information to the NFC processor through the Local Bus. ;
  • connection manner of the second serial interface and the IAC processor and the manner of management information interaction may be the same as the first serial interface described above.
  • NFC processor connection method and management information interaction method The process is exactly the same.
  • Mode 2 When both the NFC and the IAC provide a processor bus interface such as a PCI, PCI-X or PCI Express bus interface, in the present invention, the serial interface and the Ethernet controller can be used to implement the management interface.
  • a processor bus interface such as a PCI, PCI-X or PCI Express bus interface
  • the Ethernet controller capable of connecting with the processor bus interface can be used, and, due to the management interface.
  • the serial management information is transmitted. Therefore, it is not enough to only implement the Ethernet controller for Ethernet data transmission.
  • the Ethernet controller can be connected to the serial interface, that is, The management interface is implemented using a serial interface and an Ethernet controller.
  • the second mode is applicable to the case where the NFC and the IAC do not provide a serial interface and only provide a processor bus interface.
  • FIG. 5 is a diagram showing the implementation of a management interface using a serial interface and an Ethernet controller in the present invention.
  • the management interface in the second mode, includes: a first serial interface integrated on the NFC, and an Ethernet controller respectively connected to the first serial interface and the NFC processor, and integrated on the IAC. a second serial interface, an Ethernet controller respectively connected to the second serial interface and the IAC processor, wherein
  • the NFC processor transmits parallel management information to the first serial interface through an Ethernet controller connected to the first serial interface, and receives the first serial interface through an Ethernet controller connected to the first serial interface Parallel management information sent;
  • the first serial interface converts the received parallel management information into serial management information, sends the serial management information to the second serial interface, converts the serial management information sent by the second serial interface into parallel management information, and then passes the The first serial interface and the NFC processor respectively connect the Ethernet controller to send parallel management information to the NFC processor;
  • the IAC processor transmits parallel management information to the second serial interface through an Ethernet controller connected to the second serial interface, and is controlled by Ethernet connected to the second serial interface. Receiving parallel management information sent by the second serial interface;
  • the second serial interface converts the received parallel management information into serial management information, sends the serial management information to the first serial interface, converts the serial management information sent by the first serial interface into parallel management information, and then passes the The Ethernet controller, which is connected to the second serial interface and the IAC's processor, sends parallel management information to the IAC's processor.
  • the first serial interface when adopting the second mode, taking the first serial interface as an example, the first serial interface must be connected to the NFC processor through an Ethernet controller such as the Ethernet controller 1, and thus, the first is required.
  • the serial interface can be connected to the Ethernet controller 1.
  • the first serial interface may not be directly connected to the Ethernet controller 1, in which case, A logic circuit Logic1 is disposed between the first serial interface and the Ethernet controller 1, and the connection and information interaction between the first serial interface and the Ethernet controller 1 is completed by the logic circuit Logic1.
  • the first serial interface and the Ethernet controller 1 utilizes a data address bus multiplexing structure, and the other utilizes a data address bus to separate the structure
  • the first serial interface can pass through as a Logicl multiplexer.
  • the Ethernet controller 1 is connected to manage information with the processor of the NFC through the Ethernet controller 1.
  • the second serial interface when the second serial interface is connected to the processor of the IAC through an Ethernet controller such as the Ethernet controller 2, if the second serial interface cannot be directly connected to the Ethernet controller 2, then, The two serial interfaces can also be connected to the Ethernet controller 2 through a logic circuit Logic2, and the specific implementation is exactly the same as when the first serial interface is connected to the Ethernet controller 1 through the logic circuit Logic1.
  • the Ethernet controller connected between the serial interface and the processor may be an Ethernet controller added to implement the management interface of the present invention; or, if the data interface and status
  • the information interface includes an Ethernet controller, and then the Ethernet controller connected between the serial interface and the processor may also be included in the data interface.
  • the Ethernet controller included in the Ethernet controller or the status information interface that is, the Ethernet controller used in the data interface, or the Ethernet controller in the status information interface.
  • the Ethernet controller connected between the serial interface and the processor is reused for other Ethernet controllers, such as the first Ethernet controller in the data interface
  • the first Ethernet control of the multiplexing The device must complete multiple transmissions at the same time, that is, complete the function of the data interface to transfer data, and complete the function of the management interface to transfer management information.
  • different address spaces may be used for the manner of distinguishing transmissions.
  • the processor in the NFC allocates a different address space for the first serial interface and the first Ethernet controller in the first Ethernet controller.
  • the parallel management information corresponding to the first serial interface that is, the management information sent by the processor in the NFC to the first serial interface and the parallel management information sent by the first serial interface to the NFC processor are stored in the first ether
  • the first Ethernet controller completes the NFC processor and the first serial through the parallel management information stored in the address space allocated for the first serial interface.
  • the management information is forwarded between the interfaces.
  • the first Ethernet controller receives and transmits data corresponding to the first Ethernet controller through an address space allocated for itself, that is, data that the NFC and the IAC need to interact with the data interface.
  • the management interface can be implemented by using an Ethernet interface that simulates a serial interface.
  • the Ethernet interface can be used, and The port transmits serial management information. Therefore, it is not enough to only implement the Ethernet interface for Ethernet data transmission.
  • the Ethernet interface can be further used to simulate the serial interface, that is, The management interface can be implemented using an Ethernet interface that simulates a serial interface.
  • the mode 3 is applicable to the case where the NFC and the IAC do not provide a serial interface but provide only an Ethernet interface.
  • FIG. 6 is a diagram showing the implementation of a management interface using an Ethernet interface that simulates a serial interface in the present invention.
  • the management interface may include: a third Ethernet controller and a third physical layer module and a first adaptation layer unit that are integrated on the NFC and that simulate a serial interface, and a fourth Ethernet controller and a fourth physical layer module and a second adaptation layer unit that are integrated on the IAC and that simulate a serial interface, where
  • the first adaptation layer unit converts the parallel management information sent by the NFC processor into an Ethernet packet, and then sends the packet to the third Ethernet controller to convert the Ethernet packet sent by the third Ethernet controller.
  • the third Ethernet controller sends the Ethernet packet sent by the first adaptation layer unit to the third physical layer module, and sends the Ethernet packet sent by the third physical layer module to the first adaptation layer unit. ;
  • the third physical layer module performs physical layer processing on the Ethernet packet sent by the third Ethernet controller, and then sends the packet to the fourth physical layer module, and performs physical layer processing on the Ethernet packet sent by the fourth physical layer module. Then sent to the third Ethernet controller;
  • the fourth physical layer module performs physical layer processing on the Ethernet packet sent by the third physical layer module, and then sends the packet to the fourth Ethernet controller, and performs physical layer on the Ethernet packet sent by the fourth Ethernet controller. After processing, it is sent to the third physical layer module;
  • the fourth Ethernet controller sends the Ethernet packet sent by the fourth physical layer module to the second adaptation layer unit, and sends the Ethernet packet sent by the second adaptation layer unit to the fourth physical layer module.
  • the second adaptation layer unit converts the parallel management information sent by the IAC processor into an Ethernet packet, and then sends the packet to the fourth Ethernet controller to convert the Ethernet packet sent by the fourth Ethernet controller. The information is sent to the IAC's processor after it is managed in parallel.
  • the third Ethernet controller or the fourth Ethernet controller in the management interface may be an Ethernet controller added to implement the management interface according to the present invention; or, if the data interface And the status information interface includes an Ethernet controller, then the third Ethernet controller or the fourth Ethernet controller may be an Ethernet controller included in the data interface, or an Ethernet controller included in the status information interface, That is, it is used for the Ethernet controller in the data interface or the Ethernet controller that is used for the status information interface.
  • serial interface described in the present invention may be a Universal Asynchronous Receiver/Transmitter (UART).
  • UART Universal Asynchronous Receiver/Transmitter
  • the implementation manner of the NFC side is the same as that of the IAC side.
  • the management interface in the NFC is implemented by the serial interface of the first mode
  • the management interface in the IAC is also adopted.
  • the serial interface of the first mode is implemented.
  • the management interface in the NFC is implemented in the second mode
  • the management interface in the IAC is also implemented in the second mode.
  • the implementation mode of the management interface in the NFC can be different from that in the IAC, such as NFC.
  • the management interface is implemented in the above manner.
  • the management interface in the IAC is implemented in the second mode.
  • the management interface in the NFC is implemented in the second mode.
  • the management interface in the IAC is implemented in the first mode.
  • the status information interface between the NFC and the IAC is mainly used to transmit advanced state protocol control information between the NFC and the IAC. Moreover, the status information interface is generally used to transfer status information between the NFC and the IAC after the NFC establishes a data interface communication with the IAC. For example, after NFC and IAC establish a data interface connection and a management interface connection, the transfer is used for the table.
  • the information indicating the current state of the NFC and the IAC, etc., specifically, may be a combination of any one or more of a heartbeat detection message, a clock synchronization message, a board restart notification message, and a system initial value message as status information. .
  • the NFC needs to perform IAC heartbeat detection to check whether the IAC is in a normal state.
  • heartbeat detection For example, NFC and IAC pre-agreed the packet format and transmission interval of heartbeat detection packets indicating that the IAC is not abnormal.
  • the IAC periodically sends a heartbeat detection message through the status information interface according to the pre-agreed transmission interval.
  • the NFC receives the heartbeat detection message through the status information interface within a preset time, the IAC can determine that the IAC is not abnormal. If it is not received, it can be determined that the IAC is abnormal, so that the abnormality can be processed according to a preset indication, such as issuing an alarm.
  • the NFC and the IAC perform clock synchronization through the status information interface. That is, the NFC sends a pre-agreed clock synchronization message to the IAC through the status information interface, and the IAC receives the clock synchronization sent by the NFC through the status information interface.
  • the packet is synchronized with the local clock according to the current time of the NFC end carried in the clock synchronization packet.
  • the pre-agreed restart message is sent to the NFC through the status information interface, and the NFC sends the initial system value required after the IAC restarts to the IAC through the status information interface, and the IAC performs the restarted configuration system.
  • the process of initial values is sent to the NFC through the status information interface, and the NFC sends the initial system value required after the IAC restarts to the IAC through the status information interface, and the IAC performs the restarted configuration system.
  • the status information interface can be implemented by using the customized interface of the present invention, and preferably, it can also be implemented by using an Ethernet interface.
  • FIG. 7 is a schematic diagram of the implementation of the status information interface using the Ethernet interface in the present invention.
  • the status information interface when the status information interface used when the NFC is connected to the IAC is implemented by using an Ethernet interface, the status information interface specifically includes: a fifth Ethernet controller integrated on the NFC and The fifth physical layer module, and the sixth Ethernet integrated on the IAC a controller and a sixth physical layer module, wherein
  • the fifth Ethernet controller receives the status information sent by the NFC processor, converts the status information into the Ethernet interface data, and sends the status information to the fifth physical layer module, and sends the Ethernet interface data sent by the fifth physical layer module.
  • a processor that is sent to the NFC after being converted to processor side status information;
  • the fifth physical layer module performs physical layer processing on the Ethernet interface data sent by the fifth Ethernet controller, and then sends the physical layer processing to the sixth physical layer module, and performs physical layer processing on the Ethernet interface data sent by the sixth physical layer module. Then sent to the fifth Ethernet controller;
  • the sixth physical layer module performs physical layer processing on the Ethernet interface data sent by the fifth physical layer module, and then sends the physical layer processing to the sixth Ethernet controller, and performs physical layer on the Ethernet interface data sent by the sixth Ethernet controller. After processing, sending to the fifth physical layer module;
  • the sixth Ethernet controller receives the Ethernet interface data sent by the sixth physical layer module, converts the data into processor side state information, and sends the data to the IAC processor, and converts the state information sent by the IAC processor.
  • the data is sent to the sixth physical layer module after being the Ethernet interface.
  • the sixth Ethernet controller can be integrated into the IAC's processor or connected to the IAC's processor via the IAC processor's PCI, PCI-X or PCI Express bus.
  • the fifth physical layer module may be independent of the fifth Ethernet controller, that is, two independent devices, or the fifth physical layer module may be integrated in the fifth Ethernet controller.
  • the sixth physical layer module can be independent of the sixth Ethernet controller, that is, two independent devices, or the sixth physical layer module can be integrated in the sixth Ethernet controller.
  • the fifth Ethernet controller or the sixth Ethernet controller may be an Ethernet controller newly added by the present invention to implement the status information interface; or, if the data interface and the management interface include Ethernet control , then, the fifth Ethernet controller or the sixth
  • the Ethernet controller can be an Ethernet controller included in the data interface, or an Ethernet controller included in the management interface, that is, an Ethernet controller used in the data interface, or an Ethernet control used for the management interface. Device.
  • the present invention also proposes an NFC.
  • the NFC includes: a data forwarding unit, a processor, an NFC side data interface, an NFC side management interface, and an NFC side status information interface, where
  • the data interface sent by the NFC data forwarding unit is sent to the IAC, and the data sent by the IAC is sent to the data forwarding unit of the NFC;
  • the NFC side management interface sends the management information sent by the NFC processor to the IAC, and sends the management information sent by the IAC to the NFC processor.
  • the NFC side status information interface sends the status information sent by the NFC processor to the IAC, and sends the status information sent by the IAC to the NFC processor.
  • the data interface of the NFC side includes: a first Ethernet controller and a first physical layer module, where
  • the first Ethernet controller receives data sent by the NFC data forwarding unit, converts the data into Ethernet interface data, and sends the data to the first physical layer module, and converts the Ethernet interface data sent by the first physical layer module.
  • Data forwarding unit that is sent to the NFC after the processor side data;
  • the first physical layer module performs physical layer processing on the Ethernet interface data sent by the first Ethernet controller, and then sends the data to the IAC, performs physical layer processing on the Ethernet interface data sent by the IAC, and sends the data to the first Ethernet control. Device.
  • the first Ethernet controller is connected to the PCI, PCI-X or PCI Express bus of the NFC processor through the data forwarding unit.
  • the NFC side management interface has three implementation modes: The mode A1 and the NFC side management interface are the first serial interface, and the parallel management information sent by the NFC processor is converted into serial management information and sent to the IAC, and the serial management information sent by the IAC is converted into parallel. The management information is sent to the NFC processor.
  • the mode of the NFC side management interface includes: a third Ethernet network controller that simulates a serial interface, a third physical layer module, and a first adaptation layer unit, where
  • the first adaptation layer unit converts the parallel management information sent by the NFC processor into an Ethernet packet, and then sends the packet to the third Ethernet controller to convert the Ethernet packet sent by the third Ethernet controller.
  • the third Ethernet controller sends the Ethernet packet sent by the first adaptation layer unit to the third physical layer module, and sends the Ethernet packet sent by the third physical layer module to the first adaptation layer unit. ;
  • the third physical layer module performs physical layer processing on the Ethernet packet sent by the third Ethernet controller, and then sends the packet to the IAC, and performs physical layer processing on the Ethernet packet sent by the IAC to be sent to the third Ethernet control. Device.
  • the mode C1 the NFC side management interface includes a first serial interface and an Ethernet controller connected to the first serial interface, where the first serial interface is connected to the processor, and
  • the processor transmits the parallel management information to the first serial interface through an Ethernet controller connected to the first serial interface, and through an Ethernet controller connected to the first serial interface Receiving parallel management information sent by the first serial interface.
  • the NFC side status information interface includes: a fifth Ethernet controller and a fifth physical layer module, where
  • the fifth Ethernet controller receives the status information sent by the NFC processor, converts the status information into the Ethernet interface data, and sends the status information to the fifth physical layer module, and sends the Ethernet interface data sent by the fifth physical layer module. Transmitted to the NFC where it is converted to processor side status information Processor
  • the fifth physical layer module performs physical layer processing on the Ethernet interface data sent by the fifth Ethernet controller, and then sends the data to the IAC, performs physical layer processing on the Ethernet interface data sent by the IAC, and sends the data to the fifth Ethernet control. Device.
  • the present invention also proposes an IAC.
  • the IAC includes: a processor, an IAC side data interface, an IAC side management interface, and an IAC side status information interface, where
  • the IAC side data interface sends the data sent by the IAC processor to the NFC, and sends the data sent by the NFC to the IAC processor;
  • the IAC side management interface sends the management information sent by the IAC processor to the NFC, and sends the management information sent by the NFC to the IAC processor;
  • the IAC side status information interface sends status information sent by the IAC processor to the NFC, and sends the status information sent by the NFC to the IAC processor.
  • the IAC side data interface includes: a third Ethernet controller and a third physical layer module, where
  • the third Ethernet controller receives data sent by the processor of the IAC, converts the data into Ethernet interface data, and sends the data to the third physical layer module, and converts the Ethernet interface data sent by the third physical layer module into The processor side data is sent to the processor of the IAC;
  • the third physical layer module performs physical layer processing on the Ethernet interface data sent by the third Ethernet controller, and then sends the data to the NFC, performs physical layer processing on the Ethernet interface data sent by the NFC, and sends the data to the third Ethernet control. Device.
  • the IAC side management interface has three implementation modes: mode A2, the IAC side management interface is a second serial interface, and the parallel management information sent by the IAC processor is converted into serial.
  • the management information is sent to the NFC, and the serial management information sent from the NFC is converted into parallel management information and sent to the IAC processor.
  • the IAC side management interface includes a second serial interface and the second serial An Ethernet controller connected to the interface, the second serial interface is connected to the processor through the Ethernet controller, and
  • the processor transmits the parallel management information to the second serial interface through an Ethernet controller connected to the second serial interface, and through an Ethernet controller connected to the second serial interface Receiving parallel management information sent by the second serial interface.
  • the mode C2 the IAC side management interface includes: a fourth Ethernet network controller that simulates a serial interface, a fourth physical layer module, and a second adaptation layer unit, where
  • the second adaptation layer unit converts the parallel management information sent by the IAC processor into an Ethernet packet, and then sends the packet to the fourth Ethernet controller to convert the Ethernet packet sent by the fourth Ethernet controller.
  • the fourth Ethernet controller sends the Ethernet packet sent by the second adaptation layer unit to the fourth physical layer module, and sends the Ethernet packet sent by the fourth physical layer module to the second adaptation layer unit. ;
  • the fourth physical layer module performs physical layer processing on the Ethernet packet sent by the fourth Ethernet controller, and then sends the packet to the NFC, and performs physical layer processing on the Ethernet packet sent by the NFC to be sent to the fourth Ethernet control. Device.
  • the IAC side status information interface includes: a sixth Ethernet controller and a sixth physical layer module, where
  • the sixth Ethernet controller receives the status information sent by the processor of the IAC, converts the status information into the Ethernet interface data, and sends the status information to the sixth physical layer module, and sends the Ethernet interface data sent by the sixth physical layer module.
  • a processor that is sent to the IAC after being converted to processor side status information;
  • the sixth physical layer module performs physical layer processing on the Ethernet interface data sent by the sixth Ethernet controller, and then sends the data to the NFC, performs physical layer processing on the Ethernet interface data sent by the NFC, and sends the data to the sixth Ethernet control.
  • the various Ethernet controllers mentioned may be integrated in the processor of the IAC or connected to the processor of the IAC through the PCI, PCI-X or PCI Express bus of the IAC processor.
  • the Ethernet interface may be one or more.
  • a bundle of 10GE Ethernet can also be bundled with one or more 10M, 100M or 1000M Ethernet.
  • the physical layer modules described above can use existing physical layer module chips, such as Broadcom's BCM5461S and BCM5464SR chips, and Marvell's 88E1145 chips.
  • the physical layer processing performed by each physical layer module on the received Ethernet interface data in the present invention is identical to the physical layer processing performed by the physical layer module in the Ethernet interface in the prior art.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Systems (AREA)
  • Communication Control (AREA)

Description

不同部件对接的系统、 网络转发部件和独立业务部件 技术领域
本发明涉及网络通信技术, 特别是涉及不同部件对接的系统、 网络 转发部件和独立业务部件。 发明背景
随着网络技术的不断发展, 利用网络设备进行简单的报文转发已经 不是问题。 然而, 随着语音、 视频等多种业务不断地融入传统的数据通 信网络, 在一次报文转发中, 网络设备已经不能再单纯的完成报文转发 功能, 还应该完成更多的业务处理功能。 比如, 要求网络设备不仅能进 行报文转发, 而且还能方便地接入电话和传真、 进行各种有针对性的业 务统计和计费、 进行各种安全防范措施以及进行流量监控和调整等, 从 而使得网络达到最好的性能和允许状态。
为了在报文转发中完成多种业务处理功能, 目前通常的做法是: 将 分别完成不同业务处理功能的不同网络设备连接在一起, 不同网络设备 共同完成多种业务处理。 然而, 由于不同网络设备通常是由不同厂家生 成的, 因此, 此种将不同网络设备连接在一起来完成多种业务处理功能 的做法, 会导致设备投资过大、 设备之间互通性差以及不便于管理和维 护等诸多缺点。
目前, 在个人电脑(PC )工业界, 随着各种工业标准的制定, 出现 了将多个厂商的 PCI插卡通过 PCI总线集成在 PC机上的做法, 此种做 法能够使得 PC机完成多种业务处理。
可见, 如果要想在网络设备的报文转发中完成多种业务处理功能, 并且解决不同厂家设备的互通性差及降低设备成本的问题, 则可以借鉴 上述 PC机上的处理方式, 将完成报文转发功能的部件与完成其他业务 处理功能的部件集成在一个网络设备中。 然而, 现有技术中, 在将 PCI 插卡通过 PCI总线集成在 PC机上时, 其内部的连接方式和通信方式仅 适合在 PC机内部实现, 而无法在网络通信中使用。 这样, 如果将完成 报文转发功能的部件与完成其他业务处理功能的部件集成在一个网络 设备中, 那么, 为了保证集成在一个网络设备中的不同部件之间能够进 行通信, 该一个网络设备中的不同部件如何连接在一起, 以及如何利用 其连接进行各种信息的传输, 则成为了一个有待解决的问题。 发明内容
本发明的第一目的在于提供一种不同部件对接的系统, 本发明的第 二目的在于提供一种网络转发部件, 本发明的第三目的在于提供一种独 立业务部件, 以便于保证集成在一个网络设备中的不同部件能够进行通 信, 实现协同工作。
为达到上述目的, 本发明的技术方案是这样实现的:
实现不同部件对接的系统, 该系统包括: 集成在一个网络设备中的 网络转发部件 NFC、独立业务部件 IAC以及部件连接单元, 其中, NFC 中包括数据转发单元和处理器, IAC中包括处理器, 部件连接单元包括 数据接口、 管理接口和状态信息接口 ,
数据接口 , 将 NFC的数据转发单元发来的数据发送至 IAC的处理 器, 将 IAC的处理器发来的数据发送至 NFC的数据转发单元;
管理接口 , 将 NFC的处理器发来的管理信息发送至 IAC的处理器, 并将 IAC的处理器发来的管理信息发送至 NFC的处理器;
状态信息接口, 将 NFC的处理器发来的状态信息发送至 IAC的处 理器, 并将 IAC的处理器发来的状态信息发送至 NFC的处理器。 所述数据接口包括:集成在 NFC上的第一以太网控制器和第一物理 层模块, 以及集成在 IAC上的第二以太网控制器和第二物理层模块, 其 中,
第一以太网控制器,接收 NFC的数据转发单元发来的数据, 将该数 据转换为以太网接口数据后发送至第一物理层模块 , 将第一物理层模块 发来的以太网接口数据转换为处理器侧数据后发送至 NFC 的数据转发 单元;
第一物理层模块 , 对第一以太网控制器发来的以太网接口数据执行 物理层处理后发送至第二物理层模块 , 对第二物理层模块发来的以太网 接口数据执行物理层处理后发送至第一以太网控制器;
第二物理层模块, 对第一物理层模块发来的以太网接口数据执行物 理层处理后发送至第二以太网控制器, 对第二以太网控制器发来的以太 网接口数据执行物理层处理后发送至第一物理层模块;
第二以太网控制器, 将第二物理层模块发来的以太网接口数据转换 为处理器侧数据后发送至 IAC的处理器,将 IAC的处理器发来的数据转 换为以太网接口数据后发送至第二物理层模块。
所述管理接口包括集成在 NFC上的第一串行接口和集成在 IAC上 的第二串行接口, 其中,
第一串行接口 ,将 NFC的处理器发来的并行管理信息转换为串行管 理信息后发送至第二串行接口, 将第二串行接口发来的串行管理信息转 换为并行管理信息后发送至 NFC的处理器;
第二串行接口, 将 IAC的处理器发来的并行管理信息转换为串行管 理信息后发送至第一串行接口, 将第一串行接口发来的串行管理信息转 换为并行管理信息后发送至 IAC的处理器。
当所述串行接口独立于与其相连的所述处理器时, 所述串行接口通过所述处理器的局部总线 Local Bus与所述处理器 相连, 并通过该 Local Bus接收所述处理器发来的并行管理信息以及向 所述处理器发送并行管理信息。
当所述串行接口独立于与其相连的所述处理器时,
所述串行接口通过转换单元与所述处理器的 PCI、 PCI-X 或 PCI Express总线相连, 且
转换单元, 接收所述处理器从 PCI、 PCI-X或 PCI Express总线上发 来的并行管理信息, 将该并行管理信息转换为 Local Bus格式的并行管 理信息后发送至串行接口, 将所述串行接口发来的 Local Bus格式的并 行管理信息转换为 PCI、 PCI-X或 PCI Express格式的并行管理信息后发 送至处理器的 PCI、 PCI-X或 PCI Express总线上。
当所述串行接口独立于与其相连的所述处理器时 , 在该串行接口与 该处理器之间进一步包括以太网控制器, 该串行接口通过该以太网控制 器与该处理器相连, 并且,
所述处理器 , 通过与所述串行接口相连的以太网控制器将所述并行 管理信息发送至所述串行接口 , 并通过与所述串行接口相连的以太网控 制器接收所述串行接口发来的并行管理信息。
所述串行接口通过逻辑电路与所述以太网控制器相连。
所述串行接口和其相连的以太网控制器中的一个利用数据地址总线 复用结构, 另一个利用数据地址总线分离结构时, 所述逻辑电路为复用 器。
所述与串行接口相连的以太网控制器为: 数据接口中包括的以太网 控制器、 或状态信息接口中包括的以太网控制器、 或新增的以太网控制 器。
当所述与串行接口相连的以太网控制器为数据接口中包括的以太网 控制器、 或状态信息接口中包括的以太网控制器时,
所述处理器, 进一步在所述串行接口相连的以太网控制器中, 为所 述串行接口和该以太网控制器分配不同的地址空间, 通过为以太网控制 器分配的地址空间接收和发送对应于该以太网控制器的数据 , 通过为所 述串行接口分配的地址空间接收和发送对应于串行接口的并行管理信 所述串行接口 , 通过其相连的以太网控制器中为该串行接口分配的 地址空间, 接收和发送并行管理信息;
与所述串行接口相连的以太网控制器, 通过自身中为所述串行接口 分配的地址空间转发 NFC 的处理器与所述串行接口之间的并行管理信 所述管理接口包括: 集成在 NFC上的、模拟出串行接口的第三以太 网控制器和第三物理层模块和第一适配层单元, 以及集成在 IAC上的、 模拟出串行接口的第四以太网控制器和第四物理层模块和第二适配层 单元, 其中,
第一适配层单元,将 NFC的处理器发来的并行管理信息转换为以太 网报文后, 发送至第三以太网控制器, 将第三以太网控制器发来的以太 网报文转换为并行管理信息后发送至 NFC的处理器;
第三以太网控制器, 将第一适配层单元发来的以太网报文发送至第 三物理层模块 , 将第三物理层模块发来的以太网报文发送至第一适配层 单元;
第三物理层模块 , 对第三以太网控制器发来的以太网报文进行物理 层处理后发送至第四物理层模块, 对第四物理层模块发来的以太网报文 进行物理层处理后发送至第三以太网控制器;
第四物理层模块 , 对第三物理层模块发来的以太网报文进行物理层 处理后发送至第四以太网控制器, 对第四以太网控制器发来的以太网报 文进行物理层处理后发送至第三物理层模块;
第四以太网控制器 , 将第四物理层模块发来的以太网报文发送至第 二适配层单元, 将第二适配层单元发来的以太网报文发送至第四物理层 模块;
第二适配层单元, 将 IAC的处理器发来的并行管理信息转换为以太 网报文后, 发送至第四以太网控制器, 将第四以太网控制器发来的以太 网报文转换为并行管理信息后发送至 IAC的处理器。
当所述数据接口中包括集成在 NFC上的第一以太网控制器和第一 物理层模块,以及集成在 IAC上的第二以太网控制器和第二物理层模块 时,
所述第三以太网控制器与第一以太网控制器集成在一起或相互独 立;
所述第四以太网控制器与第二以太网控制器集成在一起或相互独 立。
所述状态信息接口包括:集成在 NFC上的第五以太网控制器和第五 物理层模块, 以及集成在 IAC上的第六以太网控制器和第六物理层模 块, 其中,
第五以太网控制器,接收 NFC的处理器发来的状态信息, 将该状态 信息转换为以太网接口数据后发送至第五物理层模块, 将第五物理层模 块发来的以太网接口数据转换为处理器侧状态信息后发送至 NFC 的处 理器;
第五物理层模块, 对第五以太网控制器发来的以太网接口数据执行 物理层处理后发送至第六物理层模块, 对第六物理层模块发来的以太网 接口数据执行物理层处理后发送至第五以太网控制器; 第六物理层模块, 对第五物理层模块发来的以太网接口数据执行物 理层处理后发送至第六以太网控制器, 对第六以太网控制器发来的以太 网接口数据执行物理层处理后发送至第五物理层模块;
第六以太网控制器, 接收第六物理层模块发来的以太网接口数据, 将该数据转换为处理器侧状态信息后发送至 IAC的处理器,将 IAC的处 理器发来的状态信息转换为以太网接口数据后发送至第六物理层模块。
所述第六以太网控制器集成在 IAC的处理器中,或通过 IAC处理器 的 PCI、 PCI-X或 PCI Express总线与 IAC的处理器相连。
当所述数据接口中包括集成在 NFC上的第一以太网控制器和第一 物理层模块,以及集成在 IAC上的第二以太网控制器和第二物理层模块 时,
所述第五以太网控制器与第一以太网控制器集成在一起或相互独 立;
所述第六以太网控制器与第二以太网控制器集成在一起或相互独 立。
所述第五以太网控制器、 第五物理层模块、 第六物理层模块和第六 以太网控制器之间交互作为状态信息的心跳检测报文、 时钟同步报文、 单板重启通知报文和系统初始值报文中的任意一个或多个的组合。
一种 NFC, 该 NFC包括: 包括数据转发单元、 处理器、 NFC侧数 据接口、 NFC侧管理接口和 NFC侧状态信息接口, 其中,
NFC侧数据接口, 将 NFC的数据转发单元发来的数据发送至 IAC, 将 IAC发来的数据发送至 NFC的数据转发单元;
NFC侧管理接口, 将 NFC的处理器发来的管理信息发送至 IAC, 并将 IAC发来的管理信息发送至 NFC的处理器;
NFC 侧状态信息接口, 将 NFC 的处理器发来的状态信息发送至 IAC, 并将 IAC发来的状态信息发送至 NFC的处理器。
所述 NFC侧数据接口包括: 第一以太网控制器和第一物理层模块, 其中,
第一以太网控制器,接收 NFC的数据转发单元发来的数据, 将该数 据转换为以太网接口数据后发送至第一物理层模块 , 将第一物理层模块 发来的以太网接口数据转换为处理器侧数据后发送至 NFC 的数据转发 单元;
第一物理层模块 , 对第一以太网控制器发来的以太网接口数据执行 物理层处理后发送至 IAC ,对 IAC发来的以太网接口数据执行物理层处 理后发送至第一以太网控制器。
所述第一以太网控制器通过数据转发单元与 NFC 处理器的 PCI、 PCI-X或 PCI Express总线相连。
所述 NFC侧管理接口为第一串行接口, 将 NFC的处理器发来的并 行管理信息转换为串行管理信息后发送至 IAC,将 IAC发来的串行管理 信息转换为并行管理信息后发送至 NFC的处理器。
所述 NFC侧管理接口包括: 模拟出串行接口的第三以太网控制器、 第三物理层模块和第一适配层单元, 其中,
第一适配层单元,将 NFC的处理器发来的并行管理信息转换为以太 网报文后, 发送至第三以太网控制器, 将第三以太网控制器发来的以太 网报文转换为并行管理信息后发送至 NFC的处理器;
第三以太网控制器, 将第一适配层单元发来的以太网报文发送至第 三物理层模块 , 将第三物理层模块发来的以太网报文发送至第一适配层 单元;
第三物理层模块 , 对第三以太网控制器发来的以太网报文进行物理 层处理后发送至 IAC,对 IAC发来的以太网报文进行物理层处理后发送 至第三以太网控制器。
所述 NFC侧管理接口包括第一串行接口和与该第一串行接口相连 的以太网控制器, 第一串行接口通过该以太网控制器与所述处理器相 连, 并且,
所述处理器, 通过与第一串行接口相连的以太网控制器将所述并行 管理信息发送至所述第一串行接口, 并通过与所述第一串行接口相连的 以太网控制器接收所述第一串行接口发来的并行管理信息。
所述 NFC侧状态信息接口包括:第五以太网控制器和第五物理层模 块, 其中,
第五以太网控制器,接收 NFC的处理器发来的状态信息, 将该状态 信息转换为以太网接口数据后发送至第五物理层模块, 将第五物理层模 块发来的以太网接口数据转换为处理器侧状态信息后发送至 NFC 的处 理器;
第五物理层模块, 对第五以太网控制器发来的以太网接口数据执行 物理层处理后发送至 IAC,对 IAC发来的以太网接口数据执行物理层处 理后发送至第五以太网控制器。
一种 IAC, 该 IAC包括: 处理器、 IAC侧数据接口、 IAC侧管理接 口和 IAC侧状态信息接口, 其中,
IAC侧数据接口,将 IAC的处理器发来的数据发送至 NFC,将 NFC 发来的数据发送至 IAC的处理器;
IAC侧管理接口, 将 IAC的处理器发来的管理信息发送至 NFC, 并 将 NFC发来的管理信息发送至 IAC的处理器;
IAC侧状态信息接口,将 IAC的处理器发来的状态信息发送至 NFC, 并将 NFC发来的状态信息发送至 IAC的处理器。
所述 IAC侧数据接口包括: 第三以太网控制器和第三物理层模块 , 其中,
第三以太网控制器, 接收 IAC的处理器发来的数据, 将该数据转换 为以太网接口数据后发送至第三物理层模块 , 将第三物理层模块发来的 以太网接口数据转换为处理器侧数据后发送至 IAC的处理器;
第三物理层模块 , 对第三以太网控制器发来的以太网接口数据执行 物理层处理后发送至 NFC, 对 NFC发来的以太网接口数据执行物理层 处理后发送至第三以太网控制器。
所述 IAC侧管理接口为第二串行接口 ,将 IAC的处理器发来的并行 管理信息转换为串行管理信息后发送至 NFC, 将 NFC发来的串行管理 信息转换为并行管理信息后发送至 IAC的处理器。
所述 IAC侧管理接口包括第二串行接口和与该第二串行接口相连的 以太网控制器, 第二串行接口通过该以太网控制器与所述处理器相连, 并且,
所述处理器, 通过与第二串行接口相连的以太网控制器将所述并行 管理信息发送至所述第二串行接口 , 并通过与所述第二串行接口相连的 以太网控制器接收所述第二串行接口发来的并行管理信息。
所述 IAC侧管理接口包括: 模拟出串行接口的第四以太网控制器、 第四物理层模块和第二适配层单元, 其中,
第二适配层单元, 将 IAC的处理器发来的并行管理信息转换为以太 网报文后, 发送至第四以太网控制器, 将第四以太网控制器发来的以太 网报文转换为并行管理信息后发送至 IAC的处理器;
第四以太网控制器, 将第二适配层单元发来的以太网报文发送至第 四物理层模块, 将第四物理层模块发来的以太网报文发送至第二适配层 单元;
第四物理层模块 , 对第四以太网控制器发来的以太网报文进行物理 层处理后发送至 NFC, 对 NFC发来的以太网报文进行物理层处理后发 送至第四以太网控制器。
所述 IAC侧状态信息接口包括: 第六以太网控制器和第六物理层模 块, 其中,
第六以太网控制器, 接收 IAC的处理器发来的状态信息, 将该状态 信息转换为以太网接口数据后发送至第六物理层模块, 将第六物理层模 块发来的以太网接口数据转换为处理器侧状态信息后发送至 IAC 的处 理器;
第六物理层模块, 对第六以太网控制器发来的以太网接口数据执行 物理层处理后发送至 NFC, 对 NFC发来的以太网接口数据执行物理层 处理后发送至第六以太网控制器。
所述以太网控制器集成在 IAC的处理器中, 或通过 IAC处理器的 PCI、 PCI-X或 PCI Express总线与 IAC的处理器相连。
由此可见, 在本发明中, 集成在一个网络设备中的 NFC和 IAC之 间能够通过所设置的数据接口、 管理接口和状态信息接口来分别进行数 据交互、 管理信息交互和状态协议信息交互。 并且, 本发明还给出了数 据接口、 管理接口和状态信息接口的具体实现方式及其在完成信息传输 时的处理, 因此, 保证了 NFC和 IAC能够利用本发明提出的各种接口 进行协同工作模式下的各种通信过程, 保证了 NFC和 IAC能够通过共 同工作来完成报文转发功能和其他附加的多种业务处理功能 , 从而大大 提高了业务服务质量。 附图简要说明
图 1是 OAA系统的结构示意图。
图 2是在本发明中不同部件 NFC与 IAC对接的示意图。 图 3是在本发明中数据接口利用以太网接口实现的示意图。
图 4是在本发明中仅利用串行接口实现管理接口的示意图。
图 5是在本发明中利用串行接口和以太网控制器实现管理接口的示 意图。
图 6是在本发明中利用模拟出串行接口的以太网接口实现管理接口 的示意图。
图 7是在本发明中状态信息接口利用以太网接口实现的示意图。 实施本发明的方式
借鉴于现有技术中将 PCI插卡通过 PCI总线集成在 PC机上从而完 成多种业务处理功能的做法, 本发明设计了一个开放的软硬件结构体 系, 称为开放应用体系结构 (OAA, Open Application Architecture )<, 图 1是 OAA系统的结构示意图。 参见图 1, 在 OAA系统中, 不同厂商的 部件集成为一个 禹合的系统,主要包括:网络转发部件(NFC, Network Forwarding Component )、 独立业务部件 ( IAC, Independent Application Component ) 以及接口连接部件 ( ILC, Interface Linkage Component ), 并且, NFC和 IAC通过 ILC相连。
在 OAA系统中, NFC负责进行最基本的报文转发, 有着完整的路 由器或交换机的功能, 一般在 OAA中表现为路由器或交换机的主体部 件, 包括机框和单板, 也可以是一个能够插卡的交换设备。 IAC用来提 供各种附加的业务处理功能, 一般在 OAA中表现为一块单板或扣卡, 由于 IAC上有单独的处理器, 因此只需要对该处理器进行编程, 即可实 现通过 IAC进行各种业务处理, 比如, 进行有针对性的业务统计和计费 等各种安全防范措施等。
在实际的业务实现中, 为了实现在完成报文转发的同时, 进行其他 业务处理功能, 则可以按照上述 OAA结构的思想, 将 NFC与 IAC通过 ILC集成在一个网络设备中。
下面则详细介绍在本发明中 NFC与 IAC如何进行对接, 以及在对 接后如何进行信息传输。
本发明提出了一种实现不同部件 NFC与 IAC对接的系统。 图 2是 在本发明中不同部件 NFC与 IAC对接的示意图。参见图 2,本发明系统 包括 NFC、 IAC和接口连接部件。 其中, NFC中包括数据转发单元和处 理器, IAC中包括处理器, 接口连接部件中包括数据接口、 管理接口和 状态信息接口, 其中,
数据接口 , 将 NFC的数据转发单元发来的数据发送至 IAC的处理 器, 将 IAC的处理器发来的数据发送至 NFC的数据转发单元;
管理接口 , 将 NFC的处理器发来的管理信息发送至 IAC的处理器, 并将 IAC的处理器发来的管理信息发送至 NFC的处理器;
状态信息接口, 将 NFC的处理器发来的状态信息发送至 IAC的处 理器, 并将 IAC的处理器发来的状态信息发送至 NFC的处理器。
参见图 2, 在本发明中, 所述的 NFC是能够完成报文转发功能的任 意一种网络设备,比如交换机和路由器。当 NFC是交换机时,在其内部, 报文转发单元通常与处理器分离, 并且, 该报文转发单元通常采用专用 转发处理芯片 (ASIC )来实现; 当 NFC是路由器时, 在其内部, 报文 转发单元通常集成在处理器中。 可见,在本发明的 NFC中, 数据转发单 元可以独立于 NFC的处理器, 也可以集成在 NFC的处理器中。
参见图 2, 首先, 对于数据接口:
在本发明中, NFC与 IAC是通过数据接口进行数据报文的交互。 由 于 IAC必须根据与 NFC交互数据的源地址或目的地址信息来进行各种 有针对性地附加业务处理, 如根据数据的源地址进行计费或判断数据是 否合法等, 因此, 在 NFC与 IAC进行数据交互时, 数据中需要携带源 地址和 /或目的地址。 这样, NFC与 IAC交互数据所使用的数据接口则 可以利用以太网接口来实现。
图 3是在本发明中数据接口利用以太网接口实现的示意图。 参见图 图 3,在本发明中, 当 NFC与 IAC连接时所使用的数据接口利用以太网 接口实现时,该数据接口具体包括: 集成在 NFC上的第一以太网控制器 和第一物理层模块,以及集成在 IAC上的第二以太网控制器和第二物理 层模块, 其中,
第一以太网控制器,接收 NFC的数据转发单元发来的数据, 将该数 据转换为以太网接口数据后发送至第一物理层模块 , 将第一物理层模块 发来的以太网接口数据转换为处理器侧数据后发送至 NFC 的数据转发 单元;
第一物理层模块 , 对第一以太网控制器发来的以太网接口数据执行 物理层处理后发送至第二物理层模块 , 对第二物理层模块发来的以太网 接口数据执行物理层处理后发送至第一以太网控制器;
第二物理层模块, 对第一物理层模块发来的以太网接口数据执行物 理层处理后发送至第二以太网控制器, 对第二以太网控制器发来的以太 网接口数据执行物理层处理后发送至第一物理层模块;
第二以太网控制器, 将第二物理层模块发来的以太网接口数据转换 为处理器侧数据后发送至 IAC的处理器,将 IAC的处理器发来的数据转 换为以太网接口数据后发送至第二物理层模块。
参见图 3, 在 NFC中, 第一物理层模块可以与第一以太网控制器相 互独立, 即为 2个独立的器件, 或者, 第一物理层模块也可以集成在第 一以太网控制器中。 同样, 第二物理层模块可以与第二以太网控制器相 互独立, 即为 2个独立的器件, 或者, 第二物理层模块也可以集成在第 二以太网控制器中。
另外, 根据目前所需要协同完成的各种业务处理, 可以得出, NFC 与 IAC具体可以通过 4种协同工作模式进行通信和协同工作, 包括: 主 机模式、 镜像模式、 重定向模式和穿透模式, 其中,
主才 莫式: IAC就像网络上的一台主机, 拥有自己的 IP地址, 作为 网络末梢存在。 NFC仅利用与 IAC之间的数据接口完成单纯的数据报文 转发, IAC则作为数据报文的发起者和接收者, 收发并处理各种报文, NFC就是 IAC的网关。
镜像模式:所述镜像模式为 NFC通过数据接口将满足预先设置的镜 像条件的报文复制给 IAC, 同时继续完成报文的转发。 即, NFC在报文 转发的过程中, 根据预先设定的镜像条件, 将满足镜像条件的数据报文 通过与 IAC之间的数据接口复制一份给 IAC,原始报文继续完成正常的 转发。 而 IAC收到所述报文以后, 按照其内部的业务逻辑对所述报文进 行分析和处理。
重定向模式: NFC在数据报文转发过程中, 根据预先设定的重定向 条件,通过与 IAC之间的数据接口将满足重定向条件的数据报文重定向 给 IAC。 IAC分析所述4艮文并处理所述 文, 所述处理4艮文包括丢弃所 述报文和将所述报文原封不动的返回。 如果报文通过 IAC与 NFC之间 的数据接口被原封不动的还给 NFC, NFC 则从当初中断的地方继续处 理, 完成后续的转发工作。
Figure imgf000017_0001
发来的数据报文。在 NFC看来,外部数据像是直接到达了数据接口中的 以太网口, IAC似乎根本不存在。
参见图 2, 其次, 对于管理接口: NFC与 IAC之间的管理接口主要是用来传输 NFC与 IAC之间的简 单管理信息。 并且, 该管理接口通常是用于在 NFC与 IAC建立数据接 口通信之前,在 NFC与 IAC之间传输管理信息。 比如在 NFC和 IAC刚 刚启动之后, 传输用于配置 NFC和 IAC的协同工作模式和协同工作模 式的配置信息等, 具体地, 可以是 NFC和 IAC数据接口中的以太网控 制器的 IP地址等。 当然, 该管理接口也可以用于在 NFC与 IAC建立数 据接口通信之后, 传输简单的管理信息, 比如在 NFC与 IAC进行数据 通信的过程中传输更新后的协同工作模式的信息等。
在实际的业务实现中, NFC和 IAC对外所提供的接口可以有多种方 式, 比如, NFC和 IAC可以仅对外提供 PCI、 PCI-X或 PCI Express总 线接口, 或者, 还可以仅对外提供以太网接口等, 因此, 必须针对 NFC 和 IAC部件对外提供的接口特点来实现传输串行数据的管理接口。在本 发明中, NFC与 IAC之间的管理接口具体的可以有如下三种实现方式: 方式一、 当 NFC和 IAC对外均可提供串行接口时, 较佳地, 在本 发明中, 可以仅利用串行接口来实现 NFC与 IAC之间的管理接口。
在本发明中, 由于管理接口传输的是串行的管理信息, 因此, 如果 NFC和 IAC对外均可提供串行接口, 那么, 无论 NFC和 IAC是否还可 提供其他接口, 较佳地, 在本发明中, 可以仅利用串行接口来实现 NFC 与 IAC之间的管理接口。
图 4是在本发明中仅利用串行接口实现管理接口的示意图。 参见图 4, 在该方式一中, 所述管理接口包括集成在 NFC上的第一串行接口和 集成在 IAC上的第二串行接口, 其中,
第一串行接口 ,将 NFC的处理器发来的并行管理信息转换为串行管 理信息后发送至第二串行接口, 将第二串行接口发来的串行管理信息转 换为并行管理信息后发送至 NFC的处理器; 第二串行接口, 将 IAC的处理器发来的并行管理信息转换为串行管 理信息后发送至第一串行接口, 将第一串行接口发来的串行管理信息转 换为并行管理信息后发送至 IAC的处理器。
参见图 4, 在 NFC中, 所述的第一串行接口可以独立于 NFC的处 理器, 或者, 也可以集成在 NFC的处理器中; 同样, 在 IAC中, 第二 串行接口可以独立于 IAC的处理器,或者,也可以集成在 IAC的处理器 中。
由于串行接口能够与局部总线 (Local Bus )连接, 因此当第一串行 接口独立于 NFC的处理器时, 第一串行接口与 NFC处理器的连接及管 理信息交互方式可以为:
直接相连; 即, 第一串行接口通过 NFC处理器的 Local Bus与 NFC 的处理器相连, 并通过该 Local Bus接收 NFC的处理器发来的并行管理 信息以及向 NFC的处理器发送并行管理信息;
或者, 间接相连; 即第一串行接口通过转换单元与 NFC 处理器的 PCI、 PCI-X或 PCI Express总线相连, 且转换单元, 用于接收 NFC的处 理器从 PCI、 PCI-X或 PCI Express总线上发来的并行管理信息, 将该并 行管理信息转换为 Local Bus格式的并行管理信息后发送至第一串行接 口 , 将第一串行接口发来的 Local Bus格式的并行管理信息转换为 PCI、 PCI-X或 PCI Express格式的并行管理信息后发送至 NFC处理器的 PCI、 PCI-X或 PCI Express总线上。 其中, 转换单元可以是将 PCI、 PCI-X或 PCI Express总线的数据与 Local Bus总线的数据进行相互转换的器件, 比如 PLX公司的 PCI9030器件。
需要说明的是, 当第二串行接口独立于 IAC的处理器时, 该第二串 行接口与 IAC处理器的连接方式及管理信息交互的方式,可以与以上描 述的第一串行接口与 NFC 处理器的连接方式及管理信息交互方式的过 程完全相同。
方式二、当 NFC和 IAC对外均可提供处理器总线接口如 PCI、PCI-X 或 PCI Express总线接口时, 在本发明中, 可以利用串行接口和以太网 控制器来实现管理接口。
在该方式二中, 由于 NFC和 IAC对外均可提供处理器总线接口, 那么, 如果要实现管理接口, 则可利用能够与处理器总线接口连接的以 太网控制器来实现, 并且, 由于管理接口传输的是串行的管理信息, 因 此, 仅仅是能够实现以太网数据传输的以太网控制器还不够, 此种情况 下, 则可以将以太网控制器与串行接口相连, 也就是说, 可以利用串行 接口和以太网控制器来实现管理接口。 较佳地, 该方式二适用于 NFC 和 IAC对外不提供串行接口而仅提供处理器总线接口的情况。
图 5是在本发明中利用串行接口和以太网控制器实现管理接口的示 意图。 参见图 5, 在该方式二中, 所述管理接口包括: 集成在 NFC上的 第一串行接口、与第一串行接口和 NFC的处理器分别相连的以太网控制 器, 集成在 IAC上的第二串行接口、与第二串行接口和 IAC的处理器分 别相连的以太网控制器, 其中,
NFC的处理器, 通过与第一串行接口相连的以太网控制器将并行管 理信息发送至第一串行接口 , 并通过与第一串行接口相连的以太网控制 器接收第一串行接口发来的并行管理信息;
第一串行接口 , 将接收到的并行管理信息转换为串行管理信息后发 送至第二串行接口, 将第二串行接口发来的串行管理信息转换为并行管 理信息,然后通过与第一串行接口和 NFC的处理器分别相连的以太网控 制器将并行管理信息发送至 NFC的处理器;
IAC的处理器, 通过与第二串行接口相连的以太网控制器将并行管 理信息发送至第二串行接口 , 并通过与第二串行接口相连的以太网控制 器接收第二串行接口发来的并行管理信息;
第二串行接口, 将接收到的并行管理信息转换为串行管理信息后发 送至第一串行接口, 将第一串行接口发来的串行管理信息转换为并行管 理信息,然后通过与第二串行接口和 IAC的处理器分别相连的以太网控 制器将并行管理信息发送至 IAC的处理器。
参见图 5, 在采用该方式二时, 以第一串行接口为例, 第一串行接 口必须通过以太网控制器如以太网控制器 1与 NFC的处理器相连,这样, 则要求第一串行接口能够与以太网控制器 1连接在一起。 在实际的业务 实现中, 根据第一串行接口的实现和以太网控制器 1的实现, 第一串行 接口可能无法与以太网控制器 1直接连接在一起, 此种情况下, 则可以 在第一串行接口与以太网控制器 1之间设置逻辑电路 Logicl , 通过该逻 辑电路 Logicl来完成第一串行接口与以太网控制器 1 的连接和信息交 互。 比如, 当第一串行接口和以太网控制器 1中的一个利用数据地址总 线复用结构, 而另一个利用数据地址总线分离结构时, 第一串行接口可 以通过作为 Logicl的复用器与以太网控制器 1连接,从而通过以太网控 制器 1与 NFC的处理器交互管理信息。
需要说明的是, 当第二串行接口是通过以太网控制器如以太网控制 器 2与 IAC的处理器相连时, 如果第二串行接口无法与以太网控制器 2 直接连接,那么, 第二串行接口也可以通过一个逻辑电路 Logic2与以太 网控制器 2相连, 具体的实现与上述第一串行接口通过逻辑电路 Logicl 与以太网控制器 1相连时的过程完全相同。
还需要说明的是, 在本发明中, 连接在串行接口与处理器之间的以 太网控制器可以是本发明为了实现管理接口而新增的以太网控制器; 或 者, 如果数据接口和状态信息接口中包括以太网控制器, 那么, 连接在 串行接口与处理器之间的以太网控制器也可以是数据接口中包括的以 太网控制器、 或状态信息接口中包括的以太网控制器, 即复用于数据接 口中的以太网控制器、 或复用于状态信息接口中的以太网控制器。
当连接在串行接口与处理器之间的以太网控制器复用于其他以太网 控制器, 比如复用于数据接口中的第一以太网控制器时, 该复用的第一 以太网控制器则必须同时完成多种传输 , 即完成数据接口的功能传输数 据, 并且, 完成管理接口的功能传输管理信息。 这样, 为了保证 NFC 与 IAC之间的数据与管理信息的交互不会发生传输混乱,在本发明中可 以采用不同地址空间进行区分传输的方式。
以 NFC为例, NFC中的处理器在第一以太网控制器中为第一串行 接口和第一以太网控制器分配不同的地址空间。 对应于第一串行接口的 并行管理信息,即 NFC中的处理器发给第一串行接口的管理信息和第一 串行接口发给 NFC处理器的并行管理信息,均存储在第一以太网控制器 中为第一串行接口分配的地址空间中 , 第一以太网控制器通过为第一串 行接口分配的地址空间中所存储的并行管理信息,完成 NFC处理器与第 一串行接口之间管理信息的转发, 另外, 第一以太网控制器通过为自身 分配的地址空间接收和发送对应于该第一以太网控制器的数据, 即 NFC 和 IAC需要利用数据接口交互的数据。
在 IAC中,当连接在第二串行接口与 IAC处理器之间的以太网控制 器复用于其他以太网控制器, 比如复用于数据接口中的第二以太网控制 器时,利用不同地址空间进行区分传输的具体实现过程与上述 NFC中的 利用不同地址空间进行区分传输的过程的原理完全相同。
方式三、 当 NFC和 IAC对外均可提供以太网接口时, 在本发明中, 可以利用模拟出串行接口的以太网接口来实现管理接口。
在该方式三中, 由于 NFC和 IAC对外均可提供以太网接口, 那么, 如果要实现管理接口, 则可利用以太网接口来实现, 并且, 由于管理接 口传输的是串行的管理信息, 因此, 仅仅是能够实现以太网数据传输的 以太网接口还不够, 此种情况下, 则可以进一步利用以太网接口来模拟 出串行接口, 也就是说, 可以利用模拟出串行接口的以太网接口来实现 管理接口。 较佳地, 该方式三适用于 NFC和 IAC对外不提供串行接口 而仅提供以太网接口的情况。
图 6是在本发明中利用模拟出串行接口的以太网接口实现管理接口 的示意图。 参见图 6, 在该方式三中, 所述管理接口可以包括: 集成在 NFC上的、模拟出串行接口的第三以太网控制器和第三物理层模块和第 一适配层单元, 以及集成在 IAC上的、模拟出串行接口的第四以太网控 制器和第四物理层模块和第二适配层单元, 其中,
第一适配层单元,将 NFC的处理器发来的并行管理信息转换为以太 网报文后, 发送至第三以太网控制器, 将第三以太网控制器发来的以太 网报文转换为并行管理信息后发送至 NFC的处理器;
第三以太网控制器, 将第一适配层单元发来的以太网报文发送至第 三物理层模块 , 将第三物理层模块发来的以太网报文发送至第一适配层 单元;
第三物理层模块 , 对第三以太网控制器发来的以太网报文进行物理 层处理后发送至第四物理层模块, 对第四物理层模块发来的以太网报文 进行物理层处理后发送至第三以太网控制器;
第四物理层模块 , 对第三物理层模块发来的以太网报文进行物理层 处理后发送至第四以太网控制器, 对第四以太网控制器发来的以太网报 文进行物理层处理后发送至第三物理层模块;
第四以太网控制器 , 将第四物理层模块发来的以太网报文发送至第 二适配层单元, 将第二适配层单元发来的以太网报文发送至第四物理层 模块; 第二适配层单元, 将 IAC的处理器发来的并行管理信息转换为以太 网报文后, 发送至第四以太网控制器, 将第四以太网控制器发来的以太 网报文转换为并行管理信息后发送至 IAC的处理器。
需要说明的是, 在该方式三中, 管理接口中的第三以太网控制器或 第四以太网控制器可以是本发明为了实现管理接口而新增的以太网控 制器; 或者,如果数据接口和状态信息接口中包括以太网控制器, 那么, 第三以太网控制器或第四以太网控制器可以是数据接口中包括的以太 网控制器、 或状态信息接口中包括的以太网控制器, 即复用于数据接口 中的以太网控制器、 或复用于状态信息接口的以太网控制器。
还需要说明的是,在本发明中所述的串行接口可以是通用异步接收 / 发送器(UART )。
在上述管理接口的三种具体实现方式中, NFC侧的实现方式与 IAC 侧的实现方式完全相同, 比如, NFC中的管理接口采用方式一的串行接 口实现时, IAC中的管理接口也采用方式一的串行接口实现, NFC中的 管理接口采用方式二实现时, IAC中的管理接口也采用方式二实现。 在 实际的业务实现中, 由于方式一和方式二中, NFC最终均是通过串行接 口与 IAC相连, 因此, NFC中管理接口的实现方式与 IAC中管理接口 的实现方式可以不同,如 NFC中管理接口采用上述方式一实现, IAC中 管理接口采用方式二实现,或者, NFC中管理接口采用上述方式二实现, IAC中管理接口采用方式一实现。
最后, 对于状态信息接口:
NFC与 IAC之间的状态信息接口主要是用来传输 NFC与 IAC之间 高级的状态协议控制信息。 并且, 该状态信息接口通常是用于在 NFC 与 IAC建立数据接口通信之后, 在 NFC与 IAC之间传输状态信息。 比 如在 NFC和 IAC建立数据接口连接和管理接口连接之后 , 传输用于表 示 NFC和 IAC当前状态的信息等, 具体地, 可以是作为状态信息的心 跳检测报文、 时钟同步报文、 单板重启通知报文和系统初始值报文中的 任意一个或多个的组合。
比如, 在 NFC与 IAC建立管理接口和数据接口之间的连接后, 为 了检测 IAC是否处于正常状态, NFC需要进行 IAC心跳检测。 NFC对 IAC进行心跳检测有多种实现方式。 比如, NFC与 IAC预先约定用于表 明 IAC未出现异常的心跳检测报文的报文格式和发送间隔。 IAC根据预 先约定的发送间隔, 通过状态信息接口定时发送心跳检测报文, 当 NFC 在预先设定的时间内通过状态信息接口接收到该心跳检测报文, 则可确 定该 IAC未出现异常, 如果未接收到, 则可确定该 IAC出现异常, 从而 可以根据预先设定的指示处理该异常, 如发出报警等。
再如, NFC与 IAC在数据交互之前, 还需要保证 NFC与 IAC的时 钟同步。 为了达到 NFC与 IAC的时钟同步, NFC与 IAC通过状态信息 接口进行时钟同步, 即, NFC通过状态信息接口向 IAC发送预先约定的 时钟同步报文, IAC通过状态信息接口接收 NFC发来的时钟同步报文, 并根据时钟同步报文中携带的 NFC端的当前时间同步本端时钟。
又如, 当 IAC在重启后, 通过状态信息接口将预先约定的重启报文 发送至 NFC, NFC通过状态信息接口将 IAC重启后所需的系统初始值 发送至 IAC, IAC进行重启后的配置系统初始值的过程。
在本发明中, 状态信息接口可以利用本发明自定义的接口来实现, 较佳地, 还可以利用以太网接口来实现。
图 7是在本发明中状态信息接口利用以太网接口实现的示意图。 参 见图 2和图 7,在本发明中, 当 NFC与 IAC连接时所使用的状态信息接 口利用以太网接口实现时,该状态信息接口具体包括: 集成在 NFC上的 第五以太网控制器和第五物理层模块,以及集成在 IAC上的第六以太网 控制器和第六物理层模块, 其中,
第五以太网控制器,接收 NFC的处理器发来的状态信息, 将该状态 信息转换为以太网接口数据后发送至第五物理层模块, 将第五物理层模 块发来的以太网接口数据转换为处理器侧状态信息后发送至 NFC 的处 理器;
第五物理层模块, 对第五以太网控制器发来的以太网接口数据执行 物理层处理后发送至第六物理层模块, 对第六物理层模块发来的以太网 接口数据执行物理层处理后发送至第五以太网控制器;
第六物理层模块, 对第五物理层模块发来的以太网接口数据执行物 理层处理后发送至第六以太网控制器, 对第六以太网控制器发来的以太 网接口数据执行物理层处理后发送至第五物理层模块;
第六以太网控制器, 接收第六物理层模块发来的以太网接口数据, 将该数据转换为处理器侧状态信息后发送至 IAC的处理器,将 IAC的处 理器发来的状态信息转换为以太网接口数据后发送至第六物理层模块。
在 IAC的状态信息接口中,第六以太网控制器可以集成在 IAC的处 理器中 , 或通过 IAC处理器的 PCI、 PCI-X或 PCI Express总线与 IAC 的处理器相连。
参见图 7, 在 NFC中, 第五物理层模块可以与第五以太网控制器相 互独立, 即为 2个独立的器件, 或者, 第五物理层模块也可以集成在第 五以太网控制器中。 同样, 第六物理层模块可以与第六以太网控制器相 互独立, 即为 2个独立的器件, 或者, 第六物理层模块也可以集成在第 六以太网控制器中。
在状态信息接口中, 第五以太网控制器或第六以太网控制器可以是 本发明为了实现状态信息接口而新增的以太网控制器; 或者, 如果数据 接口和管理接口中包括以太网控制器, 那么, 第五以太网控制器或第六 以太网控制器可以是数据接口中包括的以太网控制器、 或管理接口中包 括的以太网控制器, 即复用于数据接口中的以太网控制器、 或复用于管 理接口的以太网控制器。
相应地, 本发明还提出了一种 NFC。 该 NFC 包括: 包括数据转发 单元、 处理器、 NFC侧数据接口、 NFC侧管理接口和 NFC侧状态信息 接口, 其中,
NFC侧数据接口, 将 NFC的数据转发单元发来的数据发送至 IAC, 将 IAC发来的数据发送至 NFC的数据转发单元;
NFC侧管理接口, 将 NFC的处理器发来的管理信息发送至 IAC, 并将 IAC发来的管理信息发送至 NFC的处理器;
NFC 侧状态信息接口, 将 NFC 的处理器发来的状态信息发送至 IAC, 并将 IAC发来的状态信息发送至 NFC的处理器。
与本发明系统中 NFC的实现相同, 所述 NFC侧数据接口包括: 第 一以太网控制器和第一物理层模块, 其中,
第一以太网控制器,接收 NFC的数据转发单元发来的数据, 将该数 据转换为以太网接口数据后发送至第一物理层模块 , 将第一物理层模块 发来的以太网接口数据转换为处理器侧数据后发送至 NFC 的数据转发 单元;
第一物理层模块 , 对第一以太网控制器发来的以太网接口数据执行 物理层处理后发送至 IAC,对 IAC发来的以太网接口数据执行物理层处 理后发送至第一以太网控制器。
在本发明提出的 NFC中,所述第一以太网控制器通过数据转发单元 与 NFC处理器的 PCI、 PCI-X或 PCI Express总线相连。
与本发明系统中 NFC的实现相同, NFC侧管理接口有三种实现方 式: 方式 Al、 所述 NFC侧管理接口为第一串行接口, 将 NFC的处理器 发来的并行管理信息转换为串行管理信息后发送至 IAC,将 IAC发来的 串行管理信息转换为并行管理信息后发送至 NFC的处理器。
方式 Bl、 所述 NFC侧管理接口包括: 模拟出串行接口的第三以太 网控制器、 第三物理层模块和第一适配层单元, 其中,
第一适配层单元,将 NFC的处理器发来的并行管理信息转换为以太 网报文后, 发送至第三以太网控制器, 将第三以太网控制器发来的以太 网报文转换为并行管理信息后发送至 NFC的处理器;
第三以太网控制器, 将第一适配层单元发来的以太网报文发送至第 三物理层模块 , 将第三物理层模块发来的以太网报文发送至第一适配层 单元;
第三物理层模块 , 对第三以太网控制器发来的以太网报文进行物理 层处理后发送至 IAC,对 IAC发来的以太网报文进行物理层处理后发送 至第三以太网控制器。
方式 Cl、 所述 NFC侧管理接口包括第一串行接口和与该第一串行 接口相连的以太网控制器, 第一串行接口通过该以太网控制器与所述处 理器相连, 并且,
所述处理器, 通过与第一串行接口相连的以太网控制器将所述并行 管理信息发送至所述第一串行接口, 并通过与所述第一串行接口相连的 以太网控制器接收所述第一串行接口发来的并行管理信息。
与本发明系统中 NFC的实现相同,所述 NFC侧状态信息接口包括: 第五以太网控制器和第五物理层模块, 其中,
第五以太网控制器,接收 NFC的处理器发来的状态信息, 将该状态 信息转换为以太网接口数据后发送至第五物理层模块, 将第五物理层模 块发来的以太网接口数据转换为处理器侧状态信息后发送至 NFC 的处 理器;
第五物理层模块, 对第五以太网控制器发来的以太网接口数据执行 物理层处理后发送至 IAC,对 IAC发来的以太网接口数据执行物理层处 理后发送至第五以太网控制器。
相应地, 本发明还提出了一种 IAC。 该 IAC包括: 处理器、 IAC侧 数据接口、 IAC侧管理接口和 IAC侧状态信息接口, 其中,
IAC侧数据接口,将 IAC的处理器发来的数据发送至 NFC,将 NFC 发来的数据发送至 IAC的处理器;
IAC侧管理接口, 将 IAC的处理器发来的管理信息发送至 NFC, 并 将 NFC发来的管理信息发送至 IAC的处理器;
IAC侧状态信息接口,将 IAC的处理器发来的状态信息发送至 NFC, 并将 NFC发来的状态信息发送至 IAC的处理器。
与本发明系统中 IAC的实现相同, 所述 IAC侧数据接口包括: 第三 以太网控制器和第三物理层模块, 其中,
第三以太网控制器, 接收 IAC的处理器发来的数据, 将该数据转换 为以太网接口数据后发送至第三物理层模块 , 将第三物理层模块发来的 以太网接口数据转换为处理器侧数据后发送至 IAC的处理器;
第三物理层模块 , 对第三以太网控制器发来的以太网接口数据执行 物理层处理后发送至 NFC, 对 NFC发来的以太网接口数据执行物理层 处理后发送至第三以太网控制器。
与本发明系统中 IAC的实现相同, IAC侧管理接口有三种实现方式: 方式 A2、 所述 IAC侧管理接口为第二串行接口, 将 IAC的处理器 发来的并行管理信息转换为串行管理信息后发送至 NFC, 将 NFC发来 的串行管理信息转换为并行管理信息后发送至 IAC的处理器。
方式 B2、 所述 IAC侧管理接口包括第二串行接口和与该第二串行 接口相连的以太网控制器, 第二串行接口通过该以太网控制器与所述处 理器相连, 并且,
所述处理器, 通过与第二串行接口相连的以太网控制器将所述并行 管理信息发送至所述第二串行接口 , 并通过与所述第二串行接口相连的 以太网控制器接收所述第二串行接口发来的并行管理信息。
方式 C2、 所述 IAC侧管理接口包括: 模拟出串行接口的第四以太 网控制器、 第四物理层模块和第二适配层单元, 其中,
第二适配层单元, 将 IAC的处理器发来的并行管理信息转换为以太 网报文后, 发送至第四以太网控制器, 将第四以太网控制器发来的以太 网报文转换为并行管理信息后发送至 IAC的处理器;
第四以太网控制器, 将第二适配层单元发来的以太网报文发送至第 四物理层模块, 将第四物理层模块发来的以太网报文发送至第二适配层 单元;
第四物理层模块 , 对第四以太网控制器发来的以太网报文进行物理 层处理后发送至 NFC, 对 NFC发来的以太网报文进行物理层处理后发 送至第四以太网控制器。
与本发明系统中 IAC的实现相同, 所述 IAC侧状态信息接口包括: 第六以太网控制器和第六物理层模块, 其中,
第六以太网控制器, 接收 IAC的处理器发来的状态信息, 将该状态 信息转换为以太网接口数据后发送至第六物理层模块, 将第六物理层模 块发来的以太网接口数据转换为处理器侧状态信息后发送至 IAC 的处 理器;
第六物理层模块, 对第六以太网控制器发来的以太网接口数据执行 物理层处理后发送至 NFC, 对 NFC发来的以太网接口数据执行物理层 处理后发送至第六以太网控制器。 在本发明提出的 IAC 中, 所提到的各个以太网控制器可以集成在 IAC的处理器中 ,或通过 IAC处理器的 PCI、 PCI-X或 PCI Express总线 与 IAC的处理器相连。
需要说明的是, 在本发明中, 无论是实现数据接口、 管理接口还是 状态信息接口, 当其中使用了以太网接口即以太网控制器和物理层模块 时, 该以太网接口可以是一个或多个捆绑在一起的 10GE以太网, 当然, 也可以是一个或者多个捆绑在一起 10M、 100M或 1000M以太网。 而所 述的各个物理层模块则可以使用现有的物理层模块芯片, 如 Broadcom 公司的 BCM5461S和 BCM5464SR芯片 , Marvell公司的 88E1145芯片 等。 并且, 本发明中各个物理层模块对接收到的以太网接口数据所进行 的物理层处理与现有技术中以太网接口中的物理层模块所进行的物理 层处理完全相同。

Claims

权利要求书
1、 实现不同部件对接的系统, 其特征在于, 该系统包括: 集成在一 个网络设备中的网络转发部件 NFC、独立业务部件 IAC以及部件连接单 元, 其中, NFC中包括数据转发单元和处理器, IAC中包括处理器, 部 件连接单元包括数据接口、 管理接口和状态信息接口 ,
数据接口 , 将 NFC的数据转发单元发来的数据发送至 IAC的处理 器, 将 IAC的处理器发来的数据发送至 NFC的数据转发单元;
管理接口 , 将 NFC的处理器发来的管理信息发送至 IAC的处理器, 并将 IAC的处理器发来的管理信息发送至 NFC的处理器;
状态信息接口 , 将 NFC的处理器发来的状态信息发送至 IAC的处 理器, 并将 IAC的处理器发来的状态信息发送至 NFC的处理器。
2、 根据权利要求 1所述的系统, 其特征在于, 所述数据接口包括: 集成在 NFC上的第一以太网控制器和第一物理层模块,以及集成在 IAC 上的第二以太网控制器和第二物理层模块, 其中,
第一以太网控制器,接收 NFC的数据转发单元发来的数据,将该数 据转换为以太网接口数据后发送至第一物理层模块 , 将第一物理层模块 发来的以太网接口数据转换为处理器侧数据后发送至 NFC 的数据转发 单元;
第一物理层模块 , 对第一以太网控制器发来的以太网接口数据执行 物理层处理后发送至第二物理层模块 , 对第二物理层模块发来的以太网 接口数据执行物理层处理后发送至第一以太网控制器;
第二物理层模块, 对第一物理层模块发来的以太网接口数据执行物 理层处理后发送至第二以太网控制器, 对第二以太网控制器发来的以太 网接口数据执行物理层处理后发送至第一物理层模块;
第二以太网控制器, 将第二物理层模块发来的以太网接口数据转换 为处理器侧数据后发送至 IAC的处理器,将 IAC的处理器发来的数据转 换为以太网接口数据后发送至第二物理层模块。
3、根据权利要求 1所述的系统, 其特征在于, 所述管理接口包括集 成在 NFC上的第一串行接口和集成在 IAC上的第二串行接口 , 其中 , 第一串行接口 ,将 NFC的处理器发来的并行管理信息转换为串行管 理信息后发送至第二串行接口, 将第二串行接口发来的串行管理信息转 换为并行管理信息后发送至 NFC的处理器;
第二串行接口, 将 IAC的处理器发来的并行管理信息转换为串行管 理信息后发送至第一串行接口, 将第一串行接口发来的串行管理信息转 换为并行管理信息后发送至 IAC的处理器。
4、根据权利要求 3所述的系统, 其特征在于, 当所述串行接口独立 于与其相连的所述处理器时,
所述串行接口通过所述处理器的局部总线 Local Bus与所述处理器 相连, 并通过该 Local Bus接收所述处理器发来的并行管理信息以及向 所述处理器发送并行管理信息。
5、根据权利要求 3所述的系统, 其特征在于, 当所述串行接口独立 于与其相连的所述处理器时,
所述串行接口通过转换单元与所述处理器的 PCI、 PCI-X 或 PCI Express总线相连, 且
转换单元, 接收所述处理器从 PCI、 PCI-X或 PCI Express总线上发 来的并行管理信息, 将该并行管理信息转换为 Local Bus格式的并行管 理信息后发送至串行接口, 将所述串行接口发来的 Local Bus格式的并 行管理信息转换为 PCI、 PCI-X或 PCI Express格式的并行管理信息后发 送至处理器的 PCI、 PCI-X或 PCI Express总线上。
6、根据权利要求 3所述的系统, 其特征在于, 当所述串行接口独立 于与其相连的所述处理器时, 在该串行接口与该处理器之间进一步包括 以太网控制器,该串行接口通过该以太网控制器与该处理器相连,并且, 所述处理器 , 通过与所述串行接口相连的以太网控制器将所述并行 管理信息发送至所述串行接口 , 并通过与所述串行接口相连的以太网控 制器接收所述串行接口发来的并行管理信息。
7、根据权利要求 6所述的系统, 其特征在于, 所述串行接口通过逻 辑电路与所述以太网控制器相连。
8、根据权利要求 7所述的系统, 其特征在于, 所述串行接口和其相 连的以太网控制器中的一个利用数据地址总线复用结构, 另一个利用数 据地址总线分离结构时, 所述逻辑电路为复用器。
9、根据权利要求 6所述的系统, 其特征在于, 所述与串行接口相连 的以太网控制器为: 数据接口中包括的以太网控制器、 或状态信息接口 中包括的以太网控制器、 或新增的以太网控制器。
10、 根据权利要求 9所述的系统, 其特征在于, 当所述与串行接口 相连的以太网控制器为数据接口中包括的以太网控制器、 或状态信息接 口中包括的以太网控制器时,
所述处理器, 进一步在所述串行接口相连的以太网控制器中, 为所 述串行接口和该以太网控制器分配不同的地址空间, 通过为以太网控制 器分配的地址空间接收和发送对应于该以太网控制器的数据, 通过为所 述串行接口分配的地址空间接收和发送对应于串行接口的并行管理信 所述串行接口 , 通过其相连的以太网控制器中为该串行接口分配的 地址空间, 接收和发送并行管理信息;
与所述串行接口相连的以太网控制器, 通过自身中为所述串行接口 分配的地址空间转发 NFC 的处理器与所述串行接口之间的并行管理信
11、 根据权利要求 1或 2所述的系统, 其特征在于, 所述管理接口 包括: 集成在 NFC上的、模拟出串行接口的第三以太网控制器和第三物 理层模块和第一适配层单元, 以及集成在 IAC上的、模拟出串行接口的 第四以太网控制器和第四物理层模块和第二适配层单元, 其中,
第一适配层单元,将 NFC的处理器发来的并行管理信息转换为以太 网报文后, 发送至第三以太网控制器, 将第三以太网控制器发来的以太 网报文转换为并行管理信息后发送至 NFC的处理器;
第三以太网控制器, 将第一适配层单元发来的以太网报文发送至第 三物理层模块 , 将第三物理层模块发来的以太网报文发送至第一适配层 单元;
第三物理层模块 , 对第三以太网控制器发来的以太网报文进行物理 层处理后发送至第四物理层模块, 对第四物理层模块发来的以太网报文 进行物理层处理后发送至第三以太网控制器;
第四物理层模块 , 对第三物理层模块发来的以太网报文进行物理层 处理后发送至第四以太网控制器, 对第四以太网控制器发来的以太网报 文进行物理层处理后发送至第三物理层模块;
第四以太网控制器, 将第四物理层模块发来的以太网报文发送至第 二适配层单元, 将第二适配层单元发来的以太网报文发送至第四物理层 模块;
第二适配层单元,将 IAC的处理器发来的并行管理信息转换为以太 网报文后, 发送至第四以太网控制器, 将第四以太网控制器发来的以太 网报文转换为并行管理信息后发送至 IAC的处理器。
12、根据权利要求 11所述的系统, 其特征在于, 当所述数据接口中 包括集成在 NFC上的第一以太网控制器和第一物理层模块,以及集成在 IAC上的第二以太网控制器和第二物理层模块时,
所述第三以太网控制器与第一以太网控制器集成在一起或相互独 立;
所述第四以太网控制器与第二以太网控制器集成在一起或相互独 立。
13、 根据权利要求 1或 2所述的系统, 其特征在于, 所述状态信息 接口包括: 集成在 NFC上的第五以太网控制器和第五物理层模块, 以及 集成在 IAC上的第六以太网控制器和第六物理层模块, 其中,
第五以太网控制器,接收 NFC的处理器发来的状态信息,将该状态 信息转换为以太网接口数据后发送至第五物理层模块 , 将第五物理层模 块发来的以太网接口数据转换为处理器侧状态信息后发送至 NFC 的处 理器;
第五物理层模块, 对第五以太网控制器发来的以太网接口数据执行 物理层处理后发送至第六物理层模块 , 对第六物理层模块发来的以太网 接口数据执行物理层处理后发送至第五以太网控制器;
第六物理层模块, 对第五物理层模块发来的以太网接口数据执行物 理层处理后发送至第六以太网控制器, 对第六以太网控制器发来的以太 网接口数据执行物理层处理后发送至第五物理层模块;
第六以太网控制器, 接收第六物理层模块发来的以太网接口数据, 将该数据转换为处理器侧状态信息后发送至 IAC的处理器,将 IAC的处 理器发来的状态信息转换为以太网接口数据后发送至第六物理层模块。
14、根据权利要求 13所述的系统, 其特征在于, 所述第六以太网控 制器集成在 IAC的处理器中, 或通过 IAC处理器的 PCI、 PCI-X或 PCI Express总线与 IAC的处理器相连。
15、根据权利要求 13所述的系统, 其特征在于, 当所述数据接口中 包括集成在 NFC上的第一以太网控制器和第一物理层模块,以及集成在 IAC上的第二以太网控制器和第二物理层模块时,
所述第五以太网控制器与第一以太网控制器集成在一起或相互独 立;
所述第六以太网控制器与第二以太网控制器集成在一起或相互独 立。
16、根据权利要求 13所述的系统, 其特征在于, 所述第五以太网控 制器、 第五物理层模块、 第六物理层模块和第六以太网控制器之间交互 作为状态信息的心跳检测报文、 时钟同步报文、 单板重启通知报文和系 统初始值4艮文中的任意一个或多个的组合。
17、 一种 NFC, 其特征在于, 该 NFC包括: 包括数据转发单元、 处理器、 NFC侧数据接口、 NFC侧管理接口和 NFC侧状态信息接口, 其中,
NFC侧数据接口, 将 NFC的数据转发单元发来的数据发送至 IAC, 将 IAC发来的数据发送至 NFC的数据转发单元;
NFC侧管理接口, 将 NFC的处理器发来的管理信息发送至 IAC, 并将 IAC发来的管理信息发送至 NFC的处理器;
NFC 侧状态信息接口, 将 NFC 的处理器发来的状态信息发送至 IAC, 并将 IAC发来的状态信息发送至 NFC的处理器。
18、 根据权利要求 17所述的 NFC, 其特征在于, 所述 NFC侧数据 接口包括: 第一以太网控制器和第一物理层模块, 其中,
第一以太网控制器,接收 NFC的数据转发单元发来的数据,将该数 据转换为以太网接口数据后发送至第一物理层模块 , 将第一物理层模块 发来的以太网接口数据转换为处理器侧数据后发送至 NFC 的数据转发 单元; 第一物理层模块, 对第一以太网控制器发来的以太网接口数据执行 物理层处理后发送至 IAC,对 IAC发来的以太网接口数据执行物理层处 理后发送至第一以太网控制器。
19、 根据权利要求 18所述的 NFC, 其特征在于, 所述第一以太网 控制器通过数据转发单元与 NFC处理器的 PCI、 PCI-X或 PCI Express 总线相连。
20、 根据权利要求 17所述的 NFC, 其特征在于, 所述 NFC侧管理 接口为第一串行接口,将 NFC的处理器发来的并行管理信息转换为串行 管理信息后发送至 IAC,将 IAC发来的串行管理信息转换为并行管理信 息后发送至 NFC的处理器。
21、 根据权利要求 17所述的 NFC, 其特征在于, 所述 NFC侧管理 接口包括: 模拟出串行接口的第三以太网控制器、 第三物理层模块和第 一适配层单元, 其中,
第一适配层单元,将 NFC的处理器发来的并行管理信息转换为以太 网报文后, 发送至第三以太网控制器, 将第三以太网控制器发来的以太 网报文转换为并行管理信息后发送至 NFC的处理器;
第三以太网控制器, 将第一适配层单元发来的以太网报文发送至第 三物理层模块 , 将第三物理层模块发来的以太网报文发送至第一适配层 单元;
第三物理层模块 , 对第三以太网控制器发来的以太网报文进行物理 层处理后发送至 IAC,对 IAC发来的以太网报文进行物理层处理后发送 至第三以太网控制器。
22、 根据权利要求 17所述的 NFC, 其特征在于, 所述 NFC侧管理 接口包括第一串行接口和与该第一串行接口相连的以太网控制器, 第一 串行接口通过该以太网控制器与所述处理器相连, 并且, 所述处理器, 通过与第一串行接口相连的以太网控制器将所述并行 管理信息发送至所述第一串行接口, 并通过与所述第一串行接口相连的 以太网控制器接收所述第一串行接口发来的并行管理信息。
23、 根据权利要求 17所述的 NFC, 其特征在于, 所述 NFC侧状态 信息接口包括: 第五以太网控制器和第五物理层模块, 其中,
第五以太网控制器,接收 NFC的处理器发来的状态信息,将该状态 信息转换为以太网接口数据后发送至第五物理层模块, 将第五物理层模 块发来的以太网接口数据转换为处理器侧状态信息后发送至 NFC 的处 理器;
第五物理层模块, 对第五以太网控制器发来的以太网接口数据执行 物理层处理后发送至 IAC,对 IAC发来的以太网接口数据执行物理层处 理后发送至第五以太网控制器。
24、 一种 IAC, 其特征在于, 该 IAC包括: 处理器、 IAC侧数据接 口、 IAC侧管理接口和 IAC侧状态信息接口, 其中,
IAC侧数据接口,将 IAC的处理器发来的数据发送至 NFC,将 NFC 发来的数据发送至 IAC的处理器;
IAC侧管理接口, 将 IAC的处理器发来的管理信息发送至 NFC, 并 将 NFC发来的管理信息发送至 IAC的处理器;
IAC侧状态信息接口 ,将 IAC的处理器发来的状态信息发送至 NFC, 并将 NFC发来的状态信息发送至 IAC的处理器。
25、 根据权利要求 24所述的 IAC, 其特征在于, 所述 IAC侧数据 接口包括: 第三以太网控制器和第三物理层模块, 其中,
第三以太网控制器, 接收 IAC的处理器发来的数据, 将该数据转换 为以太网接口数据后发送至第三物理层模块 , 将第三物理层模块发来的 以太网接口数据转换为处理器侧数据后发送至 IAC的处理器; 第三物理层模块, 对第三以太网控制器发来的以太网接口数据执行 物理层处理后发送至 NFC, 对 NFC发来的以太网接口数据执行物理层 处理后发送至第三以太网控制器。
26、 根据权利要求 24所述的 IAC, 其特征在于, 所述 IAC侧管理 接口为第二串行接口,将 IAC的处理器发来的并行管理信息转换为串行 管理信息后发送至 NFC, 将 NFC发来的串行管理信息转换为并行管理 信息后发送至 IAC的处理器。
27、 根据权利要求 24所述的 IAC, 其特征在于, 所述 IAC侧管理 接口包括第二串行接口和与该第二串行接口相连的以太网控制器, 第二 串行接口通过该以太网控制器与所述处理器相连, 并且,
所述处理器, 通过与第二串行接口相连的以太网控制器将所述并行 管理信息发送至所述第二串行接口 , 并通过与所述第二串行接口相连的 以太网控制器接收所述第二串行接口发来的并行管理信息。
28、 根据权利要求 24所述的 IAC, 其特征在于, 所述 IAC侧管理 接口包括: 模拟出串行接口的第四以太网控制器、 第四物理层模块和第 二适配层单元, 其中,
第二适配层单元,将 IAC的处理器发来的并行管理信息转换为以太 网报文后, 发送至第四以太网控制器, 将第四以太网控制器发来的以太 网报文转换为并行管理信息后发送至 IAC的处理器;
第四以太网控制器 , 将第二适配层单元发来的以太网报文发送至第 四物理层模块, 将第四物理层模块发来的以太网报文发送至第二适配层 单元;
第四物理层模块 , 对第四以太网控制器发来的以太网报文进行物理 层处理后发送至 NFC, 对 NFC发来的以太网报文进行物理层处理后发 送至第四以太网控制器。
29、 根据权利要求 24所述的 IAC, 其特征在于, 所述 IAC侧状态 信息接口包括: 第六以太网控制器和第六物理层模块, 其中,
第六以太网控制器, 接收 IAC的处理器发来的状态信息, 将该状态 信息转换为以太网接口数据后发送至第六物理层模块, 将第六物理层模 块发来的以太网接口数据转换为处理器侧状态信息后发送至 IAC 的处 理器;
第六物理层模块, 对第六以太网控制器发来的以太网接口数据执行 物理层处理后发送至 NFC, 对 NFC发来的以太网接口数据执行物理层 处理后发送至第六以太网控制器。
30、 根据权利要求 25、 27、 28或 29所述的 IAC, 其特征在于, 所 述以太网控制器集成在 IAC的处理器中, 或通过 IAC处理器的 PCI、 PCI-X或 PCI Express总线与 IAC的处理器相连。
PCT/CN2007/070005 2006-10-17 2007-05-09 Système de mise en oeuvre de l'intégration de différents composants, composant d'acheminement réseau et composant d'application indépendant WO2008046317A1 (fr)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP07721628A EP2045958A4 (en) 2006-10-17 2007-05-09 SYSTEM FOR IMPLEMENTING THE INTEGRATION OF DIFFERENT COMPONENTS, NETWORK TRANSFER COMPONENTS AND INDEPENDENT APPLICATION COMPONENTS
US12/358,427 US20090132727A1 (en) 2006-10-17 2009-01-23 System for connecting different components, network forwarding component and independent application component

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CNB200610140943XA CN100450069C (zh) 2006-10-17 2006-10-17 实现第一部件与第二部件之间通信的系统及部件
CN200610140943.X 2006-10-17
CN200610149862.6 2006-10-27
CNB2006101498626A CN100521690C (zh) 2006-10-27 2006-10-27 实现第一部件与第二部件通信的系统及部件

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US12/358,427 Continuation US20090132727A1 (en) 2006-10-17 2009-01-23 System for connecting different components, network forwarding component and independent application component

Publications (1)

Publication Number Publication Date
WO2008046317A1 true WO2008046317A1 (fr) 2008-04-24

Family

ID=39313612

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2007/070005 WO2008046317A1 (fr) 2006-10-17 2007-05-09 Système de mise en oeuvre de l'intégration de différents composants, composant d'acheminement réseau et composant d'application indépendant

Country Status (3)

Country Link
US (1) US20090132727A1 (zh)
EP (1) EP2045958A4 (zh)
WO (1) WO2008046317A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR3012236B1 (fr) * 2013-10-17 2017-04-14 Proton World Int Nv Procede de routage nfc
CN106789396A (zh) * 2016-11-25 2017-05-31 合肥海亚信息科技有限公司 一种具有监管功能的无线路由系统

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040215819A1 (en) * 2003-02-28 2004-10-28 Fujitsu Limited Apparatus for and method for controlling packet, and computer program product
CN1556633A (zh) * 2003-12-30 2004-12-22 港湾网络有限公司 集成防火墙的路由交换机
CN1649302A (zh) * 2004-01-20 2005-08-03 华为技术有限公司 在网络交换机上处理复杂业务和扩展接口的系统
CN1798043A (zh) * 2004-12-23 2006-07-05 杭州华为三康技术有限公司 利用旁路模式实现流量计费的装置和方法
CN1805410A (zh) * 2006-01-24 2006-07-19 杭州华为三康技术有限公司 具有防火墙功能的交换设备

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6388591B1 (en) * 1999-09-24 2002-05-14 Oak Technology, Inc. Apparatus and method for receiving data serially for use with an advanced technology attachment packet interface (atapi)
US6854072B1 (en) * 2000-10-17 2005-02-08 Continuous Computing Corporation High availability file server for providing transparent access to all data before and after component failover
AU2002237149A1 (en) * 2001-12-30 2003-07-15 Legend (Beijing) Limited. A means and control method for adapting different media of transmission link of network on physical layer.
US7480303B1 (en) * 2005-05-16 2009-01-20 Pericom Semiconductor Corp. Pseudo-ethernet switch without ethernet media-access-controllers (MAC's) that copies ethernet context registers between PCI-express ports

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040215819A1 (en) * 2003-02-28 2004-10-28 Fujitsu Limited Apparatus for and method for controlling packet, and computer program product
CN1556633A (zh) * 2003-12-30 2004-12-22 港湾网络有限公司 集成防火墙的路由交换机
CN1649302A (zh) * 2004-01-20 2005-08-03 华为技术有限公司 在网络交换机上处理复杂业务和扩展接口的系统
CN1798043A (zh) * 2004-12-23 2006-07-05 杭州华为三康技术有限公司 利用旁路模式实现流量计费的装置和方法
CN1805410A (zh) * 2006-01-24 2006-07-19 杭州华为三康技术有限公司 具有防火墙功能的交换设备

Non-Patent Citations (1)

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

Also Published As

Publication number Publication date
US20090132727A1 (en) 2009-05-21
EP2045958A4 (en) 2012-02-15
EP2045958A1 (en) 2009-04-08

Similar Documents

Publication Publication Date Title
US11616696B2 (en) Transparent auto-negotiation of Ethernet
CN102017542B (zh) 将光纤通道网络与基于以太网的网络对接的方法
CN102077194B (zh) 本地主机和管理控制器之间基于网络控制器的传输通信机制
CN101834783B (zh) 一种报文转发方法、装置及网络设备
WO2011076113A1 (zh) 家庭网关上usb设备的访问方法、一种家庭网关和终端
US10331598B2 (en) Adding a network port to a network interface card
WO2011009248A1 (zh) 基于主控板倒换的数据处理方法、线卡及主控板
CN101741849A (zh) 一种传输串口业务数据的方法、系统及设备
JP2007228294A5 (zh)
CN100521690C (zh) 实现第一部件与第二部件通信的系统及部件
WO2012162953A1 (zh) 一种路由器集群的板间通信方法、路由器和路由器集群
WO2008046317A1 (fr) Système de mise en oeuvre de l&#39;intégration de différents composants, composant d&#39;acheminement réseau et composant d&#39;application indépendant
JP2005033296A (ja) プロトコル変換装置
CN101159558B (zh) 一种获取单板标识的方法和装置以及一种单板
WO2015035800A1 (zh) 一种端口状态同步方法、相关设备及系统
WO2011143938A1 (zh) 一种在汇聚链路中进行用户端口管理的方法及系统
WO2011057544A1 (zh) 一种基于802.3ah协议实现点到多点OAM的方法及系统
JP2005244602A (ja) 加入者ユニット冗長システムおよび加入者ユニット冗長方法
JP5365417B2 (ja) 優先制御装置およびそれを用いたネットワークシステム
JP3843923B2 (ja) プリアンブルを利用したデータ交換装置及びスイッチングハブ並びにメディアコンバータ
JP4554102B2 (ja) メディアコンバータシステム
CN219372452U (zh) 基于终端双网卡链路聚合的以太网冗余局域网系统
JP4577670B2 (ja) 通信装置およびデータ送信制御方法
TWM542299U (zh) 乙太網路供電系統
US9094174B2 (en) Bonding engine configured to prevent data packet feedback during a loopback condition

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

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2007721628

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE