CN108063819A - Data communications method and device - Google Patents

Data communications method and device Download PDF

Info

Publication number
CN108063819A
CN108063819A CN201711372029.2A CN201711372029A CN108063819A CN 108063819 A CN108063819 A CN 108063819A CN 201711372029 A CN201711372029 A CN 201711372029A CN 108063819 A CN108063819 A CN 108063819A
Authority
CN
China
Prior art keywords
tunnel
server
communication tunnel
communication
response
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.)
Granted
Application number
CN201711372029.2A
Other languages
Chinese (zh)
Other versions
CN108063819B (en
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.)
Maipu Communication Technology Co Ltd
Original Assignee
Maipu Communication 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 Maipu Communication Technology Co Ltd filed Critical Maipu Communication Technology Co Ltd
Priority to CN201711372029.2A priority Critical patent/CN108063819B/en
Publication of CN108063819A publication Critical patent/CN108063819A/en
Application granted granted Critical
Publication of CN108063819B publication Critical patent/CN108063819B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • H04L67/1004Server selection for load balancing
    • 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
    • H04L67/1004Server selection for load balancing
    • H04L67/1008Server selection for load balancing based on parameters of servers, e.g. available memory or workload

Landscapes

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

Abstract

The embodiment of the present application provides a kind of data communications method and device, belongs to field of communication technology.Method includes:For any communication tunnel at least one communication tunnel of server connection, the response time when server that communication tunnel is connected responds the tunnel keepalive message that corresponding access concentrator is sent is updated;Based on the response time of every communication tunnel at least one communication tunnel, update server is to the average response duration of at least one communication tunnel;Correspondence based on each average response duration and a server determines the destination server corresponding to minimum average B configuration response time from the corresponding multiple average response durations of multiple servers, so that destination server is used to establish new communication tunnel.The load of newly-established communication tunnel is then shared onto the minimum destination server of load so that the load of each communication tunnel is evenly distributed, and causes the efficiency of each server by the utilization of efficient uniform.

Description

Data communications method and device
Technical field
This application involves field of communication technology, in particular to a kind of data communications method and device.
Background technology
User can be provided virtual special by ISP (Internet Service Provider, ISP) Corporate networks are connected to Dial-up Network (Virtual Private Dial-up Network, VPDN), that is, it is ripe for people That knows dials up on the telephone.It at present, can be based on L2TP agreements (Layer 2Tunneling Protocol, the second layer in VPDN technologies Tunnel protocol) it is a kind of VPDN technologies, the Internet service providers enable or other suppliers for accessing service create void Intend passage, the remote site of client or remote user are needed with user the major network connection of access enterprise.
The content of the invention
The application's is designed to provide a kind of data communications method and device.
Embodiments herein is realized in the following way:
In a first aspect, the embodiment of the present application provides a kind of data communications method, applied to the load in communication system point Device is carried on a shoulder pole, the communication system further includes multiple servers and passes through with each server in the multiple server described negative It carries and shares the access concentrator that device establishes the connection of at least one communication tunnel.The described method includes:For server connection extremely Any communication tunnel in a few communication tunnel, corresponding access of server response that update communication tunnel is connected collect Response time during the tunnel keepalive message that middle device is sent;Sound based on every communication tunnel at least one communication tunnel Duration is answered, updates average response duration of the server at least one communication tunnel;During based on each average response The long correspondence with a server determines minimum average B configuration from the corresponding multiple average response durations of the multiple server Destination server corresponding to response time, so that the destination server is used to establish new communication tunnel.
In the embodiment of the present application, load balancing device is for any logical at least one communication tunnel of server connection Believe tunnel, server response time in the communication tunnel may be updated in load balancing device, and based on this, load balancing device then may be used Update the average response duration of at least one communication tunnel of server connection.Further, according to each server with The correspondence of average response duration, then load balancing device can be determined from the corresponding multiple average response durations of multiple servers Go out the destination server corresponding to minimum average B configuration response time.Since average response duration is smaller, corresponding service is symbolized The load of device is smaller, and response speed is faster.It is new to establish when determined destination server is used to establish new communication tunnel The load of communication tunnel then shared onto the minimum destination server of load so that each communication tunnel loads To evenly distributing, and cause the efficiency of each server by the utilization of efficient uniform.
With reference to the technical solution that above-mentioned first aspect provides, in some possible realization methods, the more new traffic tunnel The server that road is connected responds the response time during tunnel keepalive message that corresponding access concentrator is sent.Including: Obtain the acquisition that the access concentrator that the communication tunnel is connected sends the tunnel keepalive message to the server During the response of moment and the tunnel keepalive response message for obtaining the server response tunnel keepalive message and returning It carves;When duration difference between the acquisition moment and the response moment is used to update the response of the communication tunnel It is long.
In the embodiment of the present application, the tunnel keepalive that load balancing device is sent by that will obtain access concentrator to server Gathered acquisition moment, and the tunnel returned also by server will be obtained in response to tunnel keepalive message are acted at the time of message As the response moment gathered at the time of road keep-alive response message.Further, the acquisition moment and response moment are being obtained Between duration difference be directed to this one side that load balancing device in the communication tunnel is connected with server, and due to servicing The response time of device is only this one side being connected for load balancing device with server.Therefore only for this one side duration difference Response time to update server can more accurately reflect the load height of server, and further improve load The precision of calculating.
It is described by the acquisition in some possible realization methods with reference to the technical solution that above-mentioned first aspect provides Duration difference between moment and the response moment is used to update the response time of the communication tunnel.Including:It obtains The duration difference obtained between moment and the response moment, the duration difference are an absolute value;When will be described Response time before this update of long difference and the communication tunnel, which is assigned to perform after the weighted value of a communication tunnel, asks flat , the newer response time is obtained.
In the embodiment of the present application, it is by by duration difference and the letter tunnel sheet to the update of the response time of server Response time before secondary update performs averaging after assigning a weighted value, so as to obtain newer response time.It is calculated in update Response time before middle this update by the letter tunnel is assigned weighted value and is added in update calculating, avoids in calculating due to dashing forward The situation of change and cause the response time distortion for updating, thus further improve load calculate precision.
It is described to obtain described lead in some possible realization methods with reference to the technical solution that above-mentioned first aspect provides The access concentrator that letter tunnel is connected is after the acquisition moment that the server sends the tunnel keepalive message.Institute The method of stating further includes:In the access concentrator that the acquisition communication tunnel is connected tunnel is sent to the server again Before keep Alive Packet, judge whether to receive the tunnel keepalive response message;If not, the tunnel keepalive by the communication tunnel Message total adds 1, to update the weighted value, letter tunnel keepalive response message and institute of the weighted value for the communication tunnel State the ratio of the tunnel keepalive response message sum of communication tunnel.
In the embodiment of the present application, since weighted value is the letter tunnel keepalive response message and communication tunnel of communication tunnel The ratio of tunnel keepalive response message sum, therefore the weighted value of the dynamic change can symbolize the packet loss of the communication tunnel, And the current performance of the communication tunnel is reflected.By the weighted value of the dynamic change for reflecting communication tunnel current performance It is added in update calculating, load can be reflected from the performance of communication tunnel, further improve the accurate of load calculating Degree.
With reference to the technical solution that above-mentioned first aspect provides, in some possible realization methods, it is described based on it is described extremely The response time of every communication tunnel, updates the server at least one communication tunnel in a few communication tunnel Before average response duration.The method further includes:Judge to have updated the logical of response time at least one communication tunnel Whether the tunnel quantity in letter tunnel meets pre-set threshold numbers;If so, perform step:It is described to be connected extremely based on the server The response time of every communication tunnel in a few communication tunnel, at least one communication tunnel for updating the server are averaged Response time.
In the embodiment of the present application, only when the tunnel for the communication tunnel that response time has been updated at least one communication tunnel Road quantity just updates the average response duration of at least one communication tunnel when meeting pre-set threshold numbers.Ensureing average ring Duration is answered to realize newer effect simultaneously, operand is effectively reduced, reduces the computational load of load balancing device, improve Load balancing device efficiency.
Second aspect, the embodiment of the present application provide a kind of data communication equipment, applied to the load in communication system point Device is carried on a shoulder pole, the communication system further includes multiple servers and passes through with each server in the multiple server described negative It carries and shares the access concentrator that device establishes the connection of at least one communication tunnel.Described device includes:First update module, for pin To any communication tunnel at least one communication tunnel of server connection, the server that communication tunnel is connected is updated Respond the response time during tunnel keepalive message that corresponding access concentrator is sent.Second update module, it is described for being based on The response time of every communication tunnel at least one communication tunnel updates the server at least one communication tunnel Average response duration.Selecting module, for the correspondence based on each average response duration and a server, from described more The destination server corresponding to minimum average B configuration response time is determined in the corresponding multiple average response durations of a server, so that The destination server is used to establish new communication tunnel.
In the embodiment of the present application, load balancing device is for any logical at least one communication tunnel of server connection Believe tunnel, server response time in the communication tunnel may be updated in load balancing device, and based on this, load balancing device then may be used Update the average response duration of at least one communication tunnel of server connection.Further, according to each server with The correspondence of average response duration, then load balancing device can be determined from the corresponding multiple average response durations of multiple servers Go out the destination server corresponding to minimum average B configuration response time.Since average response duration is smaller, corresponding service is symbolized The load of device is smaller, and response speed is faster.It is new to establish when determined destination server is used to establish new communication tunnel The load of communication tunnel then shared onto the minimum destination server of load so that each communication tunnel loads To evenly distributing, and cause the efficiency of each server by the utilization of efficient uniform.
With reference to the technical solution that above-mentioned second aspect provides, in some possible realization methods.The first update mould Block includes:Obtaining unit sends institute for obtaining the access concentrator that the communication tunnel is connected to the server It states the acquisition moment of tunnel keepalive message and obtains the tunnel that the server responds the tunnel keepalive message and returns and protect The response moment of response message living.First updating block, for obtaining moment and the duration responded between the moment by described Difference is used to update the response time of the communication tunnel.
In the embodiment of the present application, the tunnel keepalive that load balancing device is sent by that will obtain access concentrator to server Gathered acquisition moment, and the tunnel returned also by server will be obtained in response to tunnel keepalive message are acted at the time of message As the response moment gathered at the time of road keep-alive response message.Further, the acquisition moment and response moment are being obtained Between duration difference be directed to this one side that load balancing device in the communication tunnel is connected with server, and due to servicing The response time of device is only this one side being connected for load balancing device with server.Therefore only for this one side duration difference Response time to update server can more accurately reflect the load height of server, and further improve load The precision of calculating.
With reference to the technical solution that above-mentioned second aspect provides, in some possible realization methods.First update is single Member includes:Difference obtains subelement, for obtaining the duration difference between the acquisition moment and the response moment, institute Duration difference is stated as an absolute value.Duration updates subelement, for by this update of the duration difference and the communication tunnel Preceding response time performs averaging after assigning the weighted value of a communication tunnel, obtains the newer response time.
In the embodiment of the present application, it is by by duration difference and the letter tunnel sheet to the update of the response time of server Response time before secondary update performs averaging after assigning a weighted value, so as to obtain newer response time.It is calculated in update Response time before middle this update by the letter tunnel is assigned weighted value and is added in update calculating, avoids in calculating due to dashing forward The situation of change and cause the response time distortion for updating, thus further improve load calculate precision.
With reference to the technical solution that above-mentioned second aspect provides, in some possible realization methods, the first update mould Block further includes:Judging unit, for obtaining the access concentrator that the communication tunnel connected again to the service Before device sends tunnel keepalive message, judge whether to receive the tunnel keepalive response message.Second updating block, for such as It is no, the tunnel keepalive message total of the communication tunnel is added 1, to update the weighted value, the weighted value is the communication The ratio of the letter tunnel keepalive response message and the tunnel keepalive response message sum of the communication tunnel in tunnel.
In the embodiment of the present application, since weighted value is the letter tunnel keepalive response message and communication tunnel of communication tunnel The ratio of tunnel keepalive response message sum, therefore the weighted value of the dynamic change can symbolize the packet loss of the communication tunnel, And the current performance of the communication tunnel is reflected.By the weighted value of the dynamic change for reflecting communication tunnel current performance It is added in update calculating, load can be reflected from the performance of communication tunnel, further improve the accurate of load calculating Degree.
With reference to the technical solution that above-mentioned second aspect provides, in some possible realization methods, described device further includes: Judgment module, for whether judging to have updated the tunnel quantity of the communication tunnel of response time at least one communication tunnel Meet pre-set threshold numbers.Execution module, for if so, performing step:It is described based on the server connection at least one The response time of every communication tunnel in communication tunnel, when updating the average response of at least one communication tunnel of the server It is long.
In the embodiment of the present application, only when the tunnel for the communication tunnel that response time has been updated at least one communication tunnel Road quantity just updates the average response duration of at least one communication tunnel when meeting pre-set threshold numbers.Ensureing average ring Duration is answered to realize newer effect simultaneously, operand is effectively reduced, reduces the computational load of load balancing device, improve Load balancing device efficiency.
The advantageous effect of the embodiment of the present application is:
Load balancing device is for any communication tunnel at least one communication tunnel of server connection, load balancing device Renewable server response time in the communication tunnel, based on this, server connection then may be updated in load balancing device At least one communication tunnel average response duration.Further, according to each server and pair of average response duration It should be related to, then when load balancing device can determine minimum average B configuration response from the corresponding multiple average response durations of multiple servers Long corresponding destination server.Since average response duration is smaller, it is smaller to symbolize the load of corresponding server, and Response speed is faster.When determined destination server for when establishing new communication tunnel, newly-established communication tunnel to be born It carries and is then shared onto the minimum destination server of load, so that the load of each communication tunnel is evenly distributed, and So that the efficiency of each server is by the utilization of efficient uniform.
For the above-mentioned purpose of the application, feature and advantage is enable to be clearer and more comprehensible, preferred embodiment cited below particularly, and coordinate Appended attached drawing, is described in detail below.
Description of the drawings
It, below will be to needed in the embodiment attached in order to illustrate more clearly of the technical solution of the embodiment of the present application Figure is briefly described, it should be understood that the following drawings illustrates only some embodiments of the application, therefore is not construed as pair The restriction of scope, for those of ordinary skill in the art, without creative efforts, can also be according to this A little attached drawings obtain other relevant attached drawings.
Fig. 1 shows a kind of structure diagram for communication system that the application first embodiment provides;
Fig. 2 shows a kind of first pass figure for data communications method that the application second embodiment provides;
Fig. 3 shows the sub-process figure of step S100 in a kind of data communications method that the application second embodiment provides;
Fig. 4 shows a kind of first structure block diagram for data communication equipment that the application 3rd embodiment provides;
Fig. 5 shows the first knot of the first update module in a kind of data communication equipment that the application 3rd embodiment provides Structure block diagram;
Fig. 6 shows the structural frames of the first updating block in a kind of data communication equipment that the application 3rd embodiment provides Figure;
Fig. 7 shows the second knot of the first update module in a kind of data communication equipment that the application 3rd embodiment provides Structure block diagram;
Fig. 8 shows a kind of the second structure diagram of data communication equipment that the application 3rd embodiment provides.
Specific embodiment
In the communication network based on L2TP protocol constructions, LAC equipment (the L2TP Access at operator end Concentrator, L2TP Access Concentrator) (L2TP Network Server, L2TP networks take with the LNS equipment of enterprises end Business device) between communicated to connect by L2TP protocol constructions.Therefore user terminal can be based on establishing the tunnel that communicates with LNS by accessing LAC Road, so as to fulfill user terminal to the data access of enterprises end.But with the number of users that enterprises end is accessed by L2TP special lines Constantly increase, the load pressure of each LNS equipment of enterprises end is increasing, therefore, how to share the load of each LNS equipment It is current institute's problem encountered.
Based on above-mentioned technical problem, the solution proposed at present is according to the performance of each LNS equipment, is each LNS equipment allocates a communication tunnel amount threshold that can allow for access in advance.So as in real process, each LNS equipment It is connected according to set communication tunnel amount threshold to establish communication tunnel with each user terminal, so as to avoid some The communication tunnel that LNS equipment is established is excessive, and causes the LNS equipment excess loads.
But inventor has found by long-term practical studies, LNS equipment in actual use, the hardware of LNS equipment Structure, network parameter, running environment etc. can cause to have differences between the actual performance of LNS equipment and predicted performance.The difference It is different, it results in the load that LNS equipment is actually undertaken and is differed with default load, for example, presetting the LNS equipment can hold The communication tunnel amount threshold of load is 1000, and the communication tunnel quantity that the actual LNS equipment can carry is 800.Therefore, The difference will cause LNS equipment although to set for the communication tunnel amount threshold of load sharing, but LNS equipment is actual also It is that can operate in excess load, so as to influence the performance and used life of LNS equipment.
The defects of present in above scheme of the prior art, be that inventor is drawing after putting into practice and carefully studying As a result, therefore, the solution that the discovery procedure of the above problem and hereinafter the embodiment of the present application are proposed regarding to the issue above Scheme all should be the contribution that inventor makes the application during the application.
Based on the studies above, the embodiment of the present application provides a kind of data communications method and device.Load balancing device is directed to Server may be updated in the communication tunnel in any communication tunnel at least one communication tunnel of server connection, load balancing device The response time in road, based on this, at least one communication tunnel of server connection then may be updated in load balancing device Average response duration.Then load balancing device can determine minimum average B configuration from the corresponding multiple average response durations of multiple servers Destination server corresponding to response time.Since average response duration is smaller, the load for symbolizing corresponding server is got over It is small, and response speed is faster.When determined destination server is used to establish new communication tunnel, newly-established communication tunnel Load then shared onto the minimum destination server of load so that the load of each communication tunnel is uniformly divided Match somebody with somebody, and cause the efficiency of each server by the utilization of efficient uniform.
Below in conjunction with attached drawing in the embodiment of the present application, the technical solution in the embodiment of the present application is carried out clear, complete Ground describes, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.Usually exist The component of the embodiment of the present application described and illustrated in attached drawing can configure to arrange and design with a variety of herein.Cause This, the detailed description of the embodiments herein to providing in the accompanying drawings is not intended to limit claimed the application's below Scope, but it is merely representative of the selected embodiment of the application.Based on embodiments herein, those skilled in the art are not doing Go out all other embodiments obtained on the premise of creative work, shall fall in the protection scope of this application.
It should be noted that:Similar label and letter represents similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined, then it further need not be defined and explained in subsequent attached drawing in a attached drawing.Term " first ", " the Two " etc. are only used for distinguishing description, and it is not intended that instruction or hint relative importance.
First embodiment
Referring to Fig. 1, the embodiment of the present application provides a kind of communication system 10, which includes:It is at least one Access concentrator 11, multiple servers 12 and load balancing device 13.
Communication system 10 is the communication system established based on L2TP agreements, therefore access concentrator 11 can be LAC equipment, It can be with for LAC access concentrator.In at least one access concentrator 11 each access concentrator 11 be based on L2TP agreements with Load balancing device 13 establishes connection.
The communication system 10 that L2TP agreements are established, server 12 or LNS equipment are also based on, is L2TP nets Network server.Each server 12 in multiple servers 12 is also based on L2TP agreements and is electrically connected with the foundation of load balancing device 13 It connects.
Load balancing device 13 can be the IDE for possessing signal reception, processing and transmitting capacity.The present embodiment In, load balancing device 13 is connected also based on L2TP agreements at least one access concentrator 11 and multiple servers 12 respectively, is made It obtains each user terminal and is based at least one access concentrator 11 during multiple servers 12 are accessed, load balancing device 13 is then It can will be on each server 12 shared in multiple servers 12 of Load Balanced caused by each user terminal access.
Second embodiment
Referring to Fig. 2, the embodiment of the present application provides a kind of data communications method, which is applied to communication Load balancing device in system, the data communications method include:Step S100, step S200 and step S300.
Step S100:For any communication tunnel at least one communication tunnel of server connection, more new traffic tunnel The server that road is connected responds the response time during tunnel keepalive message that corresponding access concentrator is sent.
In the present embodiment, access that the realization method of each user terminal access all can be accessed by the user's terminal A communication tunnel based on L2TP agreements is established between concentrator and the server of corresponding access, therefore each server is by extremely During a few user terminal access, each server can by load balancing device and a corresponding access concentrator it Between establish at least one communication tunnel.
Since the data interaction of each server is all based on L2TP agreements, then it can be seen that each being taken in multiple servers The mode of device execution data interaction of being engaged in and the mode all same of the other servers execution data interactions of multiple servers, therefore this implementation Example is described in detail so that load balancing device is interacted with any one server execution in multiple servers as an example, but does not make For to being limited in the present embodiment.
Also due to every communication tunnel is all based on L2TP agreements at least one communication tunnel of server connection, therefore Data interaction mode is led to other at least one communication tunnel in every communication tunnel at least one communication tunnel Believe data interaction mode all same in tunnel, therefore the present embodiment is also in load balancing device and at least one communication tunnel It is described in detail, but is not intended as to being limited in the present embodiment exemplified by the execution interaction of any bar communication tunnel.
It should be noted that at least one communication tunnel that server is connected is not intended as the restriction to the present embodiment, For example, using at least one communication tunnel as one group of communication tunnel, then server can also connect multi-unit message tunnel.
In the present embodiment, when terminal device access concentrator, access concentrator can then connect between server A communication tunnel is connect in order to which the terminal device realizes the data interaction with server based on the communication tunnel.It is but logical at this After believing tunnel building, access concentrator needs go to know whether the communication tunnel also survives in real time.Therefore access concentrator can base In L2TP agreements, periodically a tunnel keepalive report is sent to the server that the communication tunnel is connected by intervals Text.At this point, access concentrator then can by judge whether from the communication tunnel obtain server respond the tunnel keepalive message and The tunnel keepalive response message of return.Access concentrator is based on the judgement to tunnel keepalive response message, for example, access concentrator Judge not obtain also the tunnel keepalive response message of the communication tunnel continuously across N number of cycle, then tunnel keepalive response report Text can determine whether that the communication tunnel is not being survived, and then delete the communication tunnel.Conversely, then continue to the logical of the communication tunnel Letter.
In the present embodiment, load centralization device is then tunnel keepalive message and tunnel based on the interaction in the communication tunnel Keep-alive response message determines the load of server that the communication tunnel is connected.
Specifically, the server when the access concentrator in the communication tunnel in current period into the communication tunnel is sent During one tunnel keepalive message, which can reach load balancing device, therefore load balancing device can be to the moment into rower Note, and the tunnel keepalive message is also forwarded to server.For server when obtaining the tunnel keepalive message, server can be to this Tunnel keepalive message responds.I.e. server can generate tunnel keepalive response message corresponding with the tunnel keepalive message, And the access concentrator into communication tunnel sends the tunnel keepalive response message.Server sends tunnel keepalive response message Load balancing device can be reached.
And in load balancing device, load balancing device is stored with the server before this secondary response communication tunnel to this One response time of communication tunnel, therefore current time for being reached according to tunnel keepalive response message of load balancing device and mark before It can then go the server being updated to the communication tunnel sheet response time before the communication tunnel at the time of note Secondary response time.
Step S200:Based on the response time of every communication tunnel at least one communication tunnel, the clothes are updated Business device is to the average response duration of at least one communication tunnel.
When the server is previously stored in load balancing device to the average response of at least one communication tunnel connected It is long.The average response duration can reflect responsive state of the server at least one communication tunnel entirety.Certainly this is whole The responsive state of body is obtained after being averaging to server to the responsive state of every communication tunnel at least one communication tunnel 's.
After load balancing device is updated the response time of a communication tunnel, where the corresponding communication tunnel extremely The average response duration of a few communication tunnel is also required to update.Further, in load balancing device to communication tunnel After response time is updated, load balancing device can be based at least one communication tunnel during the response of every communication tunnel Long, update server is to the average response duration of at least one communication tunnel.Wherein, at least one communication tunnel being based on In every communication tunnel response time in include the response time of the newer communication tunnel.
It updates average response duration and is specifically as follows:
S_LNS==∑ Ave_TTR (i)/tunnel number
Wherein, the average response duration that S_LNS is the server at least one communication tunnel connected;Ave_TTR (i) it is the response time of i-th communication tunnel at least one communication tunnel;Tunnel number is at least one communication tunnel Total quantity.
That is, load balancing device can to the response time of each communication tunnel at least one communication tunnel into Row summation, so as to obtain the overall response duration of at least one communication tunnel.Afterwards, load balancing device again removes the overall response duration With the total quantity of at least one communication tunnel, average response duration of the server at least one communication tunnel can be updated.
As a kind of mode, the quantity of at least one communication tunnel of this in practical application is in most cases much larger than 1, therefore updated according to the response time of any communication tunnel at least one communication tunnel, then update at least one communication tunnel The average response duration in road can so that the operand of load balancing device is excessive, caused by load it is also excessive.And due at least one The radix of communication tunnel is larger, can also cause each newer numerical value compared to almost not having before update using above-mentioned update mode It changes.Optionally, load balancing device is before the average response duration at least one communication tunnel is updated, load point Load device can determine whether the tunnel quantity that the communication tunnel of response time has been updated at least one communication tunnel meets default threshold It is worth quantity.Wherein, which can make choice according to actual conditions, for example, selected as 10,20 or 50 etc..
When load balancing device judges to have updated the tunnel quantity of the communication tunnel of response time at least one communication tunnel It is unsatisfactory for pre-set threshold numbers.For example, the communication tunnel quantity for having updated response time is 9, and pre-set threshold numbers are 10.Its Represent that response time update tunnel quantity is more not enough, therefore load balancing device continues waiting for and continue to execute to judge whether to meet in advance If number of thresholds.
When load balancing device judges to have updated the tunnel quantity of the communication tunnel of response time at least one communication tunnel Meet pre-set threshold numbers.For example, the communication tunnel quantity for having updated response time is 10, and pre-set threshold numbers are 10.Its Represent response time update tunnel quantity and enough, therefore load balancing device just performs step S200.
It should be noted that in this embodiment, every communication tunnel at least one communication tunnel being based on Response time in include the response time of the newer communication tunnel, and during the response of newer communication tunnel Long quantity meets pre-set threshold numbers.
Step S300:Correspondence based on each average response duration and a server, from the multiple server pair The destination server corresponding to minimum average B configuration response time is determined in the multiple average response durations answered, so that the target takes Business device is used to establish new communication tunnel.
In the present embodiment, using at least one communication tunnel being connected with server as one group, then server can connect Connect multigroup at least one communication tunnel.Further, at least one communication tunnel has a corresponding average response duration, then Each average response duration can possess correspondence with a server, and then multiple servers have then corresponded to multiple average sound Answer duration.
It will be appreciated that the big I characterization of the length of the average response duration corresponding to server is to the server It loads uneven, for example, the average response duration of server is more long, the server can be symbolized and visited based on each user terminal Load when asking is bigger;Conversely, the average response duration of server is smaller, the server can be symbolized and be based on each user terminal Load during access is smaller.
After any average response duration is updated during load balancing device is to multiple average response durations, then multiple flat The average response duration of duration value minimum is it can also happen that change in equal response time.At this point, load balancing device can be from multiple The destination server corresponding to minimum average B configuration response time is determined in the corresponding multiple average response durations of server.
For example, before the average response duration update corresponding to server A, the average response duration corresponding to server A For average response corresponding to 2.1 seconds, server B when a length of 2.3 seconds, average response corresponding to server B when a length of 3 seconds, Then the minimum destination server of load is server A before update.When the average response duration corresponding to server A is updated to 3.1 Second when, at this point, being just no longer within a length of 3.1 seconds during average response corresponding to server A minimum duration.Therefore load balancing device After server A update, determine server B for minimum average B configuration response time institute from server A, server B and server C Corresponding destination server.
Further, after load balancing device determines destination server, which is then used to set up new Communication tunnel.It can be understood that, the load of the destination server is minimum in multiple servers, therefore working as has new user When terminal needs to access server, load balancing device establishes the access based on the user terminal access concentrator newly accessed Communication tunnel between concentrator and destination server, so that the load of the user terminal newly accessed is by the destination server point Load.
Referring to Fig. 3, in a kind of data communications method provided by the embodiments of the present application, the method sub-process of step S100 It further includes:Step S110 and step S120.
Step S110:It obtains the access concentrator that the communication tunnel is connected and sends the tunnel to the server The acquisition moment of road keep Alive Packet and the tunnel keepalive for obtaining the server response tunnel keepalive message and returning should Answer the response moment of message.
After load balancing device establishes connection with access concentrator and server respectively by communication tunnel, when the communication tunnel In access concentrator when server of the current period into the communication tunnel sends a tunnel keepalive message, load balancing device The tunnel keepalive message can be intercepted in communication tunnel.At this point, clock of the load balancing device according to itself, is obtaining the tunnel It can determine that an acquisition moment at the time of keep Alive Packet.Afterwards, load balancing device is then according to the address in the tunnel keepalive message, The tunnel keepalive message is forwarded to corresponding server in communication tunnel.Corresponding server is obtaining the tunnel keepalive message Afterwards, server can be responded for the tunnel keepalive message, i.e., the access concentrator in communication tunnel sends corresponding tunnel Keep-alive response message.And then load balancing device can also intercept the tunnel keepalive response message in communication tunnel.At this point, load The tunnel keepalive response message can be determined to be sent out before response according to the mark in tunnel keepalive response message first by sharing device The tunnel keepalive response message of the tunnel keepalive message sent.Load balancing device is protected further according to the clock of itself obtaining the tunnel A response moment is can determine that at the time of response message living.Afterwards, load balancing device is also according in the tunnel keepalive response message Address, which is forwarded to corresponding access concentrator in communication tunnel.
It should be noted that load balancing device goes to determine that it is the present embodiment to obtain the moment when obtaining tunnel keepalive message A kind of middle optional embodiment.As another optional realization method, tunnel keepalive message is sent according to access concentrator Periodicity, load balancing device can establish with access concentrator send tunnel keepalive message periodic synchronous cycle.Work as Access concentrator switches according to the cycle and sends tunnel keepalive message, the also synchronous execution cycle switching of load balancing device, and negative Load is shared as the moment is obtained at the time of device will switch synchronizing cycle automatically, without judging whether to obtain the tunnel keepalive message. Certainly, the aforesaid way also one of which embodiment only as the present embodiment, is not intended as the restriction to the present embodiment.
Step S120:Duration difference between the acquisition moment and the response moment is used to update the communication tunnel The response time in road.
For load balancing device when obtaining acquisition moment and the response moment corresponding to the communication tunnel, load balancing device can be into One step goes to obtain duration difference, that is, obtains the acquisition moment and respond the duration difference between the moment.
In the present embodiment, for ease of the execution subsequently calculated, which is an absolute value.If for example, pass through The acquisition moment subtracts the response moment to obtain duration difference, then needs to seek absolute value to the execution of duration difference;If pass through response Moment, which subtracts, obtains the moment to obtain duration difference, then without seeking absolute value to the execution of duration difference.
Certainly, the present embodiment can be used the response moment and subtract and obtain the moment and obtain duration difference, be not intended as to this reality The restriction of example is applied, calculation formula is specially:
TTR (i)=T2 (i)-T1 (i)
Wherein, T2 (i) is the response moment of i-th communication tunnel, and T1 (i) is the acquisition moment of i-th communication tunnel, TTR (i) is the duration difference of i-th communication tunnel.
Afterwards, the response time before this update of the communication tunnel of load balancing device based on storage, by the communication tunnel Response time before this update is brought into calculating together with duration difference, will the duration difference of the communication tunnel and communication tunnel Response time before this update of road performs averaging after assigning the weighted value of a communication tunnel, that is, when obtaining newer response It is long.
Specifically, the calculation formula of newer response time is specially:
Ave_TTR (i) _ t=(1-w) * Ave_TTR (i) _ (t-1)+w*TTR (i) _ t
Wherein, sound when Ave_TTR (i) _ (t-1) is (t-1) the secondary updates of communication tunnel i before the t times update Answer duration;TTR (i) _ t is the duration difference that the communication tunnel is obtained when updating for the t times;Ave_TTR (i) _ t is the communication tunnel The updated response time in road the t times, w are the weighted value of the communication tunnel;The t times update is this update.
In the present embodiment, weighted value indicates the size of the load condition variation of the server.If weighted value value is 0, then the average response duration of the communication tunnel is equal to the response time of communication tunnel.If weighted value is excessive, for example, weighted value is Close to 1, it is impossible to effectively reduce distortion effect caused by server load state abrupt change.If weighted value is too small, for example, power Weight values be close to 0, then can be pair so that calculated result reacts slow compared with real server state change, it is impossible to close The current load variable condition of reason ground reflection server.Therefore, it is necessary to determine the weighted value according to the situation of actual implementation Weighted value for example, weighted value to be determined as to one 0.5 definite value, for another example, is determined as the value of a dynamic change by size.
Therefore, based on above-mentioned calculation formula, then this update of load balancing device, which obtains response time, is and this update Response time before has centainly relational, avoids the mutation of server load and obtains response time to this update Cause distortion.
As an alternative embodiment, weighted value can be preset certain value, as another optional The value of embodiment, weighted value or a dynamic change.Specifically, since weighted value needs to reflect server current The lower operating status of load, and the load that server is carried is different, the operating status of server is also not quite similar.And due to The quality of the operating status of server can also be judged on the packet loss from server to message actually, therefore the weight of dynamic change Value can be with the packet loss for the server to the communication tunnel, i.e. the weighted value of the communication tunnel is the letter tunnel of communication tunnel The ratio of the tunnel keepalive response message sum of keep-alive response message and communication tunnel.
When the weighted value for the server to the packet loss of the communication tunnel when, load balancing device then can be according to server pair The variation of the packet loss of the communication tunnel and to weighted value carry out real-time update.
Specifically, after this tunnel keepalive message of acquisition is transmitted to server by load balancing device, and load balancing device Before the access concentrator connected in acquisition communication tunnel sends tunnel keepalive message to server again, load balancing device can Judge the tunnel keepalive response report corresponding with this tunnel keepalive message that server returns whether is received within the period Text.
When being judged as YES, then illustrate that server has carried out this tunnel keepalive message response without packet loss, thus it is negative Load shares device and adds the tunnel keepalive response message sum of the tunnel keepalive message total of the communication tunnel and the communication tunnel 1, update the weighted value.
When being judged as NO, then illustrate that server does not respond and packet loss this tunnel keepalive message, therefore load It shares device and the tunnel keepalive message total of the communication tunnel is added 1, also update the weighted value.
It should be noted that it is used as the weighted value of the communication tunnel to the packet loss of the communication tunnel using server, Enable the server that calculation formula is obtained to the average response duration of at least one communication tunnel with accurately anti- The server should be gone out and be based on load condition caused by least one communication tunnel interaction, then once the server load shape The sudden variation of state would not generate subsequent execution load balancing violent influence, so as to avoid short-term server state acute It is strong to shake the load balancing upheaval brought and device resource waste.
3rd embodiment
Referring to Fig. 4, the embodiment of the present application provides a kind of data communication equipment 100, which applies Load balancing device in communication system, the data communication equipment 100 include:
First update module 110, for be directed to server connection at least one communication tunnel in any communication tunnel, The server that update communication tunnel is connected responds the response during tunnel keepalive message that corresponding access concentrator is sent Duration;
Second update module 120, for the response time based on every communication tunnel at least one communication tunnel, Update average response duration of the server at least one communication tunnel;
Selecting module 130, for the correspondence based on each average response duration and a server, from the multiple clothes The destination server corresponding to minimum average B configuration response time is determined in the corresponding multiple average response durations of business device, so that described Destination server is used to establish new communication tunnel.
Referring to Fig. 5, in a kind of data communication equipment 100 provided by the embodiments of the present application, the first update module 110 is wrapped It includes:
Obtaining unit 111 is sent out for obtaining the access concentrator that the communication tunnel is connected to the server It send the acquisition moment of the tunnel keepalive message and obtains the tunnel that the server responds the tunnel keepalive message and returns The response moment of road keep-alive response message.
First updating block 112, for the duration difference between the acquisition moment and the response moment to be used for more The response time of the new communication tunnel.
Referring to Fig. 6, in a kind of data communication equipment 100 provided by the embodiments of the present application, the first updating block 112 wraps It includes:
Difference obtains subelement 1121, poor for obtaining the duration between the acquisition moment and the response moment Value, the duration difference are an absolute value.
Duration updates subelement 1122, during for by response before the duration difference and the communication tunnel this update Averaging is performed after the long weighted value for assigning a communication tunnel, obtains the newer response time.
Referring to Fig. 7, in a kind of data communication equipment 100 provided by the embodiments of the present application, the first update module 110 is also Including:
Judging unit 113, for obtaining the access concentrator that the communication tunnel connected again to the clothes It is engaged in before device transmission tunnel keepalive message, judges whether to receive the tunnel keepalive response message.
Second updating block 114, for if not, the tunnel keepalive message total of the communication tunnel is added 1, to update Weighted value is stated, the weighted value is the letter tunnel keepalive response message of the communication tunnel and the tunnel keepalive of the communication tunnel The ratio of response message sum.
Referring to Fig. 8, in a kind of data communication equipment 100 provided by the embodiments of the present application, data communication equipment 100 is also Including:
Judgment module 140, for judging to have updated the communication tunnel of response time at least one communication tunnel Whether tunnel quantity meets pre-set threshold numbers.
Execution module 150, for if so, performing step:At least one communication tunnel based on server connection The response time of every communication tunnel in road updates the average response duration of at least one communication tunnel of the server.
It should be noted that due to it is apparent to those skilled in the art that, convenience and letter for description Clean, the specific work process of the system of foregoing description, device and unit may be referred to corresponding in preceding method embodiment Journey, details are not described herein.
It should be understood by those skilled in the art that, the embodiment of the present application can be provided as method, system or computer program production Product.Therefore, in terms of the embodiment of the present application can be used complete hardware embodiment, complete software embodiment or combine software and hardware Embodiment form.Moreover, the embodiment of the present application can be used wherein includes computer available programs generation in one or more The meter implemented in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of code The form of calculation machine program product.
In conclusion the embodiment of the present application provides a kind of data communications method and device.Data communications method is applied to Load balancing device in communication system, communication system further include multiple servers and with each server in multiple servers The access concentrator of at least one communication tunnel connection is established by load balancing device.Method includes:For server connection Any communication tunnel at least one communication tunnel, corresponding access of server response that update communication tunnel is connected are concentrated Response time during the tunnel keepalive message that device is sent;Based at least one communication tunnel during the response of every communication tunnel Long, update server is to the average response duration of at least one communication tunnel;Based on each average response duration and a server Correspondence, determined from the corresponding multiple average response durations of multiple servers corresponding to minimum average B configuration response time Destination server, so that destination server is used to establish new communication tunnel.
Load balancing device is for any communication tunnel at least one communication tunnel of server connection, load balancing device Renewable server response time in the communication tunnel, based on this, server connection then may be updated in load balancing device At least one communication tunnel average response duration.Further, according to each server and pair of average response duration It should be related to, then when load balancing device can determine minimum average B configuration response from the corresponding multiple average response durations of multiple servers Long corresponding destination server.Since average response duration is smaller, it is smaller to symbolize the load of corresponding server, and Response speed is faster.When determined destination server for when establishing new communication tunnel, newly-established communication tunnel to be born It carries and is then shared onto the minimum destination server of load, so that the load of each communication tunnel is evenly distributed, and So that the efficiency of each server is by the utilization of efficient uniform.
It these are only the preferred embodiment of the application, be not limited to the application, for those skilled in the art For member, the application can have various modifications and variations.All any modifications within spirit herein and principle, made, Equivalent substitution, improvement etc., should be included within the protection domain of the application.It should be noted that:Similar label and letter are under Similar terms is represented in the attached drawing in face, therefore, once it is defined in a certain Xiang Yi attached drawing, then it need not in subsequent attached drawing It is further defined and explained.
More than, the only specific embodiment of the application, but the protection domain of the application is not limited thereto is any to be familiar with In the technical scope that those skilled in the art disclose in the application, change or replacement can be readily occurred in, should all be covered Within the protection domain of the application.Therefore, the protection domain of the application should be subject to the protection scope in claims.

Claims (10)

1. a kind of data communications method, which is characterized in that applied to the load balancing device in communication system, the communication system is also Including multiple servers and with each server in the multiple server at least one is established by the load balancing device The access concentrator of communication tunnel connection;The described method includes:
For any communication tunnel at least one communication tunnel of server connection, update communication tunnel is connected described Server responds the response time during tunnel keepalive message that corresponding access concentrator is sent;
Based on the response time of every communication tunnel at least one communication tunnel, update the server to it is described at least The average response duration of one communication tunnel;
Correspondence based on each average response duration and a server, from the corresponding multiple average sound of the multiple server The destination server determined in duration corresponding to minimum average B configuration response time is answered, so that the destination server is new for establishing Communication tunnel.
2. data communications method according to claim 1, which is characterized in that the update communication tunnel is connected described Server responds the response time during tunnel keepalive message that corresponding access concentrator is sent, including:
It obtains the access concentrator that the communication tunnel is connected and sends the tunnel keepalive message to the server It obtains the moment and obtains the response for the tunnel keepalive response message that the server responds the tunnel keepalive message and returns Moment;
Duration difference between the acquisition moment and the response moment is used to update to the response of the communication tunnel Duration.
3. data communications method according to claim 2, which is characterized in that described by the acquisition moment and the response Duration difference between moment is used to update the response time of the communication tunnel, including:
The duration difference between the acquisition moment and the response moment is obtained, the duration difference is an absolute value;
Response time before the duration difference and the communication tunnel this update is assigned to the weight of a communication tunnel Averaging is performed after value, obtains the newer response time.
4. data communications method according to claim 3, which is characterized in that described to obtain what the communication tunnel was connected After the acquisition moment that the server sends the tunnel keepalive message, the method further includes the access concentrator:
In the access concentrator that the acquisition communication tunnel is connected tunnel keepalive message is sent to the server again Before, judge whether to receive the tunnel keepalive response message;
If not, the tunnel keepalive message total of the communication tunnel is added 1, to update the weighted value, the weighted value is institute State the ratio of the letter tunnel keepalive response message and the tunnel keepalive response message sum of the communication tunnel of communication tunnel.
5. according to the data communications method described in any claims of claim 1-4, which is characterized in that described based on described at least one The response time of every communication tunnel, updates the server and is averaged at least one communication tunnel in communication tunnel Before response time, the method further includes:
It is default to judge whether the tunnel quantity that the communication tunnel of response time has been updated at least one communication tunnel meets Number of thresholds.
If so, perform step:The sound of every communication tunnel at least one communication tunnel based on server connection Duration is answered, updates the average response duration of at least one communication tunnel of the server.
6. a kind of data communication equipment, which is characterized in that applied to the load balancing device in communication system, the communication system is also Including multiple servers and with each server in the multiple server at least one is established by the load balancing device The access concentrator of communication tunnel connection;Described device includes:
First update module, for any communication tunnel being directed at least one communication tunnel of server connection, update is logical The server that letter tunnel is connected responds the response time during tunnel keepalive message that corresponding access concentrator is sent;
Second update module for the response time based on every communication tunnel at least one communication tunnel, updates institute State average response duration of the server at least one communication tunnel;
Selecting module, for the correspondence based on each average response duration and a server, from the multiple server pair The destination server corresponding to minimum average B configuration response time is determined in the multiple average response durations answered, so that the target takes Business device is used to establish new communication tunnel.
7. data communication equipment according to claim 6, which is characterized in that first update module includes:
Obtaining unit sends the tunnel for obtaining the access concentrator that the communication tunnel is connected to the server The acquisition moment of road keep Alive Packet and the tunnel keepalive for obtaining the server response tunnel keepalive message and returning should Answer the response moment of message;
First updating block is described logical for the duration difference between the acquisition moment and the response moment to be updated Believe the response time in tunnel.
8. data communication equipment according to claim 7, which is characterized in that first updating block includes:
Difference obtains subelement, described for obtaining the duration difference between the acquisition moment and the response moment Duration difference is an absolute value;
Duration updates subelement, for the response time before the duration difference and the communication tunnel this update to be assigned one Averaging is performed after the weighted value of the communication tunnel, obtains the newer response time.
9. data communication equipment according to claim 8, which is characterized in that first update module further includes:
Judging unit, the access concentrator for being connected in the acquisition communication tunnel are sent again to the server Before tunnel keepalive message, judge whether to receive the tunnel keepalive response message;
Second updating block, for if not, the tunnel keepalive message total of the communication tunnel is added 1, to update the weight Value, the weighted value are the letter tunnel keepalive response message of the communication tunnel and the tunnel keepalive response report of the communication tunnel The ratio of literary sum.
10. according to the data communication equipment described in any claims of claim 6-9, which is characterized in that described device further includes:
Judgment module, for judging to have updated the tunnel quantity of the communication tunnel of response time at least one communication tunnel Whether pre-set threshold numbers are met.
Execution module, for if so, performing step:Every at least one communication tunnel based on server connection The response time of communication tunnel updates the average response duration of at least one communication tunnel of the server.
CN201711372029.2A 2017-12-18 2017-12-18 Data communication method and device Active CN108063819B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711372029.2A CN108063819B (en) 2017-12-18 2017-12-18 Data communication method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711372029.2A CN108063819B (en) 2017-12-18 2017-12-18 Data communication method and device

Publications (2)

Publication Number Publication Date
CN108063819A true CN108063819A (en) 2018-05-22
CN108063819B CN108063819B (en) 2021-03-02

Family

ID=62139250

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711372029.2A Active CN108063819B (en) 2017-12-18 2017-12-18 Data communication method and device

Country Status (1)

Country Link
CN (1) CN108063819B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109327376A (en) * 2018-11-15 2019-02-12 北京首信科技股份有限公司 The method and apparatus for establishing VPDN session
CN110855465A (en) * 2018-08-21 2020-02-28 华为技术有限公司 Message processing method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060224725A1 (en) * 2005-04-05 2006-10-05 Bali Bahri B On-demand global server load balancing system and method of use
CN1937534A (en) * 2006-09-20 2007-03-28 杭州华为三康技术有限公司 Load balance realizing method and load balance device
CN103546542A (en) * 2013-09-29 2014-01-29 北京航空航天大学 Server load balancing method and device
CN104580538A (en) * 2015-02-12 2015-04-29 山东大学 Method for improving load balance efficiency of Nginx server
CN105282259A (en) * 2015-11-13 2016-01-27 深圳联友科技有限公司 Load balancing allocation method, agent and system used for background cluster service
CN105991347A (en) * 2015-04-30 2016-10-05 杭州迪普科技有限公司 Redirection method of DNS request message and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060224725A1 (en) * 2005-04-05 2006-10-05 Bali Bahri B On-demand global server load balancing system and method of use
CN1937534A (en) * 2006-09-20 2007-03-28 杭州华为三康技术有限公司 Load balance realizing method and load balance device
CN103546542A (en) * 2013-09-29 2014-01-29 北京航空航天大学 Server load balancing method and device
CN104580538A (en) * 2015-02-12 2015-04-29 山东大学 Method for improving load balance efficiency of Nginx server
CN105991347A (en) * 2015-04-30 2016-10-05 杭州迪普科技有限公司 Redirection method of DNS request message and device
CN105282259A (en) * 2015-11-13 2016-01-27 深圳联友科技有限公司 Load balancing allocation method, agent and system used for background cluster service

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110855465A (en) * 2018-08-21 2020-02-28 华为技术有限公司 Message processing method and device
CN110855465B (en) * 2018-08-21 2022-04-05 华为技术有限公司 Message processing method and device
CN109327376A (en) * 2018-11-15 2019-02-12 北京首信科技股份有限公司 The method and apparatus for establishing VPDN session

Also Published As

Publication number Publication date
CN108063819B (en) 2021-03-02

Similar Documents

Publication Publication Date Title
US11463511B2 (en) Model-based load balancing for network data plane
CN101883029B (en) Method and system for application migration in a cloud
CN102473114B (en) Dynamically migrating computer networks
CN112087312A (en) Method, device and equipment for providing edge service
JP7345059B2 (en) Routing control method, device, program and computer device
US11003516B2 (en) Geographical redundancy and dynamic scaling for virtual network functions
CN110381131B (en) Method for realizing MEC node identification, mobile terminal, server and storage medium
WO2011000199A1 (en) Method and system for intelligently scheduling cluster servers
Sonmez et al. Performance evaluation of single-tier and two-tier cloudlet assisted applications
CN110808857B (en) Network intercommunication method, device, equipment and storage medium for realizing Kubernetes cluster
CN106302230B (en) A kind of data transmission method and device
US20160164690A1 (en) Communication system
Rawadi et al. Providing local cloud services to mobile devices with inter-cloudlet communication
CN108063819A (en) Data communications method and device
CN104734869A (en) Intelligent DNS domain name system and method based on dynamic detection
CN109857439B (en) Game version updating method and device
CN111212087A (en) Method, device, equipment and storage medium for determining login server
TW201933909A (en) Network access method, client, network interaction method, and scheduling and network systems
CN105049288B (en) The high integration Ethernet Data Acquisition System and method accessed based on PPPoE network
CN111130948A (en) Network quality detection method and device
CN110493095A (en) A kind of processing method of vpn service, device, server and storage medium
CN104394198B (en) A kind of overall scheduling method based on ESB
CN112242937B (en) Network speed measuring method and device, electronic equipment and computer readable medium
CN114900526A (en) Load balancing method and system, computer storage medium and electronic device
Huang et al. Mobility-aware seamless virtual function migration in deviceless edge computing environments

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
GR01 Patent grant
GR01 Patent grant