[go: up one dir, main page]

CN1780231A - Backup system and method for access servo interface - Google Patents

Backup system and method for access servo interface Download PDF

Info

Publication number
CN1780231A
CN1780231A CNA2004100972902A CN200410097290A CN1780231A CN 1780231 A CN1780231 A CN 1780231A CN A2004100972902 A CNA2004100972902 A CN A2004100972902A CN 200410097290 A CN200410097290 A CN 200410097290A CN 1780231 A CN1780231 A CN 1780231A
Authority
CN
China
Prior art keywords
interface
access servo
message
access server
access
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.)
Granted
Application number
CNA2004100972902A
Other languages
Chinese (zh)
Other versions
CN100413252C (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2004100972902A priority Critical patent/CN100413252C/en
Publication of CN1780231A publication Critical patent/CN1780231A/en
Application granted granted Critical
Publication of CN100413252C publication Critical patent/CN100413252C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

本发明涉及通信领域,公开了一种接入服务器接口的备份系统及其方法,使得当正在工作的接入服务器接口出现故障时,在不需要人工干预的情况下,也能够确保正在访问网络的用户不受到影响。本发明的原理在于,配备了互为主备关系的接入服务器接口,主接入服务器接口定期向备接入服务器接口发送第一报文。当主接入服务器接口出现故障时,备接入服务器接口通过在预定时间内未收到来自主接入服务器接口的第一报文判定其出现故障,并自动将自身设置为主接入服务器接口,继续为用户提供接入服务。

Figure 200410097290

The invention relates to the field of communication, and discloses a backup system and method for an access server interface, so that when the working access server interface fails, it can also ensure that the accessing network can be accessed without manual intervention. Users are not affected. The principle of the present invention is that the access server interfaces with mutual active and standby relationship are equipped, and the active access server interface periodically sends the first message to the standby access server interface. When the interface of the main access server fails, the interface of the standby access server determines that it has failed by not receiving the first message from the interface of the main access server within a predetermined time, and automatically sets itself as the interface of the main access server, and continues Provide access services to users.

Figure 200410097290

Description

接入服务器接口的备份系统及其方法Backup system and method for accessing server interface

技术领域technical field

本发明涉及通信领域,特别涉及数据通信中的接入服务器接口备份技术。The invention relates to the communication field, in particular to an access server interface backup technology in data communication.

背景技术Background technique

网络的发展把人们带入信息社会,随着因特网的普及,网间互联协议(Internet Protocol,简称“IP”)已经占据了各种终端应用的主导地位,用户对网络带宽的需求越来越高,宽带网络成为当前网络发展的趋势。由于骨干网络带宽增长迅速,传统的接入网成为宽带网络的瓶颈,构建宽带接入网络成为新的热点。如何更高效、高速、廉价传送IP数据是今后电信网络研究的重点。The development of the network has brought people into the information society. With the popularization of the Internet, the Internet Protocol (Internet Protocol, referred to as "IP") has occupied a leading position in various terminal applications, and users' demand for network bandwidth is getting higher and higher. , Broadband network has become the trend of current network development. Due to the rapid growth of the backbone network bandwidth, the traditional access network has become the bottleneck of the broadband network, and the construction of a broadband access network has become a new hot spot. How to transmit IP data more efficiently, at high speed and at low cost will be the focus of telecom network research in the future.

以太网网络作为电信服务提供商提供的因特网(Internet)接入方式之一,直接面向以太网接入用户,是承载IP数据业务最佳的二层宽带接入方式,已经得到了广泛的应用。用户以该网络为支撑平台,可以开展诸如安全管理、物业管理、用户互联、网上购物、视频点播等多种社区智能服务。因此,要求以太网网络应是一个具有高带宽、高可靠性、低建设和低维护成本的一个网络,是一个实现运营,提供服务的网络。As one of the Internet (Internet) access methods provided by telecommunication service providers, the Ethernet network is directly oriented to Ethernet access users. It is the best Layer 2 broadband access method for carrying IP data services and has been widely used. Using the network as a supporting platform, users can carry out various community intelligent services such as security management, property management, user interconnection, online shopping, and video-on-demand. Therefore, it is required that the Ethernet network should be a network with high bandwidth, high reliability, low construction and low maintenance costs, and a network that realizes operation and provides services.

如图1所示,目前的以太网网络中,一般由用户15、用户16首先接入到二层接入设备14中,熟悉本领域的技术人员都知道,二层接入设备14通常是只提供二层交换功能的以太网交换机,或者可其它可以提供以太网数据帧透传的二层设备。二层接入设备14一般起汇聚作用,然后再接入到接入服务器13上,接入服务器13的主要功能是对接入的用户进行控制,包括认证、计费、权限控制、流量控制、QOS等,以太网网络实现可运营可管理,并与普通的计算机网络区分开,关键在于接入服务器13所起的作用上。通过接入服务器13的合法数据流,向上层的路由器12、路由器11转发,最后联接到因特网10,需要说明的是,由于因特网10的网络体系非常庞大,故一般仍然需要先使用路由器12用于边缘路由汇聚,而后再使用路由器11进行核心路由转发,以使网络层次清晰,便于维护和管理。As shown in Figure 1, in the current Ethernet network, users 15 and 16 are generally connected to the Layer 2 access device 14 first. Those skilled in the art know that the Layer 2 access device 14 is usually only An Ethernet switch that provides layer-2 switching functions, or other layer-2 devices that can provide transparent transmission of Ethernet data frames. The Layer 2 access device 14 generally plays the role of converging, and then connects to the access server 13. The main function of the access server 13 is to control the access users, including authentication, billing, authority control, flow control, QOS, etc., the Ethernet network can be operated and managed, and it can be distinguished from ordinary computer networks, the key lies in the role played by the access server 13 . Through the legal data flow of the access server 13, the router 12 and the router 11 of the upper layer are forwarded, and finally connected to the Internet 10. It should be noted that, because the network system of the Internet 10 is very large, it is generally still necessary to use the router 12 for The edge routes are aggregated, and then the router 11 is used for core route forwarding, so as to make the network hierarchy clear and easy to maintain and manage.

由此可见,接入服务器13在整个以太网网络,居于非常重要的地位,没有了它就无法对用户和网络进行管理,如果直接跳过它,二层接入设备14连接到路由器11上,实际上就是普通的计算机网络,熟悉本领域的技术人员都清楚,普通的计算机网络是无法提供电信级服务的。接入服务器13的重要性也要求它与二层接入设备14之间的接口连接是非常可靠的,但是实际中,总会有各种异常情况出现。因此,如果接入服务器13的用户侧接口出现了服务器异常重启、硬件损坏等情况,其下面的用户将直到其恢复才能重新访问网络,这样的情形是不具备向用户提供的电信级服务承诺的,不利于以太网网络接入方式的推广。It can be seen that the access server 13 occupies a very important position in the entire Ethernet network. Without it, it is impossible to manage users and the network. If it is directly skipped, the second-layer access device 14 is connected to the router 11. In fact, it is an ordinary computer network, and it is clear to those skilled in the art that an ordinary computer network cannot provide telecommunication-level services. The importance of the access server 13 also requires that the interface connection between it and the Layer 2 access device 14 is very reliable, but in practice, there will always be various abnormal situations. Therefore, if the user-side interface of the access server 13 experiences abnormal restart of the server, hardware damage, etc., the users below it will not be able to re-access the network until it recovers. Such a situation does not have a carrier-level service commitment for users. , It is not conducive to the promotion of Ethernet network access methods.

目前对接入服务器出现故障的解决方法是由网络维护人员更新硬件、或复位接入服务器、或将收到影响的用户切换倒备用接入服务器上。At present, the solution to the failure of the access server is to update the hardware by the network maintenance personnel, or reset the access server, or switch the affected users to the standby access server.

在实际应用中,上述方案存在以下问题:虽然最终能够使网络恢复正常,但是花费较长时间。甚至超出用户容忍的范围。这个现象在维护人员不在现场时尤其严重。In practical application, the above solution has the following problem: although the network can be restored to normal eventually, it takes a long time. Even beyond the range of user tolerance. This phenomenon is especially serious when maintenance personnel are not on site.

造成这种情况的主要原因在于,上述方案是通过人工手动地进行维护。因此不但人力和物力成本较高,而且费时。The main reason for this situation is that the above solution is manually maintained. Therefore, not only the cost of manpower and material resources is higher, but also time-consuming.

发明内容Contents of the invention

有鉴于此,本发明的主要目的在于提供一种接入服务器接口的备份方法及其系统,使得当正在工作的接入服务器出现故障时,在不需要人工干预的情况下,也能够确保正在访问网络的用户不受到影响。In view of this, the main purpose of the present invention is to provide a backup method and system for an access server interface, so that when a working access server fails, it can also ensure that the access server is being accessed without manual intervention. Users of the network are not affected.

为实现上述目的,本发明提供了一种接入服务器接口的备份方法,包含以下步骤:In order to achieve the above object, the present invention provides a backup method for accessing the server interface, comprising the following steps:

A互为备份的多个接入服务器接口根据自身的接口优先级,确定其主备关系;A Multiple access server interfaces that are mutually backed up determine their master-backup relationship according to their own interface priorities;

B所述主接入服务器接口在处于活动状态期间,定期向备接入服务器接口发送第一报文;The main access server interface of B regularly sends the first message to the standby access server interface during the active state;

C当所述备接入服务器接口超过预定时间段仍未收到来自所述主接入服务器接口的第一报文时,进入步骤A。C. When the standby access server interface has not received the first message from the main access server interface within a predetermined period of time, enter step A.

其中,所述步骤A包含以下子步骤:Wherein, the step A includes the following sub-steps:

A1互为备份的多个接入服务器接口相互发送包含其自身接口优先级的第一报文;Multiple access server interfaces that are mutually backed up by A1 send first packets containing their own interface priorities to each other;

A2所述接入服务器接口判断收到的所述第一报文中的对方接口优先级是否高于本接口优先级,如果是,则将本接口设置为备接入服务器接口,否则将本接口设置为主接入服务器接口。A2 The access server interface judges whether the priority of the other party's interface in the received first message is higher than the priority of this interface, if yes, then set this interface as the standby access server interface, otherwise set this interface Set as the main access server interface.

所述步骤B中,所述主接入服务器接口以1次/秒的频率向所述备接入服务器接口发送所述第一报文。In the step B, the primary access server interface sends the first packet to the standby access server interface at a frequency of 1 time per second.

所述互为备份的多个接入服务器接口可以分布在不同的服务器上。The multiple access server interfaces that are mutually backed up may be distributed on different servers.

所述互为备份的多个接入服务器接口可以分布在相同的服务器上。The multiple access server interfaces that are mutually backed up may be distributed on the same server.

所述第一报文中包含以下内容:The first message contains the following content:

版本号、报文类型、备份组标识、接口优先级、所述第一报文的发送时间间隔以及用于校验所述第一报文合法性的校验和。Version number, packet type, backup group identifier, interface priority, sending time interval of the first packet, and a checksum for verifying the validity of the first packet.

所述第一报文还包含认证类型以及认证所使用的随机数和认证值。The first message also includes authentication type, random number and authentication value used in authentication.

本发明还提供了一种接入服务器接口的备份系统,包含互为备份的多个接入服务器接口,其中,所述接入服务器接口根据双方的接口优先级确定主备关系,并且,The present invention also provides a backup system for an access server interface, which includes a plurality of access server interfaces that back up each other, wherein the access server interface determines the master-backup relationship according to the interface priorities of both parties, and,

所述主接入服务器接口用于在处于活动状态期间,定期向备接入服务器接口发送第一报文;The main access server interface is used to periodically send the first message to the standby access server interface during the active state;

所述备接入服务器接口用于监控来自所述主接入服务器接口的第一报文,并在超过预定时间仍未收到所述第一报文时,将自身设置为主接入服务器接口。The standby access server interface is used to monitor the first message from the main access server interface, and when the first message is not received within a predetermined time, set itself as the main access server interface .

其中,所述互为备份的多个接入服务器接口分布在不同的服务器上。Wherein, the multiple access server interfaces that are mutually backed up are distributed on different servers.

所述互为备份的多个接入服务器接口分布在相同的服务器上。The multiple access server interfaces that are mutually backed up are distributed on the same server.

通过比较可以发现,本发明的技术方案与现有技术的区别在于,配备了互为主备关系的接入服务器接口,主接入服务器接口定期向备接入服务器接口发送第一报文。当主接入服务器接口出现故障时,备接入服务器接口通过在预定时间内未收到来自主接入服务器接口的第一报文判定其出现故障,并自动将自身设置为主接入服务器接口,继续为用户提供接入服务。Through comparison, it can be found that the difference between the technical solution of the present invention and the prior art is that access server interfaces in a master-standby relationship are equipped with each other, and the master access server interface periodically sends the first message to the standby access server interface. When the interface of the main access server fails, the interface of the standby access server judges that it has failed by not receiving the first message from the interface of the main access server within a predetermined time, and automatically sets itself as the interface of the main access server, and continues Provide access services to users.

这种技术方案上的区别,带来了较为明显的有益效果,即能够较为及时地检查出主接入服务器接口出现故障,并立即由备接入服务器接口替代其进行工作。从而避免了主接入服务器接口出现故障时,对正在访问网络的用户产生明显的影响,提高了用户满意度。而且,这种方法和现有技术相比,更加节约人力和物力成本。The difference in this technical solution has brought obvious beneficial effects, that is, it can detect the failure of the main access server interface in a relatively timely manner, and immediately replace it with the standby access server interface to work. Therefore, it is avoided that when the interface of the main access server fails, the obvious impact on the users who are accessing the network is avoided, and the user satisfaction is improved. Moreover, compared with the prior art, this method saves manpower and material cost more.

附图说明Description of drawings

图1是现有技术中以太网网络结构示意图;Fig. 1 is a schematic diagram of Ethernet network structure in the prior art;

图2是根据本发明的一个实施例的ASSP组播报文格式示意图;Fig. 2 is a schematic diagram of ASSP multicast message format according to an embodiment of the present invention;

图3是根据本发明的一个实施例的接入服务器接口的备份系统结构示意图;FIG. 3 is a schematic structural diagram of a backup system for an access server interface according to an embodiment of the present invention;

图4是根据本发明的一个实施例的接入服务器接口主备倒换流程示意图。Fig. 4 is a schematic diagram of an active-standby switchover process of an access server interface according to an embodiment of the present invention.

具体实施方式Detailed ways

为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明作进一步地详细描述。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings.

本发明运用了冗余备份的思想,采用了一种新的接入服务器备份协议(Access Server Standby Protocol,简称“ASSP”),对以太网网络关键的接入服务器接口进行了备份保护。冗余备份至少需要两个相同部件才能实现,本发明中,采用诸如两个或多个接入服务器接口,一个作为主接入服务器接口,其余作为备份接入服务器接口,二者之间需要实时获取对方的状态以维护自身的状态机,从而定义了ASSP,相互备份的主备接入服务器接口通过ASSP组播报文进行通信。需要特别指出的是,主备接入服务器接口可以在同一个接入服务器上,也可以在不同的接入服务器上,但为了防止整台接入服务器出现问题,因此,一般由两台不同的接入服务器的接口实现备份。The present invention utilizes the idea of redundant backup and adopts a new access server backup protocol (Access Server Standby Protocol, referred to as "ASSP") to backup and protect the key access server interface of the Ethernet network. Redundant backup requires at least two identical components to be realized. In the present invention, for example, two or more access server interfaces are used, one is used as the main access server interface, and the rest are used as backup access server interfaces. Real-time Obtain the state of the other party to maintain its own state machine, thereby defining ASSP, and the active and standby access server interfaces for mutual backup communicate through ASSP multicast messages. It should be pointed out that the active and standby access server interfaces can be on the same access server or on different access servers. The interface of the access server realizes the backup.

由于ASSP在本发明中的重要作用,下面结合图2首先对其组播报文的格式进行说明。图2中,ASSP组播报文总长度为28字节,即224bit位,为了便于说明,图2将其按每4字节一段分成7段,重叠排放。整个报文中,按不同的长度定义了一些特殊的字段,用于主备接入服务器接口传递信息,从头自尾各个字段与含义分别如下:Due to the important role of the ASSP in the present invention, the format of its multicast message will be described below in conjunction with FIG. 2 . In Fig. 2, the total length of the ASSP multicast message is 28 bytes, that is, 224 bits. For the convenience of illustration, Fig. 2 divides it into 7 segments every 4 bytes and overlaps them. In the whole message, some special fields are defined according to different lengths, which are used to transfer information between the active and standby access server interfaces. The meanings of each field from the beginning to the end are as follows:

1、版本号(Version):目前为1;1. Version number (Version): currently 1;

2、报文类型(Type):目前只有一种,即ADVERTISEMENT,值为1;2. Message type (Type): Currently there is only one type, namely ADVERTISEMENT, with a value of 1;

3、备份组标志(Backup Group ID):标识接口所在的备份组;3. Backup Group ID: identifies the backup group where the interface is located;

4、接口的优先级(Priority);4. The priority of the interface (Priority);

5、认证类型(Auth Type):目前有不认证和信息-摘要算法第五版(Message-Digest algorithm 5,简称“MD5”认证两种;5. Authentication type (Auth Type): At present, there are two types of authentication: non-authentication and Message-Digest algorithm 5 (MD5 for short);

6、ASSP报文的发送时间间隔(Adver Interval);6. The time interval for sending ASSP messages (Adver Interval);

7、保留位(Reserved):暂时不使用,将来扩展用;7. Reserved (Reserved): temporarily not used, for future expansion;

8、校验和(Check Sum):用于校验整个ASSP报文的合法性;8. Checksum (Check Sum): used to verify the legitimacy of the entire ASSP message;

9、随机数(Random):MD5认证时有用,不认证时没有用;9. Random number (Random): It is useful for MD5 authentication, but useless for non-authentication;

10、认证值(Auth Value):MD5认证时有用,不认证时没有用。10. Authentication Value (Auth Value): It is useful for MD5 authentication, but useless for non-authentication.

这里需要说明的是,MD5算法使用不需要支付任何版权费用的,所以是在非绝密应用领域的认证情况下大量采用的一种安全算法,它的作用是让大容量信息在用数字签名软件签署私人密匙前被“压缩”成一种保密的格式,即把一个任意长度的字节串变换成一定长的大整数,以此种方式达到为需要认证的信息加密的目的。最后还要补充一点,图2的报文格式仅仅是一种形式,根据需要还可以局部的修改。What needs to be explained here is that the use of the MD5 algorithm does not require any copyright fees, so it is a security algorithm widely used in the authentication of non-top-secret applications. Its function is to allow large-capacity information to be signed with digital signature software. The private key is "compressed" into a confidential format, that is, a byte string of any length is transformed into a large integer of a certain length, in this way the purpose of encrypting the information that needs to be authenticated is achieved. Finally, it should be added that the message format in Figure 2 is only a form, and can be partially modified as needed.

以上即是本发明中ASSP组播报文的详细描述,除此之外,接下来本发明还需要对主备接入服务器预先做以下的简单设置。The above is the detailed description of the ASSP multicast message in the present invention. In addition, the present invention also needs to do the following simple settings in advance for the active and standby access servers.

首先,将需要相互备份的主备份接入服务器设置一个备份组。只有在同一个备份组内的接口才能互相发送ASSP报文。尽量减少ASSP报文组播的范围,避免对用户数据流带宽的挤占。First, set up a backup group for the primary and backup access servers that need to back up each other. Only interfaces in the same backup group can send ASSP packets to each other. Minimize the scope of multicast ASSP packets to avoid crowding the bandwidth of user data streams.

其次,标识备份组中各接口的优先级,用于在备份组中选举主接入服务器接口。Secondly, the priority of each interface in the backup group is identified, which is used to elect the main access server interface in the backup group.

接下来,使主接入服务器接口处于活动状态,能够正常收发上行或下行的报文的接口,这里的报文主要指接入服务器与二层接入设备之间大量的数据,包括用户认证、计费、权限控制、流量控制、QOS等控制流数据,也包括用户与外部因特网之间交换的数据流,当然还包括ASSP组播报文数据。Next, make the interface of the main access server active and able to send and receive uplink or downlink packets normally. The packets here mainly refer to a large amount of data between the access server and the Layer 2 access device, including user authentication, Control flow data such as billing, authority control, flow control, QOS, etc., also includes the data flow exchanged between the user and the external Internet, and of course ASSP multicast message data.

最后,设置备接入服务器接口处于非活动状态,只能接收ASSP报文,不收发其他的任何报文的接口。备接入服务器时刻监视ASSP报文的变化,当主接入服务器接口出现异常后,备接入服务器接口自动升为主接入服务器接口,这个之间的切换时间只受电子器件限制,远远少于人工切换时间,完全满足电信级要求。Finally, set the interface of the access server of the device to be in an inactive state, which can only receive ASSP packets and not send or receive any other packets. The standby access server monitors the changes of ASSP messages at all times. When the main access server interface is abnormal, the standby access server interface is automatically upgraded to the main access server interface. The switching time between these is only limited by electronic devices, which is far less In manual switching time, it fully meets the carrier-grade requirements.

下面结合图3、图4,分别描述根据本发明的原理提出的接入服务器接口的备份系统和接入服务器接口的备份方法。The backup system of the access server interface and the backup method of the access server interface proposed according to the principles of the present invention are described below in conjunction with FIG. 3 and FIG. 4 .

如图3所示,本实施的接入服务器接口的备份系统主要包含互为备份的2个接入服务器接口330和340,它们根据双方的接口优先级确定主备关系。具体的说,它们相互发送包含其自身接口优先级的ASSP报文,并判断收到的报文中对方接口优先级是否高于本接口优先级,如果是,则将本接口设置为备接入服务器接口,否则将本接口设置为主接入服务器接口。此处需要说明的是,根据本发明的原理,互为备份的接入服务器接口数量不限与2个,可以是任意多个,其中一个为主接入服务器接口,其余都是备接入服务器接口。As shown in FIG. 3 , the backup system of the access server interface in this embodiment mainly includes two access server interfaces 330 and 340 that are mutually backup, and they determine the master-backup relationship according to the interface priorities of both parties. Specifically, they send ASSP messages containing their own interface priority to each other, and judge whether the priority of the other party's interface in the received message is higher than the priority of this interface, and if so, set this interface as standby access server interface, otherwise, set this interface as the main access server interface. What needs to be explained here is that, according to the principle of the present invention, the number of access server interfaces that are mutually backup is not limited to 2, and can be any number, one of which is the main access server interface, and the rest are standby access servers interface.

主接入服务器接口用于在处于活动状态期间,定期向备接入服务器接口发送第一报文,备接入服务器接口用于监控来自所述主接入服务器接口的第一报文,并在超过预定时间仍未收到所述第一报文时,将自身设置为主接入服务器接口。The main access server interface is used to periodically send the first message to the standby access server interface during the active state, and the standby access server interface is used to monitor the first message from the main access server interface, and When the first packet is not received within a predetermined time, set itself as the main access server interface.

下面进一步描述上述系统的工作情况。用户36、用户37首先接入到二层接入设备35中,经过二层接入设备35的汇聚,然后再接入到接入服务器33的某个接口330上,同时,与接口330互为备份的另一台接入服务器34的接口340,也接到二层接入设备35上,且把它们都划在同一个虚拟局域网(Virtual Local Area Network,简称“VLAN”)内,需要说明的是,划为同一个VLAN可以减少二者间的广播风暴发生时影响的范围,同样可以避免挤占用户的带宽。两个接入服务器的上行接至同一个路由器上32上,再通过路由器31逐级最后联接到因特网30。The operation of the above system is further described below. Users 36 and 37 are first connected to the Layer 2 access device 35, and after being aggregated by the Layer 2 access device 35, they are then connected to an interface 330 of the access server 33. At the same time, they are connected to the interface 330 The interface 340 of another access server 34 for backup is also connected to the access device 35 on the second floor, and they are all allocated in the same virtual local area network (Virtual Local Area Network, referred to as "VLAN"). Yes, dividing them into the same VLAN can reduce the scope of the impact of the broadcast storm between the two, and can also avoid crowding the user's bandwidth. The uplinks of the two access servers are connected to the same router 32, and then connected to the Internet 30 through the router 31 step by step.

以上描述了网络拓扑改造。接下来进一步说明软件上实现ASSP接入服务器接口备份的流程,如图4所示:The network topology modification is described above. Next, further explain the process of implementing ASSP access server interface backup on the software, as shown in Figure 4:

首先,步骤410,是默认设置的过程。默认情况下,所有接入服务器的接口在起始状态全是主接入服务器接口,即互为备份的接口330、接口340此时没有主备之区分,都能正常的收发任何报文。First, step 410 is a default setting process. By default, all the interfaces accessing the server are the main access server interfaces in the initial state, that is, the interfaces 330 and 340 are the backups of each other, and there is no distinction between the main and backup at this time, and any packets can be sent and received normally.

接下来,当互为备份的接口330、接口340配置在同一个备份组并启用ASSP协议后,它们便相互发送ASSP组播报文,报文中携带了自身接口优先级,由于二者已经在同一个VLAN内,因此,接口330可以收到接口340发出的ASSP报文,同样,接口340也会收到接口330发送的ASSP报文。Next, when the mutual backup interface 330 and interface 340 are configured in the same backup group and the ASSP protocol is enabled, they will send ASSP multicast packets to each other, and the packets carry their own interface priorities. In the same VLAN, therefore, the interface 330 can receive the ASSP message sent by the interface 340 , and similarly, the interface 340 will also receive the ASSP message sent by the interface 330 .

然后,步骤430是一个判断的过程,也是接口330与接口340区分主备状态的一个分水岭。当两个接口收到对方发来的ASSP报文后,取出报文中的优先级,和自身接口的优先级进行比较,如果发现对方的优先级高,则此接口进入步骤440,如果发现对方的优先级不高于自身优先级,则进行步骤431。Then, step 430 is a judging process, which is also a watershed for the interface 330 and the interface 340 to distinguish between the active and standby states. After the two interfaces receive the ASSP message sent by the other party, they take out the priority in the message and compare it with the priority of their own interface. If the priority of the other party is found to be high, the interface enters step 440. is not higher than its own priority, go to step 431.

在步骤431中,由于在前面的步骤430,接口判断出对方的优先级不高于自身优先级,因此本步骤中将自身保持为主接入服务器状态。在本实施例中,设定接口330居于这种状态,即接口330的优先级高于接口340,而且备份组中只有两个接口,这样,通过ASSP报文交互后,它便成为主接入服务接口,在工作正常时担负整个网络中接入服务器33与二层接入设备35间的数据流传递任务,并能正常收发任何报文。设置为主接入服务器接口后,在处于活动状态期间,将要定期向备接入服务器接口发送ASSP报文,这将在后续的步骤470中进行说明。In step 431, since the interface judged in the previous step 430 that the other party's priority is not higher than its own priority, it keeps itself in the master access server state in this step. In this embodiment, the interface 330 is set to be in this state, that is, the priority of the interface 330 is higher than that of the interface 340, and there are only two interfaces in the backup group. In this way, after the exchange of ASSP messages, it becomes the main access The service interface is responsible for the data flow transfer task between the access server 33 and the layer 2 access device 35 in the entire network when it works normally, and can send and receive any message normally. After being set as the main access server interface, it will periodically send ASSP messages to the standby access server interface during the active state, which will be described in the subsequent step 470 .

在步骤440中,由于前面的步骤430中,接口判断出对方的优先级高于自身优先级,所以在本步骤中,需要将自身的设成备接入服务器接口。在本实施例中,设定接口340居于这种状态,即接口330的优先级低于接口340,这样,通过ASSP报文交互后,它便成为备接入服务接口,在随后未来成为新主接入服务接口之前,只能接收ASSP报文。In step 440, since the interface judged in the previous step 430 that the other party's priority is higher than its own priority, in this step, its own device needs to be connected to the server interface. In this embodiment, the interface 340 is set to be in this state, that is, the priority of the interface 330 is lower than that of the interface 340. In this way, after the interaction of the ASSP message, it becomes the standby access service interface, and becomes the new master in the future. Before accessing the service interface, only ASSP packets can be received.

随后进入步骤450,备接入服务器接口判断是否超过预定时间段仍未收到来自主接入服务器接口的ASSP报文。本步骤是对接入服务器接口340的一个判断过程,该判断根据时刻监视接收到的ASSP报文间隔情况作出。如果没有超过设定限值,则继续保持为备接入服务器接口状态。如果超过限定值,则转到步骤460。Then enter step 450, where the standby access server interface judges whether the ASSP message from the main access server interface has not been received within a predetermined time period. This step is a judging process for the access server interface 340, and the judging is made according to the time interval monitoring of received ASSP messages. If it does not exceed the set limit value, it will continue to maintain the status of the standby access server interface. If the limit value is exceeded, go to step 460 .

在步骤460中,当主接口异常后,所有的备接口都不会收到主接口发出的第一报文,这样,超过预定时间,所有的备接口都将升为主接口。此时,相当于回到了默认设置状态,所有的接口又会发送包含自身优先级的ASSP报文,最终会选举出一个主接口,其他的成为备接口。In step 460, when the primary interface is abnormal, all the standby interfaces will not receive the first message sent by the primary interface. In this way, all the standby interfaces will be upgraded to the primary interface after a predetermined time. At this time, it is equivalent to returning to the default setting state, and all interfaces will send ASSP packets containing their own priorities, and finally a primary interface will be elected, and the others will become standby interfaces.

最后,在步骤470,对于主接入服务器接口,在其处于活动状态期间,定期向备接入服务器接口发送ASSP报文。Finally, in step 470, the primary access server interface periodically sends ASSP messages to the standby access server interface during its active state.

总结以上步骤,当接口330与接口340正常工作时,在二者选举出主备接口后,二层接入设备35的所有用户便只能通过接口330访问Internet。接口330在处于活动状态时,会定时,如1秒1次向外发送ASSP报文。这样,只要接口330正常,接口340就一直能够收到ASSP报文,从而获知接口330正处于活动状态,一直保持备接入服务器接口状态。熟悉本领域的技术人员能够理解,定期向外发送ASSP报文的频率可以根据需要进行配置和修改。To sum up the above steps, when the interface 330 and the interface 340 work normally, all users of the Layer 2 access device 35 can only access the Internet through the interface 330 after they elect the active and standby interfaces. When the interface 330 is in an active state, it will periodically send an ASSP message, for example, once a second. In this way, as long as the interface 330 is normal, the interface 340 can always receive the ASSP message, thereby knowing that the interface 330 is in the active state, and always maintains the state of the standby access server interface. Those skilled in the art can understand that the frequency of periodically sending out ASSP packets can be configured and modified as required.

当接口330发生异常时,接口340便无法收到ASSP报文,如果超过设定的限值,如连续3秒没有收到接口330发出的ASSP报文,接口340便获知接口330已经发生异常,自动成为主接入服务器接口。此时,二层接入设备35下的所有用户便会通过接口340访问Internet。由于接口340由备接入服务器接口切换成主接入服务器接口的时间很短,通常是几秒钟,对用户来说,由于IP网络上层协议的处理,是感觉不出相关的变化的,显然达到了电信级服务的要求。When an exception occurs on the interface 330, the interface 340 cannot receive the ASSP message. If it exceeds the set limit, such as not receiving the ASSP message sent by the interface 330 for 3 consecutive seconds, the interface 340 will know that an exception has occurred on the interface 330. Automatically become the primary access server interface. At this point, all users under the Layer 2 access device 35 will access the Internet through the interface 340 . Since the time for the interface 340 to switch from the standby access server interface to the main access server interface is very short, usually a few seconds, for the user, due to the processing of the upper layer protocol of the IP network, the relevant changes cannot be felt, obviously It meets the requirements of telecom-grade service.

以上是两个属于不同接入服务器的接口实现备份的实施例,如果两个接口属于同一个接入服务器,流程与其类似,但是只拥有接口级的冗余备份,而少了接入服务器级的冗余备份。The above is an embodiment of two interfaces belonging to different access servers to implement backup. If the two interfaces belong to the same access server, the process is similar, but only has interface-level redundant backup, and lacks access server-level Redundant backup.

虽然通过参照本发明的某些优选实施例,已经对本发明进行了图示和描述,但本领域的普通技术人员应该明白,可以在形式上和细节上对其作各种各样的改变,而不偏离所附权利要求书所限定的本发明的精神和范围。Although the present invention has been illustrated and described with reference to certain preferred embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein, and without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. the backup method of an access servo interface is characterized in that, comprises following steps:
The mutually redundant a plurality of access servo interfaces of A are determined its main and standby relation according to the interface priority of self;
The described main access servo interface of B regularly sends first message to being equipped with access servo interface during being in active state;
C when being equipped with access servo interface and surpassing predetermined amount of time and do not receive first message from described main access servo interface yet, enters steps A when described.
2. the backup method of access servo interface according to claim 1 is characterized in that, described steps A comprises following substep:
The mutually redundant a plurality of access servo interfaces of A1 send first message that comprises himself interface priority mutually;
The described access servo interface of A2 judges whether the other side's interface priority in described first message of receiving is higher than this interface priority, if then this interface is set to access servo interface fully, otherwise this interface is set to main access servo interface.
3. the backup method of access servo interface according to claim 1 is characterized in that, among the described step B, described main access servo interface can send described first message to the described access servo interface that is equipped with 1 time/second frequency.
4. according to the backup method of any described access servo interface of claim 1 to 3, it is characterized in that described mutually redundant a plurality of access servo interfaces can be distributed on the different servers.
5. according to the backup method of any described access servo interface of claim 1 to 3, it is characterized in that described mutually redundant a plurality of access servo interfaces can be distributed on the identical server.
6. the backup method of access servo interface according to claim 4 is characterized in that, comprises following content in described first message:
The transmission time interval of version number, type of message, backup group sign, interface priority, described first message and be used for described first message validity of verification verification and.
7. the backup method of access servo interface according to claim 6 is characterized in that, described first message also comprises auth type and authenticates employed random number and authentication value.
8. the standby system of an access servo interface is characterized in that, comprises mutually redundant a plurality of access servo interface, and wherein, described access servo interface is determined main and standby relation according to both sides' interface priority, and,
Described main access servo interface is used for during being in active state, regularly sends first message to being equipped with access servo interface;
The described access servo interface that is equipped with is used to monitor first message from described main access servo interface, and surpassing the scheduled time when not receiving described first message yet, self is set to main access servo interface.
9. the standby system of access servo interface according to claim 8 is characterized in that, described mutually redundant a plurality of access servo interfaces are distributed on the different servers.
10. the standby system of access servo interface according to claim 8 is characterized in that, described mutually redundant a plurality of access servo interfaces are distributed on the identical server.
CNB2004100972902A 2004-11-25 2004-11-25 Backup system and method for accessing server interface Expired - Fee Related CN100413252C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100972902A CN100413252C (en) 2004-11-25 2004-11-25 Backup system and method for accessing server interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100972902A CN100413252C (en) 2004-11-25 2004-11-25 Backup system and method for accessing server interface

Publications (2)

Publication Number Publication Date
CN1780231A true CN1780231A (en) 2006-05-31
CN100413252C CN100413252C (en) 2008-08-20

Family

ID=36770359

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100972902A Expired - Fee Related CN100413252C (en) 2004-11-25 2004-11-25 Backup system and method for accessing server interface

Country Status (1)

Country Link
CN (1) CN100413252C (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008046358A1 (en) * 2006-10-20 2008-04-24 Huawei Technologies Co., Ltd. A method and device to realize punch-through of point-to-multipoint network link status
CN101815315A (en) * 2010-03-12 2010-08-25 中兴通讯股份有限公司 Redundancy backup swap method, device and system
WO2011035585A1 (en) * 2009-09-23 2011-03-31 中兴通讯股份有限公司 Method and network system for implementing user port orientation in multi-machine backup scenario of broadband remote access server
CN101394264B (en) * 2007-09-21 2012-01-25 华为技术有限公司 Monitoring method and device for periodically packet transmission
CN102891868A (en) * 2011-07-19 2013-01-23 上海可鲁系统软件有限公司 Load balancing method and device for distributed system
CN103262046A (en) * 2010-12-10 2013-08-21 日本电气株式会社 Server management device, server management method and program
CN101299764B (en) * 2008-06-19 2014-09-10 中兴通讯股份有限公司 Method for backupping broadband access server for PPPOE access service
CN104135433A (en) * 2008-12-05 2014-11-05 思科技术公司 Failover and failback of communication between a router and a network switch
CN104243241A (en) * 2014-09-26 2014-12-24 广州华多网络科技有限公司 Service testing method and device
CN106506364A (en) * 2016-12-08 2017-03-15 努比亚技术有限公司 A kind of cut-in method, client and routing server
CN107104830A (en) * 2017-04-18 2017-08-29 广东浪潮大数据研究有限公司 A kind of multiserver switching method and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1147803C (en) * 1999-12-29 2004-04-28 上海龙林通信技术有限公司 Thermal backup method of IP network equipment
JP2003052074A (en) * 2001-08-06 2003-02-21 Sony Corp Communication system and method, carrier server, processing method of carrier server, computer program, storage medium

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008046358A1 (en) * 2006-10-20 2008-04-24 Huawei Technologies Co., Ltd. A method and device to realize punch-through of point-to-multipoint network link status
CN1964249B (en) * 2006-10-20 2010-08-25 华为技术有限公司 A method and device for realizing point-to-multipoint network link state passthrough
CN101479992B (en) * 2006-10-20 2011-11-09 华为技术有限公司 A method and device for realizing point-to-multipoint network link state passthrough
US8117337B2 (en) 2006-10-20 2012-02-14 Huawei Technologies Co., Ltd. Method and device for implementing link pass through in point-to-multipoint network
CN101394264B (en) * 2007-09-21 2012-01-25 华为技术有限公司 Monitoring method and device for periodically packet transmission
CN101299764B (en) * 2008-06-19 2014-09-10 中兴通讯股份有限公司 Method for backupping broadband access server for PPPOE access service
CN104135433B (en) * 2008-12-05 2018-09-21 思科技术公司 The failure of communication between router and the network switch shifts and fault recovery
CN104135433A (en) * 2008-12-05 2014-11-05 思科技术公司 Failover and failback of communication between a router and a network switch
CN102025476B (en) * 2009-09-23 2014-02-26 中兴通讯股份有限公司 Method for realizing user port positioning in BRAS (Broadband Remote Access Server) multicomputer backup scene and network system
CN102025476A (en) * 2009-09-23 2011-04-20 中兴通讯股份有限公司 Method for realizing user port positioning in BRAS (Broadband Remote Access Server) multicomputer backup scene and network system
WO2011035585A1 (en) * 2009-09-23 2011-03-31 中兴通讯股份有限公司 Method and network system for implementing user port orientation in multi-machine backup scenario of broadband remote access server
US8761001B2 (en) 2009-09-23 2014-06-24 Zte Corporation Method and network system for implementing user port orientation in multi-machine backup scenario of broadband remote access server
CN101815315B (en) * 2010-03-12 2015-05-13 中兴通讯股份有限公司 Redundancy backup swap method, device and system
CN101815315A (en) * 2010-03-12 2010-08-25 中兴通讯股份有限公司 Redundancy backup swap method, device and system
CN103262046A (en) * 2010-12-10 2013-08-21 日本电气株式会社 Server management device, server management method and program
CN102891868A (en) * 2011-07-19 2013-01-23 上海可鲁系统软件有限公司 Load balancing method and device for distributed system
CN102891868B (en) * 2011-07-19 2016-09-28 上海可鲁系统软件有限公司 The load-balancing method of a kind of distributed system and device
CN104243241A (en) * 2014-09-26 2014-12-24 广州华多网络科技有限公司 Service testing method and device
CN104243241B (en) * 2014-09-26 2018-01-12 广州华多网络科技有限公司 The method and device of operational trials
CN106506364A (en) * 2016-12-08 2017-03-15 努比亚技术有限公司 A kind of cut-in method, client and routing server
CN107104830A (en) * 2017-04-18 2017-08-29 广东浪潮大数据研究有限公司 A kind of multiserver switching method and system
CN107104830B (en) * 2017-04-18 2020-09-04 广东浪潮大数据研究有限公司 Multi-server switching method and system

Also Published As

Publication number Publication date
CN100413252C (en) 2008-08-20

Similar Documents

Publication Publication Date Title
US8681779B2 (en) Triple play subscriber and policy management system and method of providing same
CN102160337B (en) Reducing cc message transmission in a provider network
CN101115264B (en) Communication Terminal Fault Monitoring System and Its Realization Method
CN101183984A (en) Network management system, management method and equipment
CN101198034A (en) A network video monitoring system and its data exchange method
CN1501644A (en) Reachability detection method between IP network devices and its application in access backup of public dial-up network platform
CN1780231A (en) Backup system and method for access servo interface
CN1848768A (en) Characteristic identifying message for link aggregation marker protocol
CN101222347A (en) A method and device for enabling users to obtain network data
CN108616549A (en) A kind of file uploading method and file server
CN1505409A (en) A Rerouting Method Based on Network Entry Nodes
CN1567889A (en) A method of automatic primary standby equipment switching
WO2009021460A1 (en) Method for reporting implement result of policy, network communication system and equipment
CN1992707A (en) Fast restoration method of multicast service and network apparatus
CN1859407A (en) A method to guarantee private line users to access the Internet
CN101051957A (en) Dynamically regulating method and device for link state and bundled link state
CN101753275A (en) Method, device and system for retransmission of video messages
CN1620017A (en) Charging buffer storage system of broad band network cut-in service device and its method
CN101030917A (en) Method and apparatus for realizing MPLS TE on VLAN interface
CN1223155C (en) Method for realizing 802.1 X communication based on group management
CN1697410A (en) Quick redialing method for user to log on broadband network
CN1859431A (en) Method for realizing two-way marked exchange path
CN1773943A (en) Communication net node fault monitoring method
CN101052030A (en) Managing method for digital user line tied up
CN100336342C (en) Intelligent optical network system and user group management method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CI03 Correction of invention patent

Correction item: Instruction fourth

Correct: Replace the correct instruction manual on page fourth

False: Incorrect instructions, fourth pages

Number: 34

Page: The title page

Volume: 24

COR Change of bibliographic data

Free format text: CORRECT: DESCRIPTION PAGE FOUR; FROM: FALSE INSTRUCTIONS PAGE 4 TO: REPLACEMENT PAGE FOUR OF EXACT SPECIFICATION

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20080820

Termination date: 20191125

CF01 Termination of patent right due to non-payment of annual fee