[go: up one dir, main page]

WO2009094914A1 - Bridge system and method for point-to-point link and sharing link - Google Patents

Bridge system and method for point-to-point link and sharing link Download PDF

Info

Publication number
WO2009094914A1
WO2009094914A1 PCT/CN2009/070051 CN2009070051W WO2009094914A1 WO 2009094914 A1 WO2009094914 A1 WO 2009094914A1 CN 2009070051 W CN2009070051 W CN 2009070051W WO 2009094914 A1 WO2009094914 A1 WO 2009094914A1
Authority
WO
WIPO (PCT)
Prior art keywords
point
address
link
bridge
packet
Prior art date
Application number
PCT/CN2009/070051
Other languages
French (fr)
Chinese (zh)
Inventor
Lin Li
Original Assignee
Zte Corporation
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zte Corporation filed Critical Zte Corporation
Publication of WO2009094914A1 publication Critical patent/WO2009094914A1/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/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]

Definitions

  • the present invention relates to the field of computer network communications, and in particular, to a bridge device for inter-network protocol forwarding between a point-to-point link and a shared link, and an implementation method for internet protocol forwarding based thereon.
  • a multi-service access node (MSAN) and a multi-service access gate (MSAG) are next-generation access network devices that provide both voice services and data services.
  • the network management is usually a simple network management protocol (SNMP) based on the Internet Protocol (IP) standard.
  • SNMP network management protocol
  • IP Internet Protocol
  • the traditional access network device is a pure voice service system.
  • Network management is often based on non-standard custom protocols.
  • the access device of the traditional voice-only service is inconsistent with the network management protocol of the MSAN/MSAG, the access device of the traditional voice-only service and the MSAN/MSAG hybrid network are not supported. Instead, the traditional access device and the MSAN are used. /MSAG separates the network, or replaces the traditional access device with the MSAN/MSAG device, and device replacement obviously increases maintenance and investment costs.
  • the voice service is mainly based on the Time Division Multiple (TDM) network, and the E1/T1 interface provided by the transmission system will be physically Each remote access device is connected.
  • the data service is mainly based on Ethernet.
  • the network management mainly adopts a simple network management protocol.
  • Simple network management protocol information and data service information are usually transmitted on the same Ethernet. It is well known that Ethernet based on shared medium is vulnerable to virus infection or malicious attack. In this way, the security of network management information cannot be effectively guaranteed.
  • each remote device on the Ethernet needs to be assigned a public Media Access Control (MAC) address. Because the telecommunication device usually has two boards, the main and the standby, allocate and manage the main and The MAC address of the standby board is increased by the complexity of management and maintenance. If the network management protocol information and the broadband service information are isolated in two independent Ethernet networks, although the security of the network management protocol information can be guaranteed, setting two independent Ethernet networks will greatly increase the investment cost of the equipment.
  • MAC Media Access Control
  • the main object of the present invention is to provide an improved bridge between a point-to-point link and a shared link.
  • a bridge system for point-to-point links and shared links is provided.
  • the bridge system of the point-to-point link and the shared link includes: one or more remote devices and one or more computers, wherein the method further includes: a bridge device that performs a point-to-point with the remote device through the transmission device Connect the link and connect to the shared link of the computer through the Ethernet network.
  • the bridging device includes: a processor, an advanced data link controller, a point-to-point chip, and an Ethernet controller, wherein the processor is connected to the advanced data link controller and the shared link through the bus And the advanced data link controller is connected to the point-to-point chip.
  • the bridging device further includes: a time division multiplexing system switching network for connecting the advanced data link controller and the point to point chip.
  • the remote device includes: a processor, an advanced data link controller, and a point-to-point chip, wherein the processor is connected to the advanced data link controller through the address bus and the data bus, and the advanced data The link controller is connected to a point-to-point chip.
  • the remote device also includes: a time division multiplexing system switching network for connecting the advanced data link controller with the point to point chip.
  • the transmission device includes: a shared link switching network, configured to aggregate and cross connect a plurality of remote devices.
  • the point-to-point link is an E1/T1, HW link or serial interface
  • the shared link is an Ethernet or peripheral component interconnect bus.
  • the point-to-point chip is an E1/T1, HW chip or a serial port chip.
  • a point-to-point link and a shared link bridge are provided.
  • the method for point-to-point link and shared link bridging according to the present invention includes: the bridging device obtaining the public IP address of the remote device and the corresponding point-to-point link from the free address resolution protocol packet sent by the remote device; When receiving the address resolution protocol packet sent by the computer, the bridge device obtains the destination IP address of the address resolution protocol packet, and compares the destination IP address of the address resolution protocol packet with the public IP address of the remote device.
  • the computer obtains the MAC address corresponding to the IP address of the remote device as the MAC address of the bridge device, and sends the IP packet to the bridge device; and the bridge device After receiving the IP packet, the IP packet is forwarded to the remote device through the corresponding point-to-point link to establish an IP channel between the computer and the remote device.
  • the source IP address is a public IP address of the remote device, and the source MAC address is any default value.
  • the free address resolution protocol packet is transmitted to the bridge device through a point-to-point link through a convergence or cross-connection of the transmission device.
  • the source MAC address is a public MAC address of the bridge device
  • the source IP address is a public IP address of the remote device.
  • the source MAC address is a public MAC address of the computer
  • the source IP address is a public IP address of the computer
  • the destination MAC address is a public MAC address of the bridge device
  • the destination IP address is The public IP address of the remote device.
  • the IP protocol between the remote device on the point-to-point link and the computer on the shared link can be securely and reliably transmitted through the bridge device of the point-to-point link and the shared link, thereby Efficient use of existing E1/T1 point-to-point link resources while reducing maintenance and investment costs.
  • Other features and advantages of the invention will be set forth in the description which follows, and The objectives and other advantages of the invention will be realized and attained by the ⁇ RTI
  • the drawings are intended to provide a further understanding of the invention, and are intended to be a part of the description of the invention.
  • FIG. 2 is a flowchart of a method for bridging a point-to-point link and a shared link according to an embodiment of the present invention
  • 3 is a schematic diagram of hardware implementation according to an embodiment of the present invention
  • FIG. 4 is a flow chart of IP protocol forwarding between a remote device on a point-to-point link and a computer on a shared link according to an embodiment of the present invention; .
  • DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention provides a bridge system and method for point-to-point links and shared links, in view of the problem that the SNMP protocol cannot be transmitted in a reliable manner.
  • E1/T1 is a point-to-point, full-duplex coaxial transmission medium.
  • the existing E1/T1 resource transmission SNMP protocol can protect the existing investment of the telecom operator, and can effectively isolate the network management information flow and the service information flow, ensure the reliable transmission of the network management information flow, and can use SNMP.
  • the protocol supports the hybrid networking of access network equipment and integrated access network equipment of traditional pure narrowband services, thereby reducing maintenance and investment costs.
  • FIG. 1 is a block diagram showing a structure of a bridge system of a point-to-point link and a shared link according to an embodiment of the present invention.
  • the system includes: one or more remote devices and one or more computers, and a bridge device, wherein the bridge device connects to the remote device through a point-to-point link through the transmission device, and passes through the Ethernet
  • the network and the computer are connected to the shared link.
  • the transmission device used by the bridging device to connect to the remote device may be a shared link switching network for converging and cross-connecting multiple remote devices.
  • the above point-to-point link may be an E1/T1, HW link or a serial interface, and the shared link may be So Ethernet or peripheral components interconnect bus; point-to-point chip can be E1/T1, HW chip or serial chip.
  • the bridging device bridging device includes: a processor, an advanced data link controller, a point-to-point chip, and an Ethernet controller, wherein the processor is connected to the advanced data link controller and the shared link through the bus, and The advanced data link controller is connected to the point-to-point chip.
  • the bridging device further comprises: a time division multiplexing system switching network for connecting the advanced data link controller and the point to point chip.
  • the remote device remote device includes: a processor, an advanced data link controller, and a point-to-point chip, wherein the processor is connected to the advanced data link controller through the address bus and the data bus, and the advanced data link The path controller is connected to the point-to-point chip.
  • the remote device further comprises: a time division multiplexing system switching network for connecting the advanced data link controller and the point to point chip. 2 is a flow chart showing a method of bridging a point-to-point link and a shared link according to an embodiment of the present invention.
  • Step S202 The bridge device obtains the public IP address of the remote device and the corresponding point-to-point link from the free address resolution protocol packet sent by the remote device.
  • Step S204 the bridge device receives When the address resolution protocol packet sent by the computer is obtained, the destination IP address of the address resolution protocol packet is obtained, and the destination IP address of the address resolution protocol packet is compared with the public IP address of the remote device, and if the two are the same, the address is sent to the computer. Parsing the protocol response packet; step S206, after receiving the address resolution protocol response packet, the computer obtains the MAC address corresponding to the IP address of the remote device as the MAC address of the bridge device, and sends the IP packet to the bridge device; Step S208, the bridge device After receiving the IP packet, the IP packet is forwarded to the remote device through the corresponding point-to-point link to establish an IP channel between the computer and the remote device.
  • the free address resolution protocol packet is transmitted to the bridge device through a point-to-point link through a convergence or cross-connection of the transmission device. The individual data packets are described below.
  • the source IP address is the public IP address of the remote device.
  • the source MAC address is any default value.
  • the source MAC address is the public MAC address of the bridge device
  • the source IP address is the public IP address of the remote device.
  • the source MAC address is the public MAC address of the computer
  • the source IP address is the public IP address of the computer
  • the destination MAC address is the public MAC address of the bridge device
  • the destination IP address is the public address of the remote device. IP address.
  • FIG. 3 shows a hardware implementation schematic diagram of an embodiment of the present invention.
  • the bridging device includes a bridging system 100, a remote system 200, a transmission system 300, an Ethernet network 400, and a computer 500, although only one remote system 200, transmission system 300, Ethernet network 400, and Computer system 500, but there may be more remote systems 200, transmission systems 300, Ethernet networks 400, and computer systems 500 in the system.
  • the bridging system 100 includes a central processing unit (CPU) 110, a high-level data link controller (HDLC) 120, a TDM switching network 130, an El/Tl 140, and an ether. Network controller 150.
  • the CPU 110 connects the HDLC controller 120 and the Ethernet controller 140 via an address, a data bus, and a control signal.
  • the HDLC controller 120 is connected to the E1/T1 chip 140 via the TDM switching network 130.
  • the remote system 200 includes a processor CPU 210, an HDLC controller 220, a TDM switching network 230, and an El/Tl 240.
  • the CPU 210 is connected to the HDLC controller 220 via an address, a data bus, and a control signal, and the HDLC controller 220 is connected to the E1/T1 chip 240 through the TDM switching network 230.
  • the E 1/T 1 interface between the bridge system 100 and the remote system 200 is connected through a transmission system 300, which includes a TDM switching network 310 that can aggregate and cross connect multiple remote systems.
  • the Ethernet controller 150 of the bridge system 100 is coupled to the Ethernet controller 520 of the computer 500 via an Ethernet network 400.
  • Ethernet network 400 For a point-to-point link, only the E1/T1 link is described in this example, but the point-to-point link can also be an HW link, a serial port, or the like.
  • Ethernet it can also be other shared links, such as Peripheral Component Interconnect Special Interest Grou (PCI) bus.
  • PCI Peripheral Component Interconnect Special Interest Grou
  • Some processors in this embodiment may be, for example, a CPU of the MPC8260 series of Freescale, which integrates a multi-channel HDLC controller (MCC) and a fast Ethernet controller. (Fast Ethernet Controller, FCC for short), where MCC supports super channel function, which can realize N* 64bps transmission on logical channels composed of several time slots.
  • Programmable devices such as FPGAs, CPLDs may be used in this embodiment to implement the TDM switching function of the TDM switching network 130/230/330 or the bridging function of the bridge system 110. Some functions in this embodiment may be omitted.
  • the TDM switching network of the bridge device 100, the remote system 200, or the transmission system 300 may be omitted. Some of the functions in this embodiment can also be combined.
  • the bridge device 100 can be inserted into the computer system as an interface card, so that the computer 500 simultaneously assumes the functions of the bridge device 100.
  • 4 is a flow diagram showing IP protocol forwarding between a remote device on a point-to-point link and a computer on a shared link in accordance with an embodiment of the present invention. As shown in FIG. 4, on the basis of the apparatus of the present invention, several main processes of the point-to-point E1/T1 link and the shared link Ethernet bridge device in this example are further described below. Prior to performing the process illustrated in FIG.
  • Step S402 The CPU 210 of the remote system 200 sends a free address resolution protocol (ARP) packet to a logical channel of the HDLC controller 220.
  • ARP free address resolution protocol
  • Step S404 the remote system 200 sends a free ARP packet, and the free ARP packet passes through the transmission system 300 to the bridge system 100.
  • the bridge system learns the IP address of the remote system 200 and the corresponding E1/T1 from the received free ARP packet. Port number and corresponding time slot.
  • the computer 500 sends an ARP packet.
  • the destination IP address is the IP address of the remote system 200.
  • Step S408 after the ARP packet of the network port of the system 100 is bridged, the computer 500 is learned.
  • the IP address and the MAC address, and the destination IP address of the ARP packet is the IP address of the remote system 200 learned by itself, and then the ARP response packet is sent.
  • the source MAC address is the bridge system 100 itself.
  • the MAC address and source IP address are the IP addresses of the remote system 200.
  • Step S410 After receiving the ARP reply packet, the network port of the computer system 500 learns that the MAC address corresponding to the IP address of the remote system 200 is the MAC address of the bridge system 100.
  • Step S412 the computer system 500 sends an IP packet, in which the source MAC is the MAC address of the computer system 500 itself, the source IP address is the IP address of the computer system 500 itself, the destination MAC address is the MAC address of the bridge system 100, and the destination The IP address is the IP address of the remote system 200.
  • Step S414 After the bridge system 100 receives the IP packet sent by the computer 100 as the IP packet of the remote system 200, the bridge system 100 forwards the IP packet to the E1/T1 link corresponding to the remote system 200.
  • Step S416 after receiving the IP packet forwarded by the bridge system 100 to the IP packet of the computer system 500, the remote system 200 learns the MAC address corresponding to the IP address of the computer system 500.
  • Step S418, the remote system 200 sends the IP packet whose destination IP address is the computer system 500 through the E1/T1 interface.
  • Step S422 the computer system 500 receives the remote system 200 forwarded by the bridge system 100.
  • Step S424 the remote system 200 sends the ARP packet whose destination IP is the computer system 500 to the E1/T1 interface.
  • the bridge system 100 receives the ARP packet sent by the remote system 200, and changes the source MAC to itself and forwards it through the network port.
  • the computer system 500 receives the ARP packet forwarded by the bridge system as its own ARP packet, and sends the ARP response packet whose destination IP address is the remote system 200 to the bridge system.
  • step S430 the bridge system receives the ARP response packet sent by the computer system 500 to the remote system 200, and learns the MAC address corresponding to the IP address of the computer system 500, and forwards the MAC address to the remote system 200 through the E1/T1 interface.
  • Step S432 the remote system 200 receives the ARP response packet sent by the computer system 500 forwarded by the bridge system from the E1/T1 interface, and learns the MAC address corresponding to the IP address of the computer system 500.
  • the bridge device 100 is a newly added device
  • the remote system 200, the transmission system 300, the Ethernet network 400, and the computer system 500 are existing resources, so that the existing existing can be effectively protected. investment.
  • the hardware and software functions implemented by the bridge system 100 are relatively simple, and development, implementation, and maintenance are relatively easy. On the point-to-point link, only ARP and IP packets are transmitted, which can improve the bandwidth utilization of the point-to-point link.
  • the point-to-point link ensures secure and reliable transmission between the remote system 200 and the computer system 500.
  • the remote device 200 omits the MAC address allocation and management of the point-to-point link, maintenance costs can be reduced.
  • the above description of the example only relates to IP communication between the remote system 200 and the computer system 500, but the present invention is not limited thereto.
  • a plurality of remote systems 200 may also perform IP communication through a bridge device.
  • IP packets can also be packets in other formats.
  • the IP protocol security between the remote device on the point-to-point link and the computer on the shared link can be realized by the bridge device of the point-to-point link and the shared link.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A bridge system and method for point-to-point link and sharing link. The system comprises: one or more remote devices, one or more computers, and a bridge equipment. The bridge equipment carries out point-to-point connection with the remote device by a transmission device, and carries out sharing link connection with a computer by an Ethernet network.

Description

点到点链路和共享链路的桥接系统及方法  Bridge system and method for point-to-point link and shared link
技术领域 本发明涉及计算机网络通信领域, 具体地, 涉及点到点链路和共享链路 间的网际协议转发的桥接装置和基于此的网际协议转发的实现方法。 背景技术 综合接入设备 ( Multi-Service Access Node, 简称为 MSAN ) 和综合接 入网关 ( Multi-Service Access Gate, 简称为 MSAG ) 是同时提供语音业务和 数据业务的下一代的接入网设备, 其网络管理通常^ ^于网际协议( Internet Protocol , 简称为 IP )标准的简单网络管理十办议 ( Simple Network management Protocol, 简称为 SNMP ), 传统的接入网设备是纯语音业务的系统, 其网络 管理的往往是基于非标准的自定义协议。 因为传统的纯语音业务的接入设备与 MSAN/MSAG的网管管理协议不 统一, 通常不支持传统的纯语音业务的接入设备与 MSAN/MSAG混合组网, 而是采用传统接入设备和 MSAN/MSAG分开组网, 或者将传统接入设备替 换为 MSAN/MSAG设备, 而设备替换显然会增加维护和投资成本。 目前, 电信领域数据业务的主要应用仍然是传统的语音业务, 语音业务 主要是基于时分复用系统 ( Time Division Multiple , 简称为 TDM ) 组网的, 物理上通过传输系统提供的 E1/T1接口将各远端接入设备连接起来。 数据业务主要是基于以太网的, 网络管理主要采用简单网络管理协议, 简单网络管理协议信息和数据业务信息通常在同一个以太网上传输, 众所周 知, 以太网基于共享介质容易受到病毒感染或恶意攻击, 这样网络管理信息 的安全性就无法得到有效的保证。 另外, 需要为以太网上的每个远端设备分 配一个公有的媒体访问控制(Media Access Control, 简称为 MAC )地址, 由 于电信设备通常具有主用和备用两块单板, 分配和管理主用和备用单板的 MAC地址增力口了管理维护的复杂' I·生。 如果将网络管理协议信息和宽带业务信息隔离在两套独立的以太网网 络中, 虽然可以保证网管管理协议信息的安全性, 但是设置两套独立的以太 网网络会大大增加设备的投资成本。 可见, 针对相关技术中存在的无法可靠有效地传输 SNMP协议的问题, 尚未提出有效的解决方案。 发明内容 考虑到相关技术中存在的无法可靠有效地传输 SNMP协议的问题而提 出本发明, 为此, 本发明的主要目的在于, 提供了一种改进的点到点链路和 共享链路的桥接方案, 以解决相关技术中的上述问题。 根据本发明的一个方面, 提供了一种点到点链路和共享链路的桥接系 统。 根据本发明的点到点链路和共享链路的桥接系统包括:一个或多个远端 设备和一个或多个计算机, 其中, 还包括: 桥接装置, 通过传输设备与远端 设备进行点到点链路的连接,并通过以太网络与计算机进行共享链路的连接。 此外, 在该系统中, 桥接装置包括: 处理器、 高级数据链路控制器、 点 到点芯片、 和以太网控制器, 其中, 处理器通过总线与高级数据链路控制器 和共享链路连接, 并且高级数据链路控制器连接至点到点芯片。 其中, 桥接 装置还包括: 时分复用系统交换网, 用于连接高级数据链路控制器与点到点 芯片。 此外, 在该系统中, 远端设备包括: 处理器、 高级数据链路控制器、 和 点到点芯片, 其中, 处理器通过地址总线和数据总线与高级数据链路控制器 连接, 并且高级数据链路控制器与点到点芯片连接。 同时远端设备还包括: 时分复用系统交换网, 用于连接高级数据链路控制器与点到点芯片。 此外, 在该系统中, 传输设备包括: 共享链路交换网, 用于对多个远端 设备进行汇聚和交叉连接。 此外, 在该系统中, 点到点链路为 E1/T1、 HW链路或者串行接口, 以 及共享链路为以太网或者外设部件互联总线。 此外, 在该系统中, 点到点芯片为 E1/T1、 HW芯片或者串口芯片。 根据本发明的另一个方面,提供了一种点到点链路和共享链路桥接的方 根据本发明的点到点链路和共享链路桥接的方法包括:桥接装置从由远 端设备发送的免费地址解析协议包中得到远端设备的公有 IP 地址和对应的 点到点链路; 桥接装置当接收到计算机发送的地址解析协议包时, 获取地址 解析协议包的目的 IP地址, 并将地址解析协议包的目的 IP地址与远端设备 的公有 IP地址进行比较, 如果比较结果相同, 则向计算机发送地址解析协议 应答包; 计算机在接收到地址解析协议应答包之后, 得到远端设备的 IP地址 对应的 MAC地址为桥接装置的 MAC地址, 并向桥接装置发送 IP包; 以及 桥接装置在接收到 IP包之后, 将 IP包通过对应的点到点链路转发到远端设 备, 以建立在计算机和远端设备之间的 IP通道。 此外, 在该方法中, 在免费地址解析协议包中, 源 IP地址为远端设备 自身公有的 IP地址, 源 MAC地址为任一缺省值。 此外, 在该方法中, 免费地址解析协议包通过点到点链路, 经过传输设 备的汇聚或交叉连接传输到桥接装置。 此外, 在该方法中, 在地址解析协议应答包中, 源 MAC地址为桥接装 置自身公有的 MAC地址, 源 IP地址为远端设备的公有 IP地址。 此外,在该方法中,在 IP包中,源 MAC地址为计算机自身公有的 MAC 地址, 源 IP地址为计算机自身公有的 IP地址, 目的 MAC地址为桥接装置 的公有 MAC地址, 以及目的 IP地址为远端设备的公有 IP地址。 通过本发明的上述方面, 通过点到点链路与共享链路的桥接装置, 能够 实现点到点链路上的远端设备和共享链路上的计算机之间的 IP 协议安全可 靠传输, 从而能够有效利用现有的 E1/T1点到点链路资源, 同时降低维护和 投资成本。 本发明的其它特征和优点将在随后的说明书中阐述, 并且, 部分地从说 明书中变得显而易见, 或者通过实施本发明而了解。 本发明的目的和其他优 点可通过在所写的说明书、 权利要求书、 以及附图中所特别指出的结构来实 现和获得。 附图说明 附图用来提供对本发明的进一步理解, 并且构成说明书的一部分, 与本 发明的实施例一起用于解释本发明, 并不构成对本发明的限制。 在附图中: 图 1 是根据本发明实施例的点到点链路和共享链路的桥接系统的结构 示意图; 图 2 是根据本发明实施例的点到点链路和共享链路的桥接方法的流程 图; 图 3是根据本发明实施例的硬件实现原理图; 以及 图 4 是根据本发明实施例的点到点链路上的远端设备与共享链路上的 计算机之间的 IP协议转发的流程图。 具体实施方式 功能相克述 考虑到相关中存在的无法可靠有效地传输 SNMP协议的问题, 本发明 实施例提供了一种点到点链路和共享链路的桥接系统及方法。 电信设备具有 丰富的 E1/T1 资源, E1/T1是一种点到点、 全双工的同轴传输介质。 利用现 有的 E1/T1资源传输 SNMP协议, 既可以保护电信运营商现有的投资, 并且 可以有效隔离网络管理信息流和业务信息流, 能够保证网管管理信息流的可 靠传输,又可以使用 SNMP协议支持传统纯窄带业务的接入网设备和综合接 入网设备的混合组网, 从而可以降低维护和投资成本。 以下结合附图对本发明的优选实施例进行说明, 应当理解, 此处所描述 的优选实施例仅用于说明和解释本发明, 并不用于限定本发明。如果不沖突, 本发明实施例以及实施例中的特征可以相互组合。 图 1 示出了根据本发明实施例的点到点链路和共享链路的桥接系统的 结构示意图。 如图 1所示, 该系统包括: 一个或多个远端设备和一个或多个计算机, 还包括桥接装置,桥接装置通过传输设备与远端设备进行点到点链路的连接, 并通过以太网络与计算机进行共享链路的连接。 桥接装置与远端设备连接所使用的传输设备可以是共享链路交换网,其 用于对多个远端设备进行汇聚和交叉连接。 上述的点到点链路可以是 E1/T1、 HW链路或者串行接口, 共享链路可 以是以太网或者外设部件互联总线; 点到点芯片可以是 E1/T1、 HW 芯片或 者串口芯片。 TECHNICAL FIELD The present invention relates to the field of computer network communications, and in particular, to a bridge device for inter-network protocol forwarding between a point-to-point link and a shared link, and an implementation method for internet protocol forwarding based thereon. A multi-service access node (MSAN) and a multi-service access gate (MSAG) are next-generation access network devices that provide both voice services and data services. The network management is usually a simple network management protocol (SNMP) based on the Internet Protocol (IP) standard. The traditional access network device is a pure voice service system. Network management is often based on non-standard custom protocols. Because the access device of the traditional voice-only service is inconsistent with the network management protocol of the MSAN/MSAG, the access device of the traditional voice-only service and the MSAN/MSAG hybrid network are not supported. Instead, the traditional access device and the MSAN are used. /MSAG separates the network, or replaces the traditional access device with the MSAN/MSAG device, and device replacement obviously increases maintenance and investment costs. At present, the main application of the data service in the telecom field is still the traditional voice service. The voice service is mainly based on the Time Division Multiple (TDM) network, and the E1/T1 interface provided by the transmission system will be physically Each remote access device is connected. The data service is mainly based on Ethernet. The network management mainly adopts a simple network management protocol. Simple network management protocol information and data service information are usually transmitted on the same Ethernet. It is well known that Ethernet based on shared medium is vulnerable to virus infection or malicious attack. In this way, the security of network management information cannot be effectively guaranteed. In addition, each remote device on the Ethernet needs to be assigned a public Media Access Control (MAC) address. Because the telecommunication device usually has two boards, the main and the standby, allocate and manage the main and The MAC address of the standby board is increased by the complexity of management and maintenance. If the network management protocol information and the broadband service information are isolated in two independent Ethernet networks, although the security of the network management protocol information can be guaranteed, setting two independent Ethernet networks will greatly increase the investment cost of the equipment. It can be seen that an effective solution has not been proposed for the problem that the SNMP protocol cannot be reliably and efficiently transmitted in the related art. SUMMARY OF THE INVENTION The present invention has been made in view of the problems in the related art that the SNMP protocol cannot be transmitted reliably and efficiently. To this end, the main object of the present invention is to provide an improved bridge between a point-to-point link and a shared link. The solution to solve the above problems in the related art. According to one aspect of the invention, a bridge system for point-to-point links and shared links is provided. The bridge system of the point-to-point link and the shared link according to the present invention includes: one or more remote devices and one or more computers, wherein the method further includes: a bridge device that performs a point-to-point with the remote device through the transmission device Connect the link and connect to the shared link of the computer through the Ethernet network. Further, in the system, the bridging device includes: a processor, an advanced data link controller, a point-to-point chip, and an Ethernet controller, wherein the processor is connected to the advanced data link controller and the shared link through the bus And the advanced data link controller is connected to the point-to-point chip. The bridging device further includes: a time division multiplexing system switching network for connecting the advanced data link controller and the point to point chip. Further, in the system, the remote device includes: a processor, an advanced data link controller, and a point-to-point chip, wherein the processor is connected to the advanced data link controller through the address bus and the data bus, and the advanced data The link controller is connected to a point-to-point chip. The remote device also includes: a time division multiplexing system switching network for connecting the advanced data link controller with the point to point chip. In addition, in the system, the transmission device includes: a shared link switching network, configured to aggregate and cross connect a plurality of remote devices. In addition, in this system, the point-to-point link is an E1/T1, HW link or serial interface, and the shared link is an Ethernet or peripheral component interconnect bus. In addition, in this system, the point-to-point chip is an E1/T1, HW chip or a serial port chip. According to another aspect of the present invention, a point-to-point link and a shared link bridge are provided. The method for point-to-point link and shared link bridging according to the present invention includes: the bridging device obtaining the public IP address of the remote device and the corresponding point-to-point link from the free address resolution protocol packet sent by the remote device; When receiving the address resolution protocol packet sent by the computer, the bridge device obtains the destination IP address of the address resolution protocol packet, and compares the destination IP address of the address resolution protocol packet with the public IP address of the remote device. If the comparison result is the same, Sending an address resolution protocol response packet to the computer; after receiving the address resolution protocol response packet, the computer obtains the MAC address corresponding to the IP address of the remote device as the MAC address of the bridge device, and sends the IP packet to the bridge device; and the bridge device After receiving the IP packet, the IP packet is forwarded to the remote device through the corresponding point-to-point link to establish an IP channel between the computer and the remote device. In addition, in the method, in the free address resolution protocol packet, the source IP address is a public IP address of the remote device, and the source MAC address is any default value. In addition, in the method, the free address resolution protocol packet is transmitted to the bridge device through a point-to-point link through a convergence or cross-connection of the transmission device. In addition, in the method, in the address resolution protocol response packet, the source MAC address is a public MAC address of the bridge device, and the source IP address is a public IP address of the remote device. In addition, in the method, in the IP packet, the source MAC address is a public MAC address of the computer, the source IP address is a public IP address of the computer, the destination MAC address is a public MAC address of the bridge device, and the destination IP address is The public IP address of the remote device. With the above aspect of the present invention, the IP protocol between the remote device on the point-to-point link and the computer on the shared link can be securely and reliably transmitted through the bridge device of the point-to-point link and the shared link, thereby Efficient use of existing E1/T1 point-to-point link resources while reducing maintenance and investment costs. Other features and advantages of the invention will be set forth in the description which follows, and The objectives and other advantages of the invention will be realized and attained by the <RTI The drawings are intended to provide a further understanding of the invention, and are intended to be a part of the description of the invention. In the drawing: 1 is a schematic structural diagram of a bridge system of a point-to-point link and a shared link according to an embodiment of the present invention; FIG. 2 is a flowchart of a method for bridging a point-to-point link and a shared link according to an embodiment of the present invention; 3 is a schematic diagram of hardware implementation according to an embodiment of the present invention; and FIG. 4 is a flow chart of IP protocol forwarding between a remote device on a point-to-point link and a computer on a shared link according to an embodiment of the present invention; . DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention provides a bridge system and method for point-to-point links and shared links, in view of the problem that the SNMP protocol cannot be transmitted in a reliable manner. Telecom equipment has a wealth of E1/T1 resources, and E1/T1 is a point-to-point, full-duplex coaxial transmission medium. The existing E1/T1 resource transmission SNMP protocol can protect the existing investment of the telecom operator, and can effectively isolate the network management information flow and the service information flow, ensure the reliable transmission of the network management information flow, and can use SNMP. The protocol supports the hybrid networking of access network equipment and integrated access network equipment of traditional pure narrowband services, thereby reducing maintenance and investment costs. The preferred embodiments of the present invention are described in the following with reference to the accompanying drawings, which are intended to illustrate and illustrate the invention. The features of the embodiments of the present invention and the embodiments may be combined with each other if they do not conflict. FIG. 1 is a block diagram showing a structure of a bridge system of a point-to-point link and a shared link according to an embodiment of the present invention. As shown in FIG. 1, the system includes: one or more remote devices and one or more computers, and a bridge device, wherein the bridge device connects to the remote device through a point-to-point link through the transmission device, and passes through the Ethernet The network and the computer are connected to the shared link. The transmission device used by the bridging device to connect to the remote device may be a shared link switching network for converging and cross-connecting multiple remote devices. The above point-to-point link may be an E1/T1, HW link or a serial interface, and the shared link may be So Ethernet or peripheral components interconnect bus; point-to-point chip can be E1/T1, HW chip or serial chip.
(一 ) 桥接装置 桥接装置包括: 处理器、 高级数据链路控制器、 点到点芯片、 和以太网 控制器, 其中, 处理器通过总线与高级数据链路控制器和共享链路连接, 并 且高级数据链路控制器连接至点到点芯片。 优选地, 桥接装置还包括: 时分 复用系统交换网, 用于连接高级数据链路控制器与点到点芯片。 (i) The bridging device bridging device includes: a processor, an advanced data link controller, a point-to-point chip, and an Ethernet controller, wherein the processor is connected to the advanced data link controller and the shared link through the bus, and The advanced data link controller is connected to the point-to-point chip. Preferably, the bridging device further comprises: a time division multiplexing system switching network for connecting the advanced data link controller and the point to point chip.
(二 ) 远端设备 远端设备包括: 处理器、 高级数据链路控制器、 和点到点芯片, 其中, 处理器通过地址总线和数据总线与高级数据链路控制器连接, 并且高级数据 链路控制器与点到点芯片连接。 优选地, 远端设备还包括: 时分复用系统交 换网, 用于连接高级数据链路控制器与点到点芯片。 图 2 示出了根据本发明实施例的点到点链路和共享链路的桥接方法的 流程图。 需要说明的是, 在附图的流程图示出的步骤可以在诸如一组计算机 可执行指令的计算机系统中执行, 并且, 虽然在流程图中示出了逻辑顺序, 但是在某些情况下, 可以以不同于此处的顺序执行所示出或描述的步骤。 如图 2所示, 包括: 步骤 S202 , 桥接装置从由远端设备发送的免费地 址解析协议包中得到远端设备的公有 IP 地址和对应的点到点链路; 步骤 S204 , 桥接装置接收到计算机发送的地址解析协议包时, 获取地址解析协议 包的目的 IP地址, 并将地址解析协议包的目的 IP地址与远端设备的公有 IP 地址进行比较, 如果二者相同, 则向计算机发送地址解析协议应答包; 步骤 S206 , 计算机在接收到地址解析协议应答包之后, 得到远端设备的 IP地址对 应的 MAC地址作为桥接装置的 MAC地址, 并向桥接装置发送 IP包; 步骤 S208 , 桥接装置在接收到 IP包之后, 将 IP包通过对应的点到点链路转发到 远端设备, 以建立在计算机和远端设备之间的 IP通道。 优选地, 在步骤 S202中, 免费地址解析协议包通过点到点链路, 经过 传输设备的汇聚或交叉连接传输到桥接装置。 以下对各个数据包进行描述。 (2) The remote device remote device includes: a processor, an advanced data link controller, and a point-to-point chip, wherein the processor is connected to the advanced data link controller through the address bus and the data bus, and the advanced data link The path controller is connected to the point-to-point chip. Preferably, the remote device further comprises: a time division multiplexing system switching network for connecting the advanced data link controller and the point to point chip. 2 is a flow chart showing a method of bridging a point-to-point link and a shared link according to an embodiment of the present invention. It should be noted that the steps shown in the flowchart of the accompanying drawings may be performed in a computer system such as a set of computer executable instructions, and, although the logical order is shown in the flowchart, in some cases, The steps shown or described may be performed in an order different than that herein. As shown in FIG. 2, the method includes: Step S202: The bridge device obtains the public IP address of the remote device and the corresponding point-to-point link from the free address resolution protocol packet sent by the remote device. Step S204, the bridge device receives When the address resolution protocol packet sent by the computer is obtained, the destination IP address of the address resolution protocol packet is obtained, and the destination IP address of the address resolution protocol packet is compared with the public IP address of the remote device, and if the two are the same, the address is sent to the computer. Parsing the protocol response packet; step S206, after receiving the address resolution protocol response packet, the computer obtains the MAC address corresponding to the IP address of the remote device as the MAC address of the bridge device, and sends the IP packet to the bridge device; Step S208, the bridge device After receiving the IP packet, the IP packet is forwarded to the remote device through the corresponding point-to-point link to establish an IP channel between the computer and the remote device. Preferably, in step S202, the free address resolution protocol packet is transmitted to the bridge device through a point-to-point link through a convergence or cross-connection of the transmission device. The individual data packets are described below.
1. 在免费地址解析协议包中,源 IP地址为远端设备自身公有的 IP地址, 源 MAC地址为任一缺省值。 1. In the free address resolution protocol package, the source IP address is the public IP address of the remote device. The source MAC address is any default value.
2. 在地址解析协议应答包中, 源 MAC 地址为桥接装置自身公有的 MAC地址, 源 IP地址为远端设备的公有 IP地址。 2. In the address resolution protocol response packet, the source MAC address is the public MAC address of the bridge device, and the source IP address is the public IP address of the remote device.
3. 在 IP包中, 源 MAC地址为计算机自身公有的 MAC地址, 源 IP地 址为计算机自身公有的 IP地址, 目的 MAC地址为桥接装置的公有 MAC地 址, 以及目的 IP地址为远端设备的公有 IP地址。 图 3示出了才艮据本发明实施例的硬件实现原理图。 在图 3中, 桥接装置包括桥接系统 100、 远端系统 200、 传输系统 300、 以太网络 400和计算机 500, 尽管在图 3 中只提供了一个远端系统 200、 传 输系统 300、 以太网络 400和计算机系统 500, 但是系统中还可以存在更多 的远端系统 200、 传输系统 300、 以太网络 400和计算机系统 500。 桥接系统 100中包括处理器( Central Processing Unit,简称为 CPU ) 110、 高级数据链路控制器 ( High-Level Data Link Control , 简称为 HDLC ) 120、 TDM交换网 130、 El/Tl 140、 和以太网控制器 150。 CPU 110通过地址、 数 据总线和控制信号连接 HDLC控制器 120和以太网控制器 140, HDLC控制 器 120经过 TDM交换网络 130和 E1/T1芯片 140相连。 远端系统 200中包括处理器 CPU 210、 HDLC控制器 220、 TDM交换 网 230和 El/Tl 240。 CPU 210通过地址、 数据总线和控制信号连接 HDLC 控制器 220, HDLC控制器 220通过 TDM交换网络 230和 E1/T1 芯片 240 相连。 桥接系统 100和远端系统 200之间的 E 1/T 1接口通过传输系统 300相连, 传输系统包括 TDM 交换网络 310, 可以对多个远端系统进行汇聚和交叉连 接。 桥接系统 100的以太网控制器 150通过以太网络 400和计算机 500的以 太网控制器 520相连。 对于点到点链路, 本实例中只描述了 E1/T1链路, 但是点到点链路也可 以是 HW链路、 串口等。 对于以太网, 也可以是其它的共享链路, 例如外设 邵件互连 ( Peripheral Component Interconnect Special Interest Grou , 简称为 PCI ) 总线等。 本实施例中某些处理器, 可以是例如美国飞思卡尔 ( Freescale )公司的 MPC8260 系列的 CPU, 内部集成了多通道 HDLC 控制器 (Multi-Channel Controller, 简称为 MCC )和快速以太网控制器( Fast Ethernet Controller, 简 称为 FCC ), 其中, MCC支持超通道功能, 可以在几个时隙组成的逻辑通道 上实现 N* 64bps的传输。 本实施例中可以使用诸如 FPGA、 CPLD的可编程器件来实现 TDM交 换网络 130/230/330的 TDM交换功能或桥接系统 110的桥接功能。 本实施例中部分功能可以省略, 例如桥接装置 100、 远端系统 200或传 输系统 300的 TDM交换网可以省略。 本实施例中部分功能还可以合并, 例 如桥接装置 100可以作为一个接口卡插入计算机系统中, 这样计算机 500就 同时承担了桥接装置 100的功能。 图 4 示出了才艮据本发明实施例的点到点链路上的远端设备与共享链路 上的计算机之间的 IP协议转发的流程图。 如图 4 所示, 在本发明装置基 上, 以下对本实例中的点到点 E1/T1 链路与共享链路以太网的桥接设备的几个主要流程作进一步的描述。 在进行图 4所示的处理之前, 桥接系统 100、 远端系统 200、 传输系统 300、 以太网络 400和计算机 500的物理连接已完成并且已启动, 远端系统 200通过传输系统 300、 桥接系统 100和以太网络 400与计算机系统 500之 间进行 IP通信。 图 4所示的处理包括以下步骤: 步骤 S402 , 远端系统 200的 CPU 210向 HDLC控制器 220的某个逻辑 通道发送免费地址解析协议 ( Address Request Protocol, 简称为 ARP ) 包; 在该 ARP包中, 源 IP地址为远端系统公有的 IP地址、 源 MAC地址可以是 任意缺省值。 步骤 S404, 远端系统 200发送免费 ARP包, 该免费 ARP包经过传输 系统 300到达桥接系统 100 , 桥接系统从收到的免费 ARP包中学习到远端系 统 200的 IP地址和相应的 E1/T1端口号及相应的时隙。 步骤 S406 , 计算机 500发送 ARP包, 在该 ARP包中, 目的 IP地址为 远端系统 200的 IP地址。 步骤 S408 , 桥接系统 100的网口上述 ARP包后, 学习到计算机 500的 IP地址和 MAC地址, 同时发现该 ARP包的目的 IP地址为自己学习到的远 端系统 200的 IP地址, 则发送 ARP应答包, 在该 ARP应答包中, 源 MAC 地址为桥接系统 100 自身的 MAC地址、 源 IP地址为远端系统 200的 IP地 址。 步骤 S410 , 计算机系统 500的网口接收到 ARP应答包后, 学习到远端 系统 200的 IP地址对应的 MAC地址为桥接系统 100的 MAC地址。 步骤 S412, 计算机系统 500发送 IP包, 在该 IP包中, 源 MAC为计算 机系统 500 自身 MAC地址、 源 IP地址为计算机系统 500 自身的 IP地址、 目的 MAC地址为桥接系统 100的 MAC地址、 目的 IP地址为远端系统 200 的 IP地址。 步骤 S414, 桥接系统 100收到计算机 100发送的目的 IP地址为远端系 统 200的 IP包后, 桥接系统 100转发该 IP包到远端系统 200对应的 E1/T1 链路上。 步骤 S416, 远端系统 200收到桥接系统 100转发的源 IP为计算机系统 500的 IP包后, 也就学习到了计算机系统 500的 IP地址对应的 MAC地址。 步骤 S418 , 远端系统 200通过 E1/T1接口发送目的 IP地址为计算机系 统 500的 IP包。 步骤 S420 , 桥接系统 100从 El/T 1接口接收目的 IP地址为计算机系统 500的 IP包后, 爹改源 MAC地址为自身的 MAC地址, 并通过网口转发给 计算机系统 500。 步骤 S422, 计算机系统 500收到桥接系统 100转发的远端系统 200的3. In the IP packet, the source MAC address is the public MAC address of the computer, the source IP address is the public IP address of the computer, the destination MAC address is the public MAC address of the bridge device, and the destination IP address is the public address of the remote device. IP address. FIG. 3 shows a hardware implementation schematic diagram of an embodiment of the present invention. In FIG. 3, the bridging device includes a bridging system 100, a remote system 200, a transmission system 300, an Ethernet network 400, and a computer 500, although only one remote system 200, transmission system 300, Ethernet network 400, and Computer system 500, but there may be more remote systems 200, transmission systems 300, Ethernet networks 400, and computer systems 500 in the system. The bridging system 100 includes a central processing unit (CPU) 110, a high-level data link controller (HDLC) 120, a TDM switching network 130, an El/Tl 140, and an ether. Network controller 150. The CPU 110 connects the HDLC controller 120 and the Ethernet controller 140 via an address, a data bus, and a control signal. The HDLC controller 120 is connected to the E1/T1 chip 140 via the TDM switching network 130. The remote system 200 includes a processor CPU 210, an HDLC controller 220, a TDM switching network 230, and an El/Tl 240. The CPU 210 is connected to the HDLC controller 220 via an address, a data bus, and a control signal, and the HDLC controller 220 is connected to the E1/T1 chip 240 through the TDM switching network 230. The E 1/T 1 interface between the bridge system 100 and the remote system 200 is connected through a transmission system 300, which includes a TDM switching network 310 that can aggregate and cross connect multiple remote systems. The Ethernet controller 150 of the bridge system 100 is coupled to the Ethernet controller 520 of the computer 500 via an Ethernet network 400. For a point-to-point link, only the E1/T1 link is described in this example, but the point-to-point link can also be an HW link, a serial port, or the like. For Ethernet, it can also be other shared links, such as Peripheral Component Interconnect Special Interest Grou (PCI) bus. Some processors in this embodiment may be, for example, a CPU of the MPC8260 series of Freescale, which integrates a multi-channel HDLC controller (MCC) and a fast Ethernet controller. (Fast Ethernet Controller, FCC for short), where MCC supports super channel function, which can realize N* 64bps transmission on logical channels composed of several time slots. Programmable devices such as FPGAs, CPLDs may be used in this embodiment to implement the TDM switching function of the TDM switching network 130/230/330 or the bridging function of the bridge system 110. Some functions in this embodiment may be omitted. For example, the TDM switching network of the bridge device 100, the remote system 200, or the transmission system 300 may be omitted. Some of the functions in this embodiment can also be combined. For example, the bridge device 100 can be inserted into the computer system as an interface card, so that the computer 500 simultaneously assumes the functions of the bridge device 100. 4 is a flow diagram showing IP protocol forwarding between a remote device on a point-to-point link and a computer on a shared link in accordance with an embodiment of the present invention. As shown in FIG. 4, on the basis of the apparatus of the present invention, several main processes of the point-to-point E1/T1 link and the shared link Ethernet bridge device in this example are further described below. Prior to performing the process illustrated in FIG. 4, the physical connections of the bridge system 100, the remote system 200, the transmission system 300, the Ethernet network 400, and the computer 500 have been completed and started, and the remote system 200 passes through the transmission system 300, the bridge system 100. IP communication is performed between the Ethernet network 400 and the computer system 500. The process shown in FIG. 4 includes the following steps: Step S402: The CPU 210 of the remote system 200 sends a free address resolution protocol (ARP) packet to a logical channel of the HDLC controller 220. The source IP address is the public IP address of the remote system, and the source MAC address can be any default value. Step S404, the remote system 200 sends a free ARP packet, and the free ARP packet passes through the transmission system 300 to the bridge system 100. The bridge system learns the IP address of the remote system 200 and the corresponding E1/T1 from the received free ARP packet. Port number and corresponding time slot. In step S406, the computer 500 sends an ARP packet. In the ARP packet, the destination IP address is the IP address of the remote system 200. Step S408, after the ARP packet of the network port of the system 100 is bridged, the computer 500 is learned. The IP address and the MAC address, and the destination IP address of the ARP packet is the IP address of the remote system 200 learned by itself, and then the ARP response packet is sent. In the ARP response packet, the source MAC address is the bridge system 100 itself. The MAC address and source IP address are the IP addresses of the remote system 200. Step S410: After receiving the ARP reply packet, the network port of the computer system 500 learns that the MAC address corresponding to the IP address of the remote system 200 is the MAC address of the bridge system 100. Step S412, the computer system 500 sends an IP packet, in which the source MAC is the MAC address of the computer system 500 itself, the source IP address is the IP address of the computer system 500 itself, the destination MAC address is the MAC address of the bridge system 100, and the destination The IP address is the IP address of the remote system 200. Step S414: After the bridge system 100 receives the IP packet sent by the computer 100 as the IP packet of the remote system 200, the bridge system 100 forwards the IP packet to the E1/T1 link corresponding to the remote system 200. Step S416, after receiving the IP packet forwarded by the bridge system 100 to the IP packet of the computer system 500, the remote system 200 learns the MAC address corresponding to the IP address of the computer system 500. Step S418, the remote system 200 sends the IP packet whose destination IP address is the computer system 500 through the E1/T1 interface. Step S420: After receiving the IP packet whose destination IP address is the computer system 500 from the El/T1 interface, the bridge system 100 tampers with the source MAC address as its own MAC address, and forwards it to the computer system 500 through the network port. Step S422, the computer system 500 receives the remote system 200 forwarded by the bridge system 100.
IP包。 步骤 S424 , 远端系统 200向 E1/T1接口发送目的 IP为计算机系统 500 的 ARP包。 步骤 S426 ,桥接系统 100收到远端系统 200发送的 ARP包,将源 MAC 改为自身并通过网口转发出去。 步骤 S428 , 计算机系统 500接收到桥接系统转发的目的 IP 为自身的 ARP包, 向桥接系统发送目的 IP为远端系统 200的 ARP应答包。 步骤 S430,桥接系统收到计算机系统 500发送的目的 IP为远端系统 200 的 ARP应答包后, 学习计算机系统 500的 IP地址对应的 MAC地址, 并通 过 E1/T1接口转发给远端系统 200。 步骤 S432, 远端系统 200从 E1/T1接口收到桥接系统转发的计算机系 统 500发送的 ARP应答包, 学习到计算机系统 500的 IP地址对应的 MAC 地址。 如上所述, 在上述实施例中, 除桥接装置 100是新增设备外, 远端系统 200、 传输系统 300、 以太网络 400和计算机系统 500都是现有的资源, 从而 可以有效地保护现有投资。 桥接系统 100实现的硬件和软件功能较为简单, 开发实现和维护较为容易。 在点到点链路上, 只传输 ARP和 IP包, 可以提 高点到点链路的带宽利用率, 点到点链路保证了远端系统 200和计算机系统 500之间的安全可靠传输。同时,因为远端设备 200省略了点到点链路的 MAC 地址分配和管理, 因此可以减少维护成本。 此外,上面的实例描述中只涉及远端系统 200和计算机系统 500之间的 IP通讯, 但本发明并不限于此, 例如多个远端系统 200之间也可以通过桥接 装置进行 IP通讯。 此外, IP包也可以是其它格式的数据包。 综上所述,通过本发明实施例,通过点到点链路与共享链路的桥接装置, 能够实现点到点链路上的远端设备和共享链路上的计算机之间的 IP 协议安 全可靠传输, 能够有效利用现有的 E1/T1点到点链路资源, 同时降低维护和 投资成本。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本 领域的技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和 原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护 范围之内。 IP package. Step S424, the remote system 200 sends the ARP packet whose destination IP is the computer system 500 to the E1/T1 interface. In step S426, the bridge system 100 receives the ARP packet sent by the remote system 200, and changes the source MAC to itself and forwards it through the network port. Step S428, the computer system 500 receives the ARP packet forwarded by the bridge system as its own ARP packet, and sends the ARP response packet whose destination IP address is the remote system 200 to the bridge system. In step S430, the bridge system receives the ARP response packet sent by the computer system 500 to the remote system 200, and learns the MAC address corresponding to the IP address of the computer system 500, and forwards the MAC address to the remote system 200 through the E1/T1 interface. Step S432, the remote system 200 receives the ARP response packet sent by the computer system 500 forwarded by the bridge system from the E1/T1 interface, and learns the MAC address corresponding to the IP address of the computer system 500. As described above, in the above embodiment, except that the bridge device 100 is a newly added device, the remote system 200, the transmission system 300, the Ethernet network 400, and the computer system 500 are existing resources, so that the existing existing can be effectively protected. investment. The hardware and software functions implemented by the bridge system 100 are relatively simple, and development, implementation, and maintenance are relatively easy. On the point-to-point link, only ARP and IP packets are transmitted, which can improve the bandwidth utilization of the point-to-point link. The point-to-point link ensures secure and reliable transmission between the remote system 200 and the computer system 500. At the same time, since the remote device 200 omits the MAC address allocation and management of the point-to-point link, maintenance costs can be reduced. In addition, the above description of the example only relates to IP communication between the remote system 200 and the computer system 500, but the present invention is not limited thereto. For example, a plurality of remote systems 200 may also perform IP communication through a bridge device. In addition, IP packets can also be packets in other formats. In summary, with the embodiment of the present invention, the IP protocol security between the remote device on the point-to-point link and the computer on the shared link can be realized by the bridge device of the point-to-point link and the shared link. Reliable transmission enables efficient use of existing E1/T1 point-to-point link resources while reducing maintenance and investment costs. The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims

权 利 要 求 书 Claim
1. 一种点到点链路和共享链路的桥接系统, 包括: 一个或多个远端设备和 一个或多个计算机, 其特征在于, 还包括: A bridge system for a point-to-point link and a shared link, comprising: one or more remote devices and one or more computers, further comprising:
桥接装置, 通过传输设备与所述远端设备进行点到点链路的连接, 并通过以太网络与所述计算机进行共享链路的连接。  The bridging device performs a point-to-point link connection with the remote device through the transmission device, and performs a connection of the shared link with the computer through the Ethernet network.
2. 根据权利要求 1所述的桥接系统, 其特征在于, 所述桥接装置包括: 处 理器、 高级数据链路控制器、 点到点芯片、 和以太网控制器, 其中, 所 述处理器通过总线与所述高级数据链路控制器和所述共享链路连接, 并 且所述高级数据链路控制器连接到所述点到点芯片。 2. The bridge system according to claim 1, wherein the bridge device comprises: a processor, a high-level data link controller, a point-to-point chip, and an Ethernet controller, wherein the processor passes A bus is coupled to the advanced data link controller and the shared link, and the advanced data link controller is coupled to the point to point chip.
3. 根据权利要求 2所述的桥接系统, 其特征在于, 所述桥接装置还包括: 时分复用系统交换网, 用于连接所述高级数据链路控制器与所述点到点 芯片。 The bridge system according to claim 2, wherein the bridge device further comprises: a time division multiplexing system switching network, configured to connect the advanced data link controller and the point to point chip.
4. 根据权利要求 1所述的桥接系统, 其特征在于, 所述远端设备包括: 处 理器、 高级数据链路控制器、 和点到点芯片, 其中, 所述处理器通过总 线与所述高级数据链路控制器连接, 并且所述高级数据链路控制器与所 述点到点芯片连接。 The bridge system according to claim 1, wherein the remote device comprises: a processor, a high-level data link controller, and a point-to-point chip, wherein the processor is connected to the bus through the bus An advanced data link controller is coupled and the advanced data link controller is coupled to the point to point chip.
5. 根据权利要求 4所述的桥接系统, 其特征在于, 所述远端设备还包括: 时分复用系统交换网, 用于连接所述高级数据链路控制器与所述点到点 芯片。 The bridge system according to claim 4, wherein the remote device further comprises: a time division multiplexing system switching network, configured to connect the advanced data link controller and the point to point chip.
6. 才艮据权利要求 1所述的桥接系统, 其特征在于, 所述传输设备包括: 共 享链路交换网, 用于对多个所述远端设备进行汇聚和交叉连接。 The bridge system according to claim 1, wherein the transmission device comprises: a shared link switching network, configured to aggregate and cross connect the plurality of remote devices.
7. 根据权利要求 1至 6中任一项所述的桥接系统, 其特征在于, 所述点到 点链路为 E1/T1、 HW链路或者串行接口, 以及所述共享链路为以太网 或者外设部件互联总线。 The bridge system according to any one of claims 1 to 6, wherein the point-to-point link is an E1/T1, HW link or a serial interface, and the shared link is an Ethernet Network or peripheral component interconnect bus.
8. 根据权利要求 1至 6中任一项所述的桥接系统, 其特征在于, 所述点到 点芯片为 E1/T1、 HW芯片、 或者串口芯片。 The bridge system according to any one of claims 1 to 6, wherein the point-to-point chip is an E1/T1, an HW chip, or a serial port chip.
9. 一种利用权利要求 1至 6中任一项所述的桥接系统实现点到点链路和共 享链路桥接的方法, 其特征在于, 包括: A method for implementing a point-to-point link and a shared link bridging by using the bridging system according to any one of claims 1 to 6, characterized in that it comprises:
桥接装置从由远端设备发送的免费地址解析协议包中得到所述远 端设备的公有 IP地址和对应的点到点链路;  The bridging device obtains the public IP address of the remote device and the corresponding point-to-point link from the free address resolution protocol packet sent by the remote device;
所述桥接装置接收到计算机发送的地址解析协议包时,获取所述地 址解析协议包的目的 IP地址, 并将所述地址解析协议包的目的 IP地址 与所述远端设备的公有 IP地址进行比较, 如果比较结果相同, 则向所述 计算机发送地址解析协议应答包;  When the bridging device receives the address resolution protocol packet sent by the computer, the bridging device obtains the destination IP address of the address resolution protocol packet, and performs the destination IP address of the address resolution protocol packet with the public IP address of the remote device. Comparing, if the comparison result is the same, sending an address resolution protocol response packet to the computer;
所述计算机在接收到所述地址解析协议应答包之后,得到所述远端 设备的 IP地址对应的 MAC地址为所述桥接装置的 MAC地址, 并向所 述桥接装置发送 IP包; 以及  After receiving the address resolution protocol response packet, the computer obtains a MAC address corresponding to the IP address of the remote device as a MAC address of the bridge device, and sends an IP packet to the bridge device;
所述桥接装置在接收到所述 IP包之后, 将所述 IP包通过对应的点 到点链路转发到所述远端设备, 以建立在所述计算机和所述远端设备之 间的 IP通道。  After receiving the IP packet, the bridging device forwards the IP packet to the remote device through a corresponding point-to-point link to establish an IP between the computer and the remote device aisle.
10. 根据权利要求 9所述的方法, 其特征在于, 在所述免费地址解析协议包 中, 源 IP地址为所述远端设备自身公有的 IP地址, 源 MAC地址为任一 缺省值。 The method according to claim 9, wherein in the free address resolution protocol packet, the source IP address is a public IP address of the remote device, and the source MAC address is any default value.
11. 根据权利要求 9所述的方法, 其特征在于, 所述免费地址解析协议包通 过点到点链路, 经过传输设备的汇聚或交叉连接传输到所述桥接装置。 The method according to claim 9, wherein the free address resolution protocol packet is transmitted to the bridge device via a point-to-point link through a convergence or cross-connection of a transmission device.
12. 根据权利要求 9所述的方法, 其特征在于, 在所述地址解析协议应答包 中, 源 MAC地址为所述桥接装置自身公有的 MAC地址, 源 IP地址为 所述远端设备的公有 IP地址。 The method according to claim 9, wherein in the address resolution protocol response packet, the source MAC address is a public MAC address of the bridge device, and the source IP address is a public device of the remote device. IP address.
13. 才艮据权利要求 9所述的方法, 其特征在于, 在所述 IP包中, 源 MAC地 址为所述计算机自身公有的 MAC地址, 源 IP地址为所述计算机自身公 有的 IP地址, 目的 MAC地址为所述桥接装置的公有 MAC地址, 以及 目的 IP地址为所述远端设备的公有 IP地址。 13. The method according to claim 9, wherein in the IP packet, the source MAC address is a public MAC address of the computer, and the source IP address is a public IP address of the computer. The destination MAC address is the public MAC address of the bridge device, and the destination IP address is the public IP address of the remote device.
PCT/CN2009/070051 2008-01-25 2009-01-07 Bridge system and method for point-to-point link and sharing link WO2009094914A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200810007041.8 2008-01-25
CN2008100070418A CN101222409B (en) 2008-01-25 2008-01-25 P2P link and sharing link bridging connection system and method thereof

Publications (1)

Publication Number Publication Date
WO2009094914A1 true WO2009094914A1 (en) 2009-08-06

Family

ID=39631997

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2009/070051 WO2009094914A1 (en) 2008-01-25 2009-01-07 Bridge system and method for point-to-point link and sharing link

Country Status (2)

Country Link
CN (1) CN101222409B (en)
WO (1) WO2009094914A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101222409B (en) * 2008-01-25 2010-12-08 中兴通讯股份有限公司 P2P link and sharing link bridging connection system and method thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1496641A (en) * 2000-09-29 2004-05-12 Method for connecting data terminal equipment to a data network
CN101026535A (en) * 2007-03-14 2007-08-29 北京映翰通网络技术有限公司 Bridging method and device
CN101222409A (en) * 2008-01-25 2008-07-16 中兴通讯股份有限公司 P2P link and sharing link bridging connection system and method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1496641A (en) * 2000-09-29 2004-05-12 Method for connecting data terminal equipment to a data network
CN101026535A (en) * 2007-03-14 2007-08-29 北京映翰通网络技术有限公司 Bridging method and device
CN101222409A (en) * 2008-01-25 2008-07-16 中兴通讯股份有限公司 P2P link and sharing link bridging connection system and method thereof

Also Published As

Publication number Publication date
CN101222409A (en) 2008-07-16
CN101222409B (en) 2010-12-08

Similar Documents

Publication Publication Date Title
US10003405B2 (en) Data over cable service interface specification (DOCSIS) over passive optical network (PON)
JP4738901B2 (en) VLANID dynamic allocation method and packet transfer apparatus
CN101175034B (en) Packet forwarding apparatus having gateway load distribution function
US8121126B1 (en) Layer two (L2) network access node having data plane MPLS
US8155114B2 (en) Access device and method for communication between master shelf and slave shelf
US8160448B2 (en) Communication system using passive optical network and passive optical network
JP5094675B2 (en) Communication system using optical passive network and optical passive network
WO2020063991A1 (en) Pon network, method and apparatus for pon network and robot system
WO2008017270A1 (en) Method and device and system of ethernet supporting source specific multicast forwarding
TW201145853A (en) Methods and apparatus for extending MAC control messages in EPON
WO2008080314A1 (en) A method, forwarding engine and communication device for message acces control
US20090225660A1 (en) Communication device and operation management method
WO2014206144A1 (en) Optical network unit, and communications system and method
WO2014194760A1 (en) Onu, communications system, and onu communications method
WO2006122502A1 (en) A transmission method for message in layer 2 and an access device
CN102594802B (en) Method and system for low-latency networking
WO2015070614A1 (en) Method and device for detecting connectivity of user side interfaces of l2vpn
CN101188510A (en) Method, device and system for centralized address control
WO2011020361A1 (en) Method for administrating optical access nodes and optical access node thereof
WO2007104201A1 (en) A method for forwarding message in the service tunnel of the ethernet application and a system thereof
WO2009094914A1 (en) Bridge system and method for point-to-point link and sharing link
WO2015014167A1 (en) Method for processing raw ip packet, and corresponding apparatus
CN102055598A (en) Method and system for realizing point-to-multipoint OAM of 802.3ah protocol
WO2022161288A1 (en) Traffic sending method and apparatus, and system and storage medium
CN116054929A (en) business protection system

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 09706418

Country of ref document: EP

Kind code of ref document: A1