JP2005084905A - Program execution system - Google Patents

Program execution system Download PDF

Info

Publication number
JP2005084905A
JP2005084905A JP2003315704A JP2003315704A JP2005084905A JP 2005084905 A JP2005084905 A JP 2005084905A JP 2003315704 A JP2003315704 A JP 2003315704A JP 2003315704 A JP2003315704 A JP 2003315704A JP 2005084905 A JP2005084905 A JP 2005084905A
Authority
JP
Japan
Prior art keywords
server
program
client device
server device
command information
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.)
Withdrawn
Application number
JP2003315704A
Other languages
Japanese (ja)
Inventor
Shingo Kodama
慎吾 児玉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sony Corp
Original Assignee
Sony Ericsson Mobile Communications Japan Inc
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Sony Ericsson Mobile Communications Japan Inc filed Critical Sony Ericsson Mobile Communications Japan Inc
Priority to JP2003315704A priority Critical patent/JP2005084905A/en
Publication of JP2005084905A publication Critical patent/JP2005084905A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To much more sharply improve convenience than the conventional manner. <P>SOLUTION: A server device 2 in a server client system 1 can execute a program corresponding to a command from a client device 3 by following an extended HTTP server program even when any CGI file is not preliminarily prepared. Thus, it is possible for a user to make the client device 3 side execute an arbitrary program on the server 2 without preliminarily performing any work to prepare the CGI file, and to upload it onto the server device 2. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明はプログラム実行システムに関し、例えば、クライアント装置と、HTTP(Hyper Text Transfer Protocol)サービスを提供するサーバ装置とによって構成されたサーバ・クライアントシステムに適用して好適なものである。   The present invention relates to a program execution system, and is suitable for application to a server / client system including, for example, a client device and a server device that provides an HTTP (Hyper Text Transfer Protocol) service.

近年、HTTPサービスを提供するサーバ装置とクライアント装置とによって構成されたサーバ・クライアントシステムが広く普及している。このサーバ装置は、HTTPサービスを提供しているので、クライアント装置に対してWebページ等を閲覧させ得るようになされている(例えば特許文献1)。
特開平9−231179号公報
In recent years, a server / client system including a server device and a client device that provide an HTTP service has been widely used. Since this server device provides an HTTP service, a client device can browse a Web page or the like (for example, Patent Document 1).
Japanese Patent Laid-Open No. 9-231179

このサーバ・クライアントシステムの一例を図8に示す。クライアント装置50には、HTTPクライアントプログラム(Webブラウザ等に相当する)が予め格納されている。これによりクライアント装置50は、サーバ装置51との間でHTTPに準じたデータ通信を行い得るようになされている。   An example of this server / client system is shown in FIG. The client device 50 stores an HTTP client program (corresponding to a Web browser or the like) in advance. As a result, the client device 50 can perform data communication with the server device 51 in accordance with HTTP.

一方サーバ装置51には、HTTPサーバプログラムや種々のHTML(Hyper Text
Markup Language)ファイル(図示せず)が格納されていると共に、その他種々のプログラム及びこれらプログラムに対応する複数種類のCGI(Common Gateway Interface)ファイルも格納されている。因みにCGIファイルのそれぞれには、対応するプログラムを実行開始するための情報がPerl言語等によって記されている。
On the other hand, the server device 51 includes HTTP server programs and various HTML (Hyper Text).
A Markup Language) file (not shown) is stored, and various other programs and a plurality of types of CGI (Common Gateway Interface) files corresponding to these programs are also stored. Incidentally, in each CGI file, information for starting execution of the corresponding program is written in Perl language or the like.

ここで、図9に示すシーケンスチャートを用いて、クライアント装置50側からサーバ装置51上のプログラムを起動させる処理について説明する。例えばクライアント装置50は、サーバ装置51上の任意のCGIファイルを指定する情報(以下、これをCGI指定情報と呼ぶ)が記されたデータを、サーバ装置51へのリクエストとして送信する(ステップSP50)。   Here, processing for starting a program on the server device 51 from the client device 50 side will be described using the sequence chart shown in FIG. For example, the client device 50 transmits, as a request to the server device 51, data in which information specifying an arbitrary CGI file on the server device 51 (hereinafter referred to as CGI specifying information) is written (step SP50). .

サーバ装置51は、クライアント装置50からリクエストとして送信されたデータを受信すると(ステップSP51)、このデータにCGI指定情報が記されているか否かを判断する(ステップSP52)。   When the server apparatus 51 receives the data transmitted as a request from the client apparatus 50 (step SP51), the server apparatus 51 determines whether or not CGI designation information is written in the data (step SP52).

そしてサーバ装置51は、このデータにCGI指定情報が記されていると判断したとき、当該CGI指定情報によって指定されているCGIファイルの記述内容に従って、対応するプログラムを実行開始し(ステップSP53)、やがてこのプログラムを実行終了すると、当該実行結果を記したデータを、クライアント装置50へのレスポンスとして送信する(ステップSP54)。   When the server device 51 determines that the CGI designation information is described in the data, the server device 51 starts executing the corresponding program in accordance with the description content of the CGI file designated by the CGI designation information (step SP53). When the execution of this program is finished, the data describing the execution result is transmitted as a response to the client device 50 (step SP54).

因みにサーバ装置51は、クライアント装置50から受信したデータにCGI指定情報が記されておらず、その代わりにHTMLファイルを指定する情報が記されていると判断した場合には(ステップSP52)、当該指定されているHTMLファイルをレスポンスとして、クライアント装置50へ送信するようになされている(ステップSP54)。   Incidentally, if the server device 51 determines that the CGI designation information is not written in the data received from the client device 50 and information that designates the HTML file is written instead (step SP52), The designated HTML file is transmitted as a response to the client device 50 (step SP54).

このように従来のサーバ・クライアントシステムにおけるサーバ装置51では、CGIファイルを介してプログラムが起動される。   Thus, in the server device 51 in the conventional server / client system, the program is started via the CGI file.

従ってこのサーバ・クライアントシステムでは、CGIファイルを作成してこれをサーバ装置51にアップロードしておく作業が事前に行われていないと、クライアント装置50側からサーバ装置51上のプログラムを起動させることができず、かくして利便性が良いとは言い得ない問題があった。   Therefore, in this server / client system, if the operation of creating the CGI file and uploading it to the server device 51 is not performed in advance, the client device 50 can start the program on the server device 51. Thus, there is a problem that cannot be said to be convenient.

本発明は以上の点を考慮してなされたもので、従来と比して格段と利便性を向上させ得るプログラム実行システムを提案しようとするものである。   The present invention has been made in consideration of the above points, and an object of the present invention is to propose a program execution system capable of significantly improving convenience as compared with the prior art.

かかる課題を解決するために本発明においては、クライアント装置と、クライアント装置からの命令情報に応じた所定のプログラムを実行する機能も有するHTTP(Hyper Text Transfer Protocol)サーバプログラムが予め格納されているサーバ装置とを有するプログラム実行システムであって、クライアント装置は、サーバ装置のURL(Uniform Resource Locator)と共にサーバ装置に対する命令情報を送信し、サーバ装置は、クライアント装置からURLと共に命令情報を受信すると、HTTPサーバプログラムに従って、当該命令情報に応じた所定のプログラムを実行するようにした。   In order to solve such a problem, in the present invention, a server in which an HTTP (Hyper Text Transfer Protocol) server program that also has a function of executing a predetermined program according to command information from the client device is stored in advance. When the client device transmits command information to the server device together with the URL (Uniform Resource Locator) of the server device, and the server device receives the command information together with the URL from the client device, the client device transmits HTTP command information. According to the server program, a predetermined program corresponding to the command information is executed.

また本発明においては、クライアント装置からの命令情報に応じた所定のプログラムを実行する機能も有するHTTPサーバプログラムが予め格納されているサーバ装置であって、クライアント装置から当該サーバ装置のURLと共に命令情報を受信すると、HTTPサーバプログラムに従って、当該命令情報に応じた所定のプログラムを実行する実行手段を設けるようにした。   In the present invention, an HTTP server program that also has a function of executing a predetermined program according to command information from the client device is stored in advance, and the command information from the client device together with the URL of the server device is stored. Is received, an execution means for executing a predetermined program corresponding to the command information is provided according to the HTTP server program.

さらに本発明においては、クライアント装置からの命令情報に応じた所定のプログラムを実行する機能も有するHTTPサーバプログラムが予め格納されているサーバ装置のプログラム実行方法であって、クライアント装置から当該サーバ装置のURLと共に命令情報を受信すると、HTTPサーバプログラムに従って、当該命令情報に応じた所定のプログラムを実行する実行ステップを設けるようにした。   Furthermore, in the present invention, there is provided a program execution method for a server device in which an HTTP server program that also has a function of executing a predetermined program according to command information from a client device is stored in advance. When the command information is received together with the URL, an execution step for executing a predetermined program according to the command information is provided according to the HTTP server program.

この結果このサーバ装置は、CGIファイルが事前に用意されていなくても、HTTPサーバプログラムに従うことにより、クライアント装置からの命令情報に応じたプログラムを実行することができる。   As a result, even if the CGI file is not prepared in advance, this server device can execute the program according to the command information from the client device by following the HTTP server program.

本発明によれば、クライアント装置と、クライアント装置からの命令情報に応じた所定のプログラムを実行する機能も有するHTTPサーバプログラムが予め格納されているサーバ装置とを有するプログラム実行システムであって、クライアント装置は、サーバ装置のURLと共にサーバ装置に対する命令情報を送信し、サーバ装置は、クライアント装置からURLと共に命令情報を受信すると、HTTPサーバプログラムに従って、当該命令情報に応じた所定のプログラムを実行するようにしたので、サーバ装置は、CGIファイルが事前に用意されていなくても、HTTPサーバプログラムに従うことにより、クライアント装置からの命令情報に応じたプログラムを実行することができ、かくして利便性を格段と向上させることができる。   According to the present invention, there is provided a program execution system including a client device and a server device in which an HTTP server program having a function of executing a predetermined program according to command information from the client device is stored in advance. The apparatus transmits instruction information to the server apparatus together with the URL of the server apparatus. When the server apparatus receives the instruction information together with the URL from the client apparatus, the server apparatus executes a predetermined program according to the instruction information according to the HTTP server program. Therefore, even if the CGI file is not prepared in advance, the server device can execute the program according to the command information from the client device by following the HTTP server program, and thus the convenience is greatly improved. Can be improved

また本発明によれば、クライアント装置からの命令情報に応じた所定のプログラムを実行する機能も有するHTTPサーバプログラムが予め格納されているサーバ装置であって、クライアント装置から当該サーバ装置のURLと共に命令情報を受信すると、HTTPサーバプログラムに従って、当該命令情報に応じた所定のプログラムを実行する実行手段を設けるようにしたので、サーバ装置は、CGIファイルが事前に用意されていなくても、HTTPサーバプログラムに従うことにより、クライアント装置からの命令情報に応じたプログラムを実行することができ、かくして利便性を格段と向上させることができる。   According to the present invention, there is also provided a server device in which an HTTP server program having a function of executing a predetermined program according to command information from the client device is stored in advance, and the command is sent from the client device together with the URL of the server device. When the information is received, an execution means for executing a predetermined program corresponding to the command information is provided according to the HTTP server program, so that the server apparatus can execute the HTTP server program even if the CGI file is not prepared in advance. By following the above, it is possible to execute a program according to the command information from the client device, and thus the convenience can be greatly improved.

さらに本発明によれば、クライアント装置からの命令情報に応じた所定のプログラムを実行する機能も有するHTTPサーバプログラムが予め格納されているサーバ装置のプログラム実行方法であって、クライアント装置から当該サーバ装置のURLと共に命令情報を受信すると、HTTPサーバプログラムに従って、当該命令情報に応じた所定のプログラムを実行する実行ステップを設けるようにしたので、サーバ装置は、CGIファイルが事前に用意されていなくても、HTTPサーバプログラムに従うことにより、クライアント装置からの命令情報に応じたプログラムを実行することができ、かくして利便性を格段と向上させることができる。   Furthermore, according to the present invention, there is provided a program execution method for a server device in which an HTTP server program that also has a function of executing a predetermined program according to command information from a client device is stored in advance. When the command information is received together with the URL, an execution step for executing a predetermined program according to the command information is provided according to the HTTP server program, so that the server device may not have a CGI file prepared in advance. By following the HTTP server program, it is possible to execute a program according to the command information from the client device, thus greatly improving convenience.

以下図面について、本発明の一実施の形態を詳述する。   Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings.

図1において、1は全体としてサーバ・クライアントシステムを示し、HTTPサービスを提供するサーバ装置2と、ユーザによって操作されるクライアント装置3とが接続されて構成されている。   In FIG. 1, reference numeral 1 denotes a server / client system as a whole, which is configured by connecting a server apparatus 2 that provides an HTTP service and a client apparatus 3 operated by a user.

クライアント装置3は、例えば図2に示すように、CPU(Central Processing Unit)10に対しバス11を介して、ROM(Read Only Memory)12、ワークエリア等として機能するRAM(Random Access Memory)13、CRT(Cathode Ray Tube)等からなる表示部14、キーボード等からなる操作部15、ハードディスクドライブ16及びサーバ装置2と接続するためのネットワークインターフェース17が接続されて構成されている。   For example, as shown in FIG. 2, the client device 3 includes a ROM (Read Only Memory) 12, a RAM (Random Access Memory) 13 that functions as a work area, etc. via a bus 11 with respect to a CPU (Central Processing Unit) 10. A display unit 14 composed of a CRT (Cathode Ray Tube) or the like, an operation unit 15 composed of a keyboard or the like, a hard disk drive 16 and a network interface 17 for connecting to the server device 2 are connected.

このクライアント装置3のハードディスクドライブ16に対しては、基本プログラムの他に、例えば図3に示すような、HTTPクライアントプログラム(Webブラウザに相当する)も格納されている。   In addition to the basic program, for example, an HTTP client program (corresponding to a Web browser) as shown in FIG. 3 is stored in the hard disk drive 16 of the client device 3.

一方サーバ装置2は、例えば図4に示すように、CPU20に対しバス21を介して、ROM22、ワークエリア等として機能するRAM23、ハードディスクドライブ24及びクライアント装置3と接続するためのネットワークインターフェース25が接続されて構成されている。   On the other hand, as shown in FIG. 4, for example, the server device 2 is connected to the CPU 20 via a bus 21, a ROM 22, a RAM 23 that functions as a work area, a hard disk drive 24, and a network interface 25 for connection to the client device 3. Has been configured.

このサーバ装置2のハードディスクドライブ24に対しては、図3に示すように、従来のHTTPサーバプログラムよりも機能が拡張されてなる拡張HTTPサーバプログラムや、その他種々のプログラムが格納されている。   As shown in FIG. 3, the hard disk drive 24 of the server device 2 stores an extended HTTP server program whose functions are expanded from those of the conventional HTTP server program and various other programs.

実際上、この拡張HTTPサーバプログラムに対しては、クライアント装置3からのコマンドに応じたプログラムを実行するプログラム実行機能が新たに追加されている。   In practice, a program execution function for executing a program in accordance with a command from the client apparatus 3 is newly added to the extended HTTP server program.

次に、図5に示すシーケンスチャートを用いて、クライアント装置3側からサーバ装置2上のプログラムを実行させる手順について説明する。   Next, a procedure for executing a program on the server device 2 from the client device 3 side will be described using the sequence chart shown in FIG.

ステップSP1においてクライアント装置3のCPU10は、サーバ装置2へのリクエストとして、サーバ装置2上の任意のプログラムを実行させるための情報が記されたデータ(以下、これをリクエストデータと呼ぶ)を送信する。   In step SP1, the CPU 10 of the client device 3 transmits, as a request to the server device 2, data in which information for executing an arbitrary program on the server device 2 is written (hereinafter referred to as request data). .

このリクエストデータには、図6に示すように、サーバ装置2のURL(Uniform Resource Locator)が示されているURL部P1と、このURL部P1の末尾に付されたコマンド部P2とによって構成されている。またこのコマンド部P2においては、「&」の後段に、特定文字列「exweb」と要求メソッド名「EXE」とが「=」を挟んで記されている。さらにこのコマンド部P2においては、「&」の前段に、例えば、サーバ装置2に実行させるコマンド「ps−ef(UNIX(登録商標)のコマンド)」が示されている。   As shown in FIG. 6, the request data includes a URL part P1 indicating a URL (Uniform Resource Locator) of the server apparatus 2 and a command part P2 attached to the end of the URL part P1. ing. In the command part P2, the specific character string “exweb” and the request method name “EXE” are described with “=” interposed between “&”. Further, in the command section P2, for example, a command “ps-ef (UNIX (registered trademark))” to be executed by the server apparatus 2 is shown in the preceding stage of “&”.

かかる要求メソッド「EXE」は、サーバ装置2にコマンド「ps−ef」を実行させるべき旨を意味している。因みに要求メソッドの種類としては、この「EXE」の他に、サーバ装置2にファイルを格納させるための「POST」、サーバ装置2からファイルを取得するための「GET」、ヘッダ情報を取得するための「HEAD」等が存在する。   The request method “EXE” means that the server device 2 should execute the command “ps-ef”. Incidentally, as a type of request method, in addition to “EXE”, “POST” for storing a file in the server device 2, “GET” for acquiring a file from the server device 2, and header information are acquired. “HEAD” and the like.

サーバ装置2のCPU20は、ステップSP2において、クライアント装置3からのリクエストデータを取得すると、続くステップSP3において、拡張HTTPサーバプログラムに従い、このリクエストデータ中のURL部P1の末尾に、特定文字列「exweb」及び何らかの要求メソッド名が記されているか否かを判断する。   When the CPU 20 of the server apparatus 2 obtains the request data from the client apparatus 3 in step SP2, the specific character string “exweb” is added to the end of the URL part P1 in the request data in the following step SP3 in accordance with the extended HTTP server program. ”And any request method name is determined.

このステップSP3において否定結果が得られると、このことは、リクエストデータ中のURL部P1の末尾に、特定文字列「exweb」及び要求メソッド名が記されていない代わりに、例えばHTMLファイルのファイル名が記されていることを意味しており、このときサーバ装置2のCPU20は、ステップSP4へ進み、かかるファイル名に対応するHTMLファイルをハードディスクドライブ24から読み出し、ステップSP7へ移って、当該読み出したHTMLファイルを、クライアント装置3へのレスポンスとして送信する。   If a negative result is obtained in this step SP3, this means that the specific character string “exweb” and the request method name are not written at the end of the URL part P1 in the request data, for example, the file name of the HTML file At this time, the CPU 20 of the server apparatus 2 proceeds to step SP4, reads the HTML file corresponding to the file name from the hard disk drive 24, moves to step SP7, and reads the read file. The HTML file is transmitted as a response to the client device 3.

これに対してステップSP3において肯定結果が得られると、このことは、リクエストデータ中のURL部P1の末尾に、特定文字列「exweb」及び何らかの要求メソッド名(この場合「EXE」)が記されていることを意味しており、このときサーバ装置2のCPU20は、ステップSP5へ進んで、リクエストデータに記されている要求メソッド名「EXE」に対応した処理が実行可能か否かを判断する。   On the other hand, if a positive result is obtained in step SP3, this means that a specific character string “exweb” and some request method name (in this case “EXE”) are written at the end of the URL part P1 in the request data. At this time, the CPU 20 of the server apparatus 2 proceeds to step SP5 and determines whether or not the process corresponding to the request method name “EXE” described in the request data can be executed. .

このステップSP5において否定結果が得られると、このことは、サーバ装置2上で要求メソッド名「EXE」に対応した処理が実行できないことを意味しており、このときサーバ装置2のCPU20は、ステップSP6へ進んで、所定のエラー処理を実行することによりエラーメッセージデータを生成し、ステップSP7へ移って、当該エラーメッセージデータをクライアント装置3へのレスポンスとして送信する。   If a negative result is obtained in step SP5, this means that the process corresponding to the request method name “EXE” cannot be executed on the server device 2, and the CPU 20 of the server device 2 at this time Proceeding to SP6, error message data is generated by executing predetermined error processing, and the process proceeds to step SP7, where the error message data is transmitted as a response to the client apparatus 3.

これに対してステップSP5において肯定結果が得られると、このことは、サーバ装置2上で要求メソッド名「EXE」に対応した処理が実行可能であること意味しており、このときサーバ装置2のCPU20は、続くサブルーチンSRT1へ移る。そして、後に詳述するサブルーチンSRT1において、サーバ装置2のCPU20は、拡張HTTPサーバプログラムに従って、リクエストデータに記されているコマンド「ps−ef」に応じたプログラムを実行する処理(以下、これをプログラム実行処理と呼ぶ)を行った後、ステップSP7へ進んで、そのプログラムの実行結果が記されたデータを、クライアント装置3へのレスポンスとして送信するようになされている。   On the other hand, if a positive result is obtained in step SP5, this means that processing corresponding to the request method name “EXE” can be executed on the server device 2, and at this time, the server device 2 The CPU 20 moves to the subsequent subroutine SRT1. In the subroutine SRT1 described in detail later, the CPU 20 of the server device 2 executes a process for executing a program according to the command “ps-ef” described in the request data in accordance with the extended HTTP server program (hereinafter referred to as a program). Then, the process proceeds to step SP7, and the data describing the execution result of the program is transmitted as a response to the client apparatus 3.

続いてサブルーチンSRT1におけるプログラム実行処理の詳細を、図7を用いて説明する。サーバ装置2のCPU20は、ステップSP11において、リクエストデータに記されているコマンド「ps−ef」に、パラメータが存在することを示す記号「−」が含まれているか否かを判定する。   Next, details of the program execution process in the subroutine SRT1 will be described with reference to FIG. In step SP11, the CPU 20 of the server apparatus 2 determines whether or not the command “ps-ef” described in the request data includes a symbol “-” indicating that a parameter exists.

この場合、このコマンド「ps−ef」に記号「−」が含まれているので、サーバ装置2のCPU20は、ステップSP11で肯定結果を得てステップSP12へ進み、この記号「−」以下に記されているパラメータ「ef」を認識する。   In this case, since the symbol “-” is included in the command “ps-ef”, the CPU 20 of the server apparatus 2 obtains an affirmative result at step SP11 and proceeds to step SP12. The recognized parameter “ef” is recognized.

なお、リクエストデータに記されているコマンドに記号「−」が含まれていなかった場合、すなわちリクエストデータに記されているコマンドがパラメータ無しの例えば「ps」のみであった場合、サーバ装置2のCPU20は、ステップSP11で否定結果を得てステップSP13へ進み、当該コマンド「ps」に対応するプログラムをそのまま実行するようになされている。   In addition, when the symbol “-” is not included in the command described in the request data, that is, when the command described in the request data is only “ps” without a parameter, for example, The CPU 20 obtains a negative result in step SP11, proceeds to step SP13, and executes the program corresponding to the command “ps” as it is.

一方、パラメータ「ef」を認識したサーバ装置2のCPU20は、ステップSP13に進み、当該パラメータ「ef」を引数として、コマンド「ps」に対応するプログラムを実行開始する。そしてサーバ装置2のCPU20は、このプログラムを実行終了したときに、この実行結果が記されたデータ(例えばサーバ装置2上のプロセスの状態が記されたデータ)を得ると、ステップSP7(図5)へ移ってこのデータを、クライアント装置3へのレスポンスとして送信するようになされている。   On the other hand, the CPU 20 of the server device 2 that has recognized the parameter “ef” proceeds to step SP13 and starts executing the program corresponding to the command “ps” with the parameter “ef” as an argument. When the CPU 20 of the server device 2 obtains data describing the execution result (for example, data describing the state of the process on the server device 2) when the execution of the program is finished, step SP7 (FIG. 5). ), And this data is transmitted as a response to the client apparatus 3.

以上の構成において、クライアント装置3は、サーバ装置2のURLと共にサーバ装置2に対するコマンド「ps−ef」を送信する。   In the above configuration, the client device 3 transmits the command “ps-ef” to the server device 2 together with the URL of the server device 2.

そしてサーバ装置2は、クライアント装置3からURLと共にコマンド「ps−ef」を受信すると、拡張HTTPサーバプログラムに従うことにより、当該コマンド「ps−ef」に応じたプログラムを実行する。   When the server device 2 receives the command “ps-ef” together with the URL from the client device 3, the server device 2 executes a program corresponding to the command “ps-ef” by following the extended HTTP server program.

この結果このサーバ装置2は、CGIファイルが事前に用意されていなくても、拡張HTTPサーバプログラムに従うことにより、クライアント装置3からのコマンド「ps−ef」に応じた処理を実行することができる。   As a result, even if the CGI file is not prepared in advance, the server device 2 can execute processing according to the command “ps-ef” from the client device 3 by following the extended HTTP server program.

以上の構成によれば、このサーバ・クライアントシステム1におけるサーバ装置2は、CGIファイルが事前に用意されていなくても、拡張HTTPサーバプログラムに従うことにより、クライアント装置3からのコマンドに応じたプログラムを実行することができ、かくしてユーザは、CGIファイルを作成してこれをサーバ装置2にアップロードしておく作業を事前に行わなくても、クライアント装置3側からサーバ装置2上の任意のプログラムを実行させることができる。   According to the above configuration, the server apparatus 2 in the server / client system 1 can execute a program corresponding to the command from the client apparatus 3 by following the extended HTTP server program even if the CGI file is not prepared in advance. Thus, the user can execute any program on the server device 2 from the client device 3 side without having to create a CGI file and upload it to the server device 2 in advance. Can be made.

またユーザは、CGIファイルを記述するための言語(例えばPerl言語)を学習する必要がなくなる等の利点を得ることができ、この結果、利便性を一段と向上させることができる。   In addition, the user can obtain an advantage that it is not necessary to learn a language (for example, Perl language) for describing the CGI file, and as a result, the convenience can be further improved.

なお上述の実施の形態においては、パーソナルコンピュータ構成でなるクライアント装置3を適用する場合について述べたが、本発明はこれに限らず、例えば携帯電話機やPDA(Personal Digital Assistance)等をクライアント装置として適用するようにしても良い。   In the above-described embodiment, the case where the client device 3 having a personal computer configuration is applied has been described. However, the present invention is not limited thereto, and for example, a mobile phone, a PDA (Personal Digital Assistance), or the like is applied as the client device. You may make it do.

本発明は、クライアント装置とサーバ装置とからなるサーバ・クライアントシステムに適用することができる。   The present invention can be applied to a server / client system including a client device and a server device.

本実施の形態におけるサーバ・クライアントシステムの全体構成を示す略線図である。It is an approximate line figure showing the whole server client system composition in this embodiment. クライアント装置の構成を示すブロック図である。It is a block diagram which shows the structure of a client apparatus. ソフトウェア構成を示す略線図である。It is a basic diagram which shows a software structure. サーバ装置の構成を示すブロック図である。It is a block diagram which shows the structure of a server apparatus. プログラムを実行させる手順を示すシーケンスチャートである。It is a sequence chart which shows the procedure which performs a program. リクエストデータの内容を示す略線図である。It is a basic diagram which shows the content of request data. プログラム実行処理手順を示すフローチャートである。It is a flowchart which shows a program execution processing procedure. 従来例(1)を示す略線図である。It is a basic diagram which shows a prior art example (1). 従来例(2)を示す略線図である。It is a basic diagram which shows a prior art example (2).

符号の説明Explanation of symbols

1……サーバ・クライアントシステム、2……サーバ装置、3……クライアント装置。   DESCRIPTION OF SYMBOLS 1 ... Server client system, 2 ... Server apparatus, 3 ... Client apparatus.

Claims (3)

クライアント装置と
上記クライアント装置からの命令情報に応じた所定のプログラムを実行する機能も有するHTTP(Hyper Text Transfer Protocol)サーバプログラムが予め格納されているサーバ装置と
を有し、
上記クライアント装置は、
上記サーバ装置のURL(Uniform Resource Locator)と共に上記サーバ装置に対する上記命令情報を送信し、
上記サーバ装置は、
上記クライアント装置から上記URLと共に上記命令情報を受信すると、上記HTTPサーバプログラムに従って、当該命令情報に応じた上記所定のプログラムを実行する
ことを特徴とするプログラム実行システム。
A client device and a server device in which an HTTP (Hyper Text Transfer Protocol) server program having a function of executing a predetermined program according to command information from the client device is stored in advance,
The client device
Sending the command information for the server device together with the URL (Uniform Resource Locator) of the server device,
The server device is
When the command information is received together with the URL from the client device, the predetermined program corresponding to the command information is executed according to the HTTP server program.
クライアント装置からの命令情報に応じた所定のプログラムを実行する機能も有するHTTP(Hyper Text Transfer Protocol)サーバプログラムが予め格納されているサーバ装置であって、
上記クライアント装置から当該サーバ装置のURL(Uniform Resource Locator)と共に上記命令情報を受信すると、上記HTTPサーバプログラムに従って、当該命令情報に応じた上記所定のプログラムを実行する実行手段
を具えることを特徴とするサーバ装置。
An HTTP (Hyper Text Transfer Protocol) server program having a function of executing a predetermined program according to command information from a client device is stored in advance,
When the command information is received together with a URL (Uniform Resource Locator) of the server device from the client device, an execution means for executing the predetermined program corresponding to the command information according to the HTTP server program is provided. Server device.
クライアント装置からの命令情報に応じた所定のプログラムを実行する機能も有するHTTP(Hyper Text Transfer Protocol)サーバプログラムが予め格納されているサーバ装置のプログラム実行方法であって、
上記クライアント装置から当該サーバ装置のURL(Uniform Resource Locator)と共に上記命令情報を受信すると、上記HTTPサーバプログラムに従って、当該命令情報に応じた上記所定のプログラムを実行する実行ステップ
を有することを特徴とするサーバ装置のプログラム実行方法。
An HTTP (Hyper Text Transfer Protocol) server program having a function of executing a predetermined program in accordance with command information from a client device is stored in advance.
When the command information is received together with a URL (Uniform Resource Locator) of the server device from the client device, the execution step of executing the predetermined program according to the command information according to the HTTP server program is provided. A program execution method for a server device.
JP2003315704A 2003-09-08 2003-09-08 Program execution system Withdrawn JP2005084905A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003315704A JP2005084905A (en) 2003-09-08 2003-09-08 Program execution system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003315704A JP2005084905A (en) 2003-09-08 2003-09-08 Program execution system

Publications (1)

Publication Number Publication Date
JP2005084905A true JP2005084905A (en) 2005-03-31

Family

ID=34415883

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003315704A Withdrawn JP2005084905A (en) 2003-09-08 2003-09-08 Program execution system

Country Status (1)

Country Link
JP (1) JP2005084905A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016203788A1 (en) * 2015-06-17 2016-12-22 スター精密株式会社 Display screen control system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016203788A1 (en) * 2015-06-17 2016-12-22 スター精密株式会社 Display screen control system

Similar Documents

Publication Publication Date Title
US6983328B2 (en) Trusted internet clipboard
US7617275B2 (en) Method and apparatus for terminal server addressability via URL specification
US20020138653A1 (en) Workstation system, computer, data transfer method, data editing method, computer program generation method, computer program and storage medium
JP4818251B2 (en) Server-side protocol configuration for accessing clients
JP2009544087A (en) Method, data processing system, and computer program for displaying a web page to a user (method and system for displaying menu options associated with objects contained in a web page)
JP2004530192A (en) Web-based imaging system using cookies to provide single-operation printing options
JP4711922B2 (en) Server, server cooperation system, server cooperation method, program, recording medium, and information processing apparatus
JP2005327154A (en) Html file processing method and program
JP2000276417A (en) Method and system for web server generation, server, and recording medium
JP5039946B2 (en) Technology for relaying communication between client devices and server devices
JP5267342B2 (en) Mashup program, mashup device, and mashup method
JP4313091B2 (en) Information processing system
JP2005084905A (en) Program execution system
Cisco Release Notes for Cisco Content Optimization Engine 1.2 for ACNS 4.1
JP2005149131A (en) Information processing device, method and program
JP5774429B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM
US8417819B2 (en) Combining UNIX commands with uniform resource locators
JP2005050241A (en) Server, information processing method, and program
JP3710027B2 (en) Script transfer execution method using the Internet and recording medium recording the processing procedure of the script transfer execution method
JP2004362029A (en) Control equipment setting system
JP2006053893A (en) Data processing system, data processing method, processing device, terminal unit, portable terminal unit, and program
JP2005050047A (en) Print processing method and print processor
JP3005567B1 (en) Pseudo workstation control system and client / server system
CN115495174A (en) Resource file processing method based on education system and related device
JP2002312313A (en) Communication terminal

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20061205