The present disclosure relates to the subject matters contained in Japanese Patent Application No. 2008-086899 filed on Mar. 28, 2008, which are incorporated herein by reference in its entirety.
The present invention relates to an information receiver and a method for receiving information over a network from a various apparatuses which use Internet protocols of different versions as communication protocols.
In a video distribution system in which service providers provide VOD (video on demand) or IP (Internet protocol) broadcasts, the Internet protocol is used for exchange of a stream or an information file. However, the Internet protocol used on the network depends on the service provider; for example, different Internet protocols such as IPv4 and IPv6 are used by service providers. In view of this, JP-A-2006-067613, for example, discloses an IPv4-IPv6 converting apparatus which is equipped with an IP transmitting/receiving module for transmitting and receiving IPv4 packets and IPv6 packets, an IP header converting module for performing conversion between IPv4 packets and IPv6 packets by IP header conversion, a DNS proxy module for accepting a domain information acquisition request sent from an IPv4 terminal or an IPv6 terminal and processing the request on behalf of a DNS server, an IPv4 address acquiring module for acquiring an IPv4 address from a DHCP server, and an IP address conversion information retaining module for retaining an IPv6 address of an IPv6 terminal and the IPv4 address acquired by the IPv4 address acquiring module in such a manner that they are correlated with each other, whereby the IPv6 terminal can communicate with the IPv4 terminal even if the former is not assigned an IPv4 address in advance in a fixed manner.
Incidentally, to allow a receiver apparatus that is compatible with plural service providers to receive a service, it is necessary for the receiver apparatus to connect to a server of a service provider concerned. Usually, a connection destination is expressed in a form called a URI (uniform resource identifier) or an FQDN (fully qualified domain name) instead of being designated directly by an IP address. Therefore, the receiver apparatus cannot determine whether an Internet protocol used by the server is IPv4 or the IPv6.
The receiver apparatus attempts to acquire an address of the server with an assumption that both IP addresses are correctly set. Therefore, in many cases, first the receiver apparatus inquires of an IPv6 DNS (domain name system) server and, if it fails, inquires of an IPv4 DNS server (name resolution by DNS) However, where the server is of IPv4, the receiver apparatus acquires a server address after inquiring of the IPv6 DNS server. As a result, if a request packet is lost or the IPv6 DNS server is in trouble, the time is consumed in connection processing that is irrelevant to a desired service. If server IP addresses are stored to avoid this problem, the advantages of using URIs or FQDNs are lost, that is, it becomes impossible to cope with a system change of a service provider or load distribution of a server.
A general configuration that implements the various feature of the invention will be described with reference to the drawings. The drawings and the associated descriptions are provided to illustrate embodiments of the invention and not to limit the scope of the invention.
An information receiver apparatus and a method for receiving information according to an embodiment of the present invention will be hereinafter described with reference to the accompanying drawings.
The storage module 12 is to store names of servers on the IPv6 network 20 and the IPv4 network 30 from which the communication module 11 has received information in such a manner that they are correlated with the Internet protocol IPv6 or IPv4 used for those communications with the servers.
Returning to
The operation of the receiver apparatus 10 according to the embodiment will be described below.
When a request for connection to the portal server 23 or 33 is made at step S101, if the server 23 or 33 is designated by an FQDN (S102: yes), the communication module 11 moves to step S104. If the server 23 or 33 is designated by an IP address (S102: no), at step S103 the communication module 11 establishes a connection using the IP address (direct connection).
If no record corresponding to the FQDN is stored in the storage module 12 (S104: no), at step S105 the communication module 11 inquires of the DNS server 21 in the IPv6network 20 about an IP address using the server name (FQDN). If failing to acquire an IP address of the server 23 or 33 (S106: no), at step S107 the communication module 11 inquires of the DNS server 31 in the IPv4 network 30 about an IP address.
If the communication module 11 fails to acquire an IP address from both of the DNS server 21 in the IPv6 network 20 and the DNS server 31 in the IPv4 network 30 (S108: no), at step S109 an error message is displayed on the display module 15. On the other hand, if the communication module 11 succeeds in acquiring an IP address of the portal server 23 or 33 from the DNS server 21 in the IPv6 network 20 or the DNS server 31 in the IPv4 network 30 (S106: yes or S108: yes), at step S110 the storage module 12 stores the server name and the IP-address-acquired IP version in such a manner that they are correlated with each other.
Although in the example of
If failing to acquire an IP address of the server 23 from the DNS server 21 in the IPv6 network 20 (S203: no), at step S204 the communication module 11 inquires of the DNS server 31 in the IPv4 network 30 about an IP address.
If the communication module 11 fails to acquire an IP address from both of the DNS server 21 in the IPv6 network 20 and the DNS server 31 in the IPv4 network 30 (S205: no), at step S206 an error message is displayed on the display module 15. On the other hand, if the communication module 11 succeeds in acquiring an IP address of the portal server 33 from the DNS server 31 in the IPv4 network 30 (S205: yes), at step S207 the storage module 12 stores the server name again so as to be correlated with the IP-address-acquired IP version IPv4. At step S208, the communication module 11 establishes a connection with the portal server 33 using the acquired IP address.
On the other hand, as shown in
If failing to acquire an IP address of the server 33 from the DNS server 31 in the IPv4 network 30 (S302: no), at step S303 the communication module 11 inquires of the DNS server 21 in the IPv6 network 20 about an IP address.
If the communication module 11 fails to acquire an IP address from both of the DNS server 21 in the IPv6 network 20 and the DNS server 31 in the IPv4 network 30 (S304: no), at step S305 an error message is displayed on the display module 15. On the other hand, if the communication module 11 succeeds in acquiring an IP address of the portal server 23 from the DNS server 21 in the IPv6 network 20 (S304: yes), at step S306 the storage module 12 stores the server name again so as to be correlated with the IP-address-acquired IP version IPv6. At step S307, the communication module 11 establishes a connection with the portal server 23 using the acquired IP address.
In video distribution systems, there may occur a case that a configuration information file describing the configuration of a service concerned can be acquired from the configuration information server 22 or 32. In many cases, such a configuration information file contains multicast addresses for IP broadcast or information of other servers. Therefore, the communication module 11 may be such as to change the priority between IPv6 and IPv4 on the basis of such multicast address values or information containing other direct IP addresses.
According to the embodiment, from a second communication onward, the communication module 11 performs name resolution with the DNS servers 21 and 31 using an IP version that is stored in the storage module 12 so as to be correlated with a server name (FQDN). Therefore, the embodiment makes it possible to increase the speed of connection to apparatus that use Internet protocols of different versions as communication protocols without losing the advantages of using URIs or FQDNs, as well as to increase the ease of operation of a user.
In particular, the embodiment may be modified so that name resolution is performed first with IPv4 if the IP version of one of servers to which the communication module 11 has connected so far is IPv4 and name resolution is performed first with IPv6 if the IP version of one of servers to which the communication module 11 has connected so far is IPv6. This increases the probability that the speed of connection is increased.
In addition, the embodiment may be modified so that the priority between IPv6 and IPv4 is changed on the basis of such multicast address values contained in a configuration information file that is stored in the configuration information server 22 or 32. This also contributes to increasing the speed of connection.
Additional advantages and modifications will readily occur to those skilled in the art. Therefore, the invention in its broader aspects is not limited to the specific details and representative embodiments shown and described herein. Accordingly, various modifications may be made without departing from the spirit or scope of the general inventive concept as defined by the appended claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
2008-086899 | Mar 2008 | JP | national |