CN109361615A - A kind of centralized control type network load balancing method and system - Google Patents

A kind of centralized control type network load balancing method and system Download PDF

Info

Publication number
CN109361615A
CN109361615A CN201811594484.1A CN201811594484A CN109361615A CN 109361615 A CN109361615 A CN 109361615A CN 201811594484 A CN201811594484 A CN 201811594484A CN 109361615 A CN109361615 A CN 109361615A
Authority
CN
China
Prior art keywords
access server
access
client
information table
server
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
CN201811594484.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.)
WUHAN FONSVIEW TECHNOLOGY Co Ltd
Original Assignee
WUHAN FONSVIEW TECHNOLOGY Co Ltd
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 WUHAN FONSVIEW TECHNOLOGY Co Ltd filed Critical WUHAN FONSVIEW TECHNOLOGY Co Ltd
Priority to CN201811594484.1A priority Critical patent/CN109361615A/en
Publication of CN109361615A publication Critical patent/CN109361615A/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
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types
    • H04L61/103Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]
    • 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
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/622Layer-2 addresses, e.g. medium access control [MAC] addresses

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention discloses a kind of centralized control type network load balancing method and systems, it is related to load-balancing technique field, this method comprises: the work state information message of other access servers reported according to each access server establishs or updates the neighbor information table of access server, while the work state information message of the client reported according to each access server establishs or updates the reachable information table of client;When any access server receives the access request message of client transmission, if access server is the reachable access server of client, and be all satisfied load balancing condition up to access server and its neighbours' access server, then allow client to access up to access server.Centralized control type network load balancing method of the invention can quickly achieve the purpose that load balancing adjusts, improve network operation efficiency by foundation and the neighbor information table of real-time update access server and the reachable information table of client.

Description

A kind of centralized control type network load balancing method and system
Technical field
The present invention relates to load-balancing technique fields, and in particular to a kind of centralized control type network load balancing method and is System.
Background technique
The rapid development of internet gives the process performance of network bandwidth and server to carry out huge challenge, and network bandwidth is from hundred Million, gigabit develops to 10,000,000,000, and bandwidth is increasing, while the framework of server gradually develops to clothes from monokaryon CPU, multi-core CPU Business device cluster has been increasingly becoming the bottleneck of system performance by the process performance of test discovery server.In the mutual of flow outburst Networking epoch, user are docked the demand into network and are also increasingly urgent to, also higher and higher to the attention rate of the quality of network access.With In normal online and when by network watching video, it is very big often to will appear network delay at family, video cardton or grasps online Make phenomena such as slow, especially when moment being accompanied with a large number of users access, this phenomenon is just become apparent from.In face of magnanimity and When hair family accesses, load-balancing method is current more common solution.There is no to access for existing load balancing The resource of server and its neighbours are obtained and are analyzed, and cause user that may repeatedly switch, load balancing effect is poor.
Summary of the invention
In view of the deficiencies in the prior art, the purpose of the present invention is to provide a kind of centralized control type network load is equal Weigh method and system, can be rapidly achieved the purpose of load balancing adjustment.
To achieve the above objectives, the technical solution adopted by the present invention is that: a kind of centralized control type network load balancing method, Itself comprising steps of
The work state information message of other access servers reported according to each access server, which establishs or updates, to be connect Enter the neighbor information table of server, while the work state information message of the client reported according to each access server is established Or update the reachable information table of client;
When any access server receives the access request message of client transmission, if access server is client Reachable access server, and be all satisfied load balancing condition up to access server and its neighbours' access server, then allow Client is accessed up to access server.
Based on the above technical solution, neighbor information table is establishd or updated by Centralized Controller,
Its neighbor information table is established to the access server of not neighbor information table in Centralized Controller;Neighbor information table The MAC Address of interior neighbours' access server including access server;
The work state information message of new MAC Address is carried when access server receives, and the corresponding access clothes of new MAC Address It is engaged in the neighbor information table of device believing the neighbours that access server is added in new MAC Address there are when the MAC Address of access server Cease table.
Based on the above technical solution, in wireless environments, each access server timing is sent out to Centralized Controller The work state information message for other access servers for giving it to detect.
Based on the above technical solution, in cable environment, when any access server receives other access services The remaining life span TTL of the probe messages for other access servers that the gratuitous ARP packet or access server of device obtain When value is in the TTL difference range of pre-configuration, access server sends the work shape of other access servers to Centralized Controller State infomational message.
Based on the above technical solution, it is establishd or updated by Centralized Controller up to information table,
To not establishing it up to information table up to the client of information table in Centralized Controller;Up to packet in information table Include the MAC Address of the reachable access server of client;
When any access server receives the work state information message for carrying the client of new MAC Address, will access The reachable information table that new MAC Address corresponds to client is added in the MAC Address of server.
Based on the above technical solution, in wireless environments, each access server timing is sent out to Centralized Controller Send the work state information message of client.
Based on the above technical solution, in cable environment, when any access server receives the free of client The remaining life span ttl value of the access request message for the client that ARP message or access server obtain is in pre-configuration When in TTL difference range, access server sends the work state information message of client to Centralized Controller.
Based on the above technical solution, load balancing condition are as follows: when any access server receives client When access request, visitor is determined whether according to the customer flow of the customer flow of itself access and the access of neighboring access server Family terminate into.
Based on the above technical solution, load balancing condition are as follows: when any access server receives client When access request, visitor is determined whether according to the number of users of the number of users of itself access and the access of neighboring access server Family terminate into.
The present invention also provides a kind of centralized control type Network Load Balance systems, run on Centralized Controller comprising:
Neighbor information processing module is used to receive and process other access servers that each access server reports Work state information message establishs or updates the neighbor information table of access server;
Up to message processing module, it is used to receive and process the working condition for the client that each access server reports Infomational message establishs or updates the reachable information table of client;
Load balancing module is connected, for connecing respectively with neighbor information processing module and up to message processing module Enter the client Access Request message that server reports, and judges reachable access server and its neighbours' access service of client Whether device meets load balancing condition, when the reachable access server and its neighbours' access server of client meet load balancing When condition, client is allowed to access up to access server.
Compared with the prior art, the advantages of the present invention are as follows:
(1) centralized control type network load balancing method of the invention, by establishing and real-time update access server The reachable information table of neighbor information table and client can quickly achieve the purpose that load balancing adjusts, improve the network operation Efficiency.
(2) load balancing condition of the invention can reduce the maintenance cost and client of manual intervention with flexible configuration Because of the case where being linked into caused poor user experience on the server of overload.
Detailed description of the invention
Fig. 1 is the flow chart of centralized control type network load balancing method provided in an embodiment of the present invention;
Fig. 2 is the radio signal status figure under wireless environment provided in an embodiment of the present invention;
Fig. 3 is gratuitous ARP packet format chart provided in an embodiment of the present invention;
Fig. 4 is wireless beacon Beacon frame format figure provided in an embodiment of the present invention;
Fig. 5 is the probe requests message format chart that client is sent under wireless environment provided in an embodiment of the present invention;
Fig. 6 is the detection request response message format that access server is sent under wireless environment provided in an embodiment of the present invention Figure;
Fig. 7 is the flow chart of neighbor information table under wireless environment provided in an embodiment of the present invention;
Fig. 8 is the flow chart under wireless environment provided in an embodiment of the present invention up to information table;
Fig. 9 is the flow chart of neighbor information table under cable environment provided in an embodiment of the present invention;
Figure 10 is the flow chart under cable environment provided in an embodiment of the present invention up to information table;
Figure 11 is the building-block of logic of neighbor information table provided in an embodiment of the present invention;
Figure 12 is the building-block of logic of reachable information table provided in an embodiment of the present invention;
Figure 13 is the specific flow chart of load-balancing method under wireless environment provided in an embodiment of the present invention;
Figure 14 is the specific flow chart of load-balancing method under cable environment provided in an embodiment of the present invention.
Specific embodiment
Invention is further described in detail with reference to the accompanying drawings and embodiments.
Shown in Figure 1, the embodiment of the present invention provides a kind of centralized control type network load balancing method comprising step It is rapid:
S1. the work state information message of other access servers reported according to each access server establishs or updates The neighbor information table of access server, while the work state information message of the client reported according to each access server is built Reachable information table that is vertical or updating client;
S2. when any access server receives the access request message of client transmission, if access server is visitor The reachable access server at family end, and be all satisfied load balancing condition up to access server and its neighbours' access server, then Client is allowed to access up to access server.
In the operational process of whole network system, access server can periodically report surrounding network environment information, Including the MAC information of other access servers around the access server and the work state information of client.Concentrate control The information that device processed is reported by judging the access server, when access server report be other access servers load letter When breath, establish or real-time update access server neighbor information table, when access server report be client work shape When state information, the reachable information table of foundation or real-time update client.When client is possible offline or roaming and cause it can The situation to change up to server info can be used entry aging mechanism or empty the reachable information table of client, wait After access server reports client-side information again, then client is updated up to information table.
Illustrate the two important relativeness i.e. neighborhood and reachability relation of client and access server first.
Neighborhood describes the relationship between two access servers.It is shown in Figure 2, in wireless environments, nothing Substantially as schemed, the signal BSS2 of the signal BSS1 and AP2 of AP1 overlap for the wireless signal distribution of line access server AP, Then AP1 and AP2 neighbor AP each other;The signal and AP1, AP3, AP4 of AP2 all overlaps, then AP2 respectively with AP1, AP3, AP4 neighbor AP each other;Signal BSS3 and the AP2 and AP4 of AP3 overlaps, then AP3 respectively with AP2, AP4 neighbor AP each other; AP4 signal BSS4 and AP2 and AP3 overlap, then AP4 is respectively with AP2, AP3 neighbor AP each other, therefore neighborhood is necessary It is mutual, it is assumed that due to the relationship of wireless signal strength, the wireless signal of APi can cover APj, but the signal of APj is not APi can be covered, then the two AP are not just neighborhoods each other.
And in wired environment, since all access client and servers are connected to by cable , so this mode cannot be covered under access in radio environment with signal to determine the neighborhood between access server.? Under this scene, by the basic common sense of following two: (1) router does not forward broadcast packet;(2) all messages pass through router Later, TTL can subtract one, until the message will be dropped when TTL is 0.If two access servers can receive The gratuitous ARP packet of other side, then the two access servers are neighborhood certainly;Wherein, gratuitous ARP packet format is referring to figure Shown in 3, gratuitous ARP packet is worked as in the ARP request message that some work station is sent, when the MAC of request is the MAC of oneself, this A message is exactly gratuitous ARP packet.If access server A receives the probe messages of access server B, and message The difference of ttl value and the ttl value of current network default is within the TTL difference range of pre-configuration, access server A and access service Device B neighborhood each other.
Reachability relation describes the relationship between client and access server.In wireless access environment, client The overlayable range of wireless signal in all access servers, be all the reachable server of the client.And it is connect wired Enter in environment, as long as the access request of client can be received, and the remaining lifetime value TTL of the access request message In the TTL difference range of pre-configuration, so that it may think that the access server for receiving client Access Request message is exactly the visitor The reachable access server at family end.
In wireless environments, shown in Figure 4, access server can be led to by broadcast transmission wireless beacon Beacon frame Itself working condition and ability are accused, the BSSID field of MAC header (MAC Header) i.e. itself MAC Address in the message Information.Client can also notice itself working condition and energy by broadcast transmission probe requests thereby Probe Request message Power.Shown in Figure 5, the MAC header of this Probe Request message also includes a BSSID field, the as client Wireless MAC address.The access server for each receiving this Probe Request message can reply a probe requests thereby and answer Probe Response message is answered, the format of the Probe Response message is shown in Figure 6, the BSSID word of MAC header Section, as the wireless MAC address of the access server.Access server by the Beacon frame in monitoring wireless network environment come Other access servers around detecting, to learn the working condition and ability information of other access servers;Access server The Probe Request message sent by client in monitoring wireless network environment is come the wireless client around passive detection End, so as to obtain the working condition of surrounding client.
In wireless environments, each access server timing sends its other access service detected to Centralized Controller The work state information message of device, then establishs or updates neighbor information table by Centralized Controller.
When the mac address information for other access servers that access server reports it to detect for the first time, that is, concentrate Without the neighbor information table of the access server in controller, need to establish the access server its neighbor information table;Neighbours The MAC Address of neighbours' access server in information table including access server.
The work state information message of new MAC Address is carried when access server receives, and the corresponding access clothes of new MAC Address It is engaged in the neighbor information table of device believing the neighbours that access server is added in new MAC Address there are when the MAC Address of access server Cease table.
Shown in Figure 7, in wireless environments, the detailed process for establising or updating neighbor information table is as follows:
A101. access server timing reports the work state information message of other access servers to Centralized Controller;
A102. the neighbor information table of the access server is judged whether there is, if so, a104 is turned to, if not, turning to a103;
A103. the neighbor information table of access server is created, and access clothes are added in the MAC Address of other access servers The neighbor information table of business device, and turn to a101.
A104. the MAC Address for judging that the work state information message that access server receives carries whether there is in access In the neighbor information table of server, if so, a101 is turned to, if not, turning to a105;
A105. judge that the MAC Address carried corresponds in the neighbor information table of access server with the presence or absence of the access service The MAC Address of device, if so, a106 is turned to, if not, turning to a101;
A106. the neighbor information table of access server is added in MAC Address message carried, and turns to a101.
In wireless environments, each access server timing sends the work state information report of client to Centralized Controller Then text is establishd or updated by Centralized Controller up to information table.
To not establishing it up to information table up to the client of information table in Centralized Controller;Up to packet in information table Include the MAC Address of the reachable access server of client;
When any access server receives the work state information message for carrying the client of new MAC Address, will access The reachable information table that new MAC Address corresponds to client is added in the MAC Address of server.
Shown in Figure 8, in wireless environments, the detailed process for establising or updating reachable information table is as follows:
B101. access server timing reports the work state information message of client to Centralized Controller;
B102. the reachable information table of the client is judged whether there is, if so, b104 is turned to, if not, turning to b103;
B103. the reachable information table of client is created, and the MAC Address of access server is added to the reachable letter of client Table is ceased, and turns to b101.
B104. judge that the MAC Address of access server whether there is in the reachable information table of client, if so, turning To b101, if not, turning to b105;
B105. the MAC Address of access server is added in the reachable information table of client, and turns to b101.
In cable environment, the networking situation of access server is typically artificial preconfigured, and access server needs The probe messages of other access servers sending are received to construct its true networking situation, the ttl values of probe messages can be with It is configured to the TTL difference of current network pre-configuration, when some access server receives the probe messages of other access servers, It can consider the two access servers neighbours' access server each other.Centralized Controller needs first in each access server The IP address information of upper all access servers of configuration, it is assumed that after the starting of source access server equipment, according to other access services The IP address information of device, using the transmission UDP message of UDP socket timing, the Load field of the message is local server MAC Address, source port and destination port are fixed, and the ttl value on the head IP in the message is set as current network environment pre-configuration TTL difference.Specified port is monitored on purpose access server, if purpose access server can receive this message, Purpose access server just needs the MAC information reporting source access server to Centralized Controller.
Configuration modification in the process of running in order to prevent, all access servers require timing reading other connect The related running configurations such as the TTL difference that the IP information and current network environment for entering server are pre-configured.And once there is access to take Business device increases or deletes, and Centralized Controller, which needs at the first time to synchronize the IP address information of new access server, to be handed down to All access servers.
Assuming that the ttl value of current network environment default is 255, the default TTL difference of pre-configuration is 4, i.e. neighbours access clothes It is engaged at most passing through 4 hop routers between device, then when receiving the probe messages of other access servers i.e. it is believed that the two connect Enter server neighbours each other.If the message will be decremented to 0 and be dropped by routers more than 3 jumps, ttl value.Access Server needs other access server information reportings the probe messages received to Centralized Controller.
In cable environment, when any access server receives the gratuitous ARP packet of other access servers, or access TTL difference range of the remaining life span ttl value of the probe messages for other access servers that server obtains in pre-configuration When interior, access server sends the information of other access servers to Centralized Controller, then by Centralized Controller establish or Update neighbor information table.
Its neighbor information table is established to the access server of not neighbor information table in Centralized Controller;Neighbor information table The MAC Address of interior neighbours' access server including access server;
The work state information message of new MAC Address is carried when access server receives, and the corresponding access clothes of new MAC Address It is engaged in the neighbor information table of device believing the neighbours that access server is added in new MAC Address there are when the MAC Address of access server Cease table.
Shown in Figure 9, in cable environment, the detailed process for establising or updating neighbor information table is as follows:
C101. when access server 1 receive access server 2 gratuitous ARP packet or access server 1 obtain When the remaining life span ttl value of the probe messages of access server 2 is in the TTL difference range of pre-configuration, access server 1 Timing sends the work state information message of access server 2 to Centralized Controller;
C102. the neighbor information table of access server 1 is judged whether there is, if so, c104 is turned to, if not, turning to c103;
C103. the neighbor information table of access server 1 is created, and access service is added in the MAC Address of access server 2 The neighbor information table of device 1, and turn to c101.
C104. judge that the MAC Address of access server 2 whether there is in the neighbor information table of access server 1, if It is to turn to c101, if not, turning to c105;
C105. judge the MAC Address that whether there is access server 1 in the neighbor information table of access server 2, if It is to turn to c106, if not, turning to c101;
C106., the MAC Address of access server 2 is added to the neighbor information table of access server 1, and turns to c101.
In cable environment, when any access server receives the gratuitous ARP packet of client or access server obtains When the remaining life span ttl value of the access request message of the client taken is in the TTL difference range of pre-configuration, i.e., it is believed that The access server is that the reachable of client connects access server, while access server sends client to Centralized Controller Work state information message.
To not establishing it up to information table up to the client of information table in Centralized Controller;Up to packet in information table Include the MAC Address of the reachable access server of client;
When any access server receives the work state information message for carrying the client of new MAC Address, this is connect The reachable information table that new MAC Address corresponds to client is added in the MAC Address for entering server.
Shown in Figure 10, in cable environment, the detailed process for establising or updating reachable information table is as follows:
D101. when the client that access server receives the gratuitous ARP packet of client or access server obtains When the remaining life span ttl value of access request message is in the TTL difference range of pre-configuration, access server is periodically to concentration The work state information message of controller transmission client;
D102. the reachable information table of the client is judged whether there is, if so, d104 is turned to, if not, turning to d103;
D103. the reachable information table of client is created, and the MAC Address of access server is added to the reachable letter of client Table is ceased, and turns to d101.
D104. judge that the MAC Address of access server whether there is in the reachable information table of client, if so, turning To d101, if not, turning to d105;
D105. the MAC Address of access server is added in the reachable information table of client, and turns to d101.
Shown in Figure 11, neighbor information table is the hash table of a second level, i.e. Hash table, in the figure, centralized control There is access server A-N below device, wherein neighbours' access server of access server B is X-Y, the neighbours of access server N Access server is S-Q.Similarly, shown in Figure 12, the reachable information table of client is also the Hash table an of second level.First Grade Hash major key is the MAC of some client, and corresponding mapping is also a Hash table, and preservation is that the client is all reachable Access server MAC.
The load balancing threshold value that above-mentioned load balancing condition is used based on the control logic inside Centralized Controller.It is preferred that Ground, can be based on the either access service of the difference for being currently accessed number of users between access server and its neighbours' access server Flow difference between device and its neighbours' access server carries out determining whether that client accesses.
Referred to based on the flow difference between access server and its neighbours' access server according to whole on access server Load balancing is done in body user equipment traffic statistics.Specifically, in the present embodiment, when any access server receives client When the access request at end, determine whether to permit according to the customer flow of the customer flow of itself access and the access of neighboring access server Perhaps client accesses.
Refer to that basis connects based on the difference for being currently accessed number of users between access server and its neighbours' access server Enter the number of user equipment that accesses on server to do load balancing.Specifically, in other embodiments, when any access service When device receives the access request of client, according to the number of users of the number of users of itself access and the access of neighboring access server Amount determines whether that client accesses.
In wireless environments, when client initiates service request, all access services for receiving this service request Device needs the client-side information being reported to Centralized Controller, by Centralized Controller by the load balancing that is pre-configured and Actual loading situation in current network provides the access server of service to be dynamically adjusted to client.
Shown in Figure 13, in wireless environments, the detailed process of load-balancing method of the embodiment of the present invention is as follows:
E1. access server 1 receives the access request message that client is sent;
E2. access server 1 sends the information of client to Centralized Controller;
E3. Centralized Controller judges whether access server 1 and its neighbours' access server meet load balancing condition, such as Fruit is to turn to E4, if not, turning to E5;
E4. allow client to access the access server 1, terminate.
E5. judge that the reachable information table of client whether there is next reachable access server, if so, E6 is turned to, If not, turning to E4;
Whether E6. Centralized Controller judgement is existing meets load up to access server and its neighbours' access server Weighing apparatus condition, if so, E7 is turned to, if not, turning to E5.
E7. allow client to access this up to access server, terminate.
In cable environment, it is assumed that Centralized Controller is no more than 4 using number of users difference and is used as load balancing Rule of judgment, When access server 1 receives the access request of client, access server 1 obtains client request message ttl value, calculate with Whether the difference of current network environment default is more than threshold value, if it does not exceed the threshold, access server 1 will ask client Information on services is asked to be reported to Centralized Controller.Centralized Controller first searches the reachable server info table of client, if client It holds only one up to access server, then must be allowed for its access;Assuming that client has reachable access server 1 and up to connecing Enter server 2, whether little just first judges to be currently accessed number of users difference between access server 1 and its neighbours' access server In 4, if condition meets, access server 1 is allowed for provide service for client;If being unsatisfactory for number of users difference condition, Service is provided with regard to refusal access server 1 for client;Then judge be between access server 2 and its neighbours' access server It is no to meet access customer number difference condition, until completing the reachable information table of traversal client, finds and wherein meet load balancing The access server of condition.Can even guide that client goes for meeting load balancing condition using technologies such as redirections can Seek to service up to access server.
Shown in Figure 14, in cable environment, the detailed process of load-balancing method of the embodiment of the present invention is as follows:
F1. access server 1 receives the access request message that client is sent;
F2. judge the remaining life span ttl value of access request message whether in the TTL difference range of pre-configuration, such as Fruit is to turn to F3, if not, turning to F5;
F3. access server 1 sends the information of client to Centralized Controller;
F4. Centralized Controller judges whether meet load balancing item between access server 1 and its neighbours' access server Part, if so, F6 is turned to, if not, turning to F7;
F5. refusal client accesses the access server 1, terminates.
F6. allow client to access the access server 1, terminate.
F7. judge that the reachable information table of client whether there is next reachable access server, if so, F8 is turned to, If not, turning to F6;
Whether F8. Centralized Controller judgement is existing meets load up to access server and its neighbours' access server Weighing apparatus condition, if so, F9 is turned to, if not, turning to F7;
F9. allow client to access this up to access server, terminate.
In the present embodiment, when client one and only one up to access server when, allowing client, to access this reachable Access server.
The embodiment of the invention also provides a kind of centralized control type Network Load Balance systems, run on Centralized Controller It is interior.The system includes neighbor information processing module, up to message processing module and load balancing module, load balancing module difference It is connected with neighbor information processing module and up to message processing module.
Neighbor information processing module is used to receive and process the work for other access servers that each access server reports Make status information message, establishs or updates the neighbor information table of access server;Up to message processing module for receiving and locating The work state information message for managing the client that each access server reports establishs or updates the reachable information table of client; Load balancing module judges the reachable access of client for receiving the client Access Request message that access server reports Whether server and its neighbours' access server meet load balancing condition, as the reachable access server of client and its neighbours When access server meets load balancing condition, client is allowed to access up to access server.
The load balancing threshold value that above-mentioned load balancing condition is used based on the control logic inside Centralized Controller, Ke Yiling Configuration living, the maintenance cost and client for reducing manual intervention are because be linked into caused use on the server of overload The situation of family experience difference.
The SiteServer LBS of the embodiment of the present invention is suitable for above-mentioned load-balancing method, passes through foundation and real-time update The neighbor information table of access server and the reachable information table of client can quickly achieve the purpose that load balancing adjusts, Improve network operation efficiency.
The present invention is not limited to the above-described embodiments, for those skilled in the art, is not departing from Under the premise of the principle of the invention, several improvements and modifications can also be made, these improvements and modifications are also considered as protection of the invention Within the scope of.The content being not described in detail in this specification belongs to the prior art well known to professional and technical personnel in the field.

Claims (10)

1. a kind of centralized control type network load balancing method, which is characterized in that itself comprising steps of
The work state information message of other access servers reported according to each access server establishs or updates access clothes It is engaged in the neighbor information table of device, while the work state information message of the client reported according to each access server is established or more The reachable information table of new client;
When any access server receives the access request message of client transmission, if the access server is the visitor The reachable access server at family end, and the reachable access server and its neighbours' access server are all satisfied load balancing item Part then allows client to access the reachable access server.
2. centralized control type network load balancing method as described in claim 1, it is characterised in that: built by Centralized Controller The neighbor information table is found or updates,
Its neighbor information table is established to the access server of not neighbor information table in the Centralized Controller;Neighbours' letter Cease the MAC Address of neighbours' access server in table including the access server;
The work state information message of new MAC Address is carried when the access server receives, and the corresponding access clothes of new MAC Address It is engaged in the neighbor information table of device that the access server is added in new MAC Address there are when the MAC Address of the access server Neighbor information table.
3. centralized control type network load balancing method as claimed in claim 2, it is characterised in that:
In wireless environments, the timing of each access server sends other access servers that it is detected to Centralized Controller Work state information message.
4. centralized control type network load balancing method as claimed in claim 2, it is characterised in that:
In cable environment, when any access server receive other access servers gratuitous ARP packet or the access TTL difference range of the remaining life span ttl value of the probe messages for other access servers that server obtains in pre-configuration When interior, the access server sends the work state information message of other access servers to Centralized Controller.
5. centralized control type network load balancing method as described in claim 1, it is characterised in that: built by Centralized Controller The reachable information table is found or updates,
To not establishing it up to information table up to the client of information table in the Centralized Controller;The reachable information table The MAC Address of the interior reachable access server including the client;
When any access server receives the work state information message for carrying the client of new MAC Address, by the access The reachable information table that new MAC Address corresponds to client is added in the MAC Address of server.
6. centralized control type network load balancing method as claimed in claim 5, it is characterised in that:
In wireless environments, each access server timing sends the work state information message of client to Centralized Controller.
7. centralized control type network load balancing method as claimed in claim 5, it is characterised in that:
In cable environment, when any access server receives the gratuitous ARP packet of client or the access server obtains When the remaining life span ttl value of the access request message of the client taken is in the TTL difference range of pre-configuration, the access Server sends the work state information message of the client to Centralized Controller.
8. such as the described in any item centralized control type network load balancing methods of claim 1-7, which is characterized in that the load Equilibrium condition are as follows: when any access server receives the access request of client, according to itself access customer flow and The customer flow of neighboring access server access determines whether that client accesses.
9. such as the described in any item centralized control type network load balancing methods of claim 1-7, which is characterized in that the load Equilibrium condition are as follows: when any access server receives the access request of client, according to itself access number of users and The number of users of neighboring access server access determines whether that client accesses.
10. a kind of centralized control type Network Load Balance system, runs on Centralized Controller, characterized in that it comprises:
Neighbor information processing module is used to receive and process the work for other access servers that each access server reports Status information message establishs or updates the neighbor information table of the access server;
Up to message processing module, it is used to receive and process the work state information for the client that each access server reports Message establishs or updates the reachable information table of the client;
Load balancing module is connected, for connecing respectively with the neighbor information processing module and up to message processing module Enter the client Access Request message that server reports, and judges reachable access server and its neighbours' access of the client Whether server meets load balancing condition, when the reachable access server and its neighbours' access server of the client meet When load balancing condition, the client is allowed to access the reachable access server.
CN201811594484.1A 2018-12-25 2018-12-25 A kind of centralized control type network load balancing method and system Pending CN109361615A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811594484.1A CN109361615A (en) 2018-12-25 2018-12-25 A kind of centralized control type network load balancing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811594484.1A CN109361615A (en) 2018-12-25 2018-12-25 A kind of centralized control type network load balancing method and system

Publications (1)

Publication Number Publication Date
CN109361615A true CN109361615A (en) 2019-02-19

Family

ID=65329454

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811594484.1A Pending CN109361615A (en) 2018-12-25 2018-12-25 A kind of centralized control type network load balancing method and system

Country Status (1)

Country Link
CN (1) CN109361615A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050005006A1 (en) * 2003-07-01 2005-01-06 International Business Machines Corporation System and method for accessing clusters of servers from the internet network
CN1601979A (en) * 2003-09-24 2005-03-30 联想(北京)有限公司 Load balancing method of radio access point
CN1829177A (en) * 2005-03-01 2006-09-06 华为技术有限公司 Method for realizing load balance between access devices in WLAN
CN101068179A (en) * 2007-06-20 2007-11-07 杭州华三通信技术有限公司 Customer end wireless switch-in method, system and device thereof
CN102196499A (en) * 2010-03-17 2011-09-21 杭州华三通信技术有限公司 Method for realizing access control, central controller and access point (AP) device
CN102223365A (en) * 2011-06-03 2011-10-19 杭州华三通信技术有限公司 User access method and device based on SSL (Secure Socket Layer) VPN (Virtual Private Network) gateway cluster
KR20120075013A (en) * 2010-12-28 2012-07-06 아주대학교산학협력단 Method for avoiding unicast flooding in a redundant network therfor network system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050005006A1 (en) * 2003-07-01 2005-01-06 International Business Machines Corporation System and method for accessing clusters of servers from the internet network
CN1601979A (en) * 2003-09-24 2005-03-30 联想(北京)有限公司 Load balancing method of radio access point
CN1829177A (en) * 2005-03-01 2006-09-06 华为技术有限公司 Method for realizing load balance between access devices in WLAN
CN101068179A (en) * 2007-06-20 2007-11-07 杭州华三通信技术有限公司 Customer end wireless switch-in method, system and device thereof
CN102196499A (en) * 2010-03-17 2011-09-21 杭州华三通信技术有限公司 Method for realizing access control, central controller and access point (AP) device
KR20120075013A (en) * 2010-12-28 2012-07-06 아주대학교산학협력단 Method for avoiding unicast flooding in a redundant network therfor network system
CN102223365A (en) * 2011-06-03 2011-10-19 杭州华三通信技术有限公司 User access method and device based on SSL (Secure Socket Layer) VPN (Virtual Private Network) gateway cluster

Similar Documents

Publication Publication Date Title
US11758416B2 (en) System and method of network policy optimization
US20210360478A1 (en) Adaptable radio access network
WO2020018012A1 (en) Open network automation platform (onap) - fifth generation core (5gc) interaction for analytics
JP2015050774A (en) Method and device for controlling software definition flow in wireless system
US20130003541A1 (en) Mobile Communications Device and Method
CN106576067A (en) Data transmission method and apparatus
AU2013364674A1 (en) Method and apparatus for configuring aggregate maximum bit rate
US20130003599A1 (en) Mobile Communications Network, Infrastructure Equipment and Method
JP6670975B2 (en) Small cell thermal control
EP2996396A1 (en) Method and device for interworking between access technology networks
JP7389243B2 (en) QoS mapping
CN115150305B (en) Carrier network delay link determination system, method, electronic equipment and storage medium
CN110677875A (en) Wireless network load balancing method facing edge computing environment
CN105682014B (en) Communication method and system, access network equipment and application server
WO2022001315A1 (en) Information transmission method and device, storage medium, and electronic device
WO2022257379A1 (en) Private service quality management method, device and system, and storage medium
CN109361615A (en) A kind of centralized control type network load balancing method and system
EP3888332A1 (en) Universal narrow-band internet of things communication node for use with environmental sensors and stations
CN106792820B (en) small base station control protocol and method using SDN controller
CN103796174B (en) The transfer approach and corresponding colony terminal and access node of a kind of cluster information
US11665634B2 (en) Interface selection using domain name service (DNS) round trip time (RTT)
CN114467286A (en) Registering and configuring network functions for selective routing of uplink data traffic
US20150372919A1 (en) Systems and methods for enhanced signaling for beacon load reduction
CN105432122A (en) Service transfer method, user device and access network device
Athamena et al. Flexible Connection Hand-off: A Software-Defined Networks Load Balancing Algorithm

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