CN1863202B - Method for improving load balance apparatus and server processing performance - Google Patents
Method for improving load balance apparatus and server processing performance Download PDFInfo
- Publication number
- CN1863202B CN1863202B CN200510109123XA CN200510109123A CN1863202B CN 1863202 B CN1863202 B CN 1863202B CN 200510109123X A CN200510109123X A CN 200510109123XA CN 200510109123 A CN200510109123 A CN 200510109123A CN 1863202 B CN1863202 B CN 1863202B
- Authority
- CN
- China
- Prior art keywords
- server
- load balancing
- balancing device
- information
- processing performance
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Computer And Data Communications (AREA)
Abstract
Description
技术领域technical field
本发明涉及网络通讯领域,尤其涉及一种提高负载均衡设备和服务器处理性能的方法。 The invention relates to the field of network communication, in particular to a method for improving the processing performance of a load balancing device and a server. the
背景技术Background technique
在实际网络应用中,当一台服务器的性能不足以支撑应用的时候,就需要多台服务器一起对外提供服务。此时,就需要用到负载均衡技术。 In actual network applications, when the performance of one server is not enough to support the application, multiple servers are required to provide external services together. At this time, load balancing technology needs to be used. the
负载均衡是由多台服务器以对称的方式组成一个服务器集合,每台服务器都具有等价的地位,都可以单独对外提供服务而无须其他服务器的辅助。通过某种负载分担技术,将外部发送来的请求均匀分配到对称结构中的某一台服务器上,而接收到请求的服务器独立地回应客户的请求。 Load balancing is a collection of servers composed of multiple servers in a symmetrical manner. Each server has an equivalent status and can provide external services independently without the assistance of other servers. Through a certain load sharing technology, the requests sent from the outside are evenly distributed to a certain server in the symmetrical structure, and the server that receives the request independently responds to the client's request. the
负载均衡的组网示意图如图1所示。在图1所示的组网中,多台服务器组成了一个服务器群。当用户发起访问时,用户的访问请求将首先到达负载均衡设备上,负载均衡设备再把请求分发到相应的服务器上。一般的负载均衡设备不对应用层进行分析,而是根据网络层的信息直接进行分担处理。 A schematic diagram of a load balancing network is shown in Figure 1 . In the networking shown in Figure 1, multiple servers form a server group. When a user initiates an access, the user's access request will first arrive at the load balancing device, and the load balancing device will distribute the request to the corresponding server. General load balancing equipment does not analyze the application layer, but directly performs sharing processing based on the information of the network layer. the
在图1所示的组网中,当服务器群中需要加入新的服务器设备时,在负载均衡设备中需要增加针对该新的服务器的配置,使得后续的应用可以逐步分担到该新的服务器上。 In the network shown in Figure 1, when a new server device needs to be added to the server group, the configuration for the new server needs to be added in the load balancing device, so that subsequent applications can be gradually distributed to the new server . the
上述现有的负载均衡设备的缺点为:不能方便地在现有的负载均衡组网中增加新的服务器。在实际应用中,各种服务器的性能可能不一样,比如有的服务器可以处理100个请求,而有的服务器可以处理300个请求或者更多。当需要在现有的负载均衡组网中增加新的服务器设备的时候,需要对负载均衡设备上的配置进行改动。比如在负载均衡设备上增加一条命令,指出该新的服务器的处理能力。同时,上述现有的负载均衡设备不能充分地利用现有资源,安全性也较差。 The disadvantage of the above-mentioned existing load balancing equipment is that new servers cannot be conveniently added to the existing load balancing network. In practical applications, the performance of various servers may be different. For example, some servers can handle 100 requests, while some servers can handle 300 requests or more. When a new server device needs to be added to the existing load balancing network, the configuration on the load balancing device needs to be changed. For example, a command is added to the load balancing device to indicate the processing capability of the new server. At the same time, the above-mentioned existing load balancing equipment cannot make full use of existing resources, and the security is poor. the
发明内容Contents of the invention
本发明的目的是提供一种提高负载均衡设备和服务器处理性能的方法,从而可以提高负载均衡设备的处理性能。 The purpose of the present invention is to provide a method for improving the processing performance of a load balancing device and a server, so that the processing performance of the load balancing device can be improved. the
本发明的目的是通过以下技术方案实现的: The purpose of the present invention is achieved by the following technical solutions:
一种提高负载均衡设备和服务器处理性能的方法,包括: A method of improving load balancing device and server processing performance, comprising:
在负载均衡设备和服务器之间进行服务器初始配置信息的交互,根据交互的服务器初始配置信息,负载均衡设备和服务器进行相应的配置处理; The initial configuration information of the server is exchanged between the load balancing device and the server, and the load balancing device and the server perform corresponding configuration processing according to the exchanged initial configuration information of the server;
当有新的服务器需要加入时,该新的服务器向负载均衡设备发送携带该服务器能力数据的信息; When a new server needs to be added, the new server sends information carrying the server's capability data to the load balancing device;
负载均衡设备收到所述服务器发送的信息后,将信息中携带的服务器的能力数据保存在其内部的数据表中,向所述服务器返回携带负载均衡设备的外部IP地址的响应信息,所述服务器将所述外部IP地址作为向负载均衡设备发送的报文的数据区中的IP地址。 After the load balancing device receives the information sent by the server, it saves the capability data of the server carried in the information in its internal data table, and returns the response information carrying the external IP address of the load balancing device to the server. The server uses the external IP address as the IP address in the data area of the message sent to the load balancing device. the
所述的方法具体包括: The methods described specifically include:
负载均衡设备和服务器之间基于传输控制协议TCP或用户数据报协议UDP或流控制传送协议SCTP进行各种信息的交互。 The interaction of various information between the load balancing device and the server is based on the Transmission Control Protocol TCP or the User Datagram Protocol UDP or the Stream Control Transmission Protocol SCTP. the
所述的方法具体包括: The methods described specifically include:
负载均衡设备和服务器之间通过中转设备进行各种信息的交互,该中转设备包括信息收集设备或代理设备。 Various information is exchanged between the load balancing device and the server through a transfer device, and the transfer device includes an information collection device or a proxy device. the
能力数据进行处理后,向服务器返回响应信息。 After the capability data is processed, a response message is returned to the server. the
所述的方法具体包括: The methods described specifically include:
负载均衡设备和服务器之间通过信息交互,保持负载均衡设备和服务器之间的连接; The connection between the load balancing device and the server is maintained through information interaction between the load balancing device and the server;
负载均衡设备和服务器之间通过信息交互,注销服务器在负载均衡设备上的初始配置信息。 Through information exchange between the load balancing device and the server, the initial configuration information of the server on the load balancing device is canceled. the
所述的方法具体包括: The methods described specifically include:
负载均衡设备和服务器之间通过信息交互,对负载均衡设备上的会话表项进行处理。 The load balancing device and the server process the session entries on the load balancing device through information exchange. the
所述的方法具体包括: The methods described specifically include:
当服务器需要通知负载均衡设备去保持或者删除会话表项时,服务器向负载均衡设备发送相应的请求信息; When the server needs to notify the load balancing device to keep or delete the session entry, the server sends the corresponding request information to the load balancing device;
负载均衡设备根据接收到的请求信息,进行相应的保持或者删除会话表项的处理后,向服务器返回响应信息。 The load balancing device returns response information to the server after performing corresponding processes of maintaining or deleting session entries according to the received request information. the
所述的当服务器需要通知负载均衡设备去保持或者删除会话表项时,服务器向负载均衡设备发送相应的请求信息具体包括: When the server needs to notify the load balancing device to keep or delete the session entry, the server sends the corresponding request information to the load balancing device, which specifically includes:
如果用户在服务器上注册成功,则服务器向负载均衡设备发送保持该用户的会话表项的请求信息,否则,发送删除该用户的会话表项的请求信息; If the user successfully registers on the server, the server sends a request message to the load balancing device to keep the user's session entry, otherwise, sends a request message to delete the user's session entry;
当负载均衡设备上产生各种无用的会话表项时,服务器向负载均衡设备发送删除该无用的会话表项的请求信息。 When various useless session entries are generated on the load balancing device, the server sends request information to the load balancing device to delete the useless session entries. the
由上述本发明提供的技术方案可以看出,本发明通过在负载均衡设备和服务器之间基于一种协议机制进行各种消息的交互,从而可以更好地对新服务器进行部署,更好地利用负载均衡设备的资源,提高负载均衡设备的安全性等处理功能。 It can be seen from the above-mentioned technical solution provided by the present invention that the present invention can better deploy new servers and make better use of Processing functions such as load balancing device resources, improving the security of load balancing devices, etc. the
附图说明Description of drawings
图1为负载均衡的组网示意图; Figure 1 is a schematic diagram of a load balancing network;
图2为本方法所述方法的处理流程图; Fig. 2 is the processing flowchart of the method described in this method;
图3为负载均衡设备和服务器之间进行注册报文和注册响应报文的交互示意图; Figure 3 is a schematic diagram of the interaction between the load balancing device and the server for registration messages and registration response messages;
图4为负载均衡设备的内部IP地址和外部IP地址的示意图; Fig. 4 is a schematic diagram of the internal IP address and the external IP address of the load balancing device;
图5为负载均衡设备将服务器发送过来的报文IP头中服务器的IP地址替换为对外的IP地址的示意图; Figure 5 is a schematic diagram of the load balancing device replacing the IP address of the server in the IP header of the message sent by the server with an external IP address;
图6为负载均衡设备和服务器之间进行保活报文、注销报文和会话表项处理报文的交互示意图; Figure 6 is a schematic diagram of the interaction between the load balancing device and the server for keeping alive messages, logout messages and session entry processing messages;
图7为SIP用户在SIP服务器上进行注册的示意图; Fig. 7 is the schematic diagram that SIP user registers on SIP server;
图8为服务器与负载均衡设备之间通过中转设备进行中转的示意图。 FIG. 8 is a schematic diagram of a transfer between a server and a load balancing device through a transfer device. the
具体实施方式Detailed ways
本发明提供了一种提高负载均衡设备和服务器处理性能的方法,本发明的核心为:在负载均衡设备和服务器之间基于一种协议机制进行各种消息的交互,根据交互的消息,负载均衡设备和服务器进行相应的配置处理。 The present invention provides a method for improving the processing performance of a load balancing device and a server. The core of the present invention is: the interaction of various messages between the load balancing device and the server based on a protocol mechanism. According to the interactive messages, the load balancing The device and the server perform corresponding configuration processing. the
下面结合附图来详细描述本发明,本方法所述方法的处理流程如图2所示,包括如下步骤:Describe the present invention in detail below in conjunction with accompanying drawing, the processing flow of the method described in this method is as shown in Figure 2, comprises the following steps:
步骤2-1、负载均衡设备和服务器之间基于一种协议机制进行注册报文、注册相应报文的交互,互相建立连接。 Step 2-1: The load balancing device and the server exchange registration messages and registration corresponding messages based on a protocol mechanism, and establish connections with each other. the
本发明首先在负载均衡设备和服务器之间建立一种协议机制,该协议可以基于TCP(传输控制协议)、UDP(用户数据报协议)或SCTP(流控制传送协议)等其他的协议,如果服务器与负载均衡设备之间已经采用了某种协议,该协议也可以作为已经采用的协议的一部分。 The present invention at first establishes a kind of agreement mechanism between load balancing device and server, and this agreement can be based on other agreements such as TCP (Transmission Control Protocol), UDP (User Datagram Protocol) or SCTP (Stream Control Transmission Protocol), if server A certain protocol has been adopted with the load balancing device, and this protocol can also be used as a part of the protocol already adopted. the
负载均衡设备与服务器之间建立了协议机制后,可以首先进行相互认证操作,在认证通过之后再互相进行信息的交互。认证的机制可以采用类似CHAP(质询握手身份验证协议)或者PAP(密码身份验证协议)的机制,也可以采用其他认证机制。 After the protocol mechanism is established between the load balancing device and the server, mutual authentication operations can be performed first, and information can then be exchanged with each other after the authentication is passed. The authentication mechanism may adopt a mechanism similar to CHAP (Challenge Handshake Authentication Protocol) or PAP (Password Authentication Protocol), or other authentication mechanisms. the
负载均衡设备与服务器之间通过建立的协议机制可以进行各种信息的交互。当有新的服务器需要加入时,负载均衡设备和该新的服务器之间首先进行注册报文、注册响应报文的交互,该交互过程的示意图如图3所示。 Various information can be exchanged between the load balancing device and the server through the established protocol mechanism. When a new server needs to be added, the load balancing device and the new server firstly exchange registration messages and registration response messages. The schematic diagram of the interaction process is shown in FIG. 3 . the
首先服务器向负载均衡设备发起一个注册报文,该注册报文中携带以下信息: First, the server sends a registration message to the load balancing device, and the registration message carries the following information:
1、报文类型,该报文类型是注册报文; 1. Message type, which is a registration message;
2、本服务器的能力数据; 2. Capability data of this server;
3、本服务器的名称,该信息为可选信息。 3. The name of the server, this information is optional. the
当负载均衡设备收到服务器发送的注册报文后,将注册报文中携带的服务器的能力数据进行保存后,向服务器返回一个注册响应报文,该注册响应报文中携带以下信息: When the load balancing device receives the registration message sent by the server, it saves the server's capability data carried in the registration message and returns a registration response message to the server, which carries the following information:
1、报文类型,该报文类型是响应报文; 1. Message type, which is a response message;
2、负载均衡设备的外部IP地址,该信息为可选信息; 2. The external IP address of the load balancing device, this information is optional;
3、简化服务器配置的其他信息,该信息为可选信息。 3. Other information that simplifies server configuration, this information is optional. the
负载均衡设备根据接收到的注册报文,便知道新的服务器的性能数据, 因此,负载均衡设备便不需要对该新的服务器进行额外的配置工作。 The load balancing device knows the performance data of the new server according to the received registration message, so the load balancing device does not need to perform additional configuration work on the new server. the
在实际应用中,可以在负载均衡设备中维护一张数据表,表中记录各个服务器的性能数据、当前的处理值等。这张表是负载均衡设备分发流量的一个依据。 In practical applications, a data table can be maintained in the load balancing device, and the performance data of each server, the current processing value, etc. are recorded in the table. This table is a basis for the load balancing device to distribute traffic. the
负载均衡设备与服务器之间互相交互的注册报文和注册响应报文可以分在多个报文中进行传输。 The registration message and the registration response message exchanged between the load balancing device and the server can be divided into multiple messages for transmission. the
一般情况下,负载均衡设备有内外两个IP地址,内部IP地址对服务器可见,外部IP地址对用户可见。服务器不用配置特殊的路由信息,就可以与负载均衡设备的内部IP地址相连。基于路由等因素,服务器不与负载均衡设备的外部IP地址进行连接。负载均衡设备的内部IP地址和外部IP地址的示意图如图4所示。 Generally, the load balancing device has two internal and external IP addresses, the internal IP address is visible to the server, and the external IP address is visible to the user. The server can be connected to the internal IP address of the load balancing device without configuring special routing information. Based on factors such as routing, the server does not connect to the external IP address of the load balancing device. A schematic diagram of an internal IP address and an external IP address of a load balancing device is shown in FIG. 4 . the
下面我们介绍上述注册响应报文中携带的负载均衡设备的外部IP地址信息的作用。 Below we introduce the function of the external IP address information of the load balancing device carried in the registration response message. the
服务器向负载均衡设备发送的一些协议报文,比如SIP(起始会话协议)、H.323等协议报文,需要在报文数据中携带本机的IP地址信息。由于负载均衡设备一般不对服务器发出的报文的内容再做修改,而只是修改报文的IP头,将报文IP头中服务器的IP地址替换为负载均衡设备的对外的IP地址,而报文数据区中携带的IP地址是不做修改的,然后,负载均衡设备将进行了替换的报文转发给用户。上述替换过程的示意图如图5所示。 Some protocol messages sent by the server to the load balancing device, such as SIP (Session Initiation Protocol), H.323 and other protocol messages, need to carry the IP address information of the machine in the message data. Because the load balancing device generally does not modify the content of the message sent by the server, but only modifies the IP header of the message, replacing the IP address of the server in the IP header of the message with the external IP address of the load balancing device, and the packet The IP address carried in the data area is not modified, and then the load balancing device forwards the replaced message to the user. A schematic diagram of the above replacement process is shown in FIG. 5 . the
当用户接收到上述负载均衡设备转发的报文后,用户将看到两个不同的IP地址,一个是IP头中的IP地址,另一个是数据区中的IP地址。这样的情况可能会导致后续流程出现错误。 When the user receives the message forwarded by the above load balancing device, the user will see two different IP addresses, one is the IP address in the IP header, and the other is the IP address in the data area. Such a situation may lead to errors in subsequent processes. the
为解决上述问题,当服务器接收到上述注册响应报文中携带的负载均衡设备的外部IP地址信息后,服务器在后续报文的发送中,便可以直接把数据区中的IP地址填写成该负载均衡设备的外部IP地址。于是,最后用户看到的 报文中将只携带一个IP地址。 In order to solve the above problems, after the server receives the external IP address information of the load balancing device carried in the above registration response message, the server can directly fill in the IP address in the data area as the load balance device when sending subsequent messages. The external IP address of the balance device. Therefore, the last message seen by the user will only carry one IP address. the
在上述注册响应报文中除了携带负载均衡设备的外部IP地址之外,还可以携带其他的一些信息给服务器。比如服务器所应该共同具备的一些属性信息。具体携带的信息与服务器实际的应用环境相关。 In addition to carrying the external IP address of the load balancing device, the above registration response message may also carry some other information to the server. For example, some attribute information that the server should have in common. The specific information carried is related to the actual application environment of the server. the
在负载均衡设备与服务器之间成功地进行了注册报文和注册响应报文的交互后,负载均衡设备与服务器之间便建立了连接。 After the registration message and the registration response message are successfully exchanged between the load balancing device and the server, a connection is established between the load balancing device and the server. the
步骤2-2、负载均衡设备和服务器之间建立连接后,基于所述协议机制进行保活报文、注销报文和会话表项处理报文等的交互。 Step 2-2: After the connection is established between the load balancing device and the server, the interaction between the keep-alive message, the logout message and the session entry processing message is performed based on the protocol mechanism. the
负载均衡设备和服务器之间成功建立了连接后,负载均衡设备和服务器之间便可以通过建立的协议机制,进行其它各种信息的交互。比如,如图6所示,进行保活报文和保活响应报文、注销报文和注销响应报文、会话表项处理请求报文和会话表项处理响应报文的交互。 After the connection between the load balancing device and the server is successfully established, various other information can be exchanged between the load balancing device and the server through the established protocol mechanism. For example, as shown in FIG. 6 , the interaction between the keep-alive message and the keep-alive response message, the logout message and the logout response message, the session entry processing request message and the session entry processing response message is performed. the
保活报文和保活响应报文每隔一段时间便在负载均衡设备和服务器之间进行传递,以保持负载均衡设备和服务器之间的连接。 The keep-alive message and the keep-alive response message are transmitted between the load balancing device and the server at regular intervals, so as to maintain the connection between the load balancing device and the server. the
服务器向负载均衡设备发送注销报文,负载均衡设备进行相应的操作,返回注销响应报文后,于是,便注销了服务器在负载均衡设备上的注册,断开了负载均衡设备和服务器之间的连接。 The server sends a logout message to the load balancing device, and the load balancing device performs corresponding operations and returns a logout response message. Then, the registration of the server on the load balancing device is canceled, and the connection between the load balancing device and the server is disconnected. connect. the
下面我们介绍上述会话表项处理请求报文和会话表项处理响应报文的作用。 Below we introduce the functions of the above-mentioned session entry processing request packets and session entry processing response packets. the
为了保证同一个用户的多个报文能够在同一台服务器上进行处理,负载均衡设备需要针对每个用户生成一个会话表。由于会话表的资源是有限的,当某个会话表已经失效时,负载均衡设备会对该会话表进行老化等处理,以释放该会话表所占用的资源。 In order to ensure that multiple packets of the same user can be processed on the same server, the load balancing device needs to generate a session table for each user. Since the resources of the session table are limited, when a session table has expired, the load balancing device will perform aging and other processing on the session table to release the resources occupied by the session table. the
下面以SIP协议为例来说明上述情况。在通常情况下,SIP用户需要先在服务器上注册成功,后续才能作为被叫或者主叫。而当SIP用户注册成功 后,针对该用户的会话表在负载均衡设备上将一直存在,直到用户注销或者断开为止。 The following uses the SIP protocol as an example to illustrate the above situation. Under normal circumstances, a SIP user needs to be successfully registered on the server before being called or calling. When a SIP user registers successfully, the session table for the user will always exist on the load balancing device until the user logs out or disconnects. the
当某个SIP用户没有在服务器上注册成功时。针对该用户的会话表在负载均衡设备上不需要长时间保留。同时,在有网络攻击发生的情况下,负载均衡设备上会产生有很多这种不需要长时间保留的会话表项。当这种表项达到很大的数量时,会占用大量的资源,将导致负载均衡设备对于正常用户也没有足够的资源去创建会话表项,于是,会导致正常的服务被拒绝。现有的负载均衡设备并不能区分上述各种不同的会话表项。SIP用户在SIP服务器上进行注册的示意图如图7所示。 When a SIP user fails to register successfully on the server. The session table for this user does not need to be kept for a long time on the load balancing device. At the same time, when a network attack occurs, there will be many session entries that do not need to be kept for a long time on the load balancing device. When the number of such entries reaches a large number, a large amount of resources will be occupied, and the load balancing device will not have enough resources to create session entries for normal users, thus causing normal services to be denied. Existing load balancing devices cannot distinguish the various session entries mentioned above. A schematic diagram of a SIP user registering on a SIP server is shown in FIG. 7 . the
为解决上述问题,本发明通过在负载均衡设备与服务器之间建立的协议机制,在负载均衡设备与服务器之间进行会话表项处理请求报文、会话表项处理响应报文的交互。 In order to solve the above problems, the present invention uses the protocol mechanism established between the load balancing device and the server to perform interaction between the session entry processing request message and the session entry processing response message between the load balancing device and the server. the
当服务器需要通知负载均衡设备去保持或者删除某个会话表项时,服务器便向负载均衡设备发送相应的会话表项处理请求报文。负载均衡设备根据接收到的会话表项处理请求报文,进行相应的保持或者删除某个会话表项处理后,向服务器返回会话表项处理响应报文。 When the server needs to notify the load balancing device to keep or delete a certain session entry, the server sends a corresponding session entry processing request message to the load balancing device. The load balancing device processes the request message according to the received session entry, and returns a session entry processing response message to the server after correspondingly maintaining or deleting a certain session entry. the
比如,当服务器需要通知负载均衡设备去保持某个会话表项时,服务器向负载均衡设备发送的会话表项处理请求报文中将携带以下信息: For example, when the server needs to notify the load balancing device to keep a certain session entry, the session entry processing request message sent by the server to the load balancing device will carry the following information:
1、报文类型,该报文类型是保持特定某个会话表项; 1. Message type, which is to keep a specific session entry;
2、具体标记该会话表项的信息,比如源、目的IP地址/端口等; 2. Specifically mark the information of the session entry, such as source, destination IP address/port, etc.;
3、该会话表项需要保持的时间。 3. The time for which the session entry needs to be kept. the
当负载均衡设备收到这个会话表项处理请求报文后,会进行相应的保持特定会话表项的处理,然后,返回一个会话表项处理响应报文,该响应报文中将携带以下信息: When the load balancing device receives the session entry processing request message, it will perform the corresponding process of maintaining the specific session entry, and then return a session entry processing response message, which will carry the following information:
1、报文类型,该报文类型是是对保持会话表项的响应。1. Packet type, which is a response to the hold session entry.
2、响应结果,是响应成功或失败。 2. The response result is the response success or failure. the
同样,当服务器需要通知负载均衡设备去删除某个会话表项时,也向负载均衡设备发送相应的会话表项处理请求报文。 Similarly, when the server needs to notify the load balancing device to delete a certain session entry, it also sends a corresponding session entry processing request message to the load balancing device. the
负载均衡设备与服务器之间通过上述会话表项处理请求报文、会话表项处理响应报文的交互,就可以有效地利用负载均衡设备的资源,同时可以增加负载均衡组网的安全性。 The interaction between the load balancing device and the server through the above session entry processing request packets and session entry processing response packets can effectively utilize the resources of the load balancing device and increase the security of the load balancing network. the
在实际应用中,服务器与负载均衡设备之间可以不进行直接交互,而是通过第三方进行中转,比如,通过中转设备进行中转。服务器与负载均衡设备之间通过中转设备进行中转的示意图如图8所示。 In practical applications, there may be no direct interaction between the server and the load balancing device, but a transfer through a third party, for example, through a transfer device. A schematic diagram of the transfer between the server and the load balancing device through the transfer device is shown in FIG. 8 . the
中转设备可以是一个集中的信息收集设备,其他的设备都是从这台信息收集设备上去取信息,负载均衡设备与服务器分别与该设备进行交互。比如服务器向该设备写数据(如服务器的性能指标等),而负载均衡设备去读取这些数据。 The transit device can be a centralized information collection device, and other devices get information from this information collection device, and the load balancing device and server interact with the device respectively. For example, the server writes data (such as server performance indicators, etc.) to the device, and the load balancing device reads the data. the
中转设备也可以一种代理设备,也就是分别代理负载均衡设备以及服务器的功能。对于负载均衡设备来说,该代理设备就是服务器;而对于服务器来说,该代理设备就是负载均衡设备。 The transit device can also be a kind of proxy device, that is, the function of proxying the load balancing device and the server respectively. For the load balancing device, the proxy device is the server; and for the server, the proxy device is the load balancing device. the
以上所述,仅为本发明较佳的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应该以权利要求的保护范围为准。The above is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art within the technical scope disclosed in the present invention can easily think of changes or Replacement should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be determined by the protection scope of the claims.
Claims (7)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN200510109123XA CN1863202B (en) | 2005-10-18 | 2005-10-18 | Method for improving load balance apparatus and server processing performance |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN200510109123XA CN1863202B (en) | 2005-10-18 | 2005-10-18 | Method for improving load balance apparatus and server processing performance |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1863202A CN1863202A (en) | 2006-11-15 |
| CN1863202B true CN1863202B (en) | 2011-04-06 |
Family
ID=37390529
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN200510109123XA Expired - Fee Related CN1863202B (en) | 2005-10-18 | 2005-10-18 | Method for improving load balance apparatus and server processing performance |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN1863202B (en) |
Families Citing this family (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101252540B (en) * | 2008-04-07 | 2010-07-07 | 华耀环宇科技(北京)有限公司 | Method for allocating network flow based on external policy server interaction |
| CN101340327B (en) * | 2008-08-21 | 2011-11-30 | 腾讯科技(深圳)有限公司 | Method and system for implementing load balance of network server |
| CN102045396A (en) * | 2010-12-20 | 2011-05-04 | 福建星网视易信息系统有限公司 | Load balancing method of server document |
| CN102761608B (en) * | 2012-06-28 | 2016-06-01 | 深圳市深信服电子科技有限公司 | The method of UDP session multiplexing and load balancing equipment |
| CN103024018A (en) * | 2012-12-04 | 2013-04-03 | 北京蓝汛通信技术有限责任公司 | Method and device for operating multiple content distribution network (CDN) service processes in single device |
| CN104363300B (en) * | 2014-11-26 | 2018-06-05 | 浙江宇视科技有限公司 | Task distribution formula dispatching device is calculated in a kind of server cluster |
| CN115134227B (en) * | 2022-06-17 | 2024-09-20 | 京东科技信息技术有限公司 | Method and apparatus for maintaining a server |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1372405A (en) * | 2001-02-26 | 2002-10-02 | 阿瓦雅通信以色列有限公司 | Go-on sustained connection |
| CN1403934A (en) * | 2001-09-06 | 2003-03-19 | 华为技术有限公司 | Load balancing method and equipment for convective medium server |
| CN1545275A (en) * | 2003-11-21 | 2004-11-10 | 清华大学深圳研究生院 | Flow-media cluster service content scheduling method based on Netfilter architecture |
| CN1545262A (en) * | 2003-11-11 | 2004-11-10 | 浙江大学 | A Network Server Structure and Its Service Providing Process |
| CN1585399A (en) * | 2004-05-25 | 2005-02-23 | 华中科技大学 | Load balancing method for cluster server |
-
2005
- 2005-10-18 CN CN200510109123XA patent/CN1863202B/en not_active Expired - Fee Related
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1372405A (en) * | 2001-02-26 | 2002-10-02 | 阿瓦雅通信以色列有限公司 | Go-on sustained connection |
| CN1403934A (en) * | 2001-09-06 | 2003-03-19 | 华为技术有限公司 | Load balancing method and equipment for convective medium server |
| CN1545262A (en) * | 2003-11-11 | 2004-11-10 | 浙江大学 | A Network Server Structure and Its Service Providing Process |
| CN1545275A (en) * | 2003-11-21 | 2004-11-10 | 清华大学深圳研究生院 | Flow-media cluster service content scheduling method based on Netfilter architecture |
| CN1585399A (en) * | 2004-05-25 | 2005-02-23 | 华中科技大学 | Load balancing method for cluster server |
Non-Patent Citations (1)
| Title |
|---|
| 第4页倒数第1-2段. |
Also Published As
| Publication number | Publication date |
|---|---|
| CN1863202A (en) | 2006-11-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4154615B2 (en) | SIP server sharing module device, SIP message relay method, and program | |
| CN101534302B (en) | A method, system and related device for providing TCP service | |
| CN101729500B (en) | Method, device and system for identifying IP session | |
| CN101848235A (en) | Real-time multimedia data P2P transmission scheme for supporting NAT traversal | |
| CN112911027A (en) | Method and apparatus for establishing a media session | |
| EP3125502A1 (en) | Method for providing access to a web server | |
| CN102035813B (en) | The implementation method of end-to-end calling, end-to-end calling terminal and system | |
| CN101159657A (en) | A method, device and server for realizing private network traversal | |
| CN1647451B (en) | Apparatus, method and system for monitoring information in a network environment | |
| WO2013056628A1 (en) | Method, application server, network database, and system for achieving heartbeat mechanism | |
| CN117439815B (en) | Intranet penetration system and method based on reverse transparent bridging | |
| CN100454905C (en) | Method of Traversing Network Address Translation | |
| WO2011032447A1 (en) | Method, system and communication terminal for implementing inter-communication between new network and internet | |
| WO2023116165A1 (en) | Network load balancing method and apparatus, electronic device, medium, and program product | |
| CN100493033C (en) | Method for passing through network address conversion | |
| CN1863202B (en) | Method for improving load balance apparatus and server processing performance | |
| CN113055220B (en) | Scalable and robust network management for cloud-based NAT environments | |
| WO2011038639A1 (en) | Realizing method for end-to-end instant messaging, terminal and system for end-to-end instant messaging | |
| CN1917512B (en) | A Method for Establishing Peer-to-Peer Direct Channel | |
| WO2010054561A1 (en) | Agent method of media stream, voice exchanger and communication system | |
| CN100393039C (en) | Network management method for devices without IP addresses | |
| CN102710644A (en) | Method and device for saving bandwidth in internet protocol (IP) monitoring system | |
| CN1863152B (en) | Method for transferring various messages between intranet users | |
| CN101510901B (en) | Communication method, communication apparatus and system between distributed equipment | |
| CN101170502B (en) | A method and system for realizing mutual access between stacking members |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20110406 |