Server machine and network processing method
First Claim
1. A server, comprising:
- a plurality of network interfaces coupled to a client computer through a network, the network interface receiving and sending IP packets, different IP addresses being assigned to the network interfaces;
a processor being configured to execute;
an operating system, a plurality of first applications running on the operating system when a first port number is assigned, anda plurality of second applications running on the operating system when a second port number is assigned;
a memory unit storing;
the operating system, the first and second applications, first information for managing correspondence between the IP addresses assigned to the network interfaces and process group identifiers so that one of the process group identifiers is uniquely defined for each of the IP addresses, andsecond information for managing a plurality of first sockets with respect to the first port number and a plurality of second sockets with respect to the second port number;
the first and second sockets being capable of receiving IP packets where their source IP addresses are any of the IP addresses;
wherein the processor is configured to;
create a plurality of first processes for establishing the first sockets, assign different ones of the process group identifiers to the first processes, create a plurality of second processes for establishing the second sockets, assign different ones of the process group identifiers to the second processes, andregister correspondence between the first sockets and the assigned process group identifiers and correspondence between the second sockets and the assigned process group identifiers with the second information;
wherein the processor is configured, upon receipt of an IP packet from the client computer requesting service designated by either one of the first port number or the second port number at one of the network interfaces, to;
retrieve the process group identifier corresponding to the network interface from the first information, retrieve one of the first and second sockets from the second information by both the designated port number and the process group identifier retrieved from the first information, and send the IP packet to the retrieved socket.
1 Assignment
0 Petitions
Accused Products
Abstract
An object of the present invention is to provide a server machine and network processing method capable of running a plurality of same server applications at a time on a single OS in a single sever machine.
A server machine comprises a packet dispatching processor for retrieving a destination application group of a communication packet based on first identification information included in a communication packet received by any of a plurality of ports and first management information; for retrieving a plurality of endpoints based on second identification information included in the communication packet and second management information; and for dispatching the communication packet to a server application corresponding to any of the plurality of the retrieved endpoints and belonging to the retrieved application group.
18 Citations
6 Claims
-
1. A server, comprising:
-
a plurality of network interfaces coupled to a client computer through a network, the network interface receiving and sending IP packets, different IP addresses being assigned to the network interfaces; a processor being configured to execute;
an operating system, a plurality of first applications running on the operating system when a first port number is assigned, anda plurality of second applications running on the operating system when a second port number is assigned; a memory unit storing;
the operating system, the first and second applications, first information for managing correspondence between the IP addresses assigned to the network interfaces and process group identifiers so that one of the process group identifiers is uniquely defined for each of the IP addresses, andsecond information for managing a plurality of first sockets with respect to the first port number and a plurality of second sockets with respect to the second port number;
the first and second sockets being capable of receiving IP packets where their source IP addresses are any of the IP addresses;wherein the processor is configured to;
create a plurality of first processes for establishing the first sockets, assign different ones of the process group identifiers to the first processes, create a plurality of second processes for establishing the second sockets, assign different ones of the process group identifiers to the second processes, andregister correspondence between the first sockets and the assigned process group identifiers and correspondence between the second sockets and the assigned process group identifiers with the second information; wherein the processor is configured, upon receipt of an IP packet from the client computer requesting service designated by either one of the first port number or the second port number at one of the network interfaces, to;
retrieve the process group identifier corresponding to the network interface from the first information, retrieve one of the first and second sockets from the second information by both the designated port number and the process group identifier retrieved from the first information, and send the IP packet to the retrieved socket. - View Dependent Claims (2, 3, 6)
-
-
4. A method, comprising:
-
providing first information for managing correspondence between IP addresses assigned to a server and process group identifiers so that one of the process group identifiers is uniquely defined for each of the IP addresses, creating a plurality of first processes for establishing a plurality of first sockets with respect to a first port number and a plurality of second processes for establishing a plurality of second sockets with respect to a second port number; the first port number being assigned to a plurality of first applications running on an operating system, the second port number being assigned to a plurality of second applications running on the operating system, the first and second sockets being capable of receiving IP packets where their source IP addresses are any of IP addresses assigned to the server; assigning different one of the process group identifiers to the first processes, assigning different one of the process group identifiers to the second processes, providing second information for managing the first and second sockets, and registering correspondence between the first sockets and the assigned process group identifiers and correspondence between the second sockets and the assigned process group identifiers with the second information; receiving an IP packet from a client computer requesting service designated by either one of the first port number or the second port number; retrieving the process group identifier corresponding to an IP address where the IP packet is received from the first information; retrieving one of the first and second sockets from the second information by both the designated port number and the process group identifier retrieved from the first information; and sending the IP packet to the retrieved socket. - View Dependent Claims (5)
-
Specification