[go: up one dir, main page]

CN103795563B - A kind of control method and device of DCN passages - Google Patents

A kind of control method and device of DCN passages Download PDF

Info

Publication number
CN103795563B
CN103795563B CN201210431860.1A CN201210431860A CN103795563B CN 103795563 B CN103795563 B CN 103795563B CN 201210431860 A CN201210431860 A CN 201210431860A CN 103795563 B CN103795563 B CN 103795563B
Authority
CN
China
Prior art keywords
dcn
gateway
active
domain
standby
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210431860.1A
Other languages
Chinese (zh)
Other versions
CN103795563A (en
Inventor
毛彗岩
孙晓淀
何德鑫
郭政华
吴菲菲
崔腾涛
张德利
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Group Beijing Co Ltd
Original Assignee
China Mobile Group Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Group Beijing Co Ltd filed Critical China Mobile Group Beijing Co Ltd
Priority to CN201210431860.1A priority Critical patent/CN103795563B/en
Publication of CN103795563A publication Critical patent/CN103795563A/en
Application granted granted Critical
Publication of CN103795563B publication Critical patent/CN103795563B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明公开了一种DCN通道的控制方法及装置,用以解决现有技术中当主用网关出现故障时,其所在的DCN域中的PTN网元脱管时间较长,恢复管理的速度较慢的问题。该方法备用网关对连接的每个DCN域中的主用网关进行探测,当探测到至少一个主用网关出现故障时,开启自身至出现故障的主用网关所在的DCN域的DCN通道,关闭自身至未出现故障的主用网关所在的DCN域的DCN通道。上述方法由备用网关对各主用网关进行探测,并根据探测结果控制各DCN通道的开启或关闭,而无需人工定位脱管的PTN网元,也无需人工恢复对脱管PTN网元的管理,因此有效的缩短了脱管PTN网元的脱管时间,提高了对脱管PTN网元恢复管理的速度。

The invention discloses a DCN channel control method and device, which are used to solve the problem that in the prior art, when the main gateway fails, the PTN network element in the DCN domain where it is located takes a long time to be out of control, and the recovery management speed is slow The problem. In this method, the standby gateway detects the active gateways in each connected DCN domain, and when at least one active gateway is detected to be faulty, it opens its own DCN channel to the DCN domain where the failed active gateway is located, and closes itself The DCN channel to the DCN domain where the active gateway that is not faulty resides. In the above method, the standby gateway detects each active gateway, and controls the opening or closing of each DCN channel according to the detection result, without manually locating the detached PTN network element, and without manually restoring the management of the detached PTN network element. Therefore, the detachment time of the detachable PTN network element is effectively shortened, and the recovery and management speed of the detachable PTN network element is improved.

Description

一种DCN通道的控制方法及装置A control method and device for a DCN channel

技术领域technical field

本发明涉及通信领域,尤其涉及一种DCN通道的控制方法及装置。The present invention relates to the communication field, in particular to a DCN channel control method and device.

背景技术Background technique

目前,在分组传送网(Packet Transport Network,PTN)中,一般通过位于汇聚层的网管服务器对位于接入层的各PTN网元进行管理,如图1所示。Currently, in a packet transport network (Packet Transport Network, PTN), the network elements of the PTN at the access layer are generally managed by a network management server at the aggregation layer, as shown in FIG. 1 .

图1为现有技术中的PTN组网结构示意图,在图1中共有10个PTN网元,分别为PTN网元1~10,这10个网元位于PTN网络的接入层。网管服务器位于PTN网络的汇聚层。主用网关1、主用网关2、备用网关位于接入层和汇聚层的交界处,用于为网管服务器以及各PTN网元转发数据通信网络(Data Communication Network,DCN)消息。FIG. 1 is a schematic diagram of a PTN network structure in the prior art. In FIG. 1, there are 10 PTN network elements, namely PTN network elements 1-10, and these 10 network elements are located at the access layer of the PTN network. The network management server is located at the aggregation layer of the PTN network. The active gateway 1, the active gateway 2, and the standby gateway are located at the junction of the access layer and the aggregation layer, and are used to forward data communication network (Data Communication Network, DCN) messages for the network management server and each PTN network element.

在图1中,主用网关1下挂接了PTN网元1~5,其中,顺序连接的PTN网元1~3构成一个接入链,或称为接入环,顺序连接的PTN网元4、5也构成一个接入链。挂接在该主用网关1下的PTN网元1~5以及主用网关1构成一个DCN域,或称为管理域,记为第一DCN域。主用网关1用于在挂接到其自身下的所有PTN网元(主用网关1自身连接的第一DCN域中的PTN网元1~5)与汇聚层的网管服务器之间转发DCN消息,使网管服务器通过主用网关1管理PTN网元1~5。In Figure 1, PTN network elements 1 to 5 are attached to the main gateway 1, among which, sequentially connected PTN network elements 1 to 3 form an access chain, or called an access ring, and sequentially connected PTN network elements 4 and 5 also constitute an access chain. The PTN network elements 1-5 attached to the active gateway 1 and the active gateway 1 form a DCN domain, or called a management domain, which is denoted as the first DCN domain. The active gateway 1 is used to forward DCN messages between all PTN network elements attached to itself (the PTN network elements 1~5 in the first DCN domain to which the active gateway 1 itself is connected) and the network management server at the aggregation layer , so that the network management server manages PTN network elements 1 to 5 through the primary gateway 1.

类似的,主用网关2下挂接了PTN网元6~10,其中,PTN网元6~8构成一个接入链,PTN网元9、10构成一个接入链。挂接在主用网关2下的PTN网元6~10以及主用网关2构成一个DCN域,记为第二DCN域。主用网关2用于在挂接到其自身下的所有PTN网元(主用网关2自身连接的第二DCN域中的PTN网元6~10)与汇聚层的网管服务器之间转发DCN消息,使网管服务器通过主用网关2管理PTN网元6~10。Similarly, PTN network elements 6-10 are connected to the primary gateway 2, wherein PTN network elements 6-8 form an access link, and PTN network elements 9 and 10 form an access link. The PTN network elements 6-10 attached to the active gateway 2 and the active gateway 2 form a DCN domain, which is recorded as the second DCN domain. The active gateway 2 is used to forward DCN messages between all the PTN network elements attached to itself (the PTN network elements 6~10 in the second DCN domain connected to the active gateway 2 itself) and the network management server at the aggregation layer , so that the network management server manages the PTN network elements 6-10 through the active gateway 2.

而同时与上述两个DCN域相连的备用网关则用于当主用网关1出现故障时,代替主用网关1为PTN网元1~5与网管服务器转发DCN消息,或者当主用网关2出现故障时,代替主用网关2为PTN网元6~10与网管服务器转发DCN消息。The backup gateway connected to the above two DCN domains at the same time is used to replace the active gateway 1 to forward DCN messages for PTN network elements 1~5 and the network management server when the active gateway 1 fails, or when the active gateway 2 fails , instead of the primary gateway 2 to forward the DCN message for the PTN network elements 6-10 and the network management server.

然而,无论是主用网关还是备用网关,其自身的处理能力是有限的,因此能够挂接在主用网关或备用网关下的PTN网元的数量也是有限的,例如,可以挂接在主用网关或备用网关下的PTN网元的数量最多均是64个。However, whether it is the active gateway or the standby gateway, its own processing capability is limited, so the number of PTN network elements that can be attached to the active gateway or the standby gateway is also limited. For example, it can be attached to the active The maximum number of PTN network elements under the gateway or standby gateway is 64.

而在如图1所示的PTN网络中,备用网关同时与第一DCN域和第二DCN域相连,如果这两个DCN域中包含的PTN网元的数量均较多,例如均为50个,则为了避免备用网关下挂接的PTN网元的数量超过其最大挂接网元数量64,现有技术中通常是将备用网关至第一DCN域的DCN通道关闭,或者将备用网关至第二DCN域的DCN通道关闭,也即,只开启备用网关至一个DCN域的DCN通道。In the PTN network shown in Figure 1, the standby gateway is connected to the first DCN domain and the second DCN domain at the same time, if the number of PTN network elements contained in the two DCN domains is large, for example, 50 , then in order to prevent the number of PTN network elements attached to the backup gateway from exceeding the maximum number of 64 connected network elements, in the prior art, the DCN channel from the backup gateway to the first DCN domain is usually closed, or the backup gateway is connected to the first DCN domain. The DCN channel of the second DCN domain is closed, that is, only the DCN channel from the standby gateway to one DCN domain is opened.

但是,采用现有技术中的方法只开启备用网关中的一个DCN通道时,如果处于关闭状态的DCN通道所连接的DCN域中的主用网关出现故障,则会出现没有任何网关可以为该DCN域中的PTN网元转发DCN消息的情况,此时,该DCN域中的所有PTN网元就会脱管。However, when using the method in the prior art to open only one DCN channel in the standby gateway, if the active gateway in the DCN domain connected to the closed DCN channel fails, there will be no If the PTN network elements in the domain forward the DCN message, all the PTN network elements in the DCN domain will be disconnected.

例如,在图1所示的PTN网络中,只开启备用网关至第一DCN域的DCN通道,关闭备用网关至第二DCN域的DCN通道,如果此时主用网关2出现故障,则会由于备用网关至第二DCN域的DCN通道已被关闭而出现第二DCN域中的所有PTN网元(PTN网元6~10)脱管的情况,也即,网管服务器无法管理第二DCN域中的所有PTN网元。For example, in the PTN network shown in Figure 1, only the DCN channel from the standby gateway to the first DCN domain is opened, and the DCN channel from the standby gateway to the second DCN domain is closed. The DCN channel from the standby gateway to the second DCN domain has been closed, and all PTN network elements (PTN network elements 6~10) in the second DCN domain are out of management, that is, the network management server cannot manage the All PTN network elements.

此时,现有技术中只能人工的对脱管PTN网元进行定位,并通过网管服务器开启备用网关中连接第二DCN域的DCN通道,以恢复对第二DCN域中PTN网元的管理,这就会导致第二DCN域中PTN网元脱管的时间较长,恢复管理的速度较慢。At this time, in the prior art, the detached PTN network element can only be manually located, and the DCN channel connected to the second DCN domain in the standby gateway is opened through the network management server to restore the management of the PTN network element in the second DCN domain , which will lead to a longer time for the PTN network element in the second DCN domain to be out of management, and a slower recovery management speed.

发明内容Contents of the invention

本发明实施例提供一种DCN通道的控制方法及装置,用以解决现有技术中当主用网关出现故障时,其所在的DCN域中的PTN网元脱管时间较长,恢复管理的速度较慢的问题。Embodiments of the present invention provide a DCN channel control method and device, which are used to solve the problem that in the prior art, when the primary gateway fails, the PTN network element in the DCN domain where it is located takes a long time to be out of control, and the speed of recovery management is relatively slow. slow problem.

本发明实施例提供一种DCN通道的控制方法,包括:An embodiment of the present invention provides a DCN channel control method, including:

备用网关对连接的每个DCN域中的主用网关进行探测;并the standby gateway probes the active gateway in each connected DCN domain; and

当探测到连接的至少一个DCN域中的主用网关出现故障时,开启所述备用网关自身至出现故障的主用网关所在的DCN域的DCN通道,关闭所述备用网关自身至未出现故障的主用网关所在的DCN域的DCN通道。When it is detected that the active gateway in at least one connected DCN domain fails, open the DCN channel from the standby gateway itself to the DCN domain where the failed active gateway is located, and close the standby gateway itself to the non-faulty DCN channel of the DCN domain where the active gateway resides.

本发明实施例提供一种DCN通道的控制方法,包括:An embodiment of the present invention provides a DCN channel control method, including:

主用网关接收备用网关发送的探测询问消息;并The active gateway receives the probe inquiry message sent by the standby gateway; and

向所述备用网关返回探测响应消息,使所述备用网关确定所述主用网关未出现故障,其中,当所述备用网关确定连接的至少一个DCN域中的主用网关出现故障时,开启所述备用网关自身至出现故障的主用网关所在的DCN域的DCN通道,关闭所述备用网关自身至未出现故障的主用网关所在的DCN域的DCN通道。returning a detection response message to the backup gateway, so that the backup gateway determines that the active gateway is not faulty, wherein, when the standby gateway determines that the active gateway in at least one connected DCN domain is faulty, it starts the The DCN channel from the standby gateway itself to the DCN domain where the failed active gateway is located, and close the DCN channel from the standby gateway itself to the DCN domain where the active gateway is not failed.

本发明实施例提供一种DCN通道的控制装置,包括:An embodiment of the present invention provides a control device for a DCN channel, including:

探测模块,用于对连接的每个DCN域中的主用网关进行探测;A detection module, configured to detect the active gateway in each connected DCN domain;

控制模块,用于当探测到连接的至少一个DCN域中的主用网关出现故障时,开启自身至出现故障的主用网关所在的DCN域的DCN通道,关闭自身至未出现故障的主用网关所在的DCN域的DCN通道。The control module is used to open the DCN channel of itself to the DCN domain where the failed active gateway is located when detecting that the active gateway in at least one connected DCN domain fails, and close itself to the active active gateway that has not failed The DCN channel of the DCN domain where it is located.

本发明实施例提供一种主用网关,包括:An embodiment of the present invention provides a primary gateway, including:

接收模块,用于接收备用网关发送的探测询问消息;A receiving module, configured to receive a detection inquiry message sent by the backup gateway;

发送模块,用于向所述备用网关返回探测响应消息,使所述备用网关确定所述主用网关未出现故障,其中,当所述备用网关确定连接的至少一个数据通信网络DCN域中的主用网关出现故障时,开启所述备用网关自身至出现故障的主用网关所在的DCN域的DCN通道,关闭所述备用网关自身至未出现故障的主用网关所在的DCN域的DCN通道。A sending module, configured to return a detection response message to the standby gateway, so that the standby gateway determines that the active gateway is not faulty, wherein, when the standby gateway determines that the active gateway in the connected at least one data communication network DCN domain When the gateway fails, open the DCN channel from the standby gateway itself to the DCN domain where the failed active gateway is located, and close the DCN channel from the standby gateway itself to the DCN domain where the active gateway does not fail.

本发明实施例提供一种DCN通道的控制方法及装置,该方法备用网关对连接的每个DCN域中的主用网关进行探测,当探测到至少一个DCN域中的主用网关出现故障时,开启自身至出现故障的主用网关所在的DCN域的DCN通道,关闭自身至未出现故障的主用网关所在的DCN域的DCN通道。由于上述方法由备用网关对各主用网关进行探测,并根据探测结果及时的控制备用网关自身至各DCN域的DCN通道的开启或关闭,而无需人工定位脱管的PTN网元,也无需人工恢复对脱管PTN网元的管理,因此有效的缩短了脱管PTN网元的脱管时间,提高了对脱管PTN网元恢复管理的速度。Embodiments of the present invention provide a method and device for controlling a DCN channel. In the method, the standby gateway detects the active gateway in each connected DCN domain, and when a failure of the active gateway in at least one DCN domain is detected, Open the DCN channel from itself to the DCN domain where the failed active gateway is located, and close the DCN channel from itself to the DCN domain where the active active gateway that has not failed occurs. In the above method, the standby gateway detects each active gateway, and controls the opening or closing of the DCN channel from the standby gateway itself to each DCN domain in a timely manner according to the detection results, without manually locating the detached PTN network element, and without manual The management of the detached PTN network element is restored, thus effectively shortening the detachment time of the detached PTN network element and improving the speed of recovery management of the detached PTN network element.

附图说明Description of drawings

图1为现有技术中的PTN组网结构示意图;FIG. 1 is a schematic diagram of a PTN networking structure in the prior art;

图2为本发明实施例提供的DCN通道控制过程;Fig. 2 is the DCN channel control process provided by the embodiment of the present invention;

图3为本发明实施例提供的DCN通道的详细控制过程;Fig. 3 is the detailed control process of the DCN channel provided by the embodiment of the present invention;

图4为本发明实施例提供的DCN通道的控制装置结构示意图;FIG. 4 is a schematic structural diagram of a control device for a DCN channel provided by an embodiment of the present invention;

图5为本发明实施例提供的主用网关结构示意图。FIG. 5 is a schematic structural diagram of a primary gateway provided by an embodiment of the present invention.

具体实施方式detailed description

由于现有技术中为了避免备用网关下挂接的PTN网元的数量超过其最大挂接网元数量,通常只开启备用网关至一个DCN域的DCN通道,但如果处于关闭状态的DCN通道所连接的DCN域中的主用网关出现故障,则该DCN域中的所有PTN网元就会脱管,而此时现有技术中只能通过人工对脱管PTN网元进行定位,再人工通过网管服务器开启处于关闭状态的DCN通道的方式来恢复对脱管PTN网元的管理,因此脱管PTN网元的脱管时间较长,对脱管PTN网元恢复管理的速度较慢。本发明实施例由备用网关主动的对各主用网关进行探测,当探测到至少一个主用网关出现故障时,开启自身至出现故障的主用网关所在的DCN域的DCN通道,关闭自身至未出现故障的主用网关所在的DCN域的DCN通道,而无需人工对脱管PTN网元进行定位,也无需人工恢复对脱管PTN网元的管理,因此可以缩短脱管PTN网元的脱管时间,提高对脱管OTN网元恢复管理的速度。In order to prevent the number of PTN network elements attached to the standby gateway from exceeding the maximum number of connected network elements in the prior art, usually only the DCN channel from the standby gateway to a DCN domain is opened, but if the closed DCN channel is connected to If the active gateway in the DCN domain fails, all the PTN network elements in the DCN domain will be unmanaged. At this time, the existing technology can only manually locate the unmanaged PTN network elements, and then manually pass through the network management system. The server restores the management of the off-management PTN NE by opening the closed DCN channel. Therefore, the off-management time of the off-management PTN NE is long, and the speed of restoring management on the off-management PTN NE is slow. In the embodiment of the present invention, the standby gateway actively detects each active gateway. When at least one active gateway is detected to be faulty, it opens its own DCN channel to the DCN domain where the failed active gateway is located, and closes itself to the unused gateway. The DCN channel of the DCN domain where the faulty primary gateway is located does not need to manually locate the unmanaged PTN NE, and does not need to manually restore the management of the unmanaged PTN NE, so the unmanagement of the unmanaged PTN NE can be shortened Time, improve the recovery management speed of OTN network elements that are detached.

下面结合说明书附图对本发明实施例进行详细描述。Embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.

图2为本发明实施例提供的DCN通道控制过程,具体包括以下步骤:Fig. 2 is the DCN channel control process provided by the embodiment of the present invention, which specifically includes the following steps:

S201:备用网关对连接的每个DCN域中的主用网关进行探测。S201: The standby gateway detects the active gateway in each connected DCN domain.

在本发明实施例中,由备用网关主动的对连接的每个DCN域中的主用网关进行探测,用以探测连接的每个DCN域中的主用网关是否出现故障。具体方法可以为:备用网关针对连接的每个DCN域中的主用网关,基于与该主用网关在汇聚层中的连接关系,按照设定的时间间隔,向该主用网关发送探测询问消息,并判断是否在设定的时间长度内接收到该主用网关返回的探测响应消息,若是,则确定探测到该主用网关未出现故障,否则,确定探测到该主用网关出现故障。In the embodiment of the present invention, the standby gateway actively detects the active gateway in each connected DCN domain, so as to detect whether the active gateway in each connected DCN domain fails. The specific method may be as follows: the standby gateway sends a detection query message to the active gateway at a set time interval based on the connection relationship with the active gateway in the aggregation layer in each connected DCN domain , and determine whether the detection response message returned by the active gateway is received within the set time length, if yes, then determine that the active gateway is not faulty, otherwise, determine that the active gateway is detected to be faulty.

其中,备用网关向主用网关发送的探测询问消息具体可以是预先定义的IFONLINE_MSG消息,该IFONLINE_MSG消息中可携带该备用网关的标识信息、待发送至的该主用网关的标识信息、消息类型信息。主用网关向备用网关返回的探测响应消息具体可以是预先定义的ONLINE_MAG消息,该ONLINE_MAG消息中可携带该主用网关的标识信息、待返回至的该备用网关的标识信息、以及消息类型信息。Wherein, the detection query message sent by the standby gateway to the active gateway may specifically be a predefined IFONLINE_MSG message, and the IFONLINE_MSG message may carry the identification information of the standby gateway, the identification information of the active gateway to be sent to, and the message type information . The detection response message returned by the active gateway to the standby gateway may specifically be a predefined ONLINE_MAG message, and the ONLINE_MAG message may carry the identification information of the active gateway, the identification information of the standby gateway to be returned, and message type information.

例如,仍以图1所示的PTN网络为例进行说明,由于备用网关与主用网关1和主用网关2在汇聚层具有直连关系,因此,备用网关针对第一DCN域(包括PTN网元1~5以及主用网关1)中的主用网关1,基于与该主用网关1在汇聚层中的直连关系,按照设定的时间间隔向主用网关1发送IFONLINE_MSG消息,类似的,针对第二DCN域(包括PTN网元6~10以及主用网关2)中的主用网关2,基于与该主用网关2在汇聚层中的直连关系,也按照设定的时间间隔向主用网关2发送IFONLINE_MSG消息。For example, the PTN network shown in Figure 1 is still used as an example for illustration. Since the standby gateway is directly connected to the active gateway 1 and the active gateway 2 at the aggregation layer, the standby Based on the direct connection relationship with the active gateway 1 in the aggregation layer, the active gateway 1 in the elements 1~5 and the active gateway 1) sends the IFONLINE_MSG message to the active gateway 1 according to the set time interval, similar , for the primary gateway 2 in the second DCN domain (including PTN network elements 6~10 and the primary gateway 2), based on the direct connection relationship with the primary gateway 2 in the aggregation layer, also according to the set time interval Send an IFONLINE_MSG message to active gateway 2.

对于主用网关1而言,如果主用网关1未出现故障,则主用网关1接收到探测询问消息(IFONLINE_MSG消息)后,会向备用网关返回ONLINE_MAG消息(探测响应消息),以使备用网关获知该主用网关1未出现故障,如果主用网关1出现故障,则主用网关1就不会向备用网关返回ONLINE_MAG消息。因此,备用网关可以判断是否在设定的时间长度内接收到主用网关1返回的ONLINE_MAG消息,若是,则确定主用网关1未出现故障,否则,确定主用网关1出现故障。For the active gateway 1, if the active gateway 1 is not faulty, the active gateway 1 will return the ONLINE_MAG message (probe response message) to the standby gateway after receiving the probe query message (IFONLINE_MSG message), so that the standby gateway Knowing that the active gateway 1 is not faulty, if the active gateway 1 fails, the active gateway 1 will not return the ONLINE_MAG message to the standby gateway. Therefore, the standby gateway can determine whether the ONLINE_MAG message returned by the active gateway 1 is received within a set period of time, and if so, it is determined that the active gateway 1 is not faulty, otherwise, it is determined that the active gateway 1 is faulty.

类似的,对于主用网关2,备用网关同样判断是否在设定的时间长度内接收到主用网关2返回的ONLINE_MAG消息,若是,则确定主用网关2未出现故障,否则,确定主用网关2出现故障。Similarly, for the active gateway 2, the standby gateway also judges whether it receives the ONLINE_MAG message returned by the active gateway 2 within the set time length, and if so, determines that the active gateway 2 is not faulty, otherwise, determines that the active gateway 2 is not faulty. 2 malfunctioned.

S202:当探测到连接的至少一个DCN域中的主用网关出现故障时,开启备用网关自身至出现故障的主用网关所在的DCN域的DCN通道,关闭备用网关自身至未出现故障的主用网关所在的DCN域的DCN通道。S202: When it is detected that the active gateway in at least one of the connected DCN domains fails, open the DCN channel from the standby gateway itself to the DCN domain where the failed active gateway is located, and close the standby gateway itself to the unfailed active DCN channel of the DCN domain where the gateway resides.

在本发明实施例中,备用网关在探测到其连接的至少一个DCN域中的主用网关出现故障时,说明出现故障的主用网关所在的DCN域中的所有PTN网元均脱管,此时需要由该备用网关为出现故障的主用网关所在的DCN域中的PTN网元转发DCN消息,以使位于汇聚层的网管服务器可以通过该备用网关继续管理PTN网元。因此,备用网关开启自身至出现故障的主用网关所在的DCN域的DCN通道,为该出现故障的主用网关所在的DCN域中的PTN网元转发DCN消息,以恢复网管服务器对该DCN域中PTN网元的管理。In the embodiment of the present invention, when the standby gateway detects that the active gateway in at least one DCN domain to which it is connected fails, it indicates that all the PTN network elements in the DCN domain where the failed active gateway is located are out of management. In some cases, the backup gateway needs to forward DCN messages to the PTN network elements in the DCN domain where the failed active gateway resides, so that the network management server at the aggregation layer can continue to manage the PTN network elements through the backup gateway. Therefore, the standby gateway opens its own DCN channel to the DCN domain where the failed active gateway is located, and forwards DCN messages for the PTN network elements in the DCN domain where the failed active gateway is located, so as to restore the network management server to the DCN domain. Management of network elements in the PTN.

并且,对于探测到的未出现故障的主用网关而言,说明未出现故障的主用网关所在的DCN域中的所有PTN网元均未脱管,无需由该备用网关为该未出现故障的主用网关所在的DCN域中的PTN网元转发DCN消息。因此,备用网关关闭自身至未出现故障的主用网关所在的DCN域的DCN通道,以尽量降低挂载在该备用网关下的PTN网元的数量,减小备用网关的负载。Moreover, for the detected active gateway that has not failed, it means that all the PTN network elements in the DCN domain where the active gateway is located are not out of management, and there is no need for the backup gateway to support the active gateway. The PTN network element in the DCN domain where the active gateway is located forwards the DCN message. Therefore, the backup gateway closes the DCN channel from itself to the DCN domain where the active gateway that has not failed occurs, so as to reduce the number of PTN network elements mounted under the backup gateway as much as possible, and reduce the load of the backup gateway.

如果备用网关在探测到其连接的所有DCN域中的主用网关均未出现故障时,则可以开启自身至连接的所有DCN域的DCN通道,当然,也可以关闭自身至连接的所有DCN域的DCN通道。If the standby gateway detects that the active gateways in all the connected DCN domains are not faulty, it can open its own DCN channels to all connected DCN domains, and of course, it can also close its own DCN channels to all connected DCN domains. DCN channel.

继续沿用上例,假设备用网关探测到主用网关1出现故障,探测到主用网关2未出现故障,则可以开启该备用网关自身至主用网关1所在的第一DCN域的DCN通道,关闭该备用网关自身至主用网关2所在的第二DCN域的DCN通道。如果备用网关探测到主用网关1和主用网关2均未出现故障,则可以同时开启自身至第一DCN域和第二DCN域的DCN通道,也可以同时关闭自身至第一DCN域和第二DCN域的DCN通道。Continuing with the above example, assuming that the backup gateway detects that the active gateway 1 is faulty and detects that the active gateway 2 is not faulty, it can open the DCN channel from the standby gateway itself to the first DCN domain where the active gateway 1 is located, and close the A DCN channel from the standby gateway itself to the second DCN domain where the active gateway 2 is located. If the standby gateway detects that neither the active gateway 1 nor the active gateway 2 is faulty, it can open its own DCN channel to the first DCN domain and the second DCN domain at the same time, or close itself to the first DCN domain and the second DCN domain at the same time. The DCN channel of the second DCN domain.

通过上述方法,备用网关可以根据对每个主用网关的探测结果,自动的控制自身至各DCN域的DCN通道的开启或关闭,无需通过人工定位脱管的PTN网元,也无需人工通过网管服务器控制备用网关的DCN通道,因此有效的缩短了脱管PTN网元的脱管时间,提高了对脱管PTN网元恢复管理的速度。Through the above method, the standby gateway can automatically control the opening or closing of the DCN channel between itself and each DCN domain according to the detection results of each active gateway, without manually locating the detached PTN network element, and without manually going through the network management The server controls the DCN channel of the standby gateway, thus effectively shortening the unmanagement time of the unmanaged PTN network element and improving the recovery and management speed of the unmanaged PTN network element.

较佳的,为了进一步降低挂载在该备用网关下的PTN网元的数量,当备用网关探测到连接的两个或两个以上DCN域中的主用网关出现故障时,也即,探测到出现故障的主用网关存在两个或两个以上时,备用网关可以根据预先为连接的每个DCN域中的主用网关设定的优先级,在出现故障的主用网关中确定优先级最高的主用网关,并开启备用网关自身至确定的该优先级最高的主用网关所在的DCN域的DCN通道,关闭备用网关自身至其他DCN域的DCN通道。Preferably, in order to further reduce the number of PTN network elements mounted under the standby gateway, when the standby gateway detects that the active gateway in two or more connected DCN domains fails, that is, it detects When there are two or more failed active gateways, the standby gateway can determine the highest priority among the failed active gateways according to the priority set in advance for the active gateways in each connected DCN domain and open the DCN channel from the standby gateway itself to the DCN domain where the determined active gateway with the highest priority is located, and close the DCN channel from the standby gateway itself to other DCN domains.

例如,备用网关共与四个DCN域连接,这四个DCN域中的主用网关分别是主用网关1~4,假设预先为这四个主用网关设定的优先级从高到低的顺序依次为:主用网关1、主用网关2、主用网关3、主用网关4,则当备用网关探测到主用网关2和主用网关3出现故障时,备用网关根据预先为这四个主用网关设定的优先级,确定出现故障的主用网关中优先级最高的主用网关是主用网关2,因此,备用网关开启自身至主用网关2所在的DCN域的DCN通道,关闭自身至其他DCN域的DCN通道,也即,关闭自身至主用网关1、主用网关3、主用网关4所在的DCN域的DCN通道。For example, the standby gateway is connected to four DCN domains in total, and the active gateways in these four DCN domains are active gateways 1 to 4 respectively. Assume that the priorities of the four active gateways are set in advance from high to low. The sequence is: active gateway 1, active gateway 2, active gateway 3, and active gateway 4. When the standby gateway detects that active gateway 2 and active gateway 3 fail, the standby gateway will The priority set by each active gateway determines that the active gateway with the highest priority among the failed active gateways is the active gateway 2. Therefore, the standby gateway opens its own DCN channel to the DCN domain where the active gateway 2 is located. Close the DCN channels from itself to other DCN domains, that is, close the DCN channels from itself to the DCN domains where the active gateway 1, the active gateway 3, and the active gateway 4 are located.

进一步的,为了在使备用网关挂载的PTN网元的数量不超过该备用网关的最大挂接网元数量的前提下,尽量提高备用网关的利用率,在本发明实施例中,当备用网关探测到连接的两个或两个以上DCN域中的主用网关出现故障时,也可以根据预先为连接的每个DCN域中的主用网关设定的优先级,按照优先级从高到低的顺序,依次选择出现故障的主用网关,其中,选择的各主用网关所在的DCN域中包含的PTN网元的数量之和不大于该备用网关的最大挂接网元数量,并开启备用网关自身至选择出的各主用网关所在的DCN域的DCN通道,关闭备用网关自身至其他DCN域的DCN通道。Further, in order to improve the utilization rate of the standby gateway as much as possible on the premise that the number of PTN network elements attached to the standby gateway does not exceed the maximum number of network elements attached to the standby gateway, in the embodiment of the present invention, when the standby gateway When it is detected that the active gateway in two or more connected DCN domains fails, it can also be based on the priority set in advance for the active gateway in each connected DCN domain, according to the priority from high to low The order of faulty primary gateways is selected sequentially, and the sum of the number of PTN network elements contained in the DCN domains where the selected primary gateways are located is not greater than the maximum number of connected network elements of the backup gateway, and the backup The DCN channels from the gateway itself to the selected DCN domains where the active gateways are located close the DCN channels from the standby gateway itself to other DCN domains.

例如,备用网关共与四个DCN域连接,分别为第一DCN域、第二DCN域、第三DCN域、第四DCN域,这四个DCN域中的主用网关分别是主用网关1~4。For example, the backup gateway is connected to four DCN domains, namely the first DCN domain, the second DCN domain, the third DCN domain, and the fourth DCN domain. The active gateways in these four DCN domains are the active gateway 1 respectively. ~4.

假设这四个DCN域中包含的PTN网元的数量均是30个,备用网关的最大挂接网元数量为64个,预先为这四个主用网关设定的优先级从高到低的顺序依次为:主用网关1、主用网关2、主用网关3、主用网关4。Assuming that the number of PTN network elements contained in these four DCN domains is 30, and the maximum number of network elements attached to the backup gateway is 64, the priorities set in advance for these four main gateways are from high to low. The sequence is: primary gateway 1, primary gateway 2, primary gateway 3, and primary gateway 4.

当备用网关探测到主用网关1、主用网关2和主用网关4出现故障时,则按照优先级从高到低的顺序,依次选择出现故障的这三个主用网关。当选择主用网关1时,由于主用网关1所在的第一DCN域包含的PTN网元的数量是30个,小于该备用网关的最大挂接网元数量64,因此继续按顺序选择主用网关2。选择了主用网关2后,主用网关1所在的第一DCN域和主用网关2所在的第二DCN域包含的PTN网元数量之和为60个,仍小于该备用网关的最大挂接网元数量64,因此继续按顺序选择主用网关4。但是,选择了主用网关4后,主用网关1所在的第一DCN域、主用网关2所在的第二DCN域、主用网关4所在的第四DCN域中包含的PTN网元数量之和为90个,超过了备用网关的最大挂接网元数量64,因此,备用网关只选择主用网关1和主用网关2,不选择主用网关4。后续的,备用网关则开启自身至选择出的主用网关1所在的第一DCN域的DCN通道,开启自身至选择出的主用网关2所在的第二DCN域的DCN通道,关闭自身至其他DCN域(第三DCN域和第四DCN域)的DCN通道。When the backup gateway detects that the primary gateway 1, the primary gateway 2, and the primary gateway 4 are faulty, the three faulty primary gateways are selected in descending order of priority. When the active gateway 1 is selected, since the number of PTN network elements contained in the first DCN domain where the active gateway 1 is located is 30, which is less than the maximum number of 64 attached network elements of the standby gateway, continue to select the active one in sequence. gateway2. After the active gateway 2 is selected, the sum of the number of PTN network elements contained in the first DCN domain where the active gateway 1 is located and the second DCN domain where the active gateway 2 is located is 60, which is still less than the maximum number of attachments of the standby gateway The number of network elements is 64, so continue to select the active gateway 4 sequentially. However, after the active gateway 4 is selected, the number of PTN network elements included in the first DCN domain where the active gateway 1 is located, the second DCN domain where the active gateway 2 is located, and the fourth DCN domain where the active gateway 4 is located The sum is 90, which exceeds the maximum number of network elements attached to the standby gateway, which is 64. Therefore, the standby gateway only selects the active gateway 1 and the active gateway 2, and does not select the active gateway 4. Subsequently, the standby gateway opens its own DCN channel to the first DCN domain where the selected active gateway 1 is located, opens its own DCN channel to the second DCN domain where the selected active gateway 2 is located, and closes itself to other DCN channels. The DCN channel of the DCN domain (the third DCN domain and the fourth DCN domain).

另外,在本发明实施例中,为了保证管理服务器通过备用网关对各DCN域管理的准确性,备用网关还可以将连接各DCN域的DCN通道中的DCN端口划分在同一个端口组中,并禁止该端口组中的各DCN端口之间交互DCN消息。也即,备用网关对于各DCN通道中的DCN端口,只在DCN端口与网管服务器之间转发DCN消息,而不允许各DCN端口之间交互DCN消息。In addition, in the embodiment of the present invention, in order to ensure the accuracy of the management server's management of each DCN domain through the standby gateway, the standby gateway can also divide the DCN ports in the DCN channels connected to each DCN domain into the same port group, and Forbid DCN messages to be exchanged between DCN ports in the port group. That is, for the DCN ports in each DCN channel, the standby gateway only forwards DCN messages between the DCN ports and the network management server, and does not allow DCN messages to be exchanged between DCN ports.

继续以图1为例进行说明,假设图1中备用网关与PTN网元5连接的DCN端口为端口1、与PTN网元3连接的DCN端口为端口2,也即备用网关连接第一DCN域的DCN通道中的DCN端口为端口1和端口2;备用网关与PTN网元6连接的DCN端口为端口3、与PTN网元9连接的DCN端口为端口4,也即备用网关连接第二DCN域的DCN通道中的DCN端口为端口3和端口4。则备用网关可将端口1、端口2、端口3、端口4划分在同一个端口组中,并禁止该端口组中的各DCN端口之间交互DCN消息,即禁止端口1、端口2、端口3、端口4之间交互DCN消息。Continue to take Figure 1 as an example. Assume that in Figure 1, the DCN port connecting the standby gateway to PTN network element 5 is port 1, and the DCN port connecting to PTN network element 3 is port 2, that is, the standby gateway is connected to the first DCN domain The DCN ports in the DCN channel are port 1 and port 2; the DCN port connecting the standby gateway to PTN network element 6 is port 3, and the DCN port connecting to PTN network element 9 is port 4, that is, the standby gateway is connected to the second DCN The DCN ports in the DCN channel of the domain are port 3 and port 4. Then the standby gateway can divide port 1, port 2, port 3, and port 4 into the same port group, and prohibit the exchange of DCN messages among the DCN ports in the port group, that is, port 1, port 2, and port 3 are prohibited. , and port 4 to exchange DCN messages.

图3为本发明实施例提供的DCN通道的详细控制过程,具体包括以下步骤:Fig. 3 is the detailed control process of the DCN channel provided by the embodiment of the present invention, which specifically includes the following steps:

S301:备用网关针对连接的每个DCN域中的主用网关,基于与该主用网关在汇聚层中的连接关系,按照设定的时间间隔,向该主用网关发送探测询问消息。S301: The standby gateway sends a detection inquiry message to the active gateway in each connected DCN domain based on the connection relationship with the active gateway in the aggregation layer according to a set time interval.

S302:判断是否存在至少一个主用网关未在设定的时间长度内返回探测响应消息,若是,则执行步骤S303,否则,执行步骤S305。S302: Determine whether there is at least one active gateway that has not returned a probe response message within a set time length, if yes, perform step S303, otherwise, perform step S305.

S303:根据预先为每个主用网关设定的优先级,按照优先级从高到低的顺序,依次选择出现故障的主用网关,其中,选择的各主用网关所在的DCN域中包含的分组传送网PTN网元的数量之和不大于备用网关的最大挂接网元数量。S303: According to the priority set for each active gateway in advance, according to the order of priority from high to low, sequentially select the active active gateway that has failed, wherein the selected active active gateways are located in the DCN domain. The sum of the number of PTN network elements in the packet transport network is not greater than the maximum number of network elements attached to the standby gateway.

S304:开启备用网关自身至选择出的各主用网关所在的DCN域的DCN通道,关闭备用网关自身至其他DCN域的DCN通道。S304: Open the DCN channels from the standby gateway itself to the DCN domains where the selected active gateways are located, and close the DCN channels from the standby gateway itself to other DCN domains.

S305:开启备用网关自身至连接的所有DCN域的DCN通道。S305: Open DCN channels from the standby gateway itself to all connected DCN domains.

以上是本发明实施例提供的DCN通道的控制方法,基于同样的发明思路,本发明实施例还提供一种DCN通道的控制装置和主用网关,如图4和图5所示。The above is the DCN channel control method provided by the embodiment of the present invention. Based on the same inventive idea, the embodiment of the present invention also provides a DCN channel control device and a master gateway, as shown in FIG. 4 and FIG. 5 .

图4为本发明实施例提供的DCN通道的控制装置结构示意图,具体包括:Fig. 4 is a schematic structural diagram of a control device for a DCN channel provided by an embodiment of the present invention, specifically including:

探测模块401,用于对连接的每个DCN域中的主用网关进行探测;A detection module 401, configured to detect the active gateway in each connected DCN domain;

控制模块402,用于当探测到连接的至少一个DCN域中的主用网关出现故障时,开启自身至出现故障的主用网关所在的DCN域的DCN通道,关闭自身至未出现故障的主用网关所在的DCN域的DCN通道。The control module 402 is configured to open the DCN channel of itself to the DCN domain where the failed active gateway is located when detecting that the active gateway in at least one connected DCN domain fails, and close itself to the active active gateway that has not failed. DCN channel of the DCN domain where the gateway resides.

所述探测模块401具体用于,针对连接的每个DCN域中的主用网关,基于与该主用网关在汇聚层中的连接关系,按照设定的时间间隔,向该主用网关发送探测询问消息,判断是否在设定的时间长度内接收到该主用网关返回的探测响应消息,若是,则确定探测到该主用网关未出现故障,否则,确定探测到该主用网关出现故障。The detection module 401 is specifically configured to, for each active gateway in the connected DCN domain, based on the connection relationship with the active gateway in the convergence layer, according to the set time interval, send a detection to the active gateway. Inquiring message, judging whether the detection response message returned by the active gateway is received within the set time length, if yes, then it is determined that the active gateway is not faulty, otherwise, it is determined that the active gateway is detected to be faulty.

所述控制模块402具体用于,根据预先为连接的每个DCN域中的主用网关设定的优先级,在出现故障的主用网关中确定优先级最高的主用网关,并开启自身至确定的所述优先级最高的主用网关所在的DCN域的DCN通道,关闭自身至其他DCN域的DCN通道。The control module 402 is specifically configured to, according to the priority set in advance for the active gateways in each connected DCN domain, determine the active gateway with the highest priority among the failed active gateways, and open itself to The determined DCN channel of the DCN domain where the active gateway with the highest priority is located closes its own DCN channel to other DCN domains.

所述控制模块402具体用于,根据预先为连接的每个DCN域中的主用网关设定的优先级,按照优先级从高到低的顺序,依次选择出现故障的主用网关,其中,选择的各主用网关所在的DCN域中包含的分组传送网PTN网元的数量之和不大于最大挂接网元数量;开启自身至选择出的各主用网关所在的DCN域的DCN通道,关闭自身至其他DCN域的DCN通道。The control module 402 is specifically configured to, according to the priorities set in advance for the active gateways in each connected DCN domain, sequentially select the failed active gateways in order of priority from high to low, wherein, The sum of the number of packet transport network PTN network elements contained in the DCN domain where the selected active gateways are located is not greater than the maximum number of attached network elements; open the DCN channel from itself to the DCN domain where the selected active gateways are located, Close the DCN channels from itself to other DCN domains.

所述装置还包括:The device also includes:

配置模块403,用于将连接的各DCN域的DCN通道中的DCN端口划分在同一个端口组中,并禁止所述端口组中的各DCN端口之间交互DCN消息。The configuration module 403 is configured to divide the DCN ports in the DCN channels of the connected DCN domains into the same port group, and prohibit the exchange of DCN messages between the DCN ports in the port group.

具体的上述DCN通道的控制装置可以位于备用网关中。Specifically, the above-mentioned control device of the DCN channel may be located in the standby gateway.

图5为本发明实施例提供的主用网关结构示意图,具体包括:FIG. 5 is a schematic structural diagram of a primary gateway provided by an embodiment of the present invention, specifically including:

接收模块501,用于接收备用网关发送的探测询问消息;A receiving module 501, configured to receive a probe inquiry message sent by the backup gateway;

发送模块502,用于向所述备用网关返回探测响应消息,使所述备用网关确定所述主用网关未出现故障,其中,当所述备用网关确定连接的至少一个数据通信网络DCN域中的主用网关出现故障时,开启所述备用网关自身至出现故障的主用网关所在的DCN域的DCN通道,关闭所述备用网关自身至未出现故障的主用网关所在的DCN域的DCN通道。The sending module 502 is configured to return a probe response message to the backup gateway, so that the backup gateway determines that the active gateway is not faulty, wherein, when the backup gateway determines that the connected at least one data communication network in the DCN domain When the active gateway fails, open the DCN channel from the standby gateway itself to the DCN domain where the failed active gateway is located, and close the DCN channel from the standby gateway itself to the DCN domain where the active gateway does not fail.

本发明实施例提供一种DCN通道的控制方法及装置,该方法备用网关对连接的每个DCN域中的主用网关进行探测,当探测到至少一个DCN域中的主用网关出现故障时,开启自身至出现故障的主用网关所在的DCN域的DCN通道,关闭自身至未出现故障的主用网关所在的DCN域的DCN通道。由于上述方法由备用网关对各主用网关进行探测,并根据探测结果及时的控制备用网关自身至各DCN域的DCN通道的开启或关闭,而无需人工定位脱管的PTN网元,也无需人工恢复对脱管PTN网元的管理,因此有效的缩短了脱管PTN网元的脱管时间,提高了对脱管PTN网元恢复管理的速度。Embodiments of the present invention provide a method and device for controlling a DCN channel. In the method, the standby gateway detects the active gateway in each connected DCN domain, and when a failure of the active gateway in at least one DCN domain is detected, Open the DCN channel from itself to the DCN domain where the failed active gateway is located, and close the DCN channel from itself to the DCN domain where the active active gateway that has not failed occurs. In the above method, the standby gateway detects each active gateway, and controls the opening or closing of the DCN channel from the standby gateway itself to each DCN domain in a timely manner according to the detection results, without manually locating the detached PTN network element, and without manual The management of the detached PTN network element is restored, thus effectively shortening the detachment time of the detached PTN network element and improving the speed of recovery management of the detached PTN network element.

本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present application may be provided as methods, systems, or computer program products. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.

本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowcharts and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and combinations of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a Means for realizing the functions specified in one or more steps of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart flow or flows and/or block diagram block or blocks.

尽管已描述了本申请的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例做出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本申请范围的所有变更和修改。While preferred embodiments of the present application have been described, additional changes and modifications to these embodiments can be made by those skilled in the art once the basic inventive concept is appreciated. Therefore, the appended claims are intended to be construed to cover the preferred embodiment and all changes and modifications which fall within the scope of the application.

显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the application without departing from the spirit and scope of the application. In this way, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalent technologies, the present application is also intended to include these modifications and variations.

Claims (7)

1.一种数据通信网络DCN通道的控制方法,其特征在于,包括:1. A control method of a data communication network DCN channel, characterized in that, comprising: 备用网关对连接的每个DCN域中的主用网关进行探测;并the standby gateway probes the active gateway in each connected DCN domain; and 当探测到连接的至少一个DCN域中的主用网关出现故障时,开启所述备用网关自身至出现故障的主用网关所在的DCN域的DCN通道,关闭所述备用网关自身至未出现故障的主用网关所在的DCN域的DCN通道,具体包括:所述备用网关根据预先为连接的每个DCN域中的主用网关设定的优先级,按照优先级从高到低的顺序,依次选择出现故障的主用网关,其中,选择的各主用网关所在的DCN域中包含的分组传送网PTN网元的数量之和不大于所述备用网关的最大挂接网元数量;并开启所述备用网关自身至选择出的各主用网关所在的DCN域的DCN通道,关闭所述备用网关自身至其他DCN域的DCN通道。When it is detected that the active gateway in at least one connected DCN domain fails, open the DCN channel from the standby gateway itself to the DCN domain where the failed active gateway is located, and close the standby gateway itself to the non-faulty The DCN channel of the DCN domain where the active gateway is located specifically includes: the standby gateway is selected according to the priority set in advance for the active gateway in each connected DCN domain in order of priority from high to low A faulty active gateway, wherein the sum of the number of packet transport network PTN network elements contained in the DCN domain where the selected active gateways are located is not greater than the maximum number of attached network elements of the standby gateway; and open the The DCN channels from the backup gateway itself to the selected DCN domains where the active gateways are located close the DCN channels from the backup gateway itself to other DCN domains. 2.如权利要求1所述的方法,其特征在于,备用网关对连接的每个DCN域中的主用网关进行探测,具体包括:2. The method according to claim 1, wherein the standby gateway detects the active gateway in each connected DCN domain, specifically comprising: 所述备用网关针对连接的每个DCN域中的主用网关,基于与该主用网关在汇聚层中的连接关系,按照设定的时间间隔,向该主用网关发送探测询问消息;并The standby gateway sends a detection query message to the active gateway at a set time interval based on the connection relationship with the active gateway in the aggregation layer for each connected active gateway in the DCN domain; and 判断是否在设定的时间长度内接收到该主用网关返回的探测响应消息,若是,则确定探测到该主用网关未出现故障,否则,确定探测到该主用网关出现故障。Judging whether the detection response message returned by the active gateway is received within the set time length, if yes, it is determined that the active gateway is not faulty, otherwise, it is determined that the active gateway is detected to be faulty. 3.如权利要求1所述的方法,其特征在于,所述方法还包括:3. The method of claim 1, further comprising: 所述备用网关将连接各DCN域的DCN通道中的DCN端口划分在同一个端口组中,并禁止所述端口组中的各DCN端口之间交互DCN消息。The backup gateway divides the DCN ports in the DCN channels connected to the DCN domains into the same port group, and prohibits DCN messages from being exchanged between the DCN ports in the port group. 4.一种数据通信网络DCN通道的控制方法,其特征在于,包括:4. A control method of a data communication network DCN channel, characterized in that, comprising: 主用网关接收备用网关发送的探测询问消息;并The active gateway receives the probe inquiry message sent by the standby gateway; and 向所述备用网关返回探测响应消息,使所述备用网关确定所述主用网关未出现故障,其中,当所述备用网关确定连接的至少一个DCN域中的主用网关出现故障时,开启所述备用网关自身至出现故障的主用网关所在的DCN域的DCN通道,关闭所述备用网关自身至未出现故障的主用网关所在的DCN域的DCN通道,具体包括:所述备用网关根据预先为连接的每个DCN域中的主用网关设定的优先级,按照优先级从高到低的顺序,依次选择出现故障的主用网关,其中,选择的各主用网关所在的DCN域中包含的分组传送网PTN网元的数量之和不大于所述备用网关的最大挂接网元数量;并开启所述备用网关自身至选择出的各主用网关所在的DCN域的DCN通道,关闭所述备用网关自身至其他DCN域的DCN通道。returning a detection response message to the backup gateway, so that the backup gateway determines that the active gateway is not faulty, wherein, when the standby gateway determines that the active gateway in at least one connected DCN domain is faulty, it starts the Describe the DCN channel from the standby gateway itself to the DCN domain where the failed active gateway is located, and close the DCN channel from the standby gateway itself to the DCN domain where the active gateway that has not failed, specifically includes: the standby gateway according to the previous For the priority set for the active gateways in each connected DCN domain, select the failed active active gateways in order according to the order of priority from high to low. The sum of the number of included packet transport network PTN network elements is not greater than the maximum number of attached network elements of the backup gateway; and the DCN channel from the backup gateway itself to the selected DCN domain where each active gateway is located is opened, and closed DCN channels from the backup gateway itself to other DCN domains. 5.一种备用网关,其特征在于,包括:5. A backup gateway, characterized in that, comprising: 探测模块,用于对连接的每个DCN域中的主用网关进行探测;A detection module, configured to detect the active gateway in each connected DCN domain; 控制模块,用于当探测到连接的至少一个DCN域中的主用网关出现故障时,开启自身至出现故障的主用网关所在的DCN域的DCN通道,关闭自身至未出现故障的主用网关所在的DCN域的DCN通道,具体用于,根据预先为连接的每个DCN域中的主用网关设定的优先级,按照优先级从高到低的顺序,依次选择出现故障的主用网关,其中,选择的各主用网关所在的DCN域中包含的分组传送网PTN网元的数量之和不大于最大挂接网元数量;开启自身至选择出的各主用网关所在的DCN域的DCN通道,关闭自身至其他DCN域的DCN通道。The control module is used to open the DCN channel of itself to the DCN domain where the failed active gateway is located when detecting that the active gateway in at least one connected DCN domain fails, and close itself to the active active gateway that has not failed The DCN channel of the DCN domain where it is located is specifically used to select the faulty active gateway according to the priority set in advance for the active gateway in each connected DCN domain in order of priority from high to low , wherein, the sum of the number of packet transport network PTN network elements contained in the DCN domain where the selected main gateways are located is not greater than the maximum number of attached network elements; DCN channel, close the DCN channel from itself to other DCN domains. 6.如权利要求5所述的备用网关,其特征在于,所述探测模块具体用于,针对连接的每个DCN域中的主用网关,基于与该主用网关在汇聚层中的连接关系,按照设定的时间间隔,向该主用网关发送探测询问消息,判断是否在设定的时间长度内接收到该主用网关返回的探测响应消息,若是,则确定探测到该主用网关未出现故障,否则,确定探测到该主用网关出现故障。6. The standby gateway according to claim 5, wherein the detection module is specifically configured to, for the active gateway in each connected DCN domain, based on the connection relationship with the active gateway in the aggregation layer , according to the set time interval, send a probe query message to the active gateway, and judge whether the probe response message returned by the active gateway is received within the set time length, and if so, determine that the active gateway has not been detected. If a fault occurs, otherwise, it is determined that the active gateway is detected to be faulty. 7.如权利要求5所述的备用网关,其特征在于,所述备用网关还包括:7. The backup gateway according to claim 5, wherein the backup gateway further comprises: 配置模块,用于将连接的各DCN域的DCN通道中的DCN端口划分在同一个端口组中,并禁止所述端口组中的各DCN端口之间交互DCN消息。The configuration module is configured to divide the DCN ports in the DCN channels of the connected DCN domains into the same port group, and prohibit the exchange of DCN messages between the DCN ports in the port group.
CN201210431860.1A 2012-11-01 2012-11-01 A kind of control method and device of DCN passages Active CN103795563B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210431860.1A CN103795563B (en) 2012-11-01 2012-11-01 A kind of control method and device of DCN passages

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210431860.1A CN103795563B (en) 2012-11-01 2012-11-01 A kind of control method and device of DCN passages

Publications (2)

Publication Number Publication Date
CN103795563A CN103795563A (en) 2014-05-14
CN103795563B true CN103795563B (en) 2017-09-22

Family

ID=50670889

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210431860.1A Active CN103795563B (en) 2012-11-01 2012-11-01 A kind of control method and device of DCN passages

Country Status (1)

Country Link
CN (1) CN103795563B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1434574A (en) * 2002-01-24 2003-08-06 华为技术有限公司 Backup method for mobile exchange center
CN102111280A (en) * 2009-12-24 2011-06-29 中兴通讯股份有限公司 Terminal equipment fault detection device, system and method
CN102710457A (en) * 2012-05-07 2012-10-03 浙江宇视科技有限公司 N+1 backup method and device of cross-network segment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7577135B2 (en) * 2005-03-10 2009-08-18 Hitachi Communication Technologies, Ltd. IP telephone system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1434574A (en) * 2002-01-24 2003-08-06 华为技术有限公司 Backup method for mobile exchange center
CN102111280A (en) * 2009-12-24 2011-06-29 中兴通讯股份有限公司 Terminal equipment fault detection device, system and method
CN102710457A (en) * 2012-05-07 2012-10-03 浙江宇视科技有限公司 N+1 backup method and device of cross-network segment

Also Published As

Publication number Publication date
CN103795563A (en) 2014-05-14

Similar Documents

Publication Publication Date Title
US8438307B2 (en) Method and device of load-sharing in IRF stack
CN103944746B (en) A kind of method and device of two-node cluster hot backup
CN102882704B (en) Link protection method in the soft reboot escalation process of a kind of ISSU and equipment
CN105871674B (en) Ring protection link failure protection method, device and system
EP2911341A1 (en) Method and device for dynamically switching gateway of distributed resilient network interconnect
CN101309185A (en) Processing method of multi-active devices and stack member devices in stacking system
US20140185429A1 (en) Communication system, path switching method and communication device
US20150195102A1 (en) Data transfer device system, network system, and method of changing configuration of network system
CN109861867B (en) MEC service processing method and device
CN113726556B (en) Edge internet of things proxy node operation and maintenance method, system, storage medium and computing equipment
WO2017050254A1 (en) Hot backup method, device and system
WO2017092400A1 (en) Failure recovery method and device, controller, and software defined network
CN102857379B (en) The protection control method of ethernet ring network inter-node connectivity, device and primary nodal point
CN114554615A (en) Service switching method, device and network equipment
CN103607293A (en) Flow protection method and equipment thereof
CN105765889B (en) Extension bridge and methods implemented by it
CN109218045A (en) A kind of link switch-over method and device
CN105634848B (en) A kind of virtual router monitoring method and device
US20140050092A1 (en) Load sharing method and apparatus
WO2016091094A1 (en) Optical transport network protection switching method and device
WO2015154423A1 (en) Cross-domain service processing method, apparatus and system
CN108337159B (en) Port operation control method and device
CN103490921A (en) Method and device for protecting network, copying node and system
EP3048761B1 (en) Control method and device for self-loopback of network data
CN101667937A (en) Method for realizing disaster recovery of data service equipment, data service equipment and data service systems

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant