[go: up one dir, main page]

WO2018099384A1 - Packet load balancing method, apparatus and system - Google Patents

Packet load balancing method, apparatus and system Download PDF

Info

Publication number
WO2018099384A1
WO2018099384A1 PCT/CN2017/113481 CN2017113481W WO2018099384A1 WO 2018099384 A1 WO2018099384 A1 WO 2018099384A1 CN 2017113481 W CN2017113481 W CN 2017113481W WO 2018099384 A1 WO2018099384 A1 WO 2018099384A1
Authority
WO
WIPO (PCT)
Prior art keywords
load balancing
server
user request
redirect
packet
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2017/113481
Other languages
French (fr)
Chinese (zh)
Inventor
王井贵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Publication of WO2018099384A1 publication Critical patent/WO2018099384A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/02Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
    • H04L63/0227Filtering policies
    • H04L63/0245Filtering by information in the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • H04L47/125Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/563Data redirection of data network streams

Definitions

  • the present invention relates to the field of load balancing, and in particular, to a load balancing method, apparatus, and system for Internet replication messages.
  • Cache Internet Cache
  • P2P cache peer-to-peer network cache
  • DPI Deep Packet Inspection
  • CDN cache content distribution network cache
  • the current popular load balancing strategy is to use hardware load balancing devices (such as F5, RadWare hardware vendors), as shown in Figure 1, but the disadvantage of this solution is that the hardware load balancing equipment is expensive, and the versatility and scalability are not good.
  • the embodiments of the present invention provide a method, a device, and a system for load balancing a packet, so as to at least solve the problem that a dedicated hardware device is required in the related art to implement load balancing cache control.
  • a load balancing method for a message including:
  • the load balancing server receives the user request message that is imported into the local carrier network, and the load balancing server loads the user request message to the corresponding redirect server.
  • the user request message is copied and introduced at least by one of the following methods: deep packet detection DPI optical access, local domain name server Local DNS access, policy routing access, and port mirroring access.
  • the type of the user request message is at least one of the following: a hypertext transfer protocol HTTP, a peer-to-peer network P2P, a local DNS.
  • the method before the load balancing server load balances the user request packet to the corresponding redirect server, the method further includes:
  • Determining the user request message and determining a user request message that needs to be redirected according to the destination IP address or MAC address of the user request message and the flag set in the user request message.
  • the user request message that needs to be redirected is determined according to the destination IP address or the MAC address of the user request message and the flag set in the user request message, including:
  • the user request packet is forwarded according to the protocol stack.
  • the flag set in the user request packet is compared with a preset value, and if they match, the The user request packet is a user request packet that needs to be redirected, and is stored in the redirect buffer queue. If not, the user request packet is discarded.
  • the load balancing server loads and balances the user request message.
  • the corresponding redirecting server includes: the load balancing server redirects the user request packet that needs to be redirected to the corresponding redirecting server according to the predetermined load balancing policy.
  • the load balancing server is multiple, and each load balancing server corresponds to a different type of user request message.
  • the redirect server is multiple, and the load balancing server selects a corresponding redirect server based on at least one of the following: a quality of service of the redirect server, a routing weight, a balancing policy, and a hash of the target address. .
  • the method further includes: the redirecting server determining, according to the user request packet, a corresponding resource cache server And sending a redirect message to the user; the user initiates a user service request to the corresponding resource cache server according to the redirect message.
  • a load balancing server including:
  • a packet capture pre-processing module configured to receive a user request message that is copied and imported to the local carrier network
  • the request load balancing module is configured to load balance the user request packet to a corresponding redirect server.
  • the user request message is at least introduced by using one of the following methods: DPI optical access, Local DNS access, policy routing access, and port mirroring access.
  • the type of the user request message is at least one of the following: HTTP, P2P, local DNS.
  • the packet capture pre-processing module includes: a routing policy unit, configured to determine, according to the destination IP address/MAC address of the user request packet, a user request packet that needs to be redirected;
  • the parsing unit is configured to parse the user request packet that needs to be redirected, and further determines the user request packet that needs to be load balanced according to the preset filtering rule; and the request redirection unit is configured to satisfy the redirection and responsible for balancing.
  • the user request message is sent to the request load balancing module.
  • the request load balancing module includes: a load balancing decision unit, configured to redirect a user request message that needs to be redirected to a corresponding redirect server according to the configured load balancing policy;
  • the equalization distribution unit is set to distribute the user request message.
  • the request load balancing module includes: a heartbeat keep-alive unit, configured to send and receive a TCP_CHECK message between the load balancing server and the redirect server, and the redirect server is serviceable Stateful detection, heartbeat keepalive parameter configuration, redirect server address maintenance, and display of serviceable statistics; balance policy management unit, configured to configure and deliver the load balancing policy, and start and stop the heartbeat keep-alive service stop.
  • a heartbeat keep-alive unit configured to send and receive a TCP_CHECK message between the load balancing server and the redirect server, and the redirect server is serviceable Stateful detection, heartbeat keepalive parameter configuration, redirect server address maintenance, and display of serviceable statistics
  • balance policy management unit configured to configure and deliver the load balancing policy, and start and stop the heartbeat keep-alive service stop.
  • the load balancing decision unit is further configured to obtain a load balancing policy configuration and a redirect server address list, and obtain a list of serviceable redirect server addresses from the heartbeat keep-alive unit, and count the current redirect server. The available load to increase or decrease the amount of requests from the current redirect server.
  • a load balancing system comprising the load balancing server described in the foregoing, and a redirect server and a resource cache server, wherein
  • the redirecting server is configured to determine a corresponding resource cache server according to the user request packet from the load balancing server, and send a redirect message to the user;
  • the resource cache server is configured to receive a service request from a user and provide a corresponding request resource to the user.
  • the load balancing server is multiple, and each load balancing server corresponds to a different type of user request message.
  • the redirect server is multiple, and the load balancing server selects a corresponding redirect server based on at least one of the following: a quality of service of the redirect server, a routing weight, a balancing policy, and a hash of the target address. .
  • the load balancing server is in the same subnet as the redirect server.
  • the redirect server and the resource cache server are separate Deploy or set up.
  • the load balancing server is used to load the user request packet of the local carrier network to the redirect server, and the user redirection service function is implemented.
  • the cost of the equipment is not limited to, but not limited to, but not limited to, but not limited to, but not limited to, but not limited to, but not limited to, but not limited to, but not limited to, but not limited to, but not limited to, but not limited to, but not limited to, but not limited to, the load balancing server, and the user redirection service function is implemented. The cost of the equipment.
  • FIG. 1 is a schematic diagram of a hardware load balancing framework according to the related art
  • FIG. 2 is a schematic diagram of a load balancing server processing a copy message and a load balancing framework according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of a load balancing server load balancing device access mode according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram showing the composition of a load balancing server load balancing device according to an embodiment of the present invention
  • FIG. 5 is a flowchart showing the operation of a load balancing server load balancing device according to an embodiment of the present invention
  • FIG. 6 is a flowchart of preprocessing of packet capture by using a server according to an embodiment of the present invention
  • FIG. 7 is a flow chart showing the operation of implementing a request load balancing function in an embodiment of the present invention.
  • FIG. 2 is a schematic diagram of a load balancing server processing a copy message and a load balancing framework according to an embodiment of the present invention.
  • the packet capture pre-processing and load balancing are implemented by a load balancing server, which may be a general-purpose server, for example, may be any conventional PC general-purpose server device, and data that is usually deployed in the operator's computer room.
  • a load balancing server which may be a general-purpose server, for example, may be any conventional PC general-purpose server device, and data that is usually deployed in the operator's computer room.
  • configure 10Gigabit The fiber-optic network card device can have a message input and output function.
  • the load balancing server device there is no special requirement for the configuration of the load balancing server device. For a node with a relatively large service bandwidth, a network card device with good performance can be selected. For a node with a small amount of traffic, a network card device with moderate performance can be selected. .
  • the load balancing server receives the packet through the network port of the input stream.
  • the network card does not need to be configured with an IP address.
  • the network interface of the load balancing server that requests the load balancing output stream can configure the local LAN segment IP address. , but requires that the cache server be configured in the same subnet segment.
  • a set of load balancing IP address whitelists is configured on the load balancing server for load balancing packet output.
  • the IP address of the same network segment is configured on the cache server for interface load balancing packets.
  • the load balancing server receives the code stream that is split by the DPI, and filters and analyzes the code stream by processing the routing policy module and the message parsing module in the replication message mechanism.
  • each load balancing device is provided with a different load balancing distribution unit.
  • the redirect server has different roles and roles.
  • the type of packets that need to be captured by each load balancing server may be different. For example, some are responsible for HTTP packet processing and load balancing, and some are responsible for P2P reporting. Context capture and load balancing. Therefore, different packet filtering rules and load balancing policies can be configured for different load balancing requirements. Correspondingly, the packet filtering rules and load balancing policies configured by each load balancing server may also be different.
  • the load balancing device determines, after receiving the packet that meets the requirement, and forwards the packet to the redirecting server according to the preset policy.
  • the system also needs to deploy multiple redirecting servers to balance the packets received by the load balancing server and further parse the packets.
  • the load balancing server receives the DPI optical splitting code stream sent by the network or the domain name request message introduced by the LocalDNS.
  • the newspaper The text type is generally based on TCP or UDP format, such as HTTP protocol packets, P2P packets, and DNS request packets.
  • the embodiment of the invention further provides a load balancing server for processing a copy message and a load balancing device, as shown in FIG. 4 .
  • the apparatus includes a message capture pre-processing module 41 and a request load balancing module 42.
  • the packet capture preprocessing module includes: a routing policy unit 411, a message parsing unit 412, and a request redirection unit 413.
  • the message capture pre-processing module implements control of the incoming code stream by executing configuration commands and setting parameters such as message filtering mode, and the capture instruction includes start and end, and the like.
  • the packet filtering mode includes: packet type, packet eigenvalue, payload of the payload, and configuration of the packet buffer queue.
  • the routing policy unit 411 is configured to process the replication message module to perform routing judgment on the packet on the operating system kernel protocol stack netfilter module.
  • the kernel module works at the chain link of the kernel protocol stack PRE_ROUTING. Then, after the route is judged, the message enters the kernel protocol stack for processing.
  • the message parsing unit 412 that is, the HTTP/P2P GET kernel module, is configured to determine and analyze the link layer packet type and the service packet type, and the packet conforming to the load balancing offload condition (NF_ACCEPT) enters the kernel protocol stack.
  • the load balancing distribution process is processed, and if it does not meet the conditions, it is discarded by the message filtering unit (NF_DROP).
  • the request redirection unit 413 is configured to direct the request of the cache resource to the cache server, parse the valid data packet, and construct a response (eg, http/302) redirect message to the user, thereby implementing the user request. Redirect boot.
  • a response eg, http/302
  • the message capture pre-processing module 41 is responsible for receiving the code stream, and the routing policy unit 411 determines the destination IP address or the destination MAC address of the captured message to determine whether it is the local IP address, and if it is the local machine, the protocol is taken.
  • the stack routing and forwarding process if not the local device, the message parsing unit 412 sets the packet to be parsed, and offsets the payload of the packet by a preset offset, and a preset value. Compare, if the judgment condition is met Upon entering the buffer queue, the message proceeds to the request redirection unit 413 for processing. Implement load balancing control and offload processing for incoming packets. If the judgment condition is not met, the packet is discarded.
  • the request redirection unit constructs a valid data packet, and selects an available cache server according to the available cache server list and corresponding resource information, and redirects the user request to the cache server. It should be noted that the request redirection unit only modifies the HTTP packet. The related resource content in the load is incorporated into the load balancing cache queue. The message is still output to the cache server by the load balancing module.
  • the request load balancing module 42 includes a load balancing decision unit 421, a load balancing distribution unit 422, an equalization policy management unit 423, and a heartbeat keep-alive unit 424.
  • the load balancing decision unit 421 is configured to obtain a load balancing policy configuration and a redirect server address list, and obtain a serviceable redirect server address list from the heartbeat keep-alive unit.
  • the load balancing decision unit also loads the available load of the current redirect server, and is set to increase or decrease the request amount of the current redirect server device.
  • the load balancing distribution unit 422 is configured to distribute the load balancing message.
  • the equalization policy management unit 423 is configured to start and stop the load balancing policy configuration delivery and the heartbeat keep-alive service.
  • the heartbeat keep-alive unit 424 is configured to send and receive TCP_CHECK messages between the load balancing server and the redirect server, to detect service state of the redirect server, configure heartbeat keep-alive parameters, redirect server address maintenance, and Display of service statistics.
  • the embodiment of the present invention further provides a workflow for processing a copy message and a software load balancing device. As shown in FIG. 5, the following processes are included:
  • the user triggers the request to the load balancing server packet capture preprocessing module through the operation of the front end;
  • the request message processing module enters the process of processing the copy message in the load balancing server, and the operating system kernel route pre-processing (PRE_ROUTING) triggers the message parsing module to view the link layer message type of the code stream in the buffer area, and the judgment chain
  • the layer-layer packet type is sent to the local packet (PACKET_HOST). If the packet capture condition is met, the request redirection module is directly sent. Continue processing. If it is another host message (PACKET_OTHERHOST), set the local link layer message type (PACKET_HOST), and send the message to the upper application to continue processing.
  • the load balancing server packet parsing unit determines whether the application layer service packet type is an HTTP/P2P packet. If the condition is met, the process proceeds to the next step.
  • the load balancing server requests the redirecting unit to obtain a list of currently available redirect server addresses
  • the load balancing server requests the redirecting unit to initiate a request redirection call to the redirect server side according to the obtained service address and the service URL;
  • the load balancing server redirects the server's QoS, routing weights, balancing policies, and target address hashes to perform load balancing policy selection, such as whether the redirect server is currently available, whether it times out, etc., and calls load balancing offloading.
  • the interface sends the packet to multiple redirect servers and simultaneously calls the load balancing statistics interface to write to the statistics.
  • the main purpose of the load balancing server to update the statistical service quality is to automatically calculate the available load of the current service, that is, increase or decrease the request amount of the current redirect service device, and timely list from the current redirect server when the unavailable is found. Excluded.
  • the implementation process of the embodiment of the present invention may include processing a copy packet process and a load balancing workflow, which are separately described below.
  • FIG. 6 is a flowchart of preprocessing of packet capture by using a server according to an embodiment of the present invention. As shown in FIG. 6, the method includes the following steps:
  • step S601 the load balancing server load balancing device is connected to the network, where the inbound network port is connected to the DPI code stream or the DNS packet.
  • step S602 the DPI optical splitting device is deployed in the network or the load balancing code stream is introduced through the DNS.
  • Step S603 the load balancing server packet capture pre-processing module determines that the load is average
  • the balance server sends the packet whose destination MAC address or destination IP address is not the local packet to the packet parsing unit for processing.
  • Step S604 The message parsing unit in the message pre-preprocessing module parses the message, and after determining the predetermined value setting after a predetermined number of bytes of offset, the packet discarding process does not satisfy the preset condition. If the protocol type satisfies TCP or UDP and the payload of the message is HTTP, P2P, and LocalDNS, the request is redirected to the unit for processing.
  • Step S605 the request redirection unit in the message capture pre-processing module constructs a valid data packet, selects an available redirect server according to the available redirect server IP address list and corresponding resource information, and redirects the user request to load balancing. On the cache server.
  • the redirection server is deployed separately or in combination with the cache server.
  • a redirection server with different functions can be configured.
  • FIG. 7 is a working flowchart of implementing a request load balancing function according to an embodiment of the present invention. As shown in FIG. 7, the method includes the following steps:
  • step S711 the redirection server is connected to the network, and the device and the load balancing device are in the same subnet to implement network interworking.
  • Step S712 The user sends an HTTP/P2P request message, and the load balancing server receives the DPI split/DNS request message.
  • Step S713 The redirecting server accesses the network port to receive the output packet of the load balancing server, and the redirecting server receives the user service response packet from the network port.
  • Step S714 configuring the load balancing policy, and redirecting the server address list and the heartbeat keep-alive parameter.
  • Step S715 the load balancing server filters the application layer packet, for the packet class.
  • the type is HTTP/P2P, which is sent to the load balancing module, and vice versa.
  • Step S716 The load balancing server forwards the packet to the load balancing module according to the load balancing condition.
  • Step S717 The request load balancing module obtains a load balancing policy, redirects the server address list, the weight, and the redirect server service state to perform load balancing output on the code stream.
  • a function of configuring a load balancing policy and a function of starting and stopping the heartbeat keep-alive service are also provided.
  • Embodiments of the present invention also provide a storage medium.
  • the storage medium may be arranged to store program code for performing the flow steps in the above embodiments:
  • the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

Provided are a packet load balancing method, apparatus and system. The method comprises: a load balancing server receiving a user request packet copied and introduced into a local operator network; and the load balancing server balancing loads of the user request packet to a corresponding redirection server. By means of the present invention, by using a load balancing server to balance loads of a user request packet, copied and introduced into a local operator network, to a redirection server, a user redirection service function is realized, thereby solving the problem in the prior art that dedicated hardware devices are required to realize load balancing and cache control, and saving, for an operator, on the expense for buying load balancing hardware devices.

Description

报文的负载均衡方法、装置及系统Message load balancing method, device and system 技术领域Technical field

本发明涉及负载均衡领域,尤其涉及互联网复制报文的负载均衡方法、装置及系统。The present invention relates to the field of load balancing, and in particular, to a load balancing method, apparatus, and system for Internet replication messages.

背景技术Background technique

随着宽带互联缓存业务的飞速发展,电信运营商的网络建设已经从传统的基础网络建设转变为面向用户需求的方向发展。互联网业务中各种Web应用,视频下载、端到端访问对带宽消耗非常大,终端用户占据了绝大部分资源,需要找到解决网络瓶颈的手段。With the rapid development of the broadband interconnect cache service, the network construction of telecom operators has changed from the traditional basic network construction to the direction of user demand. For various web applications in the Internet business, video downloading and end-to-end access consume a lot of bandwidth. End users occupy most of the resources and need to find a solution to the network bottleneck.

运营商为从互联网应用服务中获取大量增值收益,目前普遍使用互联网缓存(Cache)的策略,在原网络节点部署一定数量带缓存功能的网页缓存(WebCache)设备和对等网络缓存(P2P cache)设备,目前在中国电信和中国移动规范中也要求通过在核心层或者汇聚层部署深度报文检测(Deep Packet Inspection,DPI)分光设备将HTTP和P2P内容热点复制引入本地运营商网络,实现本地缓存就近服务,来提高网络带宽和数据利用率。In order to obtain a large amount of value-added revenue from Internet application services, operators generally use the Internet Cache (Cache) strategy to deploy a certain number of cached WebCache devices and peer-to-peer network cache (P2P cache) devices on the original network node. At present, in China Telecom and China Mobile, it is also required to deploy Deep Packet Inspection (DPI) optical splitting devices at the core layer or the aggregation layer to import HTTP and P2P content hotspots into the local carrier network to achieve local cache proximity. Services to improve network bandwidth and data utilization.

但是,要处理DPI分光或者端口镜像复制过来的报文,并响应用户服务请求,需要部署大量的内容分发网络缓存(CDN cache)系统设备来处理,如何把这些复制过来的报文负载均衡分流到这些CDN cache系统设备上,是迫切需要解决的问题。However, in order to process the DPI split or port mirrored packets, and respond to the user service request, a large number of content distribution network cache (CDN cache) system devices need to be deployed to handle the packet load balancing. These CDN cache system devices are an urgent problem to be solved.

目前比较流行的负载均衡策略是采用硬件负载均衡设备(如F5,RadWare硬件厂商),如图1所示,但该方案缺点是硬件负载均衡设备费用昂贵,通用性和扩展性不好。 The current popular load balancing strategy is to use hardware load balancing devices (such as F5, RadWare hardware vendors), as shown in Figure 1, but the disadvantage of this solution is that the hardware load balancing equipment is expensive, and the versatility and scalability are not good.

发明内容Summary of the invention

本发明实施例提供了一种报文的负载均衡方法、装置及系统,以至少解决相关技术中需要专用硬件设备来实现负载均衡缓存控制的问题。The embodiments of the present invention provide a method, a device, and a system for load balancing a packet, so as to at least solve the problem that a dedicated hardware device is required in the related art to implement load balancing cache control.

根据本发明的一个实施例,提供了一种报文的负载均衡方法,包括:According to an embodiment of the present invention, a load balancing method for a message is provided, including:

负载均衡服务器接收复制引入到本地运营商网络的用户请求报文;所述负载均衡服务器将所述用户请求报文负载均衡至对应的重定向服务器。The load balancing server receives the user request message that is imported into the local carrier network, and the load balancing server loads the user request message to the corresponding redirect server.

在一个实施例中,所述用户请求报文至少通过以下方式之一复制引入:深度报文检测DPI分光接入、本地域名服务器Local DNS接入、策略路由接入、端口镜像接入。In one embodiment, the user request message is copied and introduced at least by one of the following methods: deep packet detection DPI optical access, local domain name server Local DNS access, policy routing access, and port mirroring access.

在一个实施例中,所述用户请求报文的类型为以下至少之一:超文本传输协议HTTP、对等网络P2P、local DNS。In an embodiment, the type of the user request message is at least one of the following: a hypertext transfer protocol HTTP, a peer-to-peer network P2P, a local DNS.

在一个实施例中,所述负载均衡服务器将所述用户请求报文负载均衡至对应的重定向服务器之前,还包括:In an embodiment, before the load balancing server load balances the user request packet to the corresponding redirect server, the method further includes:

对所述用户请求报文进行解析,并根据所述用户请求报文的目的IP地址或MAC地址,以及所述用户请求报文中所设置的标志来确定需要进行重定向服务的用户请求报文。Determining the user request message, and determining a user request message that needs to be redirected according to the destination IP address or MAC address of the user request message and the flag set in the user request message. .

在一个实施例中,根据所述用户请求报文的目的IP地址或MAC地址,以及所述用户请求报文中所设置的标志来确定需要进行重定向服务的用户请求报文,包括:In an embodiment, the user request message that needs to be redirected is determined according to the destination IP address or the MAC address of the user request message and the flag set in the user request message, including:

当所述用户请求报文中的目的IP地址或MAC地址为本机地址时,则将所述用户请求报文按照协议栈路由转发。When the destination IP address or the MAC address of the user request packet is a local address, the user request packet is forwarded according to the protocol stack.

当所述用户请求报文中的目的IP地址或MAC地址不为本机地址时,则将所述用户请求报文中所设置的标志与预设值进行比较,如果相匹配,则确定所述用户请求报文为需要进行重定向服务的用户请求报文,并将其存入重定向缓冲队列;如果不匹配,则将所述用户请求报文丢弃。When the destination IP address or the MAC address in the user request packet is not the local address, the flag set in the user request packet is compared with a preset value, and if they match, the The user request packet is a user request packet that needs to be redirected, and is stored in the redirect buffer queue. If not, the user request packet is discarded.

在一个实施例中,所述负载均衡服务器将所述用户请求报文负载均衡 至对应的重定向服务器,包括:所述负载均衡服务器按照预定的负载均衡策略将需要进行重定向服务的用户请求报文重定向至对应的重定向服务器。In one embodiment, the load balancing server loads and balances the user request message. The corresponding redirecting server includes: the load balancing server redirects the user request packet that needs to be redirected to the corresponding redirecting server according to the predetermined load balancing policy.

在一个实施例中,所述负载均衡服务器为多个,每个负载均衡服务器对应不同类型的用户请求报文。In an embodiment, the load balancing server is multiple, and each load balancing server corresponds to a different type of user request message.

在一个实施例中,所述重定向服务器为多个,所述负载均衡服务器基于以下至少之一选择对应的重定向服务器:重定向服务器的服务质量,路由权重、均衡策略、目标地址散列情况。In one embodiment, the redirect server is multiple, and the load balancing server selects a corresponding redirect server based on at least one of the following: a quality of service of the redirect server, a routing weight, a balancing policy, and a hash of the target address. .

在一个实施例中,所述负载均衡服务器将所述用户请求报文负载均衡至对应的重定向服务器之后,还包括:所述重定向服务器根据所述用户请求报文,确定相应的资源缓存服务器,并向用户发送重定向报文;所述用户根据所述重定向报文,向相应的资源缓存服务器发起用户服务请求。In an embodiment, after the load balancing server load balances the user request packet to the corresponding redirect server, the method further includes: the redirecting server determining, according to the user request packet, a corresponding resource cache server And sending a redirect message to the user; the user initiates a user service request to the corresponding resource cache server according to the redirect message.

根据本发明的另一实施例,还提供了一种负载均衡服务器,包括:According to another embodiment of the present invention, a load balancing server is further provided, including:

报文捕获预处理模块,设置为接收复制引入到本地运营商网络的用户请求报文;a packet capture pre-processing module, configured to receive a user request message that is copied and imported to the local carrier network;

请求负载均衡模块:设置为将所述用户请求报文负载均衡至对应的重定向服务器。The request load balancing module is configured to load balance the user request packet to a corresponding redirect server.

在一个实施例中,所述用户请求报文至少通过以下方式之一复制引入:DPI分光接入、Local DNS接入、策略路由接入、端口镜像接入。In an embodiment, the user request message is at least introduced by using one of the following methods: DPI optical access, Local DNS access, policy routing access, and port mirroring access.

在一个实施例中,所述用户请求报文的类型为以下至少之一:HTTP、P2P、local DNS。In an embodiment, the type of the user request message is at least one of the following: HTTP, P2P, local DNS.

在一个实施例中,所述报文捕获预处理模块包括:路由策略单元,设置为根据所述用户请求报文的目的IP地址/MAC地址确定需要进行重定向服务的用户请求报文;报文解析单元,设置为解析需要进行重定向服务的用户请求报文,根据预设的过滤规则进一步确定需要进行负载均衡的用户请求报文;请求重定向单元,设置为将满足重定向和负责均衡的所述用户请求报文发送至所述请求负载均衡模块。 In an embodiment, the packet capture pre-processing module includes: a routing policy unit, configured to determine, according to the destination IP address/MAC address of the user request packet, a user request packet that needs to be redirected; The parsing unit is configured to parse the user request packet that needs to be redirected, and further determines the user request packet that needs to be load balanced according to the preset filtering rule; and the request redirection unit is configured to satisfy the redirection and responsible for balancing. The user request message is sent to the request load balancing module.

在一个实施例中,所述请求负载均衡模块包括:负载均衡决策单元,设置为按照配置的负载均衡策略将需要进行重定向服务的用户请求报文重定向至对应的重定向服务器;所述负载均衡分发单元,设置为用户请求报文的分发。In one embodiment, the request load balancing module includes: a load balancing decision unit, configured to redirect a user request message that needs to be redirected to a corresponding redirect server according to the configured load balancing policy; The equalization distribution unit is set to distribute the user request message.

在一个实施例中,所述请求负载均衡模块包括:心跳保活单元,设置为所述负载均衡服务器与所述重定向服务器之间TCP_CHECK报文的发送和接收,以及所述重定向服务器可服务状态的检测,心跳保活参数配置,重定向服务器地址维护,以及可服务统计数据的显示;均衡策略管理单元,设置为所述负载均衡策略的配置和下发,以及心跳保活服务的启动和停止。In one embodiment, the request load balancing module includes: a heartbeat keep-alive unit, configured to send and receive a TCP_CHECK message between the load balancing server and the redirect server, and the redirect server is serviceable Stateful detection, heartbeat keepalive parameter configuration, redirect server address maintenance, and display of serviceable statistics; balance policy management unit, configured to configure and deliver the load balancing policy, and start and stop the heartbeat keep-alive service stop.

在一个实施例中,负载均衡决策单元,还设置为获取负载均衡策略配置和重定向服务器地址清单,以及从所述心跳保活单元那里获取可服务的重定向服务器地址清单,统计当前重定向服务器的可用负载,以提高或降低当前重定向服务器的请求量。In one embodiment, the load balancing decision unit is further configured to obtain a load balancing policy configuration and a redirect server address list, and obtain a list of serviceable redirect server addresses from the heartbeat keep-alive unit, and count the current redirect server. The available load to increase or decrease the amount of requests from the current redirect server.

根据本发明的又一实施例,还提供了一种负载均衡系统,包括前文中所述的负载均衡服务器,以及重定向服务器和资源缓存服务器,其中,According to still another embodiment of the present invention, there is also provided a load balancing system, comprising the load balancing server described in the foregoing, and a redirect server and a resource cache server, wherein

所述重定向服务器,设置为根据来自所述负载均衡服务器的所述用户请求报文,确定相应的资源缓存服务器,并向用户发送重定向报文;The redirecting server is configured to determine a corresponding resource cache server according to the user request packet from the load balancing server, and send a redirect message to the user;

所述资源缓存服务器,设置为接收来自用户的服务请求,并向用户提供对应的请求资源。The resource cache server is configured to receive a service request from a user and provide a corresponding request resource to the user.

在一个实施例中,所述负载均衡服务器为多个,每个负载均衡服务器对应不同类型的用户请求报文。In an embodiment, the load balancing server is multiple, and each load balancing server corresponds to a different type of user request message.

在一个实施例中,所述重定向服务器为多个,所述负载均衡服务器基于以下至少之一选择对应的重定向服务器:重定向服务器的服务质量,路由权重、均衡策略、目标地址散列情况。In one embodiment, the redirect server is multiple, and the load balancing server selects a corresponding redirect server based on at least one of the following: a quality of service of the redirect server, a routing weight, a balancing policy, and a hash of the target address. .

在一个实施例中,所述负载均衡服务器与所述重定向服务器位于同一子网中。In one embodiment, the load balancing server is in the same subnet as the redirect server.

在一个实施例中,所述重定向服务器和所述资源缓存服务器分别单独 部署或者合设。In one embodiment, the redirect server and the resource cache server are separate Deploy or set up.

在本发明实施例中,通过部署负载均衡服务器将复制引入到本地运营商网络的用户请求报文负载均衡到重定向服务器上,实现用户重定向服务功能,同时,为运营商节省购买硬件负载均衡设备的费用。In the embodiment of the present invention, the load balancing server is used to load the user request packet of the local carrier network to the redirect server, and the user redirection service function is implemented. The cost of the equipment.

附图说明DRAWINGS

此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:

图1是根据相关技术的硬件负载均衡框架示意图;1 is a schematic diagram of a hardware load balancing framework according to the related art;

图2是根据本发明实施例的负载均衡服务器处理复制报文及负载均衡框架示意图;2 is a schematic diagram of a load balancing server processing a copy message and a load balancing framework according to an embodiment of the present invention;

图3是根据本发明实施例的负载均衡服务器负载均衡设备接入方式示意图;3 is a schematic diagram of a load balancing server load balancing device access mode according to an embodiment of the present invention;

图4是根据本发明实施例的负载均衡服务器负载均衡装置组成示意图;4 is a schematic diagram showing the composition of a load balancing server load balancing device according to an embodiment of the present invention;

图5是根据本发明实施例的负载均衡服务器负载均衡装置的工作流程图;FIG. 5 is a flowchart showing the operation of a load balancing server load balancing device according to an embodiment of the present invention; FIG.

图6是本发明实施例中利用服务器进行报文捕获预处理流程图;6 is a flowchart of preprocessing of packet capture by using a server according to an embodiment of the present invention;

图7是本发明实施例中实现请求负载均衡功能的工作流程图。FIG. 7 is a flow chart showing the operation of implementing a request load balancing function in an embodiment of the present invention.

具体实施方式detailed description

下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.

图2是根据本发明实施例的负载均衡服务器处理复制报文及负载均衡框架示意图。在本实施例中,报文捕获预处理和负载均衡由负载均衡服务器实现,该负载均衡服务器可以是一种通用服务器,例如,可以为任意常规PC通用服务器设备,通常部署在运营商机房的数据网络中,配置万兆 光纤网卡设备,能够具有报文输入输出功能。2 is a schematic diagram of a load balancing server processing a copy message and a load balancing framework according to an embodiment of the present invention. In this embodiment, the packet capture pre-processing and load balancing are implemented by a load balancing server, which may be a general-purpose server, for example, may be any conventional PC general-purpose server device, and data that is usually deployed in the operator's computer room. In the network, configure 10Gigabit The fiber-optic network card device can have a message input and output function.

在本实施例中,对于负载均衡服务器设备的配置没有特殊要求,对于业务带宽比较大的节点,可以选择配置性能好的网卡设备,对于业务量较小的节点,可以选配性能适中的网卡设备。In this embodiment, there is no special requirement for the configuration of the load balancing server device. For a node with a relatively large service bandwidth, a network card device with good performance can be selected. For a node with a small amount of traffic, a network card device with moderate performance can be selected. .

根据现网组网实际情况,负载均衡服务器通过输入码流的网口来接收报文,该网卡不需要配置IP地址,负载均衡服务器请求负载均衡输出码流的网口可以配置本地局域网段IP地址,但要求跟缓存服务器配置在同一子网段内。同时,在负载均衡服务器上配置一组负载均衡IP地址白名单,用于负载均衡报文输出。相应地,在缓存服务器上配置相同网段的IP地址,用于接口负载均衡报文。According to the actual situation of the current network, the load balancing server receives the packet through the network port of the input stream. The network card does not need to be configured with an IP address. The network interface of the load balancing server that requests the load balancing output stream can configure the local LAN segment IP address. , but requires that the cache server be configured in the same subnet segment. At the same time, a set of load balancing IP address whitelists is configured on the load balancing server for load balancing packet output. Correspondingly, the IP address of the same network segment is configured on the cache server for interface load balancing packets.

在一个实施例中,如图2所示,负载均衡服务器接收DPI分光过来的码流,通过处理复制报文机制中的路由策略模块、报文解析模块来过滤和分析码流。In one embodiment, as shown in FIG. 2, the load balancing server receives the code stream that is split by the DPI, and filters and analyzes the code stream by processing the routing policy module and the message parsing module in the replication message mechanism.

由于在一些使用场景中根据入向码流的带宽不同,可能有多个负载均衡装置,相应地,每个负载均衡装置都设置不同的负载均衡分发单元。Since there are different load balancing devices depending on the bandwidth of the incoming code stream in some usage scenarios, correspondingly, each load balancing device is provided with a different load balancing distribution unit.

同时,在实际应用中,重定向服务器有不同功能的角色分工,要求每个负载均衡服务器所需要捕获的报文类型可能不同,如有的负责HTTP报文处理及负载均衡,有的负责P2P报文捕获及负载均衡,因此对于不同的负载均衡需求,可以配置不同的报文过滤规则及负载均衡策略。相应地,每个负载均衡服务器配置的报文过滤规则及负载均衡策略也可以不一样。At the same time, in the actual application, the redirect server has different roles and roles. The type of packets that need to be captured by each load balancing server may be different. For example, some are responsible for HTTP packet processing and load balancing, and some are responsible for P2P reporting. Context capture and load balancing. Therefore, different packet filtering rules and load balancing policies can be configured for different load balancing requirements. Correspondingly, the packet filtering rules and load balancing policies configured by each load balancing server may also be different.

所述负载均衡装置根据预设策略,确定接收到满足需求的报文后,转发所述报文给重定向服务器。The load balancing device determines, after receiving the packet that meets the requirement, and forwards the packet to the redirecting server according to the preset policy.

同样地,由于每个重定向服务器处理带宽能力的限制,本系统也需要部署多个重定向服务器来均衡接收负载均衡服务器输出的报文,并对报文做进一步的解析处理。Similarly, due to the limitation of the bandwidth capability of each redirecting server, the system also needs to deploy multiple redirecting servers to balance the packets received by the load balancing server and further parse the packets.

在本发明的实施例中,如图3所示,该负载均衡服务器接收网络中发来的DPI分光码流,或者通过LocalDNS引入的域名请求报文。其中,报 文类型一般都是基于TCP或者UDP格式的报文,例如HTTP协议报文,P2P报文和DNS请求报文。In the embodiment of the present invention, as shown in FIG. 3, the load balancing server receives the DPI optical splitting code stream sent by the network or the domain name request message introduced by the LocalDNS. Among them, the newspaper The text type is generally based on TCP or UDP format, such as HTTP protocol packets, P2P packets, and DNS request packets.

本发明实施例还提供了一种负载均衡服务器处理复制报文及负载均衡装置,如图4所示。所述装置包括:报文捕获预处理模块41和请求负载均衡模块42。The embodiment of the invention further provides a load balancing server for processing a copy message and a load balancing device, as shown in FIG. 4 . The apparatus includes a message capture pre-processing module 41 and a request load balancing module 42.

所述报文捕获预处理模块包括:路由策略单元411、报文解析单元412和请求重定向单元413。报文捕获预处理模块通过执行配置指令和设置报文过滤模式等参数,实现对入向码流的控制,捕获指令包括开始、结束等。报文过滤模式包括:报文类型,报文特征值,报文负载(payload)偏移量和报文缓冲队列的配置。The packet capture preprocessing module includes: a routing policy unit 411, a message parsing unit 412, and a request redirection unit 413. The message capture pre-processing module implements control of the incoming code stream by executing configuration commands and setting parameters such as message filtering mode, and the capture instruction includes start and end, and the like. The packet filtering mode includes: packet type, packet eigenvalue, payload of the payload, and configuration of the packet buffer queue.

所述路由策略单元411,设置为处理复制报文模块在操作系统内核协议栈netfilter模块上对报文进行路由判断。该内核模块工作在内核协议栈PRE_ROUTING入口chain链处。然后经过路由判断后,报文进入到内核协议栈处理。The routing policy unit 411 is configured to process the replication message module to perform routing judgment on the packet on the operating system kernel protocol stack netfilter module. The kernel module works at the chain link of the kernel protocol stack PRE_ROUTING. Then, after the route is judged, the message enters the kernel protocol stack for processing.

所述报文解析单元412,即HTTP/P2P GET内核模块,设置为对链路层报文类型和服务报文类型进行判断和分析,符合负载均衡分流条件(NF_ACCEPT)的报文进入内核协议栈的负载均衡分发流程处理,不符合条件则被报文过滤单元丢弃(NF_DROP)。The message parsing unit 412, that is, the HTTP/P2P GET kernel module, is configured to determine and analyze the link layer packet type and the service packet type, and the packet conforming to the load balancing offload condition (NF_ACCEPT) enters the kernel protocol stack. The load balancing distribution process is processed, and if it does not meet the conditions, it is discarded by the message filtering unit (NF_DROP).

所述请求重定向单元413,设置为将缓存资源的请求引导到缓存服务器,解析有效数据报文,并构造响应的(如http/302)重定向报文发送给用户,以此实现用户请求的重定向引导。The request redirection unit 413 is configured to direct the request of the cache resource to the cache server, parse the valid data packet, and construct a response (eg, http/302) redirect message to the user, thereby implementing the user request. Redirect boot.

在一个实施例中,报文捕获预处理模块41负责接收码流,路由策略单元411确定捕获报文的目的IP地址或者目的MAC地址来判断是否为本机IP地址,如是本机,则走协议栈路由转发流程,如不是本机,则报文解析单元412将这类捕获的报文设置报文解析标签,并对报文负载(payload)按预设偏移量偏移,和预设值进行比较,如果满足判断条件则 入缓冲队列,报文进入到请求重定向单元413来处理。实现对入向报文的负载均衡控制和分流处理。如果不满足判断条件则将报文丢弃处理。请求重定向单元构造有效数据包,根据可用的缓存服务器名单及相应资源信息,选择可用的缓存服务器,将用户请求重定向到缓存服务器上,需要说明的是,请求重定向单元只修改HTTP报文中的相关资源内容,并入负载均衡缓存队列。报文仍然由负载均衡模块输出到缓存服务器。In an embodiment, the message capture pre-processing module 41 is responsible for receiving the code stream, and the routing policy unit 411 determines the destination IP address or the destination MAC address of the captured message to determine whether it is the local IP address, and if it is the local machine, the protocol is taken. The stack routing and forwarding process, if not the local device, the message parsing unit 412 sets the packet to be parsed, and offsets the payload of the packet by a preset offset, and a preset value. Compare, if the judgment condition is met Upon entering the buffer queue, the message proceeds to the request redirection unit 413 for processing. Implement load balancing control and offload processing for incoming packets. If the judgment condition is not met, the packet is discarded. The request redirection unit constructs a valid data packet, and selects an available cache server according to the available cache server list and corresponding resource information, and redirects the user request to the cache server. It should be noted that the request redirection unit only modifies the HTTP packet. The related resource content in the load is incorporated into the load balancing cache queue. The message is still output to the cache server by the load balancing module.

所述请求负载均衡模块42包括:负载均衡决策单元421,负载均衡分发单元422,均衡策略管理单元423和心跳保活单元424。The request load balancing module 42 includes a load balancing decision unit 421, a load balancing distribution unit 422, an equalization policy management unit 423, and a heartbeat keep-alive unit 424.

所述负载均衡决策单元421,设置为获取负载均衡策略配置和重定向服务器地址清单,以及从心跳保活单元那里获取可服务的重定向服务器地址清单。负载均衡决策单元还负载统计当前重定向服务器的可用负载,设置为提高还是降低当前重定向服务器设备的请求量。The load balancing decision unit 421 is configured to obtain a load balancing policy configuration and a redirect server address list, and obtain a serviceable redirect server address list from the heartbeat keep-alive unit. The load balancing decision unit also loads the available load of the current redirect server, and is set to increase or decrease the request amount of the current redirect server device.

所述负载均衡分发单元422,设置为负载均衡报文的分发。The load balancing distribution unit 422 is configured to distribute the load balancing message.

所述均衡策略管理单元423,设置为负载均衡策略配置下发和心跳保活服务的启动和停止。The equalization policy management unit 423 is configured to start and stop the load balancing policy configuration delivery and the heartbeat keep-alive service.

所述心跳保活单元424,设置为负载均衡服务器和重定向服务器之间TCP_CHECK报文的发送和接收,重定向服务器可服务状态的检测,心跳保活参数配置,重定向服务器地址维护,以及可服务统计数据的显示。The heartbeat keep-alive unit 424 is configured to send and receive TCP_CHECK messages between the load balancing server and the redirect server, to detect service state of the redirect server, configure heartbeat keep-alive parameters, redirect server address maintenance, and Display of service statistics.

本发明实施例还提供了一种处理复制报文及软件负载均衡装置的工作流程,如图5所示,包括如下流程:The embodiment of the present invention further provides a workflow for processing a copy message and a software load balancing device. As shown in FIG. 5, the following processes are included:

首先,用户通过前端的操作,触发请求到负载均衡服务器报文捕获预处理模块;First, the user triggers the request to the load balancing server packet capture preprocessing module through the operation of the front end;

其次,请求报文处理模块在负载均衡服务器内部进入处理复制报文流程,由操作系统内核路由预处理(PRE_ROUTING)触发报文解析模块查看缓存区中码流的链路层报文类型,判断链路层报文类型为发往本机报文(PACKET_HOST),如果满足报文捕获条件,则直接送请求重定向模块 继续处理,如果为其他主机报文(PACKET_OTHERHOST),则设置为本机链路层报文类型(PACKET_HOST),送报文给上层应用程序继续处理。Secondly, the request message processing module enters the process of processing the copy message in the load balancing server, and the operating system kernel route pre-processing (PRE_ROUTING) triggers the message parsing module to view the link layer message type of the code stream in the buffer area, and the judgment chain The layer-layer packet type is sent to the local packet (PACKET_HOST). If the packet capture condition is met, the request redirection module is directly sent. Continue processing. If it is another host message (PACKET_OTHERHOST), set the local link layer message type (PACKET_HOST), and send the message to the upper application to continue processing.

进一步地,负载均衡服务器报文解析单元判断应用层服务报文类型是否为HTTP/P2P报文,如满足条件,则进入下一步流程处理。Further, the load balancing server packet parsing unit determines whether the application layer service packet type is an HTTP/P2P packet. If the condition is met, the process proceeds to the next step.

进一步地,负载均衡服务器请求重定向单元获取当前可用的重定向服务器地址清单;Further, the load balancing server requests the redirecting unit to obtain a list of currently available redirect server addresses;

进一步地,负载均衡服务器请求重定向单元根据获取到的服务地址和服务URL,向重定向服务器方发起请求重定向调用;Further, the load balancing server requests the redirecting unit to initiate a request redirection call to the redirect server side according to the obtained service address and the service URL;

进一步地,负载均衡服务器将重定向服务器方的服务质量,路由权重、均衡策略以及目标地址散列情况,进行负载均衡策略选择,例如重定向服务器当前是否可用,是否超时等类型,调用负载均衡分流接口,将报文发送到多个重定向服务器,同时调用负载均衡统计接口写入到统计数据中;Further, the load balancing server redirects the server's QoS, routing weights, balancing policies, and target address hashes to perform load balancing policy selection, such as whether the redirect server is currently available, whether it times out, etc., and calls load balancing offloading. The interface sends the packet to multiple redirect servers and simultaneously calls the load balancing statistics interface to write to the statistics.

进一步地,返回负载均衡业务请求处理结果;Further, returning the load balancing service request processing result;

在该实施方式中,所述负载均衡服务器更新统计服务质量的主要目的在于自动计算当前服务的可用负载,即提高还是降低当前重定向服务设备的请求量,发现不可用时及时从当前重定向服务器列表中剔除。In this implementation manner, the main purpose of the load balancing server to update the statistical service quality is to automatically calculate the available load of the current service, that is, increase or decrease the request amount of the current redirect service device, and timely list from the current redirect server when the unavailable is found. Excluded.

在实际应用中,本发明实施例的实现过程可以包括处理复制报文流程和负载均衡工作流程两个方面,以下分别进行描述。In an actual application, the implementation process of the embodiment of the present invention may include processing a copy packet process and a load balancing workflow, which are separately described below.

图6是本发明实施例中利用服务器进行报文捕获预处理流程图,如图6所示,包括以下步骤:FIG. 6 is a flowchart of preprocessing of packet capture by using a server according to an embodiment of the present invention. As shown in FIG. 6, the method includes the following steps:

步骤S601,将所述负载均衡服务器负载均衡装置接入网络中,其中入向网口接DPI码流,或者DNS报文。In step S601, the load balancing server load balancing device is connected to the network, where the inbound network port is connected to the DPI code stream or the DNS packet.

步骤S602,将所述DPI分光设备部署到网络中或者通过DNS方式引入负载均衡码流。In step S602, the DPI optical splitting device is deployed in the network or the load balancing code stream is introduced through the DNS.

步骤S603,负载均衡服务器报文捕获预预处理模块判断所述负载均 衡服务器将链路层报文目的MAC地址或者目的IP地址不是本机的报文则送报文解析单元处理。Step S603, the load balancing server packet capture pre-processing module determines that the load is average The balance server sends the packet whose destination MAC address or destination IP address is not the local packet to the packet parsing unit for processing.

步骤S604,报文捕获预预处理模块中的报文解析单元对报文进行解析,经过预定数量字节偏移量后判断满足预定值设置,不满足预置条件的报文丢弃处理。如协议类型满足TCP或者UDP且报文负载(payload)为HTTP、P2P和LocalDNS报文则送请求重定向单元处理。Step S604: The message parsing unit in the message pre-preprocessing module parses the message, and after determining the predetermined value setting after a predetermined number of bytes of offset, the packet discarding process does not satisfy the preset condition. If the protocol type satisfies TCP or UDP and the payload of the message is HTTP, P2P, and LocalDNS, the request is redirected to the unit for processing.

步骤S605,报文捕获预预处理模块中的请求重定向单元构造有效数据包,根据可用的重定向服务器IP地址名单及相应资源信息,选择可用的重定向服务器,将用户请求重定向负载均衡到缓存服务器上。Step S605, the request redirection unit in the message capture pre-processing module constructs a valid data packet, selects an available redirect server according to the available redirect server IP address list and corresponding resource information, and redirects the user request to load balancing. On the cache server.

该实施例中,为了处理复制报文功能,还提供了启动和卸载HTTP/P2P内核模块的功能,以及启动和停止报文抓取的功能命令。可以通过Linux系统提供的shell脚本完成。In this embodiment, in order to process the copy message function, functions of starting and uninstalling the HTTP/P2P kernel module, and function commands for starting and stopping the message fetching are also provided. This can be done with a shell script provided by the Linux system.

该本实施例中,重定向服务器单独部署,也可以和缓存服务器合设,根据报文类型及功能角色不同,可以配置不同功能的重定向服务器。In this embodiment, the redirection server is deployed separately or in combination with the cache server. Depending on the packet type and function role, a redirection server with different functions can be configured.

图7是本发明实施例中实现请求负载均衡功能的工作流程图,如图7所示,包括以下步骤:FIG. 7 is a working flowchart of implementing a request load balancing function according to an embodiment of the present invention. As shown in FIG. 7, the method includes the following steps:

步骤S711,将所述重定向服务器接入网络中,确保该设备和负载均衡设备在同一个子网中,实现网络互通。In step S711, the redirection server is connected to the network, and the device and the load balancing device are in the same subnet to implement network interworking.

步骤S712,用户发出HTTP/P2P请求报文,所述负载均衡服务器接收DPI分光/DNS请求报文。Step S712: The user sends an HTTP/P2P request message, and the load balancing server receives the DPI split/DNS request message.

步骤S713,所述重定向服务器接入网口接收负载均衡服务器的输出报文,重定向服务器接出网口返回用户服务响应报文。Step S713: The redirecting server accesses the network port to receive the output packet of the load balancing server, and the redirecting server receives the user service response packet from the network port.

步骤S714,配置所述负载均衡策略,及重定向服务器地址清单和心跳保活参数。Step S714, configuring the load balancing policy, and redirecting the server address list and the heartbeat keep-alive parameter.

步骤S715,所述负载均衡服务器对于应用层报文过滤,对于报文类 型是HTTP/P2P,送负载均衡模块处理,反之则丢弃处理。Step S715, the load balancing server filters the application layer packet, for the packet class. The type is HTTP/P2P, which is sent to the load balancing module, and vice versa.

步骤S716,所述负载均衡服务器对符合负载均衡条件的报文送请求负载均衡模块转发。Step S716: The load balancing server forwards the packet to the load balancing module according to the load balancing condition.

步骤S717,所述请求负载均衡模块获取负载均衡策略,重定向服务器地址清单、权重及重定向服务器可服务状态对码流进行负载均衡输出。Step S717: The request load balancing module obtains a load balancing policy, redirects the server address list, the weight, and the redirect server service state to perform load balancing output on the code stream.

在本实施例中,为了管理请求负载均衡功能,还提供了配置负载均衡策略的功能,以及启动和停止心跳保活服务的功能。In this embodiment, in order to manage the request load balancing function, a function of configuring a load balancing policy and a function of starting and stopping the heartbeat keep-alive service are also provided.

本发明的实施例还提供了一种存储介质。该存储介质可以被设置为存储用于执行上述实施例中的流程步骤的程序代码:Embodiments of the present invention also provide a storage medium. The storage medium may be arranged to store program code for performing the flow steps in the above embodiments:

可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。Optionally, in this embodiment, the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory. A variety of media that can store program code, such as a disc or a disc. For specific examples in this embodiment, reference may be made to the examples described in the foregoing embodiments and the optional embodiments, and details are not described herein again.

显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the various modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.

以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc., are intended to be included within the scope of the present invention.

Claims (23)

一种报文的负载均衡方法,包括:A load balancing method for a message, including: 负载均衡服务器接收复制引入到本地运营商网络的用户请求报文;The load balancing server receives the user request message that is copied and imported into the local carrier network. 所述负载均衡服务器将所述用户请求报文负载均衡至对应的重定向服务器。The load balancing server load balances the user request packet to a corresponding redirect server. 根据权利要求1所述的方法,其中,所述用户请求报文至少通过以下方式之一复制引入:The method of claim 1, wherein the user request message is introduced at least by one of the following ways: 深度报文检测DPI分光接入、本地域名服务器Local DNS接入、策略路由接入、端口镜像接入。Deep packet inspection, DPI optical access, local DNS server local DNS access, policy routing access, and port mirroring access. 根据权利要求1所述的方法,其中,所述用户请求报文的类型为以下至少之一:超文本传输协议HTTP、对等网络P2P、local DNS。The method according to claim 1, wherein the type of the user request message is at least one of the following: a hypertext transfer protocol HTTP, a peer-to-peer network P2P, a local DNS. 根据权利要求1所述的方法,其中,所述负载均衡服务器将所述用户请求报文负载均衡至对应的重定向服务器之前,还包括:The method of claim 1, wherein the load balancing server before the load balancing the user request message to the corresponding redirecting server further comprises: 对所述用户请求报文进行解析,并根据所述用户请求报文的目的IP地址或MAC地址,以及所述用户请求报文中所设置的标志来确定需要进行重定向服务的用户请求报文。Determining the user request message, and determining a user request message that needs to be redirected according to the destination IP address or MAC address of the user request message and the flag set in the user request message. . 根据权利要求4所述的方法,其中,根据所述用户请求报文的目的IP地址或MAC地址,以及所述用户请求报文中所设置的标志来确定需要进行重定向服务的用户请求报文,包括:The method according to claim 4, wherein the user request message of the redirect service is determined according to the destination IP address or MAC address of the user request message and the flag set in the user request message. ,include: 当所述用户请求报文中的目的IP地址或MAC地址为本机地址时,则将所述用户请求报文按照协议栈路由转发。When the destination IP address or the MAC address of the user request packet is a local address, the user request packet is forwarded according to the protocol stack. 根据权利要求5所述的方法,还包括:The method of claim 5 further comprising: 当所述用户请求报文中的目的IP地址或MAC地址不为本机地址时,则将所述用户请求报文中所设置的标志与预设值进行比较,如果 相匹配,则确定所述用户请求报文为需要进行重定向服务的用户请求报文,并将其存入重定向缓冲队列;如果不匹配,则将所述用户请求报文丢弃。When the destination IP address or the MAC address in the user request packet is not the local address, the flag set in the user request packet is compared with a preset value, if If the matching is performed, the user request packet is a user request packet that needs to be redirected, and is stored in the redirect buffer queue. If not, the user request packet is discarded. 根据权利要求1所述的方法,其中,所述负载均衡服务器将所述用户请求报文负载均衡至对应的重定向服务器,包括:The method of claim 1, wherein the load balancing server load balances the user request message to a corresponding redirect server, including: 所述负载均衡服务器按照预定的负载均衡策略将需要进行重定向服务的用户请求报文重定向至对应的重定向服务器。The load balancing server redirects the user request packet that needs to be redirected to the corresponding redirect server according to the predetermined load balancing policy. 根据权利要求1所述的方法,其中,所述负载均衡服务器为多个,每个负载均衡服务器对应不同类型的用户请求报文。The method of claim 1, wherein the load balancing server is a plurality, and each load balancing server corresponds to a different type of user request message. 根据权利要求1所述的方法,其中,所述重定向服务器为多个,所述负载均衡服务器基于以下至少之一选择对应的重定向服务器:重定向服务器的服务质量,路由权重、均衡策略、目标地址散列情况。The method according to claim 1, wherein the number of redirect servers is multiple, and the load balancing server selects a corresponding redirect server based on at least one of: a quality of service of the redirect server, a routing weight, an equalization policy, The target address is hashed. 根据权利要求1所述的方法,其中,所述负载均衡服务器将所述用户请求报文负载均衡至对应的重定向服务器之后,还包括:The method of claim 1, wherein the load balancing server after load balancing the user request message to the corresponding redirect server further comprises: 所述重定向服务器根据所述用户请求报文,确定相应的资源缓存服务器,并向用户发送重定向报文;Determining, by the redirecting server, the corresponding resource cache server according to the user request packet, and sending a redirect message to the user; 用户根据所述重定向报文,向相应的资源缓存服务器发起用户服务请求。The user initiates a user service request to the corresponding resource cache server according to the redirect message. 一种负载均衡服务器,包括:A load balancing server that includes: 报文捕获预处理模块,设置为接收复制引入到本地运营商网络的用户请求报文;a packet capture pre-processing module, configured to receive a user request message that is copied and imported to the local carrier network; 请求负载均衡模块:设置为将所述用户请求报文负载均衡至对应的重定向服务器。 The request load balancing module is configured to load balance the user request packet to a corresponding redirect server. 根据权利要求11所述的负载均衡服务器,其中,所述用户请求报文至少通过以下方式之一复制引入:The load balancing server according to claim 11, wherein the user request message is introduced at least by one of the following ways: 深度报文检测DPI分光接入、本地域名服务器Local DNS接入、策略路由接入、端口镜像接入。Deep packet inspection, DPI optical access, local DNS server local DNS access, policy routing access, and port mirroring access. 根据权利要求11所述的负载均衡服务器,其中,所述用户请求报文的类型为以下至少之一:超文本传输协议HTTP、对等网络P2P、local DNS。The load balancing server according to claim 11, wherein the type of the user request message is at least one of the following: a hypertext transfer protocol HTTP, a peer-to-peer network P2P, and a local DNS. 根据权利要求11所述的负载均衡服务器,其中,所述报文捕获预处理模块包括:The load balancing server according to claim 11, wherein the message capture preprocessing module comprises: 路由策略单元,设置为根据所述用户请求报文的目的IP地址或MAC地址确定需要进行重定向服务的用户请求报文;a routing policy unit, configured to determine, according to the destination IP address or the MAC address of the user request packet, a user request packet that needs to be redirected; 报文解析单元,设置为解析需要进行重定向服务的用户请求报文,根据预设的过滤规则进一步确定需要进行负载均衡的用户请求报文;The packet parsing unit is configured to parse the user request packet that needs to be redirected, and further determine the user request packet that needs to be load balanced according to the preset filtering rule. 请求重定向单元,设置为将满足重定向和负责均衡的所述用户请求报文发送至所述请求负载均衡模块。The request redirection unit is configured to send the user request message that satisfies the redirection and responsible for the equalization to the request load balancing module. 根据权利要求11所述的负载均衡服务器,其中,所述请求负载均衡模块包括:The load balancing server according to claim 11, wherein the request load balancing module comprises: 负载均衡决策单元,设置为按照配置的负载均衡策略将需要进行重定向服务的用户请求报文重定向至对应的重定向服务器;The load balancing decision unit is configured to redirect the user request packet that needs to be redirected to the corresponding redirect server according to the configured load balancing policy; 负载均衡分发单元,设置为用户请求报文的分发。The load balancing distribution unit is set to distribute the user request message. 根据权利要求15所述的负载均衡服务器,其中,所述请求负载均衡模块包括: The load balancing server of claim 15, wherein the request load balancing module comprises: 心跳保活单元,设置为所述负载均衡服务器与所述重定向服务器之间TCP_CHECK报文的发送和接收,以及所述重定向服务器可服务状态的检测,心跳保活参数配置,重定向服务器地址维护,以及可服务统计数据的显示;a heartbeat keep-alive unit, configured to send and receive a TCP_CHECK message between the load balancing server and the redirect server, and detect the serviceable state of the redirect server, configure a heartbeat keep-alive parameter, and redirect the server address Maintenance, and display of serviceable statistics; 均衡策略管理单元,设置为所述负载均衡策略的配置和下发,以及心跳保活服务的启动和停止。The balance policy management unit is configured to configure and deliver the load balancing policy, and start and stop the heartbeat keep-alive service. 根据权利要求16所述的负载均衡服务器,其中,The load balancing server according to claim 16, wherein 负载均衡决策单元,还设置为获取负载均衡策略配置和重定向服务器地址清单,以及从所述心跳保活单元那里获取可服务的重定向服务器地址清单,统计当前重定向服务器的可用负载,以提高或降低当前重定向服务器的请求量。The load balancing decision unit is further configured to obtain a load balancing policy configuration and a redirect server address list, and obtain a list of serviceable redirect server addresses from the heartbeat keep-alive unit, and count the available load of the current redirect server to improve Or reduce the amount of requests from the current redirect server. 一种负载均衡系统,包括权利要求11-17任一项所述的负载均衡服务器,以及重定向服务器和资源缓存服务器,其中,A load balancing system, comprising the load balancing server according to any one of claims 11-17, and a redirect server and a resource cache server, wherein 所述重定向服务器,设置为根据来自所述负载均衡服务器的所述用户请求报文,确定相应的资源缓存服务器,并向用户发送重定向报文;The redirecting server is configured to determine a corresponding resource cache server according to the user request packet from the load balancing server, and send a redirect message to the user; 所述资源缓存服务器,设置为接收来自用户的服务请求,并向用户提供对应的请求资源。The resource cache server is configured to receive a service request from a user and provide a corresponding request resource to the user. 根据权利要求18所述的负载均衡系统,其中,所述负载均衡服务器为多个,每个负载均衡服务器对应不同类型的用户请求报文。The load balancing system of claim 18, wherein the load balancing server is a plurality, and each load balancing server corresponds to a different type of user request message. 根据权利要求18所述的负载均衡系统,其中,所述重定向服务器为多个,所述负载均衡服务器基于以下至少之一选择对应的重定向服务器:重定向服务器的服务质量,路由权重、均衡策略、目标地址散列情况。 The load balancing system according to claim 18, wherein the number of redirection servers is plural, and the load balancing server selects a corresponding redirection server based on at least one of: redirection server quality of service, routing weight, and equalization Policy, target address hashing. 根据权利要求18所述的负载均衡系统,其中,所述负载均衡服务器与所述重定向服务器位于同一子网中。The load balancing system of claim 18, wherein the load balancing server is in the same subnet as the redirecting server. 根据权利要求18所述的负载均衡系统,其中,所述重定向服务器和所述资源缓存服务器分别单独部署或者合设。The load balancing system according to claim 18, wherein the redirect server and the resource cache server are separately deployed or combined. 一种计算机可读存储介质,存储有计算机程序,当所述计算机程序被运行时,执行权利要求1至10中任一项所述的方法。 A computer readable storage medium storing a computer program that, when executed, performs the method of any one of claims 1 to 10.
PCT/CN2017/113481 2016-11-29 2017-11-29 Packet load balancing method, apparatus and system Ceased WO2018099384A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201611088354.1 2016-11-29
CN201611088354.1A CN108123888A (en) 2016-11-29 2016-11-29 Load-balancing method, the apparatus and system of message

Publications (1)

Publication Number Publication Date
WO2018099384A1 true WO2018099384A1 (en) 2018-06-07

Family

ID=62226234

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/113481 Ceased WO2018099384A1 (en) 2016-11-29 2017-11-29 Packet load balancing method, apparatus and system

Country Status (2)

Country Link
CN (1) CN108123888A (en)
WO (1) WO2018099384A1 (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110011928A (en) * 2019-04-19 2019-07-12 平安科技(深圳)有限公司 Flow equalization carrying method, device, computer equipment and storage medium
CN111143062A (en) * 2019-12-19 2020-05-12 上海交通大学 A balanced segmentation strategy for external load processes by user-mode protocol stack
CN111240842A (en) * 2020-01-13 2020-06-05 山东健康医疗大数据有限公司 Method for high availability of multi-channel service
CN111371694A (en) * 2018-12-26 2020-07-03 中兴通讯股份有限公司 Shunting method, device and system, processing equipment and storage medium
CN111683155A (en) * 2020-07-03 2020-09-18 紫光云技术有限公司 Load balancing redirection method based on http protocol
CN111858053A (en) * 2020-07-22 2020-10-30 苏州浪潮智能科技有限公司 A method, device and medium for dynamic balancing of FPGA resources
CN111988405A (en) * 2020-08-20 2020-11-24 杭州迪普科技股份有限公司 Message rewriting method of load balancing device and load balancing device
CN112218334A (en) * 2019-07-09 2021-01-12 中国移动通信集团安徽有限公司 Dynamic optimization method, device and computing device for core network load
CN112738223A (en) * 2020-12-28 2021-04-30 北京计算机技术及应用研究所 Micro service platform for dynamic access of sensing resources
CN113037808A (en) * 2021-02-18 2021-06-25 北京网聚云联科技有限公司 CDN node single machine scheduling method and system based on eBPF technology
CN113271260A (en) * 2021-05-12 2021-08-17 康键信息技术(深圳)有限公司 Load balancing processing method, device, equipment and storage medium
CN113467932A (en) * 2021-06-11 2021-10-01 广东浪潮智慧计算技术有限公司 Load balancing method, system and storage medium
CN113676415A (en) * 2020-05-15 2021-11-19 中国移动通信集团湖南有限公司 Network load balancing method and device and electronic equipment
CN114124611A (en) * 2021-11-08 2022-03-01 国汽智控(北京)科技有限公司 Vehicle data transmission method and device
CN114785737A (en) * 2022-04-11 2022-07-22 阿里巴巴(中国)有限公司 Message processing method, gateway device, server and storage medium
CN115361268A (en) * 2022-08-19 2022-11-18 湖北天融信网络安全技术有限公司 Redirection method, redirection device, electronic equipment and computer-readable storage medium

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109286572A (en) * 2018-09-30 2019-01-29 郑州冰川网络技术有限公司 Dynamic domain name resolution method
CN110971536A (en) * 2019-12-20 2020-04-07 紫光云(南京)数字技术有限公司 Outbound load balancing implementation method based on P2P flow
CN111371866B (en) * 2020-02-26 2023-03-21 厦门网宿有限公司 Method and device for processing service request
CN111526153B (en) * 2020-04-29 2023-03-07 高新兴科技集团股份有限公司 Streaming media scheduling method, computer storage medium and electronic device
CN115150475B (en) * 2021-03-31 2024-07-26 贵州白山云科技股份有限公司 Scheduling method, device, medium and equipment
CN114785764B (en) * 2022-05-05 2023-07-21 西安禧九网络科技有限公司 A request transmission system and method based on big data
CN115801731B (en) * 2023-02-08 2023-06-23 天翼云科技有限公司 Network message processing method, device, electronic equipment and storage medium
CN119473611B (en) * 2024-11-11 2025-11-21 深圳迦思威尔技术有限公司 A high-efficiency business collaboration platform system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080071925A1 (en) * 2006-09-18 2008-03-20 Akamai Technologies, Inc. Global load balancing across mirrored data centers
CN101170452A (en) * 2007-11-30 2008-04-30 中国电信股份有限公司 Content distribution network service provision node system for enhancing management capability and its affiliated network
CN103067292A (en) * 2012-12-26 2013-04-24 华为技术有限公司 Websocket-transmission-based load balancing method and device
CN103179044A (en) * 2011-12-23 2013-06-26 北京网康科技有限公司 Method, device and system for achieving flow management
CN105554082A (en) * 2015-12-10 2016-05-04 天津海量信息技术有限公司 Open-type operation platform framework structure and operation method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101710871B (en) * 2009-10-23 2012-04-18 中国电信股份有限公司 A method and device for realizing P2P traffic optimization based on local scheduling mechanism
US9740708B2 (en) * 2012-05-01 2017-08-22 Everbridge, Inc. Systems and methods for distance and performance based load balancing
CN104243344B (en) * 2014-10-11 2018-06-19 网宿科技股份有限公司 A kind of effective data packets catching method and request Redirect Server
CN106101239B (en) * 2016-06-21 2018-12-25 杭州迪普科技股份有限公司 The rewrite method and device of HTTP redirection message
CN105959405B (en) * 2016-06-24 2019-04-05 北京兰云科技有限公司 CDN video scheduling system, method and CDN dispatch server and client

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080071925A1 (en) * 2006-09-18 2008-03-20 Akamai Technologies, Inc. Global load balancing across mirrored data centers
CN101170452A (en) * 2007-11-30 2008-04-30 中国电信股份有限公司 Content distribution network service provision node system for enhancing management capability and its affiliated network
CN103179044A (en) * 2011-12-23 2013-06-26 北京网康科技有限公司 Method, device and system for achieving flow management
CN103067292A (en) * 2012-12-26 2013-04-24 华为技术有限公司 Websocket-transmission-based load balancing method and device
CN105554082A (en) * 2015-12-10 2016-05-04 天津海量信息技术有限公司 Open-type operation platform framework structure and operation method

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111371694A (en) * 2018-12-26 2020-07-03 中兴通讯股份有限公司 Shunting method, device and system, processing equipment and storage medium
CN111371694B (en) * 2018-12-26 2022-10-04 中兴通讯股份有限公司 Shunting method, device and system, processing equipment and storage medium
CN110011928A (en) * 2019-04-19 2019-07-12 平安科技(深圳)有限公司 Flow equalization carrying method, device, computer equipment and storage medium
CN112218334A (en) * 2019-07-09 2021-01-12 中国移动通信集团安徽有限公司 Dynamic optimization method, device and computing device for core network load
CN111143062A (en) * 2019-12-19 2020-05-12 上海交通大学 A balanced segmentation strategy for external load processes by user-mode protocol stack
CN111240842A (en) * 2020-01-13 2020-06-05 山东健康医疗大数据有限公司 Method for high availability of multi-channel service
CN113676415B (en) * 2020-05-15 2023-10-27 中国移动通信集团湖南有限公司 Network load balancing method and device and electronic equipment
CN113676415A (en) * 2020-05-15 2021-11-19 中国移动通信集团湖南有限公司 Network load balancing method and device and electronic equipment
CN111683155B (en) * 2020-07-03 2023-04-28 紫光云技术有限公司 Load balancing redirection method based on http protocol
CN111683155A (en) * 2020-07-03 2020-09-18 紫光云技术有限公司 Load balancing redirection method based on http protocol
CN111858053A (en) * 2020-07-22 2020-10-30 苏州浪潮智能科技有限公司 A method, device and medium for dynamic balancing of FPGA resources
CN111858053B (en) * 2020-07-22 2023-01-10 苏州浪潮智能科技有限公司 A method, device and medium for dynamic balancing of FPGA resources
CN111988405A (en) * 2020-08-20 2020-11-24 杭州迪普科技股份有限公司 Message rewriting method of load balancing device and load balancing device
CN111988405B (en) * 2020-08-20 2023-09-26 杭州迪普科技股份有限公司 Message rewriting method of load balancing device and load balancing device
CN112738223A (en) * 2020-12-28 2021-04-30 北京计算机技术及应用研究所 Micro service platform for dynamic access of sensing resources
CN113037808B (en) * 2021-02-18 2022-09-27 北京网聚云联科技有限公司 CDN node single machine scheduling method and system based on eBPF technology
CN113037808A (en) * 2021-02-18 2021-06-25 北京网聚云联科技有限公司 CDN node single machine scheduling method and system based on eBPF technology
CN113271260A (en) * 2021-05-12 2021-08-17 康键信息技术(深圳)有限公司 Load balancing processing method, device, equipment and storage medium
CN113467932A (en) * 2021-06-11 2021-10-01 广东浪潮智慧计算技术有限公司 Load balancing method, system and storage medium
CN114124611A (en) * 2021-11-08 2022-03-01 国汽智控(北京)科技有限公司 Vehicle data transmission method and device
CN114124611B (en) * 2021-11-08 2023-06-23 国汽智控(北京)科技有限公司 Vehicle data transmission method and device
CN114785737A (en) * 2022-04-11 2022-07-22 阿里巴巴(中国)有限公司 Message processing method, gateway device, server and storage medium
CN115361268A (en) * 2022-08-19 2022-11-18 湖北天融信网络安全技术有限公司 Redirection method, redirection device, electronic equipment and computer-readable storage medium

Also Published As

Publication number Publication date
CN108123888A (en) 2018-06-05

Similar Documents

Publication Publication Date Title
WO2018099384A1 (en) Packet load balancing method, apparatus and system
US10694005B2 (en) Hardware-based packet forwarding for the transport layer
CN113676361B (en) On-demand probing for quality of experience metrics
CN113037500B (en) Network device and method for network communication
US9807016B1 (en) Reducing service disruption using multiple virtual IP addresses for a service load balancer
US20150124622A1 (en) Multi-Interface, Multi-Layer State-full Load Balancer For RAN-Analytics Deployments In Multi-Chassis, Cloud And Virtual Server Environments
EP2629466B1 (en) Method, device and system for forwarding data in communication system
US10505846B2 (en) Resilient segment routing service hunting with TCP session stickiness
US10649822B2 (en) Event ingestion management
WO2020151030A1 (en) Method and apparatus for processing data message
Kogias et al. Bypassing the load balancer without regrets
JP2011160041A (en) Front end system and front end processing method
EP3588875B1 (en) Web services across virtual routing and forwarding
US9456030B2 (en) Methods of operating load balancing switches and controllers using modified flow entries
US10608889B2 (en) High-level interface to analytics engine
US9590905B2 (en) Control apparatus and a communication method, apparatus, and system to perform path control of a network
CN110545230B (en) Method and device for forwarding VXLAN message
US12289224B2 (en) Multiple state control interfaces between a control plane and a user plane in a disaggregated broadband network gateway architecture
WO2023151264A1 (en) Load balancing method and apparatus, node, and storage medium
CN110740093A (en) data forwarding device based on virtual host
CN106572132B (en) Distributed chain building method, device and system
CN106375355B (en) Load balancing processing method and device
CN107347085A (en) A kind of information acquisition method and device
US20240267764A1 (en) Control plane initiated switchover for subscriber group
CN118449839A (en) Control plane initiated switchover for subscriber groups

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17875486

Country of ref document: EP

Kind code of ref document: A1