WO2018035766A1 - Network abnormality processing method and system - Google Patents

Network abnormality processing method and system Download PDF

Info

Publication number
WO2018035766A1
WO2018035766A1 PCT/CN2016/096596 CN2016096596W WO2018035766A1 WO 2018035766 A1 WO2018035766 A1 WO 2018035766A1 CN 2016096596 W CN2016096596 W CN 2016096596W WO 2018035766 A1 WO2018035766 A1 WO 2018035766A1
Authority
WO
WIPO (PCT)
Prior art keywords
server
network device
traffic
management system
routing information
Prior art date
Application number
PCT/CN2016/096596
Other languages
French (fr)
Chinese (zh)
Inventor
贾云健
唐亮
吴玉成
Original Assignee
深圳天珑无线科技有限公司
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 深圳天珑无线科技有限公司 filed Critical 深圳天珑无线科技有限公司
Priority to PCT/CN2016/096596 priority Critical patent/WO2018035766A1/en
Publication of WO2018035766A1 publication Critical patent/WO2018035766A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control

Abstract

Provided in the embodiments of the present invention are a network flow processing method and system. The network flow processing method provided in the embodiments of the present invention comprises: if a network management system detects a fault in a main network device, a first server migrates the flow received by said main network device to the first server, and a second server allocates to at least one backup network device the flow migrated to the first server. The technical solution provided in the present invention enables the flow of a main network device to be switched to a backup network device in a timely and efficient manner after a fault is detected in the main network device, thereby improving processing efficiency, fault tolerance efficiency, and reliability, and reducing the impact of a main network device fault on service.

Description

网络异常的处理方法及系统Network abnormality processing method and system 技术领域Technical field
本发明涉及互联网通信技术领域,尤其涉及一种网络流量的处理方法及系统。The present invention relates to the field of Internet communication technologies, and in particular, to a method and system for processing network traffic.
背景技术Background technique
随着科学技术的飞速发展,互联网已经成为用户获取各种资源、查询各种信息等的重要手段,使得网络已经成为人类社会生活和经济生活中重要的基础设施。由于用户对网络的依赖日益见长,使得网络中的流量利用率不断升高,网络负荷不断增大,流量的波动日渐频繁。With the rapid development of science and technology, the Internet has become an important means for users to access various resources and query various information, making the network an important infrastructure in human social life and economic life. Due to the increasing reliance of users on the network, the traffic utilization rate in the network is increasing, the network load is increasing, and the traffic fluctuations are increasingly frequent.
网络中流量的波动是频繁发生的,流量的波动一般分为正常波动和异常波动。正常波动通常是因为网络中用户的增加或者业务使用量的增加产生的。这种波动比较平稳,并且呈现上升趋势。只要处理及时,流量的正常波动不会危害网络的稳定性和安全性。然而,当网络中的流量在较短时间内出现异常波动,会产生巨大的流量,甚至导致网络拥塞。Fluctuations in traffic in the network occur frequently, and fluctuations in traffic are generally divided into normal fluctuations and abnormal fluctuations. Normal fluctuations are usually caused by an increase in users in the network or an increase in business usage. This kind of fluctuation is relatively stable and shows an upward trend. As long as the processing is timely, normal fluctuations in traffic will not compromise the stability and security of the network. However, when the traffic in the network fluctuates abnormally in a short period of time, it will generate huge traffic and even cause network congestion.
现有技术中,异常波动多为网络中的网络设备出现故障,对于这种流量的异常波动,目前多采用人工处理的方式解决,因此处理效率比较低。In the prior art, the abnormal fluctuation is mostly caused by the failure of the network equipment in the network. For the abnormal fluctuation of the traffic, the manual processing is often used, so the processing efficiency is relatively low.
发明内容Summary of the invention
本发明提供一种网络流量的处理方法及系统,网络管理系统自动处理因为网络中的网络设备出现故障而产生的流量异常波动,提高了处理效率。The present invention provides a method and system for processing network traffic. The network management system automatically processes abnormal traffic fluctuations caused by network device failures in the network, thereby improving processing efficiency.
本发明实施例提供一种网络流量的处理方法,其特征在于,包括:The embodiment of the invention provides a method for processing network traffic, which is characterized in that it comprises:
若网络管理系统检测到主网络设备出现故障,第一服务器将所述主网络设备接收到的流量迁移到所述第一服务器;If the network management system detects that the primary network device is faulty, the first server migrates the traffic received by the primary network device to the first server;
第二服务器将迁移到所述第一服务器上的流量分配给至少一个备份网络设备。The second server allocates traffic migrated to the first server to at least one backup network device.
进一步地,上述方法中,所述第一服务器将所述主网络设备接收到的流量迁移到所述第一服务器之前,所述方法还包括:所述网络管理系统检测到 所述主网络设备出现故障之后,生成路由信息,所述路由信息包括:所述主网络设备的IP地址和所述第一服务器的IP地址;Further, in the above method, before the first server migrates the traffic received by the primary network device to the first server, the method further includes: the network management system detects After the primary network device is faulty, generating routing information, where the routing information includes: an IP address of the primary network device and an IP address of the first server;
所述网络管理系统向所述第一服务器发送所述路由信息;The network management system sends the routing information to the first server;
所述第一服务器将所述主网络设备接收到的流量迁移到所述第一服务器,包括:The first server migrates the traffic received by the primary network device to the first server, including:
所述第一服务器根据所述路由信息,将所述主网络设备上的流量迁移到所述第一服务器。The first server migrates traffic on the primary network device to the first server according to the routing information.
进一步地,上述方法中,所述第二服务器将迁移到所述第一服务器上的流量分配给至少一个备份网络设备之前,所述方法还包括:所述网络管理系统建立与所述第一服务器之间的连接;Further, in the above method, before the second server allocates the traffic that is migrated to the first server to the at least one backup network device, the method further includes: the network management system establishing the first server the connection between;
所述网络管理系统向所述第一服务器发送所述路由信息,包括:所述网络管理系统通过建立的连接向所述第一服务器发送所述路由信息。And the sending, by the network management system, the routing information to the first server, the network management system sending the routing information to the first server by using the established connection.
进一步地,上述方法中,所述第二服务器将迁移到所述第一服务器上的流量分配给至少一个备份网络设备,包括:Further, in the above method, the second server allocates the traffic that is migrated to the first server to the at least one backup network device, including:
所述第二服务器根据预设的分配策略,将所述第一服务器上的流量分配给至少一个备份网络设备。The second server allocates traffic on the first server to at least one backup network device according to a preset allocation policy.
本发明实施例还提供一种网络流量的处理方法,包括:The embodiment of the invention further provides a method for processing network traffic, including:
网络管理系统检测到主网络设备的故障解除后,触发第一服务器停止进行对所述主网络设备接收到的流量的迁移。After detecting that the fault of the primary network device is removed, the network management system triggers the first server to stop the migration of the traffic received by the primary network device.
进一步地,上述方法中,所述触发第一服务器停止进行对所述主网络设备接收到的流量的迁移,包括:Further, in the above method, the triggering the first server to stop performing migration of the traffic received by the primary network device includes:
所述网络管理系统向所述第一服务器发送删除指令;The network management system sends a delete instruction to the first server;
所述第一服务器根据所述删除指令删除路由信息,所述路由信息包括:主网络设备的IP地址和第一服务器的IP地址。本发明实施例还提供一种网络流量的处理系统,包括:网络管理系统、第一服务器、第二服务器和备份网络设备;The first server deletes routing information according to the deletion instruction, where the routing information includes: an IP address of the primary network device and an IP address of the first server. The embodiment of the invention further provides a network traffic processing system, comprising: a network management system, a first server, a second server, and a backup network device;
所述第一服务器,用于若网络管理系统检测到主网络设备出现故障,将所述主网络设备接收到的流量迁移到所述第一服务器;The first server is configured to: if the network management system detects that the primary network device is faulty, migrate the traffic received by the primary network device to the first server;
所述第二服务器,用于将迁移到所述第一服务器上的流量分配给至少一个备份网络设备。 The second server is configured to allocate traffic that is migrated to the first server to at least one backup network device.
进一步地,上述系统中,所述网络管理系统,具体用于:检测到所述主网络设备出现故障之后,生成路由信息,所述路由信息包括:所述主网络设备的IP地址和所述第一服务器的IP地址;Further, in the above system, the network management system is specifically configured to: after detecting that the primary network device is faulty, generate routing information, where the routing information includes: an IP address of the primary network device, and the The IP address of a server;
向所述第一服务器发送所述路由信息;Sending the routing information to the first server;
所述第一服务器,具体用于:根据所述路由信息,将所述主网络设备上的流量迁移到所述第一服务器。The first server is specifically configured to: migrate the traffic on the primary network device to the first server according to the routing information.
进一步地,上述系统中,所述网络管理系统,还具体用于:建立与所述第一服务器之间的连接;Further, in the above system, the network management system is further configured to: establish a connection with the first server;
通过建立的连接向所述第一服务器发送所述路由信息。The routing information is sent to the first server over the established connection.
进一步地,上述系统中,所述第二服务器,具体用于:根据预设的分配策略,将所述第一服务器上的流量分配给至少一个备份网络设备。Further, in the above system, the second server is specifically configured to: allocate traffic on the first server to at least one backup network device according to a preset allocation policy.
本发明实施例还提供一种网络流量的处理系统,包括:网络管理系统、第一服务器;The embodiment of the invention further provides a network traffic processing system, comprising: a network management system and a first server;
所述网络管理系统用于检测到主网络设备的故障解除后,触发第一服务器停止进行对所述主网络设备接收到的流量的迁移。After detecting the fault of the primary network device, the network management system triggers the first server to stop the migration of the traffic received by the primary network device.
本发明实施例还提供一种网络流量的处理系统,所述网络管理系统,具体用于:向第一服务器发送删除指令;The embodiment of the present invention further provides a network traffic processing system, where the network management system is specifically configured to: send a delete instruction to the first server;
所述第一服务器,具体用于:根据所述删除指令删除路由信息,所述路由信息包括:主网络设备的IP地址和第一服务器的IP地址。The first server is specifically configured to: delete the routing information according to the deleting instruction, where the routing information includes: an IP address of the primary network device and an IP address of the first server.
本发明实施例提供一种网络流量的处理方法及系统,通过网络管理系统检测到主网络设备出现故障后,第一服务器自动将主网络设备接收到的流量迁移到自身,然后第二服务器将迁移到第一服务器上的流量分配给至少一个备份网络设备上,因此,能够在检测到主网络设备出现故障后,及时、有效地将主网络设备上的流量切换到备份网络设备上,提高了处理效率、容错效率和可靠性,降低了主网络设备故障给业务带来的影响。The embodiment of the invention provides a method and a system for processing network traffic. After the network management system detects that the primary network device is faulty, the first server automatically migrates the traffic received by the primary network device to itself, and then the second server migrates. The traffic on the first server is allocated to at least one backup network device. Therefore, after detecting that the primary network device is faulty, the traffic on the primary network device can be switched to the backup network device in a timely and effective manner, thereby improving processing. Efficiency, fault tolerance efficiency and reliability reduce the impact of primary network equipment failures on the service.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在 不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, a brief description of the drawings used in the embodiments or the prior art description will be briefly described below. Obviously, the drawings in the following description Some embodiments of the present invention, for those of ordinary skill in the art, Other drawings may also be obtained from these drawings without the inventive labor.
图1为本发明提供的网络流量的处理方法所应用的系统示例图;1 is a diagram showing an example of a system to which a method for processing network traffic is provided according to the present invention;
图2为本发明提供的网络流量的处理方法实施例一的流程示意图;2 is a schematic flowchart of Embodiment 1 of a method for processing network traffic according to the present invention;
图3为本发明提供的网络流量的处理方法实施例二的流程示意图;3 is a schematic flowchart of Embodiment 2 of a method for processing network traffic according to the present invention;
图4为本发明提供的网络流量的处理方法实施例四的流程示意图;4 is a schematic flowchart of Embodiment 4 of a method for processing network traffic according to the present invention;
图5为本发明提供的网络流量的处理系统实施例一的结构示意图;FIG. 5 is a schematic structural diagram of Embodiment 1 of a system for processing network traffic according to the present invention;
图6为本发明提供的网络流量的处理系统实施例二的结构示意图。FIG. 6 is a schematic structural diagram of Embodiment 2 of a network traffic processing system according to the present invention.
具体实施方式detailed description
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the drawings in the embodiments of the present invention. It is a partial embodiment of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
实施例一Embodiment 1
图1为本发明提供的网络流量的处理方法所应用的系统示例图,图2为本发明提供的网络流量的处理方法实施例一的流程示意图,如图1和图2所示,本实施例的网络流量的处理方法,具体可以包括如下步骤:1 is a schematic diagram of a system to which a method for processing network traffic is provided according to the present invention. FIG. 2 is a schematic flowchart of a method for processing network traffic according to the first embodiment of the present invention. As shown in FIG. 1 and FIG. The method for processing network traffic may specifically include the following steps:
101、若网络管理系统检测到主网络设备出现故障,第一服务器将主网络设备接收到的流量迁移到第一服务器。101. If the network management system detects that the primary network device is faulty, the first server migrates the traffic received by the primary network device to the first server.
在本发明实施例中,网络管理系统可以包含网络实时状态监控系统、网络分析系统和DPI(Deep Packet Inspection,深度包检测)系统。其中,网络实时状态监控系统可以对网络中的所有网络设备进行监控,获取所有网络设备的信息、物理链路的实时流量、网络拓扑等。DPI系统可以对网络中物理链路中数据流进行识别,以获得流量的来源与流量的流向,还可以进行业务或类型分析等。网络分析系统可以监测用户数量是否发生变化、IP地址利用率变化、流量历史数据等。In the embodiment of the present invention, the network management system may include a network real-time state monitoring system, a network analysis system, and a DPI (Deep Packet Inspection) system. The network real-time status monitoring system can monitor all network devices in the network, obtain information of all network devices, real-time traffic of physical links, and network topology. The DPI system can identify the data flow in the physical link in the network to obtain the flow of traffic and traffic, and can also perform service or type analysis. The network analysis system can monitor whether the number of users changes, IP address utilization changes, traffic history data, and so on.
本发明实施例中,通过网络管理系统获取数据信息,并对获取到的数据信息进行分析与计算,分析与计算的结果能够反映出网络的实时运行状态,进而对网络是否发生异常进行检测。 In the embodiment of the present invention, the data information is obtained through the network management system, and the obtained data information is analyzed and calculated, and the analysis and calculation results can reflect the real-time running state of the network, thereby detecting whether an abnormality occurs in the network.
因此,在本发明实施例中依靠网络管理系统及时发现主网络设备出现故障后,进而自动进行处理。具体地,当网络管理系统确定主网络设备出现故障后,利用DPI系统对主网络设备进行分析,捕获到主网络设备的IP地址,并显示端口等物理信息,完成对故障信息的获取。Therefore, in the embodiment of the present invention, the network management system is used to timely discover that the primary network device is faulty, and then automatically perform processing. Specifically, after the network management system determines that the primary network device is faulty, the DPI system is used to analyze the primary network device, capture the IP address of the primary network device, and display physical information such as the port to complete the acquisition of the fault information.
然后,网络管理系统分别建立网络管理系统与第一服务器之间的连接,以及网络管理系统与第二服务器之间的连接,网络管理系统进一步可以通过与第一服务器之间的连接,向第一服务器发送信息,使得第一服务器可以根据接收到的信息将主网络设备接收到的流量迁移到自身。Then, the network management system separately establishes a connection between the network management system and the first server, and a connection between the network management system and the second server, and the network management system can further connect to the first server through the connection with the first server. The server sends the information so that the first server can migrate the traffic received by the primary network device to itself according to the received information.
需要说明的是,在本发明实施例中,第一服务器与第二服务器属于处理故障时使用的服务器,因此,第一服务器与第二服务器之间可以预先建立连接,以便于当网络管理系统检测到网络中的主网络设备出现故障后,可以立即进入工作状态。It should be noted that, in the embodiment of the present invention, the first server and the second server belong to a server used when processing a fault, and therefore, the connection between the first server and the second server may be established in advance, so that when the network management system detects After the failure of the primary network device in the network, it can immediately enter the working state.
102、第二服务器将迁移到第一服务器上的流量分配给至少一个备份网络设备。102. The second server allocates the traffic migrated to the first server to the at least one backup network device.
在本发明实施例中,第一服务器可以是调度服务器,第二服务器可以是负载均衡器。第一服务器将主网络设备接收到的流量迁移到自身后,通过预先建立的连接,第二服务器监测到第一服务器正在进行迁移流量的动作后,第二服务器依据预设的分配策略对第一服务器上的流量进行分配。In the embodiment of the present invention, the first server may be a scheduling server, and the second server may be a load balancer. After the first server migrates the traffic received by the primary network device to itself, the second server monitors the action of the first server performing the migration traffic through the pre-established connection, and the second server performs the first according to the preset allocation policy. Traffic on the server is allocated.
例如,第二服务器可以将第一服务器上的流量均匀的分配给至少一个备份网络设备,以避免流量拥塞。流量迁移到备份网络设备后,可以避免主网络设备出现故障、停止工作给业务带来的影响,这样,在主网络设备出现故障时,网络仍然能够提供服务。For example, the second server can evenly distribute traffic on the first server to at least one backup network device to avoid traffic congestion. After the traffic is migrated to the backup network device, the impact of the failure of the primary network device and the stoppage of the service can be avoided. Therefore, when the primary network device fails, the network can still provide services.
本发明实施例提供的上述网络流量的处理方法,通过网络管理系统检测到主网络设备出现故障后,第一服务器自动将主网络设备接收到的流量迁移到自身,然后第二服务器将迁移到第一服务器上的流量分配给至少一个备份网络设备上,因此,能够在检测到主网络设备出现故障后,及时、有效地将主网络设备上的流量切换到备份网络设备上,提高了处理效率、容错效率和可靠性,降低了主网络设备故障给业务带来的影响。The method for processing the foregoing network traffic provided by the embodiment of the present invention, after the network management system detects that the primary network device fails, the first server automatically migrates the traffic received by the primary network device to itself, and then the second server migrates to the first The traffic on a server is allocated to at least one backup network device. Therefore, after detecting the failure of the primary network device, the traffic on the primary network device can be switched to the backup network device in a timely and effective manner, thereby improving processing efficiency. Fault-tolerant efficiency and reliability reduce the impact of primary network equipment failures on the service.
实施例二 Embodiment 2
图3为本发明提供的网络流量的处理方法实施例二的流程示意图,如图3所示,本实施例的网络流量的处理方法,具体可以包括如下步骤:FIG. 3 is a schematic flowchart of Embodiment 2 of a method for processing network traffic according to the present invention. As shown in FIG. 3, the method for processing network traffic in this embodiment may specifically include the following steps:
201、网络管理系统检测到主网络设备出现故障。201. The network management system detects that the primary network device is faulty.
202、网络管理系统建立与第一服务器之间的连接。202. The network management system establishes a connection with the first server.
当网络管理系统中检测到主网络设备出现故障后,网络管理系统可以分别与第一服务器和第二服务器建立连接。建立连接的方式可以是远程登录,例如,网络管理系统可以输入预先设定的账户名和密码,进入到第一服务器中,以建立与第一服务器的连接。或者,也可以是,网络管理系统向第一服务器发送建立连接命令,在建立连接命令中携带第一服务器的IP地址。After detecting that the primary network device fails in the network management system, the network management system may establish a connection with the first server and the second server, respectively. The way to establish a connection may be remote login. For example, the network management system may input a preset account name and password and enter the first server to establish a connection with the first server. Alternatively, the network management system may send a connection establishment command to the first server, where the IP address of the first server is carried in the connection establishment command.
需要说明的是,在本发明实施例中,仅以网络管理系统与第一服务器之间的进行连接的方式进行说明,网络服务器与第二服务器之间建立连接的方式相同,此处不再赘述。网络管理系统与第二服务器之间建立连接,可以实现网络管理系统监测第二服务器的工作状态的功能。It should be noted that, in the embodiment of the present invention, only the connection between the network management system and the first server is described, and the manner of establishing a connection between the network server and the second server is the same, and details are not described herein again. . A connection is established between the network management system and the second server, and the network management system can monitor the working state of the second server.
203、网络管理系统生成路由信息。203. The network management system generates routing information.
当建立连接后,网络管理系统自动生成一条路由信息,路由信息用于主网络设备、第一服务器、第二服务器和备份网络设备之间实现通信。After the connection is established, the network management system automatically generates a routing information, and the routing information is used to implement communication between the primary network device, the first server, the second server, and the backup network device.
在一个具体的实现方案中,路由信息中包括:主网络设备的IP地址和第一服务器的IP地址。In a specific implementation, the routing information includes: an IP address of the primary network device and an IP address of the first server.
在本发明实施例中,路由信息可以是一条静态路由,例如,Y.Y.Y.Y,255.255.255.255,A.A.A.A,其中,Y.Y.Y.Y为主网络设备的IP地址,255.255.255.255为处理主网络设备故障时专用的子网掩码,A.A.A.A为第一服务器的IP地址。In the embodiment of the present invention, the routing information may be a static route, for example, YYYY, 255.255.255.255, AAAA, where YYYY is the IP address of the primary network device, and 255.255.255.255 is the dedicated subnet when the primary network device fails. Mask, AAAA is the IP address of the first server.
204、网络管理系统向第一服务器发送路由信息。204. The network management system sends routing information to the first server.
网络管理系统自动生成路由信息后,网络管理系统向第一服务器发送路由信息,因为网络中存在有RIP(Routing Information Protocol,路由选择信息协议)协议,所以当第一服务器接收到一个路由信息后,第一服务器就在网络中发送广播,使得网络中的其他设备可以根据拓扑来自动选择,获取到该路由信息。After the network management system automatically generates the routing information, the network management system sends the routing information to the first server. Because the RIP (Routing Information Protocol) protocol exists in the network, when the first server receives a routing information, The first server sends a broadcast in the network, so that other devices in the network can automatically select and obtain the routing information according to the topology.
由于路由信息具有唯一性,使得网络中主网络设备、第一服务器、第二服务器以及至少一个备份网络设备均可以遵循同一个路由信息,对流向主网 络设备的流量进行处理。The routing information is unique, so that the primary network device, the first server, the second server, and the at least one backup network device in the network can follow the same routing information and flow to the primary network. The traffic of the network device is processed.
205、第一服务器根据路由信息,将主网络设备上的流量迁移到第一服务器。205. The first server migrates the traffic on the primary network device to the first server according to the routing information.
206、第二服务器将迁移到第一服务器上的流量分配给至少一个备份网络设备。206. The second server allocates the traffic that is migrated to the first server to the at least one backup network device.
本发明实施例提供一种网络流量的处理方法,通过网络管理系统检测到主网络设备出现故障后,网络管理系统分别与第一服务器和第二服务器建立连接,然后网络管理系统向第一服务器发送路由信息,第一服务器根据该路由信息自动将主网络设备接收到的流量迁移到自身,然后第二服务器将迁移到第一服务器上的流量分配给至少一个备份网络设备上,因此,能够在检测到主网络设备出现故障后,及时、有效地将主网络设备上的流量切换到备份网络设备上,提高了处理效率、容错效率和可靠性,降低了主网络设备故障给业务带来的影响。The embodiment of the invention provides a method for processing network traffic. After the network management system detects that the primary network device is faulty, the network management system establishes a connection with the first server and the second server, and then the network management system sends the network management system to the first server. Routing information, the first server automatically migrates the traffic received by the primary network device to itself according to the routing information, and then the second server allocates the traffic migrated to the first server to the at least one backup network device, thereby being able to detect After the fault occurs on the primary network device, the traffic on the primary network device is switched to the backup network device in a timely and effective manner, which improves the processing efficiency, fault tolerance, and reliability, and reduces the impact of the fault of the primary network device on the service.
实施例三Embodiment 3
本发明实施例还提供一种网络流量的处理方法,可以包括:网络管理系统检测到主网络设备的故障解除后,触发第一服务器停止进行对主网络设备接收到的流量的迁移。The embodiment of the present invention further provides a method for processing network traffic, which may include: after detecting that the fault of the primary network device is removed, the network management system triggers the first server to stop the migration of the traffic received by the primary network device.
采用本发明实施例提供的网络流量的处理方法,可以实现停止对主网络设备接收到的流量的迁移,进而从主网络设备迁移的流量可以继续流向主网络设备,实现流量的回迁。The network traffic processing method provided by the embodiment of the present invention can stop the migration of the traffic received by the primary network device, and the traffic migrated from the primary network device can continue to flow to the primary network device to implement the traffic forwarding.
实施例四Embodiment 4
图4为本发明提供的网络流量的处理方法实施例四的流程示意图,如图4所示,本实施例的网络流量的处理方法,具体可以包括如下步骤:4 is a schematic flowchart of a method for processing network traffic according to Embodiment 4 of the present invention. As shown in FIG. 4, the method for processing network traffic in this embodiment may specifically include the following steps:
301、网络管理系统检测到主网络设备的故障解除。301. The network management system detects that the fault of the primary network device is released.
本发明实施例中,通过网络管理系统获取数据信息,当网络管理系统获取到主网络设备状态恢复正常,即可以进行与出现故障之前相同的工作,进而可以主网络设备的故障是否解除。In the embodiment of the present invention, the data management information is obtained by the network management system. When the network management system obtains that the status of the primary network device is restored, the same work as before the failure occurs, and whether the fault of the primary network device is cancelled.
302、网络管理系统向第一服务器发送删除指令。 302. The network management system sends a delete instruction to the first server.
网络管理系统确定主网络设备故障解除后,就可以停止第一服务器、第二服务器以及备份网络设备的工作,所以网络管理设备向第一服务器发送删除指令。After the network management system determines that the primary network device fails, the first server, the second server, and the backup network device can be stopped, so the network management device sends a delete command to the first server.
需要说明的是,删除指令中可以携带有在实施例二中所提到的路由信息。It should be noted that the deletion instruction may carry the routing information mentioned in the second embodiment.
303、第一服务器根据删除指令删除路由信息。303. The first server deletes the routing information according to the deletion instruction.
304、第一服务器停止进行对主网络设备接收到的流量的迁移。304. The first server stops performing migration of the traffic received by the primary network device.
当第一服务器删除掉路由信息后,可以实现停止对主网络设备接收到的流量的迁移,进而从主网络设备迁移的流量可以继续流向主网络设备,实现流量的回迁。After the first server deletes the routing information, the traffic that is received by the primary network device can be stopped, and the traffic that is migrated from the primary network device can continue to flow to the primary network device to implement traffic forwarding.
本发明实施例提供的网络流量的处理方法,在网络管理系统确定主网络设备故障解除后,网络管理系统自动向第一服务器发送删除指令,使得第一服务器根据删除指令删除路由信息,进而停止对主网络设备接收到的流量的迁移,实现了在主网络设备故障解除后停止对第一服务器和第二服务器的占用,避免资源浪费。After the network management system determines that the fault of the primary network device is removed, the network management system automatically sends a delete command to the first server, so that the first server deletes the routing information according to the delete command, and then stops the pair. The migration of the traffic received by the primary network device stops the occupation of the first server and the second server after the failure of the primary network device, thereby avoiding waste of resources.
实施例五Embodiment 5
图5为本发明提供的网络流量的处理系统实施例一的结构示意图,如图5所示,本发明实施例提供的网络流量的处理系统,包括:网络管理系统11、第一服务器12、第二服务器13和备份网络设备14。FIG. 5 is a schematic structural diagram of Embodiment 1 of a network traffic processing system according to the present invention. As shown in FIG. 5, a network traffic processing system according to an embodiment of the present invention includes: a network management system 11, a first server 12, and a Two servers 13 and backup network devices 14.
其中,第一服务器12,用于若网络管理系统11检测到主网络设备出现故障,将主网络设备接收到的流量迁移到第一服务器12。The first server 12 is configured to migrate the traffic received by the primary network device to the first server 12 if the network management system 11 detects that the primary network device is faulty.
第二服务器13,用于将迁移到第一服务器12上的流量分配给至少一个备份网络设备14。The second server 13 is configured to allocate the traffic migrated to the first server 12 to the at least one backup network device 14.
进一步地,网络管理系统11,具体用于:Further, the network management system 11 is specifically configured to:
检测到主网络设备出现故障之后,生成路由信息,路由信息包括:主网络设备的IP地址和第一服务器12的IP地址;After detecting that the primary network device is faulty, generating routing information, where the routing information includes: an IP address of the primary network device and an IP address of the first server 12;
向第一服务器12发送路由信息;Sending routing information to the first server 12;
第一服务器12,具体用于:根据路由信息,将主网络设备上的流量迁移到第一服务器12。The first server 12 is specifically configured to: migrate the traffic on the primary network device to the first server 12 according to the routing information.
进一步地,网络管理系统11,还具体用于:建立与第一服务器12之间 的连接;Further, the network management system 11 is further configured to: establish a relationship with the first server 12 Connection;
通过建立的连接向第一服务器12发送路由信息。Routing information is sent to the first server 12 over the established connection.
进一步地,第二服务器13,具体用于:根据预设的分配策略,将第一服务器12上的流量分配给至少一个备份网络设备14。Further, the second server 13 is specifically configured to: allocate traffic on the first server 12 to the at least one backup network device 14 according to a preset allocation policy.
本实施例的系统,可以用于执行图2、图3所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The system of this embodiment can be used to implement the technical solution of the method embodiment shown in FIG. 2 and FIG. 3, and the implementation principle and technical effects are similar, and details are not described herein again.
实施例六Embodiment 6
图6为本发明提供的网络流量的处理系统实施例二的结构示意图,如图6所示,本发明实施例提供的网络流量的处理系统,包括:网络管理系统21、第一服务器22;FIG. 6 is a schematic structural diagram of a second embodiment of a network traffic processing system according to the present invention. As shown in FIG. 6 , a network traffic processing system according to an embodiment of the present invention includes: a network management system 21 and a first server 22;
其中,among them,
网络管理系统21用于检测到主网络设备的故障解除后,触发第一服务器22停止进行对主网络设备接收到的流量的迁移。After detecting the failure of the primary network device, the network management system 21 triggers the first server 22 to stop the migration of the traffic received by the primary network device.
进一步地,网络管理系统21具体用于:Further, the network management system 21 is specifically configured to:
向第一服务器22发送删除指令;Sending a delete instruction to the first server 22;
第一服务器22,具体用于:The first server 22 is specifically configured to:
根据删除指令删除路由信息,路由信息包括:主网络设备的IP地址和第一服务器22的IP地址。The routing information is deleted according to the deletion instruction, and the routing information includes: an IP address of the primary network device and an IP address of the first server 22.
本实施例的系统,可以用于执行图4所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The system of the present embodiment can be used to implement the technical solution of the method embodiment shown in FIG. 4, and the implementation principle and technical effects are similar, and details are not described herein again.
本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。One of ordinary skill in the art will appreciate that all or part of the steps to implement the various method embodiments described above may be accomplished by hardware associated with the program instructions. The aforementioned program can be stored in a computer readable storage medium. The program, when executed, performs the steps including the foregoing method embodiments; and the foregoing storage medium includes various media that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.
以上所描述的装置实施例仅仅是示意性的,其中作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到至少两个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例 方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。The device embodiments described above are merely illustrative, wherein the units illustrated as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located in one place. Or it can be distributed to at least two network elements. Some or all of the modules may be selected according to actual needs to implement the embodiment. The purpose of the program. Those of ordinary skill in the art can understand and implement without deliberate labor.
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。 Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that The technical solutions described in the foregoing embodiments may be modified, or some or all of the technical features may be equivalently replaced; and the modifications or substitutions do not deviate from the technical solutions of the embodiments of the present invention. range.

Claims (12)

  1. 一种网络流量的处理方法,其特征在于,包括:A method for processing network traffic, characterized in that it comprises:
    若网络管理系统检测到主网络设备出现故障,第一服务器将所述主网络设备接收到的流量迁移到所述第一服务器;If the network management system detects that the primary network device is faulty, the first server migrates the traffic received by the primary network device to the first server;
    第二服务器将迁移到所述第一服务器上的流量分配给至少一个备份网络设备。The second server allocates traffic migrated to the first server to at least one backup network device.
  2. 根据权利要求1所述的方法,其特征在于,所述第一服务器将所述主网络设备接收到的流量迁移到所述第一服务器之前,所述方法还包括:所述网络管理系统检测到所述主网络设备出现故障之后,生成路由信息,所述路由信息包括:所述主网络设备的IP地址和所述第一服务器的IP地址;The method according to claim 1, wherein the first server before the traffic received by the primary network device is migrated to the first server, the method further comprises: the network management system detecting After the primary network device is faulty, generating routing information, where the routing information includes: an IP address of the primary network device and an IP address of the first server;
    所述网络管理系统向所述第一服务器发送所述路由信息;The network management system sends the routing information to the first server;
    所述第一服务器将所述主网络设备接收到的流量迁移到所述第一服务器,包括:The first server migrates the traffic received by the primary network device to the first server, including:
    所述第一服务器根据所述路由信息,将所述主网络设备上的流量迁移到所述第一服务器。The first server migrates traffic on the primary network device to the first server according to the routing information.
  3. 根据权利要求1所述的方法,其特征在于,The method of claim 1 wherein
    所述第二服务器将迁移到所述第一服务器上的流量分配给至少一个备份网络设备之前,所述方法还包括:所述网络管理系统建立与所述第一服务器之间的连接;Before the second server allocates the traffic that is migrated to the first server to the at least one backup network device, the method further includes: the network management system establishing a connection with the first server;
    所述网络管理系统向所述第一服务器发送所述路由信息,包括:所述网络管理系统通过建立的连接向所述第一服务器发送所述路由信息。And the sending, by the network management system, the routing information to the first server, the network management system sending the routing information to the first server by using the established connection.
  4. 根据权利要求1所述的方法,其特征在于,所述第二服务器将迁移到所述第一服务器上的流量分配给至少一个备份网络设备,包括:The method according to claim 1, wherein the second server allocates traffic migrating to the first server to at least one backup network device, including:
    所述第二服务器根据预设的分配策略,将所述第一服务器上的流量分配给至少一个备份网络设备。The second server allocates traffic on the first server to at least one backup network device according to a preset allocation policy.
  5. 一种网络流量的处理方法,其特征在于,包括:A method for processing network traffic, characterized in that it comprises:
    网络管理系统检测到主网络设备的故障解除后,触发第一服务器停止进行对所述主网络设备接收到的流量的迁移。After detecting that the fault of the primary network device is removed, the network management system triggers the first server to stop the migration of the traffic received by the primary network device.
  6. 根据权利要求5所述的方法,其特征在于,所述触发第一服务器 停止进行对所述主网络设备接收到的流量的迁移,包括:The method of claim 5 wherein said triggering said first server Stop the migration of traffic received by the primary network device, including:
    所述网络管理系统向所述第一服务器发送删除指令;The network management system sends a delete instruction to the first server;
    所述第一服务器根据所述删除指令删除路由信息,所述路由信息包括:主网络设备的IP地址和第一服务器的IP地址。The first server deletes routing information according to the deletion instruction, where the routing information includes: an IP address of the primary network device and an IP address of the first server.
  7. 一种网络流量的处理系统,包括:网络管理系统、第一服务器、第二服务器和备份网络设备;A network traffic processing system includes: a network management system, a first server, a second server, and a backup network device;
    所述第一服务器,用于若网络管理系统检测到主网络设备出现故障,将所述主网络设备接收到的流量迁移到所述第一服务器;The first server is configured to: if the network management system detects that the primary network device is faulty, migrate the traffic received by the primary network device to the first server;
    所述第二服务器,用于将迁移到所述第一服务器上的流量分配给至少一个备份网络设备。The second server is configured to allocate traffic that is migrated to the first server to at least one backup network device.
  8. 根据权利要求7所述的系统,其特征在于,所述网络管理系统,具体用于:检测到所述主网络设备出现故障之后,生成路由信息,所述路由信息包括:所述主网络设备的IP地址和所述第一服务器的IP地址;The system according to claim 7, wherein the network management system is configured to: after detecting that the primary network device is faulty, generate routing information, where the routing information includes: the primary network device An IP address and an IP address of the first server;
    向所述第一服务器发送所述路由信息;Sending the routing information to the first server;
    所述第一服务器,具体用于:根据所述路由信息,将所述主网络设备上的流量迁移到所述第一服务器。The first server is specifically configured to: migrate the traffic on the primary network device to the first server according to the routing information.
  9. 根据权利要求8所述的系统,其特征在于,所述网络管理系统,还具体用于:建立与所述第一服务器之间的连接;The system according to claim 8, wherein the network management system is further configured to: establish a connection with the first server;
    通过建立的连接向所述第一服务器发送所述路由信息。The routing information is sent to the first server over the established connection.
  10. 根据权利要求8所述的系统,其特征在于,所述第二服务器,具体用于:根据预设的分配策略,将所述第一服务器上的流量分配给至少一个备份网络设备。The system according to claim 8, wherein the second server is configured to: allocate traffic on the first server to at least one backup network device according to a preset allocation policy.
  11. 一种网络流量的处理系统,包括:网络管理系统、第一服务器;A network traffic processing system, comprising: a network management system, a first server;
    所述网络管理系统用于检测到主网络设备的故障解除后,触发第一服务器停止进行对所述主网络设备接收到的流量的迁移。After detecting the fault of the primary network device, the network management system triggers the first server to stop the migration of the traffic received by the primary network device.
  12. 根据权利要求10所述的系统,其特征在于,所述网络管理系统,具体用于:向第一服务器发送删除指令;The system according to claim 10, wherein the network management system is specifically configured to: send a delete instruction to the first server;
    所述第一服务器,具体用于:根据所述删除指令删除路由信息,所述路由信息包括:主网络设备的IP地址和第一服务器的IP地址。 The first server is specifically configured to: delete the routing information according to the deleting instruction, where the routing information includes: an IP address of the primary network device and an IP address of the first server.
PCT/CN2016/096596 2016-08-24 2016-08-24 Network abnormality processing method and system WO2018035766A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/096596 WO2018035766A1 (en) 2016-08-24 2016-08-24 Network abnormality processing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/096596 WO2018035766A1 (en) 2016-08-24 2016-08-24 Network abnormality processing method and system

Publications (1)

Publication Number Publication Date
WO2018035766A1 true WO2018035766A1 (en) 2018-03-01

Family

ID=61246024

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/096596 WO2018035766A1 (en) 2016-08-24 2016-08-24 Network abnormality processing method and system

Country Status (1)

Country Link
WO (1) WO2018035766A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113070906A (en) * 2021-04-07 2021-07-06 北京云迹科技有限公司 Service robot system and network fault diagnosis method and device thereof
CN113556389A (en) * 2021-07-14 2021-10-26 山东新一代信息产业技术研究院有限公司 RPC type cloud side end communication method, system and storage medium
CN114422470A (en) * 2021-12-27 2022-04-29 中国电信股份有限公司 Address processing method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101052012A (en) * 2007-05-23 2007-10-10 杭州华三通信技术有限公司 Method and device for protecting equalizing group port flow
CN102164086A (en) * 2011-04-25 2011-08-24 中兴通讯股份有限公司 Method and device for quick migration of direct route
CN103414642A (en) * 2013-08-19 2013-11-27 杭州华三通信技术有限公司 Maintaining method and device of information forwarding

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101052012A (en) * 2007-05-23 2007-10-10 杭州华三通信技术有限公司 Method and device for protecting equalizing group port flow
CN102164086A (en) * 2011-04-25 2011-08-24 中兴通讯股份有限公司 Method and device for quick migration of direct route
CN103414642A (en) * 2013-08-19 2013-11-27 杭州华三通信技术有限公司 Maintaining method and device of information forwarding

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113070906A (en) * 2021-04-07 2021-07-06 北京云迹科技有限公司 Service robot system and network fault diagnosis method and device thereof
CN113070906B (en) * 2021-04-07 2022-04-26 北京云迹科技股份有限公司 Service robot system and network fault diagnosis method and device thereof
CN113556389A (en) * 2021-07-14 2021-10-26 山东新一代信息产业技术研究院有限公司 RPC type cloud side end communication method, system and storage medium
CN113556389B (en) * 2021-07-14 2024-02-09 山东新一代信息产业技术研究院有限公司 RPC type cloud edge communication method, system and storage medium
CN114422470A (en) * 2021-12-27 2022-04-29 中国电信股份有限公司 Address processing method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US10601728B2 (en) Software-defined data center and service cluster scheduling and traffic monitoring method therefor
US11237858B2 (en) Software-defined data center, and deployment method for service cluster therein
CN107465721B (en) Global load balancing method and system based on double-active architecture and scheduling server
US20130124712A1 (en) Elastic cloud networking
TWI677217B (en) Method and device for implementing packet mirroring of dynamic traffic in a cloud network environment
US10455412B2 (en) Method, apparatus, and system for migrating virtual network function instance
WO2017050254A1 (en) Hot backup method, device and system
US8112518B2 (en) Redundant systems management frameworks for network environments
WO2018035766A1 (en) Network abnormality processing method and system
CN105429799A (en) Server backup method and device
KR101586354B1 (en) Communication failure recover method of parallel-connecte server system
CN103220189A (en) Multi-active detection (MAD) backup method and equipment
US9288141B2 (en) Highly scalable modular system with high reliability and low latency
CN105490847A (en) Real-time detecting and processing method of node failure in private cloud storage system
WO2015184759A1 (en) Apparatus and method for state detection and fault tolerance of service network port
CN109246134B (en) Message control method and device
KR20200072941A (en) Method and apparatus for handling VRRP(Virtual Router Redundancy Protocol)-based network failure using real-time fault detection
Jeong et al. Proactive live migration for virtual network functions using machine learning
CN106453118B (en) Flow control method and flow control system
CN105391565A (en) Method for achieving synchronization of backup business configuration
CN106603334B (en) A kind of IP address monitoring method and device
WO2018223991A1 (en) Method and system for switching between active bng and standby bng, and bng
CN105591780B (en) Cluster monitoring method and equipment
US10172028B2 (en) System and method for seamless TCP connection handoff
US20230344707A1 (en) Using an application programming interface (api) gateway to manage communications in a distributed system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16913789

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16913789

Country of ref document: EP

Kind code of ref document: A1