Address and port number abstraction when setting up a connection between at least two computational devices
First Claim
1. Method of abstracting address and port number usage for an application (30) running on at least a first (10) and a second (16) device and comprising, in the first device, the steps of:
- receiving a request for binding of a socket to a service from the application in said first device, (step 50), obtaining an application specific service name to be used for a connection between the devices, (step 51), generating a resource record (26) comprising a binding between at least a port number (PX2) of said first device on the one hand and the application specific service name on the other hand, (step 52), creating a socket and binding it to the port number, (step 53), and ordering the sending of the resource record to an associated local name and service resolving unit (22), (step 54), such that the resource record can be stored in the name and service resolving unit in order to allow the application running in the second device to obtain an address and port number associated with the first device for use for a connection through sending a query to the name and service resolving unit about the application specific service name of the first device.
1 Assignment
0 Petitions
Accused Products
Abstract
The invention relates to a method, computational devices, a system of computational devices and computer program products for abstracting address and port number usage for an application running on first and second devices. The system comprises a first device (10) that receives a request for binding of a socket to a service from the application in said first device, obtains a service name, generates a resource record (26) comprising a binding between a port number and the service name, creates a socket and binds it to the port number, and sends the record to a resolving unit (22) associated with the first device, and a second device (16) that receives a request for a connection from the application in said second device, sends a query regarding the service name to the resolving unit, and receives an address and port number associated with the first device as response to the query.
14 Citations
23 Claims
-
1. Method of abstracting address and port number usage for an application (30) running on at least a first (10) and a second (16) device and comprising, in the first device, the steps of:
-
receiving a request for binding of a socket to a service from the application in said first device, (step 50), obtaining an application specific service name to be used for a connection between the devices, (step 51), generating a resource record (26) comprising a binding between at least a port number (PX2) of said first device on the one hand and the application specific service name on the other hand, (step 52), creating a socket and binding it to the port number, (step 53), and ordering the sending of the resource record to an associated local name and service resolving unit (22), (step 54), such that the resource record can be stored in the name and service resolving unit in order to allow the application running in the second device to obtain an address and port number associated with the first device for use for a connection through sending a query to the name and service resolving unit about the application specific service name of the first device. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. First computational device (10) for abstracting address and port number usage for an application (30) running on at least the first and a second (16) device, comprising:
a socket layer engine (32) arranged to;
receive a request for binding of a socket to a service from the application in said first device, obtain an application specific service name to be used for a connection between the devices, generate a resource record (26) comprising a binding between at least an own port number (PX2) on the one hand and the application specific service name on the other hand, create a socket and bind it to the port number, and order the sending of the resource record to a local name and service resolving unit (22) associated with the first device, such that the resource record can be stored in the name and service resolving unit, for allowing the application in the second device to obtain an address and port number associated with the first device for use in communication by means of a query regarding at least the application specific service name of the first device. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19)
-
20. Second computational device (16) for abstracting address and port number usage for an application (30) running on at least a first (10) and the second device and comprising:
a socket layer engine (32) arranged to;
receive a request for a connection from the application in said second device, order the sending of a query regarding at least an application specific service name associated with the first device to a name and service resolving unit (22) associated with the first device, which name and service resolving unit has a resource record (26) comprising a binding between an address (AX) and a port number (PX2) of said first device on the one hand and at least the application specific service name on the other hand, and receive an address and port number associated with the first device as a response to the query for use in setting up a connection, such that the connection can be set up using the received address and port number.
-
21. System of computational devices for abstracting address and port number usage for an application (30) running on at least a first (10) and a second (16) device and comprising:
-
said first computational device having a socket layer engine (32) arranged to;
receive a request for binding of a socket to a service from the application in said first device, obtain an application specific service name to be used for a connection between the devices, generate a resource record comprising a binding between at least an own port number (PX2) of the first device on the one hand and the application specific service name on the other hand, create a socket and bind it to the port number, and order the sending of the resource record to a local name and service resolving unit (22) associated with the first device, such that the resource record can be stored in the name and service resolving unit, said second computational device having a socket layer engine (32) arranged to;
receive a request for a connection from the application in said second device, order the sending of a query regarding the application specific service name associated with the first device to the name and service resolving unit associated with the first device, and receive an address and port number associated with the first device for use in setting up a connection as a response to the query, such that the connection can be set up using the received address and port number.
-
-
22. Computer program product (72) to be used on a first computational device (10) for abstracting address and port number usage for an application (30) running on at least the first and a second (16) device, said computer program product having:
computer program code, to make the first device execute, when said program code is loaded in the first device;
receive a request for binding of a socket to a service from the application in said first device, obtain an application specific service name to be used for a connection between the devices, generate a resource record (26) comprising a binding between at least a port number (PX2) of said first device on the one hand and the application specific service name on the other hand, create the socket and bind it to the port number, and order the sending of the resource record to a local name and service resolving unit (22) associated with the first device, such that the resource record can be stored in the name and service resolving unit for allowing the application in the second device to obtain an address and port number associated with the first device for use for setting up a connection by means of a query regarding the device name and application specific service name of the first device.
-
23. Computer program product (72) to be used on a second computational device (16) for abstracting address and port number usage for an application (30) running on at least a first (10) and the second device, said computer program product having:
computer program code, to make the second device execute, when said program code is loaded in the second device;
receive a request for a connection from an application (30) in said second device, order the sending of a query regarding at least an application specific service name associated with the first device to a name and service resolving unit (22) associated with the first device, which name and service resolving unit has a resource record (26) comprising a binding between an address (AX) and a port number (PX2) of said first device on the one hand and the application specific service name on the other hand, and receive an address and port number associated with the first device for use in setting up a connection as a response to the query, such that the connection can be set up using the received address and port number as well as an own address (AY) and port number.
Specification