Method for setting up a communication between a device and a host application over an IP network, host application and DSL router, and software programs realizing said method

Abstract: A method is described for setting up a communication between a device (R1;R2) and a host application (A11; A12; A21; A22) over an IP network, where this device has no externally known IP address. The method includes the steps of : a. sending out a multicast discovery request by the host application to a specific multicast address and a specific port known by the device; b. the device responding to the discovery message with a multicast discovery response to the specific multicast address and specific port number, the discovery response including a unique identification parameter proper to the device and the host IP address and application port number; c. the host application accepting this identification message based on the host IP address and application port number and sending subsequent multicast messages to the specific multicast address and specific port and including the identification parameter; d. the device accepting the subsequent multicast messages based on the identification parameter and sending subsequent multicast messages to the specific multicast address and specific port and including the identification parameter and the host IP address and application port number.

Description: The present invention relates to a method for setting up a communication between a device and a host application over an IP network, where said device has no externally known IP address. In order to be able to operate a device over an IP network, there's a need for the device to have a unique IP address. Currently a few solutions exist to assign these IP addresses: an IP address may be manually configured by the network administrator before bringing the device on-line. This is however only possible to maintain in stable networks and it is error-prone. For larger networks a frequently used technique is to have a single node act as network address server. This server then automatically assigns unique IP addresses to the other hosts in the network. Finally in small office and home networks, IP addresses for local network communication can be generated automatically. When the device has no unique IP address it can not be reached directly. Closest prior art, EP-A-1 139634, discloses a method of using multicast messages to dynamically allocate a temporary home address. The objective of this invention is to enable communication with devices having no externally known IP address, without the need to assign such an address. This is realized by the method as described in claim 1, and by the host and device of claims 3 and 5 and the software programs of claims 7 and 8 for realizing this method. Indeed by sending a discovery request to a specific multicast address and specific port, both known by the device, the device can be reached. However, all devices knowing and listening to this specific multicast address and specific port are also reached in this way and will respond to this discovery request. The subsequently sent discovery responses contain an identification parameter which makes it possible for the host application to thereafter reach a specific device by including the identification parameter, whilst the other devices having another identification will ignore the subsequent messages. The discovery response and all subsequent messages sent by the device include the host IP address and application port number where the discovery request originated from to allow the device to communicate with a specific host application. A characteristic feature of the present invention is that this method can be used to configure devices on a local network, e.g. DSL routers not having a known IP address, by sending in the subsequent messages information enabling the device to configure itself. This is described in the claims 2, 4 and 6. The above and other objects and features of the invention will become more apparent and the invention itself will be best understood by referring to the following description of an embodiment taken in conjunction with the accompanying drawings wherein a schematic is shown of an IP network to which a host modules H1 (with running applications A11 and A12) and H2 (with running applications A21 and A22) and DSL routers R1 and R2 are connected. The address of the DSL routers is not known. In order to be able to reach a DSL router, e.g. R1, an a host application, e.g. A11 sends a multicast message over the IP network, in this embodiment called a discovery request, to a specific multicast address and a specific port as registered with an official organism such as IANA and known by R1 and R2. Upon receipt of this message the DSL routers R1 and R2 send a discovery response to the same specific multicast address and specific port, and include in this message an identifier unique for each of these particular DSL routers and the host IP address and application port number to specify the host application addressed, i.e. A11. This unique device identifier can be a MAC address, a serial number or any other parameter that is not shared with any other device. The discovery response is accepted only by A11, based on the included host IP address and application port number. Once the unique identifier is known to the host application A11, this identifier is included by the host application in all subsequent messages sent to the specific multicast address and port. Only the DSL router that matches to the identifier, i.e. in this case R1, interpretes the message as being intended for it and accepts and interpretes the messages. These messages can for instance contain information for configuring the router. All other devices, e.g. R2 receiving the messages via the specific multicast address and specific port just ignore these messages. Vice versa, the DSL router R1 includes the host IP address and application port number identifying the host application in all subsequent messages to specify the host application addressed, i.e. A11. All other host applications, e.g. A22, receiving the messages via the specific multicast address and specific port just ignore these messages. While the principles of the invention have been described above in connection with specific apparatus, it is to be clearly understood that this description is made only by way of example and not as a limitation on the scope of the invention, as defined in the appended claims.

Claims: Method for setting up a communication between a device (R1;R2) and a host application (A11; A12; A21; A22) over an IP network, where said device has no externally known IP address, said method including the steps of : a) sending out a multicast discovery request by said host application to a specific multicast address and a specific port known by said device; b) said device responding to said discovery request with a multicast discovery response sent to said specific multicast address and specific port said discovery response including a unique identification parameter proper to said device and host IP address and application port number as identified from said discovery request; c) said host application accepting said discovery response based on said host IP address and application port number and sending subsequent multicast messages to said specific multicast address and specific port and including said identification parameter; d) said device accepting said subsequent multicast messages based on said identification parameter and sending subsequent multicast messages to said specific multicast address and specific port and including said identification parameter and said host IP address and application port number. Method according to claim 1 characterised in that said subsequent messages include information enabling said device, e.g. a DSL router to configure itself. Host application for being connected to an IP network to which also at least one device can be connected, said device having an IP address that is not externally known, said host application including generation means realised to generate a discovery request, transmission means realized to multicast said discovery request to a specific multicast address and specific port known by said device, reception means realized to receive a discovery response multicast by said device in response to said discovery request, to said specific multicast address and specific port, and including an identification parameter identifying said device, and generation and transmission means realized to generate subsequent multicast messages including said identification parameter and to multicast said subsequent multicast messages to said specific multicast address and specific port. Host application according to claim 3, characterized in that said generation and transmission means are realized to include in said subsequent multicast messages information enabling said device, e.g. a DSL router to configure itself. Device for being connected to an IP network to which also at least one host application can be connected, said device having an address that is not externally known, said device including reception means able to receive a discovery request multicast by said host application to a specific multicast address and specific port known by said device, transmission means realized to multicast a discovery response to said specific multicast address and specific port and including an identification parameter identifying said device and said host IP address and application port number, said reception means also being realized to accept subsequent multicast messages sent by said host to said specific multicast address and specific port and including said identification parameter. Device according to claim 5, characterized in that said reception means are in addition realized to recognise in said subsequent messages information enabling configuration of said device, e;g. a DSL router, and operation means realized to configure said device based on said information. Software program for running on a host connected to an IP network to which also at least one device is connected, said device having an address that is not externally known, said software program when running realizing the steps a and c of the method according to claim 1. Software program for running on a device connected to an IP network to which also at least one host is connected, said device having an address that is not externally known, said software program when running realizing the steps b and d of the method according to claim 1 .

Inventors: COSEMANS PETER JOZEF JEANNE, DE BRUYKER DIRK, DELEU JOHAN GHISLAIN, COSEMANS, PETER JOZEF JEANNE, DE BRUYKER, DIRK, DELEU, JOHAN GHISLAIN
Applicants: CIT ALCATEL, ALCATEL
Application year: 2001
Main classification: H04L29
IPC codes: H04L29