This application is based upon and claims the benefit of priority from Japanese patent application No. 2009-087852 filed on Mar. 31, 2009, the disclosure of which is incorporated herein in its entirety by reference.
1. Field of the Invention
The present invention relates to a web content distribution system.
2. Description of Related Art
In recent years, many computer systems use web browsers (such as Internet Explorer (registered trademark) and FIREFOX (registered trademark)) as a user interface. A wide range of languages is used in these web browsers, including not only HTML (registered trademark) but also JAVA (registered trademark) and Flash (registered trademark) or the like.
Owing to increased opportunities to use web browsers as a user interface, users who are less experienced in using a computer and users who use a computer less frequently and the like have more opportunities to use web browsers. There is known a technique, in browsing by web browsers, to supply guidance adapted to use opportunity and information to prevent an input error or other information (e.g. refer to Japanese Patent Publication JP2006-268736A (Patent literature 1) and Japanese Patent Publication JP2005-196504A (Patent literature 2: corresponding to US2005198202 (A1))).
The technique according to the patent literature 1 analyzes sharing restriction by using a property provided in an HTML tag as a source, and adds the information to HTML to display on the browser.
We have now discovered the following facts.
In the technique according to the patent literature 1, a tag related to sharing restriction information is required. In order to add the tag, it is necessary to construct a system such that a group, which adds a tag related to sharing restriction information, can change browsing information independently. Therefore, it is extremely difficult to add a tag related to sharing restriction information to contents, which are prohibited from changing due to copyright or other reasons. It is also difficult to make a tag correspond to a support system which adds usage guide and information adapted to a displayed page.
In a technique according to the patent literature 2, a tag is added in a form of being overlaid on a screen of a web browser. However, this tag is realized by a program on a server side. Data transmitted from a server to a web browser of a client also includes tag information to be overlaid. As described above, the technique according to the patent literature 2 also corresponds to a system which can change browsing information independently. Therefore, it is extremely difficult to apply the system to contents which are prohibited from changing due to copyright or other reasons.
As stated above, a conventional technique is provided on an assumption that a subject itself to which information is added is its own information and information authorized to change. Accordingly, additional information is provided in a form of being embedded in original content information (HTML description).
In web contents such as HTML, a technique is desired to add additional information and additional function without changing descriptions of original data of web contents.
The present invention seeks to solve one or more of the above problems, or to improve upon those problems at least in part.
In one embodiment, a web content distribution system includes a web content server; a relay server; and a client device. The web content server stores content data. The relay server stores additional information and is connected to the web content server through a network. The client device stores a web browser and is connected to the web content server and the relay server through the network. The relay server extracts a start tag indicating a start of the content data and an end tag indicating an end of the content data. The relay server adds the additional information to the content data in a subsequent part of the end tag to supply to the client device.
In another embodiment, a relay server, which is connected through a network to a client device and a web content server storing content data, includes: an additional information storage portion; a page request response portion; and an additional information conversion portion. The additional information storage portion stores additional information. The page request response portion extracts a start tag indicating a start of the content data and an end tag indicating an end of the content data. The relay server adds the additional information to the content data in a subsequent part of the end tag to supply to the client device.
In another embodiment, a web content distribution method includes: reading out content data; reading out additional information; and supplying the content data and the additional data to a client device. The supplying step includes: extracting a start tag indicating a start of the content data and an end tag indicating an end of the content data, and adding the additional information to the content data in a subsequent part of the end tag to supply to the client device.
According to the present invention, additional information and additional function can be added without changing descriptions of original data of web contents.
The above and other objects, advantages and features of the present invention will be more apparent from the following description of certain preferred embodiments taken in conjunction with the accompanying drawings, in which:
The invention will be now described herein with reference to illustrative embodiments. Those skilled in the art will recognize that many alternative embodiments can be accomplished using the teachings of the present invention and that the invention is not limited to the embodiments illustrated for explanatory purposed.
Embodiments of the present invention will be explained below with reference to attached drawings. Note that, in the drawings to explain the embodiments, like reference numbers refer to like members in principle and repetitive explanation thereof will be omitted. Note that, in following explanation, the present embodiment is explained by using a word “page” such as a “page request”. This expression comes from assuming one display screen as a page of a book when a user sees specific contents by using a web browser 8 to be described later. This concept comes from likening an operation to switch a screen by clicking a link on the web browser 8 to turning a page of a book. When content data 6 is seen through the web browser 8, it seems like an aggregate of pages.
A first embodiment to carry out the present invention will be explained below.
Note that, in the web content distribution system 1 according to the present embodiment, each of the web content server 2 and the client device 4 is a general information processing device which is widely disseminated. Accordingly, for easy understanding of the present invention, detailed explanation regarding an internal configuration of the device will be omitted. A procedure to send the content data 6 and a procedure to display a screen on the web browser 8 also correspond to general methods which are widely disseminated. Accordingly, detailed explanation regarding these procedures will be omitted.
The relay server 3 includes a page information temporary storage portion 11, an additional information target page temporary storage portion 12, an additional information maintenance portion 13, a path switch portion 14, a path switch control portion 15, a page request response portion 16, an additional information conversion portion 17, a URL monitor portion 18, an additional information target URL storage portion 19, and an additional information storage portion 20. The additional information storage portion 20 in the relay server 3 stores the additional information 7. The client device 4 includes the web browser 8. The web content server 2 stores the content data 6.
An operation in the web content distribution system 1 according to the present embodiment will be explained below.
In a step S102, an access request is sent from the client device 4 to the relay server 3. The URL monitor portion 18 in the relay server 3 determines whether or not the URL corresponding to the access request is an additional information target URL by referring to the additional information target URL storage portion 19. If the determination result indicates it is an additional information target URL, the process will move onto a step S103. Also, if the determination result indicates it is not an additional information target URL, the process will move onto a step S111.
In the step S111, since the URL corresponding to the access request is not an additional information target URL, the client device 4 accesses the page information temporary storage portion 11. In a step S112, page information stored in the page information temporary storage portion 11 is read out and sent to the web browser 8. After that, the process will move onto a step S110.
In the step S103, the path switch control portion 15 activates the path switch portion 14 to switch an access path. In a step S104, the client device 4 accesses the page request response portion 16.
In a step S105, the page request response portion 16 accesses the additional information target page temporary storage portion 12 in which the content data 6 stored in the web content server 2 is partially cached. The page request response portion 16 executes determination of whether or not data which was read out from the additional information target page temporary storage portion 12 is last page data. If the determination result indicates it is last page data, the process will move onto S108. If the determination result indicates it is not last page data, the process will move onto S106. In the step S106, the page request response portion 16 reads out page data by referring to the additional information target page temporary storage portion 12. In a step S107, the page request response portion 16 transmits the read page data to the web browser 8. The steps S106 and S107 are repeated until the determination result indicates it is last page data in the step S105.
In the step S108, the page request response portion 16 accesses the additional information conversion portion 17. In a step S109, the additional information conversion portion 17 transmits the additional information 7, which was obtained by referring to the additional information storage portion 20, to the web browser 8 via the page request response portion 16 so as to continuously follow last data of previously transmitted page data.
In the step S110, at the web browser 8 of the client device 4, an access page is displayed with additional information on the web browser 8. Note that a process to cache the content data 6, which is stored in the web content server 2, in the additional information target page temporary storage portion 12 via the page information temporary storage portion 11 is executed in a background of the flow shown in
A page request from the client device 4 to the relay server 3 starts from TCP SYN shown by a broken line arrow. Based on TCP SYN, a process to establish a transmission path is initially dealt with. As shown in
It may be considered that responses of the TCP transmission path shown by broken line arrows are inserted in responses of the content data 6 and the additional information 7, and responses of the content data 6 and the additional information 7 are cut off. However, referring to
are transmitted.
When HTML in the above format is received, the web browser 8 constructs a display screen by combining the content data 6 and the additional information 7 so as to reflect it on a display device of the client device 4.
as shown in
as shown in
A second embodiment to carry out the present invention will be explained below.
If the relay server 3 provided with the relay server function block 21 is applied to a network configuration of an IP address system as shown in
As described above, the web content distribution system 1 according to the present invention is capable of displaying a screen to which additional information is added on a web browser of a client PC without adding changes to original data of web content. It is also possible to add additional information prepared by an additional information provider to content data which is not authorized to change due to copyright such as web content software placed on the market and web contents on the Internet. Moreover, the web content distribution system 1 can add optimum information for a department.
The concrete embodiments of the present invention are explained above. It is apparent that the present invention is not limited to the above embodiments, but may be modified and changed without departing from the scope and spirit of the invention.
Although the present invention has been described above in connection with several exemplary embodiments thereof, it would be apparent to those skilled in the art that those exemplary embodiments are provided solely for illustrating the present invention, and should not be relied upon to construe the appended claims in a limiting sense.
Number | Date | Country | Kind |
---|---|---|---|
2009-087852 | Mar 2010 | JP | national |