CN108123888A - Load-balancing method, the apparatus and system of message - Google Patents

Load-balancing method, the apparatus and system of message Download PDF

Info

Publication number
CN108123888A
CN108123888A CN201611088354.1A CN201611088354A CN108123888A CN 108123888 A CN108123888 A CN 108123888A CN 201611088354 A CN201611088354 A CN 201611088354A CN 108123888 A CN108123888 A CN 108123888A
Authority
CN
China
Prior art keywords
user
load
server
request message
message
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.)
Pending
Application number
CN201611088354.1A
Other languages
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
Priority to CN201611088354.1A priority Critical patent/CN108123888A/en
Priority to PCT/CN2017/113481 priority patent/WO2018099384A1/en
Publication of CN108123888A publication Critical patent/CN108123888A/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • 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
    • 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

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

The present invention provides a kind of load-balancing method of message, apparatus and system, this method includes:Load-balanced server receives the user's request message for replicating and being introduced into local carrier network;Load-balanced server is by user's request message load balancing to corresponding Redirect Server.Pass through the present invention, it will be replicated using load-balanced server and introduce user's request message load balancing of local carrier network to Redirect Server, realize that user redirects service function, it solves the problems, such as to need special hardware in the prior art to realize load balancing buffer control, and the expense of purchase hardware load equalizing equipment is saved for operator.

Description

Load-balancing method, the apparatus and system of message
Technical field
The present invention relates to the load-balancing method of load balancing field more particularly to internet copy packet, device and it is System.
Background technology
With the rapid development of broadband interconnection cache business, the network construction of telecom operators is from traditional facilities network The direction that network construction is changed into Users ' Need-oriented is developed.Various Web applications in Internet service, video is downloaded, end-to-end visit Ask it is very big to bandwidth consumption, terminal user occupy most resources, it is necessary to find solve network bottleneck means.
Operator is to obtain a large amount of incremental benefits from the Internet, applications service, and internet caching is commonly used (Cache) strategy disposes web cache (WebCache) equipment of the certain amount with caching function and right in former network node Wait network-cachings (P2P cache) equipment, also required in China Telecom and China Mobile's specification at present by core layer or Person's convergence-level deployment depth packet check (Deep Packet Inspection, DPI) light-dividing device is warm by HTTP and P2P contents Point, which replicates, introduces local carrier network, realizes that local cache services nearby, to improve network bandwidth and data user rate.
But to handle DPI light splitting or Port Mirroring it is copied come message, and respond user service request, it is necessary to Substantial amounts of content delivery network cache (CDN cache) system equipment is disposed to handle, how these copied next messages Load balancing is diverted on these CDN cache system equipments, the problem of being in the urgent need to address.
Load balancing popular at present is using hardware load equalizing equipment (such as F5, RadWare hardware factory Business), as shown in Figure 1, but program shortcoming is hardware load equalizing equipment somewhat expensive, versatility and autgmentability are bad.
The content of the invention
An embodiment of the present invention provides a kind of load-balancing method of message, apparatus and system, at least to solve related skill Special hardware is needed in art come the problem of realizing load balancing buffer control.
According to one embodiment of present invention, a kind of load-balancing method of message is provided, including:
Load-balanced server receives the user's request message for replicating and being introduced into local carrier network;The load balancing Server is by user's request message load balancing to corresponding Redirect Server.
Preferably, user's request message is replicated at least through one of in the following manner and introduced:DPI points of deep message detection Soft exchange, local domain name server Local DNS accesses, policybased routing access, Port Mirroring access.
Preferably, the type of user's request message is at least one of:Hypertext transfer protocol HTTP, peer-to-peer network Network P2P, local DNS.
Preferably, the load-balanced server services user's request message load balancing to corresponding redirect Before device, further include:
User's request message is parsed, and according to the purpose IP address of user's request message or MAC Set mark determines to need the user's request message for redirecting service in location and user's request message.
Preferably, according to the purpose IP address of user's request message or MAC Address and user's request message In set mark determine to need the user's request message for redirecting service, including:
It, then please by the user when the purpose IP address in user's request message or MAC Address are the machine address Message is sought according to protocol stack routing forwarding.
When the purpose IP address in user's request message or MAC Address are not the machine address, then by the user Set mark is compared with preset value in request message, if matched, it is determined that user's request message is to need User's request message of service is redirected, and is deposited into redirection buffering queue;If it does not match, by the use Family request message abandons.
Preferably, the load-balanced server services user's request message load balancing to corresponding redirect Device, including:The load-balanced server will need the user for redirecting service please according to predetermined load balancing Message redirecting is sought to corresponding Redirect Server.
Preferably, the load-balanced server is multiple that each load-balanced server corresponds to different types of user Request message.
Preferably, the Redirect Server is multiple that the load-balanced server is selected based at least one of Corresponding Redirect Server:The service quality of Redirect Server, routing weights, balance policy, destination address hash situation.
Preferably, the load-balanced server services user's request message load balancing to corresponding redirect After device, further include:The Redirect Server determines corresponding caching resource server according to user's request message, And send redirection message to user;The user initiates according to the redirection message to corresponding caching resource server User service is asked.
According to another embodiment of the present invention, a kind of load-balanced server is additionally provided, including:
Message capturing preprocessing module replicates the user's request message for being introduced into local carrier network for receiving;
Ask load balancing module:For by user's request message load balancing to corresponding Redirect Server.
Preferably, user's request message is replicated at least through one of in the following manner and introduced:DPI light splitting access, Local DNS accesses, policybased routing access, Port Mirroring access.
Preferably, the type of user's request message is at least one of:HTTP、P2P、local DNS.
Preferably, the message capturing preprocessing module includes:Routing policy unit, for asking to report according to the user Purpose IP address/MAC Address of text determines to need the user's request message for redirecting service;Packet parsing unit, is used for Parsing needs to redirect user's request message of service, is further determined that and is loaded according to default filtering rule Balanced user's request message;Request redirects unit, and report is asked for that will meet to redirect and be responsible for the balanced user Text is sent to the request load balancing module.
Preferably, the request load balancing module includes:Load-balancing decision unit, for equal according to the load of configuration Weighing apparatus strategy will need the user's request message for redirecting service to be redirected to corresponding Redirect Server;The load is equal Weigh Dispatching Unit, for the distribution of user's request message.
Preferably, the request load balancing module includes:Heartbeat keep-alive unit, for the load-balanced server with Between the Redirect Server TCP_CHECK messages send and receive and the Redirect Server can service state Detection, heartbeat keepalive parameter configuration, Redirect Server address maintenance and can service statistic display;Balanced plan Slightly administrative unit, for the load balancing configuration and issue and the startup and stopping of heartbeat keep-alive service.
Preferably, load-balancing decision unit is additionally operable to obtain load balancing configuration and Redirect Server address Inventory and obtain the Redirect Server address list that can be serviced there from the heartbeat keep-alive unit, statistics is currently reset To the disposable load of server, to improve or reduce the request amount of current Redirect Server.
According to still another embodiment of the invention, a kind of SiteServer LBS is additionally provided, including load described above Equalization server and Redirect Server and caching resource server, wherein,
The Redirect Server, for according to user's request message from the load-balanced server, really Fixed corresponding caching resource server, and send redirection message to user;
The caching resource server for receiving service request from the user, and provides a user corresponding request Resource.
Preferably, the load-balanced server is multiple that each load-balanced server corresponds to different types of user Request message.
Preferably, the Redirect Server is multiple that the load-balanced server is selected based at least one of Corresponding Redirect Server:The service quality of Redirect Server, routing weights, balance policy, destination address hash situation.
Preferably, the load-balanced server is located at the Redirect Server in same subnet.
Preferably, the Redirect Server and the caching resource server are individually disposed or closed and set.
In embodiments of the present invention, the use for being introduced into local carrier network will be replicated by disposing load-balanced server Family request message load balancing on Redirect Server, realizing that user redirects service function, meanwhile, save purchase for operator Buy the expense of hardware load equalizing equipment.
Description of the drawings
Attached drawing described herein is used for providing a further understanding of the present invention, forms the part of the application, this hair Bright schematic description and description does not constitute improper limitations of the present invention for explaining the present invention.In the accompanying drawings:
Fig. 1 is the hardware load equalizing frame schematic diagram according to correlation technique;
Fig. 2 is that load-balanced server according to embodiments of the present invention handles copy packet and the signal of load balancing frame Figure;
Fig. 3 is load-balanced server load-balancing device access way schematic diagram according to embodiments of the present invention;
Fig. 4 is load-balanced server load balancing apparatus composition schematic diagram according to embodiments of the present invention;
Fig. 5 is the work flow diagram of load-balanced server load balancing apparatus according to embodiments of the present invention;
Fig. 6 is to carry out message capturing pretreatment process figure using server in the embodiment of the present invention;
Fig. 7 is the work flow diagram that request load-balancing function is realized in the embodiment of the present invention.
Specific embodiment
Come that the present invention will be described in detail below with reference to attached drawing and in conjunction with the embodiments.It should be noted that do not conflicting In the case of, the feature in embodiment and embodiment in the application can be mutually combined.
Fig. 2 is that load-balanced server according to embodiments of the present invention handles copy packet and the signal of load balancing frame Figure.In the present embodiment, message capturing pretreatment and load balancing are realized by load-balanced server, the load-balanced server It can be a kind of generic server, for example, can be any conventional PC generic server equipment, be typically deployed at operator room Data network in, configure 10,000,000,000 optical fiber network card equipments, can have message input/output function.
In the present embodiment, for the no particular/special requirement of the configuration of load-balanced server equipment, for service bandwidth ratio Larger node, for the smaller node of portfolio, can match moderate performance with the good network card equipment of option and installment performance Network card equipment.
According to existing net networking actual conditions, load-balanced server receives message by the network interface of input code flow, the net Card need not configure IP address, and the network interface of load-balanced server request load balancing output code flow can configure local area network Section IP address, but require with cache server configuration in same subnet section.Meanwhile one group is configured on load-balanced server Load balancing IP address white list exports for load balancing message.Correspondingly, phase same network segment is configured on cache server IP address, for interface load equilibrium message.
In one embodiment, as shown in Fig. 2, load-balanced server receives the code stream that DPI light splitting comes, processing is passed through Routing policy module, packet parsing module in copy packet mechanism filter and analyze code stream.
Due to that, according to the bandwidth difference entered to code stream, may there is multiple load balancing apparatus, phase in some usage scenarios Ying Di, each load balancing apparatus set different load balancing Dispatching Unit.
Meanwhile in practical applications, the role that Redirect Server has difference in functionality divides the work, it is desirable that each load balancing clothes Being engaged in required for device, the type of message of capture may be different, if any the processing of responsible HTTP message and load balancing, the responsible P2P having Message capturing and load balancing, therefore for different load balancing demands, it is regular and negative that different packet filterings can be configured Carry balance policy.Correspondingly, the packet filtering rule of each load-balanced server configuration and load balancing can not also Equally.
The load balancing apparatus after the message for determining to receive meet demand, forwards the message according to preset strategy To Redirect Server.
Similarly, due to the limitation of each Redirect Server process bandwidth ability, the system is also required to dispose multiple heavy Orientation server carrys out the message of balanced reception load-balanced server output, and further dissection process is done to message.
In an embodiment of the present invention, as shown in figure 3, the load-balanced server receives the DPI light splitting sent in network Code stream or the domain name request message introduced by LocalDNS.Wherein, type of message is typically all based on TCP UDP lattice The message of formula, such as http protocol message, P2P messages and DNS request message.
The embodiment of the present invention additionally provides a kind of load-balanced server processing copy packet and load balancing apparatus, such as schemes Shown in 4.Described device includes:Message capturing preprocessing module 41 and request load balancing module 42.
The message capturing preprocessing module includes:Routing policy unit 411, packet parsing unit 412 and request are reset To unit 413.Message capturing preprocessing module is realized by performing configuration-direct and setting the parameters such as packet filtering pattern to entering Control to code stream, capture instruction include beginning, end etc..Packet filtering pattern includes:Type of message, message characteristic value, report Text load (payload) offset and the configuration of message buffering queue.
The routing policy unit 411, for handling copy packet module in operating system nucleus protocol stack netfilter Routing judgement is carried out to message in module.The kernel module is operated at kernel protocol stack PRE_ROUTING entrance chain chains. Then after routing judges, message enters kernel protocol stack processing.
The packet parsing unit 412, i.e. HTTP/P2P GET kernel modules, for link layer message type and service Type of message is judged and is analyzed that the message for meeting load balancing draining conditions (NF_ACCEPT) enters kernel protocol stack The processing of load balancing distribution flow, it is ineligible that (NF_DROP) is then abandoned by packet filtering unit.
The request redirects unit 413, for the request of cache resources to be directed to cache server, parses significant figure According to message, and (such as http/302) redirection message for constructing response is sent to user, and the redirection of user's request is realized with this Guiding.
In one embodiment, message capturing preprocessing module 41 is responsible for receiving code stream, and routing policy unit 411 determines to catch Obtain message purpose IP address or target MAC (Media Access Control) address to determine whether for local IP address, the machine, then walk protocol stack road in this way By forwarding process, if not being the machine, then the message of this kind of capture is set packet parsing label by packet parsing unit 412, and right Message load (payload) is deviated by default bias amount and preset value is compared, and enters to buffer team if Rule of judgment is met Row, message enter request and redirect unit 413 to handle.It realizes to entering load balancing control and shunting processing to message. Packet loss is handled if Rule of judgment is unsatisfactory for.Request redirects unit construction effective data packets, according to available slow List server and respective resources information are deposited, selects available cache server, user's request is redirected to cache server Above, it is necessary to which explanation, request redirection unit only change the associated resource content in HTTP message, be incorporated to load balancing caching Queue.Message is still output to cache server by load balancing module.
The request load balancing module 42 includes:Load-balancing decision unit 421, load balancing Dispatching Unit 422, The policy management element 423 that weighs and heartbeat keep-alive unit 424.
The load-balancing decision unit 421 is clear for obtaining load balancing configuration and Redirect Server address The Redirect Server address list that can be serviced is obtained singly and there from heartbeat keep-alive unit.Load-balancing decision unit is also The disposable load of the current Redirect Server of load statistics, for improving or reducing the request of current Redirect Server equipment Amount.
The load balancing Dispatching Unit 422, for the distribution of load balancing message.
The balance policy administrative unit 423, for load balancing configuration distributing and the startup of heartbeat keep-alive service And stopping.
The heartbeat keep-alive unit 424, for TCP_CHECK messages between load-balanced server and Redirect Server Send and receive, Redirect Server can service state detection, heartbeat keepalive parameter configuration, Redirect Server address dimension Shield and can service statistic display.
The embodiment of the present invention additionally provides a kind of workflow for handling copy packet and software load balancer, such as schemes Shown in 5, including following flow:
First, user passes through the operation of front end, trigger request to load-balanced server message capturing preprocessing module;
Secondly, request message processing module enters processing copy packet flow inside load-balanced server, by operating System kernel routing pretreatment (PRE_ROUTING) triggering packet parsing module checks the link layer message class of code stream in buffer area Type judges link layer message type to be sent to the machine message (PACKET_HOST), if meeting message capturing condition, directly Request redirection module is sent to continue with, if other host messages (PACKET_OTHERHOST), is then arranged to this chain Road floor type of message (PACKET_HOST), text of delivering newspaper are continued with to upper level applications.
Further, whether load-balanced server packet parsing unit judges application layer services type of message is HTTP/ P2P messages such as meet condition, then into next step flow processing.
Further, it is clear to redirect the currently available Redirect Server address of unit acquisition for load-balanced server request It is single;
Further, load-balanced server request redirects unit according to the address of service got and services URL, to It initiates request and redirects calling in Redirect Server side;
Further, load-balanced server is by the service quality of Redirect Server side, routing weights, balance policy with And destination address hash situation, load balancing selection is carried out, such as whether Redirect Server currently can use, if time-out Etc. types, call load balancing shunting interface, message is sent to multiple Redirect Servers, while load balancing is called to count Interface is written in statistics;
Further, load balancing service request handling result is returned;
In this embodiment, the main purpose of the load-balanced server update statistical quality of service is to count automatically Calculate the disposable load of current service, that is, improve or reduce the current request amount for redirecting service equipment, when finding unavailable and When rejected from current Redirect Server list.
In practical applications, the realization process of the embodiment of the present invention can include processing copy packet flow and load balancing Two aspects of workflow, are described individually below.
Fig. 6 is to carry out message capturing pretreatment process figure using server in the embodiment of the present invention, as shown in fig. 6, including Following steps:
The load-balanced server load balancing apparatus is accessed in network, DPI is met wherein entering to network interface by step S601 Code stream or DNS messages.
The DPI light-dividing devices are deployed in network or introduce load balancing code by DNS modes by step S602 Stream.
Step S603, the pre- preprocessing module of load-balanced server message capturing judge the load-balanced server by chain Road floor message target MAC (Media Access Control) address or purpose IP address are not that the message of the machine is then delivered newspaper the processing of literary resolution unit.
Step S604, the packet parsing unit in the pre- preprocessing module of message capturing parse message, by predetermined Judge to meet predetermined value setting after quantum byte offset, be unsatisfactory for the packet loss processing of prerequisite.As protocol type is expired Sufficient TCP or UDP and message load (payload) then send for HTTP, P2P and LocalDNS message asks to redirect at unit Reason.
Step S605, the request in the pre- preprocessing module of message capturing redirect unit construction effective data packets, according to can Redirect Server IP address list and respective resources information, select available Redirect Server, and user is asked weight Oriented load is balanced on cache server.
In the embodiment, in order to handle copy packet function, additionally provide startup and unload HTTP/P2P kernel modules Function and the command function for starting and stopping message crawl.The shell scripts that can be provided by linux system are completed.
In the present embodiment, Redirect Server is individually disposed, and can also be closed and be set with cache server, according to type of message And functional role is different, can configure the Redirect Server of difference in functionality.
Fig. 7 is the work flow diagram that request load-balancing function is realized in the embodiment of the present invention, as shown in fig. 7, comprises with Lower step:
Step S711 accesses the Redirect Server in network, it is ensured that the equipment and load-balancing device are same In a subnet, network interworking is realized.
Step S712, user send HTTP/P2P request messages, and the load-balanced server receives DPI light splitting/DNS please Seek message.
Step S713, the outgoing message of the Redirect Server access network interface balancing received load server redirect Server picks out network interface and returns to user service response message.
Step S714 configures the load balancing and Redirect Server address list and heartbeat keepalive parameter.
Step S715, the load-balanced server are HTTP/P2P for type of message for application layer packet filtering, Load balancing module is sent to handle, on the contrary then discard processing.
Step S716, the load-balanced server send request load balancing module to the message for meeting load balancing condition Forwarding.
Step S717, the request load balancing module obtain load balancing, Redirect Server address list, power Weight and Redirect Server can service state to code stream carry out load balancing output.
In the present embodiment, in order to manage request load-balancing function, the function of configuration load balance policy is additionally provided, And start and stop the function of heartbeat keep-alive service.
The embodiment of the present invention additionally provides a kind of storage medium.The storage medium can be configured to storage for performing The program code of process step in above-described embodiment:
Optionally, in the present embodiment, above-mentioned storage medium can include but is not limited to:USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disc or The various media that can store program code such as CD.Specific example in the present embodiment may be referred to above-described embodiment and optional Example described in embodiment, details are not described herein for the present embodiment.
Obviously, those skilled in the art should be understood that each module of the above-mentioned present invention or each step can be with general Computing device realize that they can concentrate on single computing device or be distributed in multiple computing devices and be formed Network on, optionally, they can be realized with the program code that computing device can perform, it is thus possible to which they are stored Performed in the storage device by computing device, and in some cases, can be performed with the order being different from herein shown in The step of going out or describing they are either fabricated to each integrated circuit modules respectively or by multiple modules in them or Step is fabricated to single integrated circuit module to realize.It to be combined in this way, the present invention is not limited to any specific hardware and softwares.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.Within the spirit and principles of the invention, that is made any repaiies Change, equivalent substitution, improvement etc., should all be included in the protection scope of the present invention.

Claims (22)

1. a kind of load-balancing method of message, which is characterized in that including:
Load-balanced server receives the user's request message for replicating and being introduced into local carrier network;
The load-balanced server is by user's request message load balancing to corresponding Redirect Server.
2. according to the method described in claim 1, it is characterized in that, wherein, user's request message is at least through with lower section One of formula, which replicates, to be introduced:
Deep message detection DPI light splitting access, local domain name server Local DNS accesses, policybased routing access, Port Mirroring Access.
3. according to the method described in claim 1, it is characterized in that, wherein, the type of user's request message be with down toward It is one of few:Hypertext transfer protocol HTTP, Peer-to-Peer Network P2P, local DNS.
4. according to the method described in claim 1, it is characterized in that, the load-balanced server is by user's request message Before load balancing to corresponding Redirect Server, further include:
User's request message is parsed, and according to the purpose IP address or MAC Address of user's request message, with And set mark determines to need the user's request message for redirecting service in user's request message.
5. according to the method described in claim 4, it is characterized in that, according to the purpose IP address of user's request message or Set mark determines to need the user for redirecting service ask in MAC Address and user's request message Message, including:
When the purpose IP address in user's request message or MAC Address are the machine address, then the user is asked to report Text is according to protocol stack routing forwarding.
6. it according to the method described in claim 5, it is characterized in that, further includes:
When the purpose IP address in user's request message or MAC Address are not the machine address, then the user is asked Set mark is with preset value compared in message, if matched, it is determined that user's request message be need into Row redirects user's request message of service, and is deposited into redirection buffering queue;It if it does not match, please by the user Ask packet loss.
7. according to the method described in claim 1, it is characterized in that, the load-balanced server is by user's request message Load balancing to corresponding Redirect Server, including:
The load-balanced server will need the user for redirecting service to ask report according to predetermined load balancing Text is redirected to corresponding Redirect Server.
8. according to the method described in claim 1, it is characterized in that, the load-balanced server is multiple, each load is equal Weighing apparatus server corresponds to different types of user's request message.
9. according to the method described in claim 1, it is characterized in that, the Redirect Server is multiple, the load balancing Server is based at least one of and selects corresponding Redirect Server:The service quality of Redirect Server, routing weights, Balance policy, destination address hash situation.
10. according to the method described in claim 1, it is characterized in that, the user is asked to report by the load-balanced server After literary load balancing to corresponding Redirect Server, further include:
The Redirect Server determines corresponding caching resource server, and is sent out to user according to user's request message Send redirection message;
User initiates user service request according to the redirection message to corresponding caching resource server.
11. a kind of load-balanced server, which is characterized in that including:
Message capturing preprocessing module replicates the user's request message for being introduced into local carrier network for receiving;
Ask load balancing module:For by user's request message load balancing to corresponding Redirect Server.
12. load-balanced server according to claim 11, which is characterized in that user's request message at least through One of in the following manner, which replicates, to be introduced:
Deep message detection DPI light splitting access, local domain name server Local DNS accesses, policybased routing access, Port Mirroring Access.
13. load-balanced server according to claim 11, which is characterized in that the type of user's request message is At least one of:Hypertext transfer protocol HTTP, Peer-to-Peer Network P2P, local DNS.
14. load-balanced server according to claim 11, which is characterized in that the message capturing preprocessing module bag It includes:
Routing policy unit determines to need to carry out weight for the purpose IP address according to user's request message or MAC Address Orient user's request message of service;
Packet parsing unit needs the user's request message for redirecting service, according to default filtering rule for parsing Further determine that the user's request message for needing to carry out load balancing;
Request redirects unit, and the request is sent to for will meet to redirect and be responsible for balanced user's request message Load balancing module.
15. load-balanced server according to claim 11, which is characterized in that the request load balancing module bag It includes:
Load-balancing decision unit, for according to the load balancing of configuration the user for redirecting service will be needed to ask Message redirecting is to corresponding Redirect Server;
Load balancing Dispatching Unit, for the distribution of user's request message.
16. load-balanced server according to claim 15, which is characterized in that the request load balancing module bag It includes:
Heartbeat keep-alive unit, for TCP_CHECK messages between the load-balanced server and the Redirect Server Send and receive and the Redirect Server can service state detection, heartbeat keepalive parameter configuration, Redirect Server Address maintenance and can service statistic display;
Balance policy administrative unit, for the load balancing configuration and issue and the startup of heartbeat keep-alive service And stopping.
17. load-balanced server according to claim 16, which is characterized in that load-balancing decision unit is additionally operable to It obtains load balancing configuration and Redirect Server address list and obtains and can take from heartbeat keep-alive unit there The Redirect Server address list of business counts the disposable load of current Redirect Server, is currently reset with improving or reducing To the request amount of server.
18. a kind of SiteServer LBS, which is characterized in that including claim 11-17 any one of them load balancing services Device and Redirect Server and caching resource server, wherein,
The Redirect Server, for according to user's request message from the load-balanced server, determining phase The caching resource server answered, and send redirection message to user;
The caching resource server for receiving service request from the user, and provides a user corresponding request resource.
19. SiteServer LBS according to claim 18, which is characterized in that the load-balanced server to be multiple, Each load-balanced server corresponds to different types of user's request message.
20. SiteServer LBS according to claim 18, which is characterized in that the Redirect Server is multiple, institute It states load-balanced server and is based on the corresponding Redirect Server of at least one of selection:The Service Quality of Redirect Server Amount, routing weights, balance policy, destination address hash situation.
21. SiteServer LBS according to claim 18, which is characterized in that the load-balanced server with it is described heavy Orientation server is located in same subnet.
22. SiteServer LBS according to claim 18, which is characterized in that the Redirect Server and the resource Cache server is individually disposed or closed and sets.
CN201611088354.1A 2016-11-29 2016-11-29 Load-balancing method, the apparatus and system of message Pending CN108123888A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201611088354.1A CN108123888A (en) 2016-11-29 2016-11-29 Load-balancing method, the apparatus and system of message
PCT/CN2017/113481 WO2018099384A1 (en) 2016-11-29 2017-11-29 Packet load balancing method, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
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
CN108123888A true CN108123888A (en) 2018-06-05

Family

ID=62226234

Family Applications (1)

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

Country Status (2)

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

Cited By (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
CN111371866A (en) * 2020-02-26 2020-07-03 厦门网宿有限公司 Method and device for processing service request
CN111526153A (en) * 2020-04-29 2020-08-11 高新兴科技集团股份有限公司 Streaming media scheduling method, computer storage medium and electronic device
CN114785764A (en) * 2022-05-05 2022-07-22 字春燕 Request transmission system and method based on big data
WO2022206479A1 (en) * 2021-03-31 2022-10-06 贵州白山云科技股份有限公司 Scheduling method and apparatus, medium, and device
CN115361268A (en) * 2022-08-19 2022-11-18 湖北天融信网络安全技术有限公司 Redirection method, redirection device, electronic equipment and computer-readable storage medium
CN115801731A (en) * 2023-02-08 2023-03-14 天翼云科技有限公司 Network message processing method and device, electronic equipment and storage medium

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111371694B (en) * 2018-12-26 2022-10-04 中兴通讯股份有限公司 Shunting method, device and system, processing equipment and storage medium
CN110011928B (en) * 2019-04-19 2022-08-19 平安科技(深圳)有限公司 Flow balancing load method and device, computer equipment and storage medium
CN112218334B (en) * 2019-07-09 2023-07-04 ***通信集团安徽有限公司 Dynamic optimization method and device for core network load and computing equipment
CN111143062A (en) * 2019-12-19 2020-05-12 上海交通大学 Balanced partitioning strategy for external load process 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
CN111683155B (en) * 2020-07-03 2023-04-28 紫光云技术有限公司 Load balancing redirection method based on http protocol
CN111858053B (en) * 2020-07-22 2023-01-10 苏州浪潮智能科技有限公司 Dynamic balancing method, device and medium for FPGA (field programmable Gate array) resources
CN111988405B (en) * 2020-08-20 2023-09-26 杭州迪普科技股份有限公司 Message rewriting method of load balancing device and load balancing device
CN112738223B (en) * 2020-12-28 2023-03-03 北京计算机技术及应用研究所 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
CN113271260A (en) * 2021-05-12 2021-08-17 康键信息技术(深圳)有限公司 Load balancing processing method, device, equipment and storage medium
CN114124611B (en) * 2021-11-08 2023-06-23 国汽智控(北京)科技有限公司 Vehicle data transmission method and device
CN114785737B (en) * 2022-04-11 2024-07-02 阿里巴巴(中国)有限公司 Message processing method, gateway device, server and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101710871A (en) * 2009-10-23 2010-05-19 中国电信股份有限公司 Method and device capable of realizing P2P flow optimization based on local scheduling mechanism
CN103179044A (en) * 2011-12-23 2013-06-26 北京网康科技有限公司 Method, device and system for achieving flow management
US20130297596A1 (en) * 2012-05-01 2013-11-07 Everbridge, Inc. Systems and methods for distance and performance based load balancing
CN104243344A (en) * 2014-10-11 2014-12-24 网宿科技股份有限公司 Effective data packet capturing method and request redirection server
CN105959405A (en) * 2016-06-24 2016-09-21 北京兰云科技有限公司 CDN video scheduling system and method, CDN scheduling server and client
CN106101239A (en) * 2016-06-21 2016-11-09 杭州迪普科技有限公司 The rewrite method of HTTP redirection message and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7734815B2 (en) * 2006-09-18 2010-06-08 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
CN103067292B (en) * 2012-12-26 2016-12-28 华为技术有限公司 The load-balancing method of a kind of sing on web Socket transmission and device
CN105554082A (en) * 2015-12-10 2016-05-04 天津海量信息技术有限公司 Open-type operation platform framework structure and operation method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101710871A (en) * 2009-10-23 2010-05-19 中国电信股份有限公司 Method and device capable of realizing P2P flow optimization based on local scheduling mechanism
CN103179044A (en) * 2011-12-23 2013-06-26 北京网康科技有限公司 Method, device and system for achieving flow management
US20130297596A1 (en) * 2012-05-01 2013-11-07 Everbridge, Inc. Systems and methods for distance and performance based load balancing
CN104243344A (en) * 2014-10-11 2014-12-24 网宿科技股份有限公司 Effective data packet capturing method and request redirection server
CN106101239A (en) * 2016-06-21 2016-11-09 杭州迪普科技有限公司 The rewrite method of HTTP redirection message and device
CN105959405A (en) * 2016-06-24 2016-09-21 北京兰云科技有限公司 CDN video scheduling system and method, CDN scheduling server and client

Cited By (11)

* 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
CN111371866A (en) * 2020-02-26 2020-07-03 厦门网宿有限公司 Method and device for processing service request
CN111371866B (en) * 2020-02-26 2023-03-21 厦门网宿有限公司 Method and device for processing service request
CN111526153A (en) * 2020-04-29 2020-08-11 高新兴科技集团股份有限公司 Streaming media scheduling method, computer storage medium and electronic device
CN111526153B (en) * 2020-04-29 2023-03-07 高新兴科技集团股份有限公司 Streaming media scheduling method, computer storage medium and electronic device
WO2022206479A1 (en) * 2021-03-31 2022-10-06 贵州白山云科技股份有限公司 Scheduling method and apparatus, medium, and device
CN114785764A (en) * 2022-05-05 2022-07-22 字春燕 Request transmission system and method based on big data
CN115361268A (en) * 2022-08-19 2022-11-18 湖北天融信网络安全技术有限公司 Redirection method, redirection device, electronic equipment and computer-readable storage medium
CN115801731A (en) * 2023-02-08 2023-03-14 天翼云科技有限公司 Network message processing method and device, electronic equipment and storage medium
CN115801731B (en) * 2023-02-08 2023-06-23 天翼云科技有限公司 Processing method and device of network message, electronic equipment and storage medium

Also Published As

Publication number Publication date
WO2018099384A1 (en) 2018-06-07

Similar Documents

Publication Publication Date Title
CN108123888A (en) Load-balancing method, the apparatus and system of message
EP2510453B1 (en) Website performance optimization and internet traffic processing
CN113285864B (en) System and method for global virtual network
CN104272708B (en) It is distributed with the stateless first order grouping to server farm and is distributed to the secondary data packets of the stateful second level grouping distribution of some server in group
US20150319081A1 (en) Method and apparatus for optimized network and service processing
CN100474819C (en) A deep message detection method, network device and system
WO2011093228A1 (en) Front end system and front end processing method
US20040260745A1 (en) Load balancer performance using affinity modification
US20080239961A1 (en) Packet routing based on application source
US20110099259A1 (en) Managing TCP anycast requests
CN102770852A (en) Information and communication processing system, method, and network node
US20030023767A1 (en) Methods, systems and computer program products for kernel based transaction processing
CN106911778A (en) A kind of flow bootstrap technique and system
US7831731B2 (en) Method and system for a modular transmission control protocol (TCP) rare-handoff design in a streams based transmission control protocol/internet protocol (TCP/IP) implementation
CN112202940B (en) Pod service mode for external exposure of kubernets
KR101959970B1 (en) Contents delivery service method using contents sharing, and cache apparatus therefor
KR101579081B1 (en) Method for using intelligent router in charging system and apparatus associated therewith
CN108234208A (en) The visualization load balancing dispositions method and system of resource management based on business
US20130054817A1 (en) Disaggregated server load balancing
CN109150788A (en) Control method, apparatus, gateway and the storage medium of network data transmission
CN110740093A (en) data forwarding device based on virtual host
CN108259372A (en) A kind of multi-link load balance system and method
EP3869763B1 (en) Method for delivering an audio and/or video content in a mobile network infrastructure
US8804717B2 (en) Serial redirector device and associated methods
US8526470B2 (en) Synchronized commands for network testing

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180605