This application is a national stage of PCT/EP2003/012716, published in the German language on Nov. 13, 2003, which claims the benefit of priority to German Application No. 102 53 714.3, filed on Nov. 18, 2002.
The invention relates to a method for processing data packets in a data network which has a mobile function, and to a corresponding data network and a data transmission device.
In the case of data networks which have a mobile function, provision is made for a mobile terminal, e.g. a laptop or a PDA which is known in a home network, to move into an external network, wherein it is further ensured that data which is sent to the mobile terminal arrives at said mobile terminal.
A multiplicity of protocols which allow data networks having a mobile function are already known, e.g. the Internet protocol IPv4 with Mobile-Ipv4 support or the Internet protocol IPv6 with Mobile-Ipv6 support.
In data networks without a mobile function, transmission mechanisms are known which allow communication between computers that use different network protocols. In particular, the protocol translation mechanism NAT-PT (Network Address Translation—Protocol Translation) is known, which allows translation of addresses of the IPv4 protocol into addresses of the IPv6 protocol. This known mechanism is not designed for data networks having a mobile function and furthermore has several known disadvantages such as e.g. inadequate network security.
WO 01/41395 discloses a method and an arrangement in which the packets of a network protocol are encapsulated in packets of a different network protocol. In particular, the teaching thus suggests a tunneling of IPv6 packets within IPv4 packets.
The invention establishes a method for processing data packets in a data network which has a mobile function, which method allows the use of different network protocols in addition to the mobile function.
In a first embodiment, the method is used for processing data packets which must be transmitted in a data network which has a mobile function from a terminal to a data source via a home computer of the data network. In this context, the terminal and the data source use a first network protocol, in which addresses of the first network protocol are assigned to the terminal and the data source, the addresses being represented in a first format. In contrast, a second network protocol is used in the data network, in which addresses of a second network protocol are assigned to the computers in the data network, the addresses being represented in a second format, wherein the addresses of the first network protocol can also be represented in the second format. In accordance with the method, the terminal is assigned to a home network and the terminal in the home network receives a home address of the first network protocol, said home address being represented in the first format. The terminal also receives a second address of the second network protocol, said second address being represented in the second format, wherein the second address is the address in an external network outside of the home network if the terminal is situated in the external network. In the processing step of the method, which step is designated as the first processing step, a data packet including the home address represented in the first format as a source address and the address of the data source represented in the first format as a destination address is adapted in such a way that the adapted data packet contains the second address represented in the second format as a source address and the address of the home computer represented in the second format as a destination address as well as the address of the data source represented in the second format as a further address. As a result of this processing, a conversion of the addresses of a data packet from a first network protocol into a second network protocol is provided, wherein the converted addresses ensure that the data packet is forwarded to the home computer in the data network which has a mobile function. The correct routing of the data packet is therefore guaranteed.
In a particularly preferred embodiment of the invention, a so-called dual-stacked computer is used as a home computer, said dual-stacked computer being capable of processing both data packets of the first network protocol and data packets of the second network protocol. When using such a home computer, the terminal is assigned the home address of the first network protocol represented in the second format by the home computer, wherein the home address is then converted into the first format in a conversion step. In a particularly preferred embodiment, the first processing step and/or the conversion step in the claimed method is carried out in this context by a data transmission device which is connected to the terminal. The data transmission device therefore takes over the processing of the data packets independently of the terminal. In this context, the data packets which are processed are preferably transmitted via a PPP connection (point-to-point protocol) from the terminal to the data transmission device.
In order to ensure that the data packets which are processed in the first processing step are also correctly forwarded to the data source, a further second processing step is preferably carried out. In this processing step, the data packet which was adapted in the first processing step is changed in such a way that the changed data packet includes the home address represented in the first format as a source address and the address of the data source represented in the first format as a destination address, wherein the address of the data source represented in the first format is determined from the further address of the data packet which was adapted in the first processing step. In this way, data packets are produced again which can be processed by the first network protocol, i.e. in particular by the data source. In this context, it is preferable for the data packet which was adapted in the first processing step to be transmitted via the data network to the home computer and for the second processing step to be carried out by the home computer, wherein an assignment of the second address of the terminal to the home address is stored for the processing step in the home computer. The data packet which was changed in the second processing step is then transmitted to the data source.
In a preferred embodiment, the first network protocol is IPv4 with or without Mobile-IPv4 support and the second network protocol is IPv6 with Mobile-Ipv6 support or the first network protocol is IPv6 with Mobile-Ipv6 support and the second network protocol is IPv4 with or without Mobile-IPv4 support.
A second embodiment of the method relates to a method for processing data packets which are transmitted in a data network which has a mobile function from a data source to a terminal via a home computer of the data network. In contrast to the method of the first embodiment, the data is transmitted in the opposite direction in this method. For this, in a first processing step of the method, a data packet including the address of the data source represented in the first format as a source address and the home address represented in the first format as a destination address is adapted in such a way that the adapted data packet contains the address of the home computer represented in the second format as a source address and the second address of the terminal represented in the second format as a destination address as well as the address of the data source represented in the second format as a further address. This has the result of ensuring a conversion of the addresses of the first network protocol into the addresses of the second network protocol. Furthermore, the correct routing of the data packet in the data network is guaranteed.
In a preferred embodiment, the data packet which is adapted is transferred from the data source to the home computer and the first processing step is carried out by the home computer, wherein an assignment of the second address to the home address of the terminal is stored for the processing step in the home computer.
In a second processing step, the data packet which was adapted in the first processing step is preferably changed in such a way that the changed data packet includes the address of the data source represented in the first format as a source address and the home address represented in the first format as a destination address, wherein the address of the data source represented in the first format is determined from the further address of the data packet which was adapted in the first processing step. A correct routing of the data packet to the terminal is thereby guaranteed.
In particular, the data packet which was adapted in the first processing step is transmitted via the data network from the home computer to a data transmission device which is connected to the terminal and the second processing step is carried out by the data transmission device, wherein the data packet which was changed in the second processing step is then transmitted from the data transmission device to the terminal. Consequently, a part of the functionality of the processing method is taken over by a separate data transmission device which is not a component of the terminal. The terminal can therefore be disconnected from the processing method, wherein processed data packets are forwarded via a connection between data transmission device and terminal.
The connection between data transmission device and terminal in this case can be a PPP connection (point-to-point protocol), for example, which is easy to manage.
Analogously to the method of the first embodiment, in a preferred embodiment of the method of the second embodiment, the first network protocol is IPv4 with or without Mobile-IPv4 support and the second network protocol is IPv6 with Mobile-Ipv6 support or the first network protocol is IPv6 with Mobile-Ipv6 support and the second network protocol is IPv4 with or without Mobile-IPv4 support. Furthermore, the further address of the data packet which was adapted in the first processing step is preferably stored in the routing header of the data packet.
In addition to the method that is described above for processing data packets, the invention also relates to a data transmission device which is configured in such a way that both the first processing step in accordance with the first embodiment of the method and the first processing step in accordance with the second embodiment of the method can be carried out using this device. In this way, provision is made for a separate data transmission device which provides the essential functionalities of the data processing method independently of the terminal. In particular the data transmission device can be a mobile device, in particular a mobile radio device, by means of which a connection to a data network can be established easily.
The invention also relates to a data network which has a mobile function for transmitting data between data sources and terminals, wherein the data network is configured in such a way that a method in accordance with the first embodiment of the invention and a method in accordance with the second embodiment of the invention can be carried out. In such a data network, the home network and/or the external network is preferably a wireless network which is based on GPRS and/or Wireless LAN and/or Bluetooth and/or UMTS and/or CDMA2000 in particular. Moreover, a part of the data network is preferably the Internet.
Exemplary embodiments of the invention are explained and illustrated below with reference to the drawings in which:
The data network N which is illustrated in
The data network N is also connected to a data source CN, wherein data is exchanged between the terminal TE and the data source CN via the data network N. The data network N is a data network which has a mobile function, and is preferably a Mobile-IPv6 data network. In such a data network the data is sent in the form of data packets, wherein the source addresses and destination addresses of the data packets are stored in the headers of the data packets. The mobile function of the data network ensures that the terminal TE which is situated in the home network N1 can also switch to the external network N2, said external network being located outside of the home network, and that provision is made for forwarding the data packets to the terminal that is situated in the external network. This is achieved by routing data from the data source CN, which data is sent to the terminal TE, via the home computer HA, wherein the home computer modifies the data in such a way that it also reaches an external network. In the data network in
The method is exemplified below for the case in which the data network N is a Mobile-IPv6 network (subsequently abbreviated as MIPv6), whereas the data source CN and the terminal TE use the Internet protocol IPv4.
If the data transmission device MT is located in the home network, it requests a home address from the home computer HA of the data network. An IPv4 address which is written in MIPv6 format is used as a home address here. The IPv4 address is in turn converted by the data transmission device MT into the IPv4 format and assigned to the terminal TE. During the data transmission of a data packet from the terminal to the data source, the terminal firstly generates a data packet which contains the IPv4 home address in the IPv4 format as a source address and the IPv4 address of the data source CN in the IPv4 format as a destination address in the header. The data packet is firstly routed to the data transmission device MT via the data connection DL. As part of this activity, the data transmission device is assigned an MIPv6 second address CoA in the MIPv6 format, wherein the second address is an external address in an external network if the data transmission device is located in an external network. The data transmission device converts the data packet header of the data packet into an MIPv6 header. The converted header includes an MIPv6 external address CoA in the MIPv6 format as a source address and the MIPv6 address of the home computer in the MIPv6 format as a destination address. Furthermore, a routing header RH is generated, which contains the IPv4 address of the data source in the MIPv6 format. The payload of the data packet and further header options remain unchanged.
This data packet is now routed in a usual way to the home computer. The home computer in turn converts the header of the data packet into a header which contains as a source address the home address in the IPv4 format. In order to achieve this, an assignment of the external address in the MIPv6 format to the home address in the IPv4 format is stored in the home computer. The destination address of the header which is converted by the home computer is the IPv4 address of the data source in IPv4 format. The data packet can then be transferred from the home computer HA to the data source CN via the IPv4 protocol.
When transporting a data packet from the data source CN to the terminal TE, the header which is generated by the data source CE includes the IPv4 address of the data source in the IPv4 format as a source address and the home address in the IPv4 format as a destination address. The data packet is then routed to the home computer and converted by said home computer into a data packet which includes the MIPv6 address of the home computer in the MIPv6 format as a source address and the external address CoA in the MIPv6 format as a destination address. Furthermore, a routing header is then generated which includes the IPv4 address of the data source CN in the MIPv6 format. The data packet which is generated in this way is then routed to the data transmission device MT via the data network. This data transmission device generates a new header. This new header includes the address of the data source CN in the IPv4 format, which address was determined via the routing header, as a source address. The header includes the home address in the IPv4 format as a destination address. This data packet can then be forwarded to the terminal TE via the data connection DL and processed further by the terminal.
Number | Date | Country | Kind |
---|---|---|---|
10253714.3 | Nov 2002 | DE | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/EP03/12716 | 11/13/2003 | WO | 5/17/2005 |