04 000159 一种异歩传输模式组网内的业务^^方法 04 000159 A service in a heterogeneous transmission mode network ^^ method
技术领域 Technical field
本发明涉及异步传输模式 (ATM)设备组网内的业务 ^分方法, 特 别涉及一种利用 ATM多播功能实现业务备份并快速检测业务通道故 障的方法。 背景技术 The present invention relates to a method for distributing services in an asynchronous transmission mode (ATM) device network, and in particular, to a method for implementing service backup by using ATM multicast function and quickly detecting a failure of a service channel. Background technique
异步传输模式 (ATM)是一种快速分组交换技术, 其采用固定长度 的数据包, 称为信元。 ATM信元只在有数据传输时才需要带宽, 但 可以提供相当于时分复用器那样的时隙来进行连续的传输。 每一个 ATM 连接都用信元首部中的标号标识。 标号包括虛通道标识符 (Virtual Channel Identifier, 以下简称为 VCI)和虚通路标识符 (Virtual Path Identifier, 以下简称为 VPI)VPIP —条虚通道 (Virtual Channel, 以下简称为 VC)是在两个或两个以上端点之间的一个传送 ATM信元 的通信通路, 而一个虚通路 (Virtual Path, 以下筒称为 VP)是一组具有 相同端点的 VC。 在一个给定的接口, 复用在一个传输净荷上的许多 不同的 VP用它们的 VPI来识别, 而复用在一个 VP中的不同 VC用 它们的 VCI来识别。 Asynchronous Transfer Mode (ATM) is a fast packet switching technology that uses fixed-length data packets called cells. ATM cells need bandwidth only when there is data transmission, but can provide time slots equivalent to time division multiplexers for continuous transmission. Each ATM connection is identified by a label in the cell header. The labels include a virtual channel identifier (Virtual Channel Identifier (hereinafter referred to as VCI)) and a virtual path identifier (Virtual Path Identifier (hereinafter referred to as VPI)) VPI P —a virtual channel (Virtual Channel (hereinafter referred to as VC)) Or a communication path between two or more endpoints to transmit ATM cells, and a virtual path (hereinafter referred to as VP) is a group of VCs with the same endpoint. On a given interface, many different VPs multiplexed on a transmission payload are identified by their VPI, and different VCs multiplexed in a VP are identified by their VCI.
在数据通讯网络中, ATM技术发挥着极为重要的作用, 被广泛 应用于接入、 汇聚和核心交换设备中, 以下将所有基于 ATM技术的 设备称为 ATM交换设备。 ATM设备一般支持多种接口, 如 El、 E3、 STM-1、 STM-4等, ATM设备通过这些接口进行互联以实现自组网, 从而承载视频、 语音、 数据和上网等各种业务。 In data communication networks, ATM technology plays an extremely important role and is widely used in access, aggregation, and core switching equipment. All ATM technology-based devices are hereinafter referred to as ATM switching equipment. ATM equipment generally supports a variety of interfaces, such as El, E3, STM-1, STM-4, and so on. ATM equipment interconnects through these interfaces to realize an ad hoc network, thereby carrying various services such as video, voice, data, and Internet access.
为了保证这些业务的安全可靠, 在组网时, ATM设备的主控单 元和交换网板一般需要采用汉备份设计以保证在承载业务的其中一 条通路出现故障时用另外一路替代。 In order to ensure the safety and reliability of these services, the main control unit and switching network board of the ATM equipment generally need to adopt the Chinese backup design to ensure that when one of the paths carrying services fails, the other one is replaced.
一种已有的业务备份方法是通过路由切换来实现业务保护或接 口备份。 具体而言, 在该方法中, 通过在上下层 ATM设备之间实现
9 An existing service backup method is to implement service protection or interface backup through route switching. Specifically, in this method, it is implemented between the upper and lower ATM devices. 9
-2- -2-
ATM论坛和 ITU-T相关协议 (如 PNNI1.1和 IISP等)对 ATM设备间的 链路状态进行管理, 支持动态路由协议, 并为所有 ATM用户分配地 址, 以支持用户之间的动态呼叫协议。 当需要传送数据时, 源端发起 呼叫以动态申请建立虛连接,而系统根据当前路由信息来选择正常的 接口并向目的端设备发送虚连接请求, 由此, 经过两个 ATM设备间 的协商即可在它们之间建立类似普通 ATM接口上的端到端连接。 当 接口发生故障时, 路由状态将发生变化, 系统释放两个 ATM设备间 当前的虛连接并根据新的路由信息重新在它们之间建立新的连接。 The ATM Forum and related ITU-T protocols (such as PNNI1.1 and IISP) manage the link status between ATM devices, support dynamic routing protocols, and assign addresses to all ATM users to support dynamic calling protocols between users. . When data needs to be transmitted, the source initiates a call to dynamically apply for a virtual connection, and the system selects a normal interface and sends a virtual connection request to the destination device based on the current routing information. Therefore, after negotiation between the two ATM devices, End-to-end connections can be established between them similar to ordinary ATM interfaces. When the interface fails, the routing status will change. The system releases the current virtual connection between the two ATM devices and re-establishes a new connection between them based on the new routing information.
上述方法的缺点是要求所有参与组网的设备都支持 ATM论坛或 ITU-T 的相关协议, 导致实现方式复杂, 而在数字用户线接入模式 (DSLAM)上, 为了降低成本, 很少需要对 SVC/SPVC软件协议提供 支持, 因此该方法不适合用于 DSLAM。 此外, 由于通过软件协商实 现倒换, 所以切换时间长, 不能满足某些承载业务的倒换要求, 例如 在 V5语音业务中就有可能发生断话等故障。 The disadvantage of the above method is that all the devices participating in the networking need to support the relevant protocols of the ATM Forum or ITU-T, resulting in a complicated implementation method. In the digital subscriber line access mode (DSLAM), in order to reduce costs, it is rarely necessary to The SVC / SPVC software protocol provides support, so this method is not suitable for DSLAM. In addition, because the switching is implemented through software negotiation, the switching time is long and cannot meet the switching requirements of some bearer services. For example, in the V5 voice service, failures such as call disconnection may occur.
另一种业务备份方法与上述方法相比, 主要依赖于硬件上的设 计, 它为每块接口板提供备用接口板, 在正常情况下, 只在主用接口 板的接口上收发数据, 备用接口板不处理数据。 而当主用接口板发生 故障或主用接口板上接口发生故障时 ,主用板停止处理数据并设定为 备用板, 而先前的备用板升级为主用板开始收发数据。 也有一种硬件 设计是考虑在一个单板内提供两个互为主备的接口,同一时间内只有 一个接口在收发数据, 当一个接口发生故障时, 数据处理转移至另外 一个接口。 Compared with the above method, another service backup method mainly depends on the design of the hardware. It provides a backup interface board for each interface board. Under normal circumstances, data is transmitted and received only on the interface of the active interface board. The backup interface The board does not process data. When the main interface board fails or the interface on the main interface board fails, the main board stops processing data and sets it as the standby board, and the previous standby board is upgraded to the main board to start sending and receiving data. There is also a hardware design that considers providing two active-standby interfaces in a single board. Only one interface is sending and receiving data at a time. When one interface fails, data processing is transferred to another interface.
上述方法需要对硬件进行特别的设计, 导致成本升高, 而且很难 实现对接口主备和板级主备的同时支持,并且不利于已建网络倒换功 能的升级。 此外, 这种方法只能处理两級 ATM设备间接口故障时的 倒换保换, 在多级 ATM设备的組网中, 对于中间链路和节点的故障 无法进行保护倒换。 The above method requires special design of the hardware, which leads to an increase in cost, and it is difficult to support both the active and standby interfaces and the active and standby boards at the same time, and is not conducive to the upgrade of the built-in network switching function. In addition, this method can only handle the switching guarantee when the interface between two levels of ATM equipment fails. In a multi-level ATM equipment network, protection switching cannot be performed for the failure of intermediate links and nodes.
还有一种接口备份方法是放弃 ATM设备间的自组网功能, 通过
04 000159 Another interface backup method is to abandon the self-organizing network function between ATM devices. 04 000159
一 3— A 3—
传输设备进行组网。 由于这需要新增一套传输设备, 所以成本昂贵, 而且組网也不灵活。 发明内容 本发明的目的是提供一种异步传输模式 (ATM)设备组网内的业 务备份方法, 其具有实现方式筒单但保护功能强的优点。 Transmission equipment is networked. Since this requires a new set of transmission equipment, it is costly and the networking is not flexible. SUMMARY OF THE INVENTION The object of the present invention is to provide a service backup method in an asynchronous transfer mode (ATM) device networking, which has the advantages of simple implementation but strong protection function.
本发明的上述目的通过以下业务备份方法实现: The above object of the present invention is achieved by the following service backup method:
一种异步传输模式 (ATM)组网系统内的业务备份方法, 所述系统 通过为承载业务的虚通道连接提供冗余虚通道连接来实现业务备份, 其中,所述系统按照下列方式建立从一个源端点至若干目的端点的永 久虚连接: A service backup method in an asynchronous transfer mode (ATM) networking system, the system implements service backup by providing a redundant virtual channel connection for a virtual channel connection carrying a service, wherein the system establishes a Permanent virtual connections from source endpoints to several destination endpoints:
将源端点设置为多播连接的根节点; Set the source endpoint as the root node of the multicast connection;
将每个目的端点设置为所述多播连接根节点的叶节点。 Each destination endpoint is set as a leaf node of the root node of the multicast connection.
在上述 ATM组网系统内的业务备份方法中, 所述源端点和目的 端点连接至信元总线以通过总线方式完成 ATM信元的交换。 In the above-mentioned service backup method in the ATM networking system, the source endpoint and the destination endpoint are connected to a cell bus to complete the exchange of ATM cells in a bus manner.
在上述 ATM组网系统内的业务备份方法中, 所述源端点和目的 端点连接至集中式 ATM交换网以通过其完成 ATM信元的交换。 In the above-mentioned service backup method in the ATM networking system, the source endpoint and the destination endpoint are connected to a centralized ATM switching network to complete the exchange of ATM cells through it.
本发明的上述目的还通过以下业务备份方法实现: The above object of the present invention is also achieved by the following service backup method:
一种异步传输模式 (ATM)组网系统内的业务备份方法, 所述系统 通过为承载业务的虚通道连接提供冗余虛通道连接来实现业务备份, 其中,所述系统按照下列方式建立从若干源端点至若干目的端点的永 久虚连接: A service backup method in an asynchronous transfer mode (ATM) networking system, the system implements service backup by providing redundant virtual channel connections for virtual channel connections that carry services, wherein the system establishes Permanent virtual connections from source endpoints to several destination endpoints:
将每个源端点设置为一个多播连接的根节点,将每个目的端点设 置为每个多播连接根节点的叶节点,而且所有多播连接具有相同的虚 通路标识符 (VPI)/虚通道标识符 (VCI)配置和流量参数配置; Set each source endpoint as the root node of a multicast connection, set each destination endpoint as the leaf node of each multicast connection root node, and all multicast connections have the same virtual path identifier (VPI) / virtual Channel identifier (VCI) configuration and traffic parameter configuration;
将其中一个多播连接设置为处于激活状态的主用连接,其余多播 连接则设置为处于非激活状态的备用连接 , One of the multicast connections is set as the active connection in the active state, and the remaining multicast connection is set as the standby connection in the inactive state,
并且, 所述系统按照下列方式改变永久虚连接的状态: And, the system changes the state of the permanent virtual connection in the following manner:
如果当前的主用连接不可用,则通过将其设置于非激活状态并将
其余多播连接中的一个设置于激活状态来实现主用连接的倒换。 在上述 ATM组网系统内的业务备份方法中, 所述源端点和目的 端点连接至信元总线以通过总线方式完成 ATM信元的交换。 If the current active connection is not available, by setting it to inactive and One of the remaining multicast connections is set to the active state to implement the switching of the active connection. In the above-mentioned service backup method in the ATM networking system, the source endpoint and the destination endpoint are connected to a cell bus to complete the exchange of ATM cells in a bus manner.
在上述 ATM组网系统内的业务备份方法中, 所述源端点和目的 端点连接至集中式交换网以通过其完成 ATM信元的交换。 In the above-mentioned service backup method in the ATM networking system, the source endpoint and the destination endpoint are connected to a centralized switching network to complete the exchange of ATM cells through it.
本发明的上述目的还通过以下业务备份方法实现: The above object of the present invention is also achieved by the following service backup method:
一种异步传输模式 (ATM)组网系统内的业务备份方法, 所述系统 通过为承载业务的虚通道连接提供冗余虚通道连接来实现业务备份, 其中,所述系统按照下列方式建立从若干源端点至一个目的端点的永 久虚连接: A service backup method in an asynchronous transfer mode (ATM) networking system, the system implements service backup by providing redundant virtual channel connections for virtual channel connections that carry services, wherein the system establishes A permanent virtual connection from a source endpoint to a destination endpoint:
建立从每个源端点至目的端点的单向单播连接,每条单向单播连 接具有相同的虛通路标识符 (VPI)/虚通道标识符 (VCI)和流量参数; 将其中一条单向单播连接设置为处于激活状态的主用连接,其余 单向单播连接则设置为处于非激活状态的备用连接, Establish a unidirectional unicast connection from each source endpoint to the destination endpoint, each unidirectional unicast connection has the same virtual path identifier (VPI) / virtual channel identifier (VCI) and traffic parameters; one of them is unidirectional Unicast connections are set as the active connection in the active state, and the remaining unidirectional unicast connections are set as the standby connection in the inactive state.
并且, 所述系统按照下列方式改变永久虚连接的状态: 如果当前的主用连接不可用,则通过将其设置为非激活状态并将 其余单向单播连接中的一条设置于激活状态来实现主用连接的倒换。 And, the system changes the status of the permanent virtual connection in the following manner: If the current primary connection is unavailable, it is achieved by setting it to an inactive state and setting one of the remaining unidirectional unicast connections to the active state Switching of the active connection.
在上述 ATM组网系统内的业务备份方法中, 所述源端点和目的 端点连接至信元总线以通过总线方式完成 ATM信元的交换。 In the above-mentioned service backup method in the ATM networking system, the source endpoint and the destination endpoint are connected to a cell bus to complete the exchange of ATM cells in a bus manner.
在上述 ATM组网系统内的业务备份方法中, 所述源端点和目的 端点连接至集中式交换网以通过其完成 ATM信元的交换。 In the above-mentioned service backup method in the ATM networking system, the source endpoint and the destination endpoint are connected to a centralized switching network to complete the exchange of ATM cells through it.
在上述 ATM组网系统内的业务备份方法中 ,对于具有相同工作 / 保护接口的虛连接, 根据 ATM接口上报的物理层告警判断承载主用 连接业务的虚连接是否连通, 对于具有相同工作 /保护虚通路的虛连 接, 根据虚通路上报的 OAM层告警判断承载主用连接业务的虚连接 是否连通。 In the above-mentioned service backup method in the ATM networking system, for virtual connections with the same working / protection interface, it is determined whether the virtual connection carrying the main connection service is connected according to the physical layer alarm reported by the ATM interface. The virtual connection of the virtual channel is to determine whether the virtual connection carrying the main connection service is connected according to the OAM layer alarm reported by the virtual channel.
由上可见, 在本发明的业务备份方法中, ATM组网系统通过适 当配置多播连接或者单向单播连接,可为承载业务提供冗余的虛通道
连接以实现业务备份。 附图说明 It can be seen from the above that in the service backup method of the present invention, the ATM networking system can provide redundant virtual channels for bearer services by properly configuring a multicast connection or a unidirectional unicast connection. Connect for business backup. BRIEF DESCRIPTION OF THE DRAWINGS
通过以下结合附图对本发明较佳实施例的描述,可以进一步理解 本发明的目的、 特征和优点, 其中: The objectives, features, and advantages of the present invention can be further understood through the following description of the preferred embodiments of the present invention with reference to the accompanying drawings, in which:
图 1为按照本发明方法的一个实施例的示意图。 Fig. 1 is a schematic diagram of an embodiment of the method according to the present invention.
图 2为按照本发明方法的另一个实施例的示意图。 具体实施方式 本发明方法的核心思想是通过为承载业务提供冗余的虛通道连 接来实现业务备份, 以下作进一步的阐述。 Fig. 2 is a schematic view of another embodiment of the method according to the present invention. DETAILED DESCRIPTION The core idea of the method of the present invention is to implement service backup by providing redundant virtual channel connections for bearer services, which will be further explained below.
在情形 1中,如果一项业务由一个源端点至一个目的端点的永久 虛连接承载, 为了对目的端点提供业务备份能力, 按照本发明, 除了 该目的端点以外还可增加多个目的端点并在源端点与增加的每个目 的端点之间都建立一条承载该业务的虚通道连接。 ATM技术的多播 功能可以建立起点 -多点的虚通道连接,因此可以被用来实现上述业 务备份能力, 即, 首先将源端点设置为多播连接的根节点, 然后将每 个目的端点设置为所述多播连接根节点的叶节点。 In case 1, if a service is carried by a permanent virtual connection from a source endpoint to a destination endpoint, in order to provide service backup capability to the destination endpoint, according to the present invention, in addition to the destination endpoint, multiple destination endpoints can be added and A virtual channel connection carrying the service is established between the source endpoint and each additional destination endpoint. The multicast function of the ATM technology can establish a starting point-multipoint virtual channel connection, so it can be used to implement the above service backup capability. That is, the source endpoint is first set as the root node of the multicast connection, and then each destination endpoint is set. A leaf node of a root node for the multicast connection.
在情形 2中, 如果一项业务本身为多播业务, 即, 源端点作为根 节点向多个作为其叶节点的目的端点传送业务,为了对源端点提供业 务备份能力, 按照本发明, 除了该源端点以外还可增加多个源端点, 并且将每个源端点都设置为一个多播连接的根节点,将每个目的端点 设置为每个多播连接根节点的叶节点,而且所有多播连接具有相同的 虛通路标识符 (VPI)/虛通道标识符 (VCI)配置和流量参数配置。为了确 保每一时刻仅有一个多播连接在传送业务,应将其中一个多播连接设 置为处于激活状态的主用连接,其余的则设置为处于非激活状态的备 用连接。 如果当前的主用连接不可用, 则通过将其设置于非激活状态 并将其余多播连接中的一个设置于激活状态来实现主用连接的倒换。 In case 2, if a service is a multicast service itself, that is, the source endpoint serves as the root node to transmit services to multiple destination endpoints as its leaf nodes. In order to provide service backup capabilities to the source endpoint, according to the present invention, in addition to the Multiple source endpoints can be added in addition to the source endpoint, and each source endpoint is set as the root node of a multicast connection, each destination endpoint is set as the leaf node of each multicast connection root node, and all multicast Connections have the same Virtual Path Identifier (VPI) / Virtual Channel Identifier (VCI) configuration and traffic parameter configuration. In order to ensure that only one multicast connection is transmitting services at a time, one of the multicast connections should be set as the active connection in the active state, and the rest should be set as the standby connection in the inactive state. If the current active connection is unavailable, the active connection is switched by setting it to the inactive state and setting one of the remaining multicast connections to the active state.
在情形 3中,如果一项业务由一个源端点至一个目的端点的永久
N2004/000159 In case 3, if a service is permanent from a source endpoint to a destination endpoint N2004 / 000159
一 6— A 6-
虚连接承载, 为了对源端点提供业务备份能力, 按照本发明, 除了该 源端点以外还可增加多个源端点,并且建立从每个源端点至目的端点 的单向单播连接, 每条单向单播连接具有相同的虚通路标识符 (VPI)/ 虚通道标识符 (VCI)和流量参数。 为了确保每一时刻仅有一个单播单 向连接在传送业务,应将其中一条单向单播连接设置为处于激活状态 的主用连接, 其余单向单播连接则设置为处于非激活状态的备用连 接。 如果当前的主用连接不可用, 则通过将其设置为非激活状态并将 其余单向单播连接中的一条设置于激活状态来实现主用连接的倒换。 The virtual connection bearer, in order to provide service backup capability to the source endpoint, according to the present invention, in addition to the source endpoint, multiple source endpoints can be added, and a unidirectional unicast connection from each source endpoint to the destination endpoint is established. A unicast connection has the same virtual path identifier (VPI) / virtual channel identifier (VCI) and traffic parameters. In order to ensure that only one unicast unidirectional connection is transmitting services at any time, one of the unidirectional unicast connections should be set as the active primary connection, and the remaining unidirectional unicast connections should be set as inactive. Backup connection. If the current active connection is unavailable, the active connection is switched by setting it to the inactive state and setting one of the remaining unidirectional unicast connections to the active state.
上述情形 1 ~ 3是基本的连接类型, 其它连接类型的业务备份可 以通过将上述方法组合起来实现。 例如对于点 -多点的双向单播连 接, 可以采用情形 1的方法实现点至多点的虛连接的业务备份, 并采 用情形 3的方法实现多点至点的虛连接的业务备份。 The above situations 1 to 3 are the basic connection types. The service backup of other connection types can be realized by combining the above methods. For example, for a point-multipoint two-way unicast connection, the method of case 1 can be used to implement service backup of a point-to-multipoint virtual connection, and the method of case 3 can be used to implement service backup of a multipoint-to-point virtual connection.
以下借助实施例描述利用本发明实现双向单播连接的保护倒换 的两个较佳实施例,其中,第一个实施例用于总线式交换结构的 ATM 设备, 第二个实施例用于集中交换式结构的 ATM设备。 第一实施例 The following describes two preferred embodiments for implementing protection switching of a bidirectional unicast connection by using the embodiments. The first embodiment is used for an ATM device of a bus-type switching structure, and the second embodiment is used for centralized switching. ATM equipment of the type structure. First embodiment
在接入层的 ATM设备中, 一般采用如图 1所示的总线式交换结 构连接, 为了简单起见, 这里假设三块接口板 A、 B、 C基于总线式 交换结构实现 ATM信元的交换,接口板 B和接口板 C提供上行接口 并分别接入到设备一和设备二上, 也就是说, 通过两个上行接口接入 到上层网络中。 In the ATM equipment at the access layer, a bus-type switching structure as shown in FIG. 1 is generally used for connection. For simplicity, it is assumed here that three interface boards A, B, and C implement ATM cell exchange based on the bus-type switching structure. The interface board B and the interface board C provide uplink interfaces and are respectively connected to the first device and the second device, that is, they are connected to the upper-layer network through the two uplink interfaces.
为了使经接口板 A接入的业务通过接口板 B和接口板 C上的两 个上行接口稳定可靠地传送到上层网络 (即设备一和二), 需要为该业 务提供这两个接口间的选择路径。 具体实现方法如下: In order to enable the services accessed through interface board A to be reliably and reliably transmitted to the upper-layer network (that is, devices 1 and 2) through the two uplink interfaces on interface board B and interface board C, it is necessary to provide the service between the two interfaces. Choose a path. The specific implementation method is as follows:
当建立永久虚连接时, 在接口板 A至接口板 B和接口板 C的方 向上, 先建立一条以接口板 A为根节点而以接口板 B为叶节点的多 播连接的根, 然后在这条连接上增加一条到接口板 C的叶子, 即, 将 接口板 C也设置为该多播连接的叶节点。 而在接口板 B和接口板 C
至接口板 A的方向上, 分别从接口板 B至接口板 A和从接口板 C至 接口板 A各建立一条单向单播连接, 这两条连接在源点和目的点使 用相同的 VPI/VCI并且具有相同的流量参数。此外, 为了保证每一时 刻仅有一条连接可用, 应该只激活这两条连接中的一条, 例如这里假 设激活的是接口板 B至接口板 A的单播连接。 When a permanent virtual connection is established, in the direction of interface board A to interface board B and interface board C, a multicast connection root with interface board A as the root node and interface board B as the leaf node is first established, and then A leaf is added to the interface board C on this connection, that is, the interface board C is also set as a leaf node of the multicast connection. And on interface board B and interface board C In the direction to interface board A, establish a unidirectional unicast connection from interface board B to interface board A and from interface board C to interface board A, respectively. These two connections use the same VPI / VCI and have the same flow parameters. In addition, in order to ensure that only one connection is available at any one time, only one of the two connections should be activated. For example, it is assumed here that a unicast connection from interface board B to interface board A is activated.
在这种一条两个叶子的多播连接 +两条单向单播连接的配置下, 接口板 A连接的数据同时发向接口板 B和 C上的连接, 但是接口板 A只从接口板 B接收数据, 由此通过 "双发选收"这种模式实现了与 上行设备的数据传送。 在需要进行倒换时 (例如当接口板 B的连接不 正常或无法接收到数据时),接口板 A至接口板 B和接口板 C的多播 连接并不发生变化, 只需控制接口板 B和接口板 C至接口板 A的两 条单向单播连接的状态即可,具体而言,去激活接口板 B至接口板 A 的单播连接并激活接口板 C至接口板 A的单播连接。 In this configuration of a two-leaf multicast connection + two unidirectional unicast connections, the data connected to interface board A is sent to the connections on interface boards B and C at the same time, but interface board A only sends from interface board B Receiving data, thereby achieving data transmission with the uplink device through the "dual transmission selective reception" mode. When switching is required (for example, when the connection between interface board B is abnormal or data cannot be received), the multicast connection from interface board A to interface board B and interface board C does not change. You only need to control interface board B and The state of the two unidirectional unicast connections from interface board C to interface board A is sufficient. Specifically, deactivate the unicast connection from interface board B to interface board A and activate the unicast connection from interface board C to interface board A. .
为了实现快速倒换, 系统需要及时知道各条虛连接的故障情况, 因此应在本设备和上级设备间支持物理层告警以及操作和管理 (OAM) 告警能力,以根据接口链路和连接上的 OAM告警及时切换单播连接。 In order to achieve fast switching, the system needs to know the fault conditions of each virtual connection in time. Therefore, it is necessary to support the physical layer alarm and the operation and management (OAM) alarm capability between the device and the upper-level device, according to the OAM on the interface link and the connection. Alarms switch unicast connections in a timely manner.
由于一个接口支持的虚通道 (VC)连接较多, 若利用 F5告警信元 来检测各条 VC连接上数据收发的状态,则需要耗用较多的系统资源, 为节省系统资源,可以为具有同样路径和同样业务的 VC连接分配相 同的 VPI, 因此可在设备中仅利用 F4告警信元, 即, 仅对 VP层的 告警进行检测,一旦发现故障,就将该 VP上的所有 VC都进行倒换。 例如可将具有相同工作端口 /保护端口的虛连接归入同一保护組内, 在该組内任意选择一条 VP作为建立 F4 OAM的通道,然后在该 OAM 通道中周期性地 (例如 0.5秒)持续发送 CC信元 (或接收信元)。若在连 续 3个 CC信元发送周期内未收到 CC信元, 则认为保护组故障, 并 将整个保护组的业务从工作路径切换到保护路径上。 Because an interface supports many virtual channel (VC) connections, if the F5 alarm cell is used to detect the status of data transmission and reception on each VC connection, more system resources will be consumed. In order to save system resources, VC connections with the same path and the same service are assigned the same VPI, so only F4 alarm cells can be used in the device, that is, only alarms at the VP layer are detected. Once a fault is found, all VCs on the VP are performed. Switch. For example, virtual connections with the same working port / protected port can be grouped into the same protection group, and a VP can be arbitrarily selected as a channel for establishing F4 OAM, and then periodically (for example, 0.5 seconds) in the OAM channel. Send CC cells (or receive cells). If CC cells are not received within three consecutive CC cell sending cycles, the protection group is considered to be faulty, and the services of the entire protection group are switched from the working path to the protection path.
此外, 还可以采用 1.610、 1.630等相关保护协议来检测物理层的 RLOS/ROF/SD告警、 ATM层的 AIS/RDI告警、设备上的接口、 单板 故障告警, 从而启动业务保护切换。
T N2004/000159 In addition, related protection protocols such as 1.610 and 1.630 can also be used to detect RLOS / ROF / SD alarms at the physical layer, AIS / RDI alarms at the ATM layer, interfaces on the device, and board failure alarms to initiate service protection switching. T N2004 / 000159
一 8一 第二实施例 1 8 1 Second Embodiment
在骨干层和汇聚层设备中, 由于交换容量需求高, 所以一般采用 如图 2 所示的集中式交换结构连接, 为了筒单起见, 这里假设三个 ATM业务处理单元分别经接口板 A、 B、 C和交换网板接入交换网以 实现 ATM信元的交换,接口板 B和 C分别提供工作端口和保护端口。 In the backbone layer and convergence layer equipment, due to the high demand for switching capacity, the centralized switching structure shown in Figure 2 is generally used for connection. For the sake of simplicity, it is assumed that the three ATM business processing units are respectively connected to the interface boards A and B. , C and the switching network board access the switching network to realize the exchange of ATM cells, and the interface boards B and C provide working ports and protection ports respectively.
为了使接口板 A接入的业务通过接口板 B和 C上的两个端口稳 定可靠地传送, 需要为该业务提供两条选择路径。 具体实现方法也可 以采用一条两个叶子的多播连接 +两条单向单播连接的配置,以下作 进一步的描述。 In order for the service accessed by the interface board A to be transmitted stably and reliably through the two ports on the interface boards B and C, two selection paths need to be provided for the service. The specific implementation method can also adopt the configuration of a two-leaf multicast connection + two unidirectional unicast connections, which will be further described below.
当建立永久虚连接时, 在接口板 A至接口板 B和 C的方向上, 先建立一条以接口板 A为根节点而以接口板 B为叶节点的多播连接 的根, 然后在这条连接上增加一条到接口板 C的叶子, 即, 将接口板 C也设置为该多播连接的叶节点。 而在接口板 B和 C至接口板 A的 方向上, 分别从接口板 B至接口板 A和接口板 C至接口板 A各建立 一条单向单播连接, 这两条连接在源点和目的点使用相同的 VPI/VCI 并且具有相同的流量参数。 此外, 为了保证每一时刻仅有一条连接可 用, 应该只激活这两条连接中的一条, 例如这里假设激活的是接口板 When establishing a permanent virtual connection, in the direction of interface board A to interface boards B and C, first establish a root of a multicast connection with interface board A as the root node and interface board B as the leaf node, and then in this section A leaf is added to the interface board C on the connection, that is, the interface board C is also set as a leaf node of the multicast connection. In the direction of interface boards B and C to interface board A, one unidirectional unicast connection is established from interface board B to interface board A and interface board C to interface board A, and these two connections are at the source and destination. Points use the same VPI / VCI and have the same flow parameters. In addition, in order to ensure that only one connection is available at any time, only one of the two connections should be activated. For example, it is assumed here that the interface board is activated.
B至接口板 A的单播连接。 Unicast connection from B to interface board A.
同样, 在运行过程中, 接口板 A连接的数据同时发向接口板 B 和 C上的连接 ,但是接口板 A只从接口板 B接收数据 ,由此通过 "双 发选收" 这种模式 实现了数据的可靠传送。 在需要进行倒换时 (例如 当接口板 B的连接不正常或无法接收到数据时), 接口板 A至接口板 B和 C的多播连接并不发生变化, 只需控制接口板 B和接口板 C至 接口板 A的两条单向单播连接的状态即可, 具体而言, 去激活接口 板 B至接口板 A的单播连接并激活接口板 C至接口板 A的单播连接。 Similarly, during the operation, the data connected to interface board A is sent to the connections on interface boards B and C at the same time, but interface board A only receives data from interface board B, thus implementing the mode of "dual transmission and selective reception". The reliable transmission of data. When switching is required (for example, when the connection of interface board B is abnormal or data cannot be received), the multicast connection from interface board A to interface boards B and C does not change. You only need to control interface board B and interface board The state of the two unidirectional unicast connections from C to interface board A is sufficient. Specifically, the unicast connection from interface board B to interface board A is deactivated and the unicast connection from interface board C to interface board A is activated.
与第一实施例相比,第二实施例也同样应在本设备和上级设备间 支持物理层告警以及操作和管理 (OAM)告警能力,以根据接口链路和 连接上的 OAM告警及时切换单播连接。 而且为节省系统资源, 同样
004 000159 Compared with the first embodiment, the second embodiment should also support the physical layer alarm and the operation and management (OAM) alarm capability between the device and the superior device to switch the order in time according to the OAM alarm on the interface link and connection Broadcast connection. And to save system resources, the same 004 000159
-9- 也可以为具有同样路径和同样业务的 VC连接分配相同的 VPI, 因此 可在设备中仅利用 F4告警信元。 -9- You can also assign the same VPI to VC connections with the same path and the same service, so you can use only F4 alarm cells in the device.
总之, 不管是集中交换式结构还是总线式交换结构, 都可以利用 本发明的方法实现双向单播连接的业务备份,差别仅在于多播复制结 构的不同。对于本领域内普通技术人员来说, 其它连接类型的业务备 份也是如此, 因此不再赘述。 由上可见, 利用本发明的方法无需对 ATM设备的接口硬件作任 何特别设计即可实现接口的保护倒换, 只要 ATM设备支持多播特性 即可, 因此适用范围广泛, 支持的接口类型丰富 (可以支持 E1/T1、 E3/T3、 STM-1/STM-4等各种接口), 可移植性强, 成本低。 In short, no matter whether it is a centralized switching structure or a bus switching structure, the method of the present invention can be used to implement service backup of a bidirectional unicast connection, and the difference lies only in the multicast replication structure. For those of ordinary skill in the art, the same is true for service backups of other connection types, and therefore will not be described again. It can be seen from the above that the method of the present invention can realize the protection switching of the interface without any special design of the interface hardware of the ATM device. As long as the ATM device supports the multicast feature, it can be used in a wide range and has a wide range of supported interface types. Supports various interfaces such as E1 / T1, E3 / T3, STM-1 / STM-4, etc.), with strong portability and low cost.
此外, 本发明的方法不仅可以实现板级和接口级的保护倒换, 而 且还可以实现 VP级的保换倒换, 因此应用范围更广,方式更为灵活, 而且保护功能更强大。 In addition, the method of the present invention can not only realize board-level and interface-level protection switching, but also can implement VP-level protection switching. Therefore, the method has a wider application range, more flexible modes, and more powerful protection functions.
最后, 与采用 SVC等其他软件实现的备份方案相比, 本发明的 技术方案设计筒单,倒换速度快,可以做到在 50ms之内就完成倒换, 因此对承载的各种业务基本没有影响。
Finally, compared with a backup solution implemented by other software such as SVC, the technical solution of the present invention is simple in design, has a fast switching speed, and can complete switching within 50ms, so it has almost no impact on various services carried.