Method and apparatus for equalizing load of streaming media server
First Claim
1. A method of equalizing load on stream media servers, wherein each server has its own private IP address, the method comprises the following steps of:
- a processing module of a client port, comprised in a load equalizer which is disposed before the stream media servers which are trusted by the load equalizer, intercepting a TCP request from a client with a first-class stream rule of a the client port and forwarding the TCP request to a main control module in the load equalizer to obtain the address of an actual destination server of the stream media servers, wherein the load equalizer is in charge of a public IP address;
the main control module sending a Synchronize Number (SYN) packet sent from the client to the actual destination server;
a processing module of a server port in the load equalizer intercepting a response sent from the actual destination server with a first-class stream rule of a the server port and forwarding the response to the main control module so that the actual destination server accomplishes a Synchronize Number (SYN) response;
the main control module creating a second-class stream rule of the client port and a second-class stream rule of the server port respectively according to the address and Synchronize Number (SYN) information of the actual destination server and a serial number so as to establish a Real Time Stream Protocol (RTSP) control channel between the client port and the server port;
and the main control module creating a third-class stream rule of the client port and a third-class stream rule of the server port respectively according to information of the control channel so as to establish a data channel between the client port and the server port,wherein each of the processing module of the client port, the main control module, and the processing module of the server port are stored in memory.
0 Assignments
0 Petitions
Accused Products
Abstract
The invention deals with a method and apparatus of realizing load equalizing on the stream media server. The load equalizer is placed in front of the stream media server and the servers are trusted by the load equalizer. Each server has its private IP address, and the load equalizer is in charge of its exoteric IP address, which comprises the processing module of the client port, the processing module of the server port, and the main control module. The processing module of the client port is set to recognize and transfer the data from the client. The processing module of the server port is set to recognize and transfer the data from the server. The main control module orderly matches the data required to be processed further to determine which actual server will process the data, and to establish the list of the stream rules between the processing module of the client port and the processing module of the server port.
-
Citations
17 Claims
-
1. A method of equalizing load on stream media servers, wherein each server has its own private IP address, the method comprises the following steps of:
-
a processing module of a client port, comprised in a load equalizer which is disposed before the stream media servers which are trusted by the load equalizer, intercepting a TCP request from a client with a first-class stream rule of a the client port and forwarding the TCP request to a main control module in the load equalizer to obtain the address of an actual destination server of the stream media servers, wherein the load equalizer is in charge of a public IP address; the main control module sending a Synchronize Number (SYN) packet sent from the client to the actual destination server; a processing module of a server port in the load equalizer intercepting a response sent from the actual destination server with a first-class stream rule of a the server port and forwarding the response to the main control module so that the actual destination server accomplishes a Synchronize Number (SYN) response; the main control module creating a second-class stream rule of the client port and a second-class stream rule of the server port respectively according to the address and Synchronize Number (SYN) information of the actual destination server and a serial number so as to establish a Real Time Stream Protocol (RTSP) control channel between the client port and the server port;
andthe main control module creating a third-class stream rule of the client port and a third-class stream rule of the server port respectively according to information of the control channel so as to establish a data channel between the client port and the server port, wherein each of the processing module of the client port, the main control module, and the processing module of the server port are stored in memory. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A method of equalizing load on stream media servers, comprising:
-
setting a processing module of a client port to intercept a TCP request sent from a client in accordance with a first-class stream rule at of the client port and to forward the request to a main control module of a load equalizer to obtain an address of a destination server, wherein the load equalizer is disposed before the stream media servers, each server has a private IP address, and the load equalizer is in charge of a public IP address; the main control module sending a Synchronize Number (SYN) packet sent from the client to the destination server; setting a processing module of a server port of the load equalizer to intercept a response from the destination server in accordance with a first-class stream rule at of the server port and to forward the response to the main control module so that the destination server accomplishes a Synchronize Number (SYN) response; the main control module creating a second-class stream rule at of the client port and a second-class stream rule of the server port according to an address and SYN information of the destination server and a serial number, so as to establish a Real Time Stream Protocol (RTSP) control channel between the client port and the server port; and the main control module creating a third-class stream rule at of the client port and a third-class stream rule of the server port according to certain information of the Real Time Stream Protocol (RTSP) control channel so as to establish a data channel between the client port and the server port, wherein each of the processing module of the client port, the main control module, and the processing module of the server port are stored in memory. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. A load equalizer for equalizing load on stream media servers, wherein the load equalizer is disposed before the stream media servers which are trusted by said load equalizer, each server has its own private IP address, and the load equalizer is in charge of a public IP address, the load equalizer comprises:
-
a processing module of a client port, adapted to intercept a TCP request from a client with a first-class stream rule of a client port and forward the TCP request to a main control module in the load equalizer to obtain thean address of an actual destination server; the main control module including a processor and being adapted to send a Synchronize Number (SYN) packet sent from the client to the actual destination server; and a processing module of a server port, adapted to intercept a response sent from the actual destination server with a first-class stream rule of a the server port and forward the response to the main control module so that the actual destination server accomplishes a Synchronize Number (SYN) response, wherein the main control module is further adapted to create a second-class stream rule of the client port and a second-class stream rule of the server port respectively according to the address and Synchronize Number (SYN) information of the actual destination server and a serial number so as to establish a Real Time Stream Protocol (RTSP) control channel between the client port and the server port, and create a third-class stream rule of the client port and a third-class stream rule of the server port respectively according to information of the control channel so as to establish a data channel between the client port and the server port, and wherein each of the processing module of the client port, the main control module, and the processing module of the server port are stored in memory.
-
Specification