[go: up one dir, main page]

WO2018112877A1 - Path calculating and access request distributing methods, devices and systems - Google Patents

Path calculating and access request distributing methods, devices and systems Download PDF

Info

Publication number
WO2018112877A1
WO2018112877A1 PCT/CN2016/111692 CN2016111692W WO2018112877A1 WO 2018112877 A1 WO2018112877 A1 WO 2018112877A1 CN 2016111692 W CN2016111692 W CN 2016111692W WO 2018112877 A1 WO2018112877 A1 WO 2018112877A1
Authority
WO
WIPO (PCT)
Prior art keywords
server
path
information
access request
packet loss
Prior art date
Application number
PCT/CN2016/111692
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/111692 priority Critical patent/WO2018112877A1/en
Priority to CN201680002772.6A priority patent/CN106716937A/en
Publication of WO2018112877A1 publication Critical patent/WO2018112877A1/en

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
    • H04L45/24Multipath
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level

Definitions

  • the present application relates to the field of Internet technologies, and in particular, to a path calculation and access request distribution method, apparatus, and system.
  • the Application Delivery Network is usually based on the network layer or transport layer and provides protocols based on Internet Protocol (IP), Transmission Control Protocol (TCP), or User Datagram Protocol ( UDP: User Datagram Protocol) accelerates the application transfer to improve user access speed.
  • IP Internet Protocol
  • TCP Transmission Control Protocol
  • UDP User Datagram Protocol
  • the ADN network access usually uses the CNAME record mode of the Domain Name System (DNS) to implement traffic guidance.
  • DNS Domain Name System
  • TCP or UDP proxy or IP routing is usually used for transmission.
  • the pre-configured static path transmission mode cannot be dynamically adjusted according to the network status, and does not have the ability to cope with the sudden interruption or deterioration of the network; the pre-configured dynamic path transmission mode is adopted.
  • the calculated shortest path is usually used to implement the transmission of the access request, but when the bulk access request floods into the ADN network, the path is easily congested and the user experience is poor.
  • the embodiment of the present application proposes a path calculation and access request distribution method, device and system, so that bulk access requests from users can be multi-path and parallel transmission, so as to solve the technical problem that the optimal path congestion leads to slow transmission speed.
  • an embodiment of the present application provides a path calculation method, which is applied to a central controller, and includes:
  • the path information includes a plurality of pieces of optimal path information and path indication information, where the path indication information is used to indicate a transmission capability of each of the plurality of optimal paths to an access request.
  • an embodiment of the present application provides an access request distribution method, which is applied to an ingress server, and includes:
  • the path information corresponding to the application includes multiple pieces of optimal path information and path indication information, where the path indication information is used to indicate the multiple optimal The ability of each optimal path in the path to transmit access requests;
  • the access request is sent to the source station server in parallel via the plurality of optimal paths.
  • an embodiment of the present application provides a path calculation apparatus, which is applied to a central controller, and includes:
  • the distance module is configured to calculate a distance between the server nodes according to the obtained delay and packet loss rate information between the server nodes, and according to the obtained delay time and packet loss rate information of the edge server to the source server , calculate the distance from the edge server to the source server;
  • a path module configured to calculate path information according to a distance between server nodes and an edge server to a source server, and send the path information to multiple entry servers;
  • the path information includes a plurality of pieces of optimal path information and path indication information, where the path indication information is used to indicate a transmission capability of each of the plurality of optimal paths to an access request.
  • an embodiment of the present application provides an access request distribution apparatus, which is applied to Port server, including:
  • a receiving module configured to acquire path information corresponding to the application when the application initiates an access request, where the path information includes multiple pieces of optimal path information and path indication information, where the path indication information is used to indicate Decoding the transmission capability of each of the plurality of optimal paths to the access request;
  • a sending module configured to send the access request to the source station server in parallel according to the path information, by using the multiple optimal paths.
  • an access request distribution system including:
  • the central controller is configured to calculate a distance between the server nodes according to the obtained delay and packet loss rate information between the server nodes, and according to the obtained delay time and packet loss rate of the edge server to the source server Information, calculating the distance from the edge server to the source server;
  • Calculating path information including multiple optimal paths according to the distance between the server nodes and the edge server to the source server, and transmitting the path information to multiple entry servers;
  • An access server configured to acquire path information corresponding to the application when receiving an access request initiated by the application
  • the path information includes a plurality of pieces of optimal path information and path indication information, where the path indication information is used to indicate a transmission capability of each of the plurality of optimal paths to an access request.
  • an embodiment of the present application provides an electronic device, which is applied to a central controller, where the electronic device includes:
  • Transceiver memory, one or more processors;
  • One or more modules the one or more modules being stored in the memory and configured to be executed by the one or more processors, the one or more modules comprising Instructions for each step.
  • an embodiment of the present application provides an electronic device, which is applied to an access server, where the electronic device includes:
  • Transceiver memory, one or more processors;
  • One or more modules the one or more modules being stored in the memory and configured to be executed by the one or more processors, the one or more modules comprising Instructions for each step.
  • embodiments of the present application provide a computer program product for use with an electronic device, the computer program product comprising a computer readable storage medium and a computer program mechanism embedded therein, the computer program mechanism Instructions are included for performing the various steps in the above methods.
  • embodiments of the present application provide a computer program product for use with an electronic device, the computer program product comprising a computer readable storage medium and a computer program mechanism embedded therein, the computer program mechanism Instructions are included for performing the various steps in the above methods.
  • the central controller calculates the distance between the server nodes according to the obtained delay and packet loss rate information between the server nodes, and according to the obtained Calculate the distance from the edge server to the source server by the delay and packet loss rate information of the edge server to the source server; calculate the path information according to the distance between the server nodes and the edge server to the source server, and Sent to multiple portal servers.
  • the path information includes a plurality of pieces of optimal path information and path indication information, where the path indication information is used to indicate a transmission capability of each of the plurality of optimal paths to an access request.
  • the bulk access request is transmitted through only one shortest path in the prior art, and the shortest path is congested.
  • the other paths are not as the shortest path, the path load utilization is low, and the resource allocation is unreasonable, thereby achieving The technical effect of improving user access speed.
  • FIG. 1 is a schematic diagram of a method for calculating a path of a central controller side in the first embodiment of the present application
  • FIG. 2 is a schematic diagram of a method for accessing an access server side access request in the first embodiment of the present application
  • Embodiment 3 is a flowchart of a method for path calculation and access request distribution in Embodiment 2 of the present application;
  • FIG. 5 is a structural diagram of a device for calculating a path of a central controller side in Embodiment 3 of the present application;
  • FIG. 6 is a structural diagram of an apparatus for accessing an access server side access request in Embodiment 3 of the present application.
  • FIG. 7 is a system architecture diagram of access request distribution in Embodiment 4 of the present application.
  • FIG. 8 is a schematic structural diagram of an electronic device according to Embodiment 5 of the present application.
  • the shortest path is calculated as the optimal path according to the access request, so that the access request accelerates the transmission of the access request via the optimal path, but when the bulk access request is connected to the ADN network, A single optimal path transmission leads to a steep increase in optimal path load utilization, other paths are not fully utilized, and load utilization is low, resulting in unreasonable resource allocation.
  • the embodiment of the present application proposes that the central controller calculates the distance between the server nodes according to the obtained delay and packet loss rate information between the server nodes, and according to the obtained edge server to the source station server.
  • the delay and packet loss rate information is used to calculate the distance from the edge server to the source server; according to the distance between the server nodes and the edge server to the source server, the path information is calculated and sent to multiple portal servers.
  • the path information includes a plurality of pieces of optimal path information and path indication information, where the path indication information is used to indicate a transmission capability of each of the plurality of optimal paths to an access request.
  • Embodiments of the present application utilize central control The device calculates a plurality of optimal path information, so that the ingress server implements load balancing of the transmission path according to the plurality of optimal path information, and achieves the technical effect of improving user access speed.
  • FIG. 1 is a schematic diagram of a method for calculating a path of a central controller side in the first embodiment of the present application, as shown in FIG. 1 , including:
  • Step 101 Calculate the distance between the server nodes according to the obtained delay and packet loss rate information between the server nodes, and calculate the delay and packet loss rate information of the obtained edge server to the source server. The distance from the edge server to the source server.
  • Step 102 Calculate the path information according to the distance between the server nodes and the edge server to the source server, and send the path information to multiple portal servers.
  • the path information includes a plurality of pieces of optimal path information and path indication information, where the path indication information is used to indicate a transmission capability of each of the plurality of optimal paths to an access request.
  • the central controller periodically receives the delay and packet loss rate of each server node in the network through mutual detection between the server nodes in the network, and the intra-edge edge server passes through the intra-network edge server to the source station server. Delay and packet loss rate obtained by one-way detection. According to the detected data between the server nodes in the network and the edge server to the source server in the network, the distance between each server node and the edge server to the source server is calculated. In addition, the central controller periodically receives all the server nodes in the network to detect the bandwidth utilization calculated by the actual NIC flow meter of the device through self-detection.
  • the delay in the ADN network may be a TCP delay or an Internet Control Message Protocol (ICMP) delay, which is not further limited herein.
  • ICMP Internet Control Message Protocol
  • the central controller further calculates the N optimal paths by using the shortest path algorithm YEN according to the calculated distance values between the server nodes and the intra-edge edge server to the source station server.
  • the value of N can be set according to the actual situation.
  • the calculated optimal path number is taken as the standard.
  • the path information sent by the central controller to the multiple ingress servers includes multiple pieces of optimal path information and path indication information, where the path indication information may be a weight attribute set for each optimal path to represent each optimal path pair.
  • the optimal path weight is the ratio of the distance value of an optimal path in the optimal path to the sum of the distance values of all the optimal paths.
  • N is the optimal number of paths for the same ingress server to reach the same source server. If there is only one optimal path in the optimal path, the weight of the optimal path is set to 1; if there are multiple optimal paths in the optimal path, the optimal path weight algorithm is used to calculate each of the most The weight of the excellent path.
  • the central controller sends the multiple optimal path information and the weight attribute of each of the plurality of optimal paths to the ingress server, so that the ingress server receives the bulk access request.
  • the parallel transmission of the batch access request is implemented according to the path information from the central controller, thereby achieving the technical effect of balancing the optimal path load utilization and rational resource allocation.
  • the server node is a server node in the ADN network
  • the edge server is an ADN network inner edge server
  • the ADN network is an application distribution network.
  • the calculating the distance between the server nodes according to the obtained delay and packet loss rate information between the server nodes, and the delay and packet loss rate information according to the obtained edge server to the source server include:
  • the central controller calculates the delay and packet loss rate information between the obtained server nodes.
  • the distance between the server nodes and the delay and packet loss rate information of the obtained edge server to the source server determine the distance from the edge server to the source server.
  • the specific calculation method is as follows:
  • N is [0, X], where N represents the sensitivity of the packet loss rate.
  • RTT Round-Trip Time
  • X is At 3 o'clock, it indicates that the packet loss rate is higher.
  • the value of the N is determined for different application scenarios.
  • the data type is parsed by the received access request. If the access request is a request to access a video conference class, the request for the packet loss rate is lower. High, in the calculation method of such an application scenario, the value of N can be defined as 3; similarly, if the access request is a request to access a file download class, the request for the packet loss rate is lower, then In the calculation method of such an application scenario, the value of N can be defined as 0.
  • the optimal path to which the certain server node belongs is deleted from the multiple optimal paths.
  • the server node load utilization is the server node bandwidth utilization.
  • the central controller uses the shortest path algorithm YEN to calculate the N shortest paths from the same ingress server to the same source server as N. If the calculated optimal path number is less than N, the calculated optimal path number shall prevail; if the calculated optimal path has a bandwidth of a server node other than the ingress server If the utilization reaches the threshold (the threshold is 100% by default), the optimal path is deleted from the optimal path; if there is only one optimal path in the optimal path, even if the optimal path has one other than the ingress server The bandwidth utilization of the server node reaches the threshold and the optimal path is also retained.
  • Each server node presets the rated bandwidth and obtains the actual bandwidth by collecting the uplink and downlink bandwidths.
  • the specific calculation method of the bandwidth utilization is:
  • FIG. 2 is a schematic diagram of a method for accessing an access server side access request in the first embodiment of the present application. As shown in FIG. 2, the method includes:
  • step 201 when the application-initiated access request is received, the path information corresponding to the application is obtained, where the path information includes multiple pieces of optimal path information and path indication information, where the path indication information is used to indicate the multiple The ability of each optimal path to transmit access requests in the optimal path.
  • Step 202 Send the access request to the source station server in parallel via the plurality of optimal paths according to the path information.
  • the ingress server receives the access request, determines an application that initiates the access request according to the application identifier in the access request, and acquires corresponding path information according to the application category.
  • the step of transmitting the access request to the source station server in parallel via the multiple optimal paths according to the path information includes:
  • the access request is sent to the source station server in parallel according to the parallel transmission ratio.
  • the parallel transmission ratio of each optimal path in the multiple optimal paths is the weight ratio of each optimal path in the multiple optimal paths.
  • the portal server calculates the weight of the optimal path based on the path information.
  • the ratio of the weights corresponding to each optimal path in the multiple optimal paths that is, the ratio of the weights of a certain optimal path to the sum of the weights of all the optimal paths.
  • the specific calculation method is:
  • N is [1, X], and N represents the number of optimal paths. Usually, the default N is 3.
  • the portal server classifies the batch access request according to the application category, obtains path information including multiple optimal paths corresponding to the application category, and selects the classified access request according to the path information according to the path information.
  • the weight ratio of the path is sent to the source station server in parallel via multiple optimal paths, so that the portal server implements the load of the transmission path based on the multiple optimal paths. Balance, while achieving the technical effect of improving user access speed.
  • the second embodiment of the present application provides a detailed description of the first embodiment of the present application by taking a specific scenario as an example.
  • FIG. 3 is a flowchart of a path calculation and an access request distribution method according to Embodiment 2 of the present application. As shown in FIG. 3, the path calculation and the specific implementation method of the access request distribution are:
  • Step 301 The server node periodically reports the detection result to the central controller, and the detection result includes at least a TCP delay, a packet loss rate, and a bandwidth utilization.
  • 4 is a schematic flowchart of path calculation and access request distribution in Embodiment 2 of the present application. As shown in FIG. 4, ping detection is performed between server nodes in an ADN network, and TCP delay and packet loss rate between server nodes are obtained. And the server node calculates the bandwidth utilization by detecting the actual NIC traffic of the server, and sends the TCP delay, the packet loss rate, and the bandwidth utilization between the server nodes to the central controller.
  • the edge server of the ADN network pings the source server to obtain the TCP delay and packet loss rate of the edge server to the source server, and the edge server calculates the bandwidth utilization by detecting its actual network card traffic, and the edge server is used.
  • the TCP delay, packet loss rate, and bandwidth utilization to the source server are sent to the central controller.
  • Step 302 The central controller calculates the distance between the server nodes according to the received TCP delay and the packet loss rate information between the server nodes, and the TCP delay and the loss according to the obtained edge server to the source server.
  • the packet rate information calculates the distance from the edge server to the source server.
  • Step 303 The central controller obtains N optimal paths from each ingress server to all source server according to the distance between the server nodes and the distance from the edge server to the source server (N is set according to actual conditions, and the default is 3) .
  • Step 304 The central controller performs weight calculation on the N optimal paths, and sets weights for the weight attributes of each of the N optimal paths.
  • Step 305 The central controller sends the N optimal path information including each shortest path weight to multiple ingress servers.
  • Step 306 When the portal server receives the bulk access request from the user, according to the initiating batch The category of the application that accesses the request obtains the corresponding N optimal paths.
  • Step 307 The ingress server implements parallel transmission of the bulk access request according to the weight ratio of each of the N optimal paths.
  • a path calculation device is also provided in the embodiment of the present application. Since the principle of solving the problem of these devices is similar to a path calculation method, the implementation of these devices can refer to the implementation of the method, and the repetition is no longer Narration.
  • the path computing device 500 may include:
  • the distance module 501 is configured to calculate, according to the obtained delay and packet loss rate information between the server nodes, a distance between the server nodes, and a delay and a packet loss rate according to the obtained edge server to the source server. Information, calculating the distance between server nodes and the edge server to the source server.
  • the path module 502 is configured to calculate path information according to the distance between the server nodes and the edge server to the source server, and send the path information to the multiple portal servers.
  • the path information includes a plurality of pieces of optimal path information and path indication information, where the path indication information is used to indicate a transmission capability of each of the plurality of optimal paths to an access request.
  • the server node is a server node in the ADN network
  • the edge server is an ADN network inner edge server
  • the ADN network is an application distribution network.
  • the distance module 501 includes:
  • the setting unit 5011 is configured to set the sensitivity of the packet loss rate according to the type of data to be accessed by the access request.
  • the calculating unit 5012 is configured to calculate a distance between the server nodes according to the sensitivity of the packet loss rate and the delay and packet loss rate information between the server nodes, and the sensitivity according to the packet loss rate, and the edge server to The delay and packet loss rate information of the source station server calculates the distance between the server nodes and the edge server to the source server.
  • path module 502 includes:
  • the obtaining unit 5021 is configured to obtain load utilization of all server nodes except the ingress server.
  • a deleting unit 5022 configured to delete an optimality of the server node from the multiple optimal paths when a load utilization of a server node other than the ingress server reaches a threshold in the optimal path. path.
  • FIG. 6 is a structural diagram of an apparatus for accessing an access server side access request in the third embodiment of the present application.
  • the access request distribution apparatus 600 may include:
  • the receiving module 601 is configured to: when receiving an access request initiated by the application, acquire path information corresponding to the application, where the path information includes multiple pieces of optimal path information and path indication information, where the path indication information is used to indicate The transmission capability of each of the plurality of optimal paths to the access request.
  • the sending module 602 is configured to send the access request to the source station server in parallel according to the path information by using the multiple optimal paths.
  • the sending module 602 includes:
  • the ratio unit 6021 is configured to calculate, according to the path indication information, a parallel transmission ratio corresponding to each of the plurality of optimal paths.
  • the parallel unit 6022 is configured to send the access request to the source station server in parallel according to the parallel transmission ratio.
  • an access request distribution system is also provided in the embodiment of the present application. Since the principle of solving the problem of these devices is similar to the path calculation and access request distribution method, a path calculation and the access request distribution device, these devices are similar. For the implementation of the method, refer to the implementation of the method, and the repetition will not be repeated.
  • FIG. 7 is a system architecture diagram of the access request distribution in the fourth embodiment of the present application. As shown in FIG. 7, the access request distribution system 700 may include:
  • the central controller 701 is configured to: according to the obtained delay and packet loss rate between server nodes Calculate the distance between the server nodes, and calculate the distance between the server nodes and the edge server to the source server according to the obtained delay and packet loss rate information of the edge server to the source server;
  • path information including multiple optimal paths is calculated and sent to multiple portal servers.
  • the portal server 702 is configured to acquire path information corresponding to the application when receiving an access request initiated by the application;
  • the path information includes a plurality of pieces of optimal path information and path indication information, where the path indication information is used to indicate a transmission capability of each of the plurality of optimal paths to an access request.
  • an electronic device is also provided in the embodiment of the present application. Since the principle is similar to a path calculation and access request distribution method, the implementation of the method may refer to the implementation of the method, and the repeated description is not repeated.
  • the electronic device includes: a transceiver device 801, a memory 802, one or more processors 803, and one or more modules.
  • the one or more modules are stored in the memory and configured to be executed by the one or more processors, the one or more modules including steps for performing the steps of any of the above methods instruction.
  • the embodiment of the present application further provides a computer program product for use in combination with an electronic device. Since the principle is similar to a path calculation and access request distribution method, the implementation may refer to the implementation of the method, and the method is repeated. I won't go into details here.
  • the computer program product comprises a computer readable storage medium and a computer program mechanism embedded therein, the computer program The mechanism includes instructions for performing the various steps in any of the above methods.
  • embodiments of the present application can be provided as a method, system, or computer program product.
  • the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment in combination of software and hardware.
  • the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Landscapes

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

Abstract

Path calculating and access request distributing methods, devices and systems. The path calculating method comprises: calculating distances among server nodes according to obtained delay and packet loss probability information among the server nodes, and calculating the distance between an edge server and a source station server according to obtained delay and packet loss probability information between the edge server and the source station server (101); and calculating path information according to the distances among the server nodes and the distance between the edge server and the source station server, and sending the path information to a plurality of portal servers (102). According to the methods, devices and systems, transmission path load balancing is achieved based on information a plurality of optimum paths calculated by a central controller, thereby increasing the user access speed.

Description

路径计算和访问请求分发方法、装置及系统Path calculation and access request distribution method, device and system 技术领域Technical field
本申请涉及互联网技术领域,特别涉及路径计算和访问请求分发方法、装置及系统。The present application relates to the field of Internet technologies, and in particular, to a path calculation and access request distribution method, apparatus, and system.
背景技术Background technique
应用分发网络(ADN:Application Delivery Network)通常基于网络层或传输层,提供基于网络之间互连的协议(IP:Internet Protocol)、传输控制协议(TCP:Transmission Control Protocol)或者用户数据报协议(UDP:User Datagram Protocol)的应用传输加速,以达到提升用户访问速度的目的。ADN网络的接入通常采用域名系统(DNS:Domain Name System)的CNAME记录方式实现流量引导,在ADN网络传输过程中,通常采用TCP(或者UDP)代理的方式、或者IP路由的方式实现传输。The Application Delivery Network (ADN) is usually based on the network layer or transport layer and provides protocols based on Internet Protocol (IP), Transmission Control Protocol (TCP), or User Datagram Protocol ( UDP: User Datagram Protocol) accelerates the application transfer to improve user access speed. The ADN network access usually uses the CNAME record mode of the Domain Name System (DNS) to implement traffic guidance. In the ADN network transmission process, TCP (or UDP) proxy or IP routing is usually used for transmission.
现有技术不足在于:The disadvantages of the prior art are:
在ADN网络传输过程中,采用预先配置好的静态路径的传输方式,无法根据网络状态而动态调整,不具备应对网络突然中断、变差的切换能力;采用预先配置好的动态路径的传输方式,通常利用计算出的最短路径以实现访问请求的传输,但是当批量访问请求涌入ADN网络时,易造成路径拥塞,用户体验较差。In the ADN network transmission process, the pre-configured static path transmission mode cannot be dynamically adjusted according to the network status, and does not have the ability to cope with the sudden interruption or deterioration of the network; the pre-configured dynamic path transmission mode is adopted. The calculated shortest path is usually used to implement the transmission of the access request, but when the bulk access request floods into the ADN network, the path is easily congested and the user experience is poor.
发明内容Summary of the invention
本申请实施例提出了路径计算和访问请求分发方法、装置及系统,使得来自用户的批量访问请求能够多路径并行传输,以解决最优路径拥塞导致传输速度较慢的技术问题。The embodiment of the present application proposes a path calculation and access request distribution method, device and system, so that bulk access requests from users can be multi-path and parallel transmission, so as to solve the technical problem that the optimal path congestion leads to slow transmission speed.
在一个方面,本申请实施例提供了一种路径计算方法,应用于中央控制器,包括: In one aspect, an embodiment of the present application provides a path calculation method, which is applied to a central controller, and includes:
根据获取到的服务器节点之间的时延和丢包率信息,计算出服务器节点之间的距离,以及根据获取到的边缘服务器到源站服务器的时延和丢包率信息,计算出边缘服务器到源站服务器的距离;Calculate the distance between the server nodes according to the obtained delay and packet loss rate information between the server nodes, and calculate the edge server according to the obtained delay and packet loss rate information of the edge server to the source server. The distance to the source server;
根据服务器节点之间,以及边缘服务器到源站服务器的距离,计算出路径信息,并发送给多个入口服务器;Calculating the path information according to the distance between the server nodes and the edge server to the source server, and sending the path information to multiple entry servers;
其中,所述路径信息包括多条最优路径信息和路径指示信息,所述路径指示信息用于表示所述多条最优路径中每条最优路径对访问请求的传输能力。The path information includes a plurality of pieces of optimal path information and path indication information, where the path indication information is used to indicate a transmission capability of each of the plurality of optimal paths to an access request.
在另一个方面,本申请实施例提供了一种访问请求分发方法,应用于入口服务器,包括:In another aspect, an embodiment of the present application provides an access request distribution method, which is applied to an ingress server, and includes:
当接收到应用发起的访问请求时,获取所述应用所对应的路径信息,所述路径信息包括多条最优路径信息和路径指示信息,所述路径指示信息用于表示所述多条最优路径中每条最优路径对访问请求的传输能力;Obtaining, by the application, the path information corresponding to the application, where the path information includes multiple pieces of optimal path information and path indication information, where the path indication information is used to indicate the multiple optimal The ability of each optimal path in the path to transmit access requests;
根据所述路径信息,将所述访问请求经由所述多条最优路径并行发送给源站服务器。And according to the path information, the access request is sent to the source station server in parallel via the plurality of optimal paths.
在另一个方面,本申请实施例提供了一种路径计算装置,应用于中央控制器,包括:In another aspect, an embodiment of the present application provides a path calculation apparatus, which is applied to a central controller, and includes:
距离模块,用于根据获取到的服务器节点之间的时延和丢包率信息,计算出服务器节点之间的距离,以及根据获取到的边缘服务器到源站服务器的时延和丢包率信息,计算出边缘服务器到源站服务器的距离;The distance module is configured to calculate a distance between the server nodes according to the obtained delay and packet loss rate information between the server nodes, and according to the obtained delay time and packet loss rate information of the edge server to the source server , calculate the distance from the edge server to the source server;
路径模块,用于根据服务器节点之间,以及边缘服务器到源站服务器的距离,计算出路径信息,并发送给多个入口服务器;a path module, configured to calculate path information according to a distance between server nodes and an edge server to a source server, and send the path information to multiple entry servers;
其中,所述路径信息包括多条最优路径信息和路径指示信息,所述路径指示信息用于表示所述多条最优路径中每条最优路径对访问请求的传输能力。The path information includes a plurality of pieces of optimal path information and path indication information, where the path indication information is used to indicate a transmission capability of each of the plurality of optimal paths to an access request.
在另一个方面,本申请实施例提供了一种访问请求分发装置,应用于入 口服务器,包括:In another aspect, an embodiment of the present application provides an access request distribution apparatus, which is applied to Port server, including:
接收模块,用于当接收到应用发起的访问请求时,获取所述应用所对应的路径信息,所述路径信息包括多条最优路径信息和路径指示信息,所述路径指示信息用于表示所述多条最优路径中每条最优路径对访问请求的传输能力;a receiving module, configured to acquire path information corresponding to the application when the application initiates an access request, where the path information includes multiple pieces of optimal path information and path indication information, where the path indication information is used to indicate Decoding the transmission capability of each of the plurality of optimal paths to the access request;
发送模块,用于根据所述路径信息,将所述访问请求经由所述多条最优路径并行发送给源站服务器。And a sending module, configured to send the access request to the source station server in parallel according to the path information, by using the multiple optimal paths.
在另一个方面,本申请实施例提供了一种访问请求分发系统,包括:In another aspect, an embodiment of the present application provides an access request distribution system, including:
中央控制器,用于根据获取到的服务器节点之间的时延和丢包率信息,计算出服务器节点之间的距离,以及根据获取到的边缘服务器到源站服务器的时延和丢包率信息,计算出边缘服务器到源站服务器的距离;以及The central controller is configured to calculate a distance between the server nodes according to the obtained delay and packet loss rate information between the server nodes, and according to the obtained delay time and packet loss rate of the edge server to the source server Information, calculating the distance from the edge server to the source server; and
根据服务器节点之间,以及边缘服务器到源站服务器的距离,计算出包含多条最优路径的路径信息,并发送给多个入口服务器;Calculating path information including multiple optimal paths according to the distance between the server nodes and the edge server to the source server, and transmitting the path information to multiple entry servers;
入口服务器,用于当接收到应用发起的访问请求时,获取所述应用所对应的路径信息;以及An access server, configured to acquire path information corresponding to the application when receiving an access request initiated by the application;
根据所述路径信息,将所述访问请求经由所述多条最优路径并行发送给源站服务器;And sending, according to the path information, the access request to the source station server in parallel via the multiple optimal paths;
其中,所述路径信息包括多条最优路径信息和路径指示信息,所述路径指示信息用于表示所述多条最优路径中每条最优路径对访问请求的传输能力。The path information includes a plurality of pieces of optimal path information and path indication information, where the path indication information is used to indicate a transmission capability of each of the plurality of optimal paths to an access request.
在另一个方面,本申请实施例提供了一种电子设备,应用于中央控制器,所述电子设备包括:In another aspect, an embodiment of the present application provides an electronic device, which is applied to a central controller, where the electronic device includes:
收发设备,存储器,一个或多个处理器;以及Transceiver, memory, one or more processors;
一个或多个模块,所述一个或多个模块被存储在所述存储器中,并被配置成由所述一个或多个处理器执行,所述一个或多个模块包括用于执行上述方法中各个步骤的指令。 One or more modules, the one or more modules being stored in the memory and configured to be executed by the one or more processors, the one or more modules comprising Instructions for each step.
在另一个方面,本申请实施例提供了一种电子设备,其特征在于,应用于入口服务器,所述电子设备包括:In another aspect, an embodiment of the present application provides an electronic device, which is applied to an access server, where the electronic device includes:
收发设备,存储器,一个或多个处理器;以及Transceiver, memory, one or more processors;
一个或多个模块,所述一个或多个模块被存储在所述存储器中,并被配置成由所述一个或多个处理器执行,所述一个或多个模块包括用于执行上述方法中各个步骤的指令。One or more modules, the one or more modules being stored in the memory and configured to be executed by the one or more processors, the one or more modules comprising Instructions for each step.
在另一个方面,本申请实施例提供了一种与电子设备结合使用的计算机程序产品,所述计算机程序产品包括计算机可读的存储介质和内嵌于其中的计算机程序机制,所述计算机程序机制包括用于执行上述方法中各个步骤的指令。In another aspect, embodiments of the present application provide a computer program product for use with an electronic device, the computer program product comprising a computer readable storage medium and a computer program mechanism embedded therein, the computer program mechanism Instructions are included for performing the various steps in the above methods.
在另一个方面,本申请实施例提供了一种与电子设备结合使用的计算机程序产品,所述计算机程序产品包括计算机可读的存储介质和内嵌于其中的计算机程序机制,所述计算机程序机制包括用于执行上述方法中各个步骤的指令。In another aspect, embodiments of the present application provide a computer program product for use with an electronic device, the computer program product comprising a computer readable storage medium and a computer program mechanism embedded therein, the computer program mechanism Instructions are included for performing the various steps in the above methods.
有益效果如下:The benefits are as follows:
本实施例中,针对批量访问请求经由ADN网络实现应用传输的场景,中央控制器根据获取到的服务器节点之间的时延和丢包率信息,计算出服务器节点之间的距离,以及根据获取到的边缘服务器到源站服务器的时延和丢包率信息,计算出边缘服务器到源站服务器的距离;根据服务器节点之间,以及边缘服务器到源站服务器的距离,计算出路径信息,并发送给多个入口服务器。其中,所述路径信息包括多条最优路径信息和路径指示信息,所述路径指示信息用于表示所述多条最优路径中每条最优路径对访问请求的传输能力。这样,就可以避免现有技术中仅经由一条最短路径传输批量访问请求,导致该最短路径拥塞,其它路径因为未被作为最短路径导致路径负载利用率较低,资源分配不合理的情况,进而达到提升用户访问速度的技术效果。In this embodiment, for a scenario in which the bulk access request is implemented by the ADN network, the central controller calculates the distance between the server nodes according to the obtained delay and packet loss rate information between the server nodes, and according to the obtained Calculate the distance from the edge server to the source server by the delay and packet loss rate information of the edge server to the source server; calculate the path information according to the distance between the server nodes and the edge server to the source server, and Sent to multiple portal servers. The path information includes a plurality of pieces of optimal path information and path indication information, where the path indication information is used to indicate a transmission capability of each of the plurality of optimal paths to an access request. In this way, it can be avoided that the bulk access request is transmitted through only one shortest path in the prior art, and the shortest path is congested. The other paths are not as the shortest path, the path load utilization is low, and the resource allocation is unreasonable, thereby achieving The technical effect of improving user access speed.
附图说明 DRAWINGS
下面将参照附图描述本申请的具体实施例,其中:Specific embodiments of the present application will be described below with reference to the accompanying drawings, in which:
图1为本申请实施例一中中央控制器侧路径计算的方法原理图;1 is a schematic diagram of a method for calculating a path of a central controller side in the first embodiment of the present application;
图2为本申请实施例一中入口服务器侧访问请求分发的方法原理图;2 is a schematic diagram of a method for accessing an access server side access request in the first embodiment of the present application;
图3为本申请实施例二中路径计算和访问请求分发的方法流程图;3 is a flowchart of a method for path calculation and access request distribution in Embodiment 2 of the present application;
图4为本申请实施例二中路径计算和访问请求分发的流程示意图;4 is a schematic flowchart of path calculation and access request distribution in Embodiment 2 of the present application;
图5为本申请实施例三中中央控制器侧路径计算的装置结构图;5 is a structural diagram of a device for calculating a path of a central controller side in Embodiment 3 of the present application;
图6为本申请实施例三中入口服务器侧访问请求分发的装置结构图;6 is a structural diagram of an apparatus for accessing an access server side access request in Embodiment 3 of the present application;
图7为本申请实施例四中访问请求分发的系统架构图;7 is a system architecture diagram of access request distribution in Embodiment 4 of the present application;
图8为本申请实施例五中电子设备的结构示意图。FIG. 8 is a schematic structural diagram of an electronic device according to Embodiment 5 of the present application.
具体实施方式detailed description
为了使本申请的技术方案及优点更加清楚明白,以下结合附图对本申请的示例性实施例进行进一步详细的说明,显然,所描述的实施例仅是本申请的一部分实施例,而不是所有实施例的穷举。并且在不冲突的情况下,本说明中的实施例及实施例中的特征可以互相结合。The exemplary embodiments of the present application are further described in detail below with reference to the accompanying drawings, in which the embodiments described are only a part of the embodiments of the present application, but not all embodiments. An exhaustive example. And in the case of no conflict, the features in the embodiments and the embodiments in the description can be combined with each other.
发明人在研究现有技术的过程中注意到:The inventor noticed in the process of studying the prior art:
当ADN网络接收到访问请求时,根据访问请求计算出一条最短路径作为最优路径,以使访问请求经由所述最优路径实现访问请求的传输加速,但当批量访问请求接入ADN网络时,单一的最优路径传输导致最优路径负载利用率陡增,其它路径得不到充分利用,负载利用率较低,造成资源分配不合理。When the ADN network receives the access request, the shortest path is calculated as the optimal path according to the access request, so that the access request accelerates the transmission of the access request via the optimal path, but when the bulk access request is connected to the ADN network, A single optimal path transmission leads to a steep increase in optimal path load utilization, other paths are not fully utilized, and load utilization is low, resulting in unreasonable resource allocation.
针对上述不足,本申请实施例提出了中央控制器根据获取到的服务器节点之间的时延和丢包率信息,计算出服务器节点之间的距离,以及根据获取到的边缘服务器到源站服务器的时延和丢包率信息,计算出边缘服务器到源站服务器的距离;根据服务器节点之间,以及边缘服务器到源站服务器的距离,计算出路径信息,并发送给多个入口服务器。其中,所述路径信息包括多条最优路径信息和路径指示信息,所述路径指示信息用于表示所述多条最优路径中每条最优路径对访问请求的传输能力。本申请实施例利用中央控制 器计算出多条最优路径信息,以使入口服务器根据所述多条最优路径信息实现传输路径的负载均衡,同时达到提升用户访问速度的技术效果。For the above-mentioned deficiencies, the embodiment of the present application proposes that the central controller calculates the distance between the server nodes according to the obtained delay and packet loss rate information between the server nodes, and according to the obtained edge server to the source station server. The delay and packet loss rate information is used to calculate the distance from the edge server to the source server; according to the distance between the server nodes and the edge server to the source server, the path information is calculated and sent to multiple portal servers. The path information includes a plurality of pieces of optimal path information and path indication information, where the path indication information is used to indicate a transmission capability of each of the plurality of optimal paths to an access request. Embodiments of the present application utilize central control The device calculates a plurality of optimal path information, so that the ingress server implements load balancing of the transmission path according to the plurality of optimal path information, and achieves the technical effect of improving user access speed.
为了便于本申请的实施,下面实例进行说明。In order to facilitate the implementation of the present application, the following examples are described.
实施例一、Embodiment 1
图1示出了本申请实施例一中中央控制器侧路径计算的方法原理图,如图1所示,包括:FIG. 1 is a schematic diagram of a method for calculating a path of a central controller side in the first embodiment of the present application, as shown in FIG. 1 , including:
步骤101:根据获取到的服务器节点之间的时延和丢包率信息,计算出服务器节点之间的距离,以及根据获取到的边缘服务器到源站服务器的时延和丢包率信息,计算出边缘服务器到源站服务器的距离。Step 101: Calculate the distance between the server nodes according to the obtained delay and packet loss rate information between the server nodes, and calculate the delay and packet loss rate information of the obtained edge server to the source server. The distance from the edge server to the source server.
步骤102:根据服务器节点之间,以及边缘服务器到源站服务器的距离,计算出路径信息,并发送给多个入口服务器。其中,所述路径信息包括多条最优路径信息和路径指示信息,所述路径指示信息用于表示所述多条最优路径中每条最优路径对访问请求的传输能力。Step 102: Calculate the path information according to the distance between the server nodes and the edge server to the source server, and send the path information to multiple portal servers. The path information includes a plurality of pieces of optimal path information and path indication information, where the path indication information is used to indicate a transmission capability of each of the plurality of optimal paths to an access request.
在步骤101中,中央控制器周期性接收网内各服务器节点通过网内各服务器节点之间相互探测得到的时延和丢包率,以及网内边缘服务器通过网内边缘服务器到源站服务器的单向探测得到的时延和丢包率。根据接收到的网内各服务器节点之间,以及网内边缘服务器到源站服务器的探测数据,计算出各服务器节点之间,以及网内边缘服务器到源站服务器的距离值。此外,中央控制器还会周期性接收网内所有服务器节点通过自我探测的方式检测设备的实际网卡流量计算出的带宽利用率。其中,在ADN网络中,时延可以是TCP时延,也可以是网络控制消息协议(ICMP:Internet Control Message Protocol)时延,在此不做进一步的限定。In step 101, the central controller periodically receives the delay and packet loss rate of each server node in the network through mutual detection between the server nodes in the network, and the intra-edge edge server passes through the intra-network edge server to the source station server. Delay and packet loss rate obtained by one-way detection. According to the detected data between the server nodes in the network and the edge server to the source server in the network, the distance between each server node and the edge server to the source server is calculated. In addition, the central controller periodically receives all the server nodes in the network to detect the bandwidth utilization calculated by the actual NIC flow meter of the device through self-detection. The delay in the ADN network may be a TCP delay or an Internet Control Message Protocol (ICMP) delay, which is not further limited herein.
在步骤102中,中央控制器根据计算出的各服务器节点之间,以及网内边缘服务器到源站服务器的距离值,利用最短路径算法YEN进一步计算出N条最优路径。其中,N的值可以根据实际情况进行设定,当计算出的最优路径条数未达到N时,以计算出的最优路径条数为准。 In step 102, the central controller further calculates the N optimal paths by using the shortest path algorithm YEN according to the calculated distance values between the server nodes and the intra-edge edge server to the source station server. The value of N can be set according to the actual situation. When the calculated optimal path number does not reach N, the calculated optimal path number is taken as the standard.
中央控制器发送给多个入口服务器的路径信息包括多条最优路径信息和路径指示信息,其中路径指示信息可以是为每条最优路径设置的权重属性,用以表示每条最优路径对访问请求的传输能力。其中,最优路径权值为最优路径中某一最优路径的距离值与所有最优路径的距离值总和的比值,具体的计算方法为:The path information sent by the central controller to the multiple ingress servers includes multiple pieces of optimal path information and path indication information, where the path indication information may be a weight attribute set for each optimal path to represent each optimal path pair. The transmission capability of the access request. The optimal path weight is the ratio of the distance value of an optimal path in the optimal path to the sum of the distance values of all the optimal paths. The specific calculation method is:
Figure PCTCN2016111692-appb-000001
Figure PCTCN2016111692-appb-000001
其中,N为同一入口服务器到达同一源站服务器的最优路径条数。若最优路径中只存在一条最优路径,则该最优路径的权值设置为1;若最优路径中存在多条最优路径,则利用上述最优路径权值算法计算出每条最优路径的权值。Where N is the optimal number of paths for the same ingress server to reach the same source server. If there is only one optimal path in the optimal path, the weight of the optimal path is set to 1; if there are multiple optimal paths in the optimal path, the optimal path weight algorithm is used to calculate each of the most The weight of the excellent path.
在本实施例中,中央控制器将多条最优路径信息,以及多条最优路径中每条最优路径的权重属性一并发送给入口服务器,以使入口服务器在接收到批量访问请求时,根据来自中央控制器的路径信息实现批量访问请求的并行传输,进而达到均衡多条最优路径负载利用率,资源合理分配的技术效果。In this embodiment, the central controller sends the multiple optimal path information and the weight attribute of each of the plurality of optimal paths to the ingress server, so that the ingress server receives the bulk access request. The parallel transmission of the batch access request is implemented according to the path information from the central controller, thereby achieving the technical effect of balancing the optimal path load utilization and rational resource allocation.
进一步地,所述服务器节点为ADN网络内服务器节点,所述边缘服务器为ADN网络内边缘服务器,所述ADN网络为应用分发网络。Further, the server node is a server node in the ADN network, the edge server is an ADN network inner edge server, and the ADN network is an application distribution network.
进一步地,所述根据获取到的服务器节点之间的时延和丢包率信息,计算出服务器节点之间的距离,以及根据获取到的边缘服务器到源站服务器的时延和丢包率信息,计算出边缘服务器到源站服务器的距离的步骤还包括:Further, the calculating the distance between the server nodes according to the obtained delay and packet loss rate information between the server nodes, and the delay and packet loss rate information according to the obtained edge server to the source server The steps of calculating the distance from the edge server to the source server include:
根据访问请求所要访问的数据类型,设置丢包率的敏感度;Set the sensitivity of the packet loss rate according to the type of data to be accessed by the access request;
根据丢包率的敏感度,以及服务器节点之间的时延和丢包率信息,计算出服务器节点之间的距离,以及根据丢包率的敏感度,以及边缘服务器到源站服务器的时延和丢包率信息,计算出服务器节点之间,以及边缘服务器到源站服务器的距离。Calculate the distance between server nodes based on the sensitivity of the packet loss rate and the delay and packet loss rate between the server nodes, and the sensitivity based on the packet loss rate and the delay from the edge server to the source server. And the packet loss rate information, calculate the distance between the server nodes and the edge server to the source server.
中央控制器根据获取到的服务器节点之间的时延和丢包率信息,计算出 服务器节点之间的距离,以及根据获取到的边缘服务器到源站服务器的时延和丢包率信息,计算出边缘服务器到源站服务器的距离,具体的计算方法为:The central controller calculates the delay and packet loss rate information between the obtained server nodes. The distance between the server nodes and the delay and packet loss rate information of the obtained edge server to the source server determine the distance from the edge server to the source server. The specific calculation method is as follows:
Figure PCTCN2016111692-appb-000002
Figure PCTCN2016111692-appb-000002
其中,N为[0,X],N代表丢包率的敏感度,当X为0时,表示只考虑往返时延(RTT:Round-Trip Time)而不考虑丢包率Loss,当X为3时,表示丢包率Loss敏感度较高。X取值越高,丢包率Loss敏感度越高,且不限于3。Where N is [0, X], where N represents the sensitivity of the packet loss rate. When X is 0, it means that only the round-trip delay (RTT: Round-Trip Time) is considered regardless of the packet loss rate Loss, when X is At 3 o'clock, it indicates that the packet loss rate is higher. The higher the value of X, the higher the loss sensitivity of the packet loss rate, and is not limited to 3.
具体地,针对不同应用场景确定N的取值进行举例说明,通过对接收到的访问请求进行数据类型解析,若访问请求为想要访问如视频会议类的请求,对丢包率Loss的要求较高,则在此类应用场景的计算方法中,N的取值可定义为3;同理,若访问请求为想要访问如文件下载类的请求,对丢包率Loss的要求较低,则在此类应用场景的计算方法中,N的取值可定义为0。Specifically, the value of the N is determined for different application scenarios. The data type is parsed by the received access request. If the access request is a request to access a video conference class, the request for the packet loss rate is lower. High, in the calculation method of such an application scenario, the value of N can be defined as 3; similarly, if the access request is a request to access a file download class, the request for the packet loss rate is lower, then In the calculation method of such an application scenario, the value of N can be defined as 0.
进一步地,还包括:Further, it also includes:
获取除入口服务器外所有服务器节点的负载利用率;Obtain load utilization of all server nodes except the ingress server;
当所述最优路径中除入口服务器外的某一服务器节点的负载利用率达到阈值时,从所述多条最优路径中删除所述某一服务器节点所属的最优路径。When the load utilization of a certain server node other than the ingress server reaches the threshold in the optimal path, the optimal path to which the certain server node belongs is deleted from the multiple optimal paths.
针对服务器节点负载利用率为服务器节点带宽利用率,进行举例说明,中央控制器以分钟为单位,利用最短路径算法YEN将计算出的从同一入口服务器到同一源站服务器的N条最短路径作为N条最优路径,若计算得到的最优路径条数不足N,则以计算出来的最优路径条数为准;若计算得到的最优路径中存在除入口服务器外的某一服务器节点的带宽利用率达到阈值(阈值默认为100%),则将该最优路径从最优路径中删除;若最优路径中只存在一条最优路径,即便该最优路径中除入口服务器外的某一服务器节点的带宽利用率达到阈值,也继续保留该最优路径。For example, the server node load utilization is the server node bandwidth utilization. The central controller uses the shortest path algorithm YEN to calculate the N shortest paths from the same ingress server to the same source server as N. If the calculated optimal path number is less than N, the calculated optimal path number shall prevail; if the calculated optimal path has a bandwidth of a server node other than the ingress server If the utilization reaches the threshold (the threshold is 100% by default), the optimal path is deleted from the optimal path; if there is only one optimal path in the optimal path, even if the optimal path has one other than the ingress server The bandwidth utilization of the server node reaches the threshold and the optimal path is also retained.
其中,每个服务器节点预先设定额定带宽,并通过采集上行及下行带宽得到实际带宽,带宽利用率的具体计算方法为: Each server node presets the rated bandwidth and obtains the actual bandwidth by collecting the uplink and downlink bandwidths. The specific calculation method of the bandwidth utilization is:
Figure PCTCN2016111692-appb-000003
Figure PCTCN2016111692-appb-000003
图2为本申请实施例一中入口服务器侧访问请求分发的方法原理图,如图2所示,包括:2 is a schematic diagram of a method for accessing an access server side access request in the first embodiment of the present application. As shown in FIG. 2, the method includes:
步骤201:当接收到应用发起的访问请求时,获取所述应用所对应的路径信息,所述路径信息包括多条最优路径信息和路径指示信息,所述路径指示信息用于表示所述多条最优路径中每条最优路径对访问请求的传输能力。In step 201, when the application-initiated access request is received, the path information corresponding to the application is obtained, where the path information includes multiple pieces of optimal path information and path indication information, where the path indication information is used to indicate the multiple The ability of each optimal path to transmit access requests in the optimal path.
步骤202:根据所述路径信息,将所述访问请求经由所述多条最优路径并行发送给源站服务器。Step 202: Send the access request to the source station server in parallel via the plurality of optimal paths according to the path information.
在步骤201中,入口服务器接收访问请求,根据访问请求中的应用标识确定发起访问请求的应用,根据应用类别获取对应的路径信息。In step 201, the ingress server receives the access request, determines an application that initiates the access request according to the application identifier in the access request, and acquires corresponding path information according to the application category.
进一步地,所述的根据所述路径信息,将所述访问请求经由所述多条最优路径并行发送给源站服务器的步骤包括:Further, the step of transmitting the access request to the source station server in parallel via the multiple optimal paths according to the path information includes:
根据所述路径指示信息,计算出所述多条最优路径中每条最优路径对应的并行发送比例;Calculating, according to the path indication information, a parallel transmission ratio corresponding to each of the plurality of optimal paths;
根据所述并行发送比例,并行发送所述访问请求给源站服务器。The access request is sent to the source station server in parallel according to the parallel transmission ratio.
针对多条最优路径中每条最优路径的并行发送比例为多条最优路径中每条最优路径的权值比例,进行举例说明,入口服务器根据路径信息中的最优路径权值计算多条最优路径中每条最优路径对应的权值比例,即某一条最优路径的权值与所有最优路径的权值总和的比值,具体的计算方法为:The parallel transmission ratio of each optimal path in the multiple optimal paths is the weight ratio of each optimal path in the multiple optimal paths. For example, the portal server calculates the weight of the optimal path based on the path information. The ratio of the weights corresponding to each optimal path in the multiple optimal paths, that is, the ratio of the weights of a certain optimal path to the sum of the weights of all the optimal paths. The specific calculation method is:
Figure PCTCN2016111692-appb-000004
Figure PCTCN2016111692-appb-000004
其中,N为[1,X],N表示最优路径的条数,通常默认N为3。Where N is [1, X], and N represents the number of optimal paths. Usually, the default N is 3.
在本实施例中,入口服务器将批量访问请求按照应用类别进行分类后,获取与应用类别对应的包含多条最优路径的路径信息,并根据路径信息将分类后的访问请求按照每条最优路径的权值比例,并经由多条最优路径并行发送给源站服务器,以使入口服务器基于多条最优路径实现传输路径的负载均 衡,同时达到提升用户访问速度的技术效果。In this embodiment, the portal server classifies the batch access request according to the application category, obtains path information including multiple optimal paths corresponding to the application category, and selects the classified access request according to the path information according to the path information. The weight ratio of the path is sent to the source station server in parallel via multiple optimal paths, so that the portal server implements the load of the transmission path based on the multiple optimal paths. Balance, while achieving the technical effect of improving user access speed.
本申请实施例二以具体场景为例,对本申请实施例一进行详细描述。The second embodiment of the present application provides a detailed description of the first embodiment of the present application by taking a specific scenario as an example.
实施例二、Embodiment 2
图3为本申请实施例二中路径计算和访问请求分发的方法流程图,如图3所示,路径计算,以及访问请求分发的具体实现方法为:FIG. 3 is a flowchart of a path calculation and an access request distribution method according to Embodiment 2 of the present application. As shown in FIG. 3, the path calculation and the specific implementation method of the access request distribution are:
步骤301:服务器节点将探测结果周期性上报给中央控制器,探测结果至少包括TCP时延、丢包率、带宽利用率。图4为本申请实施例二中路径计算和访问请求分发的流程示意图,如图4所示,ADN网络内服务器节点之间进行Ping探测,得到服务器节点之间的TCP时延和丢包率,以及服务器节点通过检测自身的实际网卡流量,计算出带宽利用率,并将服务器节点之间的TCP时延、丢包率和带宽利用率一并发送给中央控制器。ADN网络内边缘服务器对源站服务器进行Ping探测,得到边缘服务器到源站服务器的TCP时延、丢包率,以及边缘服务器通过检测自身的实际网卡流量,计算出带宽利用率,并将边缘服务器到源站服务器的TCP时延、丢包率和带宽利用率一并发送给中央控制器。Step 301: The server node periodically reports the detection result to the central controller, and the detection result includes at least a TCP delay, a packet loss rate, and a bandwidth utilization. 4 is a schematic flowchart of path calculation and access request distribution in Embodiment 2 of the present application. As shown in FIG. 4, ping detection is performed between server nodes in an ADN network, and TCP delay and packet loss rate between server nodes are obtained. And the server node calculates the bandwidth utilization by detecting the actual NIC traffic of the server, and sends the TCP delay, the packet loss rate, and the bandwidth utilization between the server nodes to the central controller. The edge server of the ADN network pings the source server to obtain the TCP delay and packet loss rate of the edge server to the source server, and the edge server calculates the bandwidth utilization by detecting its actual network card traffic, and the edge server is used. The TCP delay, packet loss rate, and bandwidth utilization to the source server are sent to the central controller.
步骤302:中央控制器根据接收到的服务器节点之间的TCP时延和丢包率信息,计算出服务器节点之间的距离,以及根据获取到的边缘服务器到源站服务器的TCP时延和丢包率信息,计算出边缘服务器到源站服务器的距离。Step 302: The central controller calculates the distance between the server nodes according to the received TCP delay and the packet loss rate information between the server nodes, and the TCP delay and the loss according to the obtained edge server to the source server. The packet rate information calculates the distance from the edge server to the source server.
步骤303:中央控制器根据服务器节点间距离,以及边缘服务器到源站服务器的距离,得到从各个入口服务器到所有源站服务器的N条最优路径(N根据实际情况设定,默认为3)。Step 303: The central controller obtains N optimal paths from each ingress server to all source server according to the distance between the server nodes and the distance from the edge server to the source server (N is set according to actual conditions, and the default is 3) .
步骤304:中央控制器对N条最优路径进行权重计算,并为N条最优路径中每条最优路径的权重属性设置权值。Step 304: The central controller performs weight calculation on the N optimal paths, and sets weights for the weight attributes of each of the N optimal paths.
步骤305:中央控制器将包含每条最短路径权值的N条最优路径信息下发给多个入口服务器。Step 305: The central controller sends the N optimal path information including each shortest path weight to multiple ingress servers.
步骤306:当入口服务器接收到来自用户的批量访问请求时,根据发起批 量访问请求的应用的类别获取对应的N条最优路径。Step 306: When the portal server receives the bulk access request from the user, according to the initiating batch The category of the application that accesses the request obtains the corresponding N optimal paths.
步骤307:入口服务器根据N条最优路径中每条最优路径的权值比例,实现对批量访问请求的并行传输。Step 307: The ingress server implements parallel transmission of the bulk access request according to the weight ratio of each of the N optimal paths.
实施例三、Embodiment 3
基于同一发明构思,本申请实施例中还提供了一种路径计算装置,由于这些设备解决问题的原理与一种路径计算方法相似,因此这些设备的实施可以参见方法的实施,重复之处不再赘述。Based on the same inventive concept, a path calculation device is also provided in the embodiment of the present application. Since the principle of solving the problem of these devices is similar to a path calculation method, the implementation of these devices can refer to the implementation of the method, and the repetition is no longer Narration.
图5为本申请实施例三中中央控制器侧路径计算的装置结构图,如图5所示,路径计算装置500可以包括:5 is a structural diagram of a device for calculating a central controller side path according to Embodiment 3 of the present application. As shown in FIG. 5, the path computing device 500 may include:
距离模块501,用于根据获取到的服务器节点之间的时延和丢包率信息,计算出服务器节点之间的距离,以及根据获取到的边缘服务器到源站服务器的时延和丢包率信息,计算出服务器节点之间,以及边缘服务器到源站服务器的距离。The distance module 501 is configured to calculate, according to the obtained delay and packet loss rate information between the server nodes, a distance between the server nodes, and a delay and a packet loss rate according to the obtained edge server to the source server. Information, calculating the distance between server nodes and the edge server to the source server.
路径模块502,用于根据服务器节点之间,以及边缘服务器到源站服务器的距离,计算出路径信息,并发送给多个入口服务器。其中,所述路径信息包括多条最优路径信息和路径指示信息,所述路径指示信息用于表示所述多条最优路径中每条最优路径对访问请求的传输能力。The path module 502 is configured to calculate path information according to the distance between the server nodes and the edge server to the source server, and send the path information to the multiple portal servers. The path information includes a plurality of pieces of optimal path information and path indication information, where the path indication information is used to indicate a transmission capability of each of the plurality of optimal paths to an access request.
进一步地,所述服务器节点为ADN网络内服务器节点,所述边缘服务器为ADN网络内边缘服务器,所述ADN网络为应用分发网络。Further, the server node is a server node in the ADN network, the edge server is an ADN network inner edge server, and the ADN network is an application distribution network.
进一步地,所述距离模块501包括:Further, the distance module 501 includes:
设置单元5011,用于根据访问请求所要访问的数据类型,设置丢包率的敏感度。The setting unit 5011 is configured to set the sensitivity of the packet loss rate according to the type of data to be accessed by the access request.
计算单元5012,用于根据丢包率的敏感度,以及服务器节点之间的时延和丢包率信息,计算出服务器节点之间的距离,以及根据丢包率的敏感度,以及边缘服务器到源站服务器的时延和丢包率信息,计算出服务器节点之间,以及边缘服务器到源站服务器的距离。 The calculating unit 5012 is configured to calculate a distance between the server nodes according to the sensitivity of the packet loss rate and the delay and packet loss rate information between the server nodes, and the sensitivity according to the packet loss rate, and the edge server to The delay and packet loss rate information of the source station server calculates the distance between the server nodes and the edge server to the source server.
进一步地,所述路径模块502包括:Further, the path module 502 includes:
获取单元5021,用于获取除入口服务器外所有服务器节点的负载利用率。The obtaining unit 5021 is configured to obtain load utilization of all server nodes except the ingress server.
删除单元5022,用于当所述最优路径中除入口服务器外的某一服务器节点的负载利用率达到阈值时,从所述多条最优路径中删除所述某一服务器节点所属的最优路径。a deleting unit 5022, configured to delete an optimality of the server node from the multiple optimal paths when a load utilization of a server node other than the ingress server reaches a threshold in the optimal path. path.
图6示出了本申请实施例三中入口服务器侧访问请求分发的装置结构图,如图6所示,访问请求分发装置600可以包括:FIG. 6 is a structural diagram of an apparatus for accessing an access server side access request in the third embodiment of the present application. As shown in FIG. 6, the access request distribution apparatus 600 may include:
接收模块601,用于当接收到应用发起的访问请求时,获取所述应用所对应的路径信息,所述路径信息包括多条最优路径信息和路径指示信息,所述路径指示信息用于表示所述多条最优路径中每条最优路径对访问请求的传输能力。The receiving module 601 is configured to: when receiving an access request initiated by the application, acquire path information corresponding to the application, where the path information includes multiple pieces of optimal path information and path indication information, where the path indication information is used to indicate The transmission capability of each of the plurality of optimal paths to the access request.
发送模块602,用于根据所述路径信息,将所述访问请求经由所述多条最优路径并行发送给源站服务器。The sending module 602 is configured to send the access request to the source station server in parallel according to the path information by using the multiple optimal paths.
进一步地,所述发送模块602包括:Further, the sending module 602 includes:
比例单元6021,用于根据所述路径指示信息,计算出所述多条最优路径中每条最优路径对应的并行发送比例。The ratio unit 6021 is configured to calculate, according to the path indication information, a parallel transmission ratio corresponding to each of the plurality of optimal paths.
并行单元6022,用于根据所述并行发送比例,并行发送所述访问请求给源站服务器。The parallel unit 6022 is configured to send the access request to the source station server in parallel according to the parallel transmission ratio.
实施例四、Embodiment 4
基于同一发明构思,本申请实施例中还提供了一种访问请求分发系统,由于这些设备解决问题的原理与路径计算和访问请求分发方法、一种路径计算和访问请求分发装置相似,因此这些设备的实施可以参见方法的实施,重复之处不再赘述。Based on the same inventive concept, an access request distribution system is also provided in the embodiment of the present application. Since the principle of solving the problem of these devices is similar to the path calculation and access request distribution method, a path calculation and the access request distribution device, these devices are similar. For the implementation of the method, refer to the implementation of the method, and the repetition will not be repeated.
图7示出了本申请实施例四中访问请求分发的系统架构图,如图7所示,所述访问请求分发系统700可以包括:FIG. 7 is a system architecture diagram of the access request distribution in the fourth embodiment of the present application. As shown in FIG. 7, the access request distribution system 700 may include:
中央控制器701,用于根据获取到的服务器节点之间的时延和丢包率信 息,计算出服务器节点之间的距离,以及根据获取到的边缘服务器到源站服务器的时延和丢包率信息,计算出服务器节点之间,以及边缘服务器到源站服务器的距离;以及The central controller 701 is configured to: according to the obtained delay and packet loss rate between server nodes Calculate the distance between the server nodes, and calculate the distance between the server nodes and the edge server to the source server according to the obtained delay and packet loss rate information of the edge server to the source server;
根据服务器节点之间,以及边缘服务器到源站服务器的距离,计算出包含多条最优路径的路径信息,并发送给多个入口服务器。According to the distance between the server nodes and the edge server to the source server, path information including multiple optimal paths is calculated and sent to multiple portal servers.
入口服务器702,用于当接收到应用发起的访问请求时,获取所述应用所对应的路径信息;以及The portal server 702 is configured to acquire path information corresponding to the application when receiving an access request initiated by the application;
根据所述路径信息,将所述访问请求经由所述多条最优路径并行发送给源站服务器;And sending, according to the path information, the access request to the source station server in parallel via the multiple optimal paths;
其中,所述路径信息包括多条最优路径信息和路径指示信息,所述路径指示信息用于表示所述多条最优路径中每条最优路径对访问请求的传输能力。The path information includes a plurality of pieces of optimal path information and path indication information, where the path indication information is used to indicate a transmission capability of each of the plurality of optimal paths to an access request.
实施例五、Embodiment 5
基于同一发明构思,本申请实施例中还提供了一种电子设备,由于其原理与一种路径计算和访问请求分发方法相似,因此其实施可以参见方法的实施,重复之处不再赘述。Based on the same inventive concept, an electronic device is also provided in the embodiment of the present application. Since the principle is similar to a path calculation and access request distribution method, the implementation of the method may refer to the implementation of the method, and the repeated description is not repeated.
图8示出了本申请实施例五中电子设备的结构示意图,如图8所示,所述电子设备包括:收发设备801,存储器802,一个或多个处理器803;以及一个或多个模块,所述一个或多个模块被存储在所述存储器中,并被配置成由所述一个或多个处理器执行,所述一个或多个模块包括用于执行任一上述方法中各个步骤的指令。8 is a schematic structural diagram of an electronic device in Embodiment 5 of the present application. As shown in FIG. 8, the electronic device includes: a transceiver device 801, a memory 802, one or more processors 803, and one or more modules. The one or more modules are stored in the memory and configured to be executed by the one or more processors, the one or more modules including steps for performing the steps of any of the above methods instruction.
实施例六、Embodiment 6
基于同一发明构思,本申请实施例还提供了一种与电子设备结合使用的计算机程序产品,由于其原理与一种路径计算和访问请求分发方法相似,因此其实施可以参见方法的实施,重复之处不再赘述。所述计算机程序产品包括计算机可读的存储介质和内嵌于其中的计算机程序机制,所述计算机程序 机制包括用于执行任一上述方法中各个步骤的指令。Based on the same inventive concept, the embodiment of the present application further provides a computer program product for use in combination with an electronic device. Since the principle is similar to a path calculation and access request distribution method, the implementation may refer to the implementation of the method, and the method is repeated. I won't go into details here. The computer program product comprises a computer readable storage medium and a computer program mechanism embedded therein, the computer program The mechanism includes instructions for performing the various steps in any of the above methods.
为了描述的方便,以上所述装置的各部分以功能分为各种模块分别描述。当然,在实施本申请时可以把各模块或单元的功能在同一个或多个软件或硬件中实现。For the convenience of description, the various parts of the above-described apparatus are separately described by functions into various modules. Of course, the functions of each module or unit may be implemented in the same software or hardware in the implementation of the present application.
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present application can be provided as a method, system, or computer program product. Thus, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment in combination of software and hardware. Moreover, the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the present application. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。 These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
尽管已描述了本申请的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本申请范围的所有变更和修改。 While the preferred embodiment of the present application has been described, it will be apparent that those skilled in the art can make further changes and modifications to the embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and the modifications and

Claims (17)

  1. 一种路径计算方法,应用于中央控制器,其特征在于,包括:A path calculation method is applied to a central controller, which includes:
    根据获取到的服务器节点之间的时延和丢包率信息,计算出服务器节点之间的距离,以及根据获取到的边缘服务器到源站服务器的时延和丢包率信息,计算出边缘服务器到源站服务器的距离;Calculate the distance between the server nodes according to the obtained delay and packet loss rate information between the server nodes, and calculate the edge server according to the obtained delay and packet loss rate information of the edge server to the source server. The distance to the source server;
    根据服务器节点之间,以及边缘服务器到源站服务器的距离,计算出路径信息,并发送给多个入口服务器;Calculating the path information according to the distance between the server nodes and the edge server to the source server, and sending the path information to multiple entry servers;
    其中,所述路径信息包括多条最优路径信息和路径指示信息,所述路径指示信息用于表示所述多条最优路径中每条最优路径对访问请求的传输能力。The path information includes a plurality of pieces of optimal path information and path indication information, where the path indication information is used to indicate a transmission capability of each of the plurality of optimal paths to an access request.
  2. 如权利要求1所述的方法,其特征在于,所述服务器节点为ADN网络内服务器节点,所述边缘服务器为ADN网络内边缘服务器,所述ADN网络为应用分发网络。The method of claim 1, wherein the server node is a server node within an ADN network, the edge server is an ADN network inner edge server, and the ADN network is an application distribution network.
  3. 如权利要求1所述的方法,其特征在于,所述根据获取到的服务器节点之间的时延和丢包率信息,计算出服务器节点之间的距离,以及根据获取到的边缘服务器到源站服务器的时延和丢包率信息,计算出边缘服务器到源站服务器的距离的步骤包括:The method according to claim 1, wherein the calculating the distance between the server nodes according to the obtained delay and packet loss rate information between the server nodes, and according to the obtained edge server to the source The delay and packet loss rate information of the station server, and the steps of calculating the distance from the edge server to the source server include:
    根据访问请求所要访问的数据类型,设置丢包率的敏感度;Set the sensitivity of the packet loss rate according to the type of data to be accessed by the access request;
    根据丢包率的敏感度,以及服务器节点之间的时延和丢包率信息,计算出服务器节点之间的距离,以及根据丢包率的敏感度,以及边缘服务器到源站服务器的时延和丢包率信息,计算出边缘服务器到源站服务器的距离。Calculate the distance between server nodes based on the sensitivity of the packet loss rate and the delay and packet loss rate between the server nodes, and the sensitivity based on the packet loss rate and the delay from the edge server to the source server. And the packet loss rate information, calculate the distance from the edge server to the source server.
  4. 如权利要求1所述的方法,其特征在于,还包括:The method of claim 1 further comprising:
    获取除入口服务器外所有服务器节点的负载利用率;Obtain load utilization of all server nodes except the ingress server;
    当所述最优路径中除入口服务器外的某一服务器节点的负载利用率达到阈值时,从所述多条最优路径中删除所述某一服务器节点所属的最优路径。When the load utilization of a certain server node other than the ingress server reaches the threshold in the optimal path, the optimal path to which the certain server node belongs is deleted from the multiple optimal paths.
  5. 一种访问请求分发方法,应用于入口服务器,其特征在于,包括: An access request distribution method is applied to an ingress server, and includes:
    当接收到应用发起的访问请求时,获取所述应用所对应的路径信息,所述路径信息包括多条最优路径信息和路径指示信息,所述路径指示信息用于表示所述多条最优路径中每条最优路径对访问请求的传输能力;Obtaining, by the application, the path information corresponding to the application, where the path information includes multiple pieces of optimal path information and path indication information, where the path indication information is used to indicate the multiple optimal The ability of each optimal path in the path to transmit access requests;
    根据所述路径信息,将所述访问请求经由所述多条最优路径并行发送给源站服务器。And according to the path information, the access request is sent to the source station server in parallel via the plurality of optimal paths.
  6. 如权利要求5所述的方法,其特征在于,所述的根据所述路径信息,将所述访问请求经由所述多条最优路径并行发送给源站服务器的步骤包括:The method according to claim 5, wherein the step of transmitting the access request to the source station server in parallel via the plurality of optimal paths according to the path information comprises:
    根据所述路径指示信息,计算出所述多条最优路径中每条最优路径对应的并行发送比例;Calculating, according to the path indication information, a parallel transmission ratio corresponding to each of the plurality of optimal paths;
    根据所述并行发送比例,并行发送所述访问请求给源站服务器。The access request is sent to the source station server in parallel according to the parallel transmission ratio.
  7. 一种路径计算装置,应用于中央控制器,其特征在于,包括:A path computing device is applied to a central controller, and includes:
    距离模块,用于根据获取到的服务器节点之间的时延和丢包率信息,计算出服务器节点之间的距离,以及根据获取到的边缘服务器到源站服务器的时延和丢包率信息,计算出边缘服务器到源站服务器的距离;The distance module is configured to calculate a distance between the server nodes according to the obtained delay and packet loss rate information between the server nodes, and according to the obtained delay time and packet loss rate information of the edge server to the source server , calculate the distance from the edge server to the source server;
    路径模块,用于根据服务器节点之间,以及边缘服务器到源站服务器的距离,计算出路径信息,并发送给多个入口服务器;a path module, configured to calculate path information according to a distance between server nodes and an edge server to a source server, and send the path information to multiple entry servers;
    其中,所述路径信息包括多条最优路径信息和路径指示信息,所述路径指示信息用于表示所述多条最优路径中每条最优路径对访问请求的传输能力。The path information includes a plurality of pieces of optimal path information and path indication information, where the path indication information is used to indicate a transmission capability of each of the plurality of optimal paths to an access request.
  8. 如权利要求7所述的装置,其特征在于,所述服务器节点为ADN网络内服务器节点,所述边缘服务器为ADN网络内边缘服务器,所述ADN网络为应用分发网络。The apparatus according to claim 7, wherein the server node is a server node in an ADN network, the edge server is an ADN network inner edge server, and the ADN network is an application distribution network.
  9. 如权利要求7所述的装置,其特征在于,所述距离模块进一步包括:The device of claim 7 wherein said distance module further comprises:
    设置单元,用于根据访问请求所要访问的数据类型,设置丢包率的敏感度;a setting unit, configured to set a sensitivity of a packet loss rate according to a data type to be accessed by the access request;
    计算单元,用于根据丢包率的敏感度,以及服务器节点之间的时延和丢 包率信息,计算出服务器节点之间的距离,以及根据丢包率的敏感度,以及边缘服务器到源站服务器的时延和丢包率信息,计算出边缘服务器到源站服务器的距离。A calculation unit for sensitivity based on packet loss rate and delay and loss between server nodes The packet rate information is calculated, and the distance between the server nodes is calculated, and the distance from the edge server to the source server is calculated according to the sensitivity of the packet loss rate and the delay and packet loss rate information of the edge server to the source server.
  10. 如权利要求7所述的装置,其特征在于,所述路径模块进一步包括:The device of claim 7, wherein the path module further comprises:
    获取单元,用于获取除入口服务器外所有服务器节点的负载利用率;An obtaining unit, configured to acquire load utilization of all server nodes except the portal server;
    删除单元,用于当所述最优路径中除入口服务器外的某一服务器节点的负载利用率达到阈值时,从所述多条最优路径中删除所述某一服务器节点所属的最优路径。a deleting unit, configured to delete, when the load utilization of a server node other than the ingress server reaches a threshold, the optimal path to the server node from the multiple optimal paths .
  11. 一种访问请求分发装置,应用于入口服务器,其特征在于,包括:An access request distribution device is applied to an portal server, and includes:
    接收模块,用于当接收到应用发起的访问请求时,获取所述应用所对应的路径信息,所述路径信息包括多条最优路径信息和路径指示信息,所述路径指示信息用于表示所述多条最优路径中每条最优路径对访问请求的传输能力;a receiving module, configured to acquire path information corresponding to the application when the application initiates an access request, where the path information includes multiple pieces of optimal path information and path indication information, where the path indication information is used to indicate Decoding the transmission capability of each of the plurality of optimal paths to the access request;
    发送模块,用于根据所述路径信息,将所述访问请求经由所述多条最优路径并行发送给源站服务器。And a sending module, configured to send the access request to the source station server in parallel according to the path information, by using the multiple optimal paths.
  12. 如权利要求11所述的装置,其特征在于,所述发送模块进一步包括:The device of claim 11, wherein the sending module further comprises:
    比例单元,用于根据所述路径指示信息,计算出所述多条最优路径中每条最优路径对应的并行发送比例;And a ratio unit, configured to calculate, according to the path indication information, a parallel transmission ratio corresponding to each of the plurality of optimal paths;
    并行单元,用于根据所述并行发送比例,并行发送所述访问请求给源站服务器。And a parallel unit, configured to send the access request to the source station server in parallel according to the parallel transmission ratio.
  13. 一种访问请求分发系统,其特征在于,包括:An access request distribution system, comprising:
    中央控制器,用于根据获取到的服务器节点之间的时延和丢包率信息,计算出服务器节点之间的距离,以及根据获取到的边缘服务器到源站服务器的时延和丢包率信息,计算出边缘服务器到源站服务器的距离;以及The central controller is configured to calculate a distance between the server nodes according to the obtained delay and packet loss rate information between the server nodes, and according to the obtained delay time and packet loss rate of the edge server to the source server Information, calculating the distance from the edge server to the source server; and
    根据服务器节点之间,以及边缘服务器到源站服务器的距离,计算出包 含多条最优路径的路径信息,并发送给多个入口服务器;Calculate the package based on the distance between the server nodes and the edge server to the source server Path information containing multiple optimal paths and sent to multiple ingress servers;
    入口服务器,用于当接收到应用发起的访问请求时,获取所述应用所对应的路径信息;以及An access server, configured to acquire path information corresponding to the application when receiving an access request initiated by the application;
    根据所述路径信息,将所述访问请求经由所述多条最优路径并行发送给源站服务器;And sending, according to the path information, the access request to the source station server in parallel via the multiple optimal paths;
    其中,所述路径信息包括多条最优路径信息和路径指示信息,所述路径指示信息用于表示所述多条最优路径中每条最优路径对访问请求的传输能力。The path information includes a plurality of pieces of optimal path information and path indication information, where the path indication information is used to indicate a transmission capability of each of the plurality of optimal paths to an access request.
  14. 一种电子设备,其特征在于,应用于中央控制器,所述电子设备包括:An electronic device, which is applied to a central controller, the electronic device comprising:
    收发设备,存储器,一个或多个处理器;以及Transceiver, memory, one or more processors;
    一个或多个模块,所述一个或多个模块被存储在所述存储器中,并被配置成由所述一个或多个处理器执行,所述一个或多个模块包括用于执行权利要求1-4中任一所述方法中各个步骤的指令。One or more modules stored in the memory and configured to be executed by the one or more processors, the one or more modules including for performing claim 1 The instructions of the various steps in any of the methods described in 4.
  15. 一种电子设备,其特征在于,应用于入口服务器,所述电子设备包括:An electronic device, which is applied to an access server, the electronic device comprising:
    收发设备,存储器,一个或多个处理器;以及Transceiver, memory, one or more processors;
    一个或多个模块,所述一个或多个模块被存储在所述存储器中,并被配置成由所述一个或多个处理器执行,所述一个或多个模块包括用于执行权利要求5-6中任一所述方法中各个步骤的指令。One or more modules stored in the memory and configured to be executed by the one or more processors, the one or more modules including for performing claim 5 The instructions of the various steps in any of the methods described in -6.
  16. 一种与电子设备结合使用的计算机程序产品,所述计算机程序产品包括计算机可读的存储介质和内嵌于其中的计算机程序机制,所述计算机程序机制包括用于执行权利要求1-3中任一所述方法中各个步骤的指令。A computer program product for use in conjunction with an electronic device, the computer program product comprising a computer readable storage medium and a computer program mechanism embedded therein, the computer program mechanism comprising means for performing any of claims 1-3 An instruction for each step in the method.
  17. 一种与电子设备结合使用的计算机程序产品,所述计算机程序产品包括计算机可读的存储介质和内嵌于其中的计算机程序机制,所述计算机程序机制包括用于执行权利要求5-6中任一所述方法中各个步骤的指令。 A computer program product for use in conjunction with an electronic device, the computer program product comprising a computer readable storage medium and a computer program mechanism embedded therein, the computer program mechanism comprising means for performing any of claims 5-6 An instruction for each step in the method.
PCT/CN2016/111692 2016-12-23 2016-12-23 Path calculating and access request distributing methods, devices and systems WO2018112877A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2016/111692 WO2018112877A1 (en) 2016-12-23 2016-12-23 Path calculating and access request distributing methods, devices and systems
CN201680002772.6A CN106716937A (en) 2016-12-23 2016-12-23 A path calculating and access request distributing method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/111692 WO2018112877A1 (en) 2016-12-23 2016-12-23 Path calculating and access request distributing methods, devices and systems

Publications (1)

Publication Number Publication Date
WO2018112877A1 true WO2018112877A1 (en) 2018-06-28

Family

ID=58906730

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/111692 WO2018112877A1 (en) 2016-12-23 2016-12-23 Path calculating and access request distributing methods, devices and systems

Country Status (2)

Country Link
CN (1) CN106716937A (en)
WO (1) WO2018112877A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109639840A (en) * 2019-02-25 2019-04-16 网宿科技股份有限公司 A kind of data processing method and edge calculations system based on edge calculations
WO2024098814A1 (en) * 2022-11-08 2024-05-16 中兴通讯股份有限公司 Data transmission processing method and apparatus, and storage medium and electronic apparatus

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107623631A (en) * 2017-07-25 2018-01-23 深圳市盛路物联通讯技术有限公司 The forward node and data processing equipment of Internet of Things
CN108064439B (en) 2017-10-17 2021-04-06 达闼机器人有限公司 A network path optimization method, system, control server and network access terminal
CN107864228B (en) * 2017-12-22 2020-11-27 网宿科技股份有限公司 A connection establishment method and system in a content distribution network
CN110779524A (en) * 2018-07-31 2020-02-11 阿里巴巴集团控股有限公司 Path planning method, device, device and storage medium
CN109981765B (en) * 2019-03-18 2023-03-24 北京百度网讯科技有限公司 Method and apparatus for determining access path of content distribution network
CN110753101B (en) * 2019-10-15 2020-09-01 南京工程学院 Low-energy-consumption computing node selection and computing task allocation method in edge computing
CN110912820B (en) * 2019-10-30 2021-08-06 深圳马可孛罗科技有限公司 Distributed routing method, distributed routing apparatus, and computer-readable storage medium
CN112911716B (en) * 2021-02-05 2023-02-17 贵州久华信电子技术有限公司 Data transmission method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102571584A (en) * 2012-01-12 2012-07-11 李禾禾 Method for accelerating distributed network
US20140140210A1 (en) * 2012-11-20 2014-05-22 Inventec Corporation Network system and load balancing method
CN104618236A (en) * 2015-01-21 2015-05-13 网宿科技股份有限公司 Parallel data transmission system and method of acceleration network
CN105515915A (en) * 2015-12-25 2016-04-20 厦门网宿软件科技有限公司 Node detection method, device, route selection method, device and network system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102571584A (en) * 2012-01-12 2012-07-11 李禾禾 Method for accelerating distributed network
US20140140210A1 (en) * 2012-11-20 2014-05-22 Inventec Corporation Network system and load balancing method
CN104618236A (en) * 2015-01-21 2015-05-13 网宿科技股份有限公司 Parallel data transmission system and method of acceleration network
CN105515915A (en) * 2015-12-25 2016-04-20 厦门网宿软件科技有限公司 Node detection method, device, route selection method, device and network system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109639840A (en) * 2019-02-25 2019-04-16 网宿科技股份有限公司 A kind of data processing method and edge calculations system based on edge calculations
WO2024098814A1 (en) * 2022-11-08 2024-05-16 中兴通讯股份有限公司 Data transmission processing method and apparatus, and storage medium and electronic apparatus

Also Published As

Publication number Publication date
CN106716937A (en) 2017-05-24

Similar Documents

Publication Publication Date Title
WO2018112877A1 (en) Path calculating and access request distributing methods, devices and systems
US9338192B1 (en) Connection management using connection request transfer protocol
WO2022121469A1 (en) Flow control method, apparatus, and device, and readable storage medium
CN103259696B (en) Network bandwidth detection method, device and the network equipment
CN107800642A (en) A kind of jamming control method and device
CN110875915A (en) Data transmission method and device
Wang et al. TCP congestion control algorithm for heterogeneous Internet
US10148543B2 (en) Connection-oriented communication devices with round trip time estimation
WO2015096149A1 (en) Tcp link configuration method, apparatus and device
US20210266265A1 (en) Modifying the congestion control algorithm applied to a connection based on request characteristics
EP3735768A1 (en) Method of improving qoe for video and web services using cross-layer information
US11190430B2 (en) Determining the bandwidth of a communication link
CN103428104A (en) Content-center network-based congestion control method
CN107135091B (en) An application quality index mapping method, server and client
US20220337502A1 (en) Systems and methods for net neutrality testing
Han et al. A Novel UDT‐Based Transfer Speed‐Up Protocol for Fog Computing
WO2016184079A1 (en) Method and device for processing system log message
Zhang et al. Shared bottleneck detection based on trend line regression for multipath transmission
CN106506434B (en) Service data transmission method and device
Tamizhselvi et al. Dynamic bandwidth estimation and congestion avoidance based on network traffic in mobile cloud
Talau et al. Early window tailoring: A new approach to increase the number of TCP connections served
Tahiliani et al. Tcp congestion control in data center networks
Kudo et al. Proposal of cross‐layer bandwidth assignment with buffer size indication for TCP flow control
Fesehaye Finishing Flows Faster with A Quick congestion Control Protocol (QCP)
Ahsan et al. TCP BBR-n interplay with modern AQM in Wireless-N/AC networks: Quest for the golden pair

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC ( EPO FORM 1205A DATED 21/10/2019 )

122 Ep: pct application non-entry in european phase

Ref document number: 16924622

Country of ref document: EP

Kind code of ref document: A1