JP4937070B2 - Document data management method, document data creation method, server, and computer program - Google Patents

Document data management method, document data creation method, server, and computer program Download PDF

Info

Publication number
JP4937070B2
JP4937070B2 JP2007254746A JP2007254746A JP4937070B2 JP 4937070 B2 JP4937070 B2 JP 4937070B2 JP 2007254746 A JP2007254746 A JP 2007254746A JP 2007254746 A JP2007254746 A JP 2007254746A JP 4937070 B2 JP4937070 B2 JP 4937070B2
Authority
JP
Japan
Prior art keywords
session
document data
terminal device
server
file
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.)
Active
Application number
JP2007254746A
Other languages
Japanese (ja)
Other versions
JP2009086931A (en
Inventor
研進 中井
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2007254746A priority Critical patent/JP4937070B2/en
Publication of JP2009086931A publication Critical patent/JP2009086931A/en
Application granted granted Critical
Publication of JP4937070B2 publication Critical patent/JP4937070B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、帳票ファイルなどの書類データの管理方法および作成方法、そのためのサーバおよびコンピュータプログラムに関する。   The present invention relates to a method for managing and creating document data such as a form file, a server and a computer program therefor.

近年、情報セキュリティに対する意識が高まる一方、非公開データの漏洩が問題となっている。中でも、ネットワークシステムにおいて、複数のコンピュータから接続されて使用されるサーバに記憶されるデータは、多数のユーザによって読み出しまたは書き込みが行われるので、漏洩しやすく、またその漏洩が発覚しにくい。   In recent years, awareness of information security has increased, and leakage of private data has become a problem. In particular, in a network system, data stored in a server used by being connected from a plurality of computers is read or written by a large number of users, so that it is easy to leak and it is difficult to detect the leak.

これに対して、保護対象のファイルにオペレーティングシステムからアクセスできないようにするファイル保護方法が、特許文献1に開示されている。   On the other hand, Patent Document 1 discloses a file protection method that prevents an operating system from accessing a file to be protected.

この方法によると、ハードディスクなどの記憶装置に、オペレーティングシステムからアクセス不可能な保護領域を作成する。保護対象のファイルを、オペレーティングシステムからアクセス可能な非保護領域から保護領域に移動させることによって、データの漏洩および改ざんなどの不正な処理から保護する。   According to this method, a protected area that is inaccessible from the operating system is created in a storage device such as a hard disk. By protecting a file to be protected from a non-protected area accessible from the operating system to a protected area, the file is protected from unauthorized processing such as data leakage and falsification.

また、機密文書を代理するプロキシファイルを経由してのみ機密文書にアクセスできるようにする機密文書管理方法が、特許文献2に開示されている。   Also, Patent Document 2 discloses a confidential document management method that enables access to a confidential document only via a proxy file that represents the confidential document.

この方法によると、ユーザが直接アクセスでき、それ自体は内容を持たないプロキシファイルを生成し、生成されたプロキシファイルを経由して機密文書にアクセスさせる。さらに、機密文書にアクセスする際にユーザの認証を行うことによって、権限のないユーザによる機密文書へのアクセスを防ぐ。   According to this method, a proxy file that can be directly accessed by the user and has no content is generated, and a confidential document is accessed via the generated proxy file. Further, by authenticating the user when accessing the confidential document, access to the confidential document by an unauthorized user is prevented.

一方、複数台のコンピュータからなる業務システムにおいて、WebブラウザおよびWebサーバなどのWWW(world wide web)の技術を用いたシステム(以下、Webシステムと称する)の普及が進んでいる。   On the other hand, in a business system composed of a plurality of computers, a system using a WWW (world wide web) technology such as a web browser and a web server (hereinafter referred to as a web system) has been spreading.

Webシステムでは、WebブラウザをクライアントとしてWebサーバにアクセスさせることによって、各種の処理を行うことができる。Webブラウザは多くのパーソナルコンピュータに標準でインストールされているので、導入が容易であること、および、クライアント側のソフトウェアを更新する手間を省けることが、Webシステムの特徴である。   In the Web system, various processes can be performed by accessing a Web server using a Web browser as a client. Since the Web browser is installed in many personal computers as a standard feature, it is easy to introduce and saves time and effort for updating the software on the client side.

図9は従来のWebシステム70の構成を示す図である。   FIG. 9 is a diagram showing a configuration of a conventional Web system 70.

Webシステム70は、サーバ71およびパーソナルコンピュータ72などによって構成される。サーバ71は、Webサーバの機能を有するサーバであり、パーソナルコンピュータ72からの要求に応じて処理を行う。パーソナルコンピュータ72は、インストールされているWebブラウザを介して、クライアントとしてサーバ71に処理を要求する。また、パーソナルコンピュータ72は複数であってもよい。   The Web system 70 includes a server 71 and a personal computer 72. The server 71 is a server having a Web server function, and performs processing in response to a request from the personal computer 72. The personal computer 72 requests the server 71 as a client for processing via the installed Web browser. A plurality of personal computers 72 may be provided.

例として、サーバ71が記憶するデータおよびログなどを所定の様式に表す帳票を印刷する場合の処理の流れを、以下に説明する。   As an example, the flow of processing when printing a form representing data and logs stored in the server 71 in a predetermined format will be described below.

パーソナルコンピュータ72が、印刷に用いるデータである帳票ファイルの作成を、サーバ71に要求する(ステップ#81)。サーバ71が、パーソナルコンピュータ72からの要求に基づいて、帳票ファイルを作成する(ステップ#82)。帳票ファイルが作成されると、サーバ71が、作成された帳票ファイルを記憶している場所を示すURL(uniform resource locator)を、パーソナルコンピュータ72に送信する(ステップ#83)。パーソナルコンピュータ72が、受信したURLに基づいて、帳票ファイルをダウンロードする(ステップ#84)。パーソナルコンピュータ72が、ダウンロードした帳票ファイルに基づいて、プリンタなどを用いて印刷を行う。
特開2004−220400号公報 特開2006−260176号公報
The personal computer 72 requests the server 71 to create a form file that is data used for printing (step # 81). The server 71 creates a form file based on the request from the personal computer 72 (step # 82). When the form file is created, the server 71 sends a URL (uniform resource locator) indicating the location where the created form file is stored to the personal computer 72 (step # 83). The personal computer 72 downloads the form file based on the received URL (step # 84). The personal computer 72 performs printing using a printer or the like based on the downloaded form file.
JP 2004-220400 A JP 2006-260176 A

しかしながら、従来のWebシステムにおいては、以下のような問題があった。   However, the conventional Web system has the following problems.

すなわち、従来のWebシステムでは、帳票の印刷処理などにおいて、作成された帳票ファイルがサーバ上に記憶される。このため、Webシステムが複数のパーソナルコンピュータによって使用される場合は、帳票ファイルの作成を依頼したパーソナルコンピュータとは異なるパーソナルコンピュータからも、作成された帳票ファイルへのアクセスが可能な状態となってしまう。したがって、パーソナルコンピュータを使用する無関係な第三者にデータが漏洩するおそれがある。   That is, in the conventional Web system, the created form file is stored on the server in the form printing process or the like. For this reason, when the Web system is used by a plurality of personal computers, the created form file can be accessed from a personal computer different from the personal computer that requested the creation of the form file. . Therefore, data may be leaked to an unrelated third party who uses the personal computer.

特許文献1に開示されているファイル保護方法を、従来のWebシステムに用いた場合は、以下のように動作する。   When the file protection method disclosed in Patent Document 1 is used in a conventional Web system, it operates as follows.

クライアントであるパーソナルコンピュータが印刷に用いる帳票ファイルの作成をサーバに要求した場合に、サーバは、帳票ファイルを作成してサーバ自体が有するハードディスクなどの記憶装置に記憶する。この際、作成した帳票ファイルを、非保護領域から保護領域に移動させることによって、サーバのオペレーティングシステムを介して帳票ファイルにアクセスできないようにする。   When the client personal computer requests the server to create a form file used for printing, the server creates the form file and stores it in a storage device such as a hard disk of the server itself. At this time, the created form file is moved from the non-protected area to the protected area so that the form file cannot be accessed via the server operating system.

しかし、特許文献1に開示されているファイル保護方法では、入力されたユーザIDおよびパスワードによって正規のユーザであると認証されれば、保護領域に記憶されているファイルの一覧が表示される。   However, in the file protection method disclosed in Patent Document 1, if the user is authenticated as an authorized user by the input user ID and password, a list of files stored in the protection area is displayed.

特許文献2に開示されている機密文書管理方法を従来のWebシステムに用いた場合も同様に、正規のユーザであると認証されれば、機密文書情報が表示される。   Similarly, when the confidential document management method disclosed in Patent Document 2 is used in a conventional Web system, if the user is authenticated as a legitimate user, the confidential document information is displayed.

したがって、悪意を持った第三者がユーザIDおよびパスワードを窃用した場合は、ファイルにアクセス可能な状態となり、ファイルの内容が漏洩してしまうおそれがある。   Therefore, when a malicious third party steals the user ID and password, the file can be accessed and the contents of the file may be leaked.

本発明は、このような点に鑑み、Webシステムにおいて非公開データを適切に保護することを目的とする。   In view of these points, the present invention aims to appropriately protect private data in a Web system.

上記目的を達成する書類データ管理方法は、ユーザから依頼された書類データをサーバにおいて管理する書類データ管理方法であって、前記ユーザが操作する端末装置と前記サーバとの間のセッションを開始する際に、当該セッションを識別するためのセッションIDを当該端末装置に付与する第1ステップと、前記端末装置から、書類データの管理依頼と当該端末装置に付与された前記セッションIDとを受信する第2ステップと、受信した管理依頼に基づいて、前記書類データを、当該書類データの管理依頼とともに受信した前記セッションIDと対応付けて、ファイアウォールにより保護された第2のサーバに記憶させる第3ステップと、前記端末装置から、当該端末装置に付与された前記セッションIDと前記第2のサーバに記憶されている前記書類データのダウンロード要求とを受信する第4ステップと、当該書類データが対応付けられている前記セッションIDと、当該書類データに係る前記ダウンロード要求とともに受信した前記セッションIDとが一致した場合に、前記第2のサーバから当該書類データを読み出して当該端末装置に送信する第5ステップと、を有する。   A document data management method that achieves the above object is a document data management method for managing document data requested by a user at a server, wherein a session between a terminal device operated by the user and the server is started. A first step of assigning a session ID for identifying the session to the terminal device; and a second step of receiving a document data management request and the session ID assigned to the terminal device from the terminal device. A third step of storing the document data in a second server protected by a firewall in association with the session ID received together with the management request for the document data based on the received management request; From the terminal device, stored in the second server and the session ID assigned to the terminal device. A fourth step of receiving the download request for the document data, the session ID associated with the document data, and the session ID received together with the download request for the document data match And a fifth step of reading out the document data from the second server and transmitting it to the terminal device.

この形態の書類データ管理方法によると、書類データが、ファイアウォールにより保護された第2のサーバに記憶されるので、書類データへのアクセスを制限できる。   According to the document data management method of this aspect, since the document data is stored in the second server protected by the firewall, access to the document data can be restricted.

上記目的を達成する書類データ作成方法は、ユーザの要求に基づいた書類データをサーバにおいて作成する書類データ作成方法であって、前記ユーザが操作する端末装置と前記サーバとの間のセッションを開始する際に、当該セッションを識別するためのセッションIDを当該端末装置に付与する第1ステップと、前記端末装置から、当該端末装置に付与された前記セッションIDと前記書類データの作成要求とを受信する第2ステップと、受信した前記作成要求に基づいて前記書類データを作成する第3ステップと、作成された前記書類データを、当該書類データの作成要求とともに受信した前記セッションIDと対応付けて、ファイアウォールにより保護された第2のサーバに記憶させる第4ステップと、前記端末装置から、当該端末装置に付与された前記セッションIDと前記第2のサーバに記憶されている前記書類データのダウンロード要求とを受信する第5ステップと、当該書類データが対応付けられている前記セッションIDと、当該書類データに係る前記ダウンロード要求とともに受信した前記セッションIDとが一致した場合に、前記第2のサーバから当該書類データを読み出して当該端末装置に送信する第6ステップと、を有する。   A document data creation method for achieving the above object is a document data creation method for creating document data based on a user's request in a server, and starts a session between a terminal device operated by the user and the server. In this case, a first step of assigning a session ID for identifying the session to the terminal device, and the session ID assigned to the terminal device and the document data creation request are received from the terminal device. A second step, a third step of creating the document data based on the received creation request, and the created document data in association with the session ID received together with the document data creation request, A fourth step to be stored in the second server protected by the terminal device, and the terminal device A fifth step of receiving the session ID assigned to the document server and the download request for the document data stored in the second server; the session ID associated with the document data; and the document data And a sixth step of reading out the document data from the second server and transmitting the same to the terminal device when the session ID received together with the download request is matched.

この形態の書類データ作成方法によると、サーバにおいて作成された書類データが、ファイアウォールにより保護された第2のサーバに記憶されるので、作成された書類データへのアクセスを制限できる。   According to the document data creation method of this aspect, the document data created in the server is stored in the second server protected by the firewall, so that access to the created document data can be restricted.

好ましい態様において、書類データ作成方法は、前記第4ステップにおいて、作成された前記書類データを、前記書類データごとに一意なファイルIDと対応付けて記憶させ、作成された前記書類データに対応付けられたファイルIDを当該書類データの作成の要求に係る前記端末装置に送信し、前記第5ステップにおいて、前記端末装置から、ダウンロードを要求する前記書類データに対応付けられた前記ファイルIDを受信し、前記第6ステップにおいて、当該書類データが対応付けられている前記ファイルIDと、当該書類データに係る前記ダウンロードの要求とともに受信した前記ファイルIDとが一致した場合に、前記第2のサーバから当該書類データを読み出して、当該端末装置に送信する。   In a preferred aspect, in the document data creation method, in the fourth step, the created document data is stored in association with a unique file ID for each of the document data, and is associated with the created document data. And the file ID associated with the document data requesting download is received from the terminal device in the fifth step, In the sixth step, when the file ID associated with the document data matches the file ID received together with the download request related to the document data, the document is received from the second server. Data is read and transmitted to the terminal device.

この形態の書類データ作成方法によると、同一のユーザが同一の端末装置を使用して、複数の書類データの作成を要求した場合に、作成されたそれぞれの書類データを区別することができる。   According to the document data creation method of this aspect, when the same user requests creation of a plurality of document data using the same terminal device, the created document data can be distinguished.

好ましい態様において、書類データ作成方法は、前記第6ステップにおいて、前記第2のサーバから読み出した前記書類データであるバイナリファイルと、当該バイナリファイルのファイルとを、前記端末装置に送信する。 In a preferred embodiment, in the sixth step, the document data creation method transmits the binary file that is the document data read from the second server and the file name of the binary file to the terminal device.

この形態の書類データ作成方法によると、第2のサーバに記憶されている書類データがダウンロードされる際に、サーバはその書類データを記憶しなくてよい。   According to this form of document data creation method, when the document data stored in the second server is downloaded, the server does not have to store the document data.

好ましい態様において、書類データ作成方法は、セッションIDを当該セッションが終了した後も期限付きで有効として記憶しておき、前記端末装置と前記サーバとの間のセッションを開始する際に、前記端末装置から受信したセッションIDが前記セッションID記憶手段に記憶されたセッションIDと一致する場合に、前記第1ステップにおいて、前記端末装置から受信したセッションIDを当該セッションのセッションIDとして当該端末装置に付与する。   In a preferred aspect, the document data creation method stores the session ID as valid with a time limit even after the session ends, and starts the session between the terminal device and the server. When the session ID received from the session ID storage device matches the session ID stored in the session ID storage means, the session ID received from the terminal device is assigned to the terminal device as the session ID of the session in the first step. .

この形態の書類データ作成方法によると、セッションを一旦終了して、セッションを再開する際にも、引き続き同じセッションIDを使用し続けることができる。   According to the document data creation method of this form, the same session ID can be continuously used when the session is once ended and the session is resumed.

なお、書類データとは、帳票ファイル、帳票データ、その他、書類として印刷可能なデータをいう。   The document data refers to form files, form data, and other data that can be printed as documents.

本発明によれば、Webシステムにおいて、非公開データを適切に保護することができる。   According to the present invention, it is possible to appropriately protect private data in a Web system.

図1は本発明に係る一実施形態のWebシステム1の全体構成を示す図、図2はWebサーバ2の機能的構成を説明する図、図3は中間ファイル管理サーバ4の機能的構成を説明する図である。   FIG. 1 is a diagram illustrating an overall configuration of a Web system 1 according to an embodiment of the present invention, FIG. 2 is a diagram illustrating a functional configuration of a Web server 2, and FIG. 3 is a functional configuration of an intermediate file management server 4. It is a figure to do.

Webシステム1は、Webサーバを、Webシステムを導入した組織に1つずつ設置して使用するのではなく、各組織が1つのWebサーバを共通して利用する、ASP(application service provider)システムと呼ばれる形態を取っている。Webサーバは、例えば、IDC(internet data center)事業者などに設置されて使用される。   The Web system 1 is an ASP (Application Service Provider) system in which each organization uses one Web server in common, instead of installing and using one Web server at each organization where the Web system is introduced. It takes the form called. The Web server is installed and used in, for example, an IDC (internet data center) provider.

Webシステム1は、図1に示すように、Webサーバ2、ファイアウォール3、中間ファイル管理サーバ4、DBサーバ5、複数台のパーソナルコンピュータ8(81a、81b、…、82a、82b、…、83a、83b、…)、プリンタ9、通信回線10、および複数台のルータRTなどによって構成される。パーソナルコンピュータ8およびWebサーバ2は、ルータRTおよび通信回線10を介して互いに接続可能である。Webサーバ2および中間ファイル管理サーバ4は、ファイアウォール3を介して互いに接続可能である。Webサーバ2およびDBサーバ5は、ファイアウォール3を介して互いに接続可能である。   As shown in FIG. 1, the Web system 1 includes a Web server 2, a firewall 3, an intermediate file management server 4, a DB server 5, and a plurality of personal computers 8 (81a, 81b, ..., 82a, 82b, ..., 83a, 83b,...), A printer 9, a communication line 10, and a plurality of routers RT. The personal computer 8 and the Web server 2 can be connected to each other via the router RT and the communication line 10. The Web server 2 and the intermediate file management server 4 can be connected to each other via the firewall 3. The Web server 2 and the DB server 5 can be connected to each other via the firewall 3.

Webシステム1は、クライアントであるパーソナルコンピュータ8がWebブラウザを介してWebサーバ2に各種の処理を要求し、Webサーバ2が中間ファイル管理サーバ4およびDBサーバ5と連携して、要求された処理を行う、ネットワークシステムである。   In the Web system 1, a personal computer 8 as a client requests various processes to the Web server 2 via a Web browser, and the Web server 2 cooperates with the intermediate file management server 4 and the DB server 5 to perform the requested processes. Is a network system.

Webサーバ2は、HTML(hypertext markup language )文書や画像などの情報を蓄積しておき、Webブラウザを介したクライアントの要求に応じて、これらの情報を送信するWebサーバの機能を有する。また、クライアントの要求に応じてプログラムを実行することにより、種々の処理の結果をクライアントに送信する機能、DBサーバ5と連携して帳票ファイルなどの種々のファイルを作成する機能、および帳票ファイルなどをダウンロードする機能などを有する。   The Web server 2 has a function of a Web server that accumulates information such as HTML (hypertext markup language) documents and images and transmits the information in response to a client request via the Web browser. In addition, by executing a program in response to a client request, a function for transmitting various processing results to the client, a function for creating various files such as a form file in cooperation with the DB server 5, a form file, etc. It has a function to download.

例えば、ユーザがクライアントであるパーソナルコンピュータ8を操作してWebシステム1に対してデータを入力すると、入力されたデータがDBサーバ5に記憶される。次に、ユーザがWebシステム1に対して帳票の印刷を要求すると、DBサーバ5に記憶されたデータに基づいて帳票ファイルが作成され、作成された帳票ファイルがパーソナルコンピュータ8にダウンロードされた上で、プリンタ9により印刷処理される。Webサーバ2は、これらの処理を仲介する。   For example, when the user operates the personal computer 8 as a client and inputs data to the Web system 1, the input data is stored in the DB server 5. Next, when the user requests the Web system 1 to print a form, a form file is created based on the data stored in the DB server 5 and the created form file is downloaded to the personal computer 8. The printer 9 performs printing processing. The Web server 2 mediates these processes.

Webサーバ2は、RAM(random access memory)およびCPUを有しており、上述のプログラムは必要に応じてRAMに読み出され、CPUによってプログラムが実行される。   The Web server 2 has a RAM (random access memory) and a CPU, and the above-described program is read into the RAM as necessary, and the program is executed by the CPU.

ファイアウォール3は、外部からの不正なアクセスを防ぐためのファイアウォールである。   The firewall 3 is a firewall for preventing unauthorized access from the outside.

ファイアウォールとは、内外からの通信要求をすべて捕捉し、恣意的に通過させたり禁止したりすることによって、必要な通信だけを許可しつつ、セキュリティを確保するものである。例えば、ファイアウォール3を通過しようとする通信のポート番号、IPアドレス、または通信方向などを用いて、これらの制御を行う。   A firewall captures all communication requests from inside and outside and arbitrarily passes or prohibits them, thereby allowing only necessary communication and ensuring security. For example, these controls are performed using a port number, an IP address, or a communication direction of communication to be passed through the firewall 3.

ファイアウォールには、専用装置、サーバまたはルータにその機能を搭載したもの、およびソフトウェア製品などがある。本実施形態には、これらのうちのいずれを用いてもよい。   Examples of the firewall include a dedicated device, a server or router equipped with the function, and a software product. Any of these may be used in the present embodiment.

本実施形態のWebシステム1において、Webサーバ2のみが中間ファイル管理サーバ4およびDBサーバ5にアクセスできるように、ファイアウォール3の設定が行われている。よって、パーソナルコンピュータ8からは、中間ファイル管理サーバ4またはDBサーバ5にアクセスすることはできない。中間ファイル管理サーバ4またはDBサーバ5のファイルまたはデータをパーソナルコンピュータ8から利用するには、パーソナルコンピュータ8からWebサーバ2に対してアクセスし、Webサーバ2での処理を介在させなければならない。言い換えれば、ファイアウォール3があるため、パーソナルコンピュータ8から中間ファイル管理サーバ4またはDBサーバ5には、直接的なアクセスはできず、間接的なアクセスを行うこととなる。   In the Web system 1 of this embodiment, the firewall 3 is set so that only the Web server 2 can access the intermediate file management server 4 and the DB server 5. Therefore, the personal computer 8 cannot access the intermediate file management server 4 or the DB server 5. In order to use the file or data of the intermediate file management server 4 or the DB server 5 from the personal computer 8, the personal computer 8 must access the Web server 2 to intervene processing in the Web server 2. In other words, since the firewall 3 exists, the personal computer 8 cannot directly access the intermediate file management server 4 or the DB server 5 but performs indirect access.

中間ファイル管理サーバ4は、Webサーバ2が作成したファイル、パーソナルコンピュータ8などから送られてきたファイルなどを、ハードディスクなどのメモリに記憶する。また、中間ファイル管理データベースFM(図3参照)を用いて、記憶したファイルを管理する。   The intermediate file management server 4 stores a file created by the Web server 2, a file sent from the personal computer 8 or the like in a memory such as a hard disk. The stored file is managed using the intermediate file management database FM (see FIG. 3).

DBサーバ5は、Webシステム1で使用する各種のデータおよびログなどを記憶する。Webサーバ2の要求に応じて、これらのデータまたはログを更新し、読み出す。   The DB server 5 stores various data and logs used in the Web system 1. These data or logs are updated and read in response to a request from the Web server 2.

パーソナルコンピュータ8は、Webシステム1のクライアントであり、Webブラウザを有する。ユーザによる入力に基づいて、Webブラウザを介してWebサーバ2に各種の処理を要求する。   The personal computer 8 is a client of the Web system 1 and has a Web browser. Based on the input by the user, various processes are requested to the Web server 2 via the Web browser.

パーソナルコンピュータ8は、企業および団体などの複数の組織にそれぞれ設置されている。各組織に設置されたパーソナルコンピュータ8は、ルータRTによって分けられた、組織ごとに異なるセグメントのネットワークに、それぞれ接続されている。   The personal computer 8 is installed in each of a plurality of organizations such as companies and organizations. The personal computer 8 installed in each organization is connected to a network of different segments for each organization divided by the router RT.

プリンタ9は、パーソナルコンピュータ8の要求に応じて、用紙を用いて印刷処理を行う。   The printer 9 performs printing processing using paper in response to a request from the personal computer 8.

通信回線10は、各組織のネットワークとWebサーバ2とをそれぞれ接続するためのセキュリティが確保された通信回線であり、専用線、VPN(virtual private network )、またはインターネットVPNなどが用いられる。また、通信回線10としてインターネットを用いることも可能である。   The communication line 10 is a communication line in which security for connecting the network of each organization and the Web server 2 is secured, and a dedicated line, a VPN (virtual private network), an Internet VPN, or the like is used. In addition, the Internet can be used as the communication line 10.

Webシステム1がASPシステムの形態を取った場合は、従来のWebシステムでは、印刷に用いる帳票ファイルなどがWebサーバに記憶されるので、無関係な他の組織からもその帳票ファイルにアクセスが可能な状態となってしまう。   When the Web system 1 takes the form of an ASP system, in the conventional Web system, a form file used for printing is stored in the Web server, and the form file can be accessed from other unrelated organizations. It becomes a state.

これに対して、本実施形態では、Webシステム1で作成された帳票ファイルは、中間ファイル管理サーバ4に記憶される。以下、これを実現するためにWebサーバ2および中間ファイル管理サーバ4の各部がどのような処理を行うのか、詳細に説明する。   On the other hand, in the present embodiment, the form file created by the Web system 1 is stored in the intermediate file management server 4. Hereinafter, what kind of processing each part of the Web server 2 and the intermediate file management server 4 performs to realize this will be described in detail.

図2において、ログイン受付部201は、パーソナルコンピュータ8からのWebシステム1へのログインの要求を受け付ける。ログインは、ユーザID(ユーザ識別子UI)およびパスワードの入力によるものでもよいし、IC(integrated circuit)カードを用いた方法でもよい。   In FIG. 2, a login receiving unit 201 receives a login request from the personal computer 8 to the Web system 1. The login may be performed by inputting a user ID (user identifier UI) and a password, or may be a method using an IC (integrated circuit) card.

セッションID付与部202は、ログインにより認証されたユーザが使用するパーソナルコンピュータ8に、セッションIDであるセッション識別子SIを送信する。これによって、セッションが開始する。   The session ID assigning unit 202 transmits a session identifier SI that is a session ID to the personal computer 8 used by the user who is authenticated by the login. This starts a session.

なお、セッションとは、パーソナルコンピュータ8などがWebサーバ2にログインしてからログアウトするまでの期間、またはその期間における処理または通信をいう。つまり、セッションは、コンピュータ間でデータをやり取りするために設ける論理的な接続関係のことといえる。両者の間でデータのやりとりをするには、それらの間でまずセッションを確立する必要があり、データのやりとりを終えるとセッションは終了する。Webサーバ2は、ログインしたパーソナルコンピュータ8が自発的にログアウトした場合、またはログインしたパーソナルコンピュータ8との間のデータのやりとりが所定時間なかった場合などに、そのセッションを終了させる。ユーザは、セッションが終了した後にWebサーバ2との間でデータのやりとりを行おうとする場合には、通常、再度認証を行ってログインする必要がある。なお、本実施形態においては、セッションが終了した後もセッションID(セッション識別子)を有効として記憶する個別セッションID記憶部203が設けられている。詳細は後で述べる。   Note that the session refers to a period from when the personal computer 8 or the like logs in to the Web server 2 until the user logs out, or processing or communication during that period. That is, a session can be said to be a logical connection relationship provided for exchanging data between computers. In order to exchange data between the two, it is necessary to first establish a session between them, and when the data exchange is completed, the session ends. The Web server 2 terminates the session when the logged-in personal computer 8 voluntarily logs out or when there is no data exchange with the logged-in personal computer 8 for a predetermined time. When a user tries to exchange data with the Web server 2 after the session ends, it is usually necessary to perform authentication again and log in. In the present embodiment, an individual session ID storage unit 203 that stores a session ID (session identifier) as valid even after the session ends is provided. Details will be described later.

セッションIDとは、ユーザがログインによって認証された状態を、1つのセッションとして保持するためのものである。ユーザがログインすると、Webサーバで発行されたセッションIDがクライアントに送信される。送信されたセッションIDは、クライアントであるパーソナルコンピュータのハードディスクなどに、「Cookie(クッキー)」と呼ばれる情報ファイルとして記憶される。記憶されたセッションIDは、ユーザがログイン中は、WebブラウザからWebサーバに対して通信が行われるごとに、自動的にWebサーバに対して送信される。Webサーバは、セッションIDを受信することによって、認証されたユーザによる通信であることを認識する。また、ユーザがログアウトすることによって、記憶されたセッションIDは消去される。   The session ID is for holding a state in which the user is authenticated by login as one session. When the user logs in, the session ID issued by the Web server is transmitted to the client. The transmitted session ID is stored as an information file called “cookie” in a hard disk of a personal computer as a client. The stored session ID is automatically transmitted to the Web server every time communication is performed from the Web browser to the Web server while the user is logged in. The Web server recognizes the communication by the authenticated user by receiving the session ID. Further, when the user logs out, the stored session ID is deleted.

したがって、ユーザが一旦ログインすると、ログアウトするまでの間、つまり1つのセッションの期間は、通信が行われるごとに認証を行う必要がない。   Therefore, once the user logs in, it is not necessary to perform authentication every time communication is performed until the user logs out, that is, for one session.

セッションIDは、例えば、Base64などの方式でエンコードされて用いられる。また、桁数(ビット数)を増やすことによって、第三者による解読が困難となり、セキュリティを向上させることができる。   The session ID is used after being encoded by a method such as Base64, for example. Further, by increasing the number of digits (number of bits), it becomes difficult for a third party to decipher and the security can be improved.

なお、本実施形態では、パーソナルコンピュータ8へのセッション識別子SIの付与に際して、上述の一般的なセッションIDの発行によるセッション識別子SIに加えて、Webシステム1で独自に管理するセッション識別子SIをも用いる。   In this embodiment, when the session identifier SI is given to the personal computer 8, in addition to the above-described general session ID issuance session ID SI, a session identifier SI managed uniquely by the Web system 1 is also used. .

個別セッションID記憶部203は、所定のユーザに係るセッション識別子SIおよびその有効期限(有効期間)YKを記憶する。   The individual session ID storage unit 203 stores a session identifier SI and a validity period (validity period) YK related to a predetermined user.

セッション識別子SIは、ユーザが一旦ログアウトすると、そのユーザが使用していたパーソナルコンピュータ8から消去される。よって、一般的なセッションIDの発行によるセッション識別子SIだけをWebシステム1で用いた場合は、以下のように動作する。すなわち、長時間を要する処理をWebサーバ2に要求した場合に、ユーザが他の業務に従事するなどのためにWebシステム1からログアウトすると、再度ログインした際には新たなセッション識別子SIが付与されてしまう。このため、そのままでは、Webサーバ2はその処理を要求したユーザであることを認識できなくなってしまう。   The session identifier SI is deleted from the personal computer 8 used by the user once the user logs out. Therefore, when only the session identifier SI obtained by issuing a general session ID is used in the Web system 1, the operation is as follows. That is, when a process requiring a long time is requested from the Web server 2 and the user logs out from the Web system 1 to engage in other tasks, a new session identifier SI is given when logging in again. End up. For this reason, as it is, the Web server 2 cannot recognize that it is the user who requested the process.

したがって、所定のユーザについては、事前の設定により、個別セッションID記憶部203にセッション識別子SIおよび必要な有効期限または有効期間を記憶させておく。例えば、特定のユーザに対して、当日限り、翌日まで、特定の期間などを有効期間として、セッションの終了したセッション識別子SIを個別セッションID記憶部203に登録する。有効期間が過ぎると、その登録を削除する。   Therefore, for a predetermined user, the session identifier SI and the necessary expiration date or validity period are stored in the individual session ID storage unit 203 in advance. For example, for a specific user, the session identifier SI for which the session has ended is registered in the individual session ID storage unit 203 with the specific period or the like as the effective period until the next day only on the current day. When the validity period expires, the registration is deleted.

ログイン受付部201によってログインの要求が受け付けられると、セッションID付与部202は、個別セッションID記憶部203を参照して、記憶されているセッション識別子SIに係る所定のユーザか否かを判定する。所定のユーザである場合は、個別セッションID記憶部203からセッション識別子SIを読み出して、パーソナルコンピュータ8に送信する。そうでない場合は、セッション識別子SIを新たに発行し、パーソナルコンピュータ8に送信する。   When a login request is received by the login receiving unit 201, the session ID providing unit 202 refers to the individual session ID storage unit 203 and determines whether or not the user is a predetermined user related to the stored session identifier SI. If the user is a predetermined user, the session identifier SI is read from the individual session ID storage unit 203 and transmitted to the personal computer 8. Otherwise, a new session identifier SI is issued and transmitted to the personal computer 8.

ファイル作成要求受付部204は、パーソナルコンピュータ8からの、印刷に用いる帳票ファイルの作成の要求を、受け付ける。   The file creation request accepting unit 204 accepts a request for creating a form file used for printing from the personal computer 8.

ファイル作成部205は、ファイル作成要求受付部204が受け付けた要求に基づいて、帳票ファイルDFを作成する。   The file creation unit 205 creates a form file DF based on the request received by the file creation request reception unit 204.

ファイル記憶依頼部206は、中間ファイル管理サーバ4に対して、帳票ファイルの作成の要求とともにパーソナルコンピュータ8から送信されたセッション識別子SIと、作成された帳票ファイルDFとを、記憶するように依頼する。   The file storage request unit 206 requests the intermediate file management server 4 to store the session identifier SI transmitted from the personal computer 8 together with the request for creating the form file and the created form file DF. .

図3において、中間ファイル管理サーバ4のファイル記憶依頼受付部401は、Webサーバ2のファイル記憶依頼部206からの依頼を受け付ける。   In FIG. 3, the file storage request reception unit 401 of the intermediate file management server 4 receives a request from the file storage request unit 206 of the Web server 2.

ファイル記憶部402は、ファイル記憶依頼部206で作成した帳票ファイルDF、パーソナルコンピュータ8からアップロードされた帳票ファイルDFなどを記憶する。   The file storage unit 402 stores the form file DF created by the file storage request unit 206, the form file DF uploaded from the personal computer 8, and the like.

中間ファイル管理データベースFMは、記憶された帳票ファイルDFに対して一意なファイル識別子(ファイルID)FIを発行し、帳票ファイルDFの作成の要求に係るセッション識別子SIと、発行されたファイル識別子FIと、帳票ファイルDFが記憶されている場所を示すファイルパスFSとを、それぞれ対応付けて記録し、管理する。中間ファイル管理データベースFMには、また、それらに対応して、パーソナルコンピュータ8で用いられるファイル名であるダウンロードファイル名NDが記録される。   The intermediate file management database FM issues a unique file identifier (file ID) FI to the stored form file DF, the session identifier SI related to the request to create the form file DF, the issued file identifier FI, The file path FS indicating the location where the form file DF is stored is recorded in association with each other and managed. In the intermediate file management database FM, a download file name ND that is a file name used in the personal computer 8 is recorded correspondingly.

ファイルID通知部403は、帳票ファイルDFに対して発行されたファイル識別子FIを、Webサーバ2に通知する。   The file ID notification unit 403 notifies the Web server 2 of the file identifier FI issued for the form file DF.

図2に戻って、Webサーバ2のURL通知部207は、発行されたファイル識別子FIをパラーメータとして含み、帳票ファイルDFのダウンロードの処理を行うプログラムを示すURLを、パーソナルコンピュータ8に通知する。   Returning to FIG. 2, the URL notification unit 207 of the Web server 2 notifies the personal computer 8 of a URL indicating the program that performs processing for downloading the form file DF, including the issued file identifier FI as a parameter.

パーソナルコンピュータ8は、Webサーバ2に対して、通知されたURLに基づいて、帳票ファイルDFのダウンロードを要求する。   The personal computer 8 requests the Web server 2 to download the form file DF based on the notified URL.

ダウンロード要求受付部208は、パーソナルコンピュータ8からの、帳票ファイルDFのダウンロードの要求を受け付ける。   The download request receiving unit 208 receives a request for downloading the form file DF from the personal computer 8.

ファイル読出依頼部209は、中間ファイル管理サーバ4に対して、ダウンロードの要求とともにパーソナルコンピュータ8から送信されたセッション識別子SIおよびファイル識別子FIに基づいて、帳票ファイルDFを読み出すように依頼する。   The file read request unit 209 requests the intermediate file management server 4 to read the form file DF based on the session identifier SI and the file identifier FI transmitted from the personal computer 8 together with the download request.

図3において、中間ファイル管理サーバ4のファイル読出依頼受付部404は、Webサーバ2のファイル読出依頼部209の依頼を受け付ける。   In FIG. 3, a file read request receiving unit 404 of the intermediate file management server 4 receives a request from the file read request unit 209 of the Web server 2.

ファイル読出部405は、パーソナルコンピュータ8から送信されたセッション識別子SIおよびファイル識別子FIに基づいて、中間ファイル管理データベースFMを参照し、帳票ファイルDFのファイルパスFSを取得する。ファイル記憶部402から、取得したファイルパスFSに基づいて、帳票ファイルDFを読み出す。   The file reading unit 405 refers to the intermediate file management database FM based on the session identifier SI and the file identifier FI transmitted from the personal computer 8, and acquires the file path FS of the form file DF. The form file DF is read from the file storage unit 402 based on the acquired file path FS.

図2に戻って、Webサーバ2のファイル送信部210は、読み出された帳票ファイルDFを、パーソナルコンピュータ8に送信する。   Returning to FIG. 2, the file transmission unit 210 of the Web server 2 transmits the read form file DF to the personal computer 8.

パーソナルコンピュータ8は、受信した帳票ファイルDFに基づいて、プリンタ9を用いて用紙に印刷する。   The personal computer 8 prints on the paper using the printer 9 based on the received form file DF.

図4はWebシステム1のファイル作成時の処理の例を示す図、図5はパーソナルコンピュータ8の表面面に表示される帳票印刷画面PSの例を示す図、図6はWebシステム1のファイルダウンロード時の処理の例を示す図、図7は帳票PDの例を示す図である。   4 is a diagram showing an example of processing when creating a file in the Web system 1, FIG. 5 is a diagram showing an example of a form printing screen PS displayed on the front surface of the personal computer 8, and FIG. FIG. 7 is a diagram illustrating an example of a form PD.

次に、ユーザがWebシステム1に対して帳票の印刷を指示する際の処理の流れを、具体的な例を挙げて説明する。   Next, the flow of processing when the user instructs the Web system 1 to print a form will be described with a specific example.

図4において、既にWebシステム1へのログインを済ませたユーザが使用するパーソナルコンピュータ8には、セッション識別子SIA「EEEEFFFFGGGGHHHH」が記憶されている。このセッション識別子SIA「EEEEFFFFGGGGHHHH」は、事前の設定によってWebサーバ2の個別セッションID記憶部203に記憶されているセッション識別子SIA1と同じ内容である。   In FIG. 4, a session identifier SIA “EEEEFFFFGGGGHHHH” is stored in the personal computer 8 used by a user who has already logged in to the Web system 1. This session identifier SIA “EEEEFFFFGGGGHHHH” has the same content as the session identifier SIA1 stored in the individual session ID storage unit 203 of the Web server 2 by the prior setting.

図5に示すような帳票印刷画面PSにおいて、ユーザが「印刷」ボタンBTをクリックすると、印刷に用いる帳票ファイルの作成の要求が、パーソナルコンピュータ8からWebサーバ2に送信される(ステップ#11)。   When the user clicks the “print” button BT on the form print screen PS as shown in FIG. 5, a request to create a form file used for printing is transmitted from the personal computer 8 to the Web server 2 (step # 11). .

Webサーバ2は、要求に基づいて、ファイル名NDAが「aaa.doc 」である帳票ファイルDFAを作成する(ステップ#12)。   Based on the request, the Web server 2 creates a form file DFA whose file name NDA is “aaa.doc” (step # 12).

Webサーバ2は、作成した帳票ファイルDFAを記憶するように、中間ファイル管理サーバ4に対して依頼する(#13)。この際、中間ファイル管理サーバ4では、一時的に記憶されるファイルである中間ファイルとして記憶され、そのファイル名は「5678.tmp」である。また、中間ファイル管理サーバ4でのファイルパスFSAは「D:\temp\5678.tmp」である。   The Web server 2 requests the intermediate file management server 4 to store the created form file DFA (# 13). At this time, the intermediate file management server 4 stores the file as an intermediate file that is temporarily stored, and the file name is “5678.tmp”. The file path FSA in the intermediate file management server 4 is “D: \ temp \ 5678.tmp”.

なお、Webサーバ2が中間ファイル管理サーバ4に処理の依頼をする際には、Webサーバ2上で実行されているプログラムが、RPC(remote procedure call )を用いて、中間ファイル管理サーバ4に記憶されているサブルーチンを直接呼び出すようにしてもよい。例えば、中間ファイル管理サーバ4においてデータをハードディスクなどに記憶させる処理を行うサブルーチンを、呼び出すようにしてもよい。この方法によると、Webサーバ2で作成された帳票ファイルを、Webサーバ2に記憶させることなく、直接中間ファイルサーバ4に記憶させることができる。   When the Web server 2 makes a request for processing to the intermediate file management server 4, a program executed on the Web server 2 is stored in the intermediate file management server 4 using RPC (remote procedure call). You may make it call the subroutine currently made directly. For example, a subroutine for performing processing for storing data in a hard disk or the like in the intermediate file management server 4 may be called. According to this method, the form file created by the Web server 2 can be directly stored in the intermediate file server 4 without being stored in the Web server 2.

中間ファイル管理データベースFMは、ファイル識別子FIC「1000000002」を発行する。パーソナルコンピュータ8から受け取ったセッション識別子SIA「EEEEFFFFGGGGHHHH」、発行したファイル識別子FI「1000000002」、ファイルパスFSA「D:\temp\5678.tmp」、およびダウンロードされる際にパーソナルコンピュータ8で用いられるファイル名であるダウンロードファイル名NDA「aaa.doc 」を、それぞれ対応付けて、中間ファイル管理データベースFMに記録する(ステップ#14)。このようにして、中間ファイル管理データベースFMは更新される。   The intermediate file management database FM issues a file identifier FIC “1000000002”. The session identifier SIA “EEEEFFFFGGGGHHHH” received from the personal computer 8, the issued file identifier FI “1000000002”, the file path FSA “D: \ temp \ 5678.tmp”, and the file name used by the personal computer 8 when downloaded The download file name NDA “aaa.doc” is recorded in the intermediate file management database FM in association with each other (step # 14). In this way, the intermediate file management database FM is updated.

Webサーバ2は、パーソナルコンピュータ8が帳票ファイルDFAを取得する際に用いるURLである帳票ファイル取得用URL「http://websvr/file.aspx?fileid=1000000002 」を、パーソナルコンピュータ8に送信する。帳票ファイル取得用URLは、ファイル識別子FIA「1000000002」を含んでいる。   The Web server 2 transmits to the personal computer 8 a form file acquisition URL “http: //websvr/file.aspx? Fileid = 1000000002”, which is a URL used when the personal computer 8 acquires the form file DFA. The form file acquisition URL includes a file identifier FIA “1000000002”.

次に、パーソナルコンピュータ8が帳票印刷に用いる帳票ファイルを、Webサーバ2からダウンロードする際の処理の流れを、具体的な例を挙げて説明する。   Next, the flow of processing when the personal computer 8 downloads a form file used for form printing from the Web server 2 will be described with a specific example.

パーソナルコンピュータ8は、帳票ファイル取得用URL「http://websvr/file.aspx?fileid=1000000002 」を送信して、帳票ファイルのダウンロードをWebサーバ2に要求する(ステップ#21)。この際、パーソナルコンピュータ8に記憶されているセッション識別子SIA「EEEEFFFFGGGGHHHH」も、同時にWebサーバ2に送信される。   The personal computer 8 transmits a form file acquisition URL “http: //websvr/file.aspx? Fileid = 1000000002” and requests the Web server 2 to download the form file (step # 21). At this time, the session identifier SIA “EEEEFFFFGGGGHHHH” stored in the personal computer 8 is also transmitted to the Web server 2 at the same time.

なお、セッション識別子SIA「EEEEFFFFGGGGHHHH」については、それと同じ内容のセッション識別子SIA1「EEEEFFFFGGGGHHHH」が、個別セッションID記憶部203に記憶されている。よって、帳票ファイルの作成の要求の後でユーザがログアウトした場合であっても、セッション識別子SIAの有効期限内に再度ログインした場合には、帳票ファイルの作成の要求時と同じセッション識別子SIAが付与され、そのセッション識別子SIAが新しいセッション識別子SIとして用いられる。   For session identifier SIA “EEEEFFFFGGGGHHHH”, session identifier SIA1 “EEEEFFFFGGGGHHHH” having the same content is stored in individual session ID storage section 203. Therefore, even when the user logs out after the request for creating the form file, if the user logs in again within the validity period of the session identifier SIA, the same session identifier SIA as that at the time of requesting the creation of the form file is given. The session identifier SIA is used as a new session identifier SI.

Webサーバ2は、パーソナルコンピュータ8から送信されたセッション識別子SIA「EEEEFFFFGGGGHHHH」およびファイル識別子FIA「1000000002」に基づいて、帳票ファイルDFAを読み出すように、中間ファイル管理サーバ4に依頼する(ステップ#22)。   The Web server 2 requests the intermediate file management server 4 to read out the form file DFA based on the session identifier SIA “EEEEFFFFGGGGHHHH” and the file identifier FIA “1000000002” transmitted from the personal computer 8 (step # 22). .

中間ファイル管理サーバ4は、中間ファイル管理データベースFMを参照し、セッション識別子SIA「EEEEFFFFGGGGHHHH」およびファイル識別子FIA「1000000002」をキーとして、これらに対応するファイルパスFSA「D:\temp\5678.tmp」およびダウンロードファイル名NDA「aaa.doc 」を抽出する。抽出されたファイルパスFSA「D:\temp\5678.tmp」に基づいて、帳票ファイルDFAを読み出す。   The intermediate file management server 4 refers to the intermediate file management database FM and uses the session identifier SIA “EEEEFFFFGGGGHHHH” and the file identifier FIA “1000000002” as keys, and the corresponding file path FSA “D: \ temp \ 5678.tmp”. And download file name NDA “aaa.doc” is extracted. The form file DFA is read based on the extracted file path FSA “D: \ temp \ 5678.tmp”.

Webサーバ2は、読み出された帳票ファイルDFAを、バイナリデータとしてリアルタイムに取得し、ダウンロードファイル名「aaa.doc 」とともにパーソナルコンピュータ8に送信する(ステップ#23)。なお、ダウンロードの済んだ帳票ファイルDFAおよびその管理のためのデータは、適当なタイミングでファイル記憶部402および中間ファイル管理データベースFMから削除するようにしてもよい。   The Web server 2 acquires the read form file DFA in real time as binary data, and transmits it to the personal computer 8 together with the download file name “aaa.doc” (step # 23). Note that the downloaded form file DFA and the data for managing the form file DFA may be deleted from the file storage unit 402 and the intermediate file management database FM at an appropriate timing.

パーソナルコンピュータ8は、受信した帳票ファイルDFAをファイル名「aaa.doc 」として記憶し、その帳票ファイルに基づいて、プリンタ9を用いて用紙に印刷する。図7に示すように、帳票PDが出力される。   The personal computer 8 stores the received form file DFA as a file name “aaa.doc” and prints it on a sheet using the printer 9 based on the form file. As shown in FIG. 7, a form PD is output.

図8はWebシステム1のファイルアップロード時の処理の例を示す図である
Webシステム1では、スキャナで読み取った画像の画像ファイルおよびパーソナルコンピュータ8で加工した帳票ファイルなどを、パーソナルコンピュータ8からアップロードすることができる。アップロードされた帳票ファイルは、Webシステム1で帳票ファイルを作成する場合と同様に、中間ファイル管理サーバ4に記憶させ、管理させることができる。
FIG. 8 is a diagram showing an example of processing at the time of file upload of the Web system 1. In the Web system 1, an image file of an image read by a scanner and a form file processed by the personal computer 8 are uploaded from the personal computer 8. be able to. The uploaded form file can be stored and managed in the intermediate file management server 4 as in the case of creating a form file in the Web system 1.

次に、パーソナルコンピュータ8が既存の帳票ファイルを、Webサーバ2へアップロードする際の処理の流れを、具体的な例を挙げて説明する。   Next, the flow of processing when the personal computer 8 uploads an existing form file to the Web server 2 will be described with a specific example.

パーソナルコンピュータ8は、帳票ファイルDFB「bbb.doc 」をWebサーバ2に送信する(ステップ#21)。この際、パーソナルコンピュータ8に記憶されているセッション識別子SIA「EEEEFFFFGGGGHHHH」も、同時にWebサーバ2に送信される。   The personal computer 8 transmits the form file DFB “bbb.doc” to the Web server 2 (step # 21). At this time, the session identifier SIA “EEEEFFFFGGGGHHHH” stored in the personal computer 8 is also transmitted to the Web server 2 at the same time.

中間ファイル管理サーバ4は、空のファイルの情報として、セッション識別子SIA「EEEEFFFFGGGGHHHH」、ファイル識別子FIA「1000000002」、ファイルパスFSB「D:\temp\8765.tmp」、およびダウンロードファイル名NDB「bbb.doc 」を、それぞれ対応付けて、中間ファイル管理データベースFMに記録する。この時点においては、ファイル記憶部402には空のファイルが記憶される(ステップ#32)。   The intermediate file management server 4 includes, as empty file information, a session identifier SIA “EEEEFFFFGGGGHHHH”, a file identifier FIA “1000000002”, a file path FSB “D: \ temp \ 8765.tmp”, and a download file name NDB “bbb. doc "are recorded in the intermediate file management database FM in association with each other. At this time, an empty file is stored in the file storage unit 402 (step # 32).

中間ファイル管理サーバ4は、記憶された空のファイルを開き、複数回のRPCの利用などにより、ファイルハンドルをWebサーバ2に与える(ステップ#33)。   The intermediate file management server 4 opens the stored empty file, and gives a file handle to the Web server 2 by using the RPC a plurality of times (step # 33).

Webサーバ2は、中間ファイル管理サーバ4が記憶する空のファイルに対して、ファイル名NDBが「bbb.doc 」である帳票ファイルDFBの内容をストリームで書き込むことにより、帳票ファイルDFBをファイル記憶部402に記憶させる(#34)。   The Web server 2 writes the contents of the form file DFB with the file name NDB “bbb.doc” as a stream to the empty file stored in the intermediate file management server 4, thereby storing the form file DFB in the file storage unit. 402 (# 34).

Webシステム1においてWebサーバ2にアップロードされた帳票ファイルDFBは、Webシステム1で作成された帳票ファイルDFと同様に、中間ファイル管理データベースFMで対応付けられたセッション識別子SIAを記憶するパーソナルコンピュータ8のみが、ダウンロードできる。   The form file DFB uploaded to the Web server 2 in the Web system 1 is the same as the form file DF created in the Web system 1, and only the personal computer 8 that stores the session identifier SIA associated with the intermediate file management database FM. Can be downloaded.

なお、アップロードされた帳票ファイルDFBを複数のユーザで共有したい場合には、中間ファイル管理サーバ4からDBサーバ5に移動させてもよい。   If the uploaded form file DFB is to be shared by a plurality of users, it may be moved from the intermediate file management server 4 to the DB server 5.

なお、中間ファイル管理サーバ4およびDBサーバ5の両方の機能を1台のサーバで実現してもよい。   Note that the functions of both the intermediate file management server 4 and the DB server 5 may be realized by a single server.

また、中間ファイル管理サーバ4に記憶されるファイルは、帳票ファイル以外であってもよい。   The file stored in the intermediate file management server 4 may be other than a form file.

本実施形態によると、Webサーバが作成したファイルは、Webサーバのみがアクセス可能な中間ファイル管理サーバ4に記憶されるので、そのファイルに無関係な者へのデータの漏洩を防止することができる。   According to the present embodiment, since the file created by the Web server is stored in the intermediate file management server 4 accessible only by the Web server, it is possible to prevent data leakage to a person unrelated to the file.

その他、セッション識別子SI、ファイル識別子FI、ファイルパスPS、Webサーバ2、中間ファイル管理サーバ4、Webシステム1の全体または各部の構成、処理内容、処理順序などは、本発明の趣旨に沿って適宜変更することができる。   In addition, the session identifier SI, the file identifier FI, the file path PS, the Web server 2, the intermediate file management server 4, the configuration of the whole or each part of the Web system 1, the processing content, the processing order, and the like are appropriately determined in accordance with the spirit of the present invention. Can be changed.

本発明に係るWebシステムの全体構成を示す図である。1 is a diagram illustrating an overall configuration of a Web system according to the present invention. Webサーバの機能的構成を説明する図である。It is a figure explaining the functional structure of a Web server. 中間ファイル管理サーバの機能的構成を説明する図である。It is a figure explaining the functional structure of an intermediate file management server. Webシステムのファイル作成時の処理の例を示す図である。It is a figure which shows the example of the process at the time of the file creation of a Web system. 帳票印刷画面の例を示す図である。It is a figure which shows the example of a form printing screen. Webシステムのファイルダウンロード時の処理の例を示す図である。It is a figure which shows the example of the process at the time of the file download of a Web system. 帳票の例を示す図である。It is a figure which shows the example of a form. Webシステムのファイルアップロード時の処理の例を示す図である。It is a figure which shows the example of the process at the time of the file upload of a Web system. 従来のWebシステムの構成を示す図である。It is a figure which shows the structure of the conventional Web system.

符号の説明Explanation of symbols

1 Webシステム
2 Webサーバ(サーバ)
3 ファイアウォール
4 中間ファイル管理サーバ(第2のサーバ)
8 パーソナルコンピュータ(端末装置)
202 セッションID付与部
203 個別セッションID記憶部
205 ファイル作成部
206 ファイル記憶依頼部
207 URL通知部
402 ファイル記憶部
405 ファイル読出部
FM 中間ファイル管理データベース
DF 帳票ファイル(書類データ)
FI ファイル識別子(ファイルID)
SI セッション識別子(セッションID)
1 Web system 2 Web server (server)
3 Firewall 4 Intermediate file management server (second server)
8 Personal computer (terminal equipment)
202 Session ID Assignment Unit 203 Individual Session ID Storage Unit 205 File Creation Unit 206 File Storage Request Unit 207 URL Notification Unit 402 File Storage Unit 405 File Reading Unit FM Intermediate File Management Database DF Form File (Document Data)
FI file identifier (file ID)
SI session identifier (session ID)

Claims (8)

ユーザから依頼された書類データをサーバにおいて管理する書類データ管理方法であって、
前記ユーザが操作する端末装置と前記サーバとの間のセッションを開始する際に、当該セッションを識別するためのセッションIDを当該端末装置に付与する第1ステップと、
前記端末装置から、書類データの管理依頼と当該端末装置に付与された前記セッションIDとを受信する第2ステップと、
受信した管理依頼に基づいて、前記書類データを、当該書類データの管理依頼とともに受信した前記セッションIDと対応付けて、ファイアウォールにより保護された第2のサーバに記憶させる第3ステップと、
前記端末装置から、当該端末装置に付与された前記セッションIDと前記第2のサーバに記憶されている前記書類データのダウンロード要求とを受信する第4ステップと、
当該書類データが対応付けられている前記セッションIDと、当該書類データに係る前記ダウンロード要求とともに受信した前記セッションIDとが一致した場合に、前記第2のサーバから当該書類データを読み出して当該端末装置に送信する第5ステップと、
を有することを特徴とする書類データ管理方法。
A document data management method for managing document data requested by a user on a server,
A first step of giving a session ID for identifying the session to the terminal device when starting a session between the terminal device operated by the user and the server;
A second step of receiving a document data management request and the session ID assigned to the terminal device from the terminal device;
A third step of storing the document data in a second server protected by a firewall in association with the session ID received together with the document data management request, based on the received management request;
A fourth step of receiving, from the terminal device, the session ID assigned to the terminal device and the download request for the document data stored in the second server;
When the session ID associated with the document data matches the session ID received together with the download request related to the document data, the document data is read from the second server and the terminal device A fifth step of sending to
A document data management method characterized by comprising:
ユーザの要求に基づいた書類データをサーバにおいて作成する書類データ作成方法であって、
前記ユーザが操作する端末装置と前記サーバとの間のセッションを開始する際に、当該セッションを識別するためのセッションIDを当該端末装置に付与する第1ステップと、
前記端末装置から、当該端末装置に付与された前記セッションIDと前記書類データの作成要求とを受信する第2ステップと、
受信した前記作成要求に基づいて前記書類データを作成する第3ステップと、
作成された前記書類データを、当該書類データの作成要求とともに受信した前記セッションIDと対応付けて、ファイアウォールにより保護された第2のサーバに記憶させる第4ステップと、
前記端末装置から、当該端末装置に付与された前記セッションIDと前記第2のサーバに記憶されている前記書類データのダウンロード要求とを受信する第5ステップと、
当該書類データが対応付けられている前記セッションIDと、当該書類データに係る前記ダウンロード要求とともに受信した前記セッションIDとが一致した場合に、前記第2のサーバから当該書類データを読み出して当該端末装置に送信する第6ステップと、
を有することを特徴とする書類データ作成方法。
A document data creation method for creating document data on a server based on a user request,
A first step of giving a session ID for identifying the session to the terminal device when starting a session between the terminal device operated by the user and the server;
A second step of receiving, from the terminal device, the session ID assigned to the terminal device and the creation request for the document data;
A third step of creating the document data based on the received creation request;
A fourth step of storing the created document data in a second server protected by a firewall in association with the session ID received together with the document data creation request;
A fifth step of receiving, from the terminal device, the session ID assigned to the terminal device and the download request for the document data stored in the second server;
When the session ID associated with the document data matches the session ID received together with the download request related to the document data, the document data is read from the second server and the terminal device A sixth step of sending to
A document data creating method characterized by comprising:
前記第4ステップにおいて、作成された前記書類データを、前記書類データごとに一意なファイルIDと対応付けて記憶させ、作成された前記書類データに対応付けられたファイルIDを当該書類データの作成の要求に係る前記端末装置に送信し、
前記第5ステップにおいて、前記端末装置から、ダウンロードを要求する前記書類データに対応付けられた前記ファイルIDを受信し、
前記第6ステップにおいて、当該書類データが対応付けられている前記ファイルIDと、当該書類データに係る前記ダウンロードの要求とともに受信した前記ファイルIDとが一致した場合に、前記第2のサーバから当該書類データを読み出して、当該端末装置に送信する、
ことを特徴とする請求項2記載の書類データ作成方法。
In the fourth step, the created document data is stored in association with a unique file ID for each document data, and the file ID associated with the created document data is stored in the creation of the document data. Send to the terminal device for the request,
In the fifth step, the file ID associated with the document data requesting download is received from the terminal device;
In the sixth step, when the file ID associated with the document data matches the file ID received together with the download request related to the document data, the document is received from the second server. Read the data and send it to the terminal device,
The document data creation method according to claim 2, wherein:
前記第6ステップにおいて、前記第2のサーバから読み出した前記書類データであるバイナリファイルと、当該バイナリファイルのファイルとを、前記端末装置に送信する、 ことを特徴とする請求項2または請求項3記載の書類データ作成方法。 The said 6th step WHEREIN: The binary file which is the said document data read from the said 2nd server, and the file name of the said binary file are transmitted to the said terminal device, The Claim 2 or Claim characterized by the above-mentioned. 3. Document data creation method described in 3. セッションIDを当該セッションが終了した後も期限付きで有効として記憶しておき、 前記端末装置と前記サーバとの間のセッションを開始する際に、前記端末装置から受信したセッションIDが前記セッションID記憶手段に記憶されたセッションIDと一致する場合に、前記第1ステップにおいて、前記端末装置から受信したセッションIDを当該セッションのセッションIDとして当該端末装置に付与する、
請求項2ないし4のいずれかに記載の書類データ作成方法。
The session ID is stored as valid with a time limit even after the session ends, and the session ID received from the terminal device is stored in the session ID storage when starting a session between the terminal device and the server. When the session ID matches the session ID stored in the means, in the first step, the session ID received from the terminal device is assigned to the terminal device as the session ID of the session.
The document data creation method according to any one of claims 2 to 4.
ユーザから依頼された書類データを管理するサーバであって、
前記ユーザが操作する端末装置と前記サーバとの間のセッションを開始する際に、当該セッションを識別するためのセッションIDを当該端末装置に付与する手段と、
前記端末装置から、書類データの管理依頼と当該端末装置に付与された前記セッションIDとを受信する手段と、
受信した管理依頼に基づいて、前記書類データを、当該書類データの管理依頼とともに受信した前記セッションIDと対応付けて、ファイアウォールにより保護された第2のサーバに記憶させる手段と、
前記端末装置から、当該端末装置に付与された前記セッションIDと前記第2のサーバに記憶されている前記書類データのダウンロード要求とを受信する手段と、
当該書類データが対応付けられている前記セッションIDと、当該書類データに係る前記ダウンロード要求とともに受信した前記セッションIDとが一致した場合に、前記第2のサーバから当該書類データを読み出して当該端末装置に送信する手段と、
を有することを特徴とするサーバ。
A server that manages document data requested by users,
Means for giving the terminal device a session ID for identifying the session when starting a session between the terminal device operated by the user and the server;
Means for receiving, from the terminal device, a document data management request and the session ID assigned to the terminal device;
Means for storing the document data in a second server protected by a firewall in association with the session ID received together with the document data management request based on the received management request;
Means for receiving, from the terminal device, the session ID assigned to the terminal device and the download request for the document data stored in the second server;
When the session ID associated with the document data matches the session ID received together with the download request related to the document data, the document data is read from the second server and the terminal device Means for sending to
The server characterized by having.
セッションIDを当該セッションが終了した後も有効として記憶するセッションID記憶手段を有し、
前記端末装置と前記サーバとの間のセッションを開始する際に、前記端末装置から受信したセッションIDが前記セッションID記憶手段に記憶されたセッションIDと一致する場合に、前記端末装置から受信したセッションIDを当該セッションのセッションIDとして当該端末装置に付与する、
請求項6記載のサーバ。
Session ID storage means for storing the session ID as valid even after the session ends,
The session received from the terminal device when the session ID received from the terminal device matches the session ID stored in the session ID storage means when starting a session between the terminal device and the server. ID is given to the terminal device as the session ID of the session,
The server according to claim 6.
ユーザから依頼された書類データを管理するサーバをコンピュータによって実現するためのコンピュータプログラムであって、
前記コンピュータプログラムが前記コンピュータよって実行されることにより、
前記ユーザが操作する端末装置と当該コンピュータとの間のセッションを開始する際に、当該セッションを識別するためのセッションIDを当該端末装置に付与する手段と、
前記端末装置から、書類データの管理依頼と当該端末装置に付与された前記セッションIDとを受信する手段と、
受信した管理依頼に基づいて、前記書類データを、当該書類データの管理依頼とともに受信した前記セッションIDと対応付けて、ファイアウォールにより保護された第2のサーバに記憶させる手段と、
前記端末装置から、当該端末装置に付与された前記セッションIDと前記第2のサーバに記憶されている前記書類データのダウンロード要求とを受信する手段と、
当該書類データが対応付けられている前記セッションIDと、当該書類データに係る前記ダウンロード要求とともに受信した前記セッションIDとが一致した場合に、前記第2のサーバから当該書類データを読み出して当該端末装置に送信する手段と、
を前記コンピュータによって実現させるコンピュータプログラム。
A computer program for realizing by a computer a server for managing document data requested by a user,
When the computer program is executed by the computer,
Means for giving a session ID for identifying the session to the terminal device when starting a session between the terminal device operated by the user and the computer;
Means for receiving, from the terminal device, a document data management request and the session ID assigned to the terminal device;
Means for storing the document data in a second server protected by a firewall in association with the session ID received together with the document data management request based on the received management request;
Means for receiving, from the terminal device, the session ID assigned to the terminal device and the download request for the document data stored in the second server;
When the session ID associated with the document data matches the session ID received together with the download request related to the document data, the document data is read from the second server and the terminal device Means for sending to
A computer program for realizing the above by the computer.
JP2007254746A 2007-09-28 2007-09-28 Document data management method, document data creation method, server, and computer program Active JP4937070B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007254746A JP4937070B2 (en) 2007-09-28 2007-09-28 Document data management method, document data creation method, server, and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007254746A JP4937070B2 (en) 2007-09-28 2007-09-28 Document data management method, document data creation method, server, and computer program

Publications (2)

Publication Number Publication Date
JP2009086931A JP2009086931A (en) 2009-04-23
JP4937070B2 true JP4937070B2 (en) 2012-05-23

Family

ID=40660293

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007254746A Active JP4937070B2 (en) 2007-09-28 2007-09-28 Document data management method, document data creation method, server, and computer program

Country Status (1)

Country Link
JP (1) JP4937070B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5494019B2 (en) * 2010-03-02 2014-05-14 コニカミノルタ株式会社 Network system and communication method

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003167802A (en) * 2001-11-29 2003-06-13 Seiko Epson Corp Double server system and server used in the same
JP3852750B2 (en) * 2001-06-29 2006-12-06 インターナショナル・ビジネス・マシーンズ・コーポレーション Information search system, information search method, call center system, and server
JP2003281353A (en) * 2002-03-25 2003-10-03 Mitsubishi Denki Information Technology Corp Information providing system
JP2003058724A (en) * 2002-05-01 2003-02-28 Seiko Epson Corp Digital contents providing system, digital contents providing method, server device and digital contents providing program
JP2005010913A (en) * 2003-06-17 2005-01-13 Toshiba Corp Session management method
JP4151978B2 (en) * 2005-05-25 2008-09-17 インターナショナル・ビジネス・マシーンズ・コーポレーション Server apparatus, management method, and program

Also Published As

Publication number Publication date
JP2009086931A (en) 2009-04-23

Similar Documents

Publication Publication Date Title
JP3995338B2 (en) Network connection control method and system
KR100856674B1 (en) System and method for authenticating clients in a client-server environment
JP4829697B2 (en) Information processing apparatus, information processing method, computer program, and recording medium
JP4886508B2 (en) Method and system for stepping up to certificate-based authentication without interrupting existing SSL sessions
JP4821405B2 (en) File access control device and file management system
CN100544361C (en) The method and apparatus that is used for managing session identifiers
US8606935B2 (en) Application distribution control system, application distribution control method, information processing apparatus, and client terminal
JP4882546B2 (en) Information processing system and control program
EP2144420A1 (en) Web application security filtering
JP2005324450A (en) Image forming apparatus, information processing apparatus, job displaying and controlling method, storage medium storing computer-readable program and program
KR101387600B1 (en) Electronic file sending method
US20090059288A1 (en) Image communication system and image communication apparatus
JP4873852B2 (en) First communication device, information processing device, information processing program, recording medium
JP2008197973A (en) User authentication system
JP2007004217A (en) Network print system
CN104506530B (en) A kind of network data processing method and device, data transmission method for uplink and device
JP2012064007A (en) Information processor, communication relay method and program
JP2007087384A (en) System, method and program for controlling network apparatus
JP4937070B2 (en) Document data management method, document data creation method, server, and computer program
JP2004151942A (en) Web service providing device, web service providing method and web service providing program
JP4675921B2 (en) Information processing system and computer program
WO2022000048A1 (en) Method and system for verification of identify of a user
JP4362778B2 (en) Proxy server device
US20170068490A1 (en) Providing device functionality utilizing authorization tokens
JP2000172645A (en) Server computer and certificate information managing method for the same

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100517

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111129

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111206

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120125

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: 20120221

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120221

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150302

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4937070

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150