JP3581012B2 - WWW server distributed access method - Google Patents
WWW server distributed access method Download PDFInfo
- Publication number
- JP3581012B2 JP3581012B2 JP07217898A JP7217898A JP3581012B2 JP 3581012 B2 JP3581012 B2 JP 3581012B2 JP 07217898 A JP07217898 A JP 07217898A JP 7217898 A JP7217898 A JP 7217898A JP 3581012 B2 JP3581012 B2 JP 3581012B2
- Authority
- JP
- Japan
- Prior art keywords
- server
- cgi
- www
- html
- program
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
- Computer And Data Communications (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、インターネット上でWWW(World Wide Web)を用いたホームページ等にアクセスを行う場合における、サーバ上のHTMLコンテンツとCGI(Common Gateway Interface)等のサーバプログラムの配置とそのアクセス方式に係り、特に、多数のCGI等サーバプログラムを活用したコンテンツを大量に作成する場合のサーバ負荷分散のために使用して好適なWWWサーバ分散アクセス方式に関する。
【0002】
【従来の技術】
WWWにおけるHTTP(Hyper Text Transfer Protocol)を用いた一般的なデータ通信の動作は、クライアント側のWWWブラウザと呼ばれるHTML(Hyper Text Markup Language)コンテンツ閲覧プログラムよりWWWサーバにHTMLコンテンツを要求し、WWWサーバが、クライアントからの要求に対してHTMLコンテンツを送信し、クライアントが、WWWサーバから送信されたHTMLコンテンツを受信し、WWWブラウザにより受信した情報を整形してディスプレイ上に表示等を行うというものである。
【0003】
しかし、前述のHTMLコンテンツは静的な情報であり、WWWサーバに配置されたコンテンツを変更しない限り、クライアントに送信される情報が変化することはなく、双方向のデータ通信が不可能である。
【0004】
このような問題点を解決するための従来技術として、CGI等のプログラムをWWWサーバ上に配置し、クライアントからのコンテンツ要求に対しこのプログラムをサーバ上で動作させることにより、サーバ及びクライアント間のインタラクティブなデータ通信を実現する方法が知られている。また、近年、Java(登録商標)等の技術により、クライアント側のWWWブラウザにプログラムを送信して処理させる技術も標準化されている。
【0005】
【発明が解決しようとする課題】
しかし、前述した従来技術は、通常、HTMLコンテンツが配置されるWWWサーバにCGI等のプログラムも配置されるため、WWWサーバにアクセスが集中した場合にサーバに多大な負荷をかけることになり、WWWサーバの処理能力を低下させる大きな要因となるという問題点を有している。
【0006】
また、近年、WWWサーバを保持しないインターネット利用者が、WWWサーバの機能とデータ記憶領域とを借用することにより、WWWを用いてホームページを公開することが盛んに行われている。この場合、HTMLコンテンツと共にCGIプログラムを利用する場合には、借用するWWWサーバに依存するプログラムコードを記述する必要が生じる場合がある。さらに、プログラムコードを記述すること自体、相応のスキルが要求されることになる。この事実は、特にコンピュータ知識の乏しい者が前述するようなホームページを作成することを非常に困難にするという問題点を生じさせることを意味している。
【0007】
本発明の目的は、前述した従来技術の問題点を解決し、HTMLコンテンツを配信するサーバとCGI等のサーバプログラムを処理し結果を配信するサーバとを分散配置することを可能とし、WWWサーバへのトラフィックを低減することを可能としたWWWサーバ分散アクセス方式を提供することにある。
【0008】
また、本発明の目的は、プログラムを作成することが困難な者でも全くCGIスクリプトを記述することなく容易にCGI等のサーバプログラムを活用したホームページの作成を可能としたWWWサーバ分散アクセス方式を提供することにある。
【0009】
【課題を解決するための手段】
本発明によれば前記目的は、WWWサーバとWWWクライアントとがネットワークを介して接続されて構成されるシステムにおけるWWWサーバ分散アクセス方式において、前記WWWサーバが、HTMLコンテンツを配信するHTMLサーバと、CGIプログラムを実行するCGIサーバとであって、前記HTMLサーバが、WWWクライアントからのウェブページの要求に対して、実行するCGIサーバとCGIプログラムとを特定する識別子を含んだHTMLコンテンツを前記WWWクライアントに配信する手段を備え、前記CGIサーバが、前記HTMLサーバから配信した前記HTMLコンテンツに基づいた前記WWWクライアントからのCGIプログラムの起動要求を受け付け、該当するCGIプログラムを実行して、その実行結果を前記WWWクライアントに配信する手段を備えることにより達成される。
【0010】
また、前記目的は、前記HTMLコンテンツのHTML記述ファイルには、前記CGIサーバ上のCGIプログラムを起動するためのスクリプトが記述されていることにより達成される。
【0011】
前述において、WWWクライアントは、HTMLサーバ上のコンテンツをアクセスした場合、HTMLサーバとは別のCGIサーバに存在する該当するCGIサーバにアクセスしてプログラムを起動する。CGIサーバは、処理結果をWWWクライアントに送信し、WWWクライアントは、連携するHTMLコンテンツと処理結果の情報とを融合させ、WWWブラウザによりディスプレイ上に融合した情報を表示する。
【0012】
本発明は、前述により、HTMLコンテンツを配信するサーバとCGI等のサーバプログラムを処理し結果を配信するサーバとを分散することが可能となり、WWWサーバに対するトラフィックの低減を図ることができる。また、CGI等のプログラムをサーバで集中管理し様々な部品として提供することにより、プログラムを作成することが困難な者でも容易にCGI等のサーバプログラムを活用したホームページの作成が可能となる。
【0013】
【発明の実施の形態】
以下、本発明によるWWWサーバ分散アクセス方式の一実施形態を図面により詳細に説明する。
【0014】
図1は本発明の一実施形態によるWWWサーバ分散アクセス方式の構成を示すブロック図、図2は本発明の一実施形態の動作を説明するフローチャートである。図1において、101はCGIサーバ、102、104は補助記憶装置、103はHTMLサーバ、105はWWWクライアント、106はインターネットである。
【0015】
本発明の一実施形態によるWWWサーバ分散アクセス方式は、図1に示すように、CGI等のHTMLコンテンツと連携するプログラムを実行するWWWサーバコンピュータによるCGIサーバ101と、該CGIサーバ101に接続されたCGI等のプログラムを格納している補助記憶装置102と、HTMLコンテンツが配置されたWWWサーバコンピュータによるHTMLサーバ103と、該HTMLサーバ103に接続されたHTMLコンテンツを格納している補助記憶装置104と、WWWクライアントコンピュータによるWWWクライアント105と、CGIサーバ101、HTMLサーバ103、WWWクライアント105が接続されるインターネット106等によるネットワークとにより構成される。
【0016】
なお、図1には、CGIサーバ101とHTMLサーバ103とが1台づつネットワークに接続されているとしているが、これらは、それぞれ複数台であってよく、また、WWWクライアント105は、多数がネットワークに接続されて、CGIサーバ101とHTMLサーバ103とを共通に使用する。
【0017】
次に、図2に示すフローを参照して、サーバ101、103とWWWクライアントとのインターネット106を介しての本発明の実施形態の動作を説明する。
【0018】
(1)WWWクライアント105がHTMLサーバ103にアクセスを行い、HTMLコンテンツの閲覧要求を送信すると、これをインターネット106を介して受信したHTMLサーバ103は、WWWクライアント105に対して、補助記憶装置104に格納されている該当するHTMLコンテンツを送信する。なお、このHTMLコンテンツのHTML記述ファイルには、CGIサーバ101上のCGIプログラムを起動するためのスクリプトが記述されている(ステップ201、202)。
【0019】
(2)WWWクライアント105は、HTMLサーバ103が送信してきたHTMLコンテンツを受信し、HTML記述ファイルを解析する(ステップ203、204)。
【0020】
(3)WWWクライアント105は、HTML記述ファイルを解析した結果、CGIサーバ上のCGIプログラムを起動するためのスクリプトが記述されているか否かをチェックし、記述されていない場合処理を終了する(ステップ205)。
【0021】
(4)ステップ205のチェックで、CGIサーバ上のCGIプログラムを起動するためのスクリプトが記述されていた場合、WWWクライアント105は、該当するCGIサーバ101にアクセスを行う(ステップ206)。
【0022】
(5)WWWクライアントからのアクセスを受けたCGIサーバ101は、補助記憶装置102に格納されているプログラムをメモリ上に読み込みこんで実行し、実行終了後、その処理結果をWWWクライアント105に送信する(ステップ207、208)。
【0023】
(6)WWWクライアント105は、CGIサーバ101からの処理結果を受信し、HTMLコンテンツとCGIサーバ101からの処理結果とを結合させ、この情報をディスプレイ上に表示する(ステップ209〜211)。
【0024】
前述した本発明の実施形態によれば、インターネットに接続されているサーバを少なくとも2台設け、一方のサーバに、CGI等のHTMLコンテンツと連携するプログラムとを配置し、他方のサーバに、HTMLコンテンツを配置し、HTML記述ファイルにCGIサーバ上のプログラムをアクセスするようスクリプトを記述することにより、HTMLコンテンツを配信するサーバとCGI等のサーバプログラムを処理し結果を配信するサーバとを分散することが可能となり、サーバのトラフィックを低減することが可能となる。
【0025】
また、前述した本発明の実施形態によれば、CGI等のプログラムをサーバで集中管理し様々な部品として提供することにより、プログラムを作成することが困難な者でも全くCGIスクリプトを記述することなく容易にCGI等のサーバプログラムを活用したホームページの作成を行うことが可能となる。
【0026】
【発明の効果】
以上説明したように本発明によれば、HTMLコンテンツを配信するサーバとCGI等のサーバプログラムを処理し結果を配信するサーバとを分散することが可能となり、WWWサーバのトラフィックを低減することできる。
【0027】
また、本発明によれば、CGI等のプログラムをサーバで集中管理し様々な部品として提供することにより、プログラムを作成することが困難な者でも全くCGIスクリプトを記述することなく容易にCGI等のサーバプログラムを活用したホームページを作成することができる。
【図面の簡単な説明】
【図1】本発明の一実施形態によるWWWサーバ分散アクセス方式の構成を示すブロック図である。
【図2】本発明の一実施形態の動作を説明するフローチャートである。
【符号の説明】
101 CGIサーバ
102、104 補助記憶装置
103 HTMLサーバ
105 WWWクライアント
106 インターネット[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an arrangement of HTML content on a server and a server program such as a CGI (Common Gateway Interface) and an access method thereof when accessing a homepage or the like using WWW (World Wide Web) on the Internet. In particular, the present invention relates to a WWW server distributed access method suitable for use in distributing server load when a large amount of contents utilizing a large number of server programs such as CGI are created.
[0002]
[Prior art]
A general data communication operation using HTTP (Hyper Text Transfer Protocol) in the WWW is performed by requesting HTML content from a WWW server from an HTML (Hyper Text Markup Language) content browsing program called a WWW browser on a client side. Transmits HTML content in response to a request from a client, the client receives the HTML content transmitted from a WWW server, shapes the information received by a WWW browser, and displays the information on a display. is there.
[0003]
However, the HTML content described above is static information, and the information transmitted to the client does not change unless the content arranged on the WWW server is changed, and two-way data communication is impossible.
[0004]
As a conventional technique for solving such a problem, a program such as a CGI is arranged on a WWW server, and the program is operated on the server in response to a content request from the client. A method for realizing a reliable data communication is known. In recent years, a technique of transmitting a program to a WWW browser on a client side and processing the program by using a technique such as Java (registered trademark) has also been standardized.
[0005]
[Problems to be solved by the invention]
However, according to the above-described conventional technology, since programs such as CGI are usually arranged on a WWW server on which HTML content is arranged, a heavy load is imposed on the server when access is concentrated on the WWW server. There is a problem that it becomes a major factor that lowers the processing capacity of the server.
[0006]
In recent years, an Internet user who does not have a WWW server has been actively publishing a homepage using the WWW by borrowing a function of the WWW server and a data storage area. In this case, when using the CGI program together with the HTML content, it may be necessary to write a program code depending on the borrowed WWW server. Furthermore, writing the program code itself requires appropriate skills. This fact means that it makes it very difficult for a person with little computer knowledge to create a homepage as described above.
[0007]
SUMMARY OF THE INVENTION An object of the present invention is to solve the above-described problems of the prior art, and to enable a server that distributes HTML content and a server that processes a server program such as CGI and distributes the result to be distributed and arranged. It is an object of the present invention to provide a WWW server distributed access method capable of reducing the traffic of the Internet.
[0008]
Another object of the present invention is to provide a WWW server distributed access method which enables even a person who has difficulty creating a program to easily create a homepage utilizing a server program such as a CGI without writing a CGI script at all. Is to do.
[0009]
[Means for Solving the Problems]
The object according to the present invention is a W WW server distributed access scheme that put the system configured by connecting a WWW server and a WWW client via a network, the WWW server, HTML server for distributing HTML content And a CGI server that executes a CGI program, wherein the HTML server, in response to a web page request from a WWW client, stores HTML content including an identifier that identifies the CGI server to execute and the CGI program. Means for distributing to a WWW client, wherein the CGI server receives a request for starting a CGI program from the WWW client based on the HTML content distributed from the HTML server, executes the corresponding CGI program, and executes the CGI program This is achieved by providing means for delivering results to the WWW client .
[0010]
In addition, the objective is, in the HTML description file of the HTML content, script to start the CGI program on the CG I servers is more accomplished in that you have written.
[0011]
In the above description, when the WWW client accesses the content on the HTML server, the WWW client accesses the corresponding CGI server existing on a CGI server different from the HTML server and starts the program. The CGI server transmits the processing result to the WWW client, and the WWW client fuses the linked HTML content and the processing result information, and displays the fused information on a display using a WWW browser.
[0012]
As described above, according to the present invention, it is possible to distribute a server that distributes HTML content and a server that processes a server program such as CGI and distributes a result, thereby reducing traffic to a WWW server. In addition, by centrally managing a program such as a CGI on a server and providing it as various components, even a person who has difficulty creating a program can easily create a homepage utilizing a server program such as a CGI.
[0013]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, an embodiment of a WWW server distributed access system according to the present invention will be described in detail with reference to the drawings.
[0014]
FIG. 1 is a block diagram showing the configuration of a WWW server distributed access system according to an embodiment of the present invention, and FIG. 2 is a flowchart for explaining the operation of the embodiment of the present invention. In FIG. 1, 101 is a CGI server, 102 and 104 are auxiliary storage devices, 103 is an HTML server, 105 is a WWW client, and 106 is the Internet.
[0015]
In the WWW server distributed access method according to an embodiment of the present invention, as shown in FIG. 1, a
[0016]
Although FIG. 1 shows that one
[0017]
Next, the operation of the embodiment of the present invention between the
[0018]
(1) When the
[0019]
(2) The
[0020]
(3) As a result of analyzing the HTML description file, the
[0021]
(4) If the script for starting the CGI program on the CGI server is described in the check in
[0022]
(5) Upon receiving access from the WWW client, the
[0023]
(6) The
[0024]
According to the above-described embodiment of the present invention, at least two servers connected to the Internet are provided, one server is provided with a program that cooperates with HTML content such as CGI, and the other server is provided with HTML content. And by writing a script in the HTML description file to access the program on the CGI server, it is possible to distribute the server that distributes HTML content and the server that processes server programs such as CGI and distributes the result. This makes it possible to reduce server traffic.
[0025]
Further, according to the above-described embodiment of the present invention, a program such as a CGI is centrally managed by a server and provided as various components, so that even a person who has difficulty creating a program can write a CGI script at all. It is possible to easily create a homepage utilizing a server program such as CGI.
[0026]
【The invention's effect】
As described above, according to the present invention, it is possible to disperse a server that distributes HTML content and a server that processes a server program such as CGI and distributes a result, thereby reducing traffic of a WWW server.
[0027]
According to the present invention, a program such as a CGI is centrally managed by a server and provided as various components, so that even a person who has difficulty creating a program can easily execute a CGI or the like without writing a CGI script at all. You can create a home page using a server program.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of a WWW server distributed access system according to an embodiment of the present invention.
FIG. 2 is a flowchart illustrating the operation of the embodiment of the present invention.
[Explanation of symbols]
101
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP07217898A JP3581012B2 (en) | 1998-03-20 | 1998-03-20 | WWW server distributed access method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP07217898A JP3581012B2 (en) | 1998-03-20 | 1998-03-20 | WWW server distributed access method |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH11272595A JPH11272595A (en) | 1999-10-08 |
JP3581012B2 true JP3581012B2 (en) | 2004-10-27 |
Family
ID=13481726
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP07217898A Expired - Fee Related JP3581012B2 (en) | 1998-03-20 | 1998-03-20 | WWW server distributed access method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3581012B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CA2429761A1 (en) | 2003-05-23 | 2004-11-23 | Ibm Canada Limited - Ibm Canada Limitee | Targeted web page redirection |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5710918A (en) * | 1995-06-07 | 1998-01-20 | International Business Machines Corporation | Method for distributed task fulfillment of web browser requests |
JPH10254907A (en) * | 1997-03-11 | 1998-09-25 | Sony Corp | Information providing system, information providing method, information processor and information processing method |
JPH11259391A (en) * | 1998-03-11 | 1999-09-24 | Oki Electric Ind Co Ltd | Document managing system |
-
1998
- 1998-03-20 JP JP07217898A patent/JP3581012B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JPH11272595A (en) | 1999-10-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3780507B2 (en) | Session information takeover method, application server, Web site, and program | |
US6609159B1 (en) | Methods, systems, and machine readable programming for interposing front end servers between servers and clients | |
TW535081B (en) | Method and system of fulfilling requests for information from a network client | |
US6366947B1 (en) | System and method for accelerating network interaction | |
US20190146963A1 (en) | Storing State in a Dynamic Content Routing Network | |
Adelstein et al. | Fundamentals of mobile and pervasive computing | |
JP3967806B2 (en) | Computerized method and resource nomination mechanism for nominating a resource location | |
US6985927B2 (en) | Shared internet storage resource, user interface system, and method | |
CN102902805B (en) | A kind of page access method and apparatus | |
EP0981885B1 (en) | Apparatus and method for identifying clients accessing network sites | |
US7127720B2 (en) | Storing state in a dynamic content routing network | |
JP4818253B2 (en) | Timely update of web pages | |
EP1784963B1 (en) | Techniques for delivering personalized content with a real-time routing network | |
Ravi et al. | A survey on dynamic Web content generation and delivery techniques | |
EP1308841A2 (en) | Service portal with application framework for facilitating application and feature development | |
US7797432B2 (en) | Sharing state information between dynamic web page generators | |
CN100562873C (en) | Obtain the system and method for web page element in the webpage | |
US9497260B2 (en) | Communication between two web applications | |
CZ289563B6 (en) | Server computer connectable to a network and operation method thereof | |
CN102594813A (en) | Multi-account login method and device | |
JP2004246747A (en) | Wrapping method and system of existing service | |
JP3581012B2 (en) | WWW server distributed access method | |
WO2001001280A2 (en) | Method and system for sharing cookie information during internet transactions | |
JP4391766B2 (en) | Browser session mobility system for multi-platform applications | |
Zhang et al. | A service-oriented multimedia componentization model |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20040217 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20040415 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20040713 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20040721 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
R360 | Written notification for declining of transfer of rights |
Free format text: JAPANESE INTERMEDIATE CODE: R360 |
|
R370 | Written measure of declining of transfer procedure |
Free format text: JAPANESE INTERMEDIATE CODE: R370 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090730 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100730 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100730 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110730 Year of fee payment: 7 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110730 Year of fee payment: 7 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120730 Year of fee payment: 8 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130730 Year of fee payment: 9 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130730 Year of fee payment: 9 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313111 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130730 Year of fee payment: 9 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140730 Year of fee payment: 10 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |