Information
-
Patent Application
-
20020049800
-
Publication Number
20020049800
-
Date Filed
March 15, 200123 years ago
-
Date Published
April 25, 200222 years ago
-
CPC
-
US Classifications
-
International Classifications
Abstract
In a content retrieval device, a browser section generates a retrieval request for sub-content data to be retrieved presently. A protocol control section determines which communication path, a first communication path or a second communication path, should be used prior to reception of the sub-content data specified by the browser section. If the protocol control section determines use of the first communication path, a first communication control section receives the sub-content data specified by the browser section from a content server. If the protocol control section determines use of the second communication path, a second communication control section receives the sub-content data from the content server. In this way, the content retrieval device can select a suitable connection method prior to reception of data.
Description
BACKGROUND OF THE INVENTION
[0001] 1. Field of the Invention
[0002] The present invention relates to a content retrieval device, and more particularly, to a content retrieval device that is constructed to permit use of a plurality of connection methods and retrieves content data from a server via a communication network under an optimum connection method.
[0003] 2. Description of the Background Art
[0004] In recent years, browsing of home pages (Web pages) and exchanges of emails on the Internet have attained great popularity. To access the Internet, the user operates a content retrieval device typified by a cellular phone. The content retrieval device first establishes connection to a user-subscribing network (for example, a mobile communication network) for access to the Internet. The content retrieval device then accesses a server on the Internet and retrieves content data typified by a home page or an email via the network according to the operation by the user.
[0005] Conventionally, partly because of a low transfer rate in a network, servers mainly handled small-size content data such as text files and still picture files. However, with the recent technological advances, in which the content retrieval devices have achieved enhanced performance and the transfer rate in a network has dramatically improved. Accordingly, servers are now able to handle large-size content data such as moving picture files and audio files.
[0006] Conventional content retrieval devices access a network under either one of two connection methods, circuit switching connection and packet switching connection. In the circuit switching connection, one physical communication path is established between one caller and one call receiver. Since the caller and the call receiver occupy one communication path from the start of a call to the finish thereof in the circuit switching connection, data communication between the caller and the call receiver is free from influence of other data communication. That is, the communication delay, which means time required to deliver data from a sender to a receiver, can be made substantially constant, and thus it is easy to assure a transfer rate. With this feature, the circuit switching connection is suitable for occasions of transmitting large-size content data to the same receiver, such as multimedia phones and moving picture distribution.
[0007] In the packet switching connection, a communication path is not occupied by one call but is shared with other calls, contrary to the circuit switching connection. On the shared communication path, data is divided into packets and transmitted together with other packets for other call exchanges The packet switching connection therefore permits effective use of communication path resources and thus reduction of the communication cost. However, the packet switching connection generates troubles such as loss of packets and reversal of the order of arrival of packets, and thus fails to achieve constant communication delay, unlike the circuit switching connection. That is, in the packet exchanging connection, it is not easy to assure a transfer rate. Moreover, since packets for one call exchange must be distinguished from those for other call exchanges, each packet includes identifiers representing the sender and the receiver in addition to data to be transmitted. The effective transfer rate is therefore lower in the packet switching connection than in the circuit switching connection. The effective transfer rate as used herein refers to the transfer rate for data only, excluding control information such as identifiers. In view of the above, the packet switching connection is suitable for occasions where communication delay causes no significant problem or where data communication is not always active throughout the call period, such as exchanges of emails.
[0008] Conventionally, the content retrieval devices used only either one of the circuit switching connection and the packet switching connection. Recently, there has been developed a content retrieval device that can selectively use either the circuit switching connection or the packet switching connection. An example of such a content retrieval device is an inter-LAN connection device disclosed in Japanese Patent Gazette No. 2625388. The inter-LAN connection device is applied to systems that execute data communication via ISDN (integrated services digital network). The inter-LAN connection device monitors the data transfer amount on a communication path, and selects either the circuit switching connection or the packet switching connection based on the data transfer amount and the communication traffic amount, which means communication density of data on a communication path, for each transaction.
[0009] The inter-LAN connection device monitors data communication actually executed and selects either the circuit switching connection or the packet switching connection based on the status of the monitored data communication. Therefore, it is difficult for the device to select the connection method suitable for coming data communication. The inter-LAN connection device has another problem as follows. The connection method may be switched depending on the status of data communication. In such an event, communication delay is caused by the time required to complete the switching from one connection method to the other when continuous data communication without interruption is required, for example, when a moving picture file is transmitted. In view of the above, the inter-LAN connection device is not suitable for data having a nature that communication delay and interruption of data communication are fatal.
[0010] To solve the above problems, the inter-LAN connection device is provided with a transaction information setting section that sets an attribute of data exchanged for each transaction as transaction information. By referring to the transaction information setting section, coming data to be exchanged is predicted and a suitable connection method for the data is selected. However, on the Internet, various types of data such as text files, moving picture files, and audio files are available. Therefore, it is difficult for the inter-LAN connection device to correctly predict coming data to be exchanged.
SUMMARY OF THE INVENTION
[0011] Therefore, an object of the present invention is to provide a content retrieval device that selects a suitable connection method prior to data reception.
[0012] The present invention has the following features to solve the problem above.
[0013] One aspect of the present invention is directed to a content retrieval device having a multi-call function allowing use of a plurality of connection methods for retrieving content data from a server via a communication network under an optimum connection method. The content retrieval device includes: a browser section for generating a retrieval request specifying locational information of content data to be retrieved presently; a protocol control section for determining a connection method for the content data specified by the browser section prior to reception of the content data; and a communication control section for receiving the content data specified by the browser section from the server under the connection method determined by the protocol control section.
[0014] These and other objects, features, aspects and advantages of the present invention will become more apparent from the following detailed description of the present invention when taken in conjunction with the accompanying drawings.
BRIEF DESCRIPTION OF THE DRAWINGS
[0015]
FIG. 1 is a functional block diagram of a content retrieval device 1a.
[0016]
FIGS. 2A and 2B are views of the data structure of response data Drep generated by a content server 3 in FIG. 1 and an internal information table Tconn1, respectively.
[0017]
FIGS. 3A and 3B are views showing the relationship between main content data Dmc and sub-content data Dsc.
[0018]
FIG. 4 is a block diagram of a mobile communication unit Ucomm1 to Ucomm4.
[0019]
FIG. 5 is a flowchart of the operation of the mobile communication unit Ucomm1.
[0020]
FIG. 6 is a functional block diagram of a content retrieval device 1b.
[0021]
FIGS. 7A and 7B are views of a connection information table Tconn2 and an internal information table Tctyp, respectively.
[0022]
FIG. 8 is a flowchart of the operation of the mobile communication unit Ucomm2.
[0023]
FIG. 9 is a functional block diagram of a content retrieval device 1c.
[0024]
FIG. 10 is a view of a connection information table Tconn3.
[0025]
FIG. 11 is a flowchart of the operation of the mobile communication unit Ucomm3.
[0026]
FIG. 12 is a functional block diagram of a content retrieval device 1d.
[0027]
FIG. 13 is a flowchart of the operation of the mobile communication unit Ucomm4.
DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0028]
FIG. 1 is a functional block diagram of a content retrieval device 1a of a first embodiment of the present invention. FIG. 1 also shows a communication network 2 and a content server 3 in association with the content retrieval device 1a. The content retrieval device 1a has a multi-call function that permits retrieval of content data Dc from the content server 3 by either one of the connection methods, the packet switching connection and the circuit switching connection. The content retrieval device 1a accesses the content server 3 via a first communication path 4pkt during the packet switching connection, while it accesses the content server 3 via a second communication path 4tel during the circuit switching connection. To realize the data communication described above, the content retrieval device 1a includes a browser section Pbw, a protocol control section Ppc, a first communication control section Pcc1, and a second communication control section Pcc2.
[0029] The content server 3 stores some content data Dc, each of which is typically a text file described in a markup language typified by Hypertext Markup Language (HTML), an audio file, a still picture file, or a moving picture file. HTML permits linking of one content data Dc to another content data Dc (so-called hyperlink). In this embodiment, the content data Dc in which a link originates is hereinafter referred to as main content data Dmc, and the content data Dc as a linked target is hereinafter referred to as sub-content data Dsc.
[0030] To achieve hyperlink, the main content data Dmc includes an anchor tag Tanc that specifies locational information Iurl (that is, URL (uniform resource locator), specified as ur11 or url2 in FIG. 1) indicating the storage location of sub-content data Dsc. In this embodiment, the anchor tag Tanc also includes connection method information Iconn1 (connection method information Iconn11 or Iconn12 is illustrated in FIG. 1) as an attribute value. The connection method information Iconn1 indicates a suitable connection method under which the content retrieval device 1a suitably retrieves the sub-content data Dsc. In this embodiment, two types of connection method information Iconn1 are defined: the connection method information Iconn11 indicating that the suitable connection method is the packet switching connection, described as cc=packet, and the connection method information Iconn12 indicating that the suitable connection method is the circuit switching connection, described as cc=tel.
[0031]
FIG. 1 exemplifies one main content data Dmc and two sub-content data Dsc1 and Dsc2 as the sub-content data Dsc. As the locational information Iurl of the main content data Dmc, url0 is allocated, which has a form like http://www.xxx.co.jp/main.html. Assume that the sub-content data Dsc1 is a text file or a still picture file to which communication delay and interruption of data communication are not fatal, that is, a file suitably retrievable under the packet switching connection. Contrarily, assume that the sub-content data Dsc2 is an audio file or a moving picture file to which communication delay and interruption of data transfer are fatal, that is, a file suitably retrievable under the circuit switching connection. Assume also that the locational information Iurl of the sub-content data Dsc1 is url1 and that of the sub-content data Dsc2 is url2. Under the above assumption, the main content data Dmc has descriptions of two anchor tags Tanc1 and Tanc2. The anchor tag Tanc1 includes descriptions of “href=url1” and “cc=packet”, while the anchor tag Tanc2 includes descriptions of “href=url2” and “cc=tel”.
[0032] Hereinafter, the operation of the content retrieval device 1a will be described. The protocol control section Ppc receives a content retrieval request Dcreq from the browser section Pbw. Assume that the present content retrieval request Dcreq is generated in response to an input by the user of the content retrieval device 1a and includes the locational information Iurl of the main content data Dmc (that is, url0). The protocol control section Ppc passes the received retrieval request Dcreq to the first communication control section Pcc1, instructing to retrieve the main content data Dmc. In response to this instruction, the first communication control section Pcc1 first establishes the first communication path 4pkt to the content server 3 according to the packet switching connection requirements, if the connection has not been established, and then transmits the retrieval request Dcreq to the content server 3.
[0033] The first communication path 4pkt is used for retrieval of the main content data Dmc as described above. This is because, since the main content data Dmc is a file in which a link originates, the connection method suitable for this retrieval is not specified in the anchor tag Tanc. In addition, the communication cost is generally lower in the packet switching connection than in the circuit switching connection since many users share the first communication path 4pkt.
[0034] The content server 3 reads the content data Dc based on the locational information Iurl in the received retrieval request Dcreq, and generates a response header Hc and response data Drep. The content data Dc read presently is main content data Dmc. The response header Hc generated presently is a response header Hmc for the main content data Dmc, which includes a protocol identifier IDprt, a response result code Crep, a content type Ictyp, and a content data length Iclg as shown in FIG. 2A. The protocol identifier IDprt specifies the protocol for the present data communication. The response result code Crep specifies the response result to the present retrieval request Dcreq. The content type Ictyp indicates the type of the presently read content data Dmc. Here, assume that the present content type Ictyp indicates that the content data Dmc is described in HTML. The content data length Iclg indicates the size of the presently read content data Dmc. The response data Drep prepared presently is response data Drep1 for the main content data Dmc. The response data Drep1, which includes the main content data Dmc and the above-described response header Hmc added to the main content data Dmc, is transmitted to the content retrieval device 1a via the first communication path 4pkt.
[0035] In the content retrieval device 1a, the first communication control section Pcc1 receives the response data Drep1 via the first communication path 4pkt and passes the data to the protocol control section Ppc as it is. The protocol control section Ppc identifies the type of the content data Dc from the preceding content type Ictyp in the received response data Drep1. If the content type Ictyp indicates HTML, the protocol control section Ppc passes the received response data Drep1 to a language analysis portion (not shown) of the browser section Pbw, instructing to analyze the main content data Dmc in the response data Drep1.
[0036] In response to the instruction, the browser section Pbw analyzes the structure and arrangement of the text represented by the content data Dmc, and then performs display processing for the text. In addition, the browser section Pbw extracts, as internal information, a set of the locational information Iurl and the connection method information Iconn1 from each of the anchor tags Tanc1 and Tanc2. And the browser section Pbw describes the extracted information in an internal information table Tconn1 held therein. As shown in FIG. 2B, the internal information table Tconn1 is constructed to allow description of sets of the locational information Iurl and the connection method information Iconn1 therein. With this table, it is possible to indicate which connection method, the packet switching connection or the circuit switching connection, is suitable at the retrieval of the sub-content data Dsc. In this embodiment, the anchor tag Tanc1 includes the set of “href=url1” and “cc=Packet” as the connection method information Iconn11, and the anchor tag Tanc2 includes the set of “href=url2” and “cc=tel” as the connection method information Iconn12, as shown in FIG. 1. Therefore, described in the internal information table Tconn1 are the set of url1 and packet and the set of url2 and tel as shown in FIG. 2B. Thus, it is indicated that the packet switching connection is suitable for the retrieval of the sub-content data Dsc1, while the circuit switching connection is suitable for the retrieval of the sub-content data Dsc2.
[0037] When the sub-content data Dsc1 is to be retrieved, the protocol control section Ppc receives a retrieval request Dcreq including the locational information Iurl. This retrieval request Dcreq is automatically generated by the browser section Pbw. The retrieval request Dcreq is automatically generated when the sub-content data Dsc1 is embedded in the main content data Dmc. An example of this embedded data is shown in FIG. 3A, where a still picture represented by the sub-content data Dsc1 is pasted to text represented by the main content data Dmc. The protocol control section Ppc extracts the locational information Iurl from the received retrieval request Dcreq, and extracts the connection method information Iconn1 pairing with this locational information Iurl (connection method information Iconn11 in this case) from the internal information table Tconn1 (see FIG. 2B) The protocol control section Ppc determines which connection method, the packet switching connection or the circuit switching connection, should be adopted for the present sub-content data Dsc according to the extracted connection method information Iconn1. Since the connection method information Iconn11 has been extracted in this case, the packet switching connection is determined suitable.
[0038] Based on the above determination, the protocol control section Ppc passes the received retrieval request Dcreq to the first communication control section Pcc1, instructing to retrieve the sub-content data Dsc1. In response to this instruction, the first communication control section Pcc1 transmits the present retrieval request Dcreq to the content server 3 via the first communication path 4pkt if the first communication path 4pkt has been established. If not established, the first communication control section Pcc1 first establishes the first communication path 4pkt to the content server 3 and then transmits thereto the present retrieval request Dcreq.
[0039] Based on the locational information Iurl in the received retrieval request Dcreq, the content server 3 reads the content data Dc, and generates a response header Hc and response data Drep. The content data Dc read presently is sub-content data Dsc1. The content server 3 generates a response header Hsc1 for the sub-content data Dsc1. The response header Hsc1 is constructed as shown in FIG. 2A, where the content type Ictyp and the content data length Iclg respectively indicate the type and size of the presently read sub-content data Dsc1. In this embodiment, the type of the sub-content data Dsc1 is a still picture as shown in FIG. 3A, and thus the type specified by the content type Ictyp is still picture. The content server 3 generates response data Drep2 by adding the response header Hsc1 to the sub-content data Dsc1, and sends the response data Drep2 to the first communication path 4pkt.
[0040] The first communication control section Pcc1 of the content retrieval device 1a receives the response data Drep2 from the first communication path 4pkt and passes the data to the protocol control section Ppc as it is. The protocol control section Ppc identifies the type of the content data Dsc1 from the preceding content type Ictyp in the received response data Drep2. Once the protocol control section Ppc determines that the content type Ictyp indicates still picture, it passes the received response data Drep2 to a still picture display processing portion (not shown) of the browser section Pbw, instructing to carry out processing for displaying the sub-content data Dsc1 in the response data Drep2. In response to the instruction, the browser section Pbw performs still picture display processing of the sub-content data Dsc1. As a result, the browser section Pbw pastes the still picture represented by the sub-content data Dsc1 to the text represented by the main content data Dmc.
[0041] Next, retrieval of the sub-content data Dsc2 will be described. Assume that the sub-content data Dsc2 is an audio file and embedded in the main content data Dmc. More specifically, as shown in FIG. 3A, the audio represented by the sub-content data Dsc2 is played during the display of the text represented by the main content data Dmc. At the retrieval of the sub-content data Dsc2, the protocol control section Ppc receives a retrieval request Dcreq including the locational information Iurl (that is, url2) from the browser section Pbw. The protocol control section Ppc extracts the locational information Iurl from the received retrieval request Dcreq, and then extracts the connection method information Iconn1 pairing with this locational information Iurl (connection method information Iconn12 in this case) from the internal information table Tconn1. The protocol control section Ppc determines the connection method to be adopted presently (the circuit switching connection in this case) according to the extracted connection method information Iconn1.
[0042] Based on the above determination, the protocol control section Ppc passes the received retrieval request Dcreq to the second communication control section Pcc2, instructing to retrieve the sub-content data Dsc2. In response to this instruction, the second communication control section Pcc2 transmits the present retrieval request Dcreq to the content server 3 via the second communication path 4tel if the second communication path 4tel has been established. If not established, the second communication control section Pcc2 first establishes the second communication path 4tel to the content server 3 and then transmits thereto the present retrieval request Dcreq.
[0043] Based on the locational information Iurl specified in the received retrieval request Dcreq, the content server 3 reads the sub-content data Dsc2, and also generates a response header Hsc2 (see FIG. 2A) for the present sub-content data Dsc2. The content server 3 generates response data Drep3 by adding the response header Hsc2 to the sub-content data Dsc2, and sends the response data Drep3 to the second communication path 4tel.
[0044] The second communication control section Pcc2 of the content retrieval device 1a receives the response data Drep3 from the second communication path 4tel, and passes the data to the protocol control section Ppc as it is. The protocol control section Ppc identifies the type of the sub-content data Dsc2 from the content type Ictyp in the received response data Drep3. Once the protocol control section Ppc determines that the content type Ictyp indicates an audio file, it passes the received response data Drep3 to an audio replay processing portion (not shown) of the browser section Pbw, instructing to replay audio represented by the sub-content data Dsc2. In response to the instruction, the browser section Pbw performs replay processing. As a result, an output section (not shown) outputs the audio together with the screen display as shown in FIG. 3A.
[0045] As described above, the main content data Dmc includes the connection method information Iconn11 and Iconn12 suitable for retrieval of the sub-content data Dsc1 and Dsc2. Therefore, by analyzing the main content data Dmc, the content retrieval device 1a is informed of the connection methods suitable for retrieving the sub-content data Dsc1 and Dsc2 prior to retrieval of the sub-content data Dsc1 and Dsc2. In other words, the content retrieval device 1a can select the circuit switching connection prior to retrieval of the sub-content data Dsc2, and thus retrieve an audio file or a moving picture file without communication delay or interruption of data communication. Likewise, the content retrieval device 1a can select the packet switching connection prior to retrieval of the sub-content data Dsc1, and thus retrieve a file such as an email that does not require consideration to communication delay and interruption at relatively low communication cost.
[0046] In the first embodiment, the suitable connection method is specified by the attribute value in the anchor tag Tanc. Alternatively, a new anchor tag may be defined separately from the normal anchor tag Tanc to specify the suitable connection method.
[0047] In the above embodiment, the sub-content data Dsc1 and Dsc2 are embedded in the main content data Dmc (see FIG. 3A). Alternatively, the sub-content data Dsc1 and Dsc2 may be linked to the main content data Dmc while representing contents independent of the main content data Dmc. More specifically, as shown in FIG. 3B, the contents represented by the main content data Dmc are first displayed. Once the user designates the anchor tag Tanc1 or Tanc2 in the context of the displayed contents, the content retrieval device 1a retrieves the sub-content data Dsc1 or Dsc2. As a result, the displayed contents are switched to the contents represented by the sub-content data Dsc1 or Dsc2.
[0048] An example of implementation of the content retrieval device 1a described above will be described. FIG. 4 is a block diagram of a mobile communication unit Ucomm1 incorporating the content retrieval device 1a. Referring to FIG. 4, the mobile communication unit Ucomm1 includes CPU 11, ROM 12, a RAM 13, the first communication control section Pcc1, the second communication control section Pcc2, an input device 14, an output device 15, a multiplexer/demultiplexer 16, and a transmitter/receiver 17. The CPU 11 executes a program stored in advance in the ROM 12. During execution of the program, the CPU 11 uses the RAM 13 as a working area. The CPU 11 in combination with the ROM 12 and the RAM 13 constitutes the browser section Pbw and the protocol control section Ppc (see FIG. 1) described above. The first communication control section Pcc1 performs data communication under the packet switching connection under the control of the CPU 11. Likewise, the second communication control section Pcc2 performs data communication under the circuit switching connection under the control of the CPU 11. The CPU 11, the ROM 12, the RAM 13, the first communication control section Pcc1, and the second communication control section Pcc2 constitute the content retrieval device 1a.
[0049] The input device 14 typically includes keys, buttons, and a jog dial, which are operated by the user. The output device 15, which includes a liquid crystal display and a speaker, performs output processing for output data Dout generated by the CPU 11 and presents the contents represented by the output data Dout to the user. The multiplexer/demultiplexer 16 multiplexes the retrieval request Dcreq received from the first communication control section Pcc1 and the second communication control section Pcc2, and also demultiplexes the content data Dc received from the transmitter/receiver 17. More specifically, since content data Dc directed to other mobile communication units Ucomm1 are also sent from the transmitter/receiver 17, the multiplexer/demultiplexer 16 demultiplexes the content data Dc directed to itself from the content data Dc directed to other units. The transmitter/receiver 17 sends the retrieval request Dcreq multiplexed by the multiplexer/demultiplexer 16 to the communication network 2. In addition, the transmitter/receiver 17 receives the content data Do transmitted via the communication network 2 and passes the data to the multiplexer/demultiplexer 16.
[0050] The operation of the mobile communication unit Ucomm1 will be described with reference to the flowchart of FIG. 5. The CPU 11 executes a program stored in the ROM 12. The user inputs locational information Iurl of content data Dc that he or she desires to retrieve this time through the input device 14. Assume that the locational information input presently is the locational information Iurl of the main content data Dmc (that is, url0). The CPU 11 first operates as the browser section Pbw to generate a retrieval request (step S101) More specifically, at step S101, the CPU 11 generates a retrieval request Dcreq including the locational information Iurl sent from the input device 14.
[0051] The CPU 11 then operates as the protocol control section Ppc to determine whether or not the connection has been established (step S102). More specifically, at step S102, the CPU 11 determines whether or not access to the server 3 (see FIG. 1) is possible under either the packet switching connection or the circuit switching connection. If the connection has not been established, the CPU 11 passes the present retrieval request Dcreq to the first communication control section Pcc1, instructing to retrieve the main content data Dmc (step S103) The above series of processing until step S103 are those executed by the protocol control section Ppc.
[0052] In response to the instruction from the CPU 11, the first communication control section Pcc1 establishes the first communication path 4pkt to the content server 3 (step S104). Once the first communication path 4pkt has been established, the first communication control section Pcc1 passes the retrieval request Dcreq to the multiplexer/demultiplexer 16. The multiplexer/demultiplexer 16 then multiplexes the received retrieval request Dcreq and passes the multiplexed retrieval request Dcreq to the transmitter/receiver 17, which sends the multiplexed retrieval request Dcreq to the first communication path 4pkt. In this way, the presently generated retrieval request Dcreq is sent to the first communication path 4pkt (step S105). The server 3 receives the retrieval request Dcreq, and in response to the received retrieval request Dcreq, generates response data Drep1 (see FIG. 2A), which is sent to the first communication path 4pkt.
[0053] In the mobile communication unit Ucomm1, the transmitter/receiver 17 receives the response data Drep1 from the first communication path 4pkt and passes the data to the multiplexer/demultiplexer 16. The multiplexer/demultiplexer 16 demultiplexes the response data Drep1 directed to itself from those directed to other units, and passes the data to the first communication control section Pcc1. The first communication control section Pcc1 passes and stores the received response data Drep1 as it is to the RAM 13. In this way, the response data Drep1 is received by the mobile communication unit Ucomm1 (step S106) Once the response data Drep1 is stored in the RAM 13, the CPU 11 operates as the protocol control section Ppc to determine the type of the main content data Dmc from the preceding content type Ictyp in the received response data Drep1 (step S107). More specifically, the CPU 11 determines whether or not the main content data Dmc is described in HTML. In this case, the content type Ictyp in the response data Drep1 indicates HTML. Therefore, the CPU 11 proceeds to step S108.
[0054] The CPU 11 then operates as the browser section Pbw to analyze the main content data Dmc and extract sets of the locational information Iurl and the connection method information Iconn1 from the anchor tags Tanc1 and Tanc2 as internal information. The CPU 11 describes the extracted sets of the locational information Iurl and the connection method information Iconn1 in the internal information table Tconn1. In this way, the internal information table Tconn1 is created (step S108). The CPU 11 also analyzes the structure and arrangement of the text represented by the main content data Dmc, and generates output data Dout in the RAM 13 (step S109). The output data Dout is transferred to the output device 15, which performs display processing according to the output data Dout.
[0055] When the sub-content data Dsc1 or Dsc2 is to be retrieved by the mobile communication unit Ucomm1, the CPU 11 generates a content retrieval request Dcreq (step S101). This time, the retrieval request Dcreq is automatically generated by the CPU 11, and includes the locational information Iurl (that is, url1 or url2) The CPU 11 determines whether or not the connection has been established (step S102). This time, the first communication path 4pkt is available for data communication. The CPU 11 therefore determines that the connection has been established. The CPU 11 then determines whether or not the content data Dc to be retrieved presently is sub-content data Dsc (step S1010). More specifically, the CPU 11 determines whether or not the connection method information Iconn1 pairing with the locational information Iurl in the presently prepared retrieval request Dcreq is found in the internal information table Tconn1 (see FIG. 2B) created at step S108.
[0056] If the connection method information Iconn1 is not found in the table, the content data Dc to be retrieved presently must be main content data Dmc. The CPU 11 therefore goes to step S105 to execute the subsequent process steps. If the connection method information Iconn1 is found in the table, the content data Dc to be retrieved presently is considered to be sub-content data Dsc. The CPU 11 then extracts the connection method information Iconn1 (the connection method information Iconn11 or Iconn12) pairing with the locational information Iurl from the internal information table Tconn1 (step S1011) Thereafter, the CPU 11 determines whether or not the extracted connection method information Iconn1 indicates the second communication path 4tel (step S1012).
[0057] If the present retrieval request Dcreq includes url1 as the locational information Iurl, the connection method information Iconn11 has been extracted at step S1011. In this case, the CPU 11 determines that the extracted connection method information Iconn1 does not indicate the second communication path 4tel. That is, the CPU 11 determines retrieval of the sub-content data Dsc1 through the first communication path 4pkt as in the main content data Dmc.
[0058] If the present retrieval request Dcreq includes url2 as the locational information Iurl, the connection method information Iconn12 has been extracted at step S1011. In this case, the CPU 11 determines that the extracted connection method information Iconn1 indicates the second communication path 4tel. That is, the CPU 11 determines retrieval of the sub-content data Dsc2 under the circuit switching connection. The CPU 11 then proceeds to step S1013, and first instructs the first communication control section Pcc1 to cut the connection (disconnect the first communication path 4pkt). The CPU 11 then passes the presently generated retrieval request Dcreq to the second communication control section Pcc2, instructing to retrieve the sub-content data Dsc2 (step S1013) The above series of processing from steps S1010 through S1013 are also those executed by the protocol control section Ppc.
[0059] In response to the instruction from the CPU 11, the first communication control section Pcc1 disconnects the first communication path 4pkt that has been established as the path to the content server 3. Also, in response to the instruction from the CPU 11, the second communication control section Pcc2 establishes the second communication path 4tel to the content server 3 according to the circuit switching connection requirements (step S1014). Once the second communication path 4tel has been established, the second communication control section Pcc2 passes the retrieval request Dcreq to the multiplexer/demultiplexer 16. The multiplexer/demultiplexer 16 then multiplexes the received retrieval request Dcreq and passes the multiplexed retrieval request Dreq to the transmitter/receiver 17, which sends the multiplexed retrieval request Dcreq to the second communication path 4tel. In this way, the presently generated retrieval request Dcreq is sent to the second communication path 4tel (step S105). As a result, the sub-content data Dsc2 is retrieved via the second communication path 4tel, unlike the main content data Dmc.
[0060] As described above with reference to FIG. 3A, the sub-content data Dsc1 and Dsc2 represent still picture and audio, and thus are not described in HTML to the strict sense. Therefore, principally, the determination by the CPU 11 at step S107 is NO. In this case, the CPU 11 skips the step of extracting internal information from the sub-content data Dsc1 and Dsc2. The CPU 11 then generates the output data Dout based on the sub-content data Dsc1 and Dsc2 and transfers the output data Dout to the output device 15 (step S109). The output device 15 performs still picture display processing and audio replay processing according to the received sub-content data Dsc1 and Dsc2.
[0061]
FIG. 6 is a functional block diagram of a content retrieval device 1b of a second embodiment of the present invention. FIG. 6 also shows a communication network 2 and a content server 3 in association with the content retrieval device 1b. As the content retrieval device 1a, the content retrieval device 1b has a multi-call function that permits access to the content server 3 via a first communication path 4pkt during the packet switching connection and access to the content server 3 via a second communication path 4tel during the circuit switching connection. The content retrieval device 1b is different from the content retrieval device 1a in that a connection information management section Pconn1 is additionally provided to realize the data communication described above. The other construction of the content retrieval device 1b is the same as that of the content retrieval device 1a. In FIG. 6, therefore, the same components as those in FIG. 1 are denoted by the same reference numerals.
[0062] The connection information management section Pconn1 holds in advance and manages a connection information table Tconn2 as shown in FIG. 7A. The connection information table Tconn2 includes in advance sets of the content type Ictyp and the connection method information Iconn1 that is the same as that in the first embodiment. The content type Ictyp indicates the type of each content data Dc. This table therefore shows which connection method, the packet switching connection or the circuit switching connection, is suitable for each content type Ictyp of the content data Dc. In this embodiment, the content type Ictyp of text/html is allocated to an HTML file, while the content type Ictyp of video/mpeg is allocated to a moving picture file. Since communication delay and interruption of data communication are not fatal to the HTML file, text/html preferably pairs with the connection method information Iconn11 (packet switching connection). Also, since communication delay and interruption are fatal to the moving picture file, video/mpeg preferably pairs with the connection method information Iconnl2 (circuit switching connection).
[0063] The content server 3 stores some content data Dc as in the first embodiment. In the first embodiment, the suitable connection method itself (connection method information Iconn1) is described in the main content data Dmc as the attribute value of the anchor tag Tanc. In the second embodiment, however, as the attribute value of the anchor tag Tanc, the content type Ictyp indicating the type of the sub-content data Dsc is described. In this embodiment, prepared are two content types Ictyp: content type Ictyp1 indicating that the sub-content data Dsc specified by the anchor tag Tanc is an HTML file, described as type=text/html, and content type Ictyp2 indicating that the sub-content data Dsc specified by the anchor tag Tanc is a moving picture file, described as type=video/html.
[0064]
FIG. 6 exemplifies one main content data Dmc and two sub-content data Dsc1 and Dsc2 as the sub-content data Dsc. The locational information Iurl of the main content data Dmc is url0. Assume that the sub-content data Dsc1 is an HTML file to which communication delay and interruption of data communication are not fatal and that the sub-content data Dsc2 is a moving picture file to which communication delay and interruption are fatal, as described above. Assume also that the locational information Iurl of the sub-content data Dsc1 and Dsc2 are url1 and url2, respectively. Under the above assumption, the main content data Dmc has descriptions of two anchor tags Tanc1 and Tanc2. The anchor tag Tanc1 includes descriptions of “href=url1” and “type=text/html”, while the anchor tag Tanc2 includes descriptions of “href=url2” and “type=video/mpeg”.
[0065] The operation of the content retrieval device 1b having the above construction will be described. The content retrieval device 1b retrieves the main content data Dmc from the content server 3 in substantially the same manner as the content retrieval device 1a of the first embodiment. That is, the protocol control section Ppc passes the main content data Dmc to the browser section Pbw instructing to analyze the data. In response to this instruction, the browser section Pbw analyzes the structure and arrangement of the text represented by the content data Dmc to generate output data Dout representing the text. In addition, the browser section Pbw extracts sets of the locational information Iurl and the content type Ictyp from the anchor tags Tanc1 and Tanc2 of the presently received content data Dmc as internal information, and describes and holds the internal information in the internal information table Tctyp. As shown in FIG. 7B, the internal information table Tctyp is constructed in advance to allow description of sets of the locational information Iurl and the content type Ictyp therein, so that the content type Ictyp of each sub-content data Dsc is identified from this table. In the illustrated example, the anchor tag Tanc1 includes the set of “href=url1” and “type=text/html”, and the anchor tag Tanc2 includes the set of “href=url2” and “type=video/mpeg”, as shown in FIG. 6. Therefore, described in the internal information table Tctyp are the set of url1 and text/html and the set of url2 and video/mpeg.
[0066] When the sub-content data Dsc1 is to be retrieved, the protocol control section Ppc receives a retrieval request Dcreq including url1 as the locational information Iurl from the browser section Pbw. The protocol control section Ppc extracts the locational information Iurl from the received retrieval request Dcreq, and extracts the content type Ictyp (text/html in this case) pairing with the present locational information Iurl from the internal information table Tctyp (see FIG. 7B) of the browser section Pbw. The protocol control section Ppc then determines which connection method, the packet switching connection or the circuit switching connection, should be adopted for the sub-content data Dsc to be retrieved presently. For this purpose, the protocol control section Ppc inquires of the connection information management section Pconn1 about whether or not the connection information table Tconn2 includes a content type matching with the content type Ictyp extracted from the internal information table Tctyp. If the connection information table Tconn2 includes a content type matching with the inquired content type Ictyp, the connection information management section Pconn1 returns the connection method information Iconn1 (connection method information Iconn11 (packet) in this case) pairing with the content type Ictyp in question to the protocol control section Ppc. The protocol control section Ppc determines which connection method, the packet switching connection or the circuit switching connection, should be adopted for the sub-content data Dsc1 to be retrieved presently according to the connection method information Iconn1 fetched from the connection information management section Pconn1. In this case, since the connection method information Iconn11 is fetched, the packet switching connection is determined suitable. The subsequent operation is substantially the same as that of the first embodiment, and thus the description thereof is omitted here.
[0067] When the sub-content data Dsc2 is to be retrieved, the protocol control section Ppc receives a retrieval request Dcreq including url2 as the locational information Iurl. From the received retrieval request Dcreq, the protocol control section Ppc extracts the content type Ictyp (video/mpeg in this case) pairing with the locational information Iurl from the internal information table Tctyp of the browser section Pbw. The protocol control section Ppc then inquires of the connection information management section Pconn1 about whether or not the connection information table Tconn2 includes a content type matching with the content type Ictyp extracted from the internal information table Tctyp. If the connection information table Tconn2 includes the matching content type, the connection information management section Pconn1 returns the connection method information Iconn1 (connection method information Iconn12 (tel) in this case) pairing with the content type Ictyp in question to the protocol control section Ppc. The protocol control section Ppc determines which connection method, the packet switching connection or the circuit switching connection, should be adopted for the sub-content data Dsc2 to be retrieved presently according to the connection method information Iconn1 fetched from the connection information management section Pconn1. In this case, since the connection method information Iconn12 is fetched, the circuit switching connection is determined suitable. The subsequent operation is substantially the same as that of the first embodiment, and thus the description thereof is omitted here.
[0068] As described above, the main content data Dmc includes the content type Ictyp of each of the sub-content data Dsc1 and Dsc2. Also, the content retrieval device 1b holds the connection information table Tconn2 in which sets of the content type Ictyp and the connection method information Iconn1 are described in advance. The content retrieval device 1b analyzes the main content data Dmc and describes sets of the locational information Iurl and the content type Ictyp in the internal information table Tctyp. By referring to the internal information table Tctyp and the connection information table Tconn2, the content retrieval device 1b is informed of the connection method suitable for retrieving the sub-content data Dsc prior to retrieval of the sub-content data Dsc.
[0069] In the second embodiment, the content type Ictyp is described in the content data Dc, and the connection information management section Pconn1 managed the connection method information Iconn1 in association with the content type Ictyp. Alternatively, the connection method information Iconn1 may be managed in association with an attribute of the content data Dc if the attribute is described in the content data Dc. A typical example of the attribute of the content data Dc includes the file name, the file extension, and the content length Iclg. In particular, if the content length Iclg is described in the content data Dc and the connection information management section Pconn1 manages the connection method information Iconn1 in association with the content length Iclg, the connection method information Iconn1 to be fetched is determined by comparing the length Iclg of the content data Dc to be retrieved with the content length Iclg managed by the connection information management section Pconn1.
[0070] In the second embodiment, the content type Ictyp is described in the content data Dc. Alternatively, the content retrieval device 1b may retrieve part of the sub-content data Dsc in advance and analyze the part of the data, to specify the data format (that is, the content type Ictyp) of the present content data Dsc. The content retrieval device 1b then fetches the connection method information Iconn1 based on the specified content type Ictyp.
[0071] Hereinafter, a mobile communication unit Ucomm2 incorporating the content retrieval device 1b described above will be described. The mobile communication unit Ucomm2 has substantially the same construction as the mobile communication unit Ucomm1. Therefore, FIG. 4 will be referred to in the following description. The operation of the mobile communication unit Ucomm2 will be described with reference to the flowchart of FIG. 8. The flowchart of FIG. 8 is the same as the flowchart of FIG. 5 except that steps S108, S1010, and S1011 are replaced with steps S201, S202, and S203. In FIG. 8, therefore, steps corresponding to the steps in FIG. 5 are denoted by the same reference numerals, and the description thereof is omitted here.
[0072] When the mobile communication unit Ucomm2 is to retrieve the content data Dc, first, the CPU 11 reads a program from the ROM 12 to the RAM 13. The program in this embodiment includes the connection information table Tconn2 shown in FIG. 7A in advance. The connection information table Tconn2 is read to the RAM 13 during the read of the program. The mobile communication unit Ucomm2 executes steps S101 through S107 for retrieval of the main content data Dmc. Since the content type Ictyp of the response data Drep1 (see FIG. 2A) indicates HTML, the CPU 11 proceeds from step S107 to step S201, where the CPU 11 analyzes the main content data Dmc to extract the sets of the locational information Iurl and the connection method information Iconn1 from the anchor tags Tanc1 and Tanc2 as internal information. The CPU 11 stores the extracted internal information in the RAM 13 and describes the internal information table Tctyp shown in FIG. 7B (step S201) The CPU 11 then proceeds to step S109.
[0073] When the mobile communication unit Ucomm2 is to retrieve the sub-content data Dsc1 or Dsc2, the CPU 11 executes steps S101 and S102 and then proceeds to step S202, where the CPU 11 determines whether or not the content data Dc to be retrieved presently is sub-content data Dsc (step S202). More specifically, the CPU 11 determines whether or not the same locational information as the locational information Iurl included in the presently generated retrieval request Dcreq is found in the internal information table Tctyp (see FIG. 7B) described at step S201.
[0074] If the same locational information Iurl is not found in the table, the content data Dc to be retrieved presently is main content data Dmc. The CPU 11 therefore goes to step S105. If the same locational information Iurl is found in the table, the content data Dc to be retrieved presently is considered to be sub-content data Dsc. The CPU 11 then proceeds to step S203, where the CPU 11 extracts the content type Ictyp (text/html or video/mpeg) pairing with the extracted locational information Iurl from the internal information table Tctyp. Thereafter, the CPU 11 accesses the connection information table Tconn2 read in the RAM 13 together with the program, to extract the connection method information Iconn1 (packet or tel) pairing with the extracted content type Ictyp. The CPU 11 then proceeds to step S1012. The subsequent processing is the same as that of the first embodiment, and thus the description thereof is omitted here.
[0075]
FIG. 9 is a functional block diagram of a content retrieval device 1c of a third embodiment of the present invention. FIG. 9 also shows a communication network 2 and a content server 3 in association with the content retrieval device 1c. As the content retrieval device 1a, the content retrieval device 1c has a multi-call function that permits access to the content server 3 via a first communication path 4pkt during the packet switching connection and access to the content server 3 via a second communication path 4tel during the circuit switching connection. The content retrieval device 1c is different from the content retrieval device 1a in that a connection information management section Pconn2 is additionally provided to realize the data communication described above. The other construction of the content retrieval device 1c is the same as that of the content retrieval device 1a. In FIG. 9, therefore, the same components as those in FIG. 1 are denoted by the same reference numerals.
[0076] The connection information management section Pconn2 manages a connection information table Tconn3 shown in FIG. 10, which includes in advance sets of a part representing a feature of the locational information Iurl and the connection method information Iconn1 that is the same as that in the first embodiment. The locational information Iurl (that is, url) is uniquely allocated to each content data Dc, indicating the storage location of the content data Dc. Part of the locational information Iurl represents a feature of the content data Dc. More specifically, the locational information Iurl includes as a suffix an extension representing a feature of the content data Dc. Therefore, by referring to the set of the feature of the locational information Iurl and the connection method information Iconn1, it is identified which connection method, the packet switching connection or the circuit switching connection, is suitable for each feature (extension) of the locational information Iurl. In general, locational information Iurl having a form like http://www.xxx.co.jp/yyy.html is allocated to an HTML file, where the extension is .html. Communication delay and interruption of data communication are not fatal to the HTML file. Therefore, .html preferably pairs with the connection method information Iconn11 (packet switching connection). Likewise, locational information Iurl having a form like http://www.xxx.co.jp/zzz.mpg is allocated to a moving picture file when the file is created according to MPEG (Motion Picture Experts Group), where the extension is mpg. Communication delay and interruption are fatal to the moving picture file. Therefore, mpg preferably pairs with the connection method information Iconn12 (circuit switching connection).
[0077] The content server 3 stores some content data Dc (three in the illustrated embodiment) as in the first embodiment. The locational information Iurl described above is allocated to each content data Dc. In the first embodiment, the suitable connection method itself is described in the main content data Dmc as the attribute value of the anchor tag Tanc. In the third embodiment, the anchor tag Tanc has nothing to do with the nature of the content retrieval device 1c, and thus is not shown in this embodiment.
[0078] The operation of the content retrieval device 1c having the above construction will be described. The protocol control section Ppc receives a content retrieval request Dcreq including the locational information Iurl of the content data Dc. In response to the received retrieval request Dcreq, the protocol control section Ppc determines the connection method suitable for retrieval of the present content data Dc. Specifically, first, the protocol control section Ppc extracts the feature, that is, the extension of the locational information Iurl from the received retrieval request Dcreq. The protocol control section Ppc then inquires of the connection information management section Pconn2 about whether or not the feature matching with the presently extracted feature of the locational information Iurl is found in the connection information table Tconn3. If the connection information table Tconn3 includes the feature matching with the inquired feature of the locational information Iurl, the connection information management section Pconn2 returns the connection method information Iconn1 pairing with this feature of the locational information Iurl to the protocol control section Ppc. The protocol control section Ppc determines which connection method, the packet switching connection or the circuit switching connection, should be adopted for the content data Dc to be retrieved presently according to the received connection method information Iconn1. The subsequent operation is substantially the same as that of the first embodiment, and thus the description thereof is omitted here.
[0079] As described above, each content data Dc has locational information Iurl allocated thereto representing the feature of the content data Dc. The content retrieval device 1c holds in advance the connection information table Tconn3 including description of the connection method information Iconn1 in association with the feature of the locational information Iurl. The content retrieval device 1c extracts the feature of the locational information Iurl from the retrieval request Dcreq, and by using the extracted feature of the locational information Iurl and referring to the connection information table Tconn3, the content retrieval device 1c is informed of the connection method suitable for retrieving the content data Dc prior to retrieval of the content data Dc.
[0080] In the third embodiment, the connection method information Iconn1 is described in the connection information table Tconn3 in association with the extension, so that the protocol control section Ppc extracts the connection method information Iconn1 based on the extension of the locational information Iurl of the content data Dc to be retrieved. Alternatively, parts of the locational information Iurl other than the extension, such as the host name, part or all of the path, the scheme, or the port number may be described in the connection information table Tconn3. The protocol control section Ppc then extracts the connection method information corresponding to the information (the host name, part or all of the path, the scheme, or the port number) described in the connection information table Tconn3 using the locational information Iurl of the content data Dc to be retrieved.
[0081] Hereinafter, a mobile communication unit Ucomm3 incorporating the content retrieval device 1c described above will be described. The mobile communication unit Ucomm3 has substantially the same construction as the mobile communication unit Ucomm1. Therefore, FIG. 4 will be referred to in the following description. The operation of the mobile communication unit Ucomm3 will be described with reference to the flowchart of FIG. 11.
[0082] When the mobile communication unit Ucomm3 is to retrieve the content data Dc, first, the CPU 11 reads a program from the ROM 12 to the RAM 13. The program in this embodiment includes the connection information table Tconn3 shown in FIG. 10 in advance. The connection information table Tconn3 is read to the RAM 13 during the read of the program. When the content data Dc is to be retrieved by the mobile communication unit Ucomm3, the CPU 11 first operates as the browser section Pbw to generate a retrieval request (step S301). More specifically, at step S301, the CPU 11 generates a retrieval request Dcreq including the locational information Iurl received from the input device 14.
[0083] Thereafter, the CPU 11 operates as the protocol control section Ppc to extract an extension indicating the feature of the content data Dc to be retrieved presently from the presently extracted locational information Iurl (step S302). The CPU 11 then extracts the connection information Iconn1 pairing with the presently extracted feature of the locational information Iurl from the connection information table Tconn3 in the RAM 13 (step S303). The CPU 11 determines whether the present content data Dc should be retrieved under the packet switching connection or the circuit switching connection (step S304) according to the extracted connection method information Iconn1. If the extracted information is connection method information Iconn11, the packet switching connection is determined suitable for the present retrieval of the content data Dc. If the extracted information is connection method information Iconn12, the circuit switching connection is determined suitable for the present retrieval of the content data Dc.
[0084] Subsequently, the CPU 11 determines whether or not the connection to the content server 3 has been established (step S305) More specifically, the CPU 11 determines whether or not access to the server 3 (see FIG. 9) is possible under either the packet switching connection or the circuit switching connection. If the connection has not been established, the CPU 11 passes the presently generated retrieval request Dcreq to either the first communication control section Pcc1 or the second communication section Pcc2, instructing to retrieve the content data Dc (step S306). At this step, if the packet switching connection is determined suitable at step S304, the presently generated retrieval request Dcreq is passed to the first communication control section Pcc1. Contrarily, if the circuit switching connection is determined suitable, the present retrieval request Dcreq is passed to the second communication control section Pcc2. The above series of processing until step S306 are those executed by the protocol control section Ppc.
[0085] The first or second communication control section Pcc1 or Pcc2 establishes the first or second communication path 4pkt or 4tel, respectively, to the content server 3 only when instructed by the CPU 11 (step S307). Once the first or second communication path 4pkt or 4tel has been established, the first or second communication control section Pcc1 or Pcc2 passes the retrieval request Dcreq to the first or second communication path 4pkt or 4tel via the multiplexer/demultiplexer 16 and the transmitter/receiver 17. In this way, the retrieval request Dcreq is output to the first or second communication path 4pkt or 4tel (step S308). The server 3 receives the retrieval request Dcreq, generates response data Drep1 as shown in FIG. 2A in response to the request, and sends the response to the first or second communication path 4pkt or 4tel whichever has been currently established as the path to the mobile communication unit Ucomm3.
[0086] In the mobile communication unit Ucomm3, the first or second communication control section Pcc1 or Pcc2 receives the response data Drep directed to itself via the first or second communication path 4pkt or 4tel, the transmitter/receiver 17, and the multiplexer/demultiplexer 16. The first or second communication control section Pcc1 or Pcc2 stores the received response data Drep in the RAM 13 as it is. In this way, the CPU 11 receives the response data Drep. In the subsequent step, the CPU 11 operates as the protocol control section Ppc to analyze the response data Drep in the RAM 13 (step S309). Thereafter, the CPU 11 operates as the browser section Pbw to generate output data Dout in the RAM 13 according to the content data Dc (step S310). The output data Dout is transferred to the output device 15 for output processing.
[0087] In some cases, the content retrieval device 1c further generates a content retrieval request Dcreq after establishment of the connection. In such cases, the CPU 11 determines at step S305 that the connection has been established. The CPU 11 then determines whether or not switching of the connection is required (step S311). More specifically, the CPU 11 determines whether or not the communication path 4 (the first communication path 4pkt or the second communication path 4tel) presently used for data communication with the content server 3 matches with the communication path 4 determined at step S304. If it matches, no new connection establishment is required, and thus the CPU 11 goes to step S307. If the communication path 4 determined at step S304 is different from that presently used, the CPU 11 proceeds to step S312, where the CPU 11 first instructs the first or second communication control section Pcc1 or Pcc2 that is presently used for data communication to cut the connection (disconnect the first or second communication path 4pkt or 4tel). The CPU 11 then passes the presently generated retrieval request Dcreq to the first or second communication control section Pcc1 or Pcc2 that has been determined at step S304, instructing to retrieve the content data Dc (step S312). Thereafter, the content retrieval device 1c executes step S308.
[0088]
FIG. 12 is a functional block diagram of a content retrieval device id of a fourth embodiment of the present invention. FIG. 12 also shows a communication network 2 and a content server 3 in association with the content retrieval device id. The content retrieval device 1d has the same construction as the content retrieval device 1b, and thus the description thereof is omitted here. The content server 3 stores some content data Dc (three in the illustrated example) as in the third embodiment.
[0089] The operation of the content retrieval device 1d having the above construction will be described. The protocol control section Ppc receives a content retrieval request Dcreq generated by the browser section Pbw. The content retrieval request Dcreq includes the locational information Iurl of the content data Dc to be retrieved presently, as in the above embodiments. In response to reception of the retrieval request Dcreq, the protocol control section Ppc generates a header retrieval request Dhreq, which is data requesting the content server 3 to transmit only a response header Hc for the content data Dc to be retrieved presently. The retrieval request Dhreq includes the locational information Iurl specifying the content data Dc If data communication with the content server 3 has already been executed, the protocol control section Ppc passes the generated retrieval request Dhreq to the first or second communication control section Pcc1 or Pcc2 that is presently performing data communication, instructing to retrieve the response header Hc. The first or second communication control section Pcc1 or Pcc2 transmits the retrieval request Dhreq to the content server 3 via the first or second communication path 4pkt or 4tel only when instructed by the protocol control section Ppc.
[0090] If no data communication with the content server 3 ha already been executed, the protocol control section Ppc passes the generated retrieval request Dhreq preferably to the first communication control section Pcc1, instructing to retrieve the response header Hc. The first communication control section Pcc1 is selected because the first communication path 4pkt is less expensive in communication cost. In response to the instruction from the protocol control section Ppc, the first communication control section Pcc1 transmits the retrieval request Dhreq to the content server 3 via the first transmission path 4pkt.
[0091] The content server 3 prepares the response header Hc for the content data Dc based on the locational information Iurl specified in the received retrieval request Dhreq. The format of the response header Hc is as shown in FIG. 2A. The prepared response header Hc is transmitted by the content server 3 to the content retrieval device 1d via the first or second communication path 4pkt or 4tel.
[0092] In the content retrieval device 1d, the first or second communication control section Pcc1 or Pcc2 receives the response header Hc via the first or second communication path 4pkt or 4tel, and passes the response header Hc to the protocol control section Ppc as it is. The protocol control section Ppc extracts the content type Ictyp from the received response header Hc, and extracts the connection method information Iconn1 pairing with the extracted content type Ictyp from the connection information table Tconn2 (see FIG. 7A) in the connection information management section Pconn1. The protocol control section Ppc determines whether the present content data Dc should be retrieved under the packet switching connection or the circuit switching connection according to the extracted connection method information Iconn1. If the connection method information Iconn11 is extracted, the packet switching connection is determined suitable. Contrarily, if the connection method information Iconn12 is extracted, the circuit switching connection is determined suitable.
[0093] If the communication path 4 (the first communication path 4pkt or the second communication path 4tel) specified by the extracted connection method information Iconn1 is the same as the communication path 4 used for the transmission of the header retrieval request Dhreq, the protocol control section Ppc passes the retrieval request Dcreq received from the browser section Pbw to the first or second communication control section Pcc1 or Pcc2 that is presently performing data communication, instructing to retrieve the content data Dc. The first or second communication control section Pcc1 or Pcc2 transmits the retrieval request Dcreq to the content server 3 via the first or second communication path 4pkt or 4tel only when instructed by the protocol control section Ppc.
[0094] On the contrary, if the communication path 4 specified by the extracted connection method information Iconn1 is different from the communication path 4 used for the transmission of the header retrieval request Dhreq, the protocol control section Ppc instructs the first or second communication control section Pcc1 or Pcc2 that is presently performing data communication to cut the connection. The protocol control section Ppc then passes the retrieval request Dcreq received from the browser section Pbw to the first or second communication control section Pcc1 or Pcc2 that is not presently performing data communication, instructing to retrieve the content data Dc. The first or second communication control section Pcc1 or Pcc2 disconnects the first or second communication path 4pkt or 4tel presently established as the path to the content server 3 only when instructed to disconnect by the protocol control section Ppc. The first or second communication control section Pcc1 or Pcc2 establishes the first or second communication path 4pkt or 4tel only when instructed to retrieve the content data Dc by the protocol control section Ppc, and transmits the retrieval request Dcreq to the content server 3.
[0095] If the communication path 4 used for the transmission of the header retrieval request Dhreq is disconnected, the protocol control section Ppc passes the retrieval request Dcreq received from the browser section Pbw to the first or second communication control section Pcc1 or Pcc2 that is specified by the extracted connection method information Iconn11, instructing to retrieve the content data Dc. The first or second communication control section Pcc1 or Pcc2 establishes the first or second communication path 4pkt or 4tel as the path to the content server 3 only when instructed by the protocol control section Ppc, and transmits the retrieval request Dcreq to the content server 3. The content server 3 reads the content data Dc based on the locational information Iurl specified in the received retrieval request Dcreq, and transmits the read content data Dc to the content retrieval device 1d via the first or second communication path 4pkt or 4tel that is presently used for data communication.
[0096] As described above, the content retrieval device 1d retrieves the response header Hc of content data Dc before retrieving the content data Dc, and is informed of a connection method suitable for retrieval of the present content data Dc by referring to the content type Ictyp included in the retrieved response header Hc and the connection information table Tconn2.
[0097] In the fourth embodiment, the content type Ictyp is extracted from the response header Hc, and the connection information management section Pconn1 managed the connection method information Iconn1 in association with the content type Ictyp. Alternatively, an attribute of the content data Dc included in the response header Hc (for example, the content length Iclg) may be extracted, and the connection information management section Pconn1 may manage the connection method information Iconn1 in association with this attribute of the content data Dc. In particular, when the attribute of the content data Dc is the content length Iclg, the content retrieval device id determines the connection method information Iconn1 to be extracted by comparing the length Iclg of the content data Dc to be retrieved presently with the content length Iclg managed by the connection information management section Pconn1.
[0098] Hereinafter, a mobile communication unit Ucomm4 incorporating the content retrieval device 1d described above will be described. The mobile communication unit Ucomm4 has substantially the same construction as the mobile communication unit Ucomm1. Therefore, FIG. 4 will be referred to in the following description. The operation of the mobile communication unit Ucomm4 will be described with reference to the flowchart of FIG. 13. FIG. 13 is the same as FIG. 11 except that steps S302 to S304 are replaced with steps S401 to S405. In FIG. 13, therefore, steps corresponding to the steps in FIG. 11 are denoted by the same reference numerals, and the description thereof is omitted here.
[0099] When the mobile communication unit Ucomm4 is to retrieve the content data Dc, first, the CPU 11 reads a program from the ROM 12 to the RAM 13. The program in this embodiment includes the connection information table Tconn2 shown in FIG. 7A in advance. The connection information table Tconn2 is read to the RAM 13 during the read of the program. Thereafter, the CPU 11 generates a retrieval request (step S301). The CPU 11 then operates as the protocol control section Ppc to generate a header retrieval request Dhreq (step S402).
[0100] The CPU 11 passes the generated retrieval request Dhreq to either the first communication control section Pcc1 or the second communication control section Pcc2. If data communication with the content server 3 has already been executed, the CPU 11 passes the generated retrieval request Dhreq to the communication control section that is presently performing data communication, instructing to retrieve the response header Hc. In response to the instruction from the CPU 11, the first or second communication control section Pcc1 or Pcc2 transmits the retrieval request Dhreq to the content server 3 via the multiplexer/demultiplexer 16, the transmitter/receiver 17, and the first or second communication path 4pkt or 4tel. On the contrary, if no data communication has already been executed, the CPU 11 passes the generated retrieval request Dhreq to the first communication control section Pcc1. In response, the first communication control section Pcc1 transmits the retrieval request Dhreq to the content server 3 via the multiplexer/demultiplexer 16, the transmitter/receiver 17, and the first communication path 4pkt. In this way, the header retrieval request Dhreq is transmitted to the content server 3 (step S402).
[0101] The content server 3 generates the response header Hc and returns the response header Hc to the mobile communication unit Ucomm4 via the first or second communication path 4pkt or 4tel. In the mobile communication unit Ucomm4, the first or second communication control section Pcc1 or Pcc2 receives the response header Hc via the first or second communication path 4pkt or 4tel, the transmitter/receiver 17, and the multiplexer/demultiplexer 16, and stores the response header Hc in the RAM 13 as it is. In this way, the CPU 11 receives the response header Hc (step S403). The CPU 11 extracts the connection method information Iconn1 pairing with the content type Ictyp in the received response header Hc from the connection information table Tconn2 (see FIG. 7A) in the RAM 13. The CPU 11 determines whether the content data Dc should be retrieved under the packet switching connection or the circuit switching connection according to the extracted connection method information Iconn1 (step S405). Subsequently, the mobile communication unit Ucomm4 executes steps S305 through S312 that are substantially the same as those shown in FIG. 11. It should be noted however that the content server 3 may transmit only the content data Dc to the mobile communication unit Ucomm4 in response to the content retrieval request Dcreq. Transmission of the response header Hc is not necessarily required.
[0102] In the first to fourth embodiments described above, HTML is adopted as the markup language. The content retrieval devices 1a to 1d of the present invention can also perform the processing described above for content data Dc described in XML (eXtention Markup Language).
[0103] While the invention has been described in detail, the foregoing description is in all aspects illustrative and not restrictive. It is understood that numerous other modifications and variations can be devised without departing from the scope of the invention.
Claims
- 1. A content retrieval device having a multi-call function allowing use of a plurality of connection methods for retrieving content data from a server via a communication network under a suitable connection method, the content retrieval device comprising:
a browser section for generating a retrieval request specifying locational information of content data to be retrieved presently; a protocol control section for determining a connection method for the content data specified by said browser section prior to reception of the content data; and a communication control section for receiving the content data specified by said browser section from said server under the connection method determined by said protocol control section.
- 2. The content retrieval device according to claim 1, wherein content data includes locational information of each of sub-content data linked to the content data and connection method information indicating a connection method suitable for each of the sub-content data,
said browser section extracts the locational information and the connection method information of each of the sub-content data by analyzing the received content data, and then generates a retrieval request specifying the locational information of sub-content data to be retrieved presently, and said protocol control section determines a suitable connection method for reception of the sub-content data specified by said browser section based on the connection method information extracted by said browser section.
- 3. The content retrieval device according to claim 1, wherein content data includes locational information and a file attribute of each of sub-content data linked to the content data,
the content retrieval device further comprises a connection information management section for managing a connection information table including description of a suitable connection method in association with the file attribute of the content data, said browser section extracts a set of the locational information and the file attribute of each of the sub-content data by analyzing the received content data and holds the set as internal information, and then generates a retrieval request specifying the locational information of sub-content data to be retrieved presently, and said protocol control section determines a suitable connection method by, upon reception of the retrieval request generated by said browser section, receiving the file attribute pairing with the locational information specified in the retrieval request from said browser section and then extracting the suitable connection method pairing with the file attribute received from said browser section from said connection information management section.
- 4. The content retrieval device according to claim 1, wherein locational information is allocated to content data for indicating a storage location of the content data in said server, part of the locational information representing a feature of the content data,
the content retrieval device further comprises a connection information management section for managing a connection information table including description of a suitable connection method in association with the feature of the content data, and said protocol control section determines a suitable connection method by, upon reception of the retrieval request generated by said browser section, receiving the suitable connection method pairing with the part of the locational information included in the retrieval request from said connection information management section.
- 5. The content retrieval device according to claim 1, wherein said server is capable of transmitting a content header including a file attribute of content data, as well as the content data,
the content retrieval device further comprises a connection information management section for managing a connection information table including description of a suitable connection method in association with the file attribute of the content data, said browser section generates a first retrieval request specifying locational information of content data to be retrieved presently, upon reception of the first retrieval request generated by said browser section, said protocol control section generates a second retrieval request for retrieving a content header of the content data specified in the first retrieval request, said communication control section receives the content header specified in the second retrieval request generated by said protocol control section, and said protocol control section determines a suitable connection method by extracting the suitable connection method pairing with the file attribute included in the content header received by said communication control section from said connection information management section.
- 6. A content retrieval method for retrieving content data from a server via a communication network under a suitable connection method among a plurality of connection methods by use of a multi-call function, the method comprising the steps of:
generating a content retrieval request specifying locational information of content data to be retrieved presently; determining a suitable connection method prior to reception of the content data specified by said step of generating a content retrieval request; and receiving the content data specified by said step of generating a content retrieval request from said server under the connection method determined by said step of determining a suitable connection method.
- 7. The content retrieval method according to claim 6, wherein content data includes locational information of each of sub-content data linked to the content data and a connection method suitable for each of the sub-content data,
said step of generating a content retrieval request extracts the locational information and the connection method information of each of the sub-content data by analyzing the received content data, and then generates a content retrieval request specifying the locational information of sub-content data to be retrieved presently, and said step of determining a suitable connection method determines a suitable connection method based on the connection method information extracted by said step of generating a content retrieval request.
- 8. The content retrieval method according to claim 6, wherein the content data includes locational information and a file attribute of each of sub-content data linked to the content data,
a connection information table including description of a suitable connection method in association with the file attribute of the content data is managed in advance, said step of generating a content retrieval request extracts a set of the locational information and the file attribute of each of the sub-content data by analyzing the received content data and holds the set as internal information, and then generates a content retrieval request specifying the locational information of sub-content data to be retrieved presently, and said step of determining a suitable connection method determines a suitable connection method by, upon reception of the content retrieval request generated by said step of generating a content retrieval request, receiving the file attribute pairing with the locational information specified in the content retrieval request from said step of generating a content retrieval request, and then extracting the suitable connection method pairing with the file attribute received from said step of generating a content retrieval request from said connection information table.
- 9. The content retrieval method according to claim 6, wherein locational information is allocated to content data for indicating a storage location of the content data in said server, part of the locational information representing a feature of the content data,
a connection information table including description of a suitable connection method in association with the feature of the content data is managed in advance, and said step of determining a suitable connection method determines a suitable connection method by, upon reception of the content retrieval request generated by said step of generating a content retrieval request, extracting the suitable connection method pairing with the part of the locational information included in the content retrieval request from said connection information table.
- 10. The content retrieval method according to claim 6, wherein said server is capable of transmitting a content header including a file attribute of content data, as well as the content data,
a connection information table including description of a suitable connection method in association with the file attribute of the content data is managed in advance, the method further comprises the steps of:
upon reception of the content retrieval request generated by said step of generating a content retrieval request, generating a header retrieval request for retrieving a content header of the content data specified in the content retrieval request; and receiving the content header specified in the header retrieval request generated by the step of generating a header retrieval request from said server, and said step of determining a suitable connection method determines a suitable connection method by extracting the suitable connection method pairing with the file attribute included in the content header received by said step of receiving the content header from said connection information table.
- 11. A program-recorded recording medium on which recorded is a program for retrieving content data from a server via a communication network under a suitable connection method among a plurality of connection methods by use of a multi-call function, the program comprising the steps of:
generating a content retrieval request specifying locational information of content data to be retrieved presently; determining a suitable connection method prior to reception of the content data specified by said step of generating a content retrieval request; and receiving the content data specified by said step of generating a content retrieval request from said server under the connection method determined by said step of determining a suitable connection method.
- 12. A program-recorded recording medium according to claim 11, wherein content data includes locational information of each of sub-content data linked to the content data and a connection method suitable for each of the sub-content data,
said step of generating a content retrieval request extracts the locational information and the connection method information of each of the sub-content data by analyzing the received content data, and then generates a content retrieval request specifying locational information of sub-content data to be retrieved presently, and said step of determining a suitable connection method determines a suitable connection method based on the connection method information extracted by said step of generating a content retrieval request.
- 13. A program-recorded recording medium according to claim 11, wherein the content data includes locational information and a file attribute of each of sub-content data linked to the content data,
a connection information table including description of a suitable connection method in association with the file attribute of the content data is managed in advance, said step of generating a content retrieval request extracts a set of the locational information and the file attribute of each of the sub-content data by analyzing the received content data and holds the set as internal information, and then generates a content retrieval request specifying the locational information of sub-content data to be retrieved presently, and said step of determining a suitable connection method determines a suitable connection method by, upon reception of the content retrieval request generated by said step of generating a content retrieval request, receiving the file attribute pairing with the locational information specified in the content retrieval request from said step of generating a content retrieval request, and then extracting the suitable connection method pairing with the file attribute received from said step of generating a content retrieval request from said connection information table.
- 14. A program-recorded recording medium according to claim 11, wherein locational information is allocated to content data for indicating a storage location of the content data in said server, part of the locational information representing a feature of the content data,
a connection information table including description of a suitable connection method in association with the feature of the content data is managed in advance, and said step of determining a suitable connection method determines a suitable connection method by, upon reception of the content retrieval request generated by said step of generating a content retrieval request, extracting the suitable connection method pairing with the part of the locational information included in the content retrieval request from said connection information table.
- 15. A program-recorded recording medium according to claim 11, wherein said server is capable of transmitting a content header including a file attribute of content data, as well as the content data,
a connection information table including description of a suitable connection method in association with the file attribute of the content data is managed in advance, the method further comprises the steps of:
upon reception of the content retrieval request generated by said step of generating a content retrieval request, generating a header retrieval request for retrieving a content header of the content data specified in the content retrieval request; and receiving the content header specified in the header retrieval request generated by the step of generating a header retrieval request from said server, and said step of determining a suitable connection method determines a suitable connection method by extracting the suitable connection method pairing with the file attribute included in the content header received by said step of receiving the content header from said connection information table.
- 16. A program for retrieving content data from a server via a communication network under a suitable connection method among a plurality of connection methods by use of a multi-call function, the program comprising the steps of:
generating a content retrieval request specifying locational information of content data to be retrieved presently; determining a suitable connection method prior to reception of the content data specified by said step of generating a content retrieval request; and receiving the content data specified by said step of generating a content retrieval request from said server under the connection method determined by said step of determining a suitable connection method.
- 17. A program according to claim 16, wherein content data includes locational information of each of sub-content data linked to the content data and a connection method suitable for each of the sub-content data,
said step of generating a content retrieval request extracts the locational information and the connection method information of each of the sub-content data by analyzing the received content data, and then generates a content retrieval request specifying locational information of sub-content data to be retrieved presently, and said step of determining a suitable connection method determines a suitable connection method based on the connection method information extracted by said step of generating a content retrieval request.
- 18. A program according to claim 16, wherein the content data includes locational information and a file attribute of each of sub-content data linked to the content data,
a connection information table including description of a suitable connection method in association with the file attribute of the content data is managed in advance, said step of generating a content retrieval request extracts a set of the locational information and the file attribute of each of the sub-content data by analyzing the received content data and holds the set as internal information, and then generates a content retrieval request specifying the locational information of sub-content data to be retrieved presently, and said step of determining a suitable connection method determines a suitable connection method by, upon reception of the content retrieval request generated by said step of generating a content retrieval request, receiving the file attribute pairing with the locational information specified in the content retrieval request from said step of generating a content retrieval request, and then extracting the suitable connection method pairing with the file attribute received from said step of generating a content retrieval request from said connection information table.
- 19. A program according to claim 16, wherein locational information is allocated to content data for indicating a storage location of the content data in said server, part of the locational information representing a feature of the content data,
a connection information table including description of a suitable connection method in association with the feature of the content data is managed in advance, and said step of determining a suitable connection method determines a suitable connection method by, upon reception of the content retrieval request generated by said step of generating a content retrieval request, extracting the suitable connection method pairing with the part of the locational information included in the content retrieval request from said connection information table.
- 20. A program according to claim 16, wherein said server is capable of transmitting a content header including a file attribute of content data, as well as the content data,
a connection information table including description of a suitable connection method in association with the file attribute of the content data is managed in advance, the method further comprises the steps of:
upon reception of the content retrieval request generated by said step of generating a content retrieval request, generating a header retrieval request for retrieving a content header of the content data specified in the content retrieval request; and receiving the content header specified in the header retrieval request generated by the step of generating a header retrieval request from said server, and said step of determining a suitable connection method determines a suitable connection method by extracting the suitable connection method pairing with the file attribute included in the content header received by said step of receiving the content header from said connection information table.
Priority Claims (1)
Number |
Date |
Country |
Kind |
2000-73808 |
Mar 2000 |
JP |
|