WO2019011142A1 - 一种进行网络链路切换的方法和系统 - Google Patents

一种进行网络链路切换的方法和系统 Download PDF

Info

Publication number
WO2019011142A1
WO2019011142A1 PCT/CN2018/093952 CN2018093952W WO2019011142A1 WO 2019011142 A1 WO2019011142 A1 WO 2019011142A1 CN 2018093952 W CN2018093952 W CN 2018093952W WO 2019011142 A1 WO2019011142 A1 WO 2019011142A1
Authority
WO
WIPO (PCT)
Prior art keywords
network
network link
optimization information
determining
determined
Prior art date
Application number
PCT/CN2018/093952
Other languages
English (en)
French (fr)
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 阿里巴巴集团控股有限公司
Publication of WO2019011142A1 publication Critical patent/WO2019011142A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/148Migration or transfer of sessions

Definitions

  • the present application relates to the field of Internet technologies, and in particular, to a method and system for performing network link switching.
  • IDCs Internet Data Centers
  • IDC stores a certain number of network servers.
  • a specific Internet software is deployed on the server, and multiple IDCs provide network services at the same time.
  • Each IDC service part of the user, and all users of the data center service add up to all users.
  • IDC makes it accessible to users all over the world.
  • the biggest problem with Internet services for global users is interconnection.
  • Interconnection means that global Internet providers can have many path choices when their covered users communicate with each other. For example, when a Japanese user visits a Chinese domestic website, the network link may be directly connected to China Telecom by Softbank, or may be a soft silver docking TATA. TATA docking LEVEL3, LEVEL3 docking China Telecom, may also be other options (of which TATA and LEVEL3 are global Internet operators).
  • the interconnection is unreachable. That is, the user cannot access the IDC network link. If the IDC fails, the switch cannot be switched to the disaster recovery IDC.
  • the present invention provides a method and system for performing network link switching, which can be used to manually switch other network links by manually selecting the interconnection and unreachability in the prior art. A long time problem.
  • a method for performing network link switching according to an embodiment of the present application includes:
  • Network link switching is performed according to the determined target network link.
  • a system for performing network link switching according to an embodiment of the present application includes:
  • a monitoring module configured to monitor performance parameters of the plurality of network links corresponding to the user set in the plurality of network links corresponding to the currently set network optimization information, where at least one of the plurality of network links corresponding to the user set
  • the link carries a user request of the user set
  • a determining module configured to determine a target network link from the plurality of network links according to the monitored performance parameter
  • a switching module configured to perform network link switching according to the determined target network link.
  • the performance parameter of the multiple network links corresponding to the user set in the multiple network links corresponding to the currently set network optimization information is monitored, and the performance parameter is determined from the multiple network links according to the monitored performance parameter.
  • Target network link and network link switching Since the embodiment of the present application performs network link switching according to the monitored performance parameter, manual manual switching is not required, thereby improving switching efficiency and shortening processing time.
  • FIG. 1 is a schematic diagram of a principle of performing network link switching according to an embodiment of the present application
  • FIG. 2 is a schematic diagram of three parts of performing network link switching according to an embodiment of the present application.
  • FIG. 3 is a schematic flowchart of a method for performing network link switching according to an embodiment of the present application
  • FIG. 4 is a schematic flowchart of a complete method for performing network link switching according to an embodiment of the present application
  • FIG. 5 is a schematic structural diagram of a system for performing network link switching according to an embodiment of the present application.
  • the embodiment of the present application pre-defines multiple network optimization information.
  • the network optimization information here is the basis for network link switching. That is to say, different network optimization information may also have different network links selected when performing network link switching.
  • each network link set includes at least two network links.
  • Each network link includes, but is not limited to, some or all of the following resources:
  • POP point-of-presence
  • private network IDC
  • POP1, POP2 private line network 1, dedicated line network 2; IDC1, IDC2 and IDC3.
  • Network link 1 POP1, leased line network 1 and IDC1;
  • Network link 2 POP1, leased line network 1 and IDC2;
  • Network link 3 POP1, leased line network 1 and IDC3;
  • Network link 4 POP2, leased line network 1 and IDC1;
  • Network link 5 POP2, leased line network 1 and IDC2;
  • Network link 6 POP2, leased line network 1 and IDC3;
  • Network link 7 POP1, leased line network 2 and IDC1;
  • Network link 8 POP1, leased line network 2 and IDC2;
  • Network link 9 POP1, leased line network 2 and IDC3;
  • Network link 10 POP2, leased line network 2 and IDC1;
  • Network link 11 POP2, leased line network 2 and IDC2;
  • Network link 12 POP2, leased line network 2, and IDC3.
  • the network link corresponding to each network optimization information can be set.
  • one network link can correspond to multiple network optimization information.
  • the performance parameters of the network link corresponding to the currently set network optimization information may be monitored.
  • the data sent by the user through the client is transmitted on each network link.
  • the client here can be a mobile client, a computer client, and the like.
  • the data can be request information, such as requesting to open a web page.
  • the solution for performing network link switching in the embodiment of the present application is divided into three parts: a first part, an initialization, a second part, setting network optimization information, and setting a plurality of network links corresponding to the network optimization information; Partly, monitoring network links.
  • the first part and the second part can be set manually.
  • This part pre-sets multiple IP (Internet Protocol) addresses and sets up multiple network links.
  • IP Internet Protocol
  • the set IP address is assigned to each network link, where each network link corresponds to one IP address, and the IP address corresponding to each network link is different.
  • IP address In addition to the IP address, other information capable of identifying a network link can also replace the IP address of the embodiment of the present application.
  • the second part setting network optimization information and setting multiple network links corresponding to network optimization information:
  • each network optimization information is determined, and the network optimization information may be updated during subsequent use, including but not limited to: modification, deletion, and addition.
  • the network link corresponding to each network optimization information can be determined from all network links, and the IP address corresponding to each network link is determined.
  • the third part is to monitor the network link.
  • This part is to monitor each network link to obtain the performance parameters of each network link
  • DNS is invoked to resolve the domain name to the IP address corresponding to the new network link.
  • the method for performing network link switching in this embodiment of the present application includes:
  • Step 300 Monitor performance parameters of multiple network links corresponding to the user set in the multiple network links corresponding to the currently set network optimization information, where at least one network link of the multiple network links corresponding to the user set User request carrying the set of users;
  • Step 301 Determine a target network link from the plurality of network links according to the monitored performance parameter.
  • Step 302 Perform network link switching according to the determined target network link.
  • the performance parameter of the multiple network links corresponding to the user set in the multiple network links corresponding to the currently set network optimization information is monitored, and the performance parameter is determined from the multiple network links according to the monitored performance parameter.
  • Target network link and network link switching Since the embodiment of the present application performs network link switching according to the monitored performance parameter, manual manual switching is not required, thereby improving switching efficiency and shortening processing time.
  • the network optimization information of the embodiment of the present application represents information that the maintenance personnel needs to optimize the network for the current scenario.
  • the maintenance personnel can select different network optimization information to achieve different effects.
  • the required network delay is relatively low, and the maintenance personnel can select the low-latency network optimization information
  • the target network link when determining the target network link from the multiple network links according to the monitored performance parameter, determining, according to the monitored performance parameter, whether the network link switching condition is met; determining that the network link is met After the handover condition, the target network link is determined from the plurality of network links.
  • the embodiments of the present application need to combine different resources to obtain multiple network links.
  • the network link can also be updated according to the new resource or the changed resource.
  • POP1, POP2 private line network 1, dedicated line network 2; IDC1, IDC2 and IDC3.
  • Network link 1 POP1, leased line network 1 and IDC1;
  • Network link 2 POP1, leased line network 1 and IDC2;
  • Network link 3 POP1, leased line network 1 and IDC3;
  • Network link 4 POP2, leased line network 1 and IDC1;
  • Network link 5 POP2, leased line network 1 and IDC2;
  • Network link 6 POP2, leased line network 1 and IDC3;
  • Network link 7 POP1, leased line network 2 and IDC1;
  • Network link 8 POP1, leased line network 2 and IDC2;
  • Network link 9 POP1, leased line network 2 and IDC3;
  • Network link 10 POP2, leased line network 2 and IDC1;
  • Network link 11 POP2, leased line network 2 and IDC2;
  • Network link 12 POP2, leased line network 2, and IDC3.
  • Network link 1 POP1, leased line network 1 and IDC1;
  • Network link 2 POP1, leased line network 1 and IDC2;
  • Network link 3 POP1, leased line network 1 and IDC3;
  • Network link 4 POP1, leased line network 2 and IDC1;
  • Network link 5 POP1, leased line network 2 and IDC2;
  • Network link 6 POP1, leased line network 2, and IDC3.
  • Network link 7 POP1, leased line network 3 and IDC1;
  • Network link 8 POP1, leased line network 3 and IDC2;
  • Network link 9 POP1, leased line network 3, and IDC3.
  • the network link corresponding to the optimization information is determined.
  • the performance parameters corresponding to different network optimization information may be different.
  • the network optimization information is low latency, and the performance parameter may be the delay of the network link; the network optimization information is high reliability, and the performance parameter may be a network link.
  • the delay and the number of user access failures may be different.
  • the network link switching conditions corresponding to different network optimization information may be different.
  • the network optimization information is determined to satisfy the network link switching condition when the delay exceeds the corresponding threshold; the network optimization information is that the number of user access failures exceeds the unit time.
  • the corresponding threshold value is determined to satisfy the network link switching condition.
  • each network link can be monitored according to the currently set network optimization information.
  • the currently set network is determined according to the correspondence between the network optimization information and the performance parameter. Optimize the performance parameters corresponding to the information.
  • the performance parameter determined by the performance parameters of the plurality of network links corresponding to the user set in the plurality of network links corresponding to the currently set network optimization information is monitored.
  • All performance parameters can also be monitored. When the subsequent judgments are consistent with the network link switching conditions, the performance parameters corresponding to the currently set network optimization information are selected from all the monitored performance parameters.
  • the performance parameters of the network link include delay, packet loss rate, and bandwidth.
  • the performance parameter corresponding to the currently set network optimization information is time delay.
  • only the delay of the network link may be monitored; the delay, the packet loss rate, and the bandwidth of the network link may also be monitored, and whether the network link switching condition is met according to the monitored delay is subsequently determined.
  • determining, according to the correspondence between the network optimization information and the network link switching condition determining a network link switching condition corresponding to the currently set network optimization information.
  • network link switching conditions are also different. The determination may be made after determining that the currently set network optimization information corresponds to the network link switching condition.
  • the embodiment of the present application may determine in real time; or may determine according to the set duration and period.
  • the target network link is determined from the plurality of network links according to the monitored performance parameter
  • the client sends the data to be sent to the corresponding IP address.
  • the data here can be a website access request.
  • the network side After receiving the data and IP address of the user set, the network side determines the network link corresponding to the received IP address according to the correspondence between the IP address and the network link.
  • the user request is sent over the determined network link.
  • the network side can invoke the DNS console interface to resolve the domain name to the received IP address, so as to send the user request through the network link corresponding to the IP address.
  • the user in the network may be divided into multiple user sets, and the division manner may be divided according to regions. For example, users in China are divided into one set, and users in Japan are divided into one set.
  • the granularity of division can also be a region rather than a country.
  • the corresponding network link can be determined for different user sets. For example, the network link corresponding to users in China can choose resources in China and near China.
  • each user set corresponds to all network links, so as to ensure better network performance when switching.
  • Example 1 Network optimization information is low latency.
  • the current network delay of the third network link is lower than the set threshold, and the switching condition corresponding to the low delay is determined.
  • the IP address corresponding to the third network link is sent to all users in the user set A.
  • the data After receiving the data and IP address sent by the user, the data is sent to the corresponding IP address.
  • Example 2 Network optimization information is highly reliable.
  • the switching condition corresponding to the high reliability is determined.
  • the fourth network link is the lowest delay network link among the remaining three links.
  • the IP address corresponding to the 4th network link is sent to all users in the user set A.
  • the data After receiving the data and IP address sent by the user, the data is sent through the network link corresponding to the received IP address.
  • the complete method for performing network link switching in this embodiment of the present application includes:
  • Step 400 Determine, according to the correspondence between the network optimization information and the performance parameter, a performance parameter corresponding to the currently set network optimization information.
  • Step 401 Determine, according to the correspondence between the network optimization information and the network link switching condition, a network link switching condition corresponding to the currently set network optimization information.
  • the steps 400 and 401 have no necessary timing relationship. Step 400 may be performed first, and then step 401 may be performed. Step 401 may be performed first, and then step 400 may be performed. Step 400 and step 401 may also be performed at the same time.
  • Step 402 Determine multiple network links corresponding to the user set in the multiple network links corresponding to the network optimization information.
  • Step 403 Monitor performance parameters of multiple network links corresponding to the user set in the multiple network links corresponding to the currently set network optimization information.
  • Step 404 Determine, according to the monitored performance parameter, whether the network link switching condition corresponding to the currently set network optimization information is met; if yes, execute step 405; otherwise, return to step 403.
  • Step 405 Determine a target network link from the plurality of network links.
  • Step 406 Determine an IP address corresponding to the target network link according to a correspondence between the IP address and the network link.
  • Step 407 Send the determined IP address to the user in the user set, so that the user sends the data to be sent together with the received IP address, and returns to step 403.
  • the network side receives the data and the IP address of the user set, determining, according to the correspondence between the IP address and the network link, the network link corresponding to the received IP address; and sending the user by using the determined network link. request.
  • a system for performing network link switching is also provided in the embodiment of the present application.
  • the principle of solving the problem is similar to the method for performing network link switching in the embodiment of the present application. See the implementation of the method, and the repetition will not be repeated.
  • the system for performing network link switching in this embodiment of the present application includes:
  • the monitoring module 500 is configured to monitor performance parameters of multiple network links corresponding to the user set in the plurality of network links corresponding to the currently set network optimization information, where at least one of the multiple network links corresponding to the user set
  • the network link carries a user request of the user set
  • a determining module 501 configured to determine a target network link from the plurality of network links according to the monitored performance parameter
  • the switching module 502 is configured to perform network link switching according to the determined target network link.
  • the monitoring module 500 is further configured to:
  • the performance parameter determined by the performance parameters of the plurality of network links corresponding to the user set in the plurality of network links corresponding to the currently set network optimization information is monitored.
  • the determining module 501 is specifically configured to:
  • the target network link is determined from the plurality of network links.
  • the determining module 501 is further configured to:
  • the switching module 503 is specifically configured to:
  • the determined IP address is sent to a user in the set of users.
  • the network link includes some or all of the following resources:
  • POP private line network
  • IDC private line network
  • the various modules in Figure 5 can be arranged in one device or in multiple devices.
  • the function of a module can be implemented by one device or by multiple devices.
  • the application can also be implemented in hardware and/or software (including firmware, resident software, microcode, etc.). Still further, the application can take the form of a computer program product on a computer usable or computer readable storage medium having computer usable or computer readable program code embodied in a medium for use by an instruction execution system or Used in conjunction with the instruction execution system.
  • a computer usable or computer readable medium can be any medium that can contain, store, communicate, communicate, or transport a program for use by an instruction execution system, apparatus or device, or in conjunction with an instruction execution system, Used by the device or device.

Landscapes

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

Abstract

本申请实施例涉及互联网技术领域,特别涉及一种进行网络链路切换的方法和系统,用以解决现有技术中存在的互联互通不可达后只能通过人工手动选择其他网络链路进行切换,这种方式效率比较低,处理时间比较长的问题。本申请实施例监测当前设置的网络优化信息对应的多条网络链路中用户集合对应的多条网络链路的性能参数,根据监测到的所述性能参数确定目标网络链路并进行网络链路切换。由于本申请实施例根据监测到的所述性能参数在确定符合网络链路切换条件后能够进行网络链路切换,不需要人工手动进行切换,从而提高了切换效率,缩短了处理时长。

Description

一种进行网络链路切换的方法和系统
本申请要求2017年07月11日递交的申请号为201710561815.0、发明名称为“一种进行网络链路切换的方法和系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及互联网技术领域,特别涉及一种进行网络链路切换的方法和系统。
背景技术
随着互联网技术的发展,互联网的用户越来越多,分布也越来越广泛。尤其大互联网公司,其用户大都分布在广泛的地理区域,而且越来越多的大型互联网公司将业务向全球发展,这使得其提供的网络服务面临着分布全球的海量用户。
互联网公司用户的增多,以及用户分布越来越广泛,互联网公司为了更好地满足用户需要,需要提供多个IDC(Internet Data Center,互联网数据中心),IDC中存放了一定数量网络服务器,并在服务器上部署特定的互联网软件,多个IDC同时对外提供网络服务,每个IDC服务一部分用户,所有的数据中心服务的用户加起来是全局所有的用户。
IDC使得全球用户都可以进行访问,目前面向全球用户的互联网服务存在的最大问题就是互联互通。
互联互通是指全球互联网提供商在其覆盖的用户相互通信时,可以有很多路径选择,比如日本用户访问中国境内网站时,网络链路可能是软银直接对接中国电信,也有可能是软银对接TATA,TATA对接LEVEL3,LEVEL3对接中国电信,也可能是其它选择(其中,TATA和LEVEL3为全球互联网运营商)。
目前如果出现网络阻塞等情况,会造成互联互通不可达,即用户无法访问IDC的网络链路;更严重的会出现IDC故障后无法切换到灾备IDC上。
现在技术在出现互联互通不可达后只能通过人工手动选择其他网络链路进行切换,这种方式效率比较低,处理时间比较长。
发明内容
本申请提供一种进行网络链路切换的方法和系统,用以解决现有技术中存在的互联互通不可达后只能通过人工手动选择其他网络链路进行切换,这种方式效率比较低,处 理时间比较长的问题。
本申请实施例提供的一种进行网络链路切换的方法,该方法包括:
监测当前设置的网络优化信息对应的多条网络链路中用户集合对应的多条网络链路的性能参数,其中所述用户集合对应的多条网络链路中的至少一条网络链路承载所述用户集合的用户请求;
根据监测到的所述性能参数从所述多条网络链路中确定目标网络链路;
根据确定的目标网络链路进行网络链路切换。
本申请实施例提供的一种进行网络链路切换的系统,该系统包括:
监测模块,用于监测当前设置的网络优化信息对应的多条网络链路中用户集合对应的多条网络链路的性能参数,其中所述用户集合对应的多条网络链路中的至少一条网络链路承载所述用户集合的用户请求;
确定模块,用于根据监测到的所述性能参数从所述多条网络链路中确定目标网络链路;
切换模块,用于根据确定的目标网络链路进行网络链路切换。
本申请实施例监测当前设置的网络优化信息对应的多条网络链路中用户集合对应的多条网络链路的性能参数,根据监测到的所述性能参数从所述多条网络链路中确定目标网络链路并进行网络链路切换。由于本申请实施例根据监测到的所述性能参数进行网络链路切换,不需要人工手动进行切换,从而提高了切换效率,缩短了处理时长。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简要介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域的普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本申请实施例进行网络链路切换的原理示意图;
图2为本申请实施例进行网络链路切换的三部分示意图;
图3为本申请实施例进行网络链路切换的方法流程示意图;
图4为本申请实施例进行网络链路切换的完整方法流程示意图;
图5为本申请实施例进行网络链路切换的系统结构示意图。
具体实施方式
为了使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请作进一步地详细描述,显然,所描述的实施例仅仅是本申请一部份实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本申请保护的范围。
如图1所示,本申请实施例进行网络链路切换的原理示意图中,本申请实施例预先定义多个网络优化信息。
这里的网络优化信息是进行网络链路切换的依据。也就是说,不同的网络优化信息在进行网络链路切换时选择的网络链路也有可能不同。
其中,本申请实施例的网络优化信息包括但不限于下列信息中的部分或全部:
高可靠性、低延时、容灾最小化损失。
在网络优化信息建立后,针对每个网络优化信息会建立对应的网络链路集合,每个网络链路集合中包括至少两条网络链路。
每条网络链路包括但不限于下列资源中的部分或全部:
POP(point-of-presence,入网点)、专线网络、IDC。
比如现在有POP1、POP2;专线网络1、专线网络2;IDC1、IDC2和IDC3。
将这些资源进行组合得到多条网络链路:
网络链路1:POP1、专线网络1和IDC1;
网络链路2:POP1、专线网络1和IDC2;
网络链路3:POP1、专线网络1和IDC3;
网络链路4:POP2、专线网络1和IDC1;
网络链路5:POP2、专线网络1和IDC2;
网络链路6:POP2、专线网络1和IDC3;
网络链路7:POP1、专线网络2和IDC1;
网络链路8:POP1、专线网络2和IDC2;
网络链路9:POP1、专线网络2和IDC3;
网络链路10:POP2、专线网络2和IDC1;
网络链路11:POP2、专线网络2和IDC2;
网络链路12:POP2、专线网络2和IDC3。
根据上面的资源组合得到12条不同的网络链路。
在得到多条网络链路后,就可以设定每个网络优化信息对应的网络链路。
其中,一条网络链路可以对应多个网络优化信息。
在确定每个网络优化信息以及对应的网络链路后,可以对当前设置的网络优化信息对应的网络链路的性能参数进行监控。
每条网络链路上都会传输用户通过客户端发送的数据。这里的客户端可以是手机客户端、电脑客户端等。数据可以是请求信息,比如请求打开某个网页等。
根据监测到的性能参数判断是否需要进行网络链路切换,如果需要则进行网络链路切换。
如图2所示,本申请实施例进行网络链路切换的方案分为三部分:第一部分、初始化;第二部分、设置网络优化信息以及设置网络优化信息对应的多条网络链路;第三部分、监测网络链路。
其中第一部分和第二部分可以由人工进行设定。
下面分别进行介绍。
第一部分、初始化:
这部分会预先设置多个IP(Internet Protocol,互联网协议)地址,以及设置多条网络链路;
将设置的IP地址分配给每条网络链路,其中每条网络链路对应一个IP地址,且每条网络链路对应的IP地址不同。
除了IP地址,其他能够位置标识一条网络链路的信息也可以替换本申请实施例的IP地址。
第二部分、设置网络优化信息以及设置网络优化信息对应的多条网络链路:
首先确定每个网络优化信息,在后续使用过程中还可以对网络优化信息进行更新,包括但不限于:修改、删除、增加。
在确定每个网络优化信息后,就可以从所有网络链路中确定每个网络优化信息对应的网络链路,并确定每个网络链路对应的IP地址。
第三部分、监测网络链路。
这部分是对每条网络链路进行监测,获得每条网络链路的性能参数;
根据监测到的每条网络链路的性能参数判断是否需要进行网络链路切换;
如果确定需要进行网络链路切换,则调用DNS,将域名解析至新的网络链路对应的IP地址。
如图3所示,本申请实施例进行网络链路切换的方法包括:
步骤300、监测当前设置的网络优化信息对应的多条网络链路中用户集合对应的多条网络链路的性能参数,其中所述用户集合对应的多条网络链路中的至少一条网络链路承载所述用户集合的用户请求;
步骤301、根据监测到的所述性能参数从所述多条网络链路中确定目标网络链路;
步骤302、根据确定的目标网络链路进行网络链路切换。
本申请实施例监测当前设置的网络优化信息对应的多条网络链路中用户集合对应的多条网络链路的性能参数,根据监测到的所述性能参数从所述多条网络链路中确定目标网络链路并进行网络链路切换。由于本申请实施例根据监测到的所述性能参数进行网络链路切换,不需要人工手动进行切换,从而提高了切换效率,缩短了处理时长。
其中,本申请实施例网络链路的性能参数包括但不限于下列中的部分或全部:
延时、设定时长内无法访问网络的数量、丢包率、超时、错误率。
本申请实施例的网络优化信息表示维护人员针对当前的场景需要网络进行优化的信息。
也就是说,根据当前的场景维护人员可以选择不同的网络优化信息从而达到不同的效果。
比如电子商务网站场景下,需要的网络延时比较低,维护人员就可以选择低延时这个网络优化信息;
还比如数据传输系统场景下,需要的可用性比较高,维护人员就可以选择高可靠性这个网络优化信息。
可选的,根据监测到的所述性能参数从所述多条网络链路中确定目标网络链路时,根据监测到的所述性能参数判断是否符合网络链路切换条件;在确定符合网络链路切换条件后,从所述多条网络链路中确定目标网络链路。
本申请实施例在进行网络链路监测之前,需要将不同的资源进行组合得到多条网络链路。
后期如果有新的资源加入或者旧的资源变动(比如删除或者更新等),还可以根据新的资源或变动的资源对网络链路进行更新。
比如现在有POP1、POP2;专线网络1、专线网络2;IDC1、IDC2和IDC3。
将这些资源进行组合得到多条网络链路:
网络链路1:POP1、专线网络1和IDC1;
网络链路2:POP1、专线网络1和IDC2;
网络链路3:POP1、专线网络1和IDC3;
网络链路4:POP2、专线网络1和IDC1;
网络链路5:POP2、专线网络1和IDC2;
网络链路6:POP2、专线网络1和IDC3;
网络链路7:POP1、专线网络2和IDC1;
网络链路8:POP1、专线网络2和IDC2;
网络链路9:POP1、专线网络2和IDC3;
网络链路10:POP2、专线网络2和IDC1;
网络链路11:POP2、专线网络2和IDC2;
网络链路12:POP2、专线网络2和IDC3。
假设POP2被删除,则更新后的网络链路为:
网络链路1:POP1、专线网络1和IDC1;
网络链路2:POP1、专线网络1和IDC2;
网络链路3:POP1、专线网络1和IDC3;
网络链路4:POP1、专线网络2和IDC1;
网络链路5:POP1、专线网络2和IDC2;
网络链路6:POP1、专线网络2和IDC3。
假设POP2被删除后,新增加一个专线网络3,则新增加以下网络链路:
网络链路7:POP1、专线网络3和IDC1;
网络链路8:POP1、专线网络3和IDC2;
网络链路9:POP1、专线网络3和IDC3。
在得到多条网络链路后,还需要针对每个网络优化信息确定对应的网络链路。
比如依据延时、超时、错误率、丢包率等因素中的部分或全部,确定优化信息对应的网络链路。
除了确定每个网络优化信息对应的网络链路,还需要预先建立每个网络优化信息和性能参数的对应关系,以及网络优化信息和性能参数的对应关系。
不同的网络优化信息对应的性能参数有可能不同,比如网络优化信息是低延时,则性能参数可以是网络链路的时延;网络优化信息是高可靠性,则性能参数可以是网络链路的时延和用户访问失败数量。
不同的网络优化信息对应的网络链路切换条件有可能不同,比如网络优化信息是延时超过对应的门限值就确定满足网络链路切换条件;网络优化信息是用户访问失败数量单位时间内超过对应的门限值就确定满足网络链路切换条件。
在设定完成上述信息后,就可以根据当前设置的网络优化信息对每条网络链路进行监控。
由于网络链路的性能参数很多,在监控时可以只监控当前设置的网络优化信息对应的性能参数。
具体的,所述监测当前设置的网络优化信息对应的多条网络链路中用户集合对应的多条网络链路的性能参数之前,根据网络优化信息和性能参数的对应关系,确定当前设置的网络优化信息对应的性能参数。
在进行监测时,监测当前设置的网络优化信息对应的多条网络链路中用户集合对应的多条网络链路的性能参数中,确定的所述性能参数。
也可以所有性能参数都监控,后续判断是否符合网络链路切换条件时,从监控的所有性能参数中选择当前设置的网络优化信息对应的性能参数。
比如网络链路的性能参数包括时延、丢包率、带宽,当前设置的网络优化信息对应的性能参数是时延。
在实施中,可以只监测网络链路的时延;也可以监测网络链路的时延、丢包率、带宽,后续在根据监测到的时延判断是否符合网络链路切换条件。
在对网络链路进行监测获得监测数据后,可以根据监测数据判断性能参数是否符合网络链路切换条件。
具体的,根据监测到的所述性能参数判断是否符合网络链路切换条件之前,根据网络优化信息和网络链路切换条件的对应关系,确定当前设置的网络优化信息对应的网络链路切换条件。
在根据监测到的所述性能参数判断是否符合网络链路切换条件时,根据监测到的所述性能参数判断是否符合确定的所述网络链路切换条件。
不同的网络优化信息,网络链路切换条件也不相同。在确定当前设置的网络优化信息对应网络链路切换条件后就可以进行判断。
可选的,本申请实施例可以实时判断;也可以根据设置的时长,周期进行判断。
如果确定符合网络链路切换条件,根据监测到的性能参数,从多条网络链路中确定目标网络链路;
根据IP地址和网络链路的对应关系,确定所述目标网络链路对应的IP地址;
将确定的所述IP地址发送给所述用户集合中的用户,比如向用户使用的客户端返回IP地址。
后续如果用户触发客户端通过网络链路发送数据,则客户端将需要发送的数据发送到对应的IP地址。
这里的数据可以是网站访问请求。
网络侧在收到用户集合的数据和IP地址后,根据IP地址和网络链路的对应关系,确定收到的IP地址对应的网络链路;
通过确定的网络链路发送所述用户请求。
比如网络侧在收到用户集合的数据和IP地址后,可以调用DNS控制台接口,将域名解析到收到的IP地址上,从而实现通过IP地址对应的网络链路送所述用户请求。
本申请实施例可以将网络中的用户分成多个用户集合,划分方式可以按照地域进行划分,比如中国的用户划分为一个集合、日本的用户划分为一个集合。
在实施中,划分粒度也可以是一个地域而不是一个国家。
在划分用户集合后,可以为不同的用户集合确定对应的网络链路。比如中国的用户对应的网络链路可以选择资源在中国以及中国附近的。
由于不同的网络链路差异性比较大,一种可选的方式是每个用户集合对应所有的网络链路,这样保证切换时更好的提升网络性能。
下面针对不同的网络优化信息举例对本申请的方案进行说明。
例一、网络优化信息为低延时。
假设需要针对用户集合A中的用户进行网络进行优化,共有4个IP地址对应4条网络链路。
根据对4条网络链路进行监测得到的性能参数发现第3条网络链路当前网络延时低于设置的阈值,确定满足低延时对应的切换条件。
基于此,确定需要进行网络链路切换,并将第3条网络链路作为目标链路。
向用户集合A中的所有用户发送第3条网络链路对应的IP地址。
在收到用户发送的数据和IP地址后,将数据发向对应的IP地址。
需要说明的是,在切换后,虽然用户集合A中的所有用户的数据都通过第3条网络链路发送,但是其他用户集合中的数据还是有可能通过第1条网络链路、第2条网络链路和第4条网络链路发送。所以后续对网络链路进行监测,有可能还会切换到其他网络 链路上。
例二、网络优化信息为高可靠性。
假设需要针对用户集合A中的用户进行网络进行优化,共有4个IP地址对应4条网络链路。
根据对4条网络链路进行监测得到的性能参数发现第3条网络链路在设定时长内出现无法访问网站的用户的数量超过设定的阈值,确定满足高可靠性对应的切换条件。
根据对4条网络链路进行监测得到的性能参数发现第4条网络链路是剩余3个链路中延时最低的网络链路。
基于此,确定需要进行网络链路切换,并将第4条网络链路作为目标链路。
向用户集合A中的所有用户发送第4条网络链路对应的IP地址。
在收到用户发送的数据和IP地址后,将数据通过收到的IP地址对应的网络链路发送。
如图4所示,本申请实施例进行网络链路切换的完整方法包括:
步骤400、根据网络优化信息和性能参数的对应关系,确定当前设置的网络优化信息对应的性能参数。
步骤401、根据网络优化信息和网络链路切换条件的对应关系,确定当前设置的网络优化信息对应的网络链路切换条件。
其中,步骤400和步骤401没有必然的时序关系,可以先执行步骤400,再执行步骤401;也可以先执行步骤401,再执行步骤400;也可以同时执行步骤400和步骤401。
步骤402、确定网络优化信息对应的多条网络链路中用户集合对应的多条网络链路。
步骤403、监测当前设置的网络优化信息对应的多条网络链路中用户集合对应的多条网络链路的性能参数。
步骤404、根据监测到的所述性能参数判断是否符合当前设置的网络优化信息对应的网络链路切换条件;如果是,则执行步骤405;否则,返回步骤403。
步骤405、从所述多条网络链路中确定目标网络链路。
步骤406、根据IP地址和网络链路的对应关系,确定所述目标网络链路对应的IP地址。
步骤407、将确定的所述IP地址发送给所述用户集合中的用户,以使用户将需要发送的数据和收到的IP地址一起发送,并返回步骤403。
如果网络侧收到所述用户集合的数据和IP地址,则根据IP地址和网络链路的对应 关系,确定收到的IP地址对应的网络链路;并通过确定的网络链路发送所述用户请求。
基于同一发明构思,本申请实施例中还提供了一种进行网络链路切换的系统,由于该系统解决问题的原理与本申请实施例进行网络链路切换的方法相似,因此这些设备的实施可以参见方法的实施,重复之处不再赘述。
如图5所示,本申请实施例进行网络链路切换的系统包括:
监测模块500,用于监测当前设置的网络优化信息对应的多条网络链路中用户集合对应的多条网络链路的性能参数,其中所述用户集合对应的多条网络链路中的至少一条网络链路承载所述用户集合的用户请求;
确定模块501,用于根据监测到的所述性能参数从所述多条网络链路中确定目标网络链路;
切换模块502,用于根据确定的目标网络链路进行网络链路切换。
可选的,所述监测模块500还用于:
根据网络优化信息和性能参数的对应关系,确定当前设置的网络优化信息对应的性能参数;
监测当前设置的网络优化信息对应的多条网络链路中用户集合对应的多条网络链路的性能参数中,确定的所述性能参数。
可选的,所述确定模块501具体用于:
根据监测到的所述性能参数判断是否符合网络链路切换条件;
在确定符合网络链路切换条件后,从所述多条网络链路中确定目标网络链路。
可选的,所述确定模块501还用于:
根据网络优化信息和网络链路切换条件的对应关系,确定当前设置的网络优化信息对应的网络链路切换条件;
根据监测到的所述性能参数判断是否符合确定的所述网络链路切换条件。
可选的,所述切换模块503具体用于:
根据IP地址和网络链路的对应关系,确定所述目标网络链路对应的IP地址;
将确定的所述IP地址发送给所述用户集合中的用户。
可选的,所述网络链路包括下列资源中的部分或全部:
POP、专线网络、IDC。
图5中的各个模块可以有设置在一个设备中,也可以设置在多个设备中。一个模块的功能可以由一个设备实现,也可以由多个设备实现。
以上参照示出根据本申请实施例的方法、装置(系统)和/或计算机程序产品的框图和/或流程图描述本申请。应理解,可以通过计算机程序指令来实现框图和/或流程图示图的一个块以及框图和/或流程图示图的块的组合。可以将这些计算机程序指令提供给通用计算机、专用计算机的处理器和/或其它可编程数据处理装置,以产生机器,使得经由计算机处理器和/或其它可编程数据处理装置执行的指令创建用于实现框图和/或流程图块中所指定的功能/动作的方法。
相应地,还可以用硬件和/或软件(包括固件、驻留软件、微码等)来实施本申请。更进一步地,本申请可以采取计算机可使用或计算机可读存储介质上的计算机程序产品的形式,其具有在介质中实现的计算机可使用或计算机可读程序代码,以由指令执行系统来使用或结合指令执行系统而使用。在本申请上下文中,计算机可使用或计算机可读介质可以是任意介质,其可以包含、存储、通信、传输、或传送程序,以由指令执行系统、装置或设备使用,或结合指令执行系统、装置或设备使用。
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。

Claims (12)

  1. 一种进行网络链路切换的方法,其特征在于,该方法包括:
    监测当前设置的网络优化信息对应的多条网络链路中用户集合对应的多条网络链路的性能参数,其中所述用户集合对应的多条网络链路中的至少一条网络链路承载所述用户集合的用户请求;
    根据监测到的所述性能参数从所述多条网络链路中确定目标网络链路;
    根据确定的目标网络链路进行网络链路切换。
  2. 如权利要求1所述的方法,其特征在于,所述监测当前设置的网络优化信息对应的多条网络链路中用户集合对应的多条网络链路的性能参数之前,还包括:
    根据网络优化信息和性能参数的对应关系,确定当前设置的网络优化信息对应的性能参数;
    所述监测当前设置的网络优化信息对应的多条网络链路中,用户集合对应的多条网络链路的性能参数,包括:
    监测当前设置的网络优化信息对应的多条网络链路中用户集合对应的多条网络链路的性能参数中,确定的所述性能参数。
  3. 如权利要求1所述的方法,其特征在于,所述根据监测到的所述性能参数从所述多条网络链路中确定目标网络链路,包括:
    根据监测到的所述性能参数判断是否符合网络链路切换条件;
    在确定符合网络链路切换条件后,从所述多条网络链路中确定目标网络链路。
  4. 如权利要求3所述的方法,其特征在于,所述监测多条网络链路的性能参数之前,还包括:
    根据网络优化信息和网络链路切换条件的对应关系,确定当前设置的网络优化信息对应的网络链路切换条件;
    所述根据监测到的所述性能参数判断是否符合网络链路切换条件,包括:
    根据监测到的所述性能参数判断是否符合确定的所述网络链路切换条件。
  5. 如权利要求1所述的方法,其特征在于,所述根据确定的目标网络链路进行网络链路切换,包括:
    根据互联网协议IP地址和网络链路的对应关系,确定所述目标网络链路对应的IP地址;
    将确定的所述IP地址发送给所述用户集合中的用户。
  6. 如权利要求1~5任一所述的方法,其特征在于,所述网络链路包括下列资源中的部分或全部:
    入网点POP、专线网络、互联网数据中心IDC。
  7. 一种进行网络链路切换的系统,其特征在于,该系统包括:
    监测模块,用于监测当前设置的网络优化信息对应的多条网络链路中用户集合对应的多条网络链路的性能参数,其中所述用户集合对应的多条网络链路中的至少一条网络链路承载所述用户集合的用户请求;
    确定模块,用于根据监测到的所述性能参数从所述多条网络链路中确定目标网络链路;
    切换模块,用于根据确定的目标网络链路进行网络链路切换。
  8. 如权利要求7所述的系统,其特征在于,所述监测模块还用于:
    根据网络优化信息和性能参数的对应关系,确定当前设置的网络优化信息对应的性能参数;
    监测当前设置的网络优化信息对应的多条网络链路中用户集合对应的多条网络链路的性能参数中,确定的所述性能参数。
  9. 如权利要求7所述的系统,其特征在于,所述确定模块具体用于:
    根据监测到的所述性能参数判断是否符合网络链路切换条件;
    在确定符合网络链路切换条件后,从所述多条网络链路中确定目标网络链路。
  10. 如权利要求9所述的系统,其特征在于,所述确定模块还用于:
    根据网络优化信息和网络链路切换条件的对应关系,确定当前设置的网络优化信息对应的网络链路切换条件;
    根据监测到的所述性能参数判断是否符合确定的所述网络链路切换条件。
  11. 如权利要求7所述的系统,其特征在于,所述切换模块具体用于:
    根据互联网协议IP地址和网络链路的对应关系,确定所述目标网络链路对应的IP地址;
    将确定的所述IP地址发送给所述用户集合中的用户。
  12. 如权利要求7~11任一所述的系统,其特征在于,所述网络链路包括下列资源中的部分或全部:
    入网点POP、专线网络、互联网数据中心IDC。
PCT/CN2018/093952 2017-07-11 2018-07-02 一种进行网络链路切换的方法和系统 WO2019011142A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710561815.0 2017-07-11
CN201710561815.0A CN109246003A (zh) 2017-07-11 2017-07-11 一种进行网络链路切换的方法和系统

Publications (1)

Publication Number Publication Date
WO2019011142A1 true WO2019011142A1 (zh) 2019-01-17

Family

ID=65001259

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/093952 WO2019011142A1 (zh) 2017-07-11 2018-07-02 一种进行网络链路切换的方法和系统

Country Status (2)

Country Link
CN (1) CN109246003A (zh)
WO (1) WO2019011142A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111629386A (zh) * 2019-02-28 2020-09-04 阿里巴巴集团控股有限公司 通信方法、系统及设备
CN113821421A (zh) * 2021-08-27 2021-12-21 济南浪潮数据技术有限公司 一种服务器性能数据采集方法、系统、装置及存储介质

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111262783B (zh) * 2020-01-14 2022-04-26 深圳前海微众银行股份有限公司 一种动态路由的方法及装置
CN111404773B (zh) * 2020-03-10 2023-03-17 深信服科技股份有限公司 一种网络质量监测方法、装置及电子设备和存储介质
CN111669285A (zh) * 2020-05-08 2020-09-15 广州微算互联信息技术有限公司 一种网络检测数据的处理方法、系统和存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1748666A1 (en) * 2005-07-27 2007-01-31 Alcatel Method of identifying a radio link
CN101646216A (zh) * 2009-08-28 2010-02-10 中兴通讯股份有限公司 一种在不同的接入网间保持业务连续性的系统及方法
CN102025594A (zh) * 2009-09-14 2011-04-20 中国科学院声学研究所 Nat环境下的路由动态调整方法和系统
CN102204175A (zh) * 2008-10-31 2011-09-28 株式会社东芝 网络选择方法和包含该方法的终端装置
CN103229462A (zh) * 2012-12-22 2013-07-31 华为技术有限公司 一种最优路径选择方法、相关设备及通信系统
CN107018070A (zh) * 2016-01-28 2017-08-04 南水北调中线干线工程建设管理局 一种异构多模网关设备及其传输方法和应用

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102801606B (zh) * 2012-02-24 2015-09-02 华北电力大学 一种sctp主路径自动切换方法
CN102769551B (zh) * 2012-07-02 2016-08-10 深信服网络科技(深圳)有限公司 网络质量评测与网络优化的方法及系统
US8817625B1 (en) * 2013-09-13 2014-08-26 Telefonaktiebolaget L M Ericsson (Publ) Service placement for inline services chaining with multiple instances
US10198724B2 (en) * 2015-08-21 2019-02-05 Mastercard International Incorporated Payment networks and methods for facilitating data transfers within payment networks
CN106209623B (zh) * 2016-07-08 2020-01-10 华为技术有限公司 确定转发路径的方法和控制设备

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1748666A1 (en) * 2005-07-27 2007-01-31 Alcatel Method of identifying a radio link
CN102204175A (zh) * 2008-10-31 2011-09-28 株式会社东芝 网络选择方法和包含该方法的终端装置
CN101646216A (zh) * 2009-08-28 2010-02-10 中兴通讯股份有限公司 一种在不同的接入网间保持业务连续性的系统及方法
CN102025594A (zh) * 2009-09-14 2011-04-20 中国科学院声学研究所 Nat环境下的路由动态调整方法和系统
CN103229462A (zh) * 2012-12-22 2013-07-31 华为技术有限公司 一种最优路径选择方法、相关设备及通信系统
CN107018070A (zh) * 2016-01-28 2017-08-04 南水北调中线干线工程建设管理局 一种异构多模网关设备及其传输方法和应用

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111629386A (zh) * 2019-02-28 2020-09-04 阿里巴巴集团控股有限公司 通信方法、系统及设备
CN113821421A (zh) * 2021-08-27 2021-12-21 济南浪潮数据技术有限公司 一种服务器性能数据采集方法、系统、装置及存储介质
CN113821421B (zh) * 2021-08-27 2023-12-22 济南浪潮数据技术有限公司 一种服务器性能数据采集方法、系统、装置及存储介质

Also Published As

Publication number Publication date
CN109246003A (zh) 2019-01-18

Similar Documents

Publication Publication Date Title
WO2019011142A1 (zh) 一种进行网络链路切换的方法和系统
US10148756B2 (en) Latency virtualization in a transport network using a storage area network
US10887276B1 (en) DNS-based endpoint discovery of resources in cloud edge locations embedded in telecommunications networks
US9461922B2 (en) Systems and methods for distributing network traffic between servers based on elements in client packets
US10250646B2 (en) Method and device for establishing channel
US20180146068A1 (en) Micro-services in a telecommunications network
WO2017036288A1 (zh) 一种网元升级方法及设备
JP2018515974A (ja) グローバル仮想ネットワーク(gvn)において仮想インタフェースとアドバンストスマートルーティングとを提供するためのシステム及び方法
US20160198021A1 (en) Dynamic protocol switching
US9075660B2 (en) Apparatus and method for providing service availability to a user via selection of data centers for the user
Li et al. Mobile edge computing platform deployment in 4G {LTE} networks: A middlebox approach
US11800587B2 (en) Method for establishing subflow of multipath connection, apparatus, and system
US11153269B2 (en) On-node DHCP implementation for virtual machines
CN112217843B (zh) 服务单元切换方法、系统及设备
WO2015167726A1 (en) Improving the reliability of a connection during a communication session on a network device
WO2018039973A1 (zh) 网络功能处理方法及相关设备
US9819591B2 (en) System and method of providing compression technique for jitter sensitive application through multiple network links
US11743325B1 (en) Centralized load balancing of resources in cloud edge locations embedded in telecommunications networks
US9826066B2 (en) System for dynamic selection and application of TCP congestion avoidance flavors
TW201933909A (zh) 網路存取方法、使用者端、網路互動方法及排程、網路系統
CN111817953A (zh) 基于虚拟路由器冗余协议vrrp的主设备选举方法及装置
CN113726648B (zh) 多路径通信方法、装置、电子设备及计算机可读介质
CN116233481A (zh) 一种媒体流传输方法、媒体服务器以及通信系统
CN115225634A (zh) 虚拟网络下的数据转发方法、装置及计算机程序产品
CN111416852A (zh) 在多个负载均衡器之间进行会话同步的方法和负载均衡器

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

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

Country of ref document: EP

Kind code of ref document: A1